/* kimman.kr — DESIGN.md(Linear 계열 먹빛 + 라벤더 하나) 위에 은은한 밤하늘 */
:root {
  --canvas: #07061a;
  --surface-1: rgba(18, 17, 40, .72);
  --surface-2: rgba(26, 24, 56, .82);
  --hairline: rgba(255, 255, 255, .09);
  --hairline-strong: rgba(255, 255, 255, .16);
  --ink: #f4f3fb;
  --ink-muted: #cfcce4;
  --ink-subtle: #9c98b8;
  --primary: #8b8fff;
  --primary-strong: #5e6ad2;
  --star: #fde68a;
  --r-md: 10px; --r-lg: 14px; --r-xl: 20px; --r-pill: 9999px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh; background: var(--canvas); color: var(--ink-muted);
  font: 400 16px/1.65 var(--font); letter-spacing: -.01em;
  word-break: keep-all; overflow-wrap: break-word; text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(1000px 600px at 12% -10%, rgba(139, 143, 255, .20), transparent 60%),
    radial-gradient(800px 500px at 95% 8%, rgba(240, 171, 252, .10), transparent 60%),
    radial-gradient(900px 700px at 60% 110%, rgba(103, 232, 249, .08), transparent 60%);
  background-attachment: fixed;
}
h1, h2, h3 { color: var(--ink); margin: 0; text-wrap: balance; font-weight: 700; letter-spacing: -.03em; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--primary-strong); color: #fff; padding: 8px 14px; border-radius: var(--r-md); z-index: 50; }
.skip:focus { left: 12px; }
.muted { color: var(--ink-subtle); }

#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.glow { position: fixed; width: 520px; height: 520px; left: 0; top: 0; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(139, 143, 255, .10), transparent 65%); translate: -50% -50%; opacity: 0; transition: opacity .6s var(--ease); }
main { position: relative; z-index: 1; width: min(1080px, 100% - 40px); margin: 0 auto; padding: 64px 0 40px; }

/* 소개 */
.hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-bottom: 8px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; font-size: 13.5px; font-weight: 600; letter-spacing: .06em; color: var(--primary); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--star); }
h1 { display: grid; gap: 10px; }
h1 .name { font-size: clamp(56px, 9vw, 96px); line-height: 1; letter-spacing: -.05em; color: var(--ink); }
h1 .handle { font-size: clamp(18px, 2.2vw, 22px); font-weight: 500; color: var(--ink-subtle); letter-spacing: 0; }
.slogan { margin: 26px 0 0; font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; line-height: 1.4; letter-spacing: -.03em; color: var(--ink); text-wrap: balance; }
.slogan em { font-style: normal; color: var(--primary); }
.m-br { display: none; }
.facts { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.facts li { font-size: 15px; color: var(--ink-subtle); }
.facts li + li::before { content: "·"; margin: 0 10px; color: var(--hairline-strong); }
.links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.links a, .links button { display: inline-flex; cursor: pointer; align-items: center; gap: 7px; min-height: 44px; padding: 0 15px; white-space: nowrap; border-radius: var(--r-pill); text-decoration: none; font-weight: 600; font-size: 15px;
  background: var(--surface-2); border: 1px solid var(--hairline-strong); color: var(--ink); transition: border-color .25s var(--ease), background-color .25s var(--ease), translate .25s var(--ease); }
.links a:hover, .links button:hover { border-color: var(--primary); background: rgba(139, 143, 255, .12); }
.links i { font-size: 19px; }
.links .mail .ph-copy { font-size: 16px; color: var(--ink-subtle); margin-left: 2px; }

.links .mail i:first-child { color: var(--primary); }
.links .nb { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 5px; background: #03c75a; color: #fff; font-size: 12px; font-weight: 800; line-height: 1; }

.card-id { margin: 0; padding: 26px; border-radius: 24px; background: var(--surface-1); border: 1px solid var(--hairline-strong);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .8); position: relative; overflow: hidden; }

.id-top { display: flex; gap: 16px; align-items: center; }
.id-top img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(139, 143, 255, .5); }
.id-top b { display: block; color: var(--ink); font-size: 20px; }
.id-top span { font-size: 14px; color: var(--ink-subtle); }
.id-list { margin: 22px 0 0; display: grid; gap: 14px; }
.id-list div { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 10px; }
.id-list dt { font-size: 12.5px; font-weight: 700; color: var(--primary); letter-spacing: .04em; padding-top: 2px; }
.id-list dd { margin: 0; font-size: 14.5px; color: var(--ink-muted); line-height: 1.55; }
.id-list dd b { color: var(--ink); font-weight: 600; }
.id-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--hairline); }
.id-stats button { text-align: center; background: none; border: 0; border-radius: var(--r-md); padding: 8px 4px; cursor: pointer; transition: background-color .2s var(--ease); touch-action: manipulation; }
.id-stats button:hover { background: rgba(139, 143, 255, .12); }
.id-stats button:hover b { color: var(--primary); }
.id-stats b { display: block; font-size: 24px; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.id-stats span { display: block; font-size: 12.5px; color: var(--ink-subtle); }
.card-tools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.card-tools .btn { min-height: 44px; font-size: 14.5px; padding: 0 16px; }
.card-tools .btn i { font-size: 18px; color: var(--primary); }
/* 바로가기 단추와 같은 결의 단추 */
.btn-soft { background: var(--surface-2); border-color: var(--hairline-strong); color: var(--ink); font-weight: 600; }
.btn-soft:hover { border-color: var(--primary); background: rgba(139, 143, 255, .12); }

/* 디지털 명함 */
dialog#bizcard { border: 0; padding: 20px; background: transparent; width: min(580px, 100% - 16px); max-height: 100dvh; overflow: visible; color: var(--ink-muted); }
dialog#bizcard::backdrop { background: rgba(4, 3, 16, .82); backdrop-filter: blur(6px); }
dialog#bizcard[open] { animation: pop .4s var(--ease); }
.bc-close { position: absolute; top: -8px; right: 8px; background: rgba(16, 14, 42, .9); z-index: 2; }
.bc-card { position: relative; border-radius: 20px; padding: 22px 24px 22px; display: flex; flex-direction: column;
  border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9); background: linear-gradient(160deg, #1a1840, #0c0b22 70%); }
.bc-kicker { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--primary); }
.bc-kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--star); }
.bc-card h2 { margin-top: 10px; font-size: 32px; line-height: 1.1; letter-spacing: -.04em; }
.bc-card h2 span { font-size: 14px; font-weight: 500; color: var(--ink-subtle); letter-spacing: 0; margin-left: 6px; }
.bc-slogan { margin: 6px 0 0; font-size: 15px; font-weight: 700; color: var(--ink); }
.bc-slogan em { font-style: normal; color: var(--primary); }
.bc-role { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-muted); }
.bc-role span { color: var(--ink-subtle); }
.bc-foot { margin-top: 14px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.bc-info { display: grid; gap: 12px; min-width: 0; }
.bc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; min-width: 0; }
.bc-list .row { display: flex; flex-wrap: wrap; gap: 2px 12px; }
.bc-list a, .bc-list button { display: inline-flex; align-items: center; gap: 5px; min-height: 26px; padding: 0; background: none; border: 0; cursor: pointer; text-decoration: none; font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.bc-list small { font-size: 11.5px; font-weight: 400; color: var(--ink-subtle); margin-left: 1px; }
.bc-list i { font-size: 17px; flex: none; }
.bc-list .yt i, .links .yt i { color: #ff0033; }
.bc-list .ig i, .links .ig i { background: linear-gradient(45deg, #feda75, #fa7e1e 30%, #d62976 60%, #962fbf 85%, #4f5bd5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bc-list .mail i { color: var(--primary); }
.bc-list .nb { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 4px; background: #03c75a; color: #fff; font-size: 10.5px; font-weight: 800; flex: none; }
.bc-list a:hover span, .bc-list button:hover span { color: var(--primary); }
.bc-qr { flex: none; width: 96px; height: 96px; padding: 6px; background: #fff; border-radius: 10px; }
.bc-url { position: absolute; right: 24px; top: 22px; margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--ink-subtle); }
.bc-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.bc-actions .btn { min-height: 42px; padding: 0 16px; font-size: 14px; }
.toast { position: fixed; left: 50%; bottom: 28px; translate: -50% 20px; z-index: 60; margin: 0; padding: 10px 18px; border-radius: var(--r-pill); background: var(--ink); color: #0b0a1f; font-size: 14px; font-weight: 600;
  opacity: 0; pointer-events: none; transition: opacity .25s var(--ease), translate .25s var(--ease); }
.toast.on { opacity: 1; translate: -50% 0; }

/* 섹션 */
.sec { margin-top: 88px; padding-top: 40px; border-top: 1px solid var(--hairline); }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 20px; margin-bottom: 22px; }
.sec-head h2[data-k]::before { content: attr(data-k); display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--primary); }
.sec-head h2 { font-size: clamp(26px, 3vw, 32px); }
.sec-head p { margin: 0; font-size: 14.5px; color: var(--ink-subtle); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filters button { min-height: 38px; padding: 0 15px; border-radius: var(--r-pill); border: 1px solid var(--hairline-strong); background: transparent; color: var(--ink-muted); font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); touch-action: manipulation; }
.filters button:hover { border-color: var(--primary); color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #0b0a1f; }
.filters b { font-weight: 500; opacity: .6; margin-left: 4px; font-variant-numeric: tabular-nums; }

.works { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 14px; }
.works li[hidden] { display: none; }
.work { position: relative; width: 100%; height: 100%; text-align: left; cursor: pointer; border-radius: var(--r-xl); border: 1px solid var(--hairline); background: var(--surface-1);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 0; overflow: hidden; display: grid; grid-template-rows: auto 1fr;
  transition: translate .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); touch-action: manipulation; }
.work:hover, .work:focus-within { translate: 0 -4px; border-color: rgba(139, 143, 255, .55); box-shadow: 0 18px 40px -20px rgba(139, 143, 255, .6); }
.work .thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0e0c26; border-bottom: 1px solid var(--hairline); }
.work .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: scale .6s var(--ease); }
.work:hover .thumb img { scale: 1.05; }
.work .thumb.none { display: grid; place-items: center; font-size: 34px; color: var(--primary); }
.work .body { display: grid; gap: 6px; align-content: start; padding: 14px 16px 16px; }
.work .body p, .work h3 { margin: 0; }
.work .tag { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--primary); }
.work .credit { position: relative; z-index: 2; color: inherit; text-decoration: underline; text-decoration-color: rgba(139, 143, 255, .5); text-underline-offset: 3px; }
.work .credit:hover { color: var(--ink); }
.work .title { font-size: 16.5px; font-weight: 700; color: var(--ink); line-height: 1.35; letter-spacing: -.02em; }
.work .open { all: unset; cursor: pointer; }
.work .open::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.work .open:focus-visible { outline: none; }
.work:has(.open:focus-visible) { outline: 2px solid var(--primary); outline-offset: 3px; }
.work .desc { font-size: 13.5px; color: var(--ink-subtle); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.more-btn { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 16px auto 0; min-height: 44px; padding: 0 22px; border-radius: var(--r-pill);
  border: 1px solid var(--hairline-strong); background: var(--surface-1); color: var(--ink); font-size: 14.5px; font-weight: 600; cursor: pointer; touch-action: manipulation;
  transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.more-btn:hover { border-color: var(--primary); background: rgba(139, 143, 255, .12); }
.more-btn[hidden] { display: none; }

/* 쓴 책 · 표지가 주인공 */
.books { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 28px 18px; }
.book { height: 100%; display: flex; flex-direction: column; gap: 5px; }
.book .cover { display: block; aspect-ratio: 5 / 7; border-radius: 6px 10px 10px 6px; overflow: hidden; margin-bottom: 8px; background: #0e0c26;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, -3px 0 0 rgba(0, 0, 0, .25) inset, 0 18px 36px -16px rgba(0, 0, 0, .9);
  transition: translate .35s var(--ease), box-shadow .35s var(--ease); }
.book .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.book .cover:hover { translate: 0 -6px; box-shadow: 0 26px 44px -18px rgba(139, 143, 255, .55); }
.book .cover.none { display: grid; place-items: center; font-size: 34px; color: var(--primary); border: 1px dashed var(--hairline-strong); background: rgba(255, 255, 255, .02); box-shadow: none; }
.book .b-title { color: var(--ink); font-weight: 700; font-size: 15px; line-height: 1.4; }
.book .b-sub { font-size: 12.5px; color: var(--ink-muted); line-height: 1.4; }
.book .b-meta { font-size: 12.5px; color: var(--ink-subtle); }
.person { color: inherit; text-decoration: underline; text-decoration-color: rgba(156, 152, 184, .5); text-underline-offset: 3px; transition: color .2s var(--ease); }
.person:hover { color: var(--ink); text-decoration-color: var(--primary); }
.book .b-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.book .b-links a { display: inline-flex; align-items: center; gap: 5px; min-height: 34px; font-size: 13px; font-weight: 600; text-decoration: none; padding: 0 12px; border-radius: var(--r-pill);
  border: 1px solid var(--hairline-strong); color: var(--ink-muted); transition: border-color .2s var(--ease), color .2s var(--ease), background-color .2s var(--ease); }
.book .b-links a:hover { border-color: var(--primary); color: var(--ink); }
.book .b-links a.main { background: var(--primary-strong); border-color: var(--primary-strong); color: #fff; }
.book .b-links a.main:hover { background: #6f7be0; }
.book .soon { font-size: 12.5px; color: var(--star); font-weight: 600; }

.papers { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.paper { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 18px; padding: 18px 20px; border-radius: var(--r-lg); border: 1px solid var(--hairline); background: var(--surface-1); }
.paper .p-kind { font-size: 12.5px; font-weight: 700; color: var(--primary); letter-spacing: .03em; padding-top: 3px; }
.paper .p-title { color: var(--ink); font-weight: 600; font-size: 15.5px; line-height: 1.5; }
.paper .p-meta { font-size: 13px; color: var(--ink-subtle); margin-top: 4px; }
.paper .p-meta a { color: var(--primary); font-weight: 600; }
.badge { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: var(--r-pill); background: rgba(253, 230, 138, .12); color: var(--star); margin-left: 6px; vertical-align: 2px; }

.foot { margin-top: 80px; padding-top: 24px; border-top: 1px solid var(--hairline); font-size: 13.5px; display: grid; gap: 4px; }
.foot p { margin: 0; }
.foot .ccl { margin: 8px 0 4px; }
.ccl a { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; color: var(--ink-subtle); font-size: 12.5px; font-weight: 600; letter-spacing: .02em; }
.ccl img { filter: invert(1); opacity: .75; transition: opacity .2s var(--ease); }
.ccl span { margin-left: 6px; }
.ccl a:hover img { opacity: 1; }
.ccl a:hover span { color: var(--ink); }

/* 크게 보기 */
dialog#viewer { border: 1px solid var(--hairline-strong); padding: 0; border-radius: 22px; width: min(820px, 100% - 24px); max-height: min(90dvh, 860px); background: #100e2a; color: var(--ink-muted); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .8); overflow: auto; overscroll-behavior: contain; }
dialog#viewer::backdrop { background: rgba(4, 3, 16, .72); backdrop-filter: blur(4px); }
dialog#viewer[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; translate: 0 12px; scale: .98; } }
.v-shot { display: block; width: 100%; height: auto; max-height: 48dvh; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; background: #0b0a1f; border-bottom: 1px solid var(--hairline); }
.v-body { padding: 22px 26px 26px; display: grid; gap: 12px; }
.v-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.v-head h3 { font-size: 24px; }
.v-tag { font-size: 12.5px; font-weight: 700; color: var(--primary); letter-spacing: .04em; margin: 0 0 4px; }
.v-tag .credit { color: inherit; text-underline-offset: 3px; }
.v-close { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--hairline-strong); background: transparent; cursor: pointer; display: grid; place-items: center; font-size: 18px; color: var(--ink); }
.v-close:hover { border-color: var(--primary); }
.v-desc { margin: 0; font-size: 15.5px; line-height: 1.75; }
.v-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.v-meta span { font-size: 12.5px; padding: 3px 10px; border-radius: var(--r-pill); border: 1px solid var(--hairline); color: var(--ink-subtle); }
.v-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: var(--r-pill); font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), translate .2s var(--ease); }
.btn:active { translate: 0 1px; }
.btn-primary { background: var(--primary-strong); color: #fff; }
.btn-primary:hover { background: #6f7be0; }
.btn-ghost { border-color: var(--hairline-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--primary); }
.v-nav { display: flex; justify-content: space-between; gap: 10px; padding: 0 26px 22px; }
.v-nav button { background: none; border: 0; color: var(--ink-subtle); font-size: 13.5px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; padding: 6px 0; }
.v-nav button:hover:not(:disabled) { color: var(--ink); }
.v-nav button:disabled { opacity: .3; cursor: default; }

/* 등장 */
.rise { opacity: 0; translate: 0 18px; transition: opacity .7s var(--ease), translate .7s var(--ease); }
.rise.in { opacity: 1; translate: 0 0; }

@media (max-width: 860px) {
  main { padding-top: 36px; }
  .hero { grid-template-columns: 1fr; gap: 32px; min-height: 0; }
  .sec { margin-top: 56px; padding-top: 32px; }
  .paper { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 480px) {
  main { width: min(1080px, 100% - 32px); }
  .m-br { display: inline; }
  .facts { gap: 4px 16px; }
  .facts li { font-size: 14.5px; }
  .facts li::before, .facts li + li::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--ink-subtle); margin: 0 8px 3px 0; vertical-align: middle; }
  .bc-card { padding: 18px; }
  .bc-card h2 { font-size: 26px; }
  .bc-role { font-size: 12px; }
  .bc-url { display: none; }
  .bc-foot { margin-top: 12px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px; }
  .bc-info { display: contents; }
  .bc-role { grid-column: 1 / -1; font-size: 11.5px; }
  .bc-list .row { gap: 2px 10px; }
  .bc-list a, .bc-list button { font-size: 12.5px; }
  .bc-qr { width: 72px; height: 72px; padding: 5px; }
  .links { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .links a, .links button { justify-content: center; gap: 5px; padding: 0 6px; font-size: 13.5px; }
  .links .mail { grid-column: 1 / -1; }
  .books { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
  .book .b-title { font-size: 14px; }
  .book .b-links a { padding: 0 10px; font-size: 12.5px; }
  .works { grid-template-columns: 1fr 1fr; gap: 10px; }
  .work .body { padding: 10px 12px 12px; }
  .work .title { font-size: 14.5px; }
  .work .desc { display: none; }
  .card-id { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  dialog#viewer[open] { animation: none; }
  .rise { opacity: 1; translate: none; transition: none; }
  .work, .work .thumb img, .links a, .links button, .book .cover, .toast { transition: none; }
  dialog#bizcard[open] { animation: none; }
}
