:root{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#17221d;background:#f3f4ef;font-synthesis:none;font-weight:400;line-height:1.55;color-scheme:light;--muted:#67716a;--line:#dfe3db;--accent:#d8f48c}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}a{color:inherit}button:focus-visible,a:focus-visible,summary:focus-visible,select:focus-visible{outline:3px solid #608032;outline-offset:3px}input:focus-visible+span{outline:3px solid #608032;outline-offset:2px}[hidden]{display:none!important}.app{width:min(calc(100% - 16px),680px);margin:auto;padding:28px 0 max(24px,env(safe-area-inset-bottom))}.header{display:flex;gap:12px;align-items:center;padding:0 8px}.brand-mark{width:43px;height:43px;display:grid;place-items:center;border-radius:13px;background:#17221d;color:var(--accent);font-size:19px;flex-shrink:0}.eyebrow{font-size:9px;letter-spacing:1.7px;color:var(--muted);font-weight:700;margin:0 0 3px}h1{font-size:22px;letter-spacing:-.8px;line-height:1.2;margin:0}h2{font-size:16px;letter-spacing:-.4px;margin:0}.environment{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted);margin:20px 9px 16px;flex-wrap:wrap}#pwa-status{margin-left:auto}.dot{width:6px;height:6px;background:#6b8f45;border-radius:50%}.card{background:#fff;border:1px solid var(--line);border-radius:18px;margin-bottom:14px;overflow:hidden}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.player-card>.section-heading{padding:17px 18px}.tag{font-size:10px;font-weight:700;letter-spacing:.3px;border:1px solid var(--line);border-radius:30px;padding:4px 9px;white-space:nowrap}.tag.muted{background:#f5f6f2;border:0;color:var(--muted)}.player-frame{width:100%;aspect-ratio:16/9;min-height:200px;background:#101813}.player-frame iframe,.player-frame #player{display:block;width:100%;height:100%;min-height:200px;border:0}.player-content{padding:18px}.status-line{display:flex;justify-content:space-between;gap:12px;font-size:12px;margin-bottom:9px}.status-line>span{color:var(--muted)}.status-line strong{text-align:right;font-weight:600;font-variant-numeric:tabular-nums}progress{display:block;width:100%;height:5px;appearance:none;border:0;border-radius:5px;background:#edf0e7;margin:15px 0}progress::-webkit-progress-bar{background:#edf0e7;border-radius:5px}progress::-webkit-progress-value{background:#7e9d4b;border-radius:5px}progress::-moz-progress-bar{background:#7e9d4b;border-radius:5px}.hint{font-size:11px;line-height:1.8;color:var(--muted);margin:10px 0 16px;overflow-wrap:anywhere}.button{display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%;min-height:48px;border:1px solid transparent;border-radius:11px;padding:12px 15px;text-decoration:none;font-size:13px;font-weight:650;line-height:1.5;text-align:left}.button span{font-size:18px;font-weight:400}.button:hover{filter:brightness(.97)}.primary{background:var(--accent);color:#213315}.dark{background:#17221d;color:#fff;margin-top:9px}.outline{background:#fff;border-color:#cdd4c8}.subtle{background:#f4f5f1;color:#455047;justify-content:center;padding:11px 6px;font-size:11px;min-height:44px}.button-row{display:flex;gap:8px;margin-top:8px}.padded{padding:20px 18px}.section-description{font-size:12px;line-height:1.9;color:var(--muted);margin:12px 0 17px}.notice{font-size:11px;line-height:1.9;background:#f3f5ed;border-radius:10px;padding:13px;color:#58634f;overflow-wrap:anywhere}.error{background:#fff1ec;color:#9c4026;margin-bottom:14px}form{margin-top:20px}.field-label,legend{font-size:12px;font-weight:650}.field-label{display:block;margin-bottom:8px}select{width:100%;padding:11px;border:1px solid var(--line);border-radius:9px;background:#fff;min-height:44px;color:#17221d}fieldset{border:0;padding:0;margin:18px 0}legend{padding:0;margin-bottom:9px}legend span{font-size:10px;color:var(--muted);font-weight:400;margin-left:5px}.choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.choices label{position:relative;cursor:pointer}.choices input{position:absolute;width:1px;height:1px;opacity:0}.choices span{display:grid;place-items:center;min-height:44px;font-size:12px;border:1px solid var(--line);border-radius:9px}.choices input:checked+span{background:#edf6dc;border-color:#739547;color:#304a1c;font-weight:650}.text-button{font-size:11px;border:0;background:none;padding:10px 0 10px 8px;color:var(--muted);min-height:44px}.count{font-size:11px;font-weight:500;background:#eff2e9;border-radius:5px;padding:2px 6px;margin-left:4px}.empty{font-size:12px;color:#8a9389;text-align:center;padding:18px 0}.record{border-top:1px solid var(--line);padding:15px 0 5px}.record-title{font-size:12px;font-weight:650}.record-meta{font-size:10px;color:var(--muted);margin:5px 0}.record-result{font-size:12px;margin:8px 0}.record details{font-size:10px;color:var(--muted);overflow-wrap:anywhere}.debug summary{font-size:12px;font-weight:650;cursor:pointer}.debug summary>span{float:right;color:#929a91;font-size:9px;letter-spacing:1px}.debug ol{list-style:none;padding:0;margin:15px 0 0;max-height:200px;overflow:auto}.debug li{font:10px/1.7 ui-monospace,SFMono-Regular,monospace;overflow-wrap:anywhere;margin:5px 0;color:#687368}.debug time{color:#9ba496;margin-right:8px}footer{text-align:center;font-size:10px;line-height:1.9;color:#8a9389;padding:7px 15px 16px}@media(min-width:600px){.app{padding-top:45px}h1{font-size:27px}.eyebrow{font-size:10px}.padded,.player-content{padding:24px}.player-card>.section-heading{padding:20px 24px}.button{font-size:14px}.hint,.notice{font-size:12px}.section-description{font-size:13px}}
