.dice-app[data-astro-cid-gvq4r5mt]{max-width:720px;margin:0 auto;padding:1.5rem 1rem 3rem}.dice-title[data-astro-cid-gvq4r5mt]{text-align:center;background:linear-gradient(135deg,#fde68a,#f97316 55%,#ef4444);-webkit-text-fill-color:transparent;overflow-wrap:break-word;hyphens:auto;-webkit-background-clip:text;background-clip:text;margin:0 0 .4rem;font-size:1.8rem;font-weight:800}.dice-app[data-astro-cid-gvq4r5mt]{word-break:auto-phrase}.dice-desc[data-astro-cid-gvq4r5mt]{text-align:center;color:#94a3b8;margin:0 0 1.4rem;font-size:.88rem;line-height:1.6}@media print{.dice-title[data-astro-cid-gvq4r5mt]{-webkit-text-fill-color:#9a3412;color:#9a3412;background:0 0}.dice-desc[data-astro-cid-gvq4r5mt]{color:#334155}}.dice-stage[data-astro-cid-gvq4r5mt]{background:radial-gradient(at 50% 30%,#f973162e,#0000 60%),radial-gradient(at 50% 80%,#ef444429,#0000 60%),linear-gradient(#0f172a,#09090b);border:1px solid #94a3b838;border-radius:24px;margin-bottom:1.6rem;padding:1rem 1rem 1.3rem;position:relative;box-shadow:0 20px 60px -20px #f973164d,inset 0 1px #ffffff0d}.stage-topbar[data-astro-cid-gvq4r5mt]{flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:.8rem;display:flex}.stat-chip[data-astro-cid-gvq4r5mt]{background:#1e293bb3;border:1px solid #334155;border-radius:12px;flex-direction:column;flex:4.5rem;gap:.1rem;min-width:min-content;padding:.45rem .7rem;display:flex}.stat-label[data-astro-cid-gvq4r5mt]{overflow-wrap:break-word;color:#94a3b8;letter-spacing:.04em;font-size:.7rem}.stat-value[data-astro-cid-gvq4r5mt]{color:#fde68a;font-variant-numeric:tabular-nums;font-family:SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:1.4rem;font-weight:800}.icon-btn[data-astro-cid-gvq4r5mt],#help-modal-trigger.icon-btn{color:#cbd5e1;cursor:pointer;background:#1e293b;border:1.5px solid #334155;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;padding:.6rem;transition:all .15s;display:flex}.icon-btn[data-astro-cid-gvq4r5mt]:hover,#help-modal-trigger.icon-btn:hover{color:#e2e8f0;background:#283447;border-color:#475569}.dice-board[data-astro-cid-gvq4r5mt]{perspective:900px;flex-wrap:wrap;justify-content:center;align-items:center;gap:1.2rem;min-height:max(180px,2*clamp(74px,20vw,105px) + 1.2rem);padding:1.2rem .5rem;display:flex}@media (width<=359px){.dice-board[data-astro-cid-gvq4r5mt]{min-height:calc(3*clamp(74px,20vw,105px) + 2.4rem)}}.dice-board[data-astro-cid-gvq4r5mt][data-count="1"]{--dice-size:clamp(120px, 36vw, 170px)}.dice-board[data-astro-cid-gvq4r5mt][data-count="2"]{--dice-size:clamp(100px, 28vw, 140px)}.dice-board[data-astro-cid-gvq4r5mt][data-count="3"]{--dice-size:clamp(86px, 24vw, 120px)}.dice-board[data-astro-cid-gvq4r5mt][data-count="4"],.dice-board[data-astro-cid-gvq4r5mt][data-count="5"],.dice-board[data-astro-cid-gvq4r5mt][data-count="6"]{--dice-size:clamp(74px, 20vw, 105px)}.dice-tilt{width:var(--dice-size,110px);height:var(--dice-size,110px);transform-style:preserve-3d;transform:rotateX(-18deg)rotateY(22deg)}.dice{width:100%;height:100%;transform-style:preserve-3d;will-change:transform;transition:transform 1.1s cubic-bezier(.18,.89,.32,1.18);position:relative;transform:rotateX(0)rotateY(0)}.face{backface-visibility:hidden;background:linear-gradient(135deg,#fefce8 0%,#fde68a 100%);border-radius:18%;grid-template-rows:repeat(3,1fr);grid-template-columns:repeat(3,1fr);gap:6%;padding:14%;display:grid;position:absolute;inset:0;box-shadow:inset 0 0 14px #78350f2e,inset 0 -6px #78350f14,inset 0 6px #ffffff73}.pip{background:radial-gradient(circle at 35% 30%,#7c2d12 0%,#431407 75%,#1c0a02 100%);border-radius:50%;place-self:center;width:100%;max-width:22px;height:100%;max-height:22px;box-shadow:inset 1px 1px 2px #ffffff2e,inset -1px -1px 2px #00000040,0 1px 1px #fff6}.face-1{transform:rotateY(0deg) translateZ(calc(var(--dice-size,110px) / 2))}.face-2{transform:rotateX(90deg) translateZ(calc(var(--dice-size,110px) / 2))}.face-3{transform:rotateY(90deg) translateZ(calc(var(--dice-size,110px) / 2))}.face-4{transform:rotateY(-90deg) translateZ(calc(var(--dice-size,110px) / 2))}.face-5{transform:rotateX(-90deg) translateZ(calc(var(--dice-size,110px) / 2))}.face-6{transform:rotateY(180deg) translateZ(calc(var(--dice-size,110px) / 2))}.ready-text[data-astro-cid-gvq4r5mt]{color:#cbd5e1;text-align:center;min-height:1.4em;margin:.3rem 0 .8rem;font-size:.9rem;line-height:1.4}.stage-controls[data-astro-cid-gvq4r5mt]{flex-wrap:wrap;gap:.6rem;margin-top:.4rem;display:flex;container-type:inline-size}.stage-controls[data-astro-cid-gvq4r5mt] .roll-btn[data-astro-cid-gvq4r5mt],.stage-controls[data-astro-cid-gvq4r5mt] .ghost-btn[data-astro-cid-gvq4r5mt]{min-width:0}@container (width<=15rem){.stage-controls[data-astro-cid-gvq4r5mt] .btn-icon[data-astro-cid-gvq4r5mt]{display:none}.stage-controls[data-astro-cid-gvq4r5mt] .roll-btn[data-astro-cid-gvq4r5mt],.stage-controls[data-astro-cid-gvq4r5mt] .ghost-btn[data-astro-cid-gvq4r5mt]{padding-inline:.25rem;font-size:.92rem}}.stage-controls[data-astro-cid-gvq4r5mt] .roll-btn[data-astro-cid-gvq4r5mt]{flex:3 12rem}.stage-controls[data-astro-cid-gvq4r5mt] .ghost-btn[data-astro-cid-gvq4r5mt]{flex:2 7rem}.stage-controls[data-astro-cid-gvq4r5mt] .btn-text[data-astro-cid-gvq4r5mt]{overflow-wrap:break-word;hyphens:auto;min-width:0;word-break:auto-phrase;text-wrap:balance}#btn-reset-text[data-astro-cid-gvq4r5mt]{grid-template-columns:minmax(0,1fr);align-content:center;display:inline-grid}#btn-reset-text[data-astro-cid-gvq4r5mt]>span[data-astro-cid-gvq4r5mt],#btn-reset-text[data-astro-cid-gvq4r5mt]:after{grid-area:1/1}#btn-reset-text[data-astro-cid-gvq4r5mt]>span[data-astro-cid-gvq4r5mt]{align-self:center}#btn-reset-text[data-astro-cid-gvq4r5mt]:after{content:"↺ " attr(data-sizer) / "";visibility:hidden;overflow-wrap:anywhere;hyphens:auto;min-width:0;font-size:1.1rem}#btn-reset-label[data-astro-cid-gvq4r5mt]{overflow-wrap:break-word;hyphens:auto;min-width:0}.reset-face[data-astro-cid-gvq4r5mt]{justify-content:center;align-items:center;gap:.5rem;display:flex}.roll-btn[data-astro-cid-gvq4r5mt],.ghost-btn[data-astro-cid-gvq4r5mt]{cursor:pointer;border:none;border-radius:14px;justify-content:center;align-items:center;gap:.5rem;padding:.95rem 1rem;font-family:inherit;font-size:1rem;font-weight:800;transition:transform .15s,box-shadow .2s,background .2s;display:flex}.roll-btn[data-astro-cid-gvq4r5mt]:active,.ghost-btn[data-astro-cid-gvq4r5mt]:active{transform:scale(.97)}.roll-btn[data-astro-cid-gvq4r5mt]{color:#fff;background:linear-gradient(135deg,#fb923c,#ea580c);box-shadow:0 6px 20px #ea580c66}.roll-btn[data-astro-cid-gvq4r5mt]:hover{background:linear-gradient(135deg,#fdba74,#f97316);box-shadow:0 8px 28px #ea580c8c}.roll-btn[data-astro-cid-gvq4r5mt][aria-disabled=true]{color:#64748b;box-shadow:none;cursor:not-allowed;background:#334155}.ghost-btn[data-astro-cid-gvq4r5mt]{color:#e2e8f0;background:#1e293b;border:1.5px solid #334155}.ghost-btn[data-astro-cid-gvq4r5mt]:hover{background:#283447;border-color:#475569}.ghost-btn[data-astro-cid-gvq4r5mt][data-confirm="1"]{color:#fde68a;border-color:#fbbf24}.btn-icon[data-astro-cid-gvq4r5mt]{font-size:1.2rem}.keyboard-hint[data-astro-cid-gvq4r5mt]{text-align:center;color:#94a3b8;margin-top:.8rem;font-size:.75rem}.history[data-astro-cid-gvq4r5mt]{background:#0f172a99;border:1px solid #1e293b;border-radius:12px;flex-direction:column;gap:.4rem;min-height:2.5rem;padding:.8rem;display:flex}.history[data-astro-cid-gvq4r5mt]:empty:before{content:attr(data-empty);color:#475569;font-size:.85rem}.history-row{color:#e2e8f0;background:#1e293b;border:1px solid #334155;border-radius:8px;flex-wrap:wrap;align-items:center;gap:.4rem;padding:.4rem .5rem;font-size:.85rem;font-weight:700;display:flex}.history-row.latest{color:#78350f;background:linear-gradient(135deg,#fde68a,#fbbf24);border-color:#fbbf24;animation:.4s pop-in;box-shadow:0 4px 14px #fbbf2473}.history-faces{flex-wrap:wrap;flex:1;gap:.3rem;display:flex}.history-face{text-align:center;font-variant-numeric:tabular-nums;background:#1e293b73;border:1px solid #94a3b859;border-radius:6px;min-width:1.6rem;padding:.1rem .4rem}.history-row.latest .history-face{color:#78350f;background:#ffffff8c;border-color:#78350f59}.history-sr{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.history-sum{margin-left:auto;padding-left:.4rem;font-size:1rem;font-weight:900}@keyframes pop-in{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.settings-block[data-astro-cid-gvq4r5mt]{background:#0f172a99;border:1px solid #1e293b;border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;padding:.9rem 1rem;display:flex}.setting-row[data-astro-cid-gvq4r5mt]{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.setting-label[data-astro-cid-gvq4r5mt]{color:#cbd5e1;font-size:.85rem}.count-buttons[data-astro-cid-gvq4r5mt]{flex-wrap:wrap;gap:.3rem;display:flex}.count-btn[data-astro-cid-gvq4r5mt]{color:#cbd5e1;cursor:pointer;background:#0f172a;border:1.5px solid #334155;border-radius:10px;width:36px;height:36px;font-family:inherit;font-weight:700;transition:all .15s}.count-btn[data-astro-cid-gvq4r5mt]:hover{color:#fde68a;border-color:#f97316}.count-btn[data-astro-cid-gvq4r5mt].active{color:#fff;background:linear-gradient(135deg,#fb923c,#ea580c);border-color:#ea580c;box-shadow:0 3px 10px #ea580c66}.count-btn[data-astro-cid-gvq4r5mt][aria-disabled=true]{opacity:.55;cursor:not-allowed}.save-note[data-astro-cid-gvq4r5mt]{color:#fde68a;margin:.7rem 0;font-size:.82rem}.save-note[data-astro-cid-gvq4r5mt][hidden]{display:none}@media print{.dice-app[data-astro-cid-gvq4r5mt] .save-note[data-astro-cid-gvq4r5mt],.dice-app[data-astro-cid-gvq4r5mt] .count-note[data-astro-cid-gvq4r5mt]{color:#1e293b}}.count-note[data-astro-cid-gvq4r5mt]{color:#fde68a;min-height:1.2em;margin:.4rem 0 0;font-size:.82rem}@media (forced-colors:active){.face{forced-color-adjust:none;box-shadow:none;background:canvas;border:3px solid canvastext}.pip{forced-color-adjust:none;box-shadow:none;background:canvastext}.count-btn[data-astro-cid-gvq4r5mt]{border:2px solid buttontext}.count-btn[data-astro-cid-gvq4r5mt].active{forced-color-adjust:none;color:highlighttext;background:highlight;border:3px solid canvastext;outline:2px solid highlight}.roll-btn[data-astro-cid-gvq4r5mt]{border:2px solid buttontext}.roll-btn[data-astro-cid-gvq4r5mt][aria-disabled=true]{color:graytext;border:2px dashed graytext}}.option-row[data-astro-cid-gvq4r5mt]{color:#cbd5e1;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:.5rem;font-size:.88rem;display:flex}.option-row[data-astro-cid-gvq4r5mt] input[data-astro-cid-gvq4r5mt][type=checkbox]{accent-color:#fb923c;cursor:pointer;width:18px;height:18px}@media (width<=520px){.stage-controls[data-astro-cid-gvq4r5mt] .roll-btn[data-astro-cid-gvq4r5mt],.stage-controls[data-astro-cid-gvq4r5mt] .ghost-btn[data-astro-cid-gvq4r5mt]{flex-basis:100%}.stage-controls[data-astro-cid-gvq4r5mt] .ghost-btn[data-astro-cid-gvq4r5mt]{padding:.7rem .5rem;font-size:.85rem}#btn-reset-text[data-astro-cid-gvq4r5mt]:after{font-size:.85rem}}@media print{.dice-app[data-astro-cid-gvq4r5mt],.dice-app[data-astro-cid-gvq4r5mt] [data-astro-cid-gvq4r5mt]{-webkit-print-color-adjust:exact;print-color-adjust:exact}.dice-app[data-astro-cid-gvq4r5mt] .section-heading[data-astro-cid-gvq4r5mt]{color:#1e293b}}.dice-stage[data-astro-cid-gvq4r5mt]:fullscreen{border-radius:0;flex-direction:column;justify-content:center;width:100vw;height:100vh;margin:0;padding:2rem;display:flex}.dice-stage[data-astro-cid-gvq4r5mt]:fullscreen .dice-board[data-astro-cid-gvq4r5mt]{flex:1}.dice-stage[data-astro-cid-gvq4r5mt]:fullscreen .dice-board[data-astro-cid-gvq4r5mt][data-count="1"]{--dice-size:min(60vh, 60vw)}.dice-stage[data-astro-cid-gvq4r5mt]:fullscreen .dice-board[data-astro-cid-gvq4r5mt][data-count="2"]{--dice-size:min(40vh, 40vw)}.dice-stage[data-astro-cid-gvq4r5mt]:fullscreen .dice-board[data-astro-cid-gvq4r5mt][data-count="3"]{--dice-size:min(32vh, 30vw)}:is(.dice-stage[data-astro-cid-gvq4r5mt]:fullscreen .dice-board[data-astro-cid-gvq4r5mt][data-count="4"],.dice-stage[data-astro-cid-gvq4r5mt]:fullscreen .dice-board[data-astro-cid-gvq4r5mt][data-count="5"],.dice-stage[data-astro-cid-gvq4r5mt]:fullscreen .dice-board[data-astro-cid-gvq4r5mt][data-count="6"]){--dice-size:min(26vh, 24vw)}
