.color-drift{background:radial-gradient(ellipse at 10% 0,#1b629052,transparent 65%),linear-gradient(145deg,#111e37,#0b1426);border-color:#75b3ef66;overflow:hidden}.color-drift.game-transparent{background:transparent}.color-drift .game-board-heading{color:#d8f2ff}.color-dice{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:18px 12px;margin:35px 0 16px;perspective:900px;min-height:155px;isolation:isolate}.drift-die-holder{--dice-size:84px;--dice-half:42px;position:relative;display:flex;align-items:center;flex-direction:column;justify-content:center;width:116px;height:150px;perspective:650px}.drift-cube{position:relative;width:var(--dice-size);height:var(--dice-size);transform-style:preserve-3d;transform:rotateX(-12deg) rotateY(15deg);will-change:transform;z-index:1}.drift-face{position:absolute;inset:0;display:grid;place-items:center;backface-visibility:hidden;background:var(--face-color);border:7px solid #fff;border-radius:15px;box-shadow:inset 0 2px 0 #fff5,inset 0 -5px 8px #0002,0 0 0 1px #dce7fa77}.drift-face:after{content:'';position:absolute;inset:0;border-radius:8px;pointer-events:none;background:linear-gradient(145deg,#fff2,transparent 55%,#0001)}.drift-pip{width:14px;height:14px;background:white;border-radius:50%;box-shadow:0 1px 1px #0001}.drift-face-0{transform:translateZ(var(--dice-half))}.drift-face-1{transform:rotateY(90deg) translateZ(var(--dice-half))}.drift-face-2{transform:rotateY(180deg) translateZ(var(--dice-half))}.drift-face-3{transform:rotateY(-90deg) translateZ(var(--dice-half))}.drift-face-4{transform:rotateX(90deg) translateZ(var(--dice-half))}.drift-face-5{transform:rotateX(-90deg) translateZ(var(--dice-half))}.drift-die-shadow{position:absolute;width:83px;height:17px;left:16px;top:112px;background:#0009;filter:blur(7px);border-radius:50%}.drift-die-name{position:absolute;bottom:0;left:0;right:0;text-align:center;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:1px;color:#eaf5ff;text-shadow:0 2px 8px #000}.dice-roll-label{font-size:18px;color:#e1f4ff;margin:14px 0}.dice-roll-progress{width:180px;height:4px;background:#ceeaff19;border-radius:4px;margin:15px auto 25px;overflow:hidden}.dice-roll-progress>i{display:block;height:100%;background:linear-gradient(90deg,#65dfea,#b78ff7);border-radius:4px;transition:width .1s linear}.dice-history{display:grid;gap:12px;margin-top:20px}.dice-history-grid{display:grid;gap:7px;justify-content:center}.dice-history-row{gap:8px}.dice-history-chip{display:grid;place-items:center;width:37px;height:37px;border:4px solid white;border-radius:9px;background:var(--face-color);box-shadow:0 3px 7px #0003}.dice-history-chip i{display:block;width:6px;height:6px;border-radius:50%;background:white}.dice-stats-title{text-align:center;font-size:25px!important;font-weight:900;margin:28px 0 20px!important;color:#fff;text-shadow:0 3px 0 #39549e}.dice-stats-panel{background:#6f9dc51b;border:1px solid #93c9f72d;border-radius:20px;padding:23px}.dice-stats-panel h3,.dice-odds h3{font-size:12px!important;letter-spacing:1.5px;margin:0 0 15px!important;color:#cbe9ff}.dice-stats-panel h3:not(:first-child){margin-top:26px!important}.dice-stat-colors{display:flex;flex-wrap:wrap;gap:9px}.dice-stat-pill{display:grid;grid-template-columns:21px auto;align-items:center;gap:6px;padding:8px 11px;background:#f2f6ff;border-radius:8px;color:#12203a;font-size:12px}.dice-stat-pill>i{width:20px;height:20px;background:var(--face-color);border-radius:4px;position:relative}.dice-stat-pill>i:after{content:'';position:absolute;left:8px;top:8px;width:4px;height:4px;border-radius:50%;background:white}.dice-stat-pill strong{font-size:12px}.dice-stat-pill small{grid-column:2;font-size:9px;color:#51627d}.dice-stats-note{font-size:10px;color:#9fb7d5;line-height:1.6;margin:13px 0 0}.dice-odds{margin:18px 0 0;padding:21px;border:1px solid #79cde332;border-radius:15px;background:#0b14266b;text-align:center}.dice-odds strong{font-size:21px;color:#a1eff5}.dice-odds p{font-size:12px;line-height:1.7;color:#c0d4ec}.dice-odds small{font-size:10px;color:#94abc9}.dice-obscured .color-dice,.dice-obscured .dice-history-grid,.dice-obscured .dice-stat-colors{filter:blur(var(--dice-blur,18px));user-select:none}.dice-audio-unlock{position:fixed;bottom:15px;left:50%;transform:translateX(-50%);z-index:100;border:1px solid #a4d6ed;background:#10283f;color:#e1f8ff;padding:10px 16px;border-radius:10px;font:600 12px system-ui;cursor:pointer}.color-drift.game-transparent .dice-stats-panel{background:#0c1824bb}.color-drift.game-transparent .dice-odds{background:#0b1426c7}.dice-config-views{display:flex;flex-wrap:wrap;gap:10px}.dice-config-views button{flex:1}.dice-guide{padding:15px;border:1px solid #4c668755;border-radius:12px;background:#13253b;font-size:12px;line-height:1.7;color:#b8cee8}.dice-ui-status{font-size:12px;line-height:1.7;color:#a9bed7}@media(max-width:500px){.drift-die-holder{--dice-size:72px;--dice-half:36px;width:98px;height:140px}.drift-die-shadow{width:70px;left:13px;top:103px}.color-dice{gap:12px 4px}.dice-stat-pill{padding:7px;font-size:11px}.dice-stats-panel{padding:16px}}@media(prefers-reduced-motion:reduce){.drift-cube{will-change:auto}.dice-roll-progress>i{transition:none}.drift-die-shadow{filter:blur(4px)}}

.dice-settings>summary{font-size:14px;font-weight:700;color:#b5e8f5;cursor:pointer;list-style-position:inside;padding:5px 0 16px}.dice-settings[open]{display:grid;gap:16px}.color-drift-controls>.studio-dual{grid-template-columns:minmax(0,1fr)}.color-drift-controls .stream-games-preview{grid-row:1;max-width:700px;justify-self:center}.color-drift-controls .studio-controls{grid-row:2}.color-drift-controls .studio-actions{padding:12px;border:1px solid #445b7855;background:#111f32;border-radius:12px}.color-drift-controls .studio-actions button{flex:1;min-width:120px}.dice-settings .game-color-settings{grid-template-columns:minmax(0,1fr) 100px}.dice-settings .studio-field{margin:0}.dice-settings .game-color-settings label{display:flex;flex-direction:column;align-items:stretch}
.drift-face{border-width:4px;border-color:#f4f8ff;border-radius:18px;background:linear-gradient(145deg,#ffffff66,transparent 45%,#101c3c33),var(--face-color);box-shadow:inset 0 2px 4px #ffffffa8,inset 0 -5px 10px #05112b55,0 0 0 1px #ffffff77}.drift-face:after{inset:4px;border:1px solid #ffffff40;border-radius:11px;background:linear-gradient(150deg,#fff5,transparent 42%)}.drift-face .die-v-mark{width:44%;height:44%;object-fit:contain;filter:drop-shadow(0 2px 2px #07132d66)}.die-in-flight .drift-face{border-color:#e6f1ff;background:linear-gradient(135deg,#f7fbff,#c8d9ed 42%,#819bbc);box-shadow:inset 0 2px 5px #fff,inset 0 -6px 10px #3a537555,0 0 12px #70dfff25}.die-landed .drift-cube{animation:die-color-arrive .42s ease-out}.die-landed .drift-die-shadow{background:#0c152a88;box-shadow:0 0 20px #7cecff22}@keyframes die-color-arrive{from{filter:brightness(1.55) saturate(.4)}to{filter:brightness(1) saturate(1)}}@media(prefers-reduced-motion:reduce){.die-landed .drift-cube{animation:none}}
.color-dice.last-call-webgl{display:block;perspective:none;min-height:250px;margin:10px 0 0;overflow:hidden}.last-call-webgl canvas{display:block;max-width:100%;background:transparent}.last-call-results{display:flex;flex-wrap:wrap;justify-content:center;gap:9px;min-height:32px;margin:8px 0 15px;color:#b8cde1;font-size:12px;letter-spacing:.06em}.last-call-results span{padding:7px 13px;border-radius:999px;background:color-mix(in srgb,var(--result-color) 20%,#101827);border:1px solid var(--result-color);color:#f5f9ff;font-weight:700}.dice-obscured .last-call-webgl canvas,.dice-obscured .last-call-results{filter:blur(var(--dice-blur))}
