.qo-root.qo-dice{--qo-dice-face-hi:#fff;--qo-dice-face-lo:#cdbdf7;--qo-dice-pip:#1a1033;--qo-dice-shine:#ffffff59;--qo-dice-shadow:#00000073}.qo-root.qo-dice .stage.dice.qo-art{justify-content:center;container-type:inline-size}.qo-root.qo-dice .stage.dice.qo-art .qo-dice-hero{justify-content:space-between;align-items:center;gap:12px;display:flex;position:relative}.qo-root.qo-dice .stage.dice.qo-art .result{text-align:left;min-width:0;font-size:clamp(40px,11cqw,84px)}.qo-root.qo-dice .stage.dice.qo-art .result small{-webkit-line-clamp:2;-webkit-box-orient:vertical;height:32px;line-height:16px;display:-webkit-box;overflow:hidden}.qo-root.qo-dice .stage.dice.qo-art .qo-dice-decor{aspect-ratio:520/440;pointer-events:none;flex:none;width:clamp(92px,28cqw,230px);position:relative}.qo-root.qo-dice .stage.dice.qo-art .qo-dice-decor-art{opacity:.45;width:100%;height:100%;filter:drop-shadow(0 0 14px var(--qo-art-accent));display:block;overflow:visible}@media (max-width:900px){.qo-root.qo-dice .stage.dice.qo-art{gap:14px;padding:14px 16px}}@media (max-width:900px) and (max-height:700px){.qo-root.qo-dice .stage.dice.qo-art{gap:8px;padding:10px 14px}}.qo-root.qo-dice .stage.dice.qo-art .qo-dice-face-hi{stop-color:var(--qo-dice-face-hi)}.qo-root.qo-dice .stage.dice.qo-art .qo-dice-face-lo{stop-color:var(--qo-dice-face-lo)}.qo-root.qo-dice .stage.dice.qo-art .qo-dice-die-face{stroke:var(--qo-art-accent)}.qo-root.qo-dice .stage.dice.qo-art .qo-dice-die-shadow{fill:var(--qo-dice-shadow)}.qo-root.qo-dice .stage.dice.qo-art .qo-dice-die-shine{fill:var(--qo-dice-shine)}.qo-root.qo-dice .stage.dice.qo-art .qo-dice-die-pip{fill:var(--qo-dice-pip)}.qo-root.qo-dice .stage.dice.qo-art .qo-dice-tumble .qo-dice-die{transform-box:fill-box;transform-origin:50%;animation:.55s cubic-bezier(.2,.8,.3,1.1) both qo-dice-tumble}.qo-root.qo-dice .stage.dice.qo-art .qo-dice-tumble>g:nth-child(2) .qo-dice-die{animation-name:qo-dice-tumble-back;animation-delay:60ms}@keyframes qo-dice-tumble{0%{transform:rotate(-200deg)scale(.7)}70%{transform:rotate(10deg)scale(1.05)}to{transform:none}}@keyframes qo-dice-tumble-back{0%{transform:rotate(200deg)scale(.7)}70%{transform:rotate(-10deg)scale(1.05)}to{transform:none}}.qo-root.qo-dice .stage.dice.qo-art .qo-dice-sparks{position:absolute;top:50%;left:50%}.qo-root.qo-dice .stage.dice.qo-art .qo-dice-sparks>i{background:var(--qo-art-accent-2);width:6px;height:6px;box-shadow:0 0 10px var(--qo-art-accent);opacity:0;animation:qo-dice-spark .7s ease-out var(--qo-d)1 both;border-radius:9999px;position:absolute;top:-3px;left:-3px}.qo-root.qo-dice .stage.dice.qo-art .qo-dice-sparks>i:nth-child(odd){background:var(--qo-ink)}@keyframes qo-dice-spark{0%{opacity:1;transform:rotate(var(--qo-a))translateX(20px)scale(1)}to{opacity:0;transform:rotate(var(--qo-a))translateX(120px)scale(.4)}}.qo-root.qo-dice .stage.dice.qo-art .handle .grip{background:linear-gradient(135deg,var(--qo-dice-face-hi),var(--qo-dice-face-lo));box-shadow:0 0 0 2px var(--qo-art-accent),0 0 14px color-mix(in srgb,var(--qo-art-accent)60%,transparent),0 6px 16px -6px #000c}.qo-root.qo-dice .stage.dice.qo-art .handle .grip:before,.qo-root.qo-dice .stage.dice.qo-art .handle .grip:after{background:var(--qo-art-accent)}.qo-root.qo-dice .stage.dice.qo-art .handle .val{border-color:color-mix(in srgb,var(--qo-art-accent)55%,transparent);box-shadow:0 0 12px color-mix(in srgb,var(--qo-art-accent)30%,transparent)}@media (prefers-reduced-motion:reduce){.qo-root.qo-dice .stage.dice.qo-art .qo-dice-tumble .qo-dice-die{animation:none}.qo-root.qo-dice .stage.dice.qo-art .qo-dice-sparks{display:none}}
