:root { color-scheme: dark; --bg:#0c1725; --card:#15263a; --line:#30445a; --text:#f3f7f7; --muted:#b0c2cc; --mint:#56ddc1; --yellow:#f2c46d; } * { box-sizing:border-box; } html { scroll-behavior:smooth; } body { margin:0; background:var(--bg); color:var(--text); font:16px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; } button, a { -webkit-tap-highlight-color:transparent; } button { font:inherit; } a { color:var(--mint); } a:focus-visible, button:focus-visible { outline:3px solid var(--yellow); outline-offset:3px; } [hidden] { display:none !important; } .wrap { width:min(1100px,calc(100% - 48px)); margin-inline:auto; } .site-header { min-height:70px; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:12px max(24px,calc((100vw - 1100px)/2)); border-bottom:1px solid var(--line); } .brand { display:flex; align-items:center; gap:12px; color:var(--text); text-decoration:none; font-weight:730; letter-spacing:-.015em; } .brand-mark { width:36px; height:36px; display:grid; place-items:center; background:var(--mint); color:#09241f; border-radius:10px; font-weight:850; letter-spacing:-.08em; } .brand-sep { color:#6c8695; } .header-link { color:var(--muted); font-size:.88rem; text-decoration:none; } .header-link:hover { color:var(--mint); } .hero { padding:72px 0 46px; } .eyebrow { color:var(--mint); font-size:.75rem; font-weight:850; letter-spacing:.17em; text-transform:uppercase; } h1,h2,h3,p { margin-top:0; } h1 { max-width:880px; margin:12px 0 16px; font-size:clamp(2.75rem,7vw,5.5rem); line-height:1.02; letter-spacing:-.055em; } .lede { max-width:740px; margin-bottom:18px; color:#d6e3e8; font-size:clamp(1.05rem,2vw,1.3rem); } .hero-note { color:var(--muted); font-size:.88rem; } .game { padding-bottom:68px; } .game-topline { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:16px; } .game-topline>div { display:flex; align-items:center; gap:12px; } .pill { display:inline-flex; align-items:center; padding:5px 12px; background:#20483f; color:var(--mint); border-radius:999px; font-size:.82rem; font-weight:800; } .score { color:var(--muted); font-size:.85rem; } .game-topline a { color:var(--muted); font-size:.85rem; text-decoration:none; } .game-topline a:hover { color:var(--mint); } .case-card,.final-card { padding:36px; background:var(--card); border:1px solid #2b455a; border-radius:24px; box-shadow:0 18px 55px #050e1880; } .case-number { color:var(--mint); font-size:.8rem; font-weight:800; letter-spacing:.13em; } .case-head h2,.final-card h2 { margin:9px 0 8px; font-size:clamp(1.75rem,4vw,2.6rem); line-height:1.12; letter-spacing:-.035em; } .case-head p { margin-bottom:22px; color:#d4e1e8; } .test-badge { display:flex; gap:12px; align-items:center; margin-bottom:28px; padding:15px 18px; border-radius:14px; background:#1a3b3a; border:1px solid #2a6157; } .status-dot { flex:none; width:10px; height:10px; background:var(--mint); border-radius:50%; box-shadow:0 0 0 4px #56ddc123; } .test-badge strong,.test-badge span:not(.status-dot) { display:block; } .test-badge span:not(.status-dot) { color:#bbdbd3; font-size:.87rem; } .code-label { margin-bottom:8px; color:#abc3cf; font-size:.77rem; font-weight:750; letter-spacing:.12em; text-transform:uppercase; } pre { overflow:auto; margin:0 0 31px; padding:22px; background:#08121d; border:1px solid #2b4458; border-radius:14px; color:#d7f3ee; font:clamp(.79rem,1.4vw,.98rem)/1.65 ui-monospace,SFMono-Regular,Consolas,monospace; } h3 { margin-bottom:15px; font-size:1.1rem; } .choices { display:grid; gap:10px; } .choice { min-height:60px; display:flex; align-items:center; gap:14px; width:100%; padding:11px 16px; border:1px solid #466073; border-radius:13px; background:#1c3044; color:var(--text); text-align:left; cursor:pointer; transition:background .15s,border-color .15s,transform .15s; } .choice:not(:disabled):hover { background:#27445b; border-color:var(--mint); transform:translateY(-1px); } .choice:disabled { cursor:default; opacity:.72; } .choice.selected { border-color:var(--yellow); opacity:1; } .choice.correct { border-color:var(--mint); opacity:1; } .choice-index { flex:none; width:26px; height:26px; display:grid; place-items:center; border-radius:7px; color:#0b1825; background:#9cc8c6; font-size:.78rem; font-weight:850; } .choice-arrow { margin-left:auto; color:var(--mint); } .feedback { margin-top:20px; padding:20px; border-radius:14px; border:1px solid #647486; background:#213447; } .feedback.caught { border-color:#3c8c77; background:#173c3b; } .feedback.missed { border-color:#8e754c; background:#3d342b; } .feedback strong { display:block; margin-bottom:4px; font-size:1.18rem; } .feedback p { margin:5px 0 0; color:#e2e9e8; } .next-button { margin-top:22px; min-height:48px; padding:10px 20px; border:0; border-radius:10px; background:var(--mint); color:#08251e; font-weight:850; cursor:pointer; } .next-button:hover { background:#84edd8; } .final-card p { max-width:650px; color:#d0dfe5; } .source { padding-bottom:75px; } .source-inner { display:grid; grid-template-columns:1fr auto; gap:36px; padding:28px 32px; border:1px solid var(--line); border-radius:18px; background:#101f30; } .source h2 { margin:7px 0 10px; font-size:1.6rem; } .source p { max-width:760px; margin:0; color:var(--muted); } .source-links { display:flex; flex-direction:column; justify-content:center; gap:10px; white-space:nowrap; } .source-links a { text-decoration:none; font-weight:700; } .source-links a:hover { text-decoration:underline; } .footer { display:flex; justify-content:space-between; gap:18px; padding:22px 0 32px; border-top:1px solid var(--line); color:#8fa6b2; font-size:.78rem; } @media (max-width:720px) { .site-header { padding-inline:20px; } .header-link { display:none; } .hero { padding:54px 0 35px; } .case-card,.final-card { padding:23px; } .source-inner { grid-template-columns:1fr; gap:18px; } .source-links { white-space:normal; } } @media (max-width:430px) { .wrap { width:calc(100% - 28px); } .site-header { min-height:64px; padding-inline:14px; } .brand { gap:8px; font-size:.85rem; } .brand-mark { width:31px; height:31px; } .hero { padding-top:43px; } h1 { font-size:2.65rem; } .game-topline { align-items:flex-start; } .game-topline>div { flex-wrap:wrap; gap:6px; } .game-topline a { text-align:right; } .case-card,.final-card { padding:18px; border-radius:17px; } pre { padding:15px; white-space:pre-wrap; overflow-wrap:anywhere; } .source-inner { padding:21px; } .footer { flex-direction:column; gap:2px; } }