/* PAGES Artist — 작가가 되는 하루. 종이빛 바탕에 먹 선과 연필 주황 한 가지.
   모든 쪽이 함께 쓴다(쪽은 scripts/build_pages.py 가 만든다). 창(.ov)은 화면을 덮는 바탕이 밀리지 않고 창 안에서만 민다. */
:root {
  --paper: #f6efe2; --paper2: #efe5d3; --card: #fffaf0; --white: #fffdf8;
  --ink: #1f1b16; --ink2: #554c40; --ink3: #8a7f70; --rule: #d9ccb5; --rule2: #e8dcc6;
  --hot: #f2682c; --hot-ink: #b8430f; --hot-soft: #fde3d3;
  --blue: #2d5f8f; --blue-soft: #dde9f3; --green: #2e7a57; --green-soft: #dcefe4; --red: #b3352b; --red-soft: #f8dcd8; --gold: #9a6b00; --gold-soft: #f6e7bd;
  --grid: #e9b9a2;
  --serif: 'Gowun Batang', 'Nanum Myeongjo', 'Noto Serif KR', serif;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans KR', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --top: 5.9rem; --r: .9rem; --sh: 4px 4px 0 var(--ink);
}
@media (min-width: 1100px) { :root { --top: 4.25rem; } }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; touch-action: pan-x pan-y; scroll-padding-top: calc(var(--top) + 1rem); -webkit-text-size-adjust: 100%; }
body { margin: 0; padding-top: var(--top); background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: anywhere; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img, svg { max-width: 100%; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .wrap { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .wrap { padding: 0 2rem; } }
.mono { font-family: var(--mono); font-feature-settings: 'tnum'; letter-spacing: -.01em; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--ink); color: var(--paper); padding: .5rem 1rem; }
.skip:focus { left: .5rem; top: .5rem; }
:focus-visible { outline: 2px solid var(--hot); outline-offset: 2px; border-radius: .3rem; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
[hidden] { display: none !important; }

/* ── 상단바 ── */
header.top { position: fixed; inset: 0 0 auto 0; z-index: 60; background: rgba(246,239,226,.94); backdrop-filter: blur(10px); border-bottom: 2px solid var(--ink); }
header.top .bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .5rem; }
.brand { display: flex; align-items: center; gap: .5rem; height: 3.25rem; white-space: nowrap; order: 1; min-width: 0; }
.brand .mk { width: 2rem; height: 2rem; flex: none; display: block; }
.brand .mk svg { display: block; width: 100%; height: 100%; }
.brand .nm { font-family: var(--serif); font-weight: 700; font-size: 1.12rem; letter-spacing: .01em; }
.brand .nm b { color: var(--hot-ink); }
.brand small { font-size: .74rem; color: var(--ink3); display: none; padding-left: .5rem; border-left: 1px solid var(--rule); }
@media (min-width: 420px) { .brand small { display: inline; } }
@media (min-width: 1100px) and (max-width: 1279px) { .brand small { display: none; } }
.tools { order: 2; margin-left: auto; display: flex; gap: .15rem; }
.tool { position: relative; display: inline-flex; align-items: center; gap: .3rem; height: 2.4rem; min-width: 2.4rem; justify-content: center; padding: 0 .45rem; border: 0; background: none; border-radius: .6rem; font-size: .8rem; color: var(--ink2); }
.tool:hover, .tool[aria-pressed="true"] { background: var(--paper2); color: var(--ink); }
.tool[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--ink); }
.tool svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.tool span { display: none; }
@media (min-width: 1280px) { .tool span { display: inline; } .tool { padding: 0 .6rem; } }
.tool .dot { position: absolute; top: .4rem; right: .4rem; width: .5rem; height: .5rem; border-radius: 99px; background: var(--hot); box-shadow: 0 0 0 2px var(--paper); }
nav.menu { order: 3; flex: 0 0 100%; display: flex; gap: .1rem; height: 2.6rem; align-items: center; overflow-x: auto; scrollbar-width: none; margin: 0 -1rem; padding: 0 .7rem; border-top: 1px solid var(--rule); }
nav.menu::-webkit-scrollbar { display: none; }
nav.menu a { flex: none; font-size: .9rem; font-weight: 500; color: var(--ink2); padding: .3rem .65rem; border-radius: 99px; white-space: nowrap; min-height: 2rem; display: inline-flex; align-items: center; }
nav.menu a:hover { color: var(--ink); background: var(--paper2); }
nav.menu a[aria-current="page"] { background: var(--ink); color: var(--paper); }
@media (min-width: 1100px) {
  header.top .bar { flex-wrap: nowrap; height: 4.2rem; gap: 1rem; }
  nav.menu { order: 2; flex: 1; height: auto; overflow: visible; margin: 0; padding: 0; border: 0; justify-content: center; gap: .2rem; }
  nav.menu a { font-size: .95rem; padding: .4rem .8rem; }
  .tools { order: 3; margin-left: 0; }
}

/* ── 공통 조각 ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 46px; padding: .7rem 1.35rem; border-radius: 99px; font-weight: 600; font-size: .95rem; border: 2px solid var(--ink); background: transparent; transition: transform .15s, box-shadow .15s, background .15s; text-align: center; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
.btn:active { transform: none; box-shadow: none; }
.btn.ink { background: var(--ink); color: var(--paper); } .btn.ink:hover { box-shadow: 3px 3px 0 var(--hot); }
.btn.line { background: var(--card); }
.btn.ghost { border-color: transparent; text-decoration: underline; text-underline-offset: .2em; }
.btn.light { border-color: var(--paper); color: var(--paper); } .btn.light:hover { box-shadow: 3px 3px 0 var(--hot); }
.btn.sm { min-height: 38px; padding: .4rem .95rem; font-size: .85rem; }
.btn .mono { background: var(--hot); color: #fff; border-radius: 99px; padding: 0 .5rem; font-size: .8rem; line-height: 1.5; }
.linkbtn { border: 0; background: none; padding: .4rem .2rem; font-size: .85rem; color: var(--ink2); text-decoration: underline; text-underline-offset: .2em; min-height: 36px; }
.ctas { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.ctas.left { justify-content: flex-start; }
.chip { display: inline-flex; align-items: center; min-height: 1.55rem; padding: 0 .55rem; border-radius: 99px; border: 1.5px solid var(--ink); font-size: .74rem; font-weight: 600; background: var(--white); white-space: nowrap; }
a.chip:hover { background: var(--ink); color: var(--paper); }
.chip.t-panel { background: #fde3d3; } .chip.t-sheet { background: #dde9f3; } .chip.t-mixed { background: #f6e7bd; } .chip.t-long { background: #dcefe4; } .chip.t-short { background: #ecdff5; } .chip.t-spoken { background: #f8dcd8; }
.chip.ai-banned { background: var(--ink); color: var(--paper); } .chip.ai-allowed { background: var(--green-soft); border-color: var(--green); color: #1d5a3e; }
.chip.ai-disclose { background: var(--gold-soft); border-color: var(--gold); color: #6d4b00; } .chip.ai-unknown { border-style: dashed; color: var(--ink2); background: transparent; }
.chip.minors { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }
.tip { font-size: .82rem; color: var(--ink3); margin-top: .8rem; }
.empty { color: var(--ink3); font-size: .92rem; padding: 1.2rem 0; text-align: center; list-style: none; }
.sh { font-family: var(--serif); font-size: 1.15rem; margin: 0 0 .9rem; display: flex; align-items: center; gap: .5rem; }
.sh::before { content: ''; width: .7rem; height: .7rem; background: var(--hot); border: 1.5px solid var(--ink); transform: rotate(45deg); flex: none; }
.prose { max-width: 46rem; margin: 0 auto; font-size: 1rem; color: var(--ink2); }
.prose p + p { margin-top: .9rem; }
.prose a, .srcline a, .tip a, .stat a, .fact a, .tb a, .note-f a { text-decoration: underline; text-decoration-color: var(--hot); text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
.prose b { color: var(--ink); }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--paper2); padding: .1em .35em; border-radius: .3em; }
.prose.guide { max-width: 44rem; }
.prose.guide h3 { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); margin: 2rem 0 .6rem; padding-left: .8rem; border-left: 4px solid var(--hot); }
.prose.guide h3:first-child { margin-top: 0; }
.prose.guide ul { margin: .6rem 0 0; padding-left: 1.2rem; }
.prose.guide li { margin: .35rem 0; }
.prose.guide li::marker { color: var(--hot); }

/* ── 면 ── */
.band { padding: 3.25rem 0; position: relative; }
@media (min-width: 768px) { .band { padding: 4.5rem 0; } }
.band.slim { padding: 2rem 0 3rem; }
.band.paper { background: var(--paper); }
.band.paper2 { background: var(--paper2); }
.band.card { background: var(--card); border-block: 1px solid var(--rule2); }
.band.ink { background: var(--ink); color: var(--paper); }
.band.ink .eyebrow { color: #ffb48c; } .band.ink .head p { color: #c9bfae; }
.head { max-width: 44rem; margin: 0 0 1.75rem; }
@media (min-width: 768px) { .head { margin-bottom: 2.25rem; } }
.eyebrow { font-family: var(--mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--hot-ink); margin-bottom: .45rem; }
.head h2 { font-family: var(--serif); font-weight: 700; font-size: 1.6rem; line-height: 1.3; letter-spacing: -.01em; }
@media (min-width: 768px) { .head h2 { font-size: 2.1rem; } }
.head p { margin-top: .55rem; color: var(--ink2); font-size: .98rem; }
.more { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .6rem; }

/* 쪽 머리 */
.phead { padding: 2rem 0 2.25rem; border-bottom: 2px solid var(--ink); background: repeating-linear-gradient(0deg, transparent 0 1.9rem, rgba(233,185,162,.38) 1.9rem calc(1.9rem + 1px)), repeating-linear-gradient(90deg, transparent 0 1.9rem, rgba(233,185,162,.38) 1.9rem calc(1.9rem + 1px)), var(--card); }
@media (min-width: 768px) { .phead { padding: 2.75rem 0 3rem; } }
.crumbs { display: flex; flex-wrap: wrap; gap: .35rem; font-size: .8rem; color: var(--ink3); margin-bottom: 1rem; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.phead h1 { font-family: var(--serif); font-weight: 700; font-size: 1.9rem; line-height: 1.25; letter-spacing: -.015em; max-width: 48rem; }
@media (min-width: 768px) { .phead h1 { font-size: 2.7rem; } }
.phead .lead { margin-top: .8rem; max-width: 46rem; color: var(--ink2); font-size: 1rem; }
@media (min-width: 768px) { .phead .lead { font-size: 1.08rem; } }
.phead .ctas, .phead .export, .phead .jump, .phead .chead, .phead .roles { margin-top: 1.2rem; }
.plainname { margin-top: .6rem; font-size: .9rem; color: var(--ink3); }
.jump { display: flex; flex-wrap: wrap; gap: .4rem; }
.jump a { font-size: .85rem; font-weight: 600; padding: .35rem .8rem; border: 1.5px solid var(--ink); border-radius: 99px; background: var(--white); min-height: 2.1rem; display: inline-flex; align-items: center; }
.jump a:hover { background: var(--ink); color: var(--paper); }
.export { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ── 첫 화면 ── */
.hero { position: relative; overflow: hidden; border-bottom: 2px solid var(--ink); padding: 2.5rem 0 3rem;
  background: repeating-linear-gradient(0deg, transparent 0 2.2rem, rgba(233,185,162,.42) 2.2rem calc(2.2rem + 1px)), repeating-linear-gradient(90deg, transparent 0 2.2rem, rgba(233,185,162,.42) 2.2rem calc(2.2rem + 1px)), var(--card); }
@media (min-width: 1024px) { .hero { padding: 4.5rem 0 5rem; } }
.hero-in { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .hero-in { grid-template-columns: 1.15fr .85fr; gap: 3rem; } }
.kicker { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--mono); font-size: .6rem; letter-spacing: .06em; font-weight: 600; padding: .3rem .75rem; border: 1.5px solid var(--ink); border-radius: 99px; background: var(--white); margin-bottom: 1.3rem; }
@media (min-width: 480px) { .kicker { font-size: .74rem; letter-spacing: .14em; } }
.kicker i { width: .5rem; height: .5rem; border-radius: 99px; background: var(--hot); flex: none; }
/* 원고지 칸에 한 글자씩 */
h1.mj { display: grid; grid-template-columns: repeat(4, 3.6rem); gap: 0; font-family: var(--serif); font-weight: 700; font-size: 2.3rem; line-height: 1; margin: 0 0 1.4rem; }
h1.mj span { width: 3.6rem; height: 3.6rem; display: grid; place-items: center; border: 1.5px solid #d98d6c; margin: -0.75px; background: rgba(255,253,248,.85); }
h1.mj span.hot { color: var(--hot-ink); }
h1.mj span.pt { place-items: end start; padding: 0 0 .35rem .45rem; }
@media (min-width: 560px) { h1.mj { grid-template-columns: repeat(7, 4.4rem); font-size: 2.9rem; } h1.mj span { width: 4.4rem; height: 4.4rem; } h1.mj span.fill { display: none; } }
@media (min-width: 1200px) { h1.mj { grid-template-columns: repeat(7, 5rem); font-size: 3.3rem; } h1.mj span { width: 5rem; height: 5rem; } }
.hero .lead { font-size: 1.02rem; color: var(--ink2); max-width: 34rem; margin-bottom: 1.6rem; }
@media (min-width: 768px) { .hero .lead { font-size: 1.12rem; } }
.hero .ctas { justify-content: flex-start; }
.hero-note { margin-top: 1.2rem; font-size: .84rem; color: var(--ink3); }
.hero-note b { color: var(--ink); }
.desk { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; max-width: 27rem; width: 100%; margin: 0 auto; transform: rotate(-1.5deg); }
.pn { position: relative; border: 2px solid var(--ink); background: var(--white); border-radius: .5rem; box-shadow: var(--sh); min-height: 9rem; padding: .8rem; overflow: hidden; }
.pn b { position: absolute; left: .55rem; bottom: .45rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; background: var(--ink); color: var(--paper); padding: .05rem .45rem; border-radius: .25rem; }
.pn.p1 { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: .35rem; padding: .5rem .5rem 2rem; }
.pn.p1 i { border: 1.5px solid var(--ink); border-radius: .2rem; background: var(--paper); }
.pn.p1 i:nth-child(1) { grid-row: span 2; background: linear-gradient(160deg, var(--hot-soft) 0 55%, var(--paper) 55%); }
.pn.p1 i:nth-child(3) { background: repeating-linear-gradient(45deg, var(--paper) 0 5px, var(--rule) 5px 6px); }
.pn.p1 i:nth-child(4) { display: none; }
.pn.p2 { background: var(--blue-soft); display: grid; place-items: center; transform: translateY(1rem) rotate(3deg); }
.pn.p2 svg { width: 70%; height: auto; fill: none; stroke: var(--ink); stroke-width: 3.5; stroke-linecap: round; }
.pn.p2 circle { fill: var(--hot); }
.pn.p3 { display: flex; flex-direction: column; justify-content: center; gap: .45rem; padding: 1rem 1rem 2rem; font-family: var(--serif); font-size: 1.05rem; background: #ecdff5; }
.pn.p3 span:nth-child(2) { padding-left: 1.2rem; } .pn.p3 span:nth-child(3) { padding-left: .5rem; }
.pn.p4 { background: var(--green-soft); display: grid; place-items: center; text-align: center; padding-bottom: 1.8rem; transform: translateY(.6rem) rotate(-2deg); }
.pn.p4 em { font-family: var(--serif); font-style: normal; font-size: .98rem; line-height: 1.5; background: var(--white); border: 1.5px solid var(--ink); border-radius: 1rem 1rem 1rem .2rem; padding: .5rem .7rem; }
.pencil { position: absolute; right: -1.4rem; top: -1.6rem; width: 9rem; height: 1rem; border: 2px solid var(--ink); border-radius: .25rem; transform: rotate(-32deg); background: linear-gradient(90deg, #f6d8c2 0 12%, var(--hot) 12% 82%, #c9c2b6 82% 88%, #f3a7a0 88%); box-shadow: 2px 3px 0 rgba(31,27,22,.25); }
.pencil::before { content: ''; position: absolute; left: -1.25rem; top: -2px; border: .55rem solid transparent; border-right: 1.15rem solid #f6d8c2; border-left: 0; filter: drop-shadow(-1.5px 0 0 var(--ink)); }
@media (max-width: 559px) { .pn { min-height: 7.5rem; } .pencil { width: 7rem; right: -.6rem; } }

/* 다섯 가지 길 */
.ways { display: grid; gap: .9rem; }
@media (min-width: 640px) { .ways { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ways { grid-template-columns: repeat(5, 1fr); } }
.way { position: relative; display: flex; flex-direction: column; gap: .3rem; padding: 1.2rem 1.15rem 1.1rem; border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); transition: transform .15s, box-shadow .15s; }
.way:hover { transform: translate(-2px, -2px); box-shadow: var(--sh); }
.way .num { font-size: .75rem; color: var(--hot-ink); font-weight: 600; }
.way h3 { font-family: var(--serif); font-size: 1.3rem; }
.way .sub { font-size: .76rem; font-weight: 600; color: var(--ink3); letter-spacing: .04em; }
.way p { font-size: .9rem; color: var(--ink2); flex: 1; margin: .3rem 0 .5rem; }
.way .go { font-size: .85rem; font-weight: 700; color: var(--hot-ink); }
.way.w1 { border-top: 8px solid #f2682c; } .way.w2 { border-top: 8px solid #2d5f8f; } .way.w3 { border-top: 8px solid #2e7a57; } .way.w4 { border-top: 8px solid #9a6b00; } .way.w5 { border-top: 8px solid #7a4a9c; }

/* 여섯 갈래 문 */
.doors { display: grid; gap: .9rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .doors { grid-template-columns: repeat(3, 1fr); gap: 1.1rem; } }
.door { border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); overflow: hidden; display: flex; flex-direction: column; }
.door-h { padding: 1rem 1rem .8rem; border-bottom: 2px solid var(--ink); }
.door-h .en { display: block; font-size: .62rem; letter-spacing: .12em; font-weight: 600; opacity: .75; }
.door-h h3 { font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; margin: .15rem 0; }
.door-h p { font-size: .82rem; color: var(--ink2); }
.door-l { display: flex; flex-direction: column; }
.door-l a { display: flex; justify-content: space-between; gap: .5rem; padding: .6rem 1rem; font-size: .92rem; font-weight: 600; border-top: 1px solid var(--rule2); min-height: 2.75rem; align-items: center; }
.door-l a:first-child { border-top: 0; }
.door-l a:hover { background: var(--ink); color: var(--paper); }
.b-panel .door-h, .tcard.b-panel { background: #fde3d3; } .b-sheet .door-h, .tcard.b-sheet { background: #dde9f3; } .b-mixed .door-h, .tcard.b-mixed { background: #f6e7bd; }
.b-long .door-h, .tcard.b-long { background: #dcefe4; } .b-short .door-h, .tcard.b-short { background: #ecdff5; } .b-spoken .door-h, .tcard.b-spoken { background: #f8dcd8; }
@media (max-width: 479px) { .door-h { padding: .8rem .75rem .65rem; } .door-h h3 { font-size: 1.25rem; } .door-l a { padding: .55rem .75rem; font-size: .86rem; } }

/* 흐름 — 기사 · 키워드 · 노트 */
.split { display: grid; gap: 2rem; }
@media (min-width: 1000px) { .split { grid-template-columns: 1.15fr .85fr; gap: 2.5rem; } }
.col { min-width: 0; }
.tabs { display: flex; gap: .35rem; overflow-x: auto; scrollbar-width: none; margin: 0 -1rem .8rem; padding: 0 1rem .15rem; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button, .fchip { flex: none; min-height: 2.2rem; padding: 0 .85rem; border-radius: 99px; border: 1.5px solid var(--ink); background: var(--white); font-size: .85rem; font-weight: 600; white-space: nowrap; }
.tabs button[aria-pressed="true"], .fchip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.fchip:hover, .tabs button:hover { box-shadow: 2px 2px 0 var(--ink); }
.band.ink .tabs button { border-color: var(--paper); background: transparent; color: var(--paper); }
.news { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.news li.n { border-bottom: 1px solid var(--rule); }
.news li.n a { display: block; padding: .7rem .1rem; }
.news li.n a:hover b { text-decoration: underline; text-decoration-color: var(--hot); text-underline-offset: .2em; }
.news li.n b { display: block; font-weight: 600; font-size: .98rem; line-height: 1.45; }
.news li.n small { display: block; margin-top: .2rem; font-size: .78rem; color: var(--ink3); font-family: var(--mono); }
@media (min-width: 900px) { .news.cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; } .news.cols .empty { grid-column: 1 / -1; } }
.news-foot { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-top: .5rem; font-size: .78rem; color: var(--ink3); }
.kw { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1rem; }
.kw button { border: 1.5px solid var(--ink); background: var(--white); border-radius: .4rem; padding: .2rem .55rem; font-size: .85rem; font-weight: 600; min-height: 2rem; display: inline-flex; gap: .35rem; align-items: center; }
.kw button i { font-style: normal; font-family: var(--mono); font-size: .72rem; color: var(--hot-ink); }
.kw button[aria-pressed="true"] { background: var(--hot); color: #fff; } .kw button[aria-pressed="true"] i { color: #fff; }
.kw.big button { font-size: .95rem; padding: .3rem .7rem; }
.kw.big button.k1 { font-size: 1.3rem; } .kw.big button.k2 { font-size: 1.12rem; }
.notes { display: grid; gap: .8rem; }
@media (min-width: 900px) { .notes.g3 { grid-template-columns: repeat(3, 1fr); } }
.note { border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); padding: 1rem 1.05rem; display: flex; flex-direction: column; gap: .45rem; }
.note-h { display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; font-size: .76rem; color: var(--ink3); }
.note h3 { font-family: var(--serif); font-size: 1.08rem; line-height: 1.4; }
.note p { font-size: .9rem; color: var(--ink2); flex: 1; }
.note-f { display: flex; flex-wrap: wrap; gap: .7rem; font-size: .78rem; font-family: var(--mono); }
.picks { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
@media (min-width: 900px) { .picks { grid-template-columns: 1fr 1fr; gap: .8rem 1.2rem; } }
.pick { display: flex; gap: .75rem; align-items: flex-start; padding: .9rem 1rem; border: 1.5px solid var(--ink); border-radius: var(--r); background: var(--white); }
.pick .area { flex: none; font-size: .7rem; font-weight: 700; padding: .15rem .5rem; border-radius: .3rem; background: var(--ink); color: var(--paper); margin-top: .15rem; min-width: 3.1rem; text-align: center; }
.pick .a-contest { background: var(--hot); } .pick .a-support { background: var(--green); } .pick .a-rights { background: var(--blue); } .pick .a-ai { background: #7a4a9c; } .pick .a-debut { background: var(--gold); }
.pick .pt { font-weight: 700; font-size: .98rem; line-height: 1.45; }
.pick .pt:hover { text-decoration: underline; text-decoration-color: var(--hot); text-underline-offset: .2em; }
.pick p { font-size: .88rem; color: var(--ink2); margin-top: .25rem; }
.pick small { display: block; margin-top: .3rem; font-size: .75rem; color: var(--ink3); font-family: var(--mono); }
.pick div { min-width: 0; }

/* 숫자 */
.stats { display: grid; gap: 1px; background: #4a4136; border: 1px solid #4a4136; border-radius: var(--r); overflow: hidden; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--ink); padding: 1.2rem 1rem; display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.stat b { font-family: var(--mono); font-weight: 600; font-size: 1.25rem; line-height: 1.25; color: #ffb48c; letter-spacing: -.03em; }
@media (min-width: 640px) { .stat b { font-size: 1.6rem; } } @media (min-width: 1200px) { .stat b { font-size: 1.9rem; } }
.stat span { font-weight: 600; font-size: .92rem; color: var(--paper); }
.stat small { font-size: .74rem; color: #a99f8e; line-height: 1.45; }
.band:not(.ink) .stats { background: var(--ink); border-color: var(--ink); }
.facts { display: grid; gap: .7rem; }
@media (min-width: 800px) { .facts { grid-template-columns: 1fr 1fr; } }
.fact { display: flex; gap: .9rem; align-items: baseline; padding: .85rem 1rem; border: 1px solid #4a4136; border-radius: .7rem; }
.fact b { flex: none; font-family: var(--mono); font-size: 1.1rem; color: #ffb48c; min-width: 6.5rem; letter-spacing: -.03em; }
.fact span { font-size: .92rem; font-weight: 600; min-width: 0; }
.fact small { display: block; font-weight: 400; font-size: .75rem; color: #a99f8e; margin-top: .15rem; }
@media (max-width: 479px) { .fact { flex-direction: column; gap: .2rem; } }
.bars { display: grid; gap: .55rem; max-width: 46rem; }
.bar { display: grid; grid-template-columns: 6.5rem 1fr 6rem; gap: .7rem; align-items: center; font-size: .9rem; }
.bar i { display: block; height: .85rem; border-radius: 99px; background: var(--rule2); position: relative; overflow: hidden; border: 1.5px solid var(--ink); }
.bar i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--ink3); }
.bar.hot i::after { background: var(--hot); } .bar.hot span { font-weight: 700; }
.bar b { text-align: right; font-weight: 600; font-size: .86rem; }
@media (max-width: 479px) { .bar { grid-template-columns: 4.8rem 1fr 5rem; gap: .45rem; font-size: .82rem; } }

/* 단계 */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; counter-reset: s; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .steps:not(.tight) { grid-template-columns: repeat(6, 1fr); } }
.steps li { position: relative; padding: 1rem 1rem 1.05rem; border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); }
.steps li .mono { font-size: .72rem; font-weight: 600; color: var(--hot-ink); }
.steps li h3 { font-family: var(--serif); font-size: 1.2rem; margin: .1rem 0 .3rem; }
.steps li p { font-size: .88rem; color: var(--ink2); }
.steps li a { display: inline-block; margin-top: .5rem; font-size: .82rem; font-weight: 700; color: var(--hot-ink); }
.steps + .ctas { margin-top: 1.5rem; }

/* 영상 */
.vids { display: grid; gap: .9rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .vids { grid-template-columns: repeat(3, 1fr); } } @media (min-width: 1100px) { .vids { grid-template-columns: repeat(4, 1fr); } }
.vids .empty { grid-column: 1 / -1; }
.vid { border: 0; background: none; padding: 0; text-align: left; display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.vid .th { position: relative; aspect-ratio: 16 / 9; border: 2px solid var(--ink); border-radius: .6rem; overflow: hidden; background: var(--ink); }
.vid .th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vid .th span { position: absolute; right: .3rem; bottom: .3rem; background: rgba(31,27,22,.85); color: #fff; font-family: var(--mono); font-size: .68rem; padding: 0 .3rem; border-radius: .2rem; }
.vid:hover .th { box-shadow: 3px 3px 0 var(--hot); }
.vid b { font-size: .88rem; line-height: 1.4; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vid small { font-size: .74rem; color: var(--ink3); }

/* 함께하기 */
.together { background: var(--hot); border-block: 2px solid var(--ink); padding: 3.5rem 0; text-align: center; background-image: radial-gradient(rgba(31,27,22,.16) 1.2px, transparent 1.3px); background-size: 14px 14px; }
.together .in { max-width: 42rem; }
.together .eyebrow { color: var(--ink); }
.together h2 { font-family: var(--serif); font-size: 1.8rem; line-height: 1.3; }
@media (min-width: 768px) { .together h2 { font-size: 2.4rem; } }
.together p { margin: .8rem 0 1.5rem; font-weight: 500; }
.together .btn.line { background: var(--card); }

/* ── 공모전 · 지원 카드 ── */
.cards { display: grid; gap: .9rem; }
@media (min-width: 720px) { .cards.c2, .cards.c3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards.c3 { grid-template-columns: repeat(3, 1fr); } }
.cc { position: relative; display: flex; flex-direction: column; gap: .45rem; padding: 1rem 1.05rem; border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); min-width: 0; }
.cc-top { display: flex; align-items: center; gap: .45rem; min-height: 1.9rem; }
.dday { font-family: var(--mono); font-weight: 600; font-size: .86rem; padding: .08rem .5rem; border-radius: .35rem; background: var(--ink); color: var(--paper); }
.dday:empty { display: none; }
.dday.big { font-size: 1.2rem; padding: .2rem .7rem; }
.st { font-size: .78rem; font-weight: 700; }
.st-open .dday { background: var(--hot); color: #fff; } .st-open .st { color: var(--hot-ink); }
.st-open.hurry { box-shadow: var(--sh); } .st-open.hurry .dday { background: var(--red); }
.st-soon .dday { background: var(--blue); } .st-soon .st { color: var(--blue); }
.st-always .dday { background: var(--green); } .st-always .st { color: var(--green); }
.st-closed { background: transparent; border-style: dashed; border-color: var(--ink3); } .st-closed .st, .st-unknown .st { color: var(--ink3); }
.st-closed h3 { color: var(--ink2); }
.star { margin-left: auto; border: 0; background: none; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: 99px; margin-right: -.4rem; }
.star svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linejoin: round; }
.star:hover { background: var(--paper2); }
.star[aria-pressed="true"] svg { fill: var(--hot); }
.kind { margin-left: auto; font-size: .72rem; font-weight: 700; padding: .1rem .5rem; border-radius: .3rem; border: 1.5px solid var(--ink); background: var(--paper2); }
.k-grant { background: var(--hot-soft); } .k-system { background: var(--gold-soft); } .k-welfare { background: var(--green-soft); } .k-space { background: var(--blue-soft); } .k-edu { background: #ecdff5; } .k-help { background: var(--red-soft); }
.cc h3 { font-family: var(--serif); font-size: 1.12rem; line-height: 1.4; }
.cc h3 a:hover { text-decoration: underline; text-decoration-color: var(--hot); text-underline-offset: .2em; }
.cc h3 a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.cc .star, .cc .cc-foot a, .cc .cc-foot { position: relative; z-index: 1; }
.cc-host { font-size: .86rem; color: var(--ink2); }
.cc-what { font-size: .9rem; color: var(--ink2); }
.cc-meta { margin: .1rem 0 0; display: grid; gap: .2rem; font-size: .86rem; }
.cc-meta div { display: grid; grid-template-columns: 2.6rem 1fr; gap: .5rem; }
.cc-meta dt { color: var(--ink3); font-size: .78rem; padding-top: .08rem; }
.cc-meta dd { margin: 0; min-width: 0; }
.cc-meta dd small { color: var(--ink3); }
.cc-tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: auto; padding-top: .35rem; }
.cc-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .7rem; padding-top: .55rem; border-top: 1px dashed var(--rule); font-size: .78rem; color: var(--ink3); }
.cc-foot .src { font-weight: 700; color: var(--hot-ink); min-height: 1.8rem; display: inline-flex; align-items: center; }
.cc-foot .src:hover { text-decoration: underline; }
.cc-foot .chk { margin-left: auto; font-family: var(--mono); font-size: .72rem; }
body.simple .dt { display: none !important; }

/* 공모전 판 — 거르기 · 달력 · 목록 */
.board { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.side { min-width: 0; }
@media (min-width: 1000px) { .board { grid-template-columns: 17rem minmax(0, 1fr); gap: 2rem; align-items: start; } .side { position: sticky; top: calc(var(--top) + 1rem); } }
.mainc { min-width: 0; display: flex; flex-direction: column; gap: 1.25rem; }
@media (max-width: 999px) { .mainc .cal { order: 2; } }
.filters { border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); padding: .9rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: .8rem; }
.filters.flat { margin-bottom: 1.25rem; }
.f-search { display: flex; flex-wrap: wrap; gap: .4rem; }
.f-search input { flex: 1 1 10rem; min-width: 0; min-height: 2.5rem; border: 1.5px solid var(--ink); border-radius: 99px; padding: 0 .95rem; background: var(--paper); font-size: .92rem; }
.side .f-search input { flex-basis: 100%; }
.f-row b { display: block; font-size: .74rem; color: var(--ink3); letter-spacing: .04em; margin-bottom: .35rem; }
.f-chips { display: flex; flex-wrap: wrap; gap: .3rem; }
.f-chips .fchip { min-height: 2rem; padding: 0 .65rem; font-size: .8rem; }
.f-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; border-top: 1px dashed var(--rule); padding-top: .5rem; font-size: .82rem; }
@media (min-width: 720px) { .filters.flat { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } .filters.flat .f-search, .filters.flat .f-foot { grid-column: 1 / -1; } }
.cal { border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); overflow: hidden; }
.cal-h { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .55rem .7rem; border-bottom: 2px solid var(--ink); background: var(--paper2); }
.cal-h b { font-family: var(--serif); font-size: 1.1rem; }
.cal-h button { width: 2.4rem; height: 2.4rem; border: 1.5px solid var(--ink); border-radius: 99px; background: var(--white); font-weight: 700; }
.cal-h .today { width: auto; padding: 0 .8rem; font-size: .8rem; }
.cal-g { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-w { font-size: .7rem; font-weight: 700; text-align: center; padding: .3rem 0; color: var(--ink3); border-bottom: 1px solid var(--rule); }
.cal-d { min-height: 4.2rem; border-right: 1px solid var(--rule2); border-bottom: 1px solid var(--rule2); padding: .2rem; min-width: 0; display: flex; flex-direction: column; gap: .12rem; }
.cal-d:nth-child(7n) { border-right: 0; }
.cal-d .n { font-family: var(--mono); font-size: .72rem; color: var(--ink3); padding-left: .15rem; }
.cal-d.out { background: var(--paper); } .cal-d.out .n { opacity: .4; }
.cal-d.now .n { background: var(--ink); color: var(--paper); border-radius: 99px; align-self: flex-start; padding: 0 .4rem; }
.cal-ev { display: block; width: 100%; border: 0; text-align: left; font-size: .68rem; line-height: 1.3; padding: .1rem .25rem; border-radius: .2rem; background: var(--hot-soft); border-left: 3px solid var(--hot); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.cal-ev.op { background: var(--blue-soft); border-left-color: var(--blue); }
.cal-ev.more { background: none; border: 0; color: var(--ink3); font-family: var(--mono); }
@media (max-width: 599px) { .cal-d { min-height: 3.1rem; } .cal-ev { font-size: 0; height: .4rem; padding: 0; border-left-width: 0; background: var(--hot); } .cal-ev.op { background: var(--blue); } .cal-ev.more { display: none; } }
.cal-list { padding: .6rem .8rem; border-top: 2px solid var(--ink); font-size: .86rem; display: grid; gap: .3rem; }
.cal-list a { display: flex; gap: .6rem; align-items: baseline; min-height: 1.9rem; }
.cal-list a:hover b { text-decoration: underline; }
.cal-list .mono { flex: none; font-size: .76rem; color: var(--hot-ink); min-width: 3.2rem; }
.cal-list .op .mono { color: var(--blue); }
.cal-list b { font-weight: 600; min-width: 0; }
.cal.folded .cal-g, .cal.folded .cal-list { display: none; }
.legend { display: grid; gap: .7rem; margin-bottom: 1.5rem; }
@media (min-width: 800px) { .legend { grid-template-columns: repeat(4, 1fr); } }
.legend div { border: 1.5px solid var(--rule); border-radius: .7rem; padding: .8rem; background: var(--white); }
.legend p { font-size: .84rem; color: var(--ink2); margin-top: .4rem; }

/* 공모 · 지원 한 건 */
.chead { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.spec { margin: 0; border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); overflow: hidden; }
.spec div { display: grid; grid-template-columns: 6rem 1fr; gap: .8rem; padding: .75rem 1rem; border-bottom: 1px solid var(--rule2); }
.spec div:last-child { border-bottom: 0; }
.spec dt { font-size: .82rem; color: var(--ink3); font-weight: 600; padding-top: .1rem; }
.spec dd { margin: 0; min-width: 0; font-weight: 500; }
@media (max-width: 479px) { .spec div { grid-template-columns: 1fr; gap: .1rem; } }
.aibox { margin-top: 1rem; border: 2px solid var(--ink); border-radius: var(--r); padding: .9rem 1rem; background: var(--white); }
.aibox b { font-size: .95rem; } .aibox p { font-size: .9rem; color: var(--ink2); margin-top: .25rem; }
.aibox.ai-banned { background: var(--ink); color: var(--paper); } .aibox.ai-banned p { color: #d6ccba; }
.aibox.ai-allowed { background: var(--green-soft); } .aibox.ai-disclose { background: var(--gold-soft); } .aibox.ai-unknown { border-style: dashed; }
.cnote { margin-top: 1rem; font-size: .9rem; color: var(--ink2); padding-left: .8rem; border-left: 3px solid var(--hot); }
.srcline { margin-top: 1.2rem; font-size: .82rem; color: var(--ink3); }

/* ── 작가 길잡이 ── */
.lens { border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); padding: .9rem; display: grid; gap: .7rem; margin-bottom: 2rem; }
.lens-row { display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; }
.lens-row b { font-size: .78rem; color: var(--ink3); min-width: 4.2rem; }
.lens-tip { font-size: .82rem; color: var(--ink3); }
.branch { padding: 1.5rem 0 2rem; border-top: 2px solid var(--ink); }
.branch-h { display: grid; gap: .2rem; margin-bottom: 1.1rem; max-width: 44rem; }
.branch-h .en { font-size: .68rem; letter-spacing: .14em; font-weight: 600; color: var(--hot-ink); }
.branch-h h2 { font-family: var(--serif); font-size: 1.7rem; line-height: 1.2; }
.branch-h p { color: var(--ink2); font-size: .95rem; }
.tcards { display: grid; gap: .9rem; }
@media (min-width: 720px) { .tcards { grid-template-columns: repeat(2, 1fr); } } @media (min-width: 1100px) { .tcards { grid-template-columns: repeat(3, 1fr); } }
.tcard { display: flex; flex-direction: column; gap: .4rem; padding: 1.05rem 1.1rem; border: 2px solid var(--ink); border-radius: var(--r); transition: transform .15s, box-shadow .15s; }
.tcard:hover { transform: translate(-2px, -2px); box-shadow: var(--sh); }
.tcard.dim { opacity: .35; }
.tcard-h { display: flex; align-items: center; gap: .5rem; }
.tcard h3 { font-family: var(--serif); font-size: 1.3rem; }
.tcard .ph { font-size: .68rem; font-weight: 700; border: 1.5px solid var(--ink); border-radius: 99px; padding: 0 .45rem; background: var(--white); }
.tcard .one { font-size: .92rem; color: var(--ink2); flex: 1; }
.tpath { font-size: .88rem; background: var(--white); border: 1.5px solid var(--ink); border-radius: .5rem; padding: .5rem .65rem; }
.tpath b { display: inline-block; font-size: .72rem; background: var(--ink); color: var(--paper); border-radius: .25rem; padding: 0 .35rem; margin-right: .3rem; }
.tcard-f { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .7rem; font-size: .78rem; color: var(--ink2); border-top: 1px dashed rgba(31,27,22,.3); padding-top: .5rem; margin-top: .2rem; }
.tcard-f .mono { font-weight: 600; color: var(--ink); } .tcard-f .go { margin-left: auto; font-weight: 700; color: var(--ink); }
.places { display: grid; gap: .8rem; }
@media (min-width: 720px) { .places { grid-template-columns: repeat(2, 1fr); } } @media (min-width: 1100px) { .places { grid-template-columns: repeat(3, 1fr); } }
.place { display: block; padding: .95rem 1.05rem; border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); transition: transform .15s, box-shadow .15s; }
.place:hover { transform: translate(-2px, -2px); box-shadow: var(--sh); }
.place h3 { font-size: 1.02rem; font-weight: 700; display: flex; justify-content: space-between; gap: .5rem; }
.place h3 span { color: var(--hot-ink); } .place p { font-size: .88rem; color: var(--ink2); margin-top: .25rem; }
.roles { display: flex; flex-wrap: wrap; gap: .35rem; max-width: 46rem; margin: 1.2rem auto 0; }
.phead .roles { margin-left: 0; }
.roles span, .roles a { font-size: .84rem; font-weight: 600; border: 1.5px solid var(--ink); border-radius: .4rem; padding: .2rem .6rem; background: var(--white); min-height: 2rem; display: inline-flex; align-items: center; }
.roles a:hover { background: var(--ink); color: var(--paper); }
.modes { display: grid; gap: .7rem; }
@media (min-width: 720px) { .modes { grid-template-columns: repeat(2, 1fr); } } @media (min-width: 1100px) { .modes { grid-template-columns: repeat(3, 1fr); } }
.modes div { border-left: 4px solid var(--hot); background: var(--white); padding: .8rem 1rem; border-radius: 0 .6rem .6rem 0; }
.modes b { display: block; font-family: var(--serif); font-size: 1.08rem; } .modes span { font-size: .88rem; color: var(--ink2); }
.glinks { display: grid; gap: .7rem; }
@media (min-width: 720px) { .glinks { grid-template-columns: repeat(2, 1fr); } } @media (min-width: 1100px) { .glinks { grid-template-columns: repeat(3, 1fr); } }
.glinks a { display: flex; flex-direction: column; gap: .2rem; padding: .95rem 1.05rem; border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); transition: transform .15s, box-shadow .15s; }
.glinks a:hover { transform: translate(-2px, -2px); box-shadow: var(--sh); }
.glinks b { font-family: var(--serif); font-size: 1.1rem; } .glinks span { font-size: .86rem; color: var(--ink2); }
.glinks .mono { font-size: .72rem; color: var(--hot-ink); font-weight: 600; }
.qas { display: grid; gap: .6rem; max-width: 48rem; }
.qa { border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); }
.qa summary { cursor: pointer; padding: .85rem 1rem; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: .8rem; min-height: 3rem; align-items: center; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; font-family: var(--mono); font-size: 1.2rem; color: var(--hot-ink); flex: none; }
.qa[open] summary::after { content: '−'; }
.qa p { padding: 0 1rem 1rem; color: var(--ink2); font-size: .94rem; }
ul.plain { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
ul.plain li { padding: .65rem .1rem; border-bottom: 1px solid var(--rule); }
ul.plain a { font-weight: 600; } ul.plain a:hover { text-decoration: underline; text-decoration-color: var(--hot); }
ul.plain small { display: block; color: var(--ink3); font-size: .8rem; }
.cards + .sh { margin-top: 2rem; }

/* ── 표 ── */
.tablebox { border: 2px solid var(--ink); border-radius: var(--r); overflow-x: auto; background: var(--white); }
.tb { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tb th { text-align: left; font-size: .76rem; color: var(--ink3); font-weight: 700; padding: .6rem .8rem; border-bottom: 2px solid var(--ink); background: var(--paper2); white-space: nowrap; }
.tb td { padding: .7rem .8rem; border-bottom: 1px solid var(--rule2); vertical-align: top; }
.tb tr:last-child td { border-bottom: 0; }
.tb td small { display: block; color: var(--ink3); font-size: .78rem; margin-top: .15rem; }
.tb .num { font-weight: 600; color: var(--hot-ink); white-space: nowrap; }
@media (max-width: 699px) { .tb .hm { display: none; } .tb { font-size: .86rem; } .tb td, .tb th { padding: .6rem .6rem; } .tb .num { white-space: normal; } }

/* ── 권리 ── */
.desks { display: grid; gap: .9rem; }
@media (min-width: 720px) { .desks { grid-template-columns: repeat(2, 1fr); } } @media (min-width: 1100px) { .desks { grid-template-columns: repeat(3, 1fr); } }
.desk-c { border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); padding: 1rem 1.05rem; display: flex; flex-direction: column; gap: .35rem; }
.desk-c h3 { font-family: var(--serif); font-size: 1.12rem; } .desk-c small { color: var(--ink3); font-size: .8rem; }
.desk-c p { font-size: .9rem; color: var(--ink2); } .desk-c p b { color: var(--hot-ink); font-size: .78rem; margin-right: .25rem; }
.desk-c .btn { align-self: flex-start; margin-top: auto; }
.desk-c p:last-of-type { margin-bottom: .5rem; }
.lnks { display: grid; gap: .7rem; }
@media (min-width: 720px) { .lnks { grid-template-columns: repeat(2, 1fr); } } @media (min-width: 1100px) { .lnks { grid-template-columns: repeat(3, 1fr); } }
.lnk { display: flex; flex-direction: column; gap: .15rem; padding: .9rem 1rem; border: 1.5px solid var(--ink); border-radius: .7rem; background: var(--white); }
.lnk:hover { box-shadow: 3px 3px 0 var(--ink); }
.lnk b { font-size: .98rem; } .lnk b span { color: var(--hot-ink); } .lnk small { font-size: .76rem; color: var(--ink3); } .lnk p { font-size: .86rem; color: var(--ink2); margin-top: .2rem; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; max-width: 50rem; }
.checks label { display: flex; gap: .75rem; align-items: flex-start; padding: .75rem .9rem; border: 1.5px solid var(--ink); border-radius: .7rem; background: var(--white); cursor: pointer; min-height: 3rem; }
.checks input { flex: none; width: 1.25rem; height: 1.25rem; margin: .15rem 0 0; accent-color: var(--hot); }
.checks b { display: block; font-size: .95rem; font-weight: 600; } .checks small { display: block; font-size: .82rem; color: var(--ink3); margin-top: .1rem; }
.checks label:has(input:checked) { background: var(--green-soft); } .checks label:has(input:checked) b { text-decoration: line-through; text-decoration-color: rgba(31,27,22,.4); }

/* ── 만들어 보기 ── */
.today2 { display: grid; gap: 1rem; }
@media (min-width: 900px) { .today2 { grid-template-columns: 1fr 1fr; } }
.tcardx, .tool-c { border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); padding: 1.1rem 1.15rem; display: flex; flex-direction: column; gap: .8rem; min-width: 0; }
.tcardx.line1 { background: repeating-linear-gradient(0deg, transparent 0 1.9rem, rgba(233,185,162,.4) 1.9rem calc(1.9rem + 1px)), repeating-linear-gradient(90deg, transparent 0 1.9rem, rgba(233,185,162,.4) 1.9rem calc(1.9rem + 1px)), var(--white); }
.tcardx.subj { background: var(--blue-soft); }
.tool-h .mono { font-size: .68rem; letter-spacing: .14em; font-weight: 600; color: var(--hot-ink); }
.tool-h h3 { font-family: var(--serif); font-size: 1.3rem; } .tool-h p { font-size: .88rem; color: var(--ink2); }
.tool-h.sub { margin-top: .8rem; padding-top: 1rem; border-top: 1px dashed var(--rule); }
.tcardx blockquote { margin: 0; flex: 1; font-family: var(--serif); font-size: 1.3rem; line-height: 1.6; padding: .6rem 0; min-height: 5.5rem; display: flex; align-items: center; }
.tool-f { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.tool-grid { display: grid; gap: 1rem; }
@media (min-width: 1000px) { .tool-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.tool-c textarea { width: 100%; border: 1.5px solid var(--ink); border-radius: .6rem; padding: .8rem .9rem; background: repeating-linear-gradient(0deg, transparent 0 1.9rem, rgba(233,185,162,.5) 1.9rem calc(1.9rem + 1px)), var(--card); line-height: 1.9rem; font-family: var(--serif); font-size: 1.02rem; resize: vertical; min-height: 12rem; }
.counts { display: grid; grid-template-columns: repeat(2, 1fr); gap: .4rem; }
@media (min-width: 560px) { .counts { grid-template-columns: repeat(4, 1fr); } }
.counts div { border: 1.5px solid var(--rule); border-radius: .5rem; padding: .45rem .6rem; background: var(--paper); }
.counts b { display: block; font-family: var(--mono); font-size: 1.05rem; } .counts span { font-size: .74rem; color: var(--ink3); }
.form2 { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
.form2 label { display: grid; gap: .25rem; font-size: .82rem; font-weight: 600; color: var(--ink2); }
.form2 input, .form2 select { min-height: 2.75rem; border: 1.5px solid var(--ink); border-radius: .6rem; padding: 0 .8rem; background: var(--paper); font-size: 1rem; width: 100%; min-width: 0; }
.result { border: 1.5px dashed var(--ink); border-radius: .7rem; padding: .85rem 1rem; background: var(--paper); font-size: .94rem; min-height: 3.2rem; }
.result b { font-family: var(--mono); color: var(--hot-ink); font-size: 1.1rem; }
.result p + p { margin-top: .35rem; } .result small { color: var(--ink3); }
.result:empty::before { content: '값을 넣으면 여기에 나와요.'; color: var(--ink3); }

/* ── 출처 · 모아 보기 · 404 ── */
.nots { margin: 0; padding: 0; list-style: none; display: grid; gap: .5rem; max-width: 52rem; }
.nots li { padding: .7rem .9rem .7rem 2.6rem; border: 1.5px solid var(--ink); border-radius: .7rem; background: var(--white); position: relative; font-size: .94rem; }
.nots li::before { content: '−'; position: absolute; left: .8rem; top: .62rem; width: 1.2rem; height: 1.2rem; border-radius: .3rem; background: var(--red-soft); color: var(--red); font-weight: 700; display: grid; place-items: center; line-height: 1; }
.outs { display: flex; flex-wrap: wrap; gap: .5rem; }
.outs a { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.6rem; padding: 0 1rem; border: 1.5px solid var(--ink); border-radius: 99px; background: var(--white); font-weight: 600; font-size: .9rem; }
.outs a:hover { background: var(--ink); color: var(--paper); } .outs a span { color: var(--hot); }
.archs { display: grid; gap: 2rem; }
.arch h2 { font-family: var(--serif); font-size: 1.3rem; border-bottom: 2px solid var(--ink); padding-bottom: .4rem; display: flex; gap: .5rem; align-items: baseline; }
.arch h2 .mono { font-size: .8rem; color: var(--hot-ink); }
.arch ul { list-style: none; margin: .6rem 0 0; padding: 0; columns: 1; column-gap: 2rem; }
@media (min-width: 720px) { .arch ul { columns: 2; } } @media (min-width: 1100px) { .arch ul { columns: 3; } }
.arch li { break-inside: avoid; padding: .3rem 0; font-size: .92rem; }
.arch a:hover { text-decoration: underline; text-decoration-color: var(--hot); }
.nf { min-height: calc(100vh - var(--top)); min-height: calc(100dvh - var(--top)); display: grid; place-items: center; padding: 3rem 0; }
.nf-box { text-align: center; border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); padding: 2.5rem 1.5rem; box-shadow: var(--sh); max-width: 34rem; margin: 0 auto; }
.nf-box .mono { font-size: 3rem; font-weight: 600; color: var(--hot); line-height: 1; }
.nf-box h1 { font-family: var(--serif); font-size: 1.6rem; margin: .5rem 0; } .nf-box p { color: var(--ink2); margin-bottom: 1.5rem; }

/* ── 바닥 ── */
footer.foot { background: var(--ink); color: #c9bfae; padding: 2.5rem 0 5.5rem; font-size: .86rem; }
.foot .fm { display: flex; align-items: center; gap: .6rem; color: var(--paper); margin-bottom: 1rem; }
.foot .fm .mk { width: 1.8rem; height: 1.8rem; display: block; } .foot .fm .mk svg { display: block; width: 100%; height: 100%; }
.foot nav { display: flex; flex-wrap: wrap; gap: .1rem .2rem; margin: 0 -.5rem 1rem; }
.foot nav a { padding: .35rem .55rem; border-radius: .4rem; color: var(--paper); font-weight: 500; min-height: 2.2rem; display: inline-flex; align-items: center; }
.foot nav a:hover { background: rgba(255,255,255,.1); }
.foot .fam a { color: var(--paper); text-decoration: underline; text-underline-offset: .2em; text-decoration-color: var(--hot); }
.foot .fine { margin-top: .8rem; font-size: .78rem; color: #9a907f; max-width: 50rem; }

/* ── 길잡이 단추 · 창 ── */
.fab { position: fixed; right: 1rem; bottom: 1rem; z-index: 50; display: inline-flex; align-items: center; gap: .4rem; height: 3.25rem; padding: 0 1.05rem 0 .9rem; border-radius: 99px; border: 2px solid var(--ink); background: var(--hot); color: #fff; font-weight: 700; box-shadow: var(--sh); bottom: calc(1rem + env(safe-area-inset-bottom)); }
.fab svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.fab:hover { transform: translate(-1px, -1px); }
.ov { position: fixed; inset: 0; z-index: 80; background: rgba(31,27,22,.55); display: grid; place-items: center; padding: .75rem; overflow: hidden; }
.ov.side { place-items: end; }
.sheet { width: 100%; max-width: 34rem; max-height: 100%; display: flex; flex-direction: column; background: var(--paper); border: 2px solid var(--ink); border-radius: 1.1rem; box-shadow: 6px 6px 0 rgba(31,27,22,.9); overflow: hidden; }
.sheet.wide { max-width: 56rem; }
.sheet-h { flex: none; display: flex; align-items: center; gap: .6rem; padding: .7rem .7rem .7rem 1.1rem; border-bottom: 2px solid var(--ink); background: var(--card); }
.sheet-h h2 { font-family: var(--serif); font-size: 1.15rem; flex: 1; min-width: 0; }
.sheet-h .x { flex: none; width: 2.6rem; height: 2.6rem; border-radius: 99px; border: 1.5px solid var(--ink); background: var(--white); font-size: 1.1rem; line-height: 1; }
.sheet-b { flex: 1; min-height: 0; overflow-y: auto; padding: 1rem 1.1rem 1.2rem; overscroll-behavior: contain; }
.sheet-f { flex: none; display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; padding: .7rem 1.1rem; border-top: 1.5px solid var(--rule); background: var(--card); }
@media (max-width: 599px) { .ov { padding: .5rem; place-items: stretch; } .sheet { height: 100%; max-width: none; } .sheet.fit { height: auto; align-self: center; } }
.pickgrid { display: grid; gap: 1rem; }
.pickgrid h3 { font-size: .8rem; color: var(--ink3); margin-bottom: .4rem; }
.pickgrid div div { display: flex; flex-wrap: wrap; gap: .35rem; }
.newlist { list-style: none; margin: 0; padding: 0; }
.newlist li { border-bottom: 1px solid var(--rule); }
.newlist a { display: flex; gap: .7rem; padding: .7rem 0; align-items: baseline; }
.newlist .k { flex: none; font-size: .7rem; font-weight: 700; background: var(--ink); color: var(--paper); border-radius: .3rem; padding: .05rem .4rem; }
.newlist b { font-weight: 600; font-size: .94rem; flex: 1; min-width: 0; } .newlist small { flex: none; font-family: var(--mono); font-size: .72rem; color: var(--ink3); }
.newlist li.fresh b::after { content: 'NEW'; margin-left: .4rem; font-family: var(--mono); font-size: .62rem; color: #fff; background: var(--hot); border-radius: .2rem; padding: 0 .25rem; vertical-align: middle; }
.vplay { background: #000; border: 2px solid var(--ink); border-radius: .7rem; overflow: hidden; aspect-ratio: 16 / 9; }
.vplay iframe { width: 100%; height: 100%; border: 0; display: block; }
.vinfo { margin-top: .8rem; } .vinfo b { display: block; font-size: 1rem; } .vinfo small { color: var(--ink3); }
@media (orientation: landscape) and (max-height: 500px) { .sheet.wide .sheet-b { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1rem; align-items: start; } .vinfo { margin-top: 0; } }
.toast { position: fixed; left: 50%; bottom: 5.2rem; transform: translateX(-50%); z-index: 90; background: var(--ink); color: var(--paper); padding: .65rem 1.1rem; border-radius: 99px; font-size: .9rem; font-weight: 600; box-shadow: 0 8px 24px rgba(0,0,0,.25); max-width: calc(100vw - 2rem); text-align: center; }
/* 길잡이 창 */
.gd-say { border: 1.5px solid var(--ink); border-radius: 1rem 1rem 1rem .25rem; background: var(--white); padding: .75rem .9rem; font-size: .95rem; margin-bottom: .8rem; }
.gd-me { margin: 0 0 .8rem auto; width: fit-content; max-width: 85%; background: var(--ink); color: var(--paper); border-radius: 1rem 1rem .25rem 1rem; padding: .5rem .85rem; font-size: .9rem; font-weight: 600; }
.gd-asks { display: flex; flex-wrap: wrap; gap: .35rem; margin: .2rem 0 1rem; }
.gd-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .45rem; }
.gd-list a { display: flex; gap: .6rem; align-items: baseline; padding: .6rem .8rem; border: 1.5px solid var(--ink); border-radius: .7rem; background: var(--white); min-height: 2.8rem; }
.gd-list a:hover { box-shadow: 3px 3px 0 var(--ink); }
.gd-list .mono { flex: none; font-size: .78rem; font-weight: 600; color: var(--hot-ink); min-width: 3rem; }
.gd-list b { font-weight: 600; font-size: .92rem; min-width: 0; flex: 1; } .gd-list small { display: block; font-weight: 400; color: var(--ink3); font-size: .78rem; }
.gd-in { display: flex; gap: .4rem; min-width: 0; }
.gd-in input { flex: 1; min-width: 0; min-height: 2.75rem; border: 1.5px solid var(--ink); border-radius: 99px; padding: 0 1rem; background: var(--white); font-size: .95rem; }
