:root {
  --bg: #F5F2ED; --bg2: #ECE7DF; --field: #F8F6F2; --card: #FFFFFF;
  --line: #DCD6CC; --line2: #E4DFD7;
  --ink: #18181B; --ink2: #3F3D39; --ink3: #55534E; --ink4: #6B6862;
  --accent: #E07A52; --shadow: #EDB79C; --new: #F2F08A; --new-ink: #18181B;
  --tile: #ECE7DF; --tile-photo: #ECE7DF; --tile-photo-on: #E3DDD3;
  --btn: #18181B; --btn-ink: #FFFFFF;
  --glow: #F3E6DC;
  --f: 'Inter Tight', 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans', 'Apple SD Gothic Neo', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #161513; --bg2: #24221F; --field: #1D1B19; --card: #1D1B19;
    --line: #3A3733; --line2: #2E2B28;
    --ink: #F2EFE9; --ink2: #D9D4CB; --ink3: #B7B1A7; --ink4: #9E988E;
    --shadow: #6E4331; --glow: #2A211C;
    --btn: #F2EFE9; --btn-ink: #161513;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #161513; --bg2: #24221F; --field: #1D1B19; --card: #1D1B19;
  --line: #3A3733; --line2: #2E2B28;
  --ink: #F2EFE9; --ink2: #D9D4CB; --ink3: #B7B1A7; --ink4: #9E988E;
  --shadow: #6E4331; --glow: #2A211C;
  --btn: #F2EFE9; --btn-ink: #161513;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
img { display: block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 999px; background: var(--btn); color: var(--btn-ink); }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mono { font-family: var(--mono); }
.muted { color: var(--ink4); }
.wrap { max-width: 1440px; margin: 0 auto; padding-left: clamp(16px, 2vw, 28px); padding-right: clamp(16px, 2vw, 28px); }

/* buttons */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; text-decoration: none; font-weight: 600; cursor: pointer; white-space: nowrap; border: 1px solid transparent; }
.pill.dark { background: var(--btn); color: var(--btn-ink); }
.pill.light { background: var(--field); border-color: var(--line); color: var(--ink); }
.pill.small { height: 46px; padding: 0 20px; font-size: 16px; }
.pill.big { height: 60px; padding: 0 28px; font-size: 18px; }
.pill.tiny { height: 32px; padding: 0 12px; font-size: 12px; font-weight: 500; }
.pill.block { width: 100%; height: 56px; font-size: 16px; }
.pill:hover { filter: brightness(0.96); }
.circle { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 50%; border: 1px solid var(--line); background: var(--field); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: 13px; font-weight: 600; }
.linklike { border: 0; background: none; padding: 0; min-height: 44px; cursor: pointer; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.28em; color: var(--ink4); }

/* nav */
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 16px; background: var(--bg2); text-decoration: none; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 26px; font-size: 17px; color: var(--ink2); }
.nav-links a { text-decoration: none; }
.nav-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* hero */
.hero { padding: 80px 0 40px; display: flex; flex-direction: column; align-items: center; gap: 22px; background: radial-gradient(900px 420px at 50% 30%, var(--glow) 0, transparent 70%); }
.hero h1 { margin: 0; padding: 0 16px; max-width: 1200px; text-align: center; font-size: clamp(40px, 6.6vw, 104px); line-height: 1.04; font-weight: 800; letter-spacing: -0.05em; text-shadow: 3px 4px 0 var(--shadow); text-wrap: balance; }
.hero-sub { margin: 0; padding: 0 16px; max-width: 660px; text-align: center; font-size: 19px; line-height: 1.6; color: var(--ink3); }
.marquee { width: 100%; display: flex; flex-direction: column; gap: 22px; padding: 26px 0 10px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.mq-row { display: flex; gap: 22px; width: max-content; }
.mq-l { animation: mq-l 80s linear infinite; }
.mq-r { animation: mq-r 80s linear infinite; }
.marquee:hover .mq-row { animation-play-state: paused; }
@keyframes mq-l { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes mq-r { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .mq-l, .mq-r { animation: none; } html { scroll-behavior: auto; } }
.mq-tile { width: 146px; height: 146px; flex: 0 0 auto; border-radius: 30px; overflow: hidden; box-shadow: 0 10px 24px -14px rgba(24,24,27,0.25); }
.mq-tile img, .tile img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
/* language menu: an explicit list, the current one checked */
.lang-menu { position: relative; }
.lang-btn { gap: 8px; padding: 0 16px; font-weight: 500; }
.lang-list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; width: 200px; padding: 6px; display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: 0 16px 40px -12px rgba(24,24,27,0.25); }
.lang-list[hidden] { display: none; }
.lang-list a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 14px; border-radius: 12px; text-decoration: none; font-size: 15px; color: var(--ink); }
.lang-list a:hover { background: var(--bg2); }
.lang-list a[aria-current] { background: var(--bg2); font-weight: 700; }
.lang-list a[aria-current]::after { content: ''; width: 14px; height: 8px; margin-top: -4px; border: solid var(--ink); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
.hero-series { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0 16px; }
.hero-series span { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--bg2); font-size: 14px; color: var(--ink2); }
.hero-series i { width: 10px; height: 10px; border-radius: 3px; }
.hero-series b { font-family: var(--mono); font-weight: 500; color: var(--ink); }
.size-tag { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 999px; background: var(--new); color: var(--new-ink); font: 500 13px var(--mono); }
.size-tag[hidden] { display: none; }
/* download panel */
.dl-lic { margin: 4px 0 0; font-size: 13px; color: var(--ink3); }
.dl-note { margin: 8px 0 16px; font-size: 14px; line-height: 1.6; color: var(--ink2); }
#dlBody h3 { margin: 18px 0 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: var(--ink3); }
#dlBody h3.dl-sep { padding-top: 16px; border-top: 1px solid var(--line); }
.dl-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; margin-bottom: 8px; padding: 10px 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); color: var(--ink); text-decoration: none; }
.dl-row:hover { border-color: var(--ink3); }
.dl-row.main { padding: 16px 20px; border-color: var(--btn); background: var(--btn); color: var(--btn-ink); }
.dl-row.main small { color: inherit; opacity: 0.75; }
.dl-row.orig { border-style: dashed; background: transparent; }
.dl-t { display: flex; align-items: center; gap: 12px; }
.dl-t > span { display: flex; flex-direction: column; gap: 2px; }
.dl-t b { font-size: 15px; }
.dl-row.main .dl-t b { font-size: 17px; }
.dl-t em { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: #18181B; font-size: 12px; font-style: normal; font-weight: 700; }
.dl-t i { width: 12px; height: 12px; border-radius: 4px; flex: 0 0 auto; }
.dl-t small { font: 500 12px var(--mono); color: var(--ink3); }
.dl-s { display: flex; align-items: center; gap: 10px; font: 500 14px var(--mono); }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; padding: 18px 16px 0; }
.works { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 30px; }
.chips-static { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0 16px; }
.chips-static span { height: 36px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 14px; color: var(--ink2); }

/* sections */
.section { padding-top: 72px; }
#all { padding-bottom: 80px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 16px; }
.sec-head h2 { margin: 0; font-size: 32px; font-weight: 700; letter-spacing: -0.02em; }
.count { font-family: var(--mono); font-size: 14px; color: var(--ink4); }

/* filters */
.filters { position: sticky; top: 0; z-index: 10; margin: 18px -8px 22px; padding: 12px 8px; background: color-mix(in srgb, var(--bg) 94%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: flex; flex-direction: column; gap: 12px; }
.cats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--field); font-size: 16px; cursor: pointer; }
.chip[aria-selected="true"] { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); }
.chip .dot { width: 12px; height: 12px; border-radius: 4px; }
.chip .n { font-family: var(--mono); font-size: 13px; opacity: 0.7; }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.inline-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; flex: 1; }
.inline-filters .seg.view { margin-left: auto; }
.seg { display: inline-flex; flex-wrap: wrap; padding: 4px; border-radius: 999px; background: var(--bg2); }
.seg button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--ink2); font-size: 15px; font-weight: 500; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--btn); color: var(--btn-ink); font-weight: 600; }
.sheet-btn { display: none; }
.sheet-btn b { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--new); color: var(--new-ink); font-family: var(--mono); font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.sheet-btn b:empty { display: none; }

/* grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 36px 28px; }
.grid.single { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 20px 16px; }
.card { display: flex; flex-direction: column; gap: 12px; }
.tile { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; border-radius: 28px; overflow: hidden; background: var(--tile); transition: background-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.single .tile { border-radius: 22px; }
.photo-mode .tile { background: var(--tile-photo); }
@media (hover: hover) {
  .card:hover .tile, .stile:hover .tile { background: var(--tint); box-shadow: 0 18px 32px -18px rgba(24,24,27,0.4); transform: translateY(-3px); }
  .photo-mode .card:hover .tile, .photo-mode .stile:hover .tile { background: var(--tile-photo-on); }
}
.card:focus-within .tile, .stile:focus-visible .tile { background: var(--tint); box-shadow: 0 18px 32px -18px rgba(24,24,27,0.4); }
.photo-mode .card:focus-within .tile { background: var(--tile-photo-on); }
.badge { position: absolute; height: 28px; padding: 0 11px; display: inline-flex; align-items: center; border-radius: 999px; font-size: 12px; }
.badge.new { top: 14px; left: 14px; background: var(--new); color: var(--new-ink); font-family: var(--mono); letter-spacing: 0.06em; }
.badge.ph { top: 14px; right: 14px; background: rgba(255,255,255,0.85); color: #18181B; }
.vlabel { position: absolute; right: 14px; bottom: 12px; font-family: var(--mono); font-size: 12px; color: #18181B; }
.missing { position: absolute; inset: 22px; border: 2px dashed rgba(24,24,27,0.28); border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 18px; color: #3F3D39; }
.missing b { font-size: 16px; }
.missing span { font-size: 13px; line-height: 1.6; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.card-t h3 { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.4; }
.card-t span { font-size: 13px; color: var(--ink4); }
.dots { display: flex; gap: 2px; flex: 0 0 auto; }
.dots button { width: 22px; height: 44px; padding: 0; border: 0; background: none; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.dots button:disabled { cursor: default; }
.dots i { display: block; width: 8px; height: 8px; border-radius: 4px; background: var(--line); transition: width .15s ease; }
.dots button[aria-pressed="true"] i { width: 16px; background: var(--ink); }
.dots button:disabled i { background: transparent; border: 1.5px dashed var(--ink4); }
.stile { display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.stile-t { display: flex; justify-content: space-between; font-size: 13px; }
.stile-t span:last-child { color: var(--ink4); }
.empty { padding: 80px 0; text-align: center; color: var(--ink3); font-size: 17px; }

/* footer */
.foot { border-top: 1px solid var(--line2); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; padding-top: 32px; padding-bottom: 40px; font-size: 15px; color: var(--ink3); }
.foot-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.foot-brand strong { font-size: 18px; color: var(--ink); }
.foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; }
.foot-links a, .foot-links button { color: var(--ink2); }

/* dialogs */
dialog { border: 0; padding: 0; color: var(--ink); background: transparent; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(38, 34, 30, 0.55); }
.lb { width: 100%; height: 100%; }
.lb-box { position: relative; margin: auto; width: min(1200px, calc(100vw - 48px)); height: min(820px, calc(100vh - 48px)); margin-top: max(24px, calc((100vh - 820px) / 2)); display: flex; border-radius: 34px; overflow: hidden; background: var(--bg); box-shadow: 0 30px 80px -30px rgba(0,0,0,0.5); }
.lb-stage { flex: 1 1 auto; position: relative; margin: 18px; border-radius: 26px; background: var(--tint, var(--tile)); display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: pan-y; }
.lb-stage img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.lb-missing { position: absolute; inset: 40px; border: 2px dashed rgba(24,24,27,0.28); border-radius: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; color: #3F3D39; font-size: 15px; padding: 20px; }
.lb-nav { position: absolute; top: 50%; margin-top: -28px; width: 56px; height: 56px; border-radius: 50%; border: 0; background: #F5F2ED; color: #18181B; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lb-nav.l { left: 20px; } .lb-nav.r { right: 20px; }
.lb-counter { position: absolute; left: 20px; top: 18px; height: 32px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--new); color: var(--new-ink); font-family: var(--mono); font-size: 13px; }
.lb-side { flex: 0 0 380px; padding: 36px 30px 28px 12px; display: flex; flex-direction: column; gap: 20px; overflow-y: auto; }
.lb-head { display: flex; flex-direction: column; gap: 8px; }
.lb-head h2 { margin: 0; font-size: 30px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
.lb-names { margin: 4px 0 0; display: grid; grid-template-columns: 32px 1fr; gap: 4px 8px; font-size: 14px; line-height: 1.55; color: var(--ink3); }
.lb-names dt { font-family: var(--mono); color: var(--ink4); }
.lb-names dd { margin: 0; }
.lb-chips { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.lb-chips button { padding: 0; border: 0; background: none; display: flex; flex-direction: column; gap: 4px; cursor: pointer; color: var(--ink4); font-size: 12px; }
.lb-chips button span { display: block; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: var(--tint, var(--tile)); }
.lb-chips button img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.lb-chips button[aria-pressed="true"] { color: var(--ink); font-weight: 600; }
.lb-chips button[aria-pressed="true"] span { box-shadow: 0 0 0 2.5px var(--ink); }
.lb-chips button:disabled { cursor: default; opacity: 0.45; }
.lb-side .seg { align-self: flex-start; }
.lb-desc { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 20px; background: var(--card); border: 1px solid var(--line2); }
.lb-desc-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--ink4); }
.lb-desc p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink2); }
.lb-actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.lb-row { display: flex; gap: 10px; }
.lb-row .pill { flex: 1; height: 48px; font-size: 14px; font-weight: 500; }
.keys { margin: 4px 0 0; font-size: 12px; color: var(--ink4); line-height: 1.8; }
.lb-close { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--field); display: flex; align-items: center; justify-content: center; cursor: pointer; }

.info { width: min(520px, calc(100vw - 32px)); margin: auto; padding: 22px 24px 24px; border-radius: 24px; background: var(--bg); box-shadow: 0 30px 80px -30px rgba(0,0,0,0.5); }
.info-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.info-h h2 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.info ul { margin: 0; padding-left: 1.2em; font-size: 15px; line-height: 1.85; color: var(--ink2); }
.sheet { width: 100%; max-width: 100%; margin: auto 0 0; padding: 10px 16px calc(24px + env(safe-area-inset-bottom)); border-radius: 30px 30px 0 0; background: var(--bg); }
.sheet .grip { display: block; width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 10px; }
#sheetFilters { display: flex; flex-direction: column; gap: 18px; }
#sheetFilters .grp { display: flex; flex-direction: column; gap: 8px; }
#sheetFilters .grp > span { font-size: 13px; color: var(--ink4); }
#sheetFilters .seg { display: flex; }
#sheetFilters .seg button { flex: 1 1 auto; }
.sheet-actions { display: flex; gap: 10px; padding-top: 20px; }
.sheet-actions .pill { height: 54px; font-size: 16px; }
.sheet-actions .pill:first-child { flex: 1; } .sheet-actions .pill:last-child { flex: 2; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); padding: 10px 18px; border-radius: 999px; background: var(--btn); color: var(--btn-ink); font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 100; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* responsive */
@media (max-width: 1100px) {
  .nav-links { display: none; }
}
@media (max-width: 860px) {
  .lb-box { flex-direction: column; height: calc(100vh - 24px); width: calc(100vw - 24px); margin-top: 12px; border-radius: 26px; overflow-y: auto; }
  .lb-stage { flex: 0 0 auto; height: 58vh; margin: 12px; }
  .lb-side { flex: 0 0 auto; padding: 4px 18px 24px; overflow: visible; }
  .lb-nav { width: 48px; height: 48px; margin-top: -24px; }
  .lb-nav.l { left: 10px; } .lb-nav.r { right: 10px; }
  .keys { display: none; }
}
@media (max-width: 720px) {
  .nav { gap: 10px; }
  .nav-tools > .pill { display: none; }
  .hero { padding-top: 32px; gap: 14px; }
  .hero h1 { font-size: 40px; text-shadow: 2px 3px 0 var(--shadow); }
  .hero-sub { font-size: 16px; }
  .mq-tile { width: 104px; height: 104px; border-radius: 22px; }
  .marquee, .mq-row { gap: 14px; }
  .pill.big { height: 54px; font-size: 16px; padding: 0 22px; }
  .section { padding-top: 48px; }
  .sec-head h2 { font-size: 26px; }
  .inline-filters { display: none; }
  .sheet-btn { display: inline-flex; margin-left: auto; }
  .chip { min-height: 42px; padding: 0 14px; font-size: 14px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .grid.single { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { border-radius: 22px; }
  .badge { height: 24px; padding: 0 8px; font-size: 11px; }
  .badge.new { top: 10px; left: 10px; } .badge.ph { top: 10px; right: 10px; }
  .vlabel { display: none; }
  .missing { inset: 12px; padding: 10px; }
  .missing b { font-size: 14px; }
  .card-foot { flex-direction: column; align-items: flex-start; gap: 0; }
  .card-t h3 { font-size: 15px; }
  .dots { margin-left: -6px; }
}
.seg button:disabled { opacity: 0.4; cursor: default; }
#sheetFilters .seg.angle { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 22px; }
/* Photos are opaque renders: no multiply, or they darken against the tile. */
.photo-mode .tile img, .lb.photo .lb-stage img, .lb.photo .lb-chips img { mix-blend-mode: normal; }
/* Photos are 1:2 renders: show them as rounded prints centred on the 3:4 tile instead of letterboxing. */
.photo-mode .tile { display: flex; align-items: center; justify-content: center; padding: 14px; }
.photo-mode .tile img { width: auto; max-width: 100%; height: 100%; border-radius: 14px; box-shadow: 0 6px 16px -10px rgba(24,24,27,0.45); }
.lb.photo .lb-stage { padding: 24px; }
.lb.photo .lb-stage img { width: auto; max-width: 100%; height: 100%; border-radius: 18px; box-shadow: 0 10px 30px -16px rgba(24,24,27,0.5); }
.lb.photo .lb-chips button span { display: flex; justify-content: center; }
.lb.photo .lb-chips img { width: auto; height: 100%; }

@media (max-width: 1100px) { .static .nav-links { display: flex; } }
/* ---- generated pages (tools/site_pages.py): pose pages, changelog, 404; share sheet ---- */
.page { padding-top: 24px; padding-bottom: 72px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 15px; color: var(--ink4); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink3); }
.crumbs a:hover { color: var(--ink); }
.pp-head { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; max-width: 820px; }
.pp-meta { margin: 0; font-size: 14px; color: var(--ink4); }
.pp-head h1 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.15; font-weight: 800; letter-spacing: -0.03em; }
.pp-head .lb-names { max-width: 560px; }
.pp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.pp-desc { max-width: 820px; margin-top: 24px; }
.pp-sec { margin-top: 48px; }
.pp-sec h2 { margin: 0 0 18px; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.pp-views { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.pp-view { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.pp-tile { display: block; aspect-ratio: 3 / 4; border-radius: 24px; overflow: hidden; background: var(--tint); position: relative; }
.pp-tile img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pp-tile.missing { display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; border: 2px dashed rgba(24,24,27,0.28); background: var(--tile); color: var(--ink3); font-size: 14px; }
.pp-view figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; font-size: 14px; color: var(--ink3); }
.pp-view figcaption a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink2); font-size: 13px; }
.pp-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; }
.pp-pn a { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; border-radius: 20px; border: 1px solid var(--line); background: var(--field); text-decoration: none; min-width: 0; }
.pp-pn a span { font-size: 13px; color: var(--ink4); }
.pp-pn a b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-pn-r { text-align: right; }
.pp-rels { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.pp-rel { display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.pp-rel-t { display: block; aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden; }
.pp-rel-t img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pp-rel-n { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.pp-rel-n .mono { font-size: 12px; color: var(--ink4); }
.foot-langs { display: flex; flex-wrap: wrap; gap: 4px 18px; width: 100%; }
.foot-langs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink3); text-decoration: none; }
.foot-langs a[aria-current] { color: var(--ink); font-weight: 600; }

.cl-page { max-width: 880px; }
.cl-page h1 { margin: 10px 0 0; font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -0.03em; }
.cl-lead { margin: 14px 0 0; font-size: 17px; line-height: 1.7; color: var(--ink3); }
.cl-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 22px; font-size: 14px; }
.cl-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.cl-filter .chip[aria-pressed="true"] { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); }
.cl-list section { margin-top: 32px; }
.cl-list h2 { margin: 0; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 13px; letter-spacing: 0.14em; color: var(--ink4); font-weight: 500; }
.cl-item { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line2); }
.cl-item time { flex: 0 0 110px; padding-top: 3px; font-size: 13px; color: var(--ink4); }
.cl-body { min-width: 0; }
.cl-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--bg2); color: var(--ink2); }
.cl-tag.t-new { background: var(--new); color: var(--new-ink); }
.cl-tag.t-announce { background: #E6B7A1; color: #18181B; }
.cl-body h3 { margin: 10px 0 6px; font-size: 19px; line-height: 1.4; }
.cl-body h3 a { text-decoration: none; }
.cl-body p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--ink3); }
.cl-cta { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--accent); text-decoration: none; }

.share-sheet .share-url { display: flex; gap: 8px; margin-top: 12px; }
.share-sheet input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--field); font-size: 14px; }
.share-sheet .share-nets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.share-sheet .share-nets .pill { height: 48px; font-size: 15px; }

.nf-page { display: flex; flex-direction: column; gap: 28px; max-width: 720px; padding-top: 48px; }
.nf-page .brand { align-self: flex-start; }
.nf-block h1 { margin: 0 0 6px; font-size: 26px; }
.nf-block p { margin: 0 0 12px; color: var(--ink3); }

@media (max-width: 720px) {
  .static .nav-tools { width: auto; margin-left: auto; }
  .static .nav-links { display: flex; gap: 4px 18px; font-size: 15px; }
  .static .nav-links a { display: inline-flex; align-items: center; min-height: 44px; }
  .pp-views { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pp-tile { border-radius: 20px; }
  .pp-pn { grid-template-columns: 1fr; }
  .pp-pn-r { text-align: left; }
  .pp-rels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cl-item { flex-direction: column; gap: 6px; }
  .cl-item time { flex: none; }
}

/* series tabs + rating toggle (above the category chips) */
.series-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.seg.series .n { font-family: var(--mono); font-size: 12px; opacity: 0.7; }
.chip.adult { margin-left: auto; }
.chip.adult[aria-pressed="true"] { background: var(--field); color: var(--ink); border-color: var(--accent); }
@media (max-width: 720px) {
  .series-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .seg.series { flex-wrap: nowrap; flex: 0 0 auto; }
  .seg.series button { white-space: nowrap; }
  .chip.adult { margin-left: 0; }
}
