/* 독톡 공개 화면 — DESIGN.md (20_projects/bookclub/DESIGN.md) 토큰 그대로 */
:root {
  --ink: #1d1d1f; --ink-2: #6e6e73; --ink-3: #86868b;
  --canvas: #ffffff; --parchment: #f5f5f7; --tile: #1d1d1f; --tile-card: #2c2c2e; --on-tile: #f5f5f7; --on-tile-2: #a1a1a6;
  --hairline: rgba(0,0,0,.08); --accent: #0066cc; --accent-dark: #2997ff; --focus: #0071e3;
  --ok: #1a7f37; --warn: #b25000; --danger: #d70015;
  --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-cover: 6px;
  --cover-shadow: 0 10px 30px rgba(0,0,0,.18);
  --font: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; letter-spacing: -0.01em; word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
img { max-width: 100%; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: var(--r-sm); z-index: 200; }
.skip:focus { left: 8px; }
.num { font-variant-numeric: tabular-nums; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }
.band { padding: 96px 0; }
.band.page-top { padding-top: 56px; }
.band.parchment { background: var(--parchment); }
.band.tile { background: var(--tile); color: var(--on-tile); }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--ink-2); margin: 0 0 8px; letter-spacing: 0; }
.tile .eyebrow { color: var(--on-tile-2); }
h1, h2, h3 { margin: 0; font-weight: 700; }
.hero-title { font-size: 52px; line-height: 1.15; letter-spacing: -0.03em; }
.display { font-size: 36px; line-height: 1.2; letter-spacing: -0.02em; }
.title { font-size: 24px; line-height: 1.3; letter-spacing: -0.015em; font-weight: 600; }
.title.sec { margin: 40px 0 20px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.title.sec:first-of-type { margin-top: 8px; }
.on-tile { color: var(--on-tile); }
.lead { font-size: 21px; line-height: 1.55; color: var(--ink-2); margin: 16px 0 0; }
.lead.tight { margin-top: 6px; }
.tile .lead { color: var(--on-tile-2); }
.caption { font-size: 14px; line-height: 1.45; color: var(--ink-2); letter-spacing: 0; font-weight: 400; }
.on-tile-2 { color: var(--on-tile-2); }
.hint { font-weight: 400; color: var(--ink-3); font-size: 13px; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.more-link { font-size: 17px; white-space: nowrap; }
.tile a { color: var(--accent-dark); }
.empty { color: var(--ink-2); padding: 32px 0; }
.sub-note { margin-top: 24px; font-size: 14px; color: var(--ink-2); }
.fine-note { margin-top: 20px; font-size: 13px; color: var(--ink-3); }
.ok-note { background: #e9f6ec; color: #135c27; border-radius: var(--r-sm); padding: 10px 14px; font-size: 15px; }
.draft { display: inline-block; background: #fff4e5; color: #8a4b00; border-radius: var(--r-sm); padding: 6px 12px; font-size: 14px; }

/* 머리말 */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(245,245,247,.8); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--hairline); }
.nav .wrap { height: 52px; display: flex; align-items: center; gap: 20px; }
.logo { font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; white-space: nowrap; }
.logo:hover { text-decoration: none; }
.menu { display: flex; gap: 22px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.menu::-webkit-scrollbar { display: none; }
.menu a { color: var(--ink); font-size: 14px; white-space: nowrap; opacity: .82; padding: 14px 0; }
.menu a.on { opacity: 1; font-weight: 600; }
.btn-login { background: var(--ink); color: #fff; border: 0; border-radius: var(--r-sm); padding: 6px 14px; font-size: 14px; cursor: pointer; white-space: nowrap; }
.btn-login:hover { text-decoration: none; }
.nav-ghost { font-size: 14px; white-space: nowrap; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 999px; padding: 12px 24px; font-size: 17px; cursor: pointer; border: 1px solid var(--accent); transition: transform .12s ease; white-space: nowrap; background: transparent; }
.btn:active { transform: scale(.97); }
.btn:hover { text-decoration: none; }
.btn.primary { background: var(--accent); color: #fff; }
.btn.ghost { color: var(--accent); }
.btn.sm { padding: 8px 18px; font-size: 15px; }
.btn.block { width: 100%; }
.tile .btn.ghost { color: var(--accent-dark); border-color: var(--accent-dark); }
.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* 표지 */
.cover { display: block; border-radius: var(--r-cover); box-shadow: var(--cover-shadow); background: #e8e8ed; object-fit: cover; aspect-ratio: 2 / 3; width: 100%; }
.cover.blank { overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; padding: 10px; background: linear-gradient(160deg, #e8e8ed, #d2d2d7); color: var(--ink-2); font-size: 13px; font-weight: 600; line-height: 1.35; }
.tile .cover { box-shadow: 0 10px 30px rgba(0,0,0,.45); }

/* 첫 화면 */
.hero { padding: 88px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.stats { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--ink-2); }
.stats b { color: var(--ink); font-weight: 600; }
.cover-stack { position: relative; height: 420px; }
.cover-stack .cover { position: absolute; width: auto; }
.cover-stack .c1 { width: 200px; left: 50%; top: 40px; transform: translateX(-50%); z-index: 3; }
.cover-stack .c2 { width: 158px; left: calc(50% - 205px); top: 96px; z-index: 2; }
.cover-stack .c3 { width: 158px; left: calc(50% + 47px); top: 96px; z-index: 1; }

/* 모임 카드 */
.ev-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.ev { display: grid; grid-template-columns: 112px 1fr; gap: 24px; background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 24px; color: var(--ink); transition: transform .15s ease, border-color .15s; }
.ev:hover { text-decoration: none; border-color: rgba(0,0,0,.16); }
.ev:active { transform: scale(.99); }
.ev .cover { width: 112px; }
.chip { display: inline-flex; align-items: center; background: var(--parchment); color: var(--ink); border-radius: 999px; padding: 4px 12px; font-size: 14px; font-weight: 600; letter-spacing: 0; }
.band.parchment .chip { background: var(--canvas); border: 1px solid var(--hairline); }
.ev .type { display: inline-block; margin-left: 6px; font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: 0; }
.ev h3 { font-size: 21px; line-height: 1.35; letter-spacing: -0.015em; font-weight: 600; margin: 12px 0 2px; }
.ev .author { color: var(--ink-2); font-size: 16px; }
.ev .status { margin-top: 14px; font-size: 14px; color: var(--ink-2); display: flex; flex-direction: column; gap: 2px; letter-spacing: 0; }
.seat-ok { color: var(--ok); font-weight: 600; }
.seat-low { color: var(--warn); font-weight: 600; }
.ev .go { margin-top: 12px; font-size: 15px; color: var(--accent); }

/* 책 속 한 줄 */
.quotes { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.q-row { display: flex; gap: 20px; width: max-content; padding: 10px 0; animation: drift 90s linear infinite; }
.q-row.rev { animation-direction: reverse; animation-duration: 110s; }
.quotes:hover .q-row, .quotes:focus-within .q-row { animation-play-state: paused; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* 동작 줄이기(윈도 '애니메이션 효과' 끔 등): 흐르지 않고 손으로 옆으로 넘기는 두 줄 — 예전엔 여러 줄로 쌓여 왼쪽에 붙어 있었음 */
@media (prefers-reduced-motion: reduce) {
  .quotes { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; -webkit-mask-image: none; mask-image: none; }
  .q-row { animation: none; margin-inline: auto; }  /* 다 들어가면 가운데, 넘치면 왼쪽부터 넘김 */
  .q-row .q { scroll-snap-align: start; scroll-margin-left: 24px; }
  .q-row [aria-hidden="true"] { display: none; }
}
.q { margin: 0; width: 340px; flex-shrink: 0; background: var(--tile-card); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.q blockquote { margin: 0; font-size: 21px; line-height: 1.55; color: var(--on-tile); letter-spacing: -0.01em; }
.q .src { font-size: 14px; color: var(--on-tile-2); letter-spacing: 0; line-height: 1.5; }
.q .who { font-size: 13px; opacity: .85; }
.q-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.q-grid .q { width: auto; }
.tile-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 32px; }

/* 소식 */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.news { border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 10px; color: var(--ink); background: var(--canvas); }
.news:hover { text-decoration: none; border-color: rgba(0,0,0,.16); }
.news .meta { font-size: 13px; color: var(--ink-3); letter-spacing: 0; }
.news h3 { font-size: 19px; line-height: 1.4; font-weight: 600; letter-spacing: -0.015em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news .note { font-size: 15px; color: var(--ink-2); line-height: 1.55; margin: auto 0 0; }
.news .note b { font-size: 12px; font-weight: 600; color: var(--accent); margin-right: 6px; letter-spacing: 0; }

/* 서재 */
.shelf { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 32px 24px; }
.book { color: var(--ink); display: flex; flex-direction: column; position: relative; }
.book:hover { text-decoration: none; }
.book:hover .t { color: var(--accent); }
.book .t { margin-top: 12px; font-size: 14px; font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.book .d { font-size: 13px; color: var(--ink-3); letter-spacing: 0; }
.book .flag, .flag-note { font-size: 12px; color: var(--warn); font-weight: 600; }
.flag-note { margin-top: 16px; }
.book.hide { display: none; }
.year-block { margin-bottom: 56px; }
.year-block.hide { display: none; }
.year-h { display: flex; gap: 10px; align-items: baseline; margin-bottom: 20px; position: sticky; top: 52px; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); padding: 10px 0; z-index: 5; }
.search-box { display: flex; align-items: center; gap: 10px; margin-top: 32px; max-width: 520px; height: 48px; border: 1px solid rgba(0,0,0,.15); border-radius: 999px; padding: 0 18px; background: #fff; }
.search-box:focus-within { outline: 2px solid var(--focus); border-color: transparent; }
.search-box input { border: 0; outline: 0; flex: 1; font-size: 17px; background: transparent; min-width: 0; }
#book-q-result { margin-top: 10px; min-height: 20px; }
.year-bars { display: flex; align-items: flex-end; gap: 6px; height: 180px; padding-top: 24px; }
.yb { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; color: var(--ink-2); min-width: 0; }
.yb:hover { text-decoration: none; }
.yb .bar { width: 100%; max-width: 40px; background: #c7d7ee; border-radius: 6px 6px 2px 2px; min-height: 4px; transition: background .15s; }
.yb:hover .bar { background: var(--accent); }
.yb .n { font-size: 12px; font-weight: 600; color: var(--ink); order: -1; margin-bottom: 4px; }
.yb .y { font-size: 12px; margin-top: 6px; }
.chronicle { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.chronicle p { margin: 0; font-size: 16px; line-height: 1.8; }
.chronicle a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(0,0,0,.2); text-underline-offset: 3px; }
.when-list { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 15px; }

/* 처음 오셨나요 */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; margin-top: 8px; }
.step { background: var(--parchment); border-radius: var(--r-lg); padding: 28px 24px; }
.band.parchment .step { background: var(--canvas); }
.step .n { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.step h3 { font-size: 19px; font-weight: 600; margin: 16px 0 6px; letter-spacing: -0.015em; }
.step p { margin: 0 0 8px; font-size: 15px; color: var(--ink-2); }
.faq { margin-top: 24px; border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-3); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 0; color: var(--ink-2); }
.prose h2 { font-size: 21px; margin: 40px 0 10px; letter-spacing: -0.015em; }
.prose ul { padding-left: 20px; margin: 0; }
.prose li { margin: 6px 0; color: var(--ink); }

/* 모임·책 상세 */
.crumb { font-size: 14px; display: inline-block; margin: 24px 0 0; }
.d-hero { padding: 40px 0 88px; }
.d-hero .wrap { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; }
.d-cover-bg { border-radius: var(--r-lg); padding: 40px; display: flex; justify-content: center; background: var(--parchment); }
.d-cover-bg .cover { width: 220px; }
.d-info { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.d-row { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 17px; }
.d-row svg { margin-top: 4px; }
.d-row .sub { display: block; font-size: 14px; color: var(--ink-2); }
.type-chip { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 10px; letter-spacing: 0; }
.locked { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.lock { display: flex; align-items: center; gap: 14px; background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 20px; }
.lock .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--parchment); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lock b { font-weight: 600; display: block; font-size: 16px; }
.lock span { font-size: 14px; color: var(--ink-2); }

/* 바닥글 */
.foot { background: var(--parchment); padding: 48px 0 40px; border-top: 1px solid var(--hairline); }
.foot-top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot .caption { margin: 6px 0 0; }
.foot .links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; align-content: flex-start; }
.foot .links a { color: var(--ink); }
.foot .legal { margin-top: 28px; font-size: 12px; color: var(--ink-3); line-height: 1.6; }

/* 로그인·가입 창 */
.sheet-bg { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.4); display: flex; align-items: center; justify-content: center; padding: 16px; animation: fade .2s ease; }
.sheet-bg[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.sheet { width: 100%; max-width: 400px; max-height: 92vh; overflow-y: auto; background: var(--canvas); border-radius: var(--r-lg); padding: 32px 28px 28px; position: relative; animation: rise .25s ease; }
@keyframes rise { from { transform: translateY(16px); opacity: .6; } }
.sheet h2 { font-size: 24px; letter-spacing: -0.02em; }
.sheet .sub { color: var(--ink-2); font-size: 15px; margin: 6px 0 24px; }
.sheet label, .form label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin: 0 0 6px; letter-spacing: 0; }
.sheet input, .form input, .form textarea, .form select, .mq select, .mq input { width: 100%; height: 48px; border-radius: var(--r-sm); border: 1px solid rgba(0,0,0,.15); padding: 0 14px; font-size: 17px; margin-bottom: 14px; background: #fff; }
.form textarea { height: auto; padding: 10px 14px; resize: vertical; }
.sheet input:focus, .form input:focus, .form textarea:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: transparent; }
.sheet .alt { margin-top: 18px; text-align: center; font-size: 15px; color: var(--ink-2); }
.sheet .fine { font-size: 12px; color: var(--ink-3); margin: 12px 0 0; }
.sheet .cafe { display: block; text-align: center; margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.x { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--parchment); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.grab { display: none; width: 36px; height: 5px; border-radius: 3px; background: #d2d2d7; margin: -18px auto 18px; }

/* 내 문장 */
.mq { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.mq-item { border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 20px; }
.mq-item blockquote { margin: 0 0 8px; font-size: 18px; }
.mq-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 10px; align-items: center; margin-top: 12px; }
.mq-row select, .mq-row input { margin: 0; height: 40px; font-size: 15px; }
.st.public { color: var(--ok); } .st.pending { color: var(--warn); } .st.private { color: var(--ink-3); }

/* 데스크 */
.desk-links { display: flex; gap: 16px; flex-wrap: wrap; font-size: 15px; }
.desk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 24px; margin-top: 24px; background: #fff; }
.desk-grid .panel { margin-top: 24px; }
.panel .title { font-size: 20px; margin-bottom: 16px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.switch { display: flex !important; gap: 10px; align-items: flex-start; font-size: 16px !important; color: var(--ink) !important; font-weight: 600 !important; }
.switch input { width: 20px !important; height: 20px !important; margin: 3px 0 0 !important; flex-shrink: 0; }
.row-form { display: grid; grid-template-columns: 2fr 2fr 1fr 1fr 2fr auto; gap: 8px; align-items: center; margin-bottom: 16px; }
.row-form input { margin: 0; height: 40px; font-size: 15px; }
.row-form.arch { grid-template-columns: 1.3fr 1.2fr 1fr 1fr auto auto; padding: 10px 0; border-top: 1px solid var(--hairline); margin: 0; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { text-align: left; padding: 10px 8px; border-top: 1px solid var(--hairline); vertical-align: top; }
.tbl th { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.acts { display: flex; gap: 6px; flex-wrap: wrap; }
.acts button, .panel button[name=act] { border: 1px solid var(--hairline); background: var(--parchment); border-radius: 999px; padding: 4px 12px; font-size: 13px; cursor: pointer; }
.acts button.ok, button.ok { background: #e9f6ec; color: #135c27; border-color: transparent; }
.acts button.danger, button.danger { background: #fdecec; color: #a3000f; border-color: transparent; }
.pin { font-size: 12px; color: var(--accent); }
.qrow { border-top: 1px solid var(--hairline); padding: 14px 0; }
.qrow blockquote { margin: 0 0 6px; font-size: 17px; }
.vbars { display: flex; align-items: flex-end; gap: 6px; height: 140px; margin-bottom: 12px; }
.vb { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; min-width: 0; }
.vb .bar { width: 100%; max-width: 26px; background: #c7d7ee; border-radius: 4px 4px 1px 1px; min-height: 2px; }
.vb .n { font-size: 11px; font-weight: 600; order: -1; margin-bottom: 2px; }
.vb .d { font-size: 11px; color: var(--ink-3); margin-top: 4px; }

/* 반응형 */
@media (max-width: 1023px) {
  .shelf { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .news-grid, .q-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero .wrap, .desk-grid { grid-template-columns: 1fr; }
  .cover-stack { height: 360px; }
  .row-form, .row-form.arch { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .band { padding: 64px 0; }
  .band.page-top { padding-top: 40px; }
  .hero { padding: 48px 0 64px; }
  .hero-title { font-size: 34px; }
  .display { font-size: 28px; }
  .title { font-size: 21px; }
  .lead { font-size: 18px; }
  body { font-size: 16px; }
  .nav .wrap { gap: 14px; }
  .menu { gap: 16px; }
  .ev-grid, .news-grid, .steps, .locked, .q-grid, .chronicle { grid-template-columns: 1fr; }
  .ev { grid-template-columns: 88px 1fr; gap: 16px; padding: 20px; }
  .ev .cover { width: 88px; }
  .shelf { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px 14px; }
  .cover-stack { height: 300px; }
  .cover-stack .c1 { width: 150px; top: 24px; }
  .cover-stack .c2, .cover-stack .c3 { width: 118px; top: 66px; }
  .cover-stack .c2 { left: calc(50% - 150px); }
  .cover-stack .c3 { left: calc(50% + 32px); }
  .q { width: 280px; padding: 20px; }
  .q blockquote { font-size: 18px; }
  .d-hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .d-cover-bg { padding: 32px; }
  .d-cover-bg .cover { width: 170px; }
  .sheet-bg { align-items: flex-end; padding: 0; }
  .sheet { max-width: none; border-radius: var(--r-lg) var(--r-lg) 0 0; padding: 28px 20px calc(24px + env(safe-area-inset-bottom)); animation: up .25s ease; }
  @keyframes up { from { transform: translateY(40%); } }
  .grab { display: block; }
  .btns .btn { flex: 1; }
  .year-bars { gap: 3px; }
  .yb .n { font-size: 10px; }
  .yb .y { font-size: 10px; }
  .mq-row { grid-template-columns: 1fr; }
  .row-form, .row-form.arch { grid-template-columns: 1fr; }
  .tbl.m-hide3 th:nth-child(3), .tbl.m-hide3 td:nth-child(3) { display: none; }
}
