.roll-switch{background:#ffffff0a;border:1px solid #ffffff1a;border-radius:1.15rem;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem;width:100%;max-width:34rem;margin:0 auto;padding:.35rem;display:grid}.roll-switch__item{text-align:center;color:#a1a1aa;border-radius:.85rem;gap:.1rem;padding:.6rem .85rem;text-decoration:none;transition:background .18s,color .18s,box-shadow .18s;display:grid}.roll-switch__item:hover{color:#e4e4e7;background:#ffffff0d}.roll-switch__item--active{color:#160d04;background:linear-gradient(135deg,#ff9142,#ff6a00);box-shadow:0 10px 26px -14px #ff7a18e6}.roll-switch__item--active:hover{color:#160d04;background:linear-gradient(135deg,#ff9142,#ff6a00)}.roll-switch__name{font-family:var(--font-display);letter-spacing:-.01em;font-size:.92rem;font-weight:700}.roll-switch__note{opacity:.8;font-size:.72rem;line-height:1.25}@media (width<=420px){.roll-switch__note{display:none}}.roll-die[data-astro-cid-mdmh6cyh]{--die-size:clamp(96px, 22vw, 140px);width:var(--die-size);height:var(--die-size);perspective:900px;cursor:pointer;isolation:isolate;touch-action:manipulation;user-select:none;flex:none;position:relative}.roll-die--local[data-astro-cid-mdmh6cyh]{--die-size:clamp(88px, 23vw, 132px)}.roll-die__glow[data-astro-cid-mdmh6cyh]{filter:blur(10px);z-index:-1;background:radial-gradient(closest-side,#ff7a1852,#0000 74%);border-radius:50%;height:38%;animation:6s ease-in-out infinite roll-die-glow;position:absolute;bottom:-18%;left:4%;right:4%}@keyframes roll-die-glow{0%,to{opacity:.72;transform:scaleX(.94)}50%{opacity:1;transform:scaleX(1.06)}}.roll-die__canvas{pointer-events:none;opacity:0;width:100%;height:100%;transition:opacity .36s;position:absolute;inset:0}.roll-die[data-astro-cid-mdmh6cyh].is-webgl .roll-die__canvas{opacity:1}.roll-die[data-astro-cid-mdmh6cyh].is-webgl .roll-die__cube[data-astro-cid-mdmh6cyh]{opacity:0;transition:opacity .3s;animation:none}.roll-die__cube[data-astro-cid-mdmh6cyh]{transform-style:preserve-3d;will-change:transform;animation:6s cubic-bezier(.45,0,.55,1) infinite roll-die-idle;position:absolute;inset:0;transform:rotateX(-22deg)rotateY(28deg)}@keyframes roll-die-idle{0%,to{transform:rotateX(-22deg)rotateY(28deg)translateY(0)}25%{transform:rotateX(-17deg)rotateY(38deg)translateY(-4px)}50%{transform:rotateX(-24deg)rotateY(30deg)translateY(0)}75%{transform:rotateX(-19deg)rotateY(20deg)translateY(-3px)}}.roll-die[data-astro-cid-mdmh6cyh].is-rolling .roll-die__cube[data-astro-cid-mdmh6cyh]{animation:none}@media (prefers-reduced-motion:reduce){.roll-die__cube[data-astro-cid-mdmh6cyh],.roll-die__glow[data-astro-cid-mdmh6cyh]{animation:none}}html[data-motion=light] .roll-die__cube[data-astro-cid-mdmh6cyh],html[data-motion=light] .roll-die__glow[data-astro-cid-mdmh6cyh]{animation:none}.roll-die__face[data-astro-cid-mdmh6cyh]{--face-light:1;filter:brightness(var(--face-light));backface-visibility:hidden;background:linear-gradient(145deg,#ffffff17 0%,#0000 38%),linear-gradient(145deg,#34353c 0%,#17181d 56%,#0c0d11 100%);border:1px solid #ffffff24;border-radius:19%;grid-template-rows:repeat(3,1fr);grid-template-columns:repeat(3,1fr);gap:4%;padding:13%;display:grid;position:absolute;inset:0;box-shadow:inset 0 1px #ffffff24,inset 0 -14px 20px #00000061,0 10px 22px #00000057}.roll-die__face[data-astro-cid-mdmh6cyh]:after{content:"";pointer-events:none;background:linear-gradient(135deg,#ffffff12,#0000 46%);border-radius:15%;position:absolute;inset:7%}.roll-die__face--front[data-astro-cid-mdmh6cyh]{transform:translateZ(calc(var(--die-size) / 2))}.roll-die__face--back[data-astro-cid-mdmh6cyh]{--face-light:.72;transform:rotateY(180deg) translateZ(calc(var(--die-size) / 2))}.roll-die__face--right[data-astro-cid-mdmh6cyh]{--face-light:.88;transform:rotateY(90deg) translateZ(calc(var(--die-size) / 2))}.roll-die__face--left[data-astro-cid-mdmh6cyh]{--face-light:.78;transform:rotateY(-90deg) translateZ(calc(var(--die-size) / 2))}.roll-die__face--top[data-astro-cid-mdmh6cyh]{--face-light:1.12;transform:rotateX(90deg) translateZ(calc(var(--die-size) / 2))}.roll-die__face--bottom[data-astro-cid-mdmh6cyh]{--face-light:.62;transform:rotateX(-90deg) translateZ(calc(var(--die-size) / 2))}.roll-die__pip[data-astro-cid-mdmh6cyh]{aspect-ratio:1;background:radial-gradient(circle at 34% 28%,#fff3e5 0 10%,#ffbd83 27%,#ff7a18 62%,#9f3700 100%);border-radius:50%;place-self:center;width:70%;box-shadow:0 1px 2px #000000b3,0 0 10px #ff7a1861}
