:root,:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0e0f13;--surface:#1a1c23;--surface-2:#242731;--surface-3:#2f3340;--line:#2f3340;--line-strong:#3a3f4d;--text:#f2f3f5;--text-2:#d5d8de;--muted:#9aa0ac;--faint:#5c6270;--good:#4cc45b;--good-fill:#3fb950;--warn:#ffb547;--bad:#ff8f86;--bad-fill:#dd3532;--warn-fill:#ffb547;--on-warn-fill:#14161b;--on-bad-fill:#fff;--on-from-hand-fill:#14161b;--good-soft:#3fb95029;--warn-soft:#ffb54724;--bad-soft:#f8514929;--from-hand:#cc80ff;--from-hand-soft:#b07cff29;--overlay:#000000b8;--overlay-soft:#00000052;--shadow:0 16px 48px #00000080}:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f3f4f6;--surface:#fff;--surface-2:#eef0f3;--surface-3:#e2e5ea;--line:#dadde3;--line-strong:#c3c8d0;--text:#14161b;--text-2:#2f343d;--muted:#555b66;--faint:#a0a6b0;--good:#006525;--good-fill:#1a7f37;--warn:#7b5100;--bad:#a3001a;--bad-fill:#cf222e;--warn-fill:#9a6700;--on-warn-fill:#fff;--on-bad-fill:#fff;--on-from-hand-fill:#fff;--good-soft:#1a7f371f;--warn-soft:#9a67001f;--bad-soft:#cf222e1a;--from-hand:#6b37c8;--from-hand-soft:#7443d41a;--overlay:#14161b73;--overlay-soft:#14161b33;--shadow:0 16px 48px #14161b2e}:root{--on-accent:#fff}:root,:root[data-accent=blue]{--accent:#2f6feb;--accent-strong:#1f5bd6;--accent-text:#6ca4ff}:root[data-accent=pink]{--accent:#e0246e;--accent-strong:#c41a5d;--accent-text:#ff7aab}:root[data-accent=green]{--accent:#0d7d74;--accent-strong:#0a6a62;--accent-text:#2ec4b6}:root[data-accent=orange]{--accent:#c2410c;--accent-strong:#a8380a;--accent-text:#ff8f4d}:root[data-accent=purple]{--accent:#7c4ddb;--accent-strong:#6a3cc9;--accent-text:#b28cff}:root[data-theme=light][data-accent=blue]{--accent-text:#1f5bd6}:root[data-theme=light][data-accent=pink]{--accent-text:#c41a5d}:root[data-theme=light][data-accent=green]{--accent-text:#0b6e66}:root[data-theme=light][data-accent=orange]{--accent-text:#a8380a}:root[data-theme=light][data-accent=purple]{--accent-text:#6a3cc9}:root[data-accent=yellow]{--accent:#f5b700;--accent-strong:#e0a500;--accent-text:#ffd24d;--on-accent:#1a1400}:root[data-theme=light][data-accent=yellow]{--accent:#b45309;--accent-strong:#92400e;--accent-text:#9a4708;--on-accent:#fff}:root[data-accent=mono]{--accent:#f2f3f5;--accent-strong:#d5d8de;--accent-text:#fff;--on-accent:#0e0f13}:root[data-theme=light][data-accent=mono]{--accent:#14161b;--accent-strong:#000;--accent-text:#14161b;--on-accent:#fff}:root{--accent-soft:#2f6feb29}:root[data-theme=light]{--accent-soft:#2f6feb1a}:root[data-accent=custom]{--accent-soft:color-mix(in srgb, var(--accent) 16%, transparent)}:root[data-theme=light][data-accent=custom]{--accent-soft:color-mix(in srgb, var(--accent) 10%, transparent)}*{box-sizing:border-box;margin:0;padding:0}html{font-size:18px}body{font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:var(--bg);color:var(--text);margin:0;font-family:Inter,Helvetica Neue,arial,sans-serif;font-size:16px;font-weight:500;line-height:1.5}#full{background:var(--bg);flex-direction:column;justify-content:flex-start;align-items:stretch;width:100vw;height:100dvh;margin:0;padding:0;display:flex;overflow:auto}.header{background:var(--surface);border-bottom:1px solid var(--line);align-items:center;gap:2px;width:100%;min-height:52px;padding:0 6px;display:flex;position:relative}#connection{font-weight:700}.btnblue{color:var(--text-2);cursor:pointer;background:0 0;border:none;border-radius:10px;justify-content:center;align-items:center;gap:6px;min-width:44px;height:44px;padding:0 10px;font-family:inherit;font-size:15px;font-weight:600;text-decoration:none;transition:background .15s,color .15s;display:inline-flex}.btnblue:hover{background:var(--surface-2);color:var(--text)}.btnblue.outlined{border:1px solid color-mix(in srgb, var(--muted) 75%, var(--surface));border-radius:10px;width:44px;padding:0;transition:background .2s,color .2s,border-color .2s}.btnblue.outlined.done{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}.btnblue.outlined.done:hover{background:var(--accent-strong);border-color:var(--accent-strong);color:var(--on-accent)}@media (prefers-reduced-motion:reduce){.btnblue.outlined{transition:none}}.header>.btnblue{white-space:nowrap;flex:none}.header-title{min-width:0;height:44px;color:var(--text);cursor:pointer;background:0 0;border:0;border-radius:10px;flex:1 1 0;justify-content:center;align-items:center;gap:4px;padding:0 6px;font-family:inherit;font-size:17px;font-weight:700;transition:background .15s;display:inline-flex}@media (hover:hover){.header-title:hover:not(:disabled){background:var(--surface-2)}}.header-title:focus-visible{outline:2px solid var(--accent-text);outline-offset:2px}.header-title:disabled{cursor:default;color:var(--text)}.header-title-text{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.header-title-info{color:var(--muted);flex:none;display:inline-flex}@media (max-width:360px){.header-title{font-size:15px}}@media (prefers-reduced-motion:reduce){.header-title{transition:none}}#result{box-sizing:border-box;flex:1;width:100%;max-width:100vw;padding:0;overflow:auto}table.header{text-align:center;width:100%;margin:0;padding:0}table.hra{border-collapse:collapse;border-spacing:2px;table-layout:fixed;width:100%;max-width:100%;margin:0;font-size:clamp(12px,1.8vh,20px);overflow:hidden}table.hra th,table.hra td{border:1px solid var(--line);text-align:center;text-overflow:ellipsis;white-space:nowrap;height:clamp(1.5em,3vh,2.5em);padding:clamp(2px,.5vh,8px);overflow:hidden}table.hra th:first-child,table.hra td:first-child{color:var(--text);background:var(--bg);font-weight:800}table.hra th:not(:first-child) div,table.hra th:not(:first-child),table.hra td:not(:first-child) div,table.hra td:not(:first-child){white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden}table.hra th{background:var(--surface);color:var(--muted);font-weight:700}table.hra th.active{background:var(--accent);color:var(--on-accent)}table.hra th.inactiveh{background:var(--surface);color:var(--muted);position:relative}table.hra th.inactiveh:not(:first-child)>div{position:relative}table.hra th.inactiveh:not(:first-child)>div:before{content:none}table.hra th.inactiveh:not(:first-child)>div>*{z-index:1;position:relative}table.hra td{background:var(--bg);color:var(--text);cursor:pointer}table.hra td:hover{background:var(--surface-2)}table.hra td.ok{background:var(--surface-2);color:var(--text)}table.hra td.fail{background:var(--bad-soft);color:var(--bad)}table.hra td.active{background:var(--accent-soft)}table.hra td.ok.active{background:linear-gradient(var(--accent-soft), var(--accent-soft)), var(--surface-2)}table.hra td.fail.active{background:linear-gradient(to right, transparent var(--is), var(--bad-fill) var(--is), var(--bad-fill) calc(var(--is) + 3px), transparent calc(var(--is) + 3px)), linear-gradient(var(--bad-soft), var(--bad-soft)), linear-gradient(var(--bad-soft), var(--bad-soft)), linear-gradient(var(--accent-soft-jemne,var(--accent-soft)), var(--accent-soft-jemne,var(--accent-soft))), var(--bg)}.turn-overshoot{color:var(--muted);text-decoration:line-through}table.hra td.fromhand,table.hra td.fromhand.active{background:var(--from-hand-soft);color:var(--from-hand)}.activefromhand{color:var(--from-hand);font-weight:700}table.hra td:is(.active,.col-active,.col-winner){border-top-color:var(--line-strong);border-bottom-color:var(--line-strong)}table.hra td{--it:0px;--is:0px;--ib:0px}table.hra td:is(.active,.col-active,.col-winner){--is:2px}table.hra td.col-top{--it:4px}table.hra td.col-bottom{--ib:2px}table.hra td.resultok,table.hra td.resultfail,table.hra td.resultfromhand{position:relative;overflow:hidden}table.hra td.resultok:before,table.hra td.resultfail:before,table.hra td.resultfromhand:before{content:"";top:var(--it);left:var(--is);right:var(--is);bottom:var(--ib);background:var(--accent);z-index:1;pointer-events:none;animation:.7s cubic-bezier(.5,0,.3,1) forwards toMark;position:absolute}table.hra td.resultfail:before{background:var(--bad-fill)}table.hra td.resultfromhand:before{background:var(--from-hand)}table.hra td.last-move,table.hra td.last-move-fail,table.hra td.last-move-fromhand{position:relative}table.hra td.resultok:after,table.hra td.resultfail:after,table.hra td.resultfromhand:after,table.hra td.last-move:after,table.hra td.last-move-fail:after,table.hra td.last-move-fromhand:after{content:"";top:var(--it);right:var(--is);border-style:solid;border-width:0 12px 12px 0;border-color:transparent var(--accent) transparent transparent;z-index:2;pointer-events:none;width:0;height:0;position:absolute}table.hra td.resultfail:after,table.hra td.last-move-fail:after{border-color:transparent var(--bad-fill) transparent transparent}table.hra td.resultfromhand:after,table.hra td.last-move-fromhand:after{border-color:transparent var(--from-hand) transparent transparent}table.hra td.resultok:after,table.hra td.resultfail:after,table.hra td.resultfromhand:after{animation:.16s ease-out .69s backwards markIn}table.hra td.resultok>div,table.hra td.resultfail>div,table.hra td.resultfromhand>div{z-index:3;position:relative}table.hra td.resultok>div{animation:.45s cubic-bezier(.2,.9,.3,1.2) popWhite}table.hra td.resultfail .activefail{animation:.4s ease-out failWhite}table.hra td.resultfromhand .activefromhand{animation:.4s ease-out fromHandOnFill}@keyframes toMark{0%{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);opacity:.9}35%{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);opacity:.7}to{clip-path:polygon(calc(100% - 12px) 0,100% 0,100% 12px,100% 12px);opacity:1}}@keyframes markIn{0%{opacity:0}}@keyframes popWhite{0%{color:var(--on-accent);transform:scale(1.35)}45%{color:var(--on-accent)}to{transform:scale(1)}}@keyframes failWhite{0%,45%{color:var(--on-bad-fill)}}@keyframes fromHandOnFill{0%,45%{color:var(--on-from-hand-fill)}}.sum-chip{z-index:1000;pointer-events:none;background:var(--surface);color:var(--accent-text);font-variant-numeric:tabular-nums;border-radius:999px;padding:1px 6px;font-size:13px;font-weight:800;line-height:1.3;animation:.9s ease-out forwards chipUp;position:fixed;box-shadow:0 2px 6px #00000040}.sum-chip.bad{color:var(--bad)}.sum-chip.good{color:var(--good)}@keyframes chipUp{0%{opacity:0;transform:translate(-100%,10px)}25%{opacity:1;transform:translate(-100%)}75%{opacity:1}to{opacity:0;transform:translate(-100%,-14px)}}@media (prefers-reduced-motion:reduce){table.hra td.resultok:before,table.hra td.resultfail:before,table.hra td.resultfromhand:before{clip-path:none;background:var(--accent-soft);animation:.25s ease-out forwards rmFade}table.hra td.resultfail:before{background:var(--bad-soft)}table.hra td.resultfromhand:before{background:var(--from-hand-soft)}table.hra td.resultok:after,table.hra td.resultfail:after,table.hra td.resultfromhand:after,table.hra td.resultok>div,table.hra td.resultfail .activefail,table.hra td.resultfromhand .activefromhand{animation:none}}@keyframes rmFade{0%{opacity:1}to{opacity:0}}.forceedit{animation:1s ease-in-out forceEditPulse;box-shadow:0 0 0 3px var(--bad) inset!important}@keyframes forceEditPulse{0%,to{box-shadow:0 0 0 3px var(--bad) inset}50%{box-shadow:0 0 0 5px var(--bad) inset}}.activefail{color:var(--bad);font-weight:700}.menuLeftok{font-weight:800;background:var(--bg)!important;color:var(--text)!important;cursor:default!important}.menuLeftfail{font-weight:600;background:var(--bg)!important;color:var(--faint)!important;cursor:default!important}table.hra.turnsheet{border-collapse:separate;border-spacing:0}table.hra.turnsheet th,table.hra.turnsheet td{border-width:0 1px 1px 0}table.hra.turnsheet tr>:first-child{border-left-width:1px}table.hra.turnsheet thead tr:first-child>*{border-top-width:1px}.sumalabel{font-weight:800;background:var(--bg)!important;color:var(--muted)!important}.suma{font-weight:800;background:var(--bg)!important;color:var(--warn)!important}.sumamax{font-weight:800;background:var(--bg)!important;color:var(--good)!important}.sumamin{font-weight:800;background:var(--bg)!important;color:var(--bad)!important}.modal-overlay{background:var(--overlay);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;justify-content:center;align-items:center;animation:.2s fadeIn;display:flex;position:fixed;inset:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal{background:var(--surface);color:var(--text);width:90%;max-width:650px;max-height:90vh;box-shadow:var(--shadow);border:1px solid var(--line);border-radius:20px;padding:28px;animation:.25s slideUp;position:relative;overflow-y:auto}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.modal-close{color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:10px;width:44px;height:44px;padding:0;font-size:26px;line-height:44px;position:absolute;top:8px;right:8px}.modal-close:hover{color:var(--text);background:var(--surface-2)}.modal-icon{border-radius:50%;justify-content:center;align-items:center;width:80px;height:80px;margin:0 auto 20px;font-size:40px;animation:.5s iconPulse;display:flex}.modal-icon.error{background:var(--bad-soft);border:3px solid var(--bad);box-shadow:0 0 20px var(--bad-soft);transition:all .3s}.modal-icon.error:hover{box-shadow:0 0 30px var(--bad-soft);border-color:var(--warn);transform:scale(1.1)rotate(5deg)}.modal-icon.value{background:var(--accent-soft);border:2px solid var(--accent)}@keyframes iconPulse{0%{opacity:0;transform:scale(0)}50%{transform:scale(1.1)}to{opacity:1;transform:scale(1)}}.modal-message{text-align:center;color:var(--text-2);margin:15px 0 25px;font-size:16px;line-height:1.6}.modal-content h2{color:var(--text);text-align:center;margin-bottom:20px;font-size:22px;font-weight:800}.value-buttons{grid-template-columns:repeat(auto-fit,minmax(60px,1fr));gap:10px;margin-top:20px;display:grid}.value-button{background:var(--surface-2);color:var(--text);border:1px solid var(--line);cursor:pointer;border-radius:12px;justify-content:center;align-items:center;min-width:60px;height:56px;padding:15px;font-family:inherit;font-size:20px;font-weight:700;transition:background .15s,border-color .15s,transform 80ms;display:flex}@media (hover:hover){.value-button:hover{background:var(--surface-3)}}.value-button:active{transform:scale(.96)}.value-button.special{border-color:var(--bad);color:var(--bad);background:0 0;font-size:22px;font-weight:700}@media (hover:hover){.value-button.special:hover{background:var(--bad-soft)}}.value-button.hods-negative{background:var(--bad-soft);border-color:var(--bad);color:var(--bad)}.value-button.hods-negative:hover{background:var(--bad-soft)}.value-button.hods-positive{background:var(--good-soft);border-color:var(--good);color:var(--good)}.value-button.hods-positive:hover{background:var(--good-soft)}.hods-info{background:var(--surface-2);border:1px solid var(--line);border-radius:12px;margin:15px 0;padding:15px}.hods-info p{color:var(--text);text-align:center;margin:5px 0}.hods-info strong{color:var(--accent-text);font-size:20px}.hods-hint{color:var(--muted);font-size:14px}.value-section,.hods-section{margin:20px 0}.section-label{color:var(--text-2);text-align:center;margin-bottom:10px;font-size:15px;font-weight:700}.value-button.selected{background:var(--accent-soft);border:2px solid var(--accent);color:var(--text);transform:none}.value-button.selected:hover{background:var(--accent-soft)}.confirm-button:disabled{background:var(--surface-3);color:var(--faint);cursor:not-allowed;opacity:1}.confirm-button:disabled:hover{background:var(--surface-3);transform:none}.player-input{border:1px solid var(--line-strong);background:var(--bg);width:100%;color:var(--text);border-radius:10px;margin-bottom:20px;padding:12px;font-family:inherit;font-size:16px}.player-input:focus{border-color:var(--accent);outline:none}.modal-buttons{justify-content:center;gap:10px;display:flex}.confirm-button,.cancel-button{cursor:pointer;border:none;border-radius:12px;flex:1;justify-content:center;align-items:center;min-width:0;height:50px;padding:12px 24px;font-family:inherit;font-size:16px;font-weight:700;transition:background .15s;display:flex}.confirm-button{background:var(--accent);color:var(--on-accent)}.confirm-button:hover{background:var(--accent-strong)}.cancel-button{background:var(--surface-2);color:var(--text);border:1px solid var(--line-strong)}.cancel-button:hover{background:var(--surface-3)}table.hra th,table.hra td{padding:clamp(4px,1vh,12px)}table.hra td:first-child,table.hra th:first-child{min-width:3em;font-weight:900}@media (max-width:768px){table.hra th,table.hra td{padding:2px 4px;font-size:18px;line-height:1.2}table.hra td:first-child,table.hra th:first-child{text-align:center;white-space:nowrap;letter-spacing:-.5px;width:55px;min-width:55px;padding:2px;font-size:18px;font-weight:700;overflow:hidden}table.hra td:not(:first-child){padding:2px 3px;font-size:18px;font-weight:700}table.hra{border-spacing:1px}.header{padding:1px}.modal{width:95vw;max-width:500px;max-height:95vh;padding:15px;overflow-y:auto}.modal-content{padding:10px}.modal-content h2{margin-bottom:10px;font-size:18px}.modal-icon.value{display:none}.value-buttons{grid-template-columns:repeat(5,1fr);gap:4px}.value-button{height:48px;padding:6px;font-size:16px;font-weight:700}.modal-close{top:4px;right:4px}.modal-content .value-section,.modal-content .hods-section{margin-bottom:10px}.section-label{margin-bottom:6px;font-size:14px}.modal-buttons{gap:8px;margin-top:10px}.confirm-button,.cancel-button{height:42px;padding:10px 16px;font-size:14px}.hods-info strong{font-size:24px!important}}@media (max-width:768px) and (orientation:landscape){body{overflow:hidden}body:before{content:"📱 Otočte zařízení na výšku pro pokračování";background:var(--bg);width:100vw;height:100vh;color:var(--text);z-index:99999;text-align:center;justify-content:center;align-items:center;padding:20px;font-size:20px;font-weight:700;line-height:1.5;display:flex;position:fixed;top:0;left:0}body>*{display:none!important}body:before{display:flex!important}}.turn-input{gap:12px;display:grid}.turn-input h2{margin-bottom:8px;font-size:22px}.turn-keys{gap:6px;display:grid}.turn-keys .value-button{width:100%;min-width:0;height:44px;padding:0}@media (orientation:landscape) and (max-height:500px){.turn-input{grid-template-columns:1fr 1fr;align-items:start}.modal:has(.turn-input){width:96%;max-width:820px;padding:16px}}a{color:var(--accent-text)}.btn-primary,.btn-secondary{cursor:pointer;border-radius:12px;justify-content:center;align-items:center;gap:8px;height:52px;padding:0 20px;font-family:inherit;font-size:17px;font-weight:700;text-decoration:none;transition:background .15s,transform 80ms;display:inline-flex}.btn-primary{background:var(--accent);color:var(--on-accent);border:0}.btn-primary:hover{background:var(--accent-strong)}.btn-primary:disabled{background:var(--surface-3);color:var(--faint);cursor:not-allowed}.btn-secondary{color:var(--text);border:1px solid var(--line-strong);background:0 0}.btn-secondary:hover{background:var(--surface-2)}.btn-primary:active,.btn-secondary:active{transform:scale(.98)}.card{background:var(--surface);border:1px solid var(--line);border-radius:16px}.field{flex-direction:column;gap:6px;display:flex}.field label,.field .field-label{color:var(--text-2);font-size:14px;font-weight:600}.field .field-note{color:var(--muted);font-size:13px}.field .field-error{color:var(--bad);margin:0;font-size:14px}.field input,.input{height:48px;color:var(--text);background:var(--bg);border:1px solid var(--line-strong);border-radius:10px;outline:none;width:100%;padding:0 14px;font-family:inherit;font-size:16px}.field input:focus,.input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.field input::placeholder,.input::placeholder{color:var(--faint)}.field input:disabled,.input:disabled{opacity:.5;cursor:not-allowed;background:var(--surface-2)}.limit-alert{color:var(--bad);margin:0 0 10px;font-size:14px;font-weight:600;line-height:1.35}.setup-error{background:var(--bg);min-height:100dvh;color:var(--text);justify-content:center;padding:24px 16px;display:flex}.setup-error .card{flex-direction:column;align-self:flex-start;gap:12px;width:100%;max-width:420px;padding:18px 16px;display:flex}.setup-error h1{margin:0;font-size:20px;font-weight:800}.setup-error p{color:var(--bad);margin:0;font-size:15px}.eyebrow{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-size:13px;font-weight:600}.pill{white-space:nowrap;background:var(--surface-3);height:24px;color:var(--text-2);border-radius:999px;align-items:center;padding:0 9px;font-size:12px;font-weight:700;display:inline-flex}.pill.warn{background:var(--warn-soft);color:var(--warn)}.pill.good{background:var(--good-soft);color:var(--good)}.segmented{background:var(--bg);border:1px solid var(--line);border-radius:12px;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:4px;padding:4px;display:grid}.segmented button{height:44px;color:var(--text-2);cursor:pointer;background:0 0;border:0;border-radius:9px;font-family:inherit;font-size:15px;font-weight:700}.segmented button[aria-pressed=true]{background:var(--surface-3);color:var(--text)}.appearance{--swatch-gap:clamp(4px, 2vw, 10px);flex-direction:column;gap:12px;display:flex}.swatches{gap:var(--swatch-gap);display:flex}.swatch{aspect-ratio:1;border:3px solid var(--surface);min-width:0;box-shadow:0 0 0 1px var(--line-strong);cursor:pointer;border-radius:50%;flex:0 40px;padding:0}.swatch[aria-pressed=true]{box-shadow:0 0 0 3px var(--text)}.swatch-custom{background:conic-gradient(#f85149,#f5b700,#3fb950,#2ec4b6,#2f6feb,#7c4ddb,#e0246e,#f85149) border-box;border-color:#0000;display:block;position:relative}.swatch-custom[data-selected=true]{box-shadow:0 0 0 3px var(--text)}.swatch-custom:focus-visible{outline:2px solid var(--accent-text);outline-offset:3px}.soft-setting{flex-direction:column;gap:6px;display:flex}.soft-setting-label{color:var(--text-2);font-size:14px;font-weight:600}.segmented.soft-levels button{flex-direction:column;justify-content:center;align-items:center;gap:4px;min-width:0;padding:0 4px;line-height:18px;display:flex}.soft-level-label{white-space:nowrap;align-items:center;gap:4px;display:inline-flex}.soft-level-swatch{border:1px solid var(--line-strong);background:linear-gradient(var(--level-soft), var(--level-soft)), var(--bg);border-radius:3px;width:40px;height:10px}@media (max-width:360px){.segmented.soft-levels button{font-size:13px}.soft-level-label{gap:2px}.soft-level-label svg{width:11px;height:11px}}.segmented.soft-levels button[data-level=jemne]{--level-soft:var(--accent-soft-jemne,var(--accent-soft))}.segmented.soft-levels button[data-level=bezne]{--level-soft:var(--accent-soft-bezne,var(--accent-soft))}.segmented.soft-levels button[data-level=vyrazne]{--level-soft:var(--accent-soft-vyrazne,var(--accent-soft))}.segmented.soft-levels button[aria-disabled=true]{color:var(--muted);cursor:not-allowed}.segmented.soft-levels button[aria-pressed=true][aria-disabled=true]{color:var(--text)}.segmented.soft-levels button[aria-disabled=true] svg{color:var(--muted)}.segmented.soft-levels button:focus-visible{outline:2px solid var(--accent-text);outline-offset:2px}.soft-setting-note{min-height:18px;color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:13px;line-height:18px;overflow:hidden}.appearance-hint{color:var(--warn);margin-top:-4px;font-size:13px}.modal.color-dialog{overscroll-behavior:contain;max-width:440px}.modal.color-dialog:focus{outline:none}.color-dialog-title{color:var(--text);margin:0 44px 14px 0;font-size:22px;font-weight:800}.color-dialog .appearance-hint{margin:8px 0 0}.color-dialog-hint{min-height:18.2px;line-height:1.4}.color-preview{grid-template-columns:1fr 1fr;gap:8px;display:grid}.color-preview-plate{background:var(--plate-bg);height:88px;color:var(--plate-fg);box-shadow:inset 0 0 0 1px var(--line);text-align:left;border:0;border-radius:12px;flex-direction:column;justify-content:space-between;align-items:flex-start;padding:10px 12px;font-family:inherit;line-height:1.25;display:flex}button.color-preview-plate{cursor:pointer;transition:transform .1s}button.color-preview-plate:not([aria-disabled=true]):hover{box-shadow:inset 0 0 0 1px var(--line), 0 0 0 2px var(--line-strong)}button.color-preview-plate:not([aria-disabled=true]):active{transform:scale(.98)}button.color-preview-plate[aria-disabled=true]{cursor:default}button.color-preview-plate[aria-disabled=true] .color-preview-action{visibility:hidden}.color-preview-top{flex-wrap:wrap;justify-content:space-between;align-self:stretch;align-items:center;gap:2px 6px;min-height:24px;display:flex}.color-preview-action{white-space:nowrap;border:1px solid;border-radius:999px;padding:1px 7px;font-size:13px;font-weight:600}.color-preview-plate:focus-visible{outline:2px solid var(--text);outline-offset:2px}.color-preview-caption{font-size:13px;font-weight:600}.color-preview-sample{font-size:17px;font-weight:700}.color-variants-label{color:var(--muted);margin-top:10px;font-size:13px;display:block}.color-variants{align-items:center;gap:6px;height:44px;margin-top:4px;display:flex}.color-variants button{border:3px solid var(--surface);background:var(--cell);height:44px;color:var(--cell-fg);font-variant-numeric:tabular-nums;box-shadow:0 0 0 1px var(--line-strong);cursor:pointer;border-radius:12px;flex:0 0 52px;padding:0;font-family:inherit;font-size:13px;font-weight:700}.color-variants button[aria-pressed=true]{box-shadow:0 0 0 3px var(--text)}.color-variants button[aria-disabled=true]{cursor:not-allowed;background:linear-gradient(to top right, transparent calc(50% - 3px), var(--surface) calc(50% - 3px), var(--surface) calc(50% - 1px), var(--text) calc(50% - 1px), var(--text) calc(50% + 1px), var(--surface) calc(50% + 1px), var(--surface) calc(50% + 3px), transparent calc(50% + 3px)), linear-gradient(color-mix(in srgb, var(--surface) 55%, transparent), color-mix(in srgb, var(--surface) 55%, transparent)), var(--cell,var(--surface-2));color:var(--muted)}.color-variants button[aria-disabled=true]>span{visibility:hidden}.color-presets{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin-top:12px;display:grid}.color-presets button{cursor:pointer;background:0 0;border:0;border-radius:10px;justify-content:center;align-items:center;height:48px;padding:0;display:flex}.color-presets button:before{content:"";aspect-ratio:1;background:var(--cell);border:3px solid var(--surface);width:min(40px,100%);box-shadow:0 0 0 1px var(--line-strong);box-sizing:border-box;border-radius:50%}.color-presets button[aria-pressed=true]:before{box-shadow:0 0 0 3px var(--text)}.color-variants button:focus-visible,.color-presets button:focus-visible{outline:2px solid var(--text);outline-offset:2px}.color-field{flex-direction:column;margin-top:8px;display:flex}.color-field-row{grid-template-columns:64px minmax(0,1fr) 44px;align-items:center;gap:8px;min-height:44px;display:grid}.color-field-label{color:var(--text-2);font-size:14px;font-weight:600}.color-field-value{color:var(--muted);text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;font-size:14px}.color-range-hue{--track:linear-gradient(to right, hsl(0 var(--s) var(--lt)), hsl(60 var(--s) var(--lt)), hsl(120 var(--s) var(--lt)), hsl(180 var(--s) var(--lt)), hsl(240 var(--s) var(--lt)), hsl(300 var(--s) var(--lt)), hsl(360 var(--s) var(--lt)))}.color-range-sat{--track:linear-gradient(to right, hsl(var(--h) 0% var(--lt)), hsl(var(--h) 100% var(--lt)))}.color-range-light{--track:linear-gradient(to right, hsl(var(--h) var(--s) 0%), hsl(var(--h) var(--s) 50%), hsl(var(--h) var(--s) 100%))}.color-range{appearance:none;cursor:pointer;touch-action:pan-y;background:0 0;width:100%;height:44px;margin:0}.color-range::-webkit-slider-runnable-track{background:var(--track);height:12px;box-shadow:inset 0 0 0 1px var(--line);border-radius:6px}.color-range::-moz-range-track{background:var(--track);height:12px;box-shadow:inset 0 0 0 1px var(--line);border-radius:6px}.color-range::-webkit-slider-thumb{appearance:none;background:hsl(var(--h) var(--s) var(--l));border:3px solid var(--surface);width:28px;height:28px;box-shadow:0 0 0 2px var(--text);box-sizing:border-box;border-radius:50%;margin-top:-8px}.color-range::-moz-range-thumb{background:hsl(var(--h) var(--s) var(--l));border:3px solid var(--surface);width:28px;height:28px;box-shadow:0 0 0 2px var(--text);box-sizing:border-box;border-radius:50%}.color-range:focus{outline:none}.color-range:focus-visible::-webkit-slider-thumb{outline:2px solid var(--text);outline-offset:2px}.color-range:focus-visible::-moz-range-thumb{outline:2px solid var(--text);outline-offset:2px}.color-code{margin-top:8px}.color-code[open]{padding-bottom:14px}.color-code-list{flex-direction:column;gap:6px;display:flex}.color-code-row{align-items:baseline;gap:8px;min-height:28px;display:flex}.color-code-label{color:var(--muted);flex:0 0 36px;font-size:12px;font-weight:600}.color-code-row code{color:var(--text);overflow-wrap:break-word;-webkit-user-select:all;user-select:all;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:14px}.color-code-note{color:var(--muted);margin:8px 0 0;font-size:13px;line-height:1.4}.color-code-contrast{color:var(--muted);font-variant-numeric:tabular-nums;margin:8px 0 0;font-size:13px}.color-dialog-footer{gap:10px;display:flex}.color-dialog-footer>*{white-space:nowrap;flex:1 1 0;min-width:0;padding:0 12px}.sheet-backdrop{background:var(--overlay);z-index:900;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{background:var(--surface);width:100%;max-width:520px;color:var(--text);border-top:1px solid var(--line);padding:10px 16px calc(20px + env(safe-area-inset-bottom));overscroll-behavior:contain;border-radius:20px 20px 0 0;flex-direction:column;gap:6px;max-height:90dvh;animation:.2s slideUp;display:flex;overflow-y:auto}.sheet>*{flex-shrink:0}.sheet-handle{z-index:1;background:var(--surface);justify-content:center;margin:-10px -16px 0;padding:10px 0 6px;display:flex;position:sticky;top:-10px}.sheet-handle:before{content:"";background:var(--line-strong);border-radius:2px;width:40px;height:4px}.sheet-item{min-height:52px;color:var(--text);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:12px;padding:0 8px;font-family:inherit;font-size:16px;font-weight:600;text-decoration:none;display:flex}.sheet-item:hover{background:var(--surface-2)}.sheet-item:disabled{cursor:default;color:var(--muted)}.sheet-item:disabled:hover{background:0 0}.sheet-section{flex-direction:column;gap:10px;padding:10px 8px 4px;display:flex}.sheet-section-title{color:var(--text);align-items:center;gap:12px;margin:0;font-size:16px;font-weight:600;display:flex}.icon{flex:none;width:22px;height:22px}table.hra td.free:after{content:"+";content:"+" / "";color:var(--muted);font-weight:400}.win-track{background:var(--line);border-radius:2px;height:3px;position:absolute;bottom:4px;left:6px;right:6px}.win-bar{background:var(--warn-fill);border-radius:2px;height:3px}.sumamax .win-bar{background:var(--good-fill)}.sumamin .win-bar{background:var(--bad-fill)}.value-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin-top:12px;display:grid}.value-grid .value-button{border-radius:10px;width:100%;min-width:0;height:44px;padding:0;font-size:18px}.modal-content.value-modal{padding:0}.cross-button{color:var(--bad);border:1px solid var(--bad);background:0 0}.cross-button:hover{background:var(--bad-soft)}@media (max-width:768px) and (orientation:portrait){.modal-overlay{align-items:flex-end}.modal{width:100%;max-width:560px;max-height:92dvh;padding:18px 16px calc(20px + env(safe-area-inset-bottom));border-bottom:0;border-radius:20px 20px 0 0}}.modal{--modal-pad-b:28px;--modal-pad-x:28px}@media (max-width:768px) and (orientation:portrait){.modal{--modal-pad-b:calc(20px + env(safe-area-inset-bottom));--modal-pad-x:16px}}.modal-footer{bottom:calc(-1 * var(--modal-pad-b));margin:16px calc(-1 * var(--modal-pad-x)) calc(-1 * var(--modal-pad-b));padding:12px var(--modal-pad-x) var(--modal-pad-b);background:var(--surface);border-top:1px solid var(--line);z-index:2;position:sticky}.settings-box{background:var(--surface-2);color:var(--text);border-radius:12px;margin-bottom:14px;padding:12px;font-size:14px}.check-row{min-height:36px;color:var(--text);cursor:pointer;align-items:center;gap:10px;font-size:15px;font-weight:600;display:flex}.check-row input[type=checkbox],.settings-box input[type=checkbox]{width:20px;height:20px;accent-color:var(--accent);cursor:pointer;flex:none}select.input{appearance:auto}.setting-row{color:var(--text);align-items:center;gap:10px;margin-bottom:10px;font-weight:600;display:flex}.setting-row.sub{padding-left:30px;font-weight:500}.setting-row-label{cursor:pointer;flex:1;align-items:center;gap:10px;min-width:0;display:flex}.setting-row{flex-wrap:wrap}.setting-row .setting-row-label{text-wrap:balance;flex:130px}.setting-row.sub .setting-row-label{flex-basis:96px}.setting-row .setting-row-control{margin-left:auto}.settings-box>select.input{padding:0 8px 0 12px}@media (max-width:359px){.settings-box>select.input{padding:0 4px 0 8px}}.setting-row.has-hint{margin-bottom:2px}.setting-row-hint{color:var(--muted);margin:0 0 10px;font-size:13px;font-weight:500}.setting-row-hint.sub{padding-left:30px}.setting-row .setting-row-control{flex:0 0 150px;width:150px}.setting-row .setting-row-control:disabled{opacity:.4;background:var(--bg)}textarea.input{resize:vertical;height:auto;min-height:120px;padding:12px 14px;line-height:1.45}.count-badge{background:var(--accent);min-width:22px;height:22px;color:var(--on-accent);font-variant-numeric:tabular-nums;border-radius:999px;justify-content:center;align-items:center;padding:0 7px;font-size:13px;font-weight:800;display:inline-flex}.player-row{background:var(--surface-2);min-height:48px;color:var(--text);border-radius:10px;align-items:center;gap:4px;padding:0 4px 0 12px;display:flex}.icon-button{width:40px;height:40px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.icon-button:hover{background:var(--surface-3)}.chip-add{border:1px dashed var(--line-strong);height:36px;color:var(--text-2);cursor:pointer;background:0 0;border-radius:999px;padding:0 12px;font-family:inherit;font-size:14px;font-weight:600}.chip-add:hover{color:var(--text);border-style:solid}.settings-details{background:var(--surface-2);border-radius:12px;padding:0 14px}.settings-details summary{min-height:48px;color:var(--text);cursor:pointer;justify-content:flex-start;align-items:center;gap:8px;font-size:15px;font-weight:700;list-style:none;display:flex}.settings-details summary::-webkit-details-marker{display:none}.settings-details>summary>:first-child{margin-right:auto}.settings-details>summary:after{content:"▾";content:"▾" / "";color:var(--muted);flex:none;font-size:14px;line-height:1;transition:transform .15s}.settings-details[open]>summary:after{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.settings-details>summary:after{transition:none}}.btn-small{border:1px solid var(--line-strong);height:32px;color:var(--text);cursor:pointer;background:0 0;border-radius:8px;padding:0 10px;font-family:inherit;font-size:13px;font-weight:600}.btn-small.danger{border-color:var(--bad);color:var(--bad)}.thumb{object-fit:cover;border:1px solid var(--line);background:var(--surface-2);border-radius:10px;flex:none;width:64px;height:64px;display:block}.thumb-row{align-items:center;gap:12px;display:flex}.thumb-meta{min-width:0;color:var(--muted);font-variant-numeric:tabular-nums;flex:1;font-size:14px}.btn-small.btn-touch{height:44px;padding:0 14px;font-size:15px}.btn-secondary.image-pick{align-self:flex-start;min-width:220px}.btn-secondary:disabled,.btn-small:disabled{color:var(--faint);cursor:not-allowed}.btn-secondary:disabled:hover{background:0 0}a:focus-visible>.thumb,.thumb:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.rank-card{background:var(--surface-2);color:var(--text);border-radius:12px;flex-direction:column;gap:8px;padding:12px 14px;display:flex}.rank-badge{border-radius:50%;flex:none;justify-content:center;align-items:center;width:28px;height:28px;font-size:14px;font-weight:800;display:inline-flex}.stat-tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px;display:grid}.stat-tile{background:var(--surface-2);border-radius:12px;flex-direction:column;gap:2px;padding:10px 12px;display:flex}.stat-tile strong{color:var(--text);font-size:20px;font-weight:800}.stat-tile span{color:var(--muted);font-size:12px}.stats-section{flex-direction:column;gap:6px;margin-top:18px;display:flex}.stats-section h3{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;margin:0 0 2px;font-size:13px;font-weight:600}.stats-row{color:var(--text);justify-content:space-between;gap:12px;font-size:14px;display:flex}.moves-table{border-collapse:collapse;width:100%;color:var(--text);font-size:13px}.moves-table th{background:var(--surface-2);text-align:left;color:var(--muted);padding:6px 4px;font-size:12px;position:sticky;top:0}.moves-table td{border-top:1px solid var(--line);padding:6px 4px}.admin-section{flex-direction:column;gap:12px;padding:16px;display:flex}.admin-section h2{margin:0}.admin-hint{color:var(--muted);margin:0;font-size:14px}.admin-table{border-collapse:collapse;width:100%;font-size:15px}.admin-table th{text-align:left;color:var(--muted);border-bottom:1px solid var(--line);padding:6px 8px;font-size:13px;font-weight:600}.admin-table td{border-bottom:1px solid var(--line);padding:10px 8px}.admin-table tr:last-child td{border-bottom:0}.admin-merge{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:10px;display:grid}@media (max-width:480px){.admin-merge{grid-template-columns:minmax(0,1fr)}.admin-merge>span{display:none}}.admin-archives{border:1px solid var(--line);border-radius:12px;max-height:320px;padding:4px;overflow-y:auto}.admin-archive{cursor:pointer;border-radius:8px;align-items:center;gap:12px;padding:10px;display:flex}.admin-archive:hover{background:var(--surface-2)}.admin-archive input{width:20px;height:20px;accent-color:var(--bad-fill);flex:none}.btn-primary.admin-danger,.confirm-button.admin-danger{background:var(--bad-fill)}.btn-primary.admin-danger:disabled,.confirm-button.admin-danger:disabled{background:var(--surface-3)}.btn-small:disabled{opacity:.4;cursor:not-allowed}.drag-handle{width:32px;height:40px;color:var(--faint);cursor:grab;touch-action:none;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;margin-left:-8px;display:inline-flex}.drag-handle:hover{color:var(--text-2)}.drag-handle:active{cursor:grabbing}.player-row.dragging{background:var(--accent-soft);box-shadow:0 0 0 2px var(--accent)}table.hra td.col-active{background:var(--accent-soft)!important}table.hra td.col-winner:not(.ok):not(.fail):not(.fromhand),table.hra td.suma.col-winner,table.hra td.sumamax.col-winner,table.hra td.sumamin.col-winner{background:var(--good-soft)!important}table.hra td.active,table.hra td.col-active{--frame:var(--accent)}table.hra td.col-winner{--frame:var(--good)}table.hra td.active,table.hra td.col-active,table.hra td.col-winner{box-shadow:inset 2px 0 0 var(--frame), inset -2px 0 0 var(--frame)}table.hra td.col-top{box-shadow:inset 0 2px 0 var(--bg), inset 0 4px 0 var(--frame), inset 2px 0 0 var(--frame), inset -2px 0 0 var(--frame)}table.hra.turnsheet thead td.col-top{box-shadow:inset 0 2px 0 var(--surface), inset 0 4px 0 var(--frame), inset 2px 0 0 var(--frame), inset -2px 0 0 var(--frame)}table.hra td.col-bottom{box-shadow:inset 0 -2px 0 var(--frame), inset 2px 0 0 var(--frame), inset -2px 0 0 var(--frame)}table.hra.turnsheet thead :is(.sumalabel,.suma,.sumamax,.sumamin){background:var(--surface)!important}table.hra.turnsheet thead tr:last-child>*{border-bottom-color:var(--line-strong)}table.hra.turnsheet thead{box-shadow:0 1px 0 var(--line-strong)}table.hra.turnsheet thead td.col-active{background:linear-gradient(var(--accent-soft), var(--accent-soft)), var(--surface)!important}table.hra.turnsheet thead td.col-winner{background:linear-gradient(var(--good-soft), var(--good-soft)), var(--surface)!important}table.hra.turnsheet tbody{z-index:0;position:relative}.next-turn-button{background:var(--accent);min-height:34px;color:var(--on-accent);border-radius:8px;justify-content:center;align-items:center;margin:4px;font-size:22px;display:flex;box-shadow:0 2px 6px #00000040}.next-turn-button.last-chance{min-height:30px;margin:6px;position:relative}table.hra td .next-turn-button.last-chance{overflow:visible}.next-turn-button.last-chance:after{content:"";border:2px solid var(--accent);opacity:0;pointer-events:none;border-radius:11px;animation:1.8s ease-in-out infinite lastChanceBreathe;position:absolute;inset:-3.5px}.next-turn-button.last-chance .last-chance-mark{margin-left:1px;font-size:.8em;font-weight:900}@keyframes lastChanceBreathe{0%,to{opacity:0}50%{opacity:1}}@media (prefers-reduced-motion:reduce){.next-turn-button.last-chance:after{opacity:1;animation:none}}table.hra td .hods-delta{top:calc(var(--it) + 1px);left:calc(var(--is) + 2px);z-index:3;pointer-events:none;font-variant-numeric:tabular-nums;font-size:10px;font-weight:700;line-height:1;position:absolute}table.hra td .hods-delta.good{color:var(--good)}table.hra td .hods-delta.bad{color:var(--bad)}table.hra td .hods-delta.older{opacity:.75}table.hra td:is(.resultok,.resultfail) .hods-delta{animation:.16s ease-out .69s backwards markIn}@media (prefers-reduced-motion:reduce){table.hra td:is(.resultok,.resultfail) .hods-delta{animation:none}}.header:has(.edit-banner-row){flex-wrap:wrap}.edit-banner-row{flex:0 0 100%;order:10;justify-content:center;padding-bottom:6px;display:flex}.edit-banner{background:var(--warn-fill);max-width:100%;color:var(--on-warn-fill);white-space:nowrap;text-overflow:ellipsis;border-radius:6px;padding:3px 12px;font-size:14px;font-weight:700;line-height:20px;overflow:hidden}.edit-lock-overlay{z-index:999;background:var(--overlay-soft);cursor:not-allowed;position:absolute;inset:0}.connecting{background:var(--bg);min-height:100dvh;color:var(--text);justify-content:center;align-items:center;font-size:24px;display:flex}.pill.warn.beta{vertical-align:middle;height:18px;margin-left:4px;padding:0 6px;font-size:11px;font-weight:700}.variant-pill{white-space:nowrap;flex:none;align-items:center;display:inline-flex}.connection-dot{background:var(--good-fill);z-index:10;border-radius:50%;width:10px;height:10px;position:absolute;top:4px;right:4px}.connection-dot.offline{background:var(--bad-fill)}.dice-button{color:inherit;font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:0;border-radius:0;justify-content:center;align-items:center;margin:0;padding:0;display:flex;position:absolute;inset:0}.dice-button .connection-dot{top:3px;right:3px}@media (max-width:359px){.dice-button .connection-dot{width:8px;height:8px;top:2px;right:2px}}table.hra td.dice-extend{cursor:pointer}.dice-button:focus-visible{outline:2px solid var(--accent-text);outline-offset:-2px}@media (hover:hover){.dice-button:hover{background:var(--surface-3)}}.dice-corner-static{text-align:center}.win-chance-connection{color:var(--text-2);align-items:flex-start;gap:8px;margin:0 0 14px;font-size:14px;display:flex}.win-chance-connection .connection-dot{flex:none;margin-top:5px;position:static}.win-chance-list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.win-chance-row{min-width:0}.win-chance-head{align-items:baseline;gap:8px;min-width:0;display:flex}.win-chance-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--text);font-size:16px;font-weight:700;overflow:hidden}.win-chance-tag{color:var(--muted);white-space:nowrap;flex:none;font-size:13px}.win-chance-value{text-align:right;font-variant-numeric:tabular-nums;min-width:4.2em;color:var(--text);white-space:nowrap;flex:none;margin-left:auto;font-size:16px;font-weight:700}.win-chance-row.is-out .win-chance-name,.win-chance-row.is-out .win-chance-value{color:var(--muted)}.win-chance-bar{background:var(--surface-3);border-radius:3px;height:6px;margin-top:4px;overflow:hidden}.win-chance-fill{background:var(--warn-fill);border-radius:3px;height:100%;transition:width .3s}.win-chance-fill.good{background:var(--good-fill)}.win-chance-fill.bad{background:var(--bad-fill)}@media (prefers-reduced-motion:reduce){.win-chance-fill{transition:none}}.win-chance-note{min-height:4.5em;color:var(--muted);margin:14px 0 0;font-size:13px;line-height:1.5}@media (max-width:359px){.win-chance-note{min-height:6em}}.win-chance-note.rules-dice{min-height:0}.min-players-note{color:var(--muted);margin:0 0 8px;font-size:13px}table.hra td.tricet-heart{text-align:center;font-variant-emoji:text;font-size:22px}table.hra td.tricet-points{text-align:center;padding-left:0;padding-right:0;font-size:11px;font-weight:700}table.hra td.tricet-out{color:var(--muted)!important}.tricet-out-label{color:var(--muted);white-space:nowrap;font-weight:600;line-height:1;display:block}table.hra td.tricet-gone{text-align:center;color:var(--faint);cursor:default}table.hra td.tricet-gone:hover{background:var(--bg)}.tricet-surrender-text{color:var(--muted);font-weight:600;line-height:1.1}.tricet-note{color:var(--muted);font-variant-numeric:tabular-nums;line-height:1.1}.tricet-attack,.tricet-zero{color:var(--bad);font-weight:700}.tricet-heal-mark{color:var(--good);font-weight:700}.tricet-heal-zero{color:var(--muted);font-weight:700}.tricet-input-head{align-items:baseline;gap:8px;min-width:0;padding-right:40px;display:flex}.modal-content .tricet-input-head h2{text-align:left;white-space:nowrap;margin:0}.tricet-input-lives{color:var(--muted);white-space:nowrap;font-size:14px}.tricet-input-player{min-width:0;color:var(--accent-text);white-space:nowrap;text-overflow:ellipsis;margin-left:auto;font-size:15px;font-weight:700;overflow:hidden}.tricet-step{min-height:306px}.value-summary{justify-content:space-between;align-items:center;gap:10px;min-height:44px;margin-top:12px;display:flex}.value-summary-text{color:var(--text);font-size:16px;font-weight:700}.tricet-roll-target{box-sizing:border-box;border:1px solid var(--line-strong);border-radius:12px;align-items:center;gap:12px;min-height:56px;margin-top:6px;padding:6px 12px;display:flex}.tricet-roll-target.attack{background:var(--bad-soft)}.tricet-roll-target.heal{background:var(--good-soft)}.tricet-die{flex:none;width:40px;height:40px}.tricet-die-face{fill:var(--surface);stroke:var(--text);stroke-width:2.5px}.tricet-die-pip{fill:var(--text)}.tricet-roll-text{min-width:0}.tricet-roll-title{color:var(--text);white-space:nowrap;font-size:19px;font-weight:700;line-height:1.1}.tricet-roll-num{font-variant-numeric:tabular-nums;font-size:28px;font-weight:800}.tricet-roll-sub{color:var(--text-2);white-space:nowrap;text-overflow:ellipsis;margin-top:2px;font-size:13px;overflow:hidden}.tricet-question{color:var(--text);margin-top:6px;font-size:15px;font-weight:600}.tricet-hits-more{justify-content:flex-end;margin-top:6px;display:flex}.value-summary-text{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.value-summary-sub{color:var(--text-2);font-weight:600}.value-summary>.btn-small{flex:none}.tricet-victim-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:8px;display:grid}.value-button.tricet-victim{text-align:left;flex-direction:column;justify-content:center;align-items:flex-start;min-width:0;height:44px;min-height:44px;padding:2px 10px;line-height:1.15;display:flex}.value-button.tricet-victim.wide,.tricet-choice-label{grid-column:1/-1}.tricet-choice-label{color:var(--muted);margin-top:2px;font-size:13px}.tricet-victim-name{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:15px;font-weight:700;overflow:hidden}.tricet-victim-standing{color:var(--muted);white-space:nowrap;font-size:12px;font-weight:500}.tricet-preview{text-align:center;text-wrap:balance;height:40px;margin-top:8px;font-size:14px;line-height:20px;overflow:hidden}.tricet-preview.tone-muted{color:var(--muted)}.tricet-preview.tone-text{color:var(--text)}.tricet-preview.tone-bad{color:var(--bad);font-weight:600}.tricet-minus{color:var(--bad)}.tricet-plus{color:var(--good)}.settings-label{margin-bottom:6px;font-weight:600;display:block}.settings-note{color:var(--muted);margin:6px 0 10px;font-size:13px}.settings-box>.settings-note:first-child{margin-top:0}.settings-note.check-note{margin:-4px 0 0 30px}.settings-note.check-note+.check-row{margin-top:6px}.check-row.is-disabled{color:var(--muted);cursor:not-allowed}.check-row.is-disabled input[type=checkbox]{cursor:not-allowed}.result-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.result-score{white-space:nowrap;flex:none;margin-left:8px;font-size:18px;font-weight:700}.result-score.muted{color:var(--muted);font-size:14px;font-weight:400}.tricet-stats{background:var(--surface);border-radius:8px;margin-bottom:20px;padding:20px}.tricet-stats-title{color:var(--accent-text);margin:0 0 12px;font-size:24px}.tricet-stats-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.tricet-stats-player{background:var(--surface-2);border-radius:10px;padding:10px 12px}.tricet-stats-head{justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:6px;display:flex}.tricet-stats-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--text);font-size:16px;font-weight:700;overflow:hidden}.tricet-stats-games{color:var(--muted);white-space:nowrap;flex:none;font-size:13px}.tricet-stats-grid{grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:2px 14px;margin:0;display:grid}.tricet-stats-item{justify-content:space-between;align-items:baseline;gap:8px;min-width:0;display:flex}.tricet-stats-item dt{color:var(--muted);white-space:nowrap;font-size:13px}.tricet-stats-item dd{color:var(--text);font-variant-numeric:tabular-nums;white-space:nowrap;margin:0;font-size:15px;font-weight:700}.beta-card{color:var(--text);margin-bottom:12px;padding:12px 14px;font-size:14px}.beta-card p{margin:0}.beta-card p+.btn-small{margin-top:8px}.tricet-player-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.tricet-player-row{background:var(--surface-2);border-radius:10px;padding:4px 10px}.tricet-player-line{align-items:center;gap:8px;min-height:44px;display:flex}.tricet-player-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:16px;font-weight:600;overflow:hidden}.tricet-player-badge{color:var(--muted);white-space:nowrap;font-size:12px;font-weight:600}.tricet-player-badge.on-turn{color:var(--accent-text)}.tricet-confirm{background:var(--bad-soft);border-radius:10px;flex-direction:column;gap:8px;margin:4px 0 6px;padding:10px 12px;font-size:14px;display:flex}.tricet-confirm-buttons{gap:8px;display:flex}.tricet-confirm-buttons>button{flex:1;height:44px}.cancel-button:disabled{color:var(--faint);cursor:not-allowed}.cancel-button:disabled:hover{background:var(--surface-2)}.tricet-exit-lives{color:var(--muted)}.tricet-lives-mark{top:calc(var(--it) + 2px);left:calc(var(--is) + 2px);pointer-events:none;line-height:0;display:flex;position:absolute}.tricet-lives-mark.hit{color:var(--bad)}.tricet-lives-mark.heal{color:var(--good)}.tricet-lives-mark.heal-zero{color:var(--muted)}.tricet-lives-mark.fresh{animation:.16s ease-out .9s backwards markIn}.tricet-lives-mark.preview{animation:1.4s ease-in-out infinite alternate markPreview}.tricet-lives-mark.preview svg,.tricet-lives-mark.preview svg g{stroke-width:2.6px}.tricet-lives-mark.preview.heal svg{stroke-width:3.2px}@keyframes markPreview{0%{opacity:1}to{opacity:.75}}@media (prefers-reduced-motion:reduce){.tricet-lives-mark.fresh,.tricet-lives-mark.preview{animation:none}}.tricet-icon{vertical-align:-.12em;margin-right:.25em;display:inline-flex}.tricet-icon.hit{color:var(--bad)}.tricet-icon.heal{color:var(--good)}.tricet-icon.muted{color:var(--muted)}
