:root {
  --ink: #172b43;
  --soft: #536271;
  --blue: #194dbb;
  --line: #cdd3ce;
  --paper: #f9f7ef;
  --white: #fffefb;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 18px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.6 "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; word-break: keep-all; overflow-wrap: anywhere; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .66; }
a { color: var(--blue); text-underline-offset: .22em; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #216fde; outline-offset: 3px; }
[hidden] { display: none !important; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(100%); white-space: nowrap; }
.skip:focus { position: fixed; top: 4px; left: 4px; padding: .5rem; background: white; z-index: 10; }
.wrap { width: min(1200px, 100% - 56px); margin: 0 auto; }
.sitebar { border-bottom: 1px solid #d2d5cb; }
.bar-inner, .site-footer .wrap, .section-line, .byline, .citation, .level-list, .url-field { display: flex; align-items: center; gap: 12px; }
.bar-inner { min-height: 65px; justify-content: space-between; }
.brand { font-size: 1.18rem; font-weight: 850; letter-spacing: -.045em; text-decoration: none; color: var(--ink); display: inline-flex; align-items: center; gap: 9px; }
.mark { display: inline-grid; place-items: center; width: 34px; height: 34px; color: #fff; background: #2256c8; border-radius: 11px; font-size: 1.22rem; line-height: 1; }
.archive { font-size: .86rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.archive:hover, .site-footer a:hover { text-decoration: underline; }
.mast { display: grid; grid-template-columns: 1.12fr 1fr; overflow: hidden; margin: 28px 0 46px; border: 1px solid #334740; border-radius: 14px; background: #e3edcf; }
.mast-copy { padding: clamp(28px, 3.7vw, 55px); }
.mast h1 { font: 850 clamp(2.55rem, 4.9vw, 4.55rem)/1.06 "Malgun Gothic", "Apple SD Gothic Neo", sans-serif; letter-spacing: -.085em; margin: 0; }
.mast h1 em { color: #2b6147; font-style: normal; }
.mast p { margin: 1.15em 0 0; font-size: clamp(.9rem, 1.15vw, 1.1rem); }
.mast-art { min-height: 100%; position: relative; container-type: size; border-left: 1px solid #334740; overflow: hidden; background: #ddd6c5; }
.art-cover { position: absolute; left: 50%; top: 50%; width: 100%; width: max(100%, 133.334cqh); aspect-ratio: 4/3; transform: translate(-50%, -50%); background-image: url("/images/series/ai.jpg"); background-size: 400% 400%; background-position: 66.6667% 66.6667%; }
.workspace { display: grid; grid-template-columns: minmax(225px, .72fr) minmax(0, 2fr); gap: clamp(20px, 3.45vw, 50px); align-items: start; }
.feed, .desk { min-width: 0; }
.feed { border-top: 3px solid var(--ink); padding-top: 14px; }
@media (min-width: 731px) and (min-height: 640px) { .feed { position: sticky; top: 14px; } }
.section-line { justify-content: space-between; }
.feed h2, .terms h3, .sources h3 { margin: 0; font-size: 1.25rem; letter-spacing: -.045em; }
.refresh, .url-field button { background: transparent; border: 1px solid #8b9996; border-radius: 7px; min-height: 40px; padding: 5px 10px; font-size: .83rem; }
.refresh:hover, .url-field button:hover { background: #eaf0e5; }
.muted, .feed-time, .citation, #method { color: var(--soft); font-size: .86rem; }
.feed-time { margin: 4px 0 17px; }
.category-filter { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: 0 0 9px; font-size: .86rem; }
.category-filter label { font-weight: 750; }
.category-filter select { border: 1px solid #a3aea4; border-radius: 5px; max-width: 100%; padding: 5px 8px; background: var(--white); }
#feed-status:empty, #read-status:empty, #find-result:empty { display: none; }
#feed-status, #read-status:not(:empty) { margin: 12px 0; padding: 12px 15px; background: #eaf0f0; border-radius: 6px; }
#read-status { font-size: .92rem; }
#articles, #panels { padding: 0; margin: 0; list-style: none; }
#articles { max-height: 62vh; overflow-y: auto; scrollbar-width: thin; }
#articles button { text-align: left; display: block; width: 100%; padding: 16px 12px; border: 0; border-bottom: 1px solid var(--line); background: transparent; }
#articles button:focus-visible { outline-offset: -3px; }
#articles button:hover { background: #edf0e6; }
#articles button[aria-pressed="true"] { background: #e1e9d8; box-shadow: inset 3px 0 #437050; }
.list-source { display: block; color: var(--soft); font-size: .76rem; }
.list-title { display: block; margin-top: 3px; font-weight: 700; line-height: 1.5; font-size: .97rem; letter-spacing: -.025em; }
.list-heading { padding: 10px 12px 3px; font-size: .8rem; color: var(--soft); font-weight: 750; }
.list-heading.archive-group { margin-top: 10px; border-top: 2px solid #a4b0a1; }
#archive-flag { padding: 2px 7px; border: 1px solid #a4906f; border-radius: 4px; color: #644920; font-size:.76rem; }
#mobile-articles { display: none; }
.find { margin: 16px 0 0; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.find summary { cursor: pointer; font-size: .9rem; font-weight: 700; }
.find label { display: block; margin: 10px 0 4px; font-size: .8rem; }
.url-field { gap: 5px; }
.url-field input { width: 100%; min-width: 0; border: 1px solid #959f9d; border-radius: 5px; padding: 6px 8px; }
.url-field button { flex: none; }
#find-result { margin: 7px 0 0; font-size: .85rem; }
.chosen { padding: clamp(21px, 3vw, 36px); background: var(--white); border-radius: 12px; border: 1px solid #b9c5bf; }
.byline { gap: 9px; font-size: .85rem; }
.byline #category { padding: 2px 9px; background: #e1ecd9; color: #254c32; font-weight: 750; border-radius: 4px; }
.byline #category:empty, .byline #source-name:empty { display: none; }
.chosen h2, #comic-title { margin: .55em 0 .4em; letter-spacing: -.055em; line-height: 1.28; font-size: clamp(1.55rem, 2.7vw, 2.4rem); }
.citation { flex-wrap: wrap; gap: 7px 14px; }
#read-form { margin-top: 20px; }
#levels { border: 0; margin: 0 0 14px; padding: 0; }
#levels legend { font-size: .8rem; font-weight: 700; color: var(--soft); margin: 0 0 4px; }
.level-list { gap: 6px; flex-wrap: wrap; }
.level-list label { position: relative; cursor: pointer; }
.level-list input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.level-list span { display: block; padding: 5px 14px; border-radius: 20px; border: 1px solid #aab6b4; background: white; font-size: .88rem; }
.level-list input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.level-list input:focus-visible + span { outline: 3px solid #216fde; outline-offset: 2px; }
.read { min-height: 47px; padding: 9px 18px; background: var(--blue); color: #fff; border: 1px solid var(--blue); border-radius: 8px; font-weight: 750; }
.read:hover { background: #123b91; }
.read span { padding-left: 12px; }
#reader { margin-top: 30px; }
.comic-header { border-top: 3px solid var(--ink); padding-top: 16px; }
#comic-meta { font-size: .85rem; color: #376249; font-weight: 750; margin: 0; }
#comic-title { margin-top: 4px; }
#summary { font-size: 1.04rem; margin: 0 0 .6em; }
#method { margin: 0; }
.edition { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin-top: 12px; padding: 10px 12px; border-left: 3px solid #477551; background: #e8efe1; }
.edition p { margin: 0; font-size: .85rem; }
.edition button { border: 0; border-radius: 5px; background: #244d35; color: #fff; font-weight: 750; padding: 6px 10px; font-size: .85rem; }
#panels { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; align-items: start; margin-top: 20px; }
.panel { overflow: hidden; border: 1px solid #9ca9a0; border-radius: 10px; background: var(--white); margin: 0; }
.drawing { isolation: isolate; position: relative; display: flex; flex-direction: column; justify-content: end; min-height: clamp(235px, 23vw, 330px); padding: clamp(112px, 12vw, 180px) 11px 11px; overflow: hidden; background: #dbe5d5; }
.drawing::before { content: ""; z-index: -1; position: absolute; inset: 0 0 auto; aspect-ratio: 4/3; background-image: var(--atlas); background-size: 400% 400%; background-position: var(--x) var(--y); }
.counter { position: absolute; top: 9px; left: 9px; background: #fffef4; border: 1px solid #455143; border-radius: 4px; padding: 0 6px; font-size: .75rem; font-weight: 750; }
.bubble { position: relative; padding: 8px 12px; border: 1.5px solid #334836; background: #fffef5; border-radius: 15px 17px 14px 11px; }
.bubble::before { content: ""; position: absolute; width: 14px; height: 14px; background: #fffef5; border-top: 1.5px solid #334836; border-left: 1.5px solid #334836; left: clamp(10%,var(--tail),88%); top: -8px; transform: rotate(45deg) skew(7deg,7deg); }
.bubble b { position: relative; font-size: .71rem; color: #436347; }
.bubble p { margin: 0; font-size: clamp(.89rem, 1.35vw, 1.06rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.5; }
.panel figcaption { padding: 12px 14px 15px; border-top: 1px solid #9ca9a0; font-size: .9rem; }
.panel figcaption p { margin: 0; }
.panel figcaption details { margin-top: 8px; }
.panel figcaption summary { color: var(--blue); cursor: pointer; font-size: .8rem; }
.panel blockquote { margin: 7px 0 0; padding-left: 10px; border-left: 2px solid #c9d4c0; }
.terms, .sources { margin-top: 24px; padding: 18px 0; border-top: 1px solid var(--line); }
.terms dl { margin: 12px 0 0; }
.terms dt { font-weight: bold; }
.terms dd { margin: 0 0 10px; }
.sources p { margin: .45em 0; }
.site-footer { margin-top: 60px; padding: 24px 0; border-top: 1px solid var(--line); }
.site-footer .wrap { flex-wrap: wrap; font-size: .85rem; }
.site-footer a { color: var(--soft); }
@media (max-width: 890px) and (min-width: 731px) { #panels { grid-template-columns: 1fr; } }
@media (max-width: 730px) {
  .wrap { width: min(100% - 32px,600px); }
  .bar-inner { min-height: 54px; }
  .mast { margin: 18px 0 26px; grid-template-columns: 1fr .85fr; }
  .mast-copy { padding: 19px 14px 19px 18px; }
  .mast h1 { font-size: clamp(1.85rem, 6.7vw, 2.9rem); }
  .mast p { font-size: .82rem; margin-top: 8px; }
  .workspace { display: block; }
  .feed { margin-bottom: 17px; }
  .feed-time { margin-bottom: 7px; }
  #articles { display: none; }
  #mobile-articles { display: block; width: 100%; min-height: 45px; border: 1px solid #889e8a; padding: 7px; background: white; border-radius: 5px; font-size: .95rem; }
  .find { margin-top: 8px; padding-bottom: 8px; }
  #panels { gap: 12px; }
  .drawing { min-height: 210px; padding-top: 114px; }
}
@media (max-width: 520px) {
  #panels { grid-template-columns: 1fr; }
  .drawing { min-height: min(75vw,320px); padding: min(38vw,170px) 12px 12px; }
  .bubble p { font-size: 1rem; }
}
@media (max-width: 375px) {
  .wrap { width: calc(100% - 20px); }
  .mast-copy { padding: 16px 10px; }
  .mast h1 { font-size: 1.9rem; }
}
