.DragonDice-module__bGh_Sq__page{-webkit-user-select:none;user-select:none;touch-action:manipulation;--u:min(1cqh, .5625cqw);background:#9fd2ee;position:fixed;inset:0;overflow:clip;container-type:size}.DragonDice-module__bGh_Sq__page:after{content:"";z-index:8;pointer-events:none;opacity:0;box-shadow:inset 0 0 0 6px var(--flash,transparent), inset 0 0 48px 16px var(--flash,transparent);transition:opacity .2s;position:absolute;inset:0}.DragonDice-module__bGh_Sq__flash_right{--flash:#1b9e6fbf}.DragonDice-module__bGh_Sq__flash_wrong{--flash:#d23c3cbf}.DragonDice-module__bGh_Sq__flash_right:after,.DragonDice-module__bGh_Sq__flash_wrong:after{opacity:1}.DragonDice-module__bGh_Sq__gate{transform-origin:var(--mouth) 62%;position:absolute;inset:0}.DragonDice-module__bGh_Sq__gateInto{animation:1.1s cubic-bezier(.5,0,.6,1) both DragonDice-module__bGh_Sq__gateInto}@keyframes DragonDice-module__bGh_Sq__gateInto{0%{opacity:1;filter:brightness();transform:scale(1)}60%{opacity:1;filter:brightness(.35)}to{opacity:0;filter:brightness(.2);transform:scale(2.6)}}.DragonDice-module__bGh_Sq__picture{background:url(/images/background/games/dragon-dice-bg.webp) 50%/100% 100% no-repeat;position:absolute;inset:0}.DragonDice-module__bGh_Sq__room{background:url(/images/background/games/dragon-dice-treasure.webp) 50%/100% 100% no-repeat;animation:1.1s ease-out both DragonDice-module__bGh_Sq__roomIn;position:absolute;inset:0}@keyframes DragonDice-module__bGh_Sq__roomIn{0%{opacity:0;filter:brightness(.2);transform:scale(1.12)}45%{opacity:1}to{opacity:1;filter:brightness();transform:scale(1)}}.DragonDice-module__bGh_Sq__sparkle{left:var(--x);top:var(--y);width:calc(var(--u) * 5);height:calc(var(--u) * 5);opacity:0;animation:DragonDice-module__bGh_Sq__twinkle 1.6s ease-in-out calc(1s + var(--k) * .27s) infinite;background:radial-gradient(circle,#fffbe6 0 10%,#ffeca000 45%),linear-gradient(90deg,#fff6c800 30%,#fff6c8 50%,#fff6c800 70%) 50%/100% 12% no-repeat,linear-gradient(#fff6c800 30%,#fff6c8 50%,#fff6c800 70%) 50%/12% 100% no-repeat;position:absolute;translate:-50% -50%}@keyframes DragonDice-module__bGh_Sq__twinkle{0%,to{opacity:0;transform:scale(.3)rotate(0)}45%{opacity:1;transform:scale(1)rotate(45deg)}70%{opacity:0;transform:scale(.5)rotate(70deg)}}.DragonDice-module__bGh_Sq__scene{width:calc(var(--u) * 177.8);height:calc(var(--u) * 100);position:absolute;top:50%;left:50%;translate:-50% -50%}.DragonDice-module__bGh_Sq__stone{left:calc(var(--u) * 41);top:calc(var(--u) * (62.9 - 86 * 111 / 900 * 16 / 111));width:calc(var(--u) * 86);height:calc(var(--u) * 86 * 111 / 900);max-width:none;position:absolute}.DragonDice-module__bGh_Sq__dragon{z-index:2;left:calc(var(--mouth) - var(--u) * 24);top:calc(82% - var(--u) * 48 * .93);width:calc(var(--u) * 48);aspect-ratio:1;transform-origin:50% 93%;transition:left .7s ease-in-out,top .7s ease-in-out,scale .7s ease-in-out;position:absolute}.DragonDice-module__bGh_Sq__dragonAside{left:calc(var(--mouth) + var(--u) * (16 - 24));top:calc(78% - var(--u) * 48 * .93);scale:.9}.DragonDice-module__bGh_Sq__dragonImg{width:100%;max-width:none;height:100%;image-rendering:pixelated;position:absolute;inset:0}.DragonDice-module__bGh_Sq__dragonCheer{transform-origin:50% 93%;animation:.35s ease-in-out 2 DragonDice-module__bGh_Sq__cheer}@keyframes DragonDice-module__bGh_Sq__cheer{0%,to{transform:translateY(0)scale(1)}20%{transform:translateY(0)scale(1.05,.94)}55%{transform:translateY(-7%)scale(.97,1.04)}}.DragonDice-module__bGh_Sq__mirror{transform:scaleX(-1)}.DragonDice-module__bGh_Sq__diceRow{z-index:3;pointer-events:none;position:absolute;inset:0}.DragonDice-module__bGh_Sq__dieBox{left:calc(var(--u) * var(--x));top:calc(var(--u) * 38);width:calc(var(--u) * 23.5);height:calc(var(--u) * 23.5 * 332 / 313);position:absolute}.DragonDice-module__bGh_Sq__die{filter:drop-shadow(0 calc(var(--u) * .8) calc(var(--u) * .8) #32231459);background:url(/images/props/games/dragon-dice-die.webp) 50%/100% 100% no-repeat;position:absolute;inset:0}.DragonDice-module__bGh_Sq__face{position:absolute;inset:3.3% 6.7% 10.8% 7.7%}.DragonDice-module__bGh_Sq__pip{width:18%;height:18%;left:calc(22% + var(--c) * 28% - 9%);top:calc(22% + var(--r) * 28% - 9%);box-shadow:inset 0 calc(var(--u) * .3) calc(var(--u) * .3) #0006;background:radial-gradient(circle at 40% 35%,#5a4a40 0%,#2a201b 70%);border-radius:50%;position:absolute}.DragonDice-module__bGh_Sq__numeral{color:#2a201b;background:linear-gradient(#120c09 0%,#2a201b 45%,#5a4a40 100%);-webkit-text-fill-color:transparent;filter:drop-shadow(0 calc(var(--u) * .4) 0 #fffcf0) drop-shadow(0 calc(var(--u) * -.3) calc(var(--u) * .2) #8c5f2d8c);font-family:Arial,Helvetica,sans-serif;font-weight:900;font-size:calc(var(--u) * 13.5);font-variant-numeric:tabular-nums;-webkit-background-clip:text;background-clip:text;line-height:1;position:absolute;top:50%;left:50%;translate:-50% -50%}.DragonDice-module__bGh_Sq__tumble .DragonDice-module__bGh_Sq__die{animation:DragonDice-module__bGh_Sq__tumble var(--flight) cubic-bezier(.3, .1, .5, 1) var(--delay) both}@keyframes DragonDice-module__bGh_Sq__tumble{0%{opacity:0;transform:translate(calc(var(--u) * var(--fx)), calc(var(--u) * var(--fy))) rotate(0deg) scale(.2)}5%{opacity:1}14%{transform:translate(calc(var(--u) * var(--fx) * .82), calc(var(--u) * (var(--fy) - 16))) rotate(calc(var(--spin) * .22)) scale(.7)}45%{transform:translate(calc(var(--u) * var(--fx) * .38), calc(var(--u) * -15)) rotate(calc(var(--spin) * .62)) scale(.95)}70%{transform:translate(0, 0) rotate(calc(var(--spin) * .93)) scale(1)}82%{transform:translate(0, calc(var(--u) * -3.5)) rotate(calc(var(--spin) * .98)) scale(1)}92%{transform:translate(0, 0) rotate(var(--spin)) scale(1)}96%{transform:translate(0, calc(var(--u) * -.6)) rotate(var(--spin)) scale(1)}to{opacity:1;transform:translate(0, 0) rotate(var(--spin)) scale(1)}}.DragonDice-module__bGh_Sq__tumble:after{content:"";left:-10%;right:-10%;bottom:calc(var(--u) * -2.5);height:calc(var(--u) * 5);opacity:0;animation:DragonDice-module__bGh_Sq__dust .45s ease-out calc(var(--delay) + var(--flight) * .7) both;background:radial-gradient(at 50% 60%,#ebdec4f2 0 40%,#ebdec400 70%);border-radius:50%;position:absolute}@keyframes DragonDice-module__bGh_Sq__dust{0%{opacity:.9;transform:scale(.6,.5)}to{opacity:0;transform:scaleX(1.3)}}.DragonDice-module__bGh_Sq__gather .DragonDice-module__bGh_Sq__die{animation:.45s ease-in both DragonDice-module__bGh_Sq__gather}@keyframes DragonDice-module__bGh_Sq__gather{50%{transform:translate(calc(var(--u) * var(--fx) * .5), calc(var(--u) * -12)) rotate(calc(var(--spin) * -.3)) scale(.8)}85%{opacity:1}to{opacity:0;transform:translate(calc(var(--u) * var(--fx)), calc(var(--u) * var(--fy))) rotate(calc(var(--spin) * -.5)) scale(.2)}}.DragonDice-module__bGh_Sq__dieGlow{animation:.9s ease-in-out both DragonDice-module__bGh_Sq__hint}@keyframes DragonDice-module__bGh_Sq__hint{0%{filter:drop-shadow(0 0 0 #ffb40000) drop-shadow(0 0 0 #ffb40000) drop-shadow(0 calc(var(--u) * .8) calc(var(--u) * .8) #32231459)}35%,65%{filter:drop-shadow(0 0 calc(var(--u) * .8) #ffb400) drop-shadow(0 0 calc(var(--u) * .8) #ffb400) drop-shadow(0 0 calc(var(--u) * 3.5) #ffb400)}to{filter:drop-shadow(0 0 calc(var(--u) * .6) #ffb400) drop-shadow(0 0 calc(var(--u) * .6) #ffb400) drop-shadow(0 0 calc(var(--u) * 2.5) #ffb400f2)}}.DragonDice-module__bGh_Sq__traveller{z-index:4;pointer-events:none;--character-width:calc(var(--u) * 58);--character-min-width:0px;transition:opacity .45s ease-in,filter .3s ease-in;position:absolute;inset:0}.DragonDice-module__bGh_Sq__travellerGone{opacity:0;filter:brightness(.3)}.DragonDice-module__bGh_Sq__cards{z-index:5;left:calc(var(--u) * 34);width:calc(var(--u) * 100);top:calc(var(--u) * 73.5);justify-content:center;gap:calc(var(--u) * 4);display:flex;position:absolute}.DragonDice-module__bGh_Sq__card{width:calc(var(--u) * 21);aspect-ratio:1;cursor:pointer;-webkit-tap-highlight-color:transparent;animation:DragonDice-module__bGh_Sq__cardIn .38s cubic-bezier(.2, .8, .3, 1) calc(var(--i) * 70ms) both;background:0 0;border:0;padding:0;transition:scale .15s,opacity .25s;position:relative}@keyframes DragonDice-module__bGh_Sq__cardIn{0%{transform:translateY(calc(var(--u) * 32))}}.DragonDice-module__bGh_Sq__cardAway{animation:DragonDice-module__bGh_Sq__cardOut .3s ease-in calc(var(--i) * 50ms) both}@keyframes DragonDice-module__bGh_Sq__cardOut{to{transform:translateY(calc(var(--u) * 32))}}.DragonDice-module__bGh_Sq__cardInner{width:100%;height:100%;display:block}.DragonDice-module__bGh_Sq__cardBob{animation:DragonDice-module__bGh_Sq__bob 1.5s ease-in-out calc(var(--i) * -500ms) infinite alternate}@keyframes DragonDice-module__bGh_Sq__bob{0%{transform:translateY(calc(var(--u) * .8))}to{transform:translateY(calc(var(--u) * -.8))}}.DragonDice-module__bGh_Sq__card:active{scale:.94}@media (hover:hover){.DragonDice-module__bGh_Sq__card:not(:disabled):hover{scale:1.1}}.DragonDice-module__bGh_Sq__cardRight{filter:drop-shadow(0 0 2px #1b9e6f)drop-shadow(0 0 6px #1b9e6fe6)}.DragonDice-module__bGh_Sq__cardWrong{filter:drop-shadow(0 0 2px #d23c3c)drop-shadow(0 0 6px #d23c3ce6);animation:.45s ease-in-out DragonDice-module__bGh_Sq__shake}.DragonDice-module__bGh_Sq__cardDim{opacity:.35;cursor:default}@keyframes DragonDice-module__bGh_Sq__shake{20%{transform:translate(-6%)}40%{transform:translate(6%)}60%{transform:translate(-4%)}80%{transform:translate(4%)}}.DragonDice-module__bGh_Sq__cardWiggle{animation:.7s ease-in-out DragonDice-module__bGh_Sq__wiggle}@keyframes DragonDice-module__bGh_Sq__wiggle{25%{transform:rotate(-6deg)}75%{transform:rotate(6deg)}}.DragonDice-module__bGh_Sq__cardWiggleAgain{animation:.7s ease-in-out DragonDice-module__bGh_Sq__wiggleAgain}@keyframes DragonDice-module__bGh_Sq__wiggleAgain{24%{transform:rotate(-6deg)}76%{transform:rotate(6deg)}}.DragonDice-module__bGh_Sq__timer{z-index:6;left:var(--bar-left,40%);width:var(--bar-width,20%);top:calc(var(--game-corner-safe-height,64px) / 2);pointer-events:none;background:#462d1959;border-radius:999px;height:16px;position:absolute;overflow:hidden;translate:0 -50%;box-shadow:inset 0 0 0 2px #ffffff80}.DragonDice-module__bGh_Sq__timerFill{width:calc((100% - 6px) * var(--bar,1));background:linear-gradient(90deg,#3ea35a,#8ccf4d);border-radius:999px;transition:width .12s linear;position:absolute;inset:3px auto 3px 3px}.DragonDice-module__bGh_Sq__timerLow .DragonDice-module__bGh_Sq__timerFill{background:linear-gradient(90deg,#e2463c,#f1a12b);animation:.7s ease-in-out infinite alternate DragonDice-module__bGh_Sq__barFlicker}@keyframes DragonDice-module__bGh_Sq__barFlicker{0%{opacity:1}to{opacity:.55}}.DragonDice-module__bGh_Sq__preload{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}@media (prefers-reduced-motion:reduce){.DragonDice-module__bGh_Sq__card,.DragonDice-module__bGh_Sq__cardAway,.DragonDice-module__bGh_Sq__cardBob,.DragonDice-module__bGh_Sq__cardWiggle,.DragonDice-module__bGh_Sq__cardWiggleAgain,.DragonDice-module__bGh_Sq__dragonCheer,.DragonDice-module__bGh_Sq__tumble:after{animation-duration:1ms}.DragonDice-module__bGh_Sq__sparkle{opacity:.85;animation:none}}
