.rv-screen{padding-bottom:calc(env(safe-area-inset-bottom) + 16px);gap:10px}.rv-header{align-items:center;gap:4px;min-height:48px;display:flex}.rv-header__title{flex-direction:column;flex:1;min-width:0;display:flex}.rv-header__title h1{font-size:20px}.rv-header__title .muted{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.rv-result{white-space:nowrap}.rv-result--win{color:#fff;background:#3e9c6e}.rv-result--draw{color:#22160a;background:#c9a24b}.rv-result--loss{color:#fff;background:#e25d4c}.rv-iconbtn{min-width:44px;min-height:44px;color:var(--text);background:0 0;border:0;border-radius:12px;justify-content:center;align-items:center;display:inline-flex}.rv-iconbtn:disabled{opacity:.35}.rv-iconbtn--big{background:var(--surface2);min-width:56px}.rv-iconbtn--accent{background:var(--accent);color:var(--accent-ink)}.rv-iconbtn:active:not(:disabled){transform:scale(.95)}.rv-badge{color:#fff;letter-spacing:-.06em;text-shadow:0 1px 1px #0000004d;border-radius:50%;flex:none;justify-content:center;align-items:center;font-family:Inter,sans-serif;font-weight:900;line-height:1;display:inline-flex;box-shadow:inset 0 -2px #0003,0 1px 3px #00000059}.rv-badge svg{filter:drop-shadow(0 1px 1px #0000004d)}.rv-boardrow{touch-action:pan-y;align-items:stretch;gap:6px;width:100%;max-width:520px;margin:0 auto;display:flex}.rv-board{aspect-ratio:1;border-radius:6px;flex:1;min-width:0;position:relative;overflow:visible}.rv-board__svg{-webkit-user-select:none;user-select:none;border-radius:6px;width:100%;height:100%;display:block;box-shadow:0 8px 24px #00000073}.rv-coord{pointer-events:none;font:700 17px Inter,sans-serif}.rv-piece{transition:none}.rv-piece--moved{animation:.22s cubic-bezier(.2,.8,.3,1) rvSlide}@keyframes rvSlide{0%{transform:translate(var(--dx), var(--dy))}to{transform:translate(0)}}.rv-board__badge{z-index:2;pointer-events:none;animation:.28s cubic-bezier(.3,1.6,.5,1) rvPop;position:absolute;transform:translate(-50%)}@keyframes rvPop{0%{opacity:0;transform:translate(-50%)scale(.3)}to{opacity:1;transform:translate(-50%)scale(1)}}.rv-evalbar{background:#403d39;border-radius:5px;flex:none;width:22px;position:relative;overflow:hidden}.rv-evalbar__white{background:#f4f1ea;transition:height .35s;position:absolute;left:0;right:0}.rv-evalbar__label{text-align:center;letter-spacing:-.02em;font:800 9px Inter,sans-serif;position:absolute;left:0;right:0}.rv-evalbar__label.is-bottom{bottom:4px}.rv-evalbar__label.is-top{top:4px}.rv-evalbar__label.on-white{color:#403d39}.rv-evalbar__label.on-black{color:#f4f1ea}.rv-graph-wrap{width:100%;max-width:520px;height:56px;margin:0 auto;position:relative}.rv-graph{cursor:pointer;touch-action:none;border-radius:8px;width:100%;height:100%;display:block}.rv-graph__black{fill:#403d39}.rv-graph__white{fill:#f4f1ea}.rv-graph__mid{stroke:#80808099;stroke-width:1px}.rv-graph__cursor{stroke:var(--accent);stroke-width:2px}.rv-graph__dot{pointer-events:none;border:1.5px solid #fff;border-radius:50%;width:9px;height:9px;position:absolute;transform:translate(-50%,-50%);box-shadow:0 1px 2px #0006}.rv-moves{background:var(--surface);border-radius:var(--radius);flex-direction:column;gap:2px;width:100%;max-width:520px;max-height:150px;margin:0 auto;padding:6px;display:flex;overflow-y:auto}.rv-moves__row{grid-template-columns:34px 1fr 1fr;align-items:center;gap:4px;display:grid}.rv-moves__no{color:var(--muted);text-align:right;padding-right:4px;font-size:13px}.rv-moves__move{text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:6px;min-height:36px;padding:0 8px;font:600 14px Inter,sans-serif;display:flex}.rv-moves__move[aria-current=true]{background:var(--surface2);outline:2px solid var(--accent);outline-offset:-2px}.rv-moves__move--empty{color:var(--muted)}.rv-coach{align-items:flex-end;gap:8px;min-height:112px;display:flex}.rv-coach__who{flex-direction:column;flex:none;align-items:center;gap:2px;width:56px;display:flex}.rv-coach__bubble{flex-direction:column;gap:6px;display:flex}.rv-coach__bubble p{margin:0;font-size:14px;line-height:1.4}.rv-coach__head{align-items:center;gap:8px;display:flex}.rv-coach__head b{font-size:15px}.rv-coach__foot{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.rv-nis{color:#7cffb2;background:#0e1a12;border-radius:999px;align-items:center;gap:4px;padding:2px 8px 2px 4px;font:600 12px ui-monospace,SFMono-Regular,Menlo,monospace;display:inline-flex}.rv-disagree{color:var(--muted);background:0 0;border:0;min-height:32px;margin-left:auto;font-size:12px;text-decoration:underline}.rv-disagree__picker{flex-wrap:wrap;gap:4px;margin-left:auto;display:flex}.rv-disagree__opt{background:var(--surface2);border:0;border-radius:10px;place-items:center;min-width:40px;min-height:40px;display:grid}.rv-toolbar{background:var(--surface);border-radius:var(--radius);width:100%;max-width:520px;bottom:calc(env(safe-area-inset-bottom) + 4px);justify-content:center;align-items:center;gap:8px;margin:0 auto;padding:6px;display:flex;position:sticky}.rv-best{border:1.5px solid var(--border);min-width:64px;min-height:44px;color:var(--muted);background:0 0;border-radius:12px;font-weight:700}.rv-best.is-on{color:#16210c;background:#81b64c;border-color:#81b64c}.rv-progress{text-align:center;flex-direction:column;align-items:center;gap:14px;padding:40px 12px;display:flex}.rv-progress__crew{align-items:flex-end;gap:8px;display:flex}.rv-progress__line{font:700 18px var(--display);max-width:300px;margin:0}.rv-progress__bar{width:100%;max-width:320px}.rv-summary{flex-direction:column;gap:12px;width:100%;max-width:520px;margin:0 auto;display:flex}.rv-scores__head,.rv-scores__row,.rv-count{grid-template-columns:1fr 72px 72px;align-items:center;gap:6px;display:grid}.rv-scores__head b{text-align:center;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:12px}.rv-big{text-align:center;font:700 24px var(--display)}.rv-dim{opacity:.7}.rv-count{grid-template-columns:44px 1fr 44px;min-height:34px}.rv-count__n{text-align:center;color:var(--muted);font:800 16px Inter,sans-serif}.rv-count__label{align-items:center;gap:10px;font-weight:600;display:flex}.rv-phases{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.rv-phase{background:var(--surface2);border-radius:12px;flex-direction:column;align-items:center;gap:6px;padding:10px 4px;display:flex}.rv-phase__none{height:30px;color:var(--muted);line-height:30px}.rv-start{width:100%;min-height:52px;font-size:17px}@media (prefers-reduced-motion:reduce){.rv-piece--moved,.rv-board__badge{animation:none}.rv-evalbar__white{transition:none}}:root{--bg:#120c08;--surface:#1a120d;--surface2:#271b13;--border:#3a2819;--text:#f6ead7;--muted:#d1bda3;--accent:#d4a24c;--accent-ink:#22160a;--display:"Fraunces", serif;--radius:14px;--tabbar-h:64px;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body,#root{height:100%;margin:0}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;overscroll-behavior-y:none;font:400 15px/1.45 Inter,system-ui,sans-serif}button{font:inherit;color:inherit;cursor:pointer}input{font:inherit}h1,h2,h3{font-family:var(--display);letter-spacing:-.01em;margin:0}.app{flex-direction:column;max-width:520px;height:100%;margin:0 auto;display:flex}.screen{-webkit-overflow-scrolling:touch;padding:calc(env(safe-area-inset-top) + 12px) 12px calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 16px);flex-direction:column;flex:1;gap:12px;display:flex;overflow-y:auto}.screen-title{align-items:center;gap:8px;min-height:44px;display:flex}.screen-title h1{font-size:26px}.card{background:var(--surface);border-radius:var(--radius);flex-direction:column;gap:10px;padding:14px;display:flex}.card h2{font-size:17px}.muted{color:var(--muted);font-size:13px}.row{align-items:center;gap:8px;display:flex}.spacer{flex:1}.btn{background:var(--accent);min-height:44px;color:var(--accent-ink);border:0;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:0 18px;font-weight:700;transition:transform .12s,filter .12s;display:inline-flex}.btn:active{transform:scale(.97)}.btn:disabled{opacity:.5}.btn--ghost{background:var(--surface2);color:var(--text);font-weight:600}.btn--danger{color:#fff;background:#b3311f}.input{border:1.5px solid var(--border);background:var(--surface2);width:100%;min-height:48px;color:var(--text);border-radius:12px;outline:none;padding:0 14px}.input:focus{border-color:var(--accent)}.chip{background:var(--surface2);border:0;border-radius:999px;padding:6px 12px;font:700 12px Inter,sans-serif}.chip--on{background:var(--accent);color:var(--accent-ink)}.tabbar{z-index:10;height:calc(var(--tabbar-h) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:color-mix(in srgb, var(--surface) 92%, transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid var(--border);justify-content:center;display:flex;position:fixed;bottom:0;left:0;right:0}.tabbar__inner{width:100%;max-width:520px;display:flex}.tabbar button{color:var(--muted);background:0 0;border:0;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:3px;font:600 11px Inter,sans-serif;display:flex}.tabbar button[aria-current=page]{color:var(--accent)}.sero-says{align-items:flex-end;gap:8px;display:flex}.sero-says__bear{flex-direction:column;flex:none;align-items:center;gap:2px;display:flex}.sero-says__name{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font:800 10px Inter,sans-serif}.sero-says__bubble{background:var(--surface);border:1px solid var(--border);border-radius:12px;flex:1;min-width:0;padding:10px 12px;font-size:14px;position:relative}.sero-says__bubble:before{content:"";background:var(--surface);border-left:1px solid var(--border);border-bottom:1px solid var(--border);width:12px;height:12px;position:absolute;bottom:26px;left:-7px;transform:rotate(45deg)}.list{border-radius:var(--radius);flex-direction:column;gap:2px;display:flex;overflow:hidden}.list__item{background:var(--surface);align-items:center;gap:10px;min-height:56px;padding:12px 14px;display:flex}.res{color:#fff;border-radius:8px;flex:none;place-items:center;width:28px;height:28px;font:800 12px Inter,sans-serif;display:grid}.res--win{background:#3e9c6e}.res--draw{color:#22160a;background:#c9a24b}.res--loss{background:#e25d4c}.progress{background:var(--surface2);border-radius:4px;height:8px;overflow:hidden}.progress>div{background:var(--accent);border-radius:4px;height:100%;transition:width .6s}.kpis{grid-template-columns:1fr 1fr;gap:8px;display:grid}.kpi{background:var(--surface);border-radius:12px;padding:12px}.kpi b{font:700 22px var(--display);display:block}table.diag{border-collapse:collapse;width:100%;font-size:12px}table.diag td,table.diag th{text-align:left;border-bottom:1px solid var(--border);padding:6px 4px}@keyframes seroBob{0%,to{transform:translateY(0)}50%{transform:translateY(-3px)}}@keyframes seroWave{0%,to{transform:rotate(0)}50%{transform:rotate(-14deg)}}.sero-bob{animation:2.2s ease-in-out infinite seroBob}.sero-wave{transform-box:view-box;transform-origin:64px 74px;animation:1.4s ease-in-out infinite seroWave}@keyframes spin{to{transform:rotate(360deg)}}.spin{animation:1s linear infinite spin}@media (prefers-reduced-motion:reduce){.sero-bob,.sero-wave,.spin{animation:none}}
