/* Design Lab · home. Search-engine layout (wordmark, one search, two chips) in the canvas style: cream grid paper, rulers,
   pixel display type, selection frames, teammates' cursors, ink outlines with offset shadows, handwritten notes.
   One continuous canvas: deck (hero + hand of cards) → portal → every challenge, joined by prototype connectors.
   Interview prep and primers stay plain and readable. */
:root {
  --bg: #FBF8F2; --card: #FFFFFF; --ink: #1B1512; --muted: #5C534D; --faint: #9A918A; --line: #E6DFD3; --soft: #F3EEE4;
  --accent: #3B8FD9; --sel: #3B8FD9; --red: #E5484D; --yellow: #F2C14E; --green: #3FA36B;
  --sans: "Hanken Grotesk", system-ui, sans-serif; --mono: "Space Mono", ui-monospace, monospace;
  --pixel: "Pixelify Sans", "Space Mono", monospace; --hand: "Caveat", cursive;
}
body { background: var(--bg); color: var(--ink); font-family: var(--sans); }
#challenges { background-color: var(--bg);
  background-image: linear-gradient(rgba(27,21,18,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(27,21,18,.045) 1px, transparent 1px),
    linear-gradient(rgba(27,21,18,.02) 1px, transparent 1px), linear-gradient(90deg, rgba(27,21,18,.02) 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px; }

/* ---------- Top: plain text links ---------- */
.top { background: transparent; border: 0; backdrop-filter: none; position: absolute; left: 0; right: 0; z-index: 30; }
.top .wrap { height: 64px; }
body.on-home .top .wrap { padding-left: 18px; }
.home-link { width: 30px; height: 30px; border-radius: 8px; background: no-repeat center / 26px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M24 6h16v4h-3v14.5l15.6 24.8C55.2 53.5 52.3 58 47.4 58H16.6c-4.9 0-7.8-4.5-5.2-8.7L27 24.5V10h-3z' fill='%23fff' stroke='%2318181b' stroke-width='3.5' stroke-linejoin='round'/%3E%3Cpath d='M18.3 40h27.4l6 9.6c1 1.7-.1 3.9-2.1 3.9H14.4c-2 0-3.1-2.2-2.1-3.9z' fill='%233B8FD9'/%3E%3C/svg%3E"); }
.toplinks { display: flex; gap: 22px; margin-left: auto; }
.toplinks a.out { color: var(--muted); }
.toplinks a { font: 500 14.5px var(--sans); color: var(--ink); text-decoration: none; padding: 6px 0; }
.toplinks a:hover { text-decoration: underline; text-underline-offset: 4px; }
.toplinks a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* ---------- Canvas chrome (home only) ---------- */
.ruler-x, .ruler-y, .coords { display: none; }
body.on-home .ruler-x, body.on-home .ruler-y, body.on-home .coords { display: block; }
.ruler-x { position: fixed; z-index: 25; left: 18px; right: 0; top: 0; height: 18px; background: rgba(251,248,242,.94); border-bottom: 1px solid var(--line); overflow: hidden; pointer-events: none; }
.ruler-y { position: fixed; z-index: 25; left: 0; top: 0; bottom: 0; width: 18px; background: rgba(251,248,242,.94); border-right: 1px solid var(--line); overflow: hidden; pointer-events: none; }
.ruler-x::before, .ruler-y::before { content: ""; position: absolute; inset: 0; }
.ruler-x::before { background: repeating-linear-gradient(90deg, var(--faint) 0 1px, transparent 1px 10px); -webkit-mask: linear-gradient(transparent 60%, #000 60%); mask: linear-gradient(transparent 60%, #000 60%); }
.ruler-y::before { background: repeating-linear-gradient(0deg, var(--faint) 0 1px, transparent 1px 10px); -webkit-mask: linear-gradient(90deg, transparent 60%, #000 60%); mask: linear-gradient(90deg, transparent 60%, #000 60%); }
.ruler-x span { position: absolute; top: 1px; font: 9px var(--mono); color: var(--faint); }
.ruler-y span { position: absolute; left: 1px; font: 9px var(--mono); color: var(--faint); writing-mode: vertical-rl; transform: rotate(180deg); }
.ruler-x i, .ruler-y i { position: absolute; background: var(--red); }
.ruler-x i { top: 0; bottom: 0; width: 1px; } .ruler-y i { left: 0; right: 0; height: 1px; }
.coords { position: fixed; z-index: 26; left: 28px; bottom: 16px; font: 12px var(--mono); background: var(--card); border: 1.5px solid var(--ink); padding: 4px 9px; border-radius: 4px; box-shadow: 2px 2px 0 var(--ink); pointer-events: none; }
.coords b { color: var(--sel); font-weight: 400; }
body.on-home #challenges { padding-left: 18px; }
.frame-label, .frame-tag { display: inline-block; font: 400 11.5px var(--mono); background: var(--sel); color: #fff; padding: 2px 7px; letter-spacing: 0; }
.hand-note { font: 600 21px var(--hand); color: var(--muted); }

/* ---------- Deck: hero + hand of four, one pinned scene ---------- */
.deck { position: relative; height: 230vh; }
.deck-stage { position: sticky; top: 0; height: 100vh; min-height: 620px; overflow: hidden; }
.g-hero { position: absolute; z-index: 3; left: 0; right: 0; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; width: min(1120px, 100% - 48px); margin: 0 auto; padding: 40px 0 6vh; text-align: center; will-change: transform, opacity; pointer-events: none; }
.g-hero > * { pointer-events: auto; }
.wm-frame { position: relative; padding: 12px 24px 8px; outline: 1.5px solid var(--sel); }
.wordmark { font: 600 clamp(48px, 7.4vw, 92px)/1 var(--pixel); letter-spacing: .01em; text-transform: uppercase; margin: 0; color: var(--ink); white-space: nowrap; }
.wm-frame .frame-tag { position: absolute; left: -1.5px; top: -22px; }
.wm-frame .dims { position: absolute; left: 50%; bottom: -24px; transform: translateX(-50%); font: 400 11px var(--mono); background: var(--sel); color: #fff; padding: 1px 7px; white-space: nowrap; }
.hdl { position: absolute; width: 9px; height: 9px; background: #fff; border: 1.5px solid var(--sel); }
.hdl.tl { left: -6px; top: -6px; } .hdl.tr { right: -6px; top: -6px; } .hdl.bl { left: -6px; bottom: -6px; } .hdl.br { right: -6px; bottom: -6px; }
.g-search { position: relative; display: flex; align-items: center; gap: 12px; width: min(600px, 100%); height: 54px; margin-top: 46px; padding: 0 16px 0 20px;
  background: #fff; border: 1px solid rgba(27,21,18,.42); border-radius: 999px; box-shadow: 0 1px 2px rgba(27,21,18,.06), 2px 2px 0 rgba(27,21,18,.1); transition: box-shadow .2s, border-color .2s; cursor: text; }
.g-search:hover { border-color: rgba(27,21,18,.6); }
.g-search:focus-within { box-shadow: 0 0 0 3px rgba(59,143,217,.18); border-color: var(--sel); }
.g-search svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.g-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: none; font: 400 16.5px var(--sans); color: var(--ink); }
.g-search input::placeholder { color: #857D75; }
.g-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.g-search kbd { font: 400 11.5px var(--mono); color: var(--faint); border: 1px solid var(--line); border-radius: 5px; padding: 0 7px; }
.g-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.g-chip { position: relative; display: flex; align-items: center; gap: 9px; padding: 6px 30px 6px 7px; font: 600 13.5px var(--sans); text-decoration: none; color: var(--ink); overflow: hidden;
  background: rgba(255,255,255,.5); border: 1px solid var(--line); border-radius: 999px; transition: border-color .2s, background .2s; }
.g-chip:hover { border-color: #CFC6B6; background: #fff; }
.g-chip::after { content: "→"; position: absolute; right: 12px; top: 50%; transform: translate(-4px, -50%); opacity: 0; font-size: 13px; color: var(--muted); transition: opacity .2s, transform .25s; }
.g-chip:hover::after { opacity: 1; transform: translate(0, -50%); }
.g-chip .ic { position: relative; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--soft); color: var(--muted); flex: none; overflow: hidden; }
.g-chip b { display: inline; font: 600 13.5px var(--sans); } .g-chip small { display: inline; margin-left: 6px; font: 400 12.5px var(--sans); color: var(--faint); }
/* Playground chip: a tiny window into space; on hover a moon starts to orbit and a few stars show through */
.g-chip.dark .ic { background: radial-gradient(circle at 35% 30%, #2b2357, #0b0920 70%); color: #F2C14E; }
.g-chip.dark .ic::before { content: ""; position: absolute; left: 4px; top: 6px; width: 1px; height: 1px; border-radius: 50%; background: #fff;
  box-shadow: 13px 3px 0 0 rgba(255,255,255,.8), 6px 14px 0 0 rgba(255,255,255,.6), 17px 15px 0 0 rgba(255,255,255,.9), 2px 9px 0 0 rgba(255,255,255,.5); animation: twinkle 3s ease-in-out infinite; }
.g-chip.dark .ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px; border-radius: 50%; background: #9FD3FF; opacity: 0;
  transform: rotate(0) translateX(9px); transition: opacity .3s; }
.g-chip.dark:hover .ic::after { opacity: 1; animation: orbit 2.4s linear infinite; }
.g-chip.dark .ic span { display: inline-block; transition: transform .6s cubic-bezier(.3,1.4,.5,1); } .g-chip.dark:hover .ic span { transform: rotate(90deg) scale(.85); }
.g-chip.dark::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s; pointer-events: none;
  background: radial-gradient(1px 1px at 20% 40%, #b8b0ff, transparent), radial-gradient(1px 1px at 55% 25%, #b8b0ff, transparent), radial-gradient(1px 1px at 80% 70%, #b8b0ff, transparent), radial-gradient(1px 1px at 40% 80%, #b8b0ff, transparent); }
.g-chip.dark:hover::before { opacity: .9; }
@keyframes orbit { to { transform: rotate(360deg) translateX(9px); } }
@keyframes twinkle { 50% { opacity: .35; } }
.deck-label { position: absolute; left: 0; right: 0; z-index: 2; text-align: center; opacity: 0; pointer-events: none; }
.hand { position: absolute; left: 50%; top: 0; width: 0; height: 0; z-index: 4; }
.scroll-cue { position: absolute; z-index: 5; left: calc(50% - 380px); bottom: 34px; display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; }
.scroll-cue span { font: 600 20px/1 var(--hand); color: var(--muted); transform: rotate(-4deg); }
.scroll-cue i { width: 22px; height: 34px; border: 1.5px solid var(--ink); border-radius: 12px; position: relative; background: #fff; box-shadow: 2px 2px 0 var(--ink); }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--ink); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 60% { transform: translateY(9px); opacity: 0; } 61% { transform: none; opacity: 0; } 100% { opacity: 1; } }

/* Searching: the deck collapses to a results header */
body.searching .deck { height: auto; }
body.searching .deck-stage { position: relative; height: auto; min-height: 0; overflow: visible; padding-bottom: 6px; }
body.searching .g-hero { transform: none !important; opacity: 1 !important; padding-top: 80px; }
body.searching .g-chips, body.searching .hand, body.searching .scroll-cue, body.searching .deck-label, body.searching .portal-sec, body.searching
body.searching .wordmark { font-size: clamp(34px, 4.4vw, 52px); }

/* ---------- The trading card (hand, ball pop-out, 3D hover): built for reading ---------- */
.pcard, .tcard { display: flex; flex-direction: column; gap: 7px; padding: 9px; background: #F2C14E; border: 2px solid var(--ink); border-radius: 12px; text-align: left; color: var(--ink); font-family: var(--sans); }
.pc-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 0 2px; }
.pc-head b { font: 800 14px/1.15 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-lv { display: inline-flex; gap: 3px; flex: none; } .pc-lv i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff; } .pc-lv i.on { background: var(--ink); }
.pc-art { position: relative; flex: none; height: 78px; border: 1.5px solid var(--ink); border-radius: 7px; background: var(--skin), var(--b); display: grid; place-items: center; overflow: hidden; }
.pc-logo { width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); display: grid; place-items: center; overflow: hidden; }
.pc-logo img { width: 64%; height: 64%; object-fit: contain; }
.pc-logo:empty::before, .knob:empty::before { content: attr(data-ini); font: 700 13px var(--mono); color: var(--ink); }
.pc-type { font: 700 11px/1.3 var(--sans); letter-spacing: .03em; text-transform: uppercase; color: var(--ink); padding: 0 2px; }
.pc-t { flex: 1; padding: 8px 9px; background: #FFFDF8; border: 1.5px solid var(--ink); border-radius: 7px; font: 600 14.5px/1.32 var(--sans); color: #17120F;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; }
.pc-foot { display: flex; justify-content: space-between; font: 500 11.5px var(--sans); padding: 0 2px; }
.pc-foot span:last-child { font-weight: 700; }

.tcard { position: absolute; left: 0; top: 0; width: 236px; height: 336px; padding: 10px; gap: 8px; cursor: pointer; transform: translate(-50%, -50%);
  box-shadow: 0 24px 40px -22px rgba(27,21,18,.55); transition: box-shadow .3s; will-change: transform; }
.tcard:hover { box-shadow: 0 30px 50px -20px rgba(27,21,18,.6); }
.tcard .pc-head b { font-size: 16px; } .tcard .pc-art { height: 108px; } .tcard .pc-logo { width: 62px; height: 62px; }
.tcard .pc-t { font-size: 16px; line-height: 1.34; -webkit-line-clamp: 6; padding: 10px 11px; } .tcard .pc-type { font-size: 11.5px; } .tcard .pc-foot { font-size: 12.5px; }

/* ---------- One canvas: prototype connectors between frames ---------- */
.results-k { text-align: center; font: 600 15px var(--sans); color: var(--muted); min-height: 1px; }
.indep { width: min(1120px, 100% - 32px); margin: 8px auto 0; text-align: center; font: 400 12.5px var(--sans); color: var(--faint); }
.lm-body .indep { margin: 26px auto 10px; }

/* ---------- Portal ---------- */
.portal-sec { position: relative; padding: 70px 0 0; }
.portal-copy { text-align: center; position: relative; z-index: 3; pointer-events: none; margin-top: 12px; }
.portal-copy h2 { font: 600 clamp(28px, 3.6vw, 44px)/1.05 var(--pixel); text-transform: uppercase; letter-spacing: .01em; }
.portal-copy .hand-note { margin-top: 4px; }
.portal-stage { position: relative; height: min(84vh, 760px); min-height: 500px; margin-top: -30px; }
.portal-stage { width: min(1180px, 100% - 32px); margin: 10px auto 0; border-radius: 18px; overflow: hidden; background: #2F64A8; border: 1.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.portal-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.bp-title { position: absolute; right: 16px; bottom: 16px; z-index: 4; display: grid; grid-template-columns: auto auto; border: 1px solid rgba(255,255,255,.55); font: 400 10px/1.5 var(--mono); color: rgba(255,255,255,.8); letter-spacing: .08em; pointer-events: none; }
.bp-title span { padding: 3px 8px; border: .5px solid rgba(255,255,255,.35); } .bp-title b { font-weight: 700; color: #fff; }
.portal-fallback { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 14px 22px; border-radius: 999px; background: #14102A; color: #fff; text-decoration: none; font: 600 15px var(--sans); border: 1.5px solid var(--ink); }
.portal-stage.live .portal-fallback { display: none; }
.bh-cursor { position: absolute; left: 0; top: 0; z-index: 6; width: 22px; height: 22px; pointer-events: none; transform-origin: 2px 2px; }
.bh-cursor svg { width: 18px; height: 18px; fill: #fff; stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; filter: drop-shadow(1px 1px 0 rgba(0,0,0,.25)); }
.bh-cursor i { position: absolute; left: -15px; top: -15px; width: 34px; height: 34px; border-radius: 50%; background: conic-gradient(var(--sel) calc(var(--hold, 0) * 1turn), transparent 0); -webkit-mask: radial-gradient(circle, transparent 13px, #000 14px); mask: radial-gradient(circle, transparent 13px, #000 14px); opacity: calc(var(--hold, 0) * 4); }
.portal-tip { position: absolute; left: 0; top: 0; z-index: 5; pointer-events: none; }
.portal-tip .tip-card { position: absolute; width: 196px; height: 280px; transform: translate(-50%, -112%) rotate(-3deg); box-shadow: 0 20px 34px -18px rgba(0,0,0,.6); animation: tipIn .35s cubic-bezier(.25,1.45,.45,1); }
@keyframes tipIn { from { opacity: 0; transform: translate(-50%, -80%) scale(.6) rotate(0); } }
body.portal-out::after { content: ""; position: fixed; inset: 0; z-index: 100; background: #05040c; animation: fadeIn .3s ease-in forwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Every challenge as a branded ball ---------- */
.all-sec { padding: 60px 0 0; }
.pb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 30px 20px; width: min(1120px, 100% - 32px); margin: 0 auto; padding: 150px 0 140px; }
body.searching .all-sec { padding-top: 20px; } body.searching .all-sec::before, body.searching .all-sec::after { display: none; }
.pball { position: relative; height: 168px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: inherit; }
.pb-name { max-width: 150px; font: 600 14px/1.2 var(--sans); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pb-grid.collapsed .pball:nth-child(n+13) { display: none; } .pb-grid.collapsed { padding-bottom: 20px; }
.more-wrap { text-align: center; padding-bottom: 30px; }
.more-btn { display: inline-flex; align-items: center; gap: 12px; font: 600 15px var(--sans); color: var(--ink); background: #fff; border: 1.5px solid var(--ink); border-radius: 14px; padding: 10px 16px 10px 12px; cursor: pointer; box-shadow: 3px 3px 0 var(--ink); transition: transform .15s, box-shadow .15s; }
.more-btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); } .more-btn:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--ink); }
.mb-balls { display: inline-flex; } .mb-balls i { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--ink); margin-left: -7px; background: linear-gradient(#E5484D 0 46%, var(--ink) 46% 56%, #fff 56%); }
.mb-balls i:first-child { margin-left: 0; } .mb-balls i:nth-child(2) { background: linear-gradient(#635BFF 0 46%, var(--ink) 46% 56%, #fff 56%); } .mb-balls i:nth-child(3) { background: linear-gradient(#25D366 0 46%, var(--ink) 46% 56%, #fff 56%); }
.mb-ch { font-size: 14px; color: var(--muted); transition: transform .2s; } .more-btn:hover .mb-ch { transform: translateY(2px); }
.pball:hover, .pball:focus-visible, .pball.out { z-index: 10; } .pball:focus-visible { outline: none; }
.orb { position: relative; width: 104px; height: 104px; display: block; filter: drop-shadow(3px 3px 0 var(--ink)); }
.orb .lid, .orb .base { position: absolute; left: 0; right: 0; height: 50%; border: 2px solid var(--ink); }
.orb .lid { top: 0; z-index: 1; background: var(--skin), var(--b, #E5484D); border-bottom: 0; border-radius: 52px 52px 0 0; transform-origin: 8% 100%; transition: transform .4s cubic-bezier(.3,1.5,.5,1) .08s; overflow: hidden; }
.orb .lid::after { content: ""; position: absolute; left: 20%; top: 16%; width: 20px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.55); transform: rotate(-25deg); }
.orb .base { bottom: 0; z-index: 3; background: #F6F4EF; border-top: 0; border-radius: 0 0 52px 52px; box-shadow: inset 0 -10px 14px -8px rgba(0,0,0,.14); }
.orb .band { position: absolute; z-index: 5; left: 0; right: 0; top: 50%; height: 9px; margin-top: -4.5px; background: var(--ink); }
.knob { position: absolute; z-index: 6; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: #fff; border: 3px solid var(--ink);
  box-shadow: 0 0 0 3px var(--b, #E5484D) inset; display: grid; place-items: center; overflow: hidden; }
.knob img { width: 62%; height: 62%; object-fit: contain; }
.pball.done .orb::after { content: "✓"; position: absolute; z-index: 7; right: -2px; top: -2px; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; border: 1.5px solid var(--ink); display: grid; place-items: center; font: 700 12px var(--sans); }
.orb .pcard { position: absolute; z-index: 2; left: 50%; bottom: 50%; width: 190px; height: 270px; opacity: 0; pointer-events: none;
  transform: translate(-50%, 70px) scale(.28); transition: transform .45s cubic-bezier(.25,1.45,.45,1), opacity .18s; }
.pball:hover .pcard, .pball:focus-visible .pcard, .pball.out .pcard { opacity: 1; transform: translate(-50%, 6px) rotate(-3deg) scale(1); }
.pball:hover .lid, .pball:focus-visible .lid, .pball.out .lid { transform: rotate(-38deg) translate(-4px, -6px); }
.pball:hover .orb, .pball:focus-visible .orb, .pball.out .orb { animation: wob .45s ease-in-out; }
@keyframes wob { 20% { transform: rotate(-9deg); } 45% { transform: rotate(7deg); } 70% { transform: rotate(-4deg); } 100% { transform: none; } }
.pb-grid .empty { grid-column: 1 / -1; text-align: center; font: 600 22px var(--hand); color: var(--muted); }

/* ---------- Interview prep + primers: plain and readable ---------- */
#prep, #primers-tab { padding-top: 64px; }
.lcard, .sec, .ch, .lmodal .lm-in { border: 1px solid var(--line) !important; border-radius: 12px; }

@media (max-width: 900px) { .ruler-x, .ruler-y, .coords { display: none !important; } body.on-home #challenges, body.on-home .top .wrap { padding-left: 0; } .scroll-cue { left: 24px; } }
@media (max-width: 720px) {
  .toplinks { gap: 16px; } .toplinks a { font-size: 14px; }
  .g-hero { padding-top: 84px; }
  .wm-frame { padding: 8px 14px 4px; } .wordmark { font-size: clamp(40px, 12vw, 56px); }
  .g-search { height: 50px; margin-top: 38px; } .g-search input { font-size: 15px; } .g-search kbd { display: none; }
  .g-chips { gap: 8px; } .g-chip small { display: none; }
  .tcard { width: 158px; height: 232px; padding: 7px; gap: 5px; } .tcard .pc-art { height: 62px; } .tcard .pc-logo { width: 40px; height: 40px; }
  .tcard .pc-t { font-size: 13px; -webkit-line-clamp: 5; padding: 6px 7px; } .tcard .pc-head b { font-size: 13px; } .tcard .pc-type { font-size: 9.5px; } .tcard .pc-foot { font-size: 10.5px; }
  .scroll-cue { left: auto; right: 16px; bottom: auto; top: 60%; } .scroll-cue span { display: none; }
  .portal-stage { height: 72vh; min-height: 440px; }
  .pb-grid { grid-template-columns: repeat(3, 1fr); gap: 22px 6px; }
  .orb { width: 84px; height: 84px; } .orb .lid { border-radius: 42px 42px 0 0; } .orb .base { border-radius: 0 0 42px 42px; }
  .knob { width: 42px; height: 42px; margin: -21px 0 0 -21px; } .pball { height: 140px; gap: 9px; } .pb-name { font-size: 13px; max-width: 110px; }
  .orb .pcard { width: 168px; height: 246px; } .orb .pcard .pc-t { font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) { .pball .orb { animation: none !important; } .orb .pcard, .orb .lid { transition: opacity .2s; } .scroll-cue i::after { animation: none; } }
