.btn{cursor:pointer;border-radius:14px;justify-content:center;align-items:center;gap:8px;height:50px;padding:0 20px;font-size:16px;font-weight:800;line-height:1;text-decoration:none;display:inline-flex}.btn--primary{background:var(--accent);color:var(--on-accent)}.btn--secondary{border:1.5px solid var(--pad-border);color:var(--text);background:0 0}.btn--danger{color:var(--conflict)}.btn--pill{border-radius:999px;height:48px;padding:0 24px}.btn:disabled{opacity:.45;cursor:default}.icon-btn{width:44px;height:44px;color:var(--text);cursor:pointer;background:0 0;border-radius:12px;flex:none;place-items:center;display:grid}.icon-btn--muted{color:var(--muted)}.scrim{z-index:40;background:#0a0e1673;position:fixed;inset:0}.sheet{z-index:50;max-height:calc(100dvh - 24px);padding:10px 20px max(28px, env(safe-area-inset-bottom));background:var(--surface);color:var(--text);box-shadow:var(--elev-sheet);overscroll-behavior:contain;border-radius:24px 24px 0 0;flex-direction:column;gap:14px;margin-inline:auto;animation:.18s sheet-in;display:flex;position:fixed;bottom:0;left:0;right:0;overflow-y:auto}.sheet:focus{outline:none}.sheet__handle{background:var(--track);border-radius:3px;flex:none;align-self:center;width:40px;height:5px}.sheet__head{justify-content:space-between;align-items:center;gap:12px;display:flex}.sheet__head .icon-btn{margin:-10px -10px -10px 0}.sheet__title{font-size:20px;font-weight:800;line-height:1.25}@media (min-width:640px){.sheet{max-width:560px}}@media (min-width:1024px){.sheet--dialog{border-radius:24px;width:440px;max-height:calc(100dvh - 48px);padding-bottom:24px;animation:.18s dialog-in;top:50%;bottom:auto;transform:translateY(-50%)}.sheet--dialog .sheet__handle{display:none}}.dialog{z-index:50;background:var(--surface);width:min(342px,100vw - 48px);max-height:calc(100dvh - 32px);color:var(--text);box-shadow:var(--elev-sheet);text-align:center;border-radius:24px;flex-direction:column;align-items:center;gap:16px;padding:28px 24px 24px;animation:.18s dialog-pop;display:flex;position:fixed;top:50%;left:50%;overflow-y:auto;transform:translate(-50%,-50%)}.dialog:focus{outline:none}@keyframes sheet-in{0%{opacity:0;transform:translateY(24px)}}@keyframes dialog-in{0%{opacity:0;transform:translateY(calc(16px - 50%))}}@keyframes dialog-pop{0%{opacity:0;transform:translate(-50%,calc(16px - 50%))}}.field{flex-direction:column;gap:8px;display:flex}.field__label{font-size:14px;font-weight:800}.seg{flex-wrap:wrap;gap:6px;display:flex}.seg__option{border:1.5px solid var(--pad-border);height:44px;color:var(--text);white-space:nowrap;cursor:pointer;background:0 0;border-radius:12px;flex:auto;padding:0 12px;font-size:14px;font-weight:800}.seg__option[aria-checked=true]{border-color:var(--accent);background:var(--accent-soft)}.toggle-row{justify-content:space-between;align-items:center;gap:12px;min-height:48px;display:flex}.toggle-row__title{font-size:15px;font-weight:800;display:block}.toggle-row__body{color:var(--muted);font-size:13px;font-weight:600;display:block}.switch{cursor:pointer;background:0 0;flex:none;width:52px;height:44px;position:relative}.switch:before{content:"";border:1.5px solid var(--pad-border);background:var(--track);border-radius:999px;width:52px;height:28px;transition:background-color .15s;position:absolute;top:8px;left:0}.switch:after{content:"";background:var(--muted);border-radius:50%;width:20px;height:20px;transition:transform .15s,background-color .15s;position:absolute;top:12px;left:4px}.switch[aria-checked=true]:before{border-color:var(--accent);background:var(--accent)}.switch[aria-checked=true]:after{background:var(--on-accent);transform:translate(24px)}.row-2{gap:10px;display:flex}.row-2>*{flex:1 1 0;min-width:0;padding-inline:8px}.progress{background:var(--track);border-radius:4px;height:8px;overflow:hidden}.progress__bar{background:var(--accent);border-radius:4px;height:100%}.level-dots{gap:4px;display:flex}.level-dots i{background:var(--track);border-radius:2px;width:14px;height:4px}.level-dots i.is-on{background:var(--accent)}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.diag{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px;font-weight:600}.victory__badge{background:var(--accent-soft);width:60px;height:60px;color:var(--accent);border-radius:50%;place-items:center;display:grid}.victory__title{font-size:24px;font-weight:800;line-height:1.2}.victory__level{color:var(--muted);margin-top:-10px;font-size:15px;font-weight:700}.victory__stats{border:1px solid var(--pad-border);border-radius:16px;width:100%;display:flex}.victory__stats div{flex-direction:column;flex:1 1 0;padding:12px 4px;display:flex}.victory__stats div+div{border-left:1px solid var(--pad-border)}.victory__stats dd{font-variant-numeric:tabular-nums;font-size:22px;font-weight:800}.victory__stats dt{color:var(--muted);font-size:13px;font-weight:700}.victory__buttons{flex-direction:column;gap:10px;width:100%;display:flex}
