:root{--o:#ef5826;--o-deep:#d83d0a;--o-soft:#fde6dc;--t:#1ea6b9;--t-deep:#168293;--t-soft:#d6f0f3;--ink:#2a2422;--px:4px;--pixel:"Press Start 2P", ui-monospace, "Courier New", monospace;--mono:"VT323", ui-monospace, "Courier New", monospace;--body:"Noto Sans TC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--c-s:#ef5826;--c-e:#1ea6b9;--c-a:#f2c14e;--c-k:#e0508f}[hidden]{display:none!important}[data-theme=cyber]{--bg:#0d1117;--bg2:#161b22;--card:#161b22;--text:#e6edf3;--muted:#9aa4af;--line:#ef5826;--accent:#20acc0;--head:#ef5826;--shadow:#d83d0a;--glow:0 0 8px #ef582699;--on-o:#0d1117;--link:#4cc9db;--focus:#f2c14e;--head-text:#f6815a}[data-theme=nudge]{--bg:#fffaf7;--bg2:#fde6dc;--card:#fff;--text:#2a2422;--muted:#5f5450;--line:#2a2422;--accent:#137081;--head:#c43508;--shadow:#ef5826;--glow:none;--on-o:#1a1210;--link:#0f6372;--focus:#0b4f5c;--c-s:#c43508;--c-e:#137081;--c-a:#9a6b00;--c-k:#b0285f}*,:before,:after{box-sizing:border-box;margin:0;padding:0}html{-webkit-text-size-adjust:100%}body{background:var(--bg);color:var(--text);font-family:var(--body);flex-direction:column;min-height:100dvh;line-height:1.6;transition:background .3s,color .3s;display:flex}[data-theme=cyber] body{background-image:linear-gradient(#1ea6b90f 1px,#0000 1px),linear-gradient(90deg,#1ea6b90f 1px,#0000 1px);background-size:24px 24px}[data-theme=cyber] body:after{content:"";pointer-events:none;z-index:90;background:repeating-linear-gradient(0deg,#0000002e 0 1px,#0000 1px 3px);position:fixed;inset:0}a{color:var(--link);text-underline-offset:3px;text-decoration:underline}a:hover{color:var(--head)}:focus-visible{outline:3px solid var(--focus);outline-offset:3px}h1:focus,h2:focus{outline:none}h1:focus-visible,h2:focus-visible{outline:3px dashed var(--focus);outline-offset:6px}.skip{z-index:100;background:var(--o);color:var(--on-o);font-family:var(--pixel);padding:10px 14px;font-size:10px;text-decoration:none;position:absolute;top:-60px;left:8px}.skip:focus{top:8px}.wrap{width:100%;max-width:928px;margin:0 auto;padding:0 12px}.pixel{font-family:var(--pixel);letter-spacing:.5px}.top{background:var(--bg2);border-bottom:var(--px) solid var(--line)}.bar{flex-wrap:wrap;align-items:center;gap:12px;min-height:64px;padding-top:8px;padding-bottom:8px;display:flex}.logo{font-family:var(--pixel);color:var(--head);text-shadow:var(--glow);white-space:nowrap;font-size:12px}.logo span{color:var(--accent)}.logo-long{display:none}.spacer{flex:1}.pbox{background:var(--card);border:var(--px) solid var(--line);box-shadow:6px 6px 0 var(--shadow);position:relative}.btn{font-family:var(--pixel);cursor:pointer;border:3px solid var(--line);background:var(--o);min-width:44px;min-height:44px;color:var(--on-o);text-align:left;box-shadow:4px 4px 0 var(--ink);justify-content:center;align-items:center;gap:8px;padding:10px 16px;font-size:11px;line-height:1.5;text-decoration:none;transition:transform 60ms,box-shadow 60ms;display:inline-flex}[data-theme=cyber] .btn{box-shadow:4px 4px 0 #000, var(--glow)}.btn:hover{box-shadow:2px 2px 0 var(--ink);transform:translate(2px,2px)}.btn:active{box-shadow:0 0 0 var(--ink);transform:translate(4px,4px)}.btn.ghost{color:var(--text);background:0 0}.btn.teal{background:var(--t);color:var(--on-o)}.btn.sm{padding:8px 10px;font-size:10px}#theme-toggle{place-items:center;min-width:44px;min-height:44px;padding:0;display:inline-grid}#theme-toggle svg{width:24px;height:24px;display:block}.btn.big{padding:14px 24px;font-size:14px}[data-theme] .btn:is(:disabled,[aria-disabled=true]){cursor:not-allowed;box-shadow:none;color:var(--muted);background:0 0;border-style:dashed;transform:none}#app{flex:1;padding-top:28px;padding-bottom:40px}.screen{flex-direction:column;gap:28px;display:flex}.hero{flex-wrap:wrap;align-items:center;gap:24px;padding:28px 22px;display:flex;overflow:hidden}[data-theme=nudge] .hero{background:linear-gradient(135deg, var(--o-soft), var(--t-soft))}.hero-art{flex:none;max-width:100%;margin:0 auto}.start .hero-art{flex:1 0 100%}.start .hero-art>*{margin:0 auto}.hero-art img{aspect-ratio:3/2;width:384px;max-width:100%;height:auto;image-rendering:pixelated;image-rendering:-moz-crisp-edges;image-rendering:crisp-edges;display:block}.coffee{width:128px;height:128px;image-rendering:pixelated;filter:drop-shadow(4px 4px 0 var(--shadow))}.hero-copy{flex-direction:column;flex:260px;align-items:flex-start;gap:16px;min-width:0;display:flex}.hero h1{font-family:var(--pixel);color:var(--head);text-shadow:var(--glow);overflow-wrap:break-word;font-size:clamp(16px,5.2vw,30px);line-height:1.5}[data-theme=cyber] .hero h1{text-shadow:3px 3px 0 var(--t-deep), 0 0 14px #ef5826b3}.hero h1 small{color:var(--accent);text-shadow:none;margin-top:12px;font-size:clamp(12px,3.6vw,14px);line-height:1.6;display:block}[data-theme=cyber] .hero h1 small{color:#20acc0}.hero-copy>p{color:var(--muted);max-width:52ch;font-size:17px}.hero-copy>p.fine,.fine{color:var(--muted);font-size:14px}.stars{font-family:var(--pixel);color:var(--accent);font-size:18px;animation:1.2s steps(2,end) infinite blink;position:absolute;top:10px;right:14px}@keyframes blink{50%{opacity:.25}}.tokens{flex-wrap:wrap;gap:8px;list-style:none;display:flex}.token{min-height:32px;font-family:var(--mono);background:var(--bg);color:var(--text);border:2px solid;align-items:center;gap:6px;padding:4px 10px;font-size:20px;line-height:1;display:inline-flex}.token .glyph,.row .glyph,h1 .glyph{color:var(--tc)}.t-s{--tc:var(--c-s)}.t-e{--tc:var(--c-e)}.t-a{--tc:var(--c-a)}.t-k{--tc:var(--c-k)}.token{border-color:var(--tc)}.notice{border:3px solid var(--o);background:#ef582624;padding:14px 16px;font-size:16px}#app[data-screen=quiz]{padding-top:12px}.screen.quiz{gap:12px;width:100%;max-width:880px;margin:0 auto}.qhead{flex-direction:column;gap:6px;display:flex}.counter{color:var(--accent);font-size:12px;line-height:18px}.meter{border:3px solid var(--line);background:var(--bg);height:12px}.meter i{background:repeating-linear-gradient(90deg, var(--t) 0 8px, var(--t-deep) 8px 10px);height:100%;transition:width .25s steps(6,end);display:block}.dialog{flex-direction:column;gap:12px;display:flex}.prompt{overflow-wrap:break-word;font-size:18px;font-weight:700;line-height:26px}.choices{font:700 17px/24px var(--body);grid-template-columns:minmax(0,1fr);gap:12px;display:grid;container:choices/inline-size}[data-theme] .btn.choice{width:100%;min-width:0;min-height:44px;font:inherit;letter-spacing:0;text-align:left;border:2px solid var(--line);background:var(--card);color:var(--text);box-shadow:3px 3px 0 var(--shadow);flex-direction:column;justify-content:flex-start;align-items:center;gap:8px;padding:10px 12px;transition:none;display:flex;transform:none}[data-theme] .btn.choice:nth-child(2){border-color:var(--accent)}[data-theme] .btn.choice:is(:hover,:active,:focus-visible){background:var(--card);color:var(--text);box-shadow:3px 3px 0 var(--shadow);transform:none}[data-theme] .btn.choice:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.choice .label{white-space:normal;overflow-wrap:break-word;text-overflow:clip;align-self:stretch;min-width:0;max-width:60ch;overflow:visible}.optimg{aspect-ratio:1;object-fit:contain;width:128px;height:128px;image-rendering:-moz-crisp-edges;image-rendering:crisp-edges;image-rendering:pixelated;border:0;flex:none;display:block}.optimg.fallback-art{font-family:var(--pixel);color:var(--o);border:2px dashed var(--line);box-shadow:inset 0 0 0 4px var(--bg);-webkit-user-select:none;user-select:none;background:repeating-linear-gradient(0deg, transparent 0 7px, color-mix(in srgb, var(--accent) 22%, transparent) 7px 8px), repeating-linear-gradient(90deg, transparent 0 7px, color-mix(in srgb, var(--accent) 22%, transparent) 7px 8px), var(--bg2);place-items:center;font-size:32px;line-height:1;display:grid}.choice:nth-child(2) .optimg.fallback-art{color:var(--accent);border-color:var(--accent)}@media (width>=560px){@container choices (width>=calc(172px + max(350px,35ch))){[data-theme] .btn.choice{flex-direction:row;gap:16px;min-height:152px}.choice .label{flex:0 auto;align-self:center}}}.qfoot{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.screen.quiz>.qfoot{margin-top:-4px}.hint{font-family:var(--mono);font-size:18px}#app[data-screen=result]{padding-top:12px}.resulthero{flex-flow:column;align-items:stretch;gap:12px;padding:16px 14px}.resulthero>:not(.result-image){align-self:flex-start}.result-image{background:var(--bg);border:3px solid var(--tc);box-shadow:4px 4px 0 var(--shadow);padding:12px;container:result-image/inline-size}.result-image-body{flex-direction:column;align-items:center;gap:10px;display:flex}.result-art{flex:none;width:192px;height:192px}.result-art img{width:100%;height:100%;image-rendering:-moz-crisp-edges;image-rendering:crisp-edges;image-rendering:pixelated;display:block}.result-summary{flex-direction:column;align-self:stretch;gap:10px;min-width:0;display:flex;container:result-summary/inline-size}.kicker{color:var(--accent);font-size:12px;line-height:1.5}.resulthero h1{font-family:var(--pixel);color:var(--tc);white-space:nowrap;font-size:clamp(16px,8cqi,32px);line-height:1.4}.resulthero h1 small{white-space:normal;color:var(--accent);margin-top:4px;font-size:clamp(12px,3.6vw,14px);line-height:1.6;display:block}.resulthero .status:empty{min-height:0}.blurb{max-width:56ch;font-size:17px}.tie{border:3px dashed var(--accent);max-width:60ch;padding:10px 12px;font-size:15px}.rows{flex-direction:column;gap:6px;list-style:none;display:flex}.row{border-left:6px solid #0000;padding:4px 8px 6px}.row.top{background:color-mix(in srgb, var(--tc) 16%, transparent);border-left-color:var(--tc)}.rowhead{font-family:var(--mono);flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:4px;font-size:22px;line-height:1.1;display:flex}.row.top .rname{text-decoration:underline;-webkit-text-decoration-color:var(--tc);text-decoration-color:var(--tc);text-underline-offset:4px;font-weight:700}.rpct b{font-family:var(--pixel);font-size:13px;font-weight:400}.pts{color:var(--muted)}.hp{border:2px solid var(--line);background:var(--bg);height:14px}.hp i{background:repeating-linear-gradient(90deg, var(--tc) 0 8px, color-mix(in srgb, var(--tc) 60%, #000) 8px 10px);width:0;height:100%;display:block}@container result-image (width>=480px){.result-image-body{flex-direction:row;align-items:center;gap:20px}.result-summary{flex:1 1 0}}@container result-image (width>=740px){.result-art{width:384px;height:384px}}@media (width>=640px){.hero.resulthero{padding:24px 28px}}.rounding{margin-top:0}.actions{flex-wrap:wrap;gap:14px;display:flex}.status{font-family:var(--mono);color:var(--accent);min-height:1.2em;font-size:20px}.fallback{flex-direction:column;gap:6px;display:flex}.fallback[hidden]{display:none}.fallback label{font-family:var(--mono);font-size:20px}textarea{width:100%;font-family:var(--mono);resize:vertical;background:var(--bg);color:var(--text);border:3px solid var(--line);padding:10px;font-size:20px;line-height:1.3}.foot{border-top:var(--px) solid var(--line);background:var(--bg2);color:var(--muted);padding:22px 0;font-size:14px}.foot .wrap{flex-direction:column;gap:8px;display:flex}.foot b{color:var(--text)}.foot .support{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.foot .support-label{font-family:var(--mono);color:var(--text);font-size:18px}.foot .small{font-family:var(--mono);font-size:18px}@media (width>=640px){.logo-long{display:inline}.hero{padding:40px 36px}.coffee{width:176px;height:176px}.hero-art img{width:384px;max-width:100%}.stars{font-size:26px;top:22px;right:28px}}@media (width>=860px){.start .hero{flex-wrap:nowrap;align-items:center;gap:32px}.start .hero-art{flex:none;margin:0}.start .hero h1{font-size:26px}.start .stars{left:28px;right:auto}}@media (width>=768px){.wrap{padding:0 24px}.prompt{font-size:22px;line-height:30px}.choices{gap:16px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}.btn:hover,.btn:active{transform:none}}.sources-title{font-family:var(--pixel);color:var(--head-text,var(--head));margin-bottom:4px;font-size:12px}.sources ul{flex-direction:column;gap:6px;padding-left:20px;display:flex}.sources-details>summary{cursor:pointer;min-height:44px;color:var(--link);align-items:center;gap:8px;list-style:none;display:inline-flex}.sources-details>summary::-webkit-details-marker{display:none}.sources-details>summary:before{content:"▶" / "";font-family:var(--pixel);font-size:10px}.sources-details[open]>summary:before{content:"▼" / ""}.sources-details>summary span{text-underline-offset:3px;text-decoration:underline}.sources-details>summary:hover{color:var(--head)}.sources-details[open] .sources-show,.sources-details:not([open]) .sources-hide{display:none}.share-icons{flex-wrap:wrap;gap:8px;display:flex}.share-icon{place-items:center;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;display:inline-grid}.share-icon svg{width:22px;height:22px;display:block}@media (width<=859px){.share-icons.desktop-only{display:none}}
