.shutthebox_wrap__eBFE6{position:relative;z-index:1;display:flex;flex-direction:column;gap:10px;width:min(100%,560px);margin:4px auto 0;color:var(--ink);touch-action:manipulation;-webkit-tap-highlight-color:transparent;--d:clamp(40px,11.5vw,54px)}.shutthebox_strip__Yhr16{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:6px;gap:6px}.shutthebox_strip__Yhr16[data-n="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}.shutthebox_strip__Yhr16[data-n="4"]{grid-template-columns:repeat(4,minmax(0,1fr))}.shutthebox_chip__VXobt{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;grid-gap:6px;gap:6px;min-width:0;min-height:40px;padding:6px 9px;border-radius:12px;background:#122630;box-shadow:inset 0 0 0 1px rgba(255,255,255,.07);transition:box-shadow .25s,background .25s}.shutthebox_strip__Yhr16[data-n="3"] .shutthebox_chip__VXobt,.shutthebox_strip__Yhr16[data-n="4"] .shutthebox_chip__VXobt{grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto;row-gap:1px;padding:5px 7px}.shutthebox_strip__Yhr16[data-n="3"] .shutthebox_chipVal__aNCMn,.shutthebox_strip__Yhr16[data-n="4"] .shutthebox_chipVal__aNCMn{grid-column:1/-1;font-size:13.5px}.shutthebox_chipOn__nL_L0{background:#1b2a3f;box-shadow:inset 0 0 0 2px var(--pc)}.shutthebox_chipShut__IEI1p{box-shadow:inset 0 0 0 2px #f2b86b}.shutthebox_chipShut__IEI1p .shutthebox_chipVal__aNCMn{color:#f2b86b}.shutthebox_chipPar__R2GVj{opacity:.9}.shutthebox_chipAv__Wp3Ul{display:grid;flex:none;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--pc);color:#10202a;font:700 12px/1 var(--font-sans)}.shutthebox_chipName__n5FOH{overflow:hidden;color:var(--ink-muted);font:600 12.5px var(--font-sans);white-space:nowrap;text-overflow:ellipsis}.shutthebox_chipVal__aNCMn{font:700 15px/1.1 var(--font-display);white-space:nowrap}.shutthebox_box__r0rEM{position:relative;padding:11px 11px 12px;border-radius:18px;background:repeating-linear-gradient(92deg,rgba(255,236,205,.035) 0 2px,transparent 2px 11px),repeating-linear-gradient(88deg,rgba(0,0,0,.06) 0 1px,transparent 1px 29px),linear-gradient(180deg,#8a5a36,#714630 52%,#5a361f);box-shadow:inset 0 1px 0 rgba(255,230,190,.28),inset 0 -3px 0 rgba(0,0,0,.25),0 12px 26px rgba(2,14,20,.45);transition:box-shadow .6s}.shutthebox_boxShut__FLYpE{box-shadow:inset 0 1px 0 rgba(255,230,190,.28),inset 0 -3px 0 rgba(0,0,0,.25),0 0 0 2px rgba(242,184,107,.55),0 0 34px rgba(242,184,107,.3),0 12px 26px rgba(2,14,20,.45)}.shutthebox_rack__afA85{position:relative;display:grid;grid-template-columns:repeat(var(--n,9),minmax(0,1fr));grid-gap:clamp(3px,1.1vw,7px);gap:clamp(3px,1.1vw,7px);padding:10px 8px 8px;border-radius:12px 12px 6px 6px;background:linear-gradient(180deg,#3b2314,#2c190d);box-shadow:inset 0 4px 9px rgba(0,0,0,.55),inset 0 0 0 1px rgba(0,0,0,.3);perspective:700px}.shutthebox_rack__afA85:after{content:"";position:absolute;left:6px;right:6px;bottom:3px;height:7px;border-radius:3px;background:linear-gradient(180deg,#d2ad68,#9b7438 70%,#7c5a28);box-shadow:inset 0 1px 0 rgba(255,245,210,.55);pointer-events:none}.shutthebox_boxShut__FLYpE .shutthebox_rack__afA85:before{content:"";position:absolute;inset:0;z-index:3;border-radius:inherit;background:linear-gradient(100deg,transparent 35%,rgba(255,228,175,.32) 50%,transparent 65%);background-size:260% 100%;animation:shutthebox_sweep__ai7iN 1.5s ease-out 2;pointer-events:none}.shutthebox_tile__jSWkx{position:relative;height:clamp(64px,18.5vw,88px);padding:0;border:0;background:none;color:inherit;cursor:default;transform-style:preserve-3d;transition:transform .16s cubic-bezier(.3,1.5,.5,1);-webkit-tap-highlight-color:transparent}.shutthebox_box__r0rEM[data-tiles="12"] .shutthebox_tile__jSWkx{height:clamp(58px,16.5vw,82px)}.shutthebox_tile__jSWkx:disabled{opacity:1;color:inherit}.shutthebox_live__tz0m5{cursor:pointer}.shutthebox_tile__jSWkx:focus-visible{outline:3px solid #eef3fa;outline-offset:2px;border-radius:8px}.shutthebox_flap__sCZ5f{position:absolute;inset:0 0 7px;transform-style:preserve-3d;transition:transform .5s cubic-bezier(.3,1.3,.5,1)}.shutthebox_up___fPjv .shutthebox_flap__sCZ5f{transition-delay:calc(var(--i, 0) * 45ms)}.shutthebox_down__ZlfgL .shutthebox_flap__sCZ5f{transform:translateY(5px) rotateX(180deg) scale(.95)}.shutthebox_back__6O4Ns,.shutthebox_front__eAwQ_{position:absolute;inset:0;display:grid;place-items:center;border-radius:7px 7px 4px 4px;backface-visibility:hidden;-webkit-backface-visibility:hidden}.shutthebox_front__eAwQ_{background:radial-gradient(120% 60% at 50% 0,rgba(255,255,255,.4),transparent 70%),linear-gradient(180deg,#f6e7c8,#ebd3a6 58%,#d8b984);box-shadow:inset 0 1px 0 #fff6e0,inset 0 -3px 0 rgba(90,55,25,.22),0 3px 4px rgba(0,0,0,.38);transition:box-shadow .18s,filter .2s}.shutthebox_front__eAwQ_ b{color:#4a2c16;font:700 clamp(17px,5.2vw,25px) /1 var(--font-display);text-shadow:0 1px 0 rgba(255,255,255,.55)}.shutthebox_box__r0rEM[data-tiles="12"] .shutthebox_front__eAwQ_ b{font-size:clamp(13px,3.9vw,21px)}.shutthebox_back__6O4Ns{align-items:end;padding-bottom:6px;background:repeating-linear-gradient(90deg,rgba(255,255,255,.03) 0 1px,transparent 1px 5px),linear-gradient(180deg,#5f3c23,#472c18);box-shadow:inset 0 0 0 1px rgba(0,0,0,.3),inset 0 2px 5px rgba(0,0,0,.45);transform:rotateX(180deg)}.shutthebox_back__6O4Ns i{color:rgba(255,230,190,.38);font:600 11px/1 var(--font-sans);font-style:normal}.shutthebox_botPick__emQjU,.shutthebox_picked__ql75N{transform:translateY(-6px)}.shutthebox_botPick__emQjU .shutthebox_front__eAwQ_,.shutthebox_picked__ql75N .shutthebox_front__eAwQ_{box-shadow:inset 0 1px 0 #fff6e0,0 0 0 2.5px var(--pc),0 0 14px 1px var(--pc),0 7px 9px rgba(0,0,0,.38)}.shutthebox_hinted__HJoHV .shutthebox_front__eAwQ_:after{content:"";position:absolute;inset:-5px;border-radius:10px 10px 7px 7px;border:2.5px dashed #eef3fa;animation:shutthebox_ring__a_FfA 1s ease-in-out infinite;pointer-events:none}.shutthebox_dim__6Q99x .shutthebox_front__eAwQ_{filter:brightness(.62) saturate(.7)}.shutthebox_nudge__r8KrD{animation:shutthebox_nudge__r8KrD .36s ease-in-out}.shutthebox_felt__LvDeG{position:relative;height:calc(var(--d) * 2 + 34px);margin-top:10px;border-radius:12px;background:radial-gradient(120% 90% at 50% 15%,rgba(255,255,255,.09),transparent 60%),repeating-linear-gradient(45deg,rgba(0,0,0,.035) 0 2px,transparent 2px 5px),linear-gradient(170deg,#23604f,#174638 70%,#123a2f);box-shadow:inset 0 3px 10px rgba(0,0,0,.45),inset 0 0 0 1px rgba(0,0,0,.25)}.shutthebox_plate__5y_ac{position:absolute;top:8px;left:10px;z-index:3;padding:3px 9px;border-radius:8px;background:linear-gradient(180deg,#dcb873,#b48b47);box-shadow:inset 0 1px 0 rgba(255,250,225,.5),0 1px 2px rgba(0,0,0,.35);color:#2b1a08;font:600 12px/1.3 var(--font-sans);white-space:nowrap}.shutthebox_plate__5y_ac b{font:700 14px/1 var(--font-display)}.shutthebox_feltHint__v716k{position:absolute;top:55%;left:50%;width:calc(var(--d) * 2.3);height:calc(var(--d) * .9);transform:translate(-50%,-50%);pointer-events:none}.shutthebox_feltHint__v716k:after,.shutthebox_feltHint__v716k:before{content:"";position:absolute;top:0;width:calc(var(--d) * .9);height:100%;border:2px dashed rgba(255,255,255,.13);border-radius:22%}.shutthebox_feltHint__v716k:before{left:0}.shutthebox_feltHint__v716k:after{right:0}.shutthebox_die___duOd{position:absolute;top:56%;z-index:2;width:var(--d);height:var(--d);transform:translate(calc(-50% + var(--dx, 0px)),calc(-50% + var(--dy, 0px)));perspective:420px;transition:opacity .3s,transform .3s}.shutthebox_die___duOd:before{content:"";position:absolute;right:2%;bottom:-9%;left:8%;height:26%;border-radius:50%;background:rgba(0,25,18,.5);filter:blur(3px)}.shutthebox_thrown__dyWKh{animation:shutthebox_throwIn__Szdg4 .62s cubic-bezier(.2,.9,.3,1.15) var(--dl,0s) both}.shutthebox_spent__Y7VRS{opacity:.5;transform:translate(calc(-50% + var(--dx, 0px)),calc(-50% + var(--dy, 0px))) scale(.86)}.shutthebox_flash__N1mJF{position:absolute;top:54%;left:50%;z-index:5;pointer-events:none;text-align:center;white-space:nowrap;transform:translate(-50%,-50%)}.shutthebox_flashShut__PRqGo{color:#f2b86b;font:700 clamp(30px,9vw,46px) /1 var(--font-display);text-shadow:0 2px 0 rgba(10,24,30,.7),0 0 22px rgba(242,184,107,.45);animation:shutthebox_shutIn__pmQWa 2.6s ease-out forwards}.shutthebox_flashStuck__Rqn7E{display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 18px 9px;border-radius:14px;background:rgba(8,13,22,.86);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);color:#eef3fa;font:700 30px/1 var(--font-display);animation:shutthebox_stuckIn__3BSEZ 1.7s ease-out forwards}.shutthebox_flashStuck__Rqn7E small{color:var(--ink-muted);font:600 11px/1 var(--font-sans);letter-spacing:.06em;text-transform:uppercase}.shutthebox_dock__On9Ux{display:flex;gap:8px;align-items:stretch}.shutthebox_diceSeg__vV_VN{display:flex;flex:none;gap:3px;padding:3px;border-radius:14px;background:#111b2a}.shutthebox_segBtn__kLbJI{min-width:60px;min-height:46px;padding:0 9px;border:0;border-radius:11px;background:transparent;color:var(--ink-muted);font:600 14px var(--font-sans);white-space:nowrap;cursor:pointer}.shutthebox_segBtn__kLbJI[aria-pressed=true]{background:#1f3e4b;color:var(--ink)}.shutthebox_segBtn__kLbJI:disabled{cursor:default}.shutthebox_segHint__fLlcG{outline:2px dashed #eef3fa;outline-offset:-4px}.shutthebox_rollBtn__yKT9b{display:inline-flex;flex:1 1;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:52px;padding:0 14px;border:0;border-radius:14px;background:var(--splash);color:var(--on-splash);font:700 18px var(--font-display);cursor:pointer;transition:opacity .2s,transform .1s}.shutthebox_rollBtn__yKT9b:active:not(:disabled){transform:translateY(1px)}.shutthebox_rollBtn__yKT9b:disabled{opacity:.4;cursor:default}.shutthebox_rollHint__Jl5Y1:not(:disabled){box-shadow:0 0 0 3px #0d1420,0 0 0 5px #eef3fa}.shutthebox_side__wW0Ln{display:inline-flex;flex:none;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-width:54px;min-height:52px;padding:0 6px;border:0;border-radius:14px;background:#1f3e4b;color:var(--ink);font:600 11px var(--font-sans);cursor:pointer}.shutthebox_sideOn__Y5rKN{box-shadow:inset 0 0 0 2px #f2b86b;color:#f2b86b}.shutthebox_sideLabel__8da_h{line-height:1.1}.shutthebox_setupLayer__lSF4_{position:absolute;inset:0;z-index:6;display:grid;place-items:center;overflow-y:auto;padding:12px;background:rgba(6,21,30,.5)}.shutthebox_setup__aUMo2{width:min(370px,100%);padding:16px 14px 14px;border-radius:18px;background:#1b2a3f;color:var(--ink);text-align:center;box-shadow:0 18px 40px rgba(0,0,0,.4)}.shutthebox_setup__aUMo2 h2{margin:0;font:700 22px var(--font-display)}.shutthebox_setup__aUMo2 p{margin:4px 0 12px;color:var(--ink-muted);font-size:14px;line-height:1.35}.shutthebox_counts__ywj68{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:8px;gap:8px;margin-bottom:8px}.shutthebox_tilesPick__z7Bbx{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px;gap:8px}.shutthebox_pickBtn__vsqkw{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:52px;padding:9px 4px;border:0;border-radius:14px;background:#111b2a;color:var(--ink);cursor:pointer}.shutthebox_pickBtn__vsqkw[aria-pressed=true]{box-shadow:inset 0 0 0 2px #f2b86b}.shutthebox_go__IhMdg:focus-visible,.shutthebox_pickBtn__vsqkw:focus-visible,.shutthebox_rollBtn__yKT9b:focus-visible,.shutthebox_segBtn__kLbJI:focus-visible,.shutthebox_side__wW0Ln:focus-visible{outline:3px solid #eef3fa;outline-offset:2px}.shutthebox_pickBtn__vsqkw b{font:700 14px var(--font-sans)}.shutthebox_pickBtn__vsqkw small{min-height:1.2em;color:var(--ink-muted);font-size:11px;line-height:1.2}.shutthebox_faces__66sD1{display:flex;justify-content:center}.shutthebox_faces__66sD1 .shutthebox_chipAv__Wp3Ul+.shutthebox_chipAv__Wp3Ul{margin-left:-5px;box-shadow:0 0 0 2px #111b2a}.shutthebox_go__IhMdg{width:100%;min-height:52px;margin-top:12px;border:0;border-radius:14px;background:var(--splash);color:var(--on-splash);font:700 19px var(--font-display);cursor:pointer}@media (min-width:760px){.shutthebox_wrap__eBFE6{width:min(100%,660px);margin-top:8px;--d:58px}.shutthebox_box__r0rEM{padding:14px 14px 15px;border-radius:22px}.shutthebox_rack__afA85{padding:12px 12px 9px}.shutthebox_tile__jSWkx{height:96px}.shutthebox_box__r0rEM[data-tiles="12"] .shutthebox_tile__jSWkx{height:88px}.shutthebox_front__eAwQ_ b{font-size:30px}.shutthebox_box__r0rEM[data-tiles="12"] .shutthebox_front__eAwQ_ b{font-size:24px}.shutthebox_felt__LvDeG{height:calc(var(--d) * 2 + 44px)}.shutthebox_chipName__n5FOH{font-size:13.5px}}@keyframes shutthebox_throwIn__Szdg4{0%{transform:translate(calc(-50% + var(--fx)),calc(-50% + var(--fy))) scale(.6);opacity:0}12%{opacity:1}70%{transform:translate(calc(-50% + var(--dx, 0px)),calc(-50% + var(--dy, 0px))) scale(1.08)}85%{transform:translate(calc(-50% + var(--dx, 0px) - 3px),calc(-50% + var(--dy, 0px) + 2px)) scale(.97)}to{transform:translate(calc(-50% + var(--dx, 0px)),calc(-50% + var(--dy, 0px))) scale(1)}}@keyframes shutthebox_ring__a_FfA{0%,to{opacity:.5}50%{opacity:1}}@keyframes shutthebox_nudge__r8KrD{0%,to{transform:translateX(0)}25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}@keyframes shutthebox_shutIn__pmQWa{0%{transform:translate(-50%,-40%) scale(.9);opacity:0}18%{transform:translate(-50%,-50%) scale(1);opacity:1}82%{transform:translate(-50%,-50%) scale(1.02);opacity:1}to{transform:translate(-50%,-54%) scale(1.02);opacity:0}}@keyframes shutthebox_stuckIn__3BSEZ{0%{transform:translate(-50%,-40%);opacity:0}15%,85%{transform:translate(-50%,-50%);opacity:1}to{transform:translate(-50%,-50%);opacity:0}}@keyframes shutthebox_sweep__ai7iN{0%{background-position:130% 0}to{background-position:-30% 0}}@media (prefers-reduced-motion:reduce){.shutthebox_boxShut__FLYpE .shutthebox_rack__afA85:before,.shutthebox_hinted__HJoHV .shutthebox_front__eAwQ_:after,.shutthebox_nudge__r8KrD,.shutthebox_thrown__dyWKh{animation:none}.shutthebox_flap__sCZ5f{transition-duration:.01s}}