/* PIXEL SLEUTHS — "Case Calendar": noir detective paper + pixel type */
@font-face { font-family: "Pixelify Sans"; font-weight: 400; font-display: swap; src: url(../fonts/pixelify-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Pixelify Sans"; font-weight: 500; font-display: swap; src: url(../fonts/pixelify-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Pixelify Sans"; font-weight: 600; font-display: swap; src: url(../fonts/pixelify-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Pixelify Sans"; font-weight: 700; font-display: swap; src: url(../fonts/pixelify-sans-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Silkscreen"; font-weight: 400; font-display: swap; src: url(../fonts/silkscreen-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Silkscreen"; font-weight: 700; font-display: swap; src: url(../fonts/silkscreen-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 400; font-display: swap; src: url(../fonts/space-grotesk-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 500; font-display: swap; src: url(../fonts/space-grotesk-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 600; font-display: swap; src: url(../fonts/space-grotesk-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-display: swap; src: url(../fonts/space-grotesk-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Press Start 2P"; font-weight: 400; font-display: swap; src: url(../fonts/press-start-2p-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url(../fonts/jetbrains-mono-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 700; font-display: swap; src: url(../fonts/jetbrains-mono-latin-700-normal.woff2) format("woff2"); }

:root {
  --paper: #f4ecd6;
  --paper2: #ebdfc1;
  --card: #fffaf0;
  --manila: #e9cf93;
  --manila2: #d9b874;
  --ink: #1b1726;
  --ink2: #453f53;
  --mute: #7b7287;
  --line: rgba(120, 96, 50, .18);
  --red: #d7263d;
  --red2: #a71c2f;
  --mustard: #f2c230;
  --mustard2: #d9a41b;
  --navy: #23284d;
  --teal: #2f7c78;
  --green: #2f8f5b;
  --cork: #b98955;
  --fp: "Pixelify Sans", "Silkscreen", system-ui, sans-serif;
  --fs: "Silkscreen", "Pixelify Sans", monospace;
  --fb: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fm: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --fn: "Press Start 2P", "JetBrains Mono", monospace; /* clear pixel digits (5 is not an S) */
  --sh: 5px 5px 0 var(--ink);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--fb); font-weight: 500; color: var(--ink); min-height: 100vh; overflow-x: hidden; -webkit-font-smoothing: antialiased;
  background-color: var(--paper);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 26px 26px;
}
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }
.wrap { max-width: 1220px; margin: 0 auto; padding: 0 22px; }
.hidden { display: none !important; }
.ico { width: 1em; height: 1em; display: inline-block; vertical-align: -0.12em; flex: none; }
.pix { image-rendering: pixelated; }
.mono { font-family: var(--fm); }
.muted { color: var(--mute); }
.small { font-size: 13px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.label { font: 400 12px var(--fs); letter-spacing: 1px; text-transform: uppercase; color: var(--ink2); }

/* ---------------------------------------------------------------- boxes & buttons */
.pbox { background: var(--card); border: 3px solid var(--ink); box-shadow: var(--sh); padding: 20px; position: relative; }
.btn {
  font: 700 14px var(--fs); text-transform: uppercase; letter-spacing: .5px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 18px;
  color: var(--ink); background: var(--mustard); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer; white-space: nowrap; text-decoration: none !important; user-select: none; -webkit-user-select: none;
  transition: transform .06s, box-shadow .06s, background .15s;
}
.btn:hover { background: #ffd457; }
.btn:active:not(:disabled) { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.red { background: var(--red); color: #fff; }
.btn.red:hover { background: #e83a50; }
.btn.ink { background: var(--ink); color: var(--paper); }
.btn.ink:hover { background: #2c2639; }
.btn.ghost { background: var(--card); }
.btn.ghost:hover { background: #fff; }
.btn.sm { font-size: 12px; padding: 9px 12px; box-shadow: 3px 3px 0 var(--ink); }
.btn.lg { font-size: 17px; padding: 17px 24px; }
.btn.block { width: 100%; }
.inp {
  width: 100%; font: 700 18px var(--fm); text-transform: uppercase; letter-spacing: 1px; color: var(--ink);
  background: #fff; border: 3px solid var(--ink); padding: 13px 14px; outline: none; box-shadow: inset 3px 3px 0 rgba(0, 0, 0, .06);
}
.inp:focus { border-color: var(--red); }
.inp.plain { text-transform: none; font: 500 15px var(--fb); letter-spacing: 0; }
.stamp {
  display: inline-block; font: 700 13px var(--fs); text-transform: uppercase; letter-spacing: 1px; color: var(--red);
  border: 3px solid var(--red); padding: 5px 9px; transform: rotate(-4deg); background: rgba(255, 255, 255, .5);
}
.stamp.ink { color: var(--ink); border-color: var(--ink); }
.stamp.green { color: var(--green); border-color: var(--green); }
.chip { display: inline-flex; align-items: center; gap: 6px; font: 400 12px var(--fs); text-transform: uppercase; padding: 5px 8px; border: 2px solid var(--ink); background: var(--card); white-space: nowrap; }
.chip.red { background: var(--red); color: #fff; }
.chip.yel { background: var(--mustard); }
.chip.ink { background: var(--ink); color: var(--paper); }
.num, .chip.num { font-family: var(--fn); font-size: 11px; }

/* ---------------------------------------------------------------- header */
.top { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 3px solid var(--ink); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none !important; flex: none; }
.brand .ico { width: 34px; height: 34px; color: var(--red); }
.brand b { font: 700 25px var(--fp); letter-spacing: .5px; text-transform: uppercase; }
.brand b em { font-style: normal; color: var(--red); }
.nav { display: flex; gap: 4px; margin-left: 10px; }
.nav a { font: 400 13px var(--fs); text-transform: uppercase; color: var(--ink); padding: 8px 10px; border: 2px solid transparent; text-decoration: none !important; }
.nav a:hover { border-color: var(--ink); background: var(--card); }
.top .right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.net { font: 400 11px var(--fs); text-transform: uppercase; color: var(--ink2); border: 2px solid var(--ink); padding: 6px 8px; background: var(--card); white-space: nowrap; }
.net::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--green); margin-right: 6px; vertical-align: 0; }
.btn.menu { display: none; }
.preview-flag { background: var(--ink); color: var(--mustard); text-align: center; font: 400 12px var(--fs); text-transform: uppercase; padding: 8px 12px; letter-spacing: .5px; }

/* ---------------------------------------------------------------- hero */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 54px 0 30px; }
.hero h1 { font: 700 96px/.86 var(--fp); text-transform: uppercase; margin: 18px 0 0; letter-spacing: 1px; }
.hero h1 em { font-style: normal; color: var(--red); display: block; }
.hero .lead { font-size: 19px; line-height: 1.55; color: var(--ink2); max-width: 540px; margin: 20px 0 24px; }
.hero .lead b { color: var(--ink); }
.board { position: relative; height: 470px; background: var(--cork); border: 3px solid var(--ink); box-shadow: var(--sh);
  background-image: radial-gradient(rgba(0, 0, 0, .1) 1.2px, transparent 1.4px), radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1.2px);
  background-size: 9px 9px, 13px 13px; background-position: 0 0, 4px 6px; overflow: hidden; }
.board svg.strings { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.polaroid { position: absolute; background: #fffdf6; padding: 9px 9px 30px; border: 2px solid var(--ink); box-shadow: 4px 6px 0 rgba(27, 23, 38, .35); }
.polaroid img { display: block; width: 100%; image-rendering: pixelated; border: 2px solid var(--ink); }
.polaroid span { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font: 400 10px var(--fn); }
.pin { position: absolute; width: 16px; height: 16px; background: var(--red); border: 2px solid var(--ink); border-radius: 50%; z-index: 3; box-shadow: 2px 2px 0 rgba(0, 0, 0, .3); }
.note { position: absolute; background: #fff6a8; border: 2px solid var(--ink); padding: 10px 12px; font: 400 13px var(--fs); text-transform: uppercase; line-height: 1.35; box-shadow: 3px 4px 0 rgba(27, 23, 38, .3); z-index: 2; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 6px 0 10px; }
.stat { background: var(--card); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); padding: 14px 16px; }
.stat .v { font: 400 22px/1.2 var(--fn); margin-top: 8px; white-space: nowrap; }
.stat .v small { font: 400 11px var(--fn); color: var(--mute); }

/* ---------------------------------------------------------------- sections */
.sec { padding: 70px 0 10px; scroll-margin-top: 70px; }
.sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.sec-h h2 { font: 700 56px/.95 var(--fp); text-transform: uppercase; margin: 8px 0 0; }
.sec-h h2 em { font-style: normal; color: var(--red); }
.sec-h p { margin: 10px 0 0; color: var(--ink2); max-width: 640px; line-height: 1.55; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font: 400 12px var(--fs); text-transform: uppercase; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 18px; height: 18px; border: 2px solid var(--ink); display: inline-block; }

/* ---------------------------------------------------------------- calendar */
.calendar { background: var(--card); border: 3px solid var(--ink); box-shadow: var(--sh); }
.cal-top { background: var(--red); color: #fff; border-bottom: 3px solid var(--ink); padding: 16px 20px 14px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; position: relative; }
.cal-top h3 { font: 700 30px var(--fp); text-transform: uppercase; margin: 0; letter-spacing: 1px; }
.cal-top .rings { position: absolute; left: 0; right: 0; top: -14px; display: flex; justify-content: space-around; pointer-events: none; }
.cal-top .rings i { width: 12px; height: 26px; background: var(--ink); border-radius: 6px; border: 2px solid #514a60; }
.cal-top .prog { font: 400 11px/1.6 var(--fn); flex-wrap: wrap; max-width: 100%; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.cal-top .bar { width: 180px; height: 14px; border: 2px solid var(--ink); background: #fff; position: relative; }
.cal-top .bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--mustard); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.day { position: relative; aspect-ratio: 1 / .92; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); padding: 10px 11px; background: var(--card); text-align: left; font: inherit; color: var(--ink); cursor: pointer; display: flex; flex-direction: column; overflow: hidden; }
.day:nth-child(7n) { border-right: 0; }
.day .n { font: 400 24px/1 var(--fn); letter-spacing: -1px; position: relative; z-index: 1; display: inline-block; width: max-content; }
.day .t { font: 400 11px var(--fs); text-transform: uppercase; color: var(--ink2); margin-top: 6px; display: flex; align-items: center; gap: 5px; }
.day .t .ico { width: 14px; height: 14px; }
.day .ttl { font: 600 13px/1.25 var(--fb); margin-top: 4px; color: var(--ink2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.day .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 6px; font: 400 11px var(--fs); text-transform: uppercase; }
.day.locked { cursor: not-allowed; background: repeating-linear-gradient(-45deg, #f1e8d2 0 8px, #ebe0c5 8px 16px); color: var(--mute); }
.day.locked .n, .day.locked .ttl, .day.locked .t { color: #a99f8a; }
.day.locked .lk { position: absolute; right: 10px; bottom: 9px; width: 22px; height: 22px; color: #a99f8a; }
.day.open { background: #fff; box-shadow: inset 0 0 0 4px var(--mustard); }
.day.open:hover { background: #fff8de; }
.day.open .go { color: var(--red); display: inline-flex; align-items: center; gap: 5px; }
.day.open .stamp { position: absolute; right: 8px; top: 10px; font-size: 11px; padding: 3px 6px; border-width: 2px; transform: rotate(8deg); }
.day.open::after { content: ""; position: absolute; inset: 0; border: 3px solid var(--red); animation: blink 1.4s steps(2) infinite; pointer-events: none; }
@keyframes blink { 50% { border-color: transparent; } }
.day.solved { background: #fffaf0; }
.day.closed { background: #e4dfd3; color: #8a8273; cursor: pointer; }
.day.closed .n, .day.closed .t, .day.closed .ttl { color: #8a8273; text-decoration: line-through; text-decoration-thickness: 2px; }
.day.closed .t { text-decoration: none; }
.day.closed .cross { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); pointer-events: none; }
.day.closed .hired { font: 400 10px var(--fs); text-transform: uppercase; border: 2px solid #8a8273; padding: 2px 5px; transform: rotate(-6deg); display: inline-block; }
.legend .lg-x::after { content: ""; position: absolute; inset: 0; background: linear-gradient(45deg, transparent 45%, #8a8273 45% 55%, transparent 55%), linear-gradient(-45deg, transparent 45%, #8a8273 45% 55%, transparent 55%); }
.day.solved .circle { position: absolute; left: -2px; top: -4px; width: 84px; height: 62px; z-index: 2; pointer-events: none; }
.day.solved .tick { position: absolute; right: 6px; top: 8px; width: 44px; height: 40px; z-index: 2; pointer-events: none; }
.day.solved .mini { position: absolute; right: 8px; bottom: 8px; width: 46px; height: 46px; border: 2px solid var(--ink); image-rendering: pixelated; background: #fff; }
.day.solved .by { font: 500 11px var(--fm); color: var(--ink2); }
.day.solved .ttl { color: var(--ink); }
.day:focus-visible { outline: 3px solid var(--navy); outline-offset: -6px; }

/* ---------------------------------------------------------------- dossier modal */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(27, 23, 38, .62); display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal .box { position: relative; width: 100%; max-width: 820px; max-height: calc(100vh - 32px); overflow-y: auto; }
.modal .x { position: absolute; right: 14px; top: 14px; z-index: 3; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--card); border: 3px solid var(--ink); cursor: pointer; color: var(--ink); }
.modal .x .ico { width: 16px; height: 16px; }
.folder { background: var(--manila); border: 3px solid var(--ink); box-shadow: var(--sh); padding: 24px; position: relative; margin-top: 26px; }
.folder .tab { position: absolute; left: -3px; top: -32px; background: var(--manila); border: 3px solid var(--ink); border-bottom: 0; padding: 8px 18px 6px; font: 400 13px var(--fn); text-transform: uppercase; }
.sheet { background: var(--card); border: 3px solid var(--ink); padding: 24px 26px; position: relative; background-image: repeating-linear-gradient(transparent 0 29px, rgba(70, 90, 160, .14) 29px 30px); }
.sheet h3 { font: 700 36px/1 var(--fp); text-transform: uppercase; margin: 6px 0 12px; }
.sheet .riddle { font: 500 17px/1.75 var(--fm); margin: 14px 0 18px; color: var(--ink); }
.sheet .meta { display: flex; flex-wrap: wrap; gap: 8px; }
.sheet .clue { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 0 18px; font-size: 15px; }
.sheet .clue dt { font: 400 12px var(--fs); text-transform: uppercase; color: var(--mute); padding-top: 3px; }
.sheet .clue dd { margin: 0; font-weight: 600; }
.sheet .answer { display: flex; gap: 10px; }
.sheet .answer .inp { flex: 1; }
.sheet .msg { margin-top: 12px; font: 600 14px var(--fb); min-height: 20px; }
.sheet .msg.err { color: var(--red); }
.sheet .msg.ok { color: var(--green); }
.sheet .big-stamp { position: absolute; right: 24px; top: 22px; font-size: 22px; padding: 8px 12px; border-width: 4px; transform: rotate(-9deg); }
.shake { animation: shake .35s; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.recruit { display: grid; grid-template-columns: 200px 1fr; gap: 22px; align-items: center; margin-top: 18px; }
.recruit img { width: 200px; height: 200px; border: 3px solid var(--ink); image-rendering: pixelated; box-shadow: 4px 4px 0 var(--ink); }
.reveal { background: #fff6c9; border: 2px dashed var(--ink); padding: 12px 14px; margin: 14px 0; font-size: 14px; line-height: 1.6; }
.reveal code { font: 700 15px var(--fm); background: #fff; border: 2px solid var(--ink); padding: 2px 6px; }

/* ---------------------------------------------------------------- hire + my sleuths */
.hire { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
.qty { display: flex; align-items: stretch; border: 3px solid var(--ink); background: #fff; width: max-content; }
.qty button { width: 56px; font: 700 24px var(--fp); border: 0; background: var(--mustard); cursor: pointer; color: var(--ink); }
.qty button:first-child { border-right: 3px solid var(--ink); }
.qty button:last-child { border-left: 3px solid var(--ink); }
.qty input { width: 80px; text-align: center; border: 0; font: 400 22px var(--fn); color: var(--ink); background: #fff; outline: none; }
.total { font: 400 30px/1.2 var(--fn); margin: 18px 0 6px; }
.kv { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 2px dashed rgba(27, 23, 38, .2); font-size: 15px; }
.kv:last-child { border-bottom: 0; }
.kv .k { color: var(--ink2); }
.kv .v { font: 700 15px var(--fm); text-align: right; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; }
.scard { background: #fffdf6; border: 3px solid var(--ink); padding: 8px 8px 10px; box-shadow: 4px 4px 0 var(--ink); cursor: pointer; text-align: left; font: inherit; color: var(--ink); transition: transform .1s; }
.scard:hover { transform: translateY(-3px) rotate(-1deg); }
.scard img { width: 100%; display: block; image-rendering: pixelated; border: 2px solid var(--ink); }
.scard .nm { font: 400 15px var(--fn); margin-top: 8px; display: flex; justify-content: space-between; align-items: center; }
.scard .og { font: 400 11px var(--fs); text-transform: uppercase; color: var(--ink2); margin-top: 3px; }
.empty { text-align: center; padding: 40px 20px; color: var(--ink2); }
.feed { display: flex; flex-direction: column; gap: 8px; max-height: 330px; overflow-y: auto; }
.feed .it { display: flex; align-items: center; gap: 10px; background: #fff; border: 2px solid var(--ink); padding: 7px 9px; font-size: 13px; }
.feed .it img { width: 34px; height: 34px; image-rendering: pixelated; border: 2px solid var(--ink); }

/* ---------------------------------------------------------------- how it works + faq */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { background: var(--card); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); padding: 18px; position: relative; }
.step .num { position: absolute; right: 12px; top: 12px; font: 400 30px var(--fn); color: rgba(27, 23, 38, .12); }
.step .ico { width: 40px; height: 40px; color: var(--red); }
.step h4 { font: 700 22px var(--fp); text-transform: uppercase; margin: 12px 0 6px; }
.step p { margin: 0; color: var(--ink2); line-height: 1.5; font-size: 15px; }
.faq { border: 3px solid var(--ink); background: var(--card); margin-bottom: 12px; box-shadow: 4px 4px 0 var(--ink); }
.faq summary { cursor: pointer; padding: 15px 18px; font: 700 18px var(--fp); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font: 700 22px var(--fp); color: var(--red); }
.faq[open] summary::after { content: "–"; }
.faq p { margin: 0; padding: 0 18px 16px; color: var(--ink2); line-height: 1.6; }
footer { margin-top: 80px; border-top: 3px solid var(--ink); background: var(--ink); color: var(--paper); padding: 28px 0 40px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer a { color: var(--mustard); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 120; background: var(--ink); color: var(--paper); border: 3px solid var(--mustard); padding: 12px 18px; font: 600 14px var(--fb); max-width: calc(100vw - 32px); box-shadow: 4px 4px 0 rgba(0, 0, 0, .3); }
.spinner { width: 16px; height: 16px; border: 3px solid currentColor; border-right-color: transparent; display: inline-block; animation: spin .7s steps(8) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- responsive */

/* calendar volumes (2,000 cases = 41 volumes of 49) */
.vol-nav { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 3px solid var(--ink); background: var(--paper2); }
.vol-nav .vbtn { flex: none; width: 36px; height: 34px; border: 2px solid var(--ink); background: #fff; font: 400 12px var(--fn); cursor: pointer; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.vol-nav .vbtn:disabled { opacity: .35; cursor: default; }
.vol-nav .vbtn .ico { width: 14px; height: 14px; }
.vol-nav .vbtn.flip .ico { transform: scaleX(-1); }
.vol-strip { display: flex; gap: 5px; overflow-x: auto; flex: 1; padding: 3px 2px 6px; scrollbar-width: thin; scroll-behavior: smooth; }
.vol-strip button { flex: none; position: relative; min-width: 40px; height: 34px; padding: 0 6px 3px; border: 2px solid var(--ink); background: #fff; font: 400 10px var(--fn); color: var(--ink2); cursor: pointer; overflow: hidden; }
.vol-strip button i { position: absolute; left: 0; bottom: 0; height: 4px; background: var(--red); }
.vol-strip button u { position: absolute; bottom: 0; height: 4px; background: #9b9384; text-decoration: none; }
.vol-strip button.done { background: #fff3c4; color: var(--ink); }
.vol-strip button.live { color: var(--red); box-shadow: inset 0 0 0 2px var(--red); }
.vol-strip button.live::after { content: ""; position: absolute; right: 3px; top: 3px; width: 6px; height: 6px; background: var(--red); animation: blink 1.4s steps(2) infinite; }
.vol-strip button.cur { background: var(--ink); color: #fff; box-shadow: none; }
.vol-strip button.cur i { background: var(--mustard); }
.vol-info { font: 400 10px/1.7 var(--fn); text-transform: uppercase; color: var(--ink2); padding: 9px 14px; border-bottom: 2px dashed var(--line); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; background: var(--card); }
.vol-info b { color: var(--red); font-weight: 400; }
#calCount { white-space: nowrap; }
.vol-info .jump { color: var(--red); cursor: pointer; text-decoration: underline; background: none; border: 0; font: inherit; padding: 0; }
.day .n.n3 { font-size: 20px; }
.day .n.n4 { font-size: 17px; }
.day.solved.w3 .circle { width: 92px; }
.day.solved.w4 .circle { width: 104px; }
.chip.any { background: #e7f6ea; }
.reveal .src { display: inline-block; margin-top: 6px; font: 600 13px var(--fb); color: var(--red2); }

@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr; padding-top: 34px; }
  .board { height: 400px; max-width: 620px; width: 100%; margin: 0 auto; }
  .hero h1 { font-size: 78px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .nav a { padding: 8px 7px; }
}
@media (max-width: 860px) {
  .top .wrap { height: 60px; gap: 8px; }
  .nav { display: none; position: fixed; left: 0; right: 0; top: 60px; flex-direction: column; padding: 10px 16px 14px; background: var(--paper); border-bottom: 3px solid var(--ink); margin: 0; }
  .nav.open { display: flex; }
  .nav a { font-size: 15px; padding: 12px 8px; }
  .btn.menu { display: inline-flex; }
  .net { display: none; }
  .cal-grid { grid-template-columns: repeat(4, 1fr); }
  .day:nth-child(7n) { border-right: 2px solid var(--ink); }
  .day:nth-child(4n) { border-right: 0; }
  .hire { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .brand b { font-size: 19px; }
  .brand .ico { width: 26px; height: 26px; }
  .hero h1 { font-size: 58px; }
  .hero .lead { font-size: 16px; }
  .board { height: 330px; }
  .sec-h h2 { font-size: 40px; }
  .cal-grid { grid-template-columns: repeat(3, 1fr); }
  .day:nth-child(4n) { border-right: 2px solid var(--ink); }
  .day:nth-child(3n) { border-right: 0; }
  .day { padding: 8px; aspect-ratio: 1 / 1.05; }
  .day .n { font-size: 18px; }
  .day .ttl { font-size: 12px; }
  .day.solved .mini { width: 34px; height: 34px; }
  .day.solved .circle { width: 64px; height: 48px; }
  .day.solved .tick { width: 32px; height: 30px; }
  .day .n.n3 { font-size: 15px; }
  .day .n.n4 { font-size: 12px; letter-spacing: -.5px; }
  .day.solved.w3 .circle { width: 70px; }
  .day.solved.w4 .circle { width: 74px; }
  .vol-nav { padding: 8px; gap: 6px; }
  .day .t { font-size: 9px; gap: 4px; }
  .day .t .ico { width: 12px; height: 12px; flex: none; }
  .day .foot { font-size: 9px; }
  .day .foot .go { white-space: nowrap; }
  .cal-top .prog { font-size: 9px; gap: 8px; }
  .vol-nav .vbtn { width: 30px; }
  .steps { grid-template-columns: 1fr; }
  .sheet { padding: 18px 16px; }
  .sheet h3 { font-size: 28px; padding-right: 50px; }
  .sheet .answer { flex-direction: column; }
  .recruit { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .stat .v { font-size: 17px; }
  .cal-top .bar { width: 120px; }
  #walletBtn { padding: 9px 10px; font-size: 11px; }
  #walletBtn .ico { display: none; }
}
