.simple-dice-page{color:#172033}.dice-heading{margin:0 0 30px}.dice-eyebrow{margin:0 0 9px!important;color:#087f6d;font-size:13px!important;font-weight:900}.dice-heading h1{margin:0 0 17px;color:#101827;font-size:44px;line-height:1.2;letter-spacing:0}.dice-heading>p:last-child,.dice-guide>header>p:last-child{margin:0;color:#526078;font-size:17px;line-height:1.8}.dice-game,.dice-history,.dice-guide{border:1px solid #d8e2ea;border-radius:8px;background:#fff}.game-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 23px;border-bottom:1px solid #dce5eb}.game-toolbar>div:first-child>span,.dice-history header span{display:block;margin-bottom:3px;color:#087f6d;font-size:10px;font-weight:900;text-transform:uppercase}.game-toolbar h2,.dice-history h2{margin:0;color:#172033;font-size:22px}.count-control{display:flex;align-items:center;gap:9px}.count-control>span{color:#405167;font-size:12px;font-weight:900}.count-control button{display:grid;width:34px!important;min-width:34px!important;height:34px!important;margin:0!important;padding:0!important;place-items:center;border:1px solid #cfd9e2;border-radius:6px;background:#f5f8fa;color:#405167;font:inherit;font-size:19px;font-weight:800}.count-control button:disabled{color:#b2bbc6;cursor:not-allowed}.count-control strong{min-width:34px;color:#172033;font-size:16px;text-align:center}.count-control small{color:#8793a4;font-size:10px}.dice-table{position:relative;display:grid;min-height:340px;padding:42px 24px 54px;place-items:center;overflow:hidden;background:radial-gradient(circle at 50% 35%,#d9fbf6 0,#a8e8df 45%,#82d2c7 100%)}.dice-table:before{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.1) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.1) 1px,transparent 1px);background-size:7px 7px;content:"";opacity:.55}.dice-scene{position:relative;z-index:2;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:34px 42px;width:100%;max-width:650px;perspective:900px}.table-shadow{position:absolute;bottom:36px;left:50%;width:72%;height:35px;transform:translateX(-50%);border-radius:50%;background:rgba(23,65,61,.17);filter:blur(15px)}.die-wrap{position:relative;width:76px;height:76px;perspective:600px}.die-wrap:after{position:absolute;right:3px;bottom:-19px;left:3px;height:15px;border-radius:50%;background:rgba(24,58,54,.24);content:"";filter:blur(6px)}.dice-cube{position:relative;width:76px;height:76px;transform:rotateX(-18deg) rotateY(24deg);transform-style:preserve-3d;transition:transform .82s cubic-bezier(.2,.7,.15,1)}.dice-cube.is-rolling{transition-timing-function:cubic-bezier(.18,.7,.22,1)}.cube-face{position:absolute;display:grid;width:76px;height:76px;padding:10px;grid-template:repeat(3,1fr)/repeat(3,1fr);border:1px solid #cfd6da;border-radius:13px;background:linear-gradient(145deg,#fff 0,#fafafa 52%,#e9edef 100%);box-shadow:inset 3px 3px 8px rgba(255,255,255,.95),inset -5px -5px 9px rgba(50,67,75,.13);backface-visibility:hidden}.cube-face.front{transform:translateZ(38px)}.cube-face.back{transform:rotateY(180deg) translateZ(38px)}.cube-face.right{transform:rotateY(90deg) translateZ(38px)}.cube-face.left{transform:rotateY(-90deg) translateZ(38px)}.cube-face.top{transform:rotateX(90deg) translateZ(38px)}.cube-face.bottom{transform:rotateX(-90deg) translateZ(38px)}.pip{align-self:center;justify-self:center;width:12px;height:12px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#4f565b 0,#22282c 52%,#090b0d 100%);box-shadow:inset 1px 1px 2px rgba(255,255,255,.18),0 1px 1px rgba(255,255,255,.65)}.pip.tl{grid-area:1/1}.pip.tc{grid-area:1/2}.pip.tr{grid-area:1/3}.pip.ml{grid-area:2/1}.pip.mc{grid-area:2/2}.pip.mr{grid-area:2/3}.pip.bl{grid-area:3/1}.pip.bc{grid-area:3/2}.pip.br{grid-area:3/3}.game-result{display:grid;grid-template-columns:minmax(0,1fr) 130px;gap:12px;padding:18px 23px;border-top:1px solid #dce5eb}.game-result>div{min-height:75px;padding:13px 15px;border:1px solid #dce5eb;border-radius:7px;background:#f8fafc}.game-result span,.game-result strong{display:block}.game-result span{color:#7b899b;font-size:10px}.game-result strong{margin-top:8px;color:#29394e;font-size:16px;line-height:1.3}.sum-result{border-color:#bddfd7!important;background:#edf8f5!important}.sum-result strong{color:#087f6d!important;font-size:27px!important}.game-actions{display:flex;justify-content:center;gap:9px;padding:0 23px}.game-actions button{width:auto!important;min-width:126px!important;min-height:48px!important;margin:0!important;padding:0 18px!important;border:1px solid #ccd8e1;border-radius:7px;background:#fff;color:#405167;font:inherit;font-size:13px;font-weight:900}.game-actions .primary-roll{min-width:190px!important;border-color:#087f6d;background:#087f6d;color:#fff}.primary-roll span{display:inline-block;margin-right:4px;font-size:19px}.primary-roll.is-rolling span{animation:spin-icon .75s linear}.dice-status{margin:13px 23px 20px;padding:11px 13px;border-left:3px solid #83c6b7;background:#edf7f4;color:#536378;font-size:11px;line-height:1.6}.dice-history{margin-top:18px;padding:22px 23px}.dice-history>header{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:14px}.dice-history button{width:auto!important;min-width:76px!important;height:38px!important;margin:0!important;padding:0 12px!important;border:1px solid #d2dde6;border-radius:7px;background:#fff;color:#526078;font:inherit;font-size:10px;font-weight:900}.history-list{display:grid;gap:7px}.history-empty{margin:0;padding:18px;border:1px dashed #ccd8e2;border-radius:7px;color:#8793a4;font-size:11px;text-align:center}.history-row{display:grid;grid-template-columns:115px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 13px;border:1px solid #dce5eb;border-radius:7px;background:#f8fafc}.history-row time{color:#7d899a;font-size:10px}.history-row strong{overflow:hidden;color:#34445a;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.history-row b{color:#087f6d;font-size:13px}.dice-guide{margin-top:24px;padding:28px}.dice-guide>header{padding-bottom:22px;border-bottom:1px solid #dce5eb}.dice-guide>header h2{margin:0 0 11px;color:#172033;font-size:29px;line-height:1.35}.guide-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:24px 0}.guide-steps article{height:100%;margin:0!important;padding:17px;border:1px solid #dbe4eb;border-radius:8px}.guide-steps span{display:block;margin-bottom:7px;color:#087f6d;font-size:11px;font-weight:900}.guide-steps strong{display:block;color:#29394e;font-size:14px}.guide-steps p{margin:6px 0 0;color:#708095;font-size:11px;line-height:1.65}.guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.guide-grid section{height:100%;margin:0!important;padding:19px;border:1px solid #dbe4eb;border-radius:8px}.guide-grid h3,.faq-list h3{margin:0 0 8px;color:#172033;font-size:18px}.guide-grid p,.faq-list p,.probability-note p{margin:0;color:#607086;font-size:13px;line-height:1.8}.probability-note{margin-top:23px;padding:19px;border-left:4px solid #e2a13c;background:#fff7e8}.probability-note strong{display:block;margin-bottom:5px;color:#8a5b16}.faq-list{margin-top:24px}.faq-list details{border-top:1px solid #dce5eb}.faq-list details:last-child{border-bottom:1px solid #dce5eb}.faq-list summary{padding:15px 3px;color:#2c3c51;font-size:13px;font-weight:800;cursor:pointer}.faq-list details p{padding:0 3px 15px}@keyframes spin-icon{to{transform:rotate(360deg)}}
@media screen and (max-width:700px){.dice-heading h1{font-size:34px}.dice-heading>p:last-child{font-size:15px}.game-toolbar{display:block;padding:18px 15px}.count-control{margin-top:17px;justify-content:center;flex-wrap:wrap}.count-control>span{width:100%;text-align:center}.count-control small{width:100%;text-align:center}.dice-table{min-height:330px;padding:42px 15px 54px}.dice-scene{gap:31px 32px}.die-wrap,.dice-cube{width:64px;height:64px}.cube-face{width:64px;height:64px;padding:8px;border-radius:11px}.cube-face.front{transform:translateZ(32px)}.cube-face.back{transform:rotateY(180deg) translateZ(32px)}.cube-face.right{transform:rotateY(90deg) translateZ(32px)}.cube-face.left{transform:rotateY(-90deg) translateZ(32px)}.cube-face.top{transform:rotateX(90deg) translateZ(32px)}.cube-face.bottom{transform:rotateX(-90deg) translateZ(32px)}.pip{width:10px;height:10px}.game-result{grid-template-columns:1fr 92px;padding:15px}.game-actions{padding:0 15px}.game-actions button{min-width:100px!important;padding:0 13px!important}.game-actions .primary-roll{min-width:170px!important}.dice-status{margin:13px 15px 18px}.dice-history,.dice-guide{padding:18px 15px}.history-row{grid-template-columns:82px minmax(0,1fr) auto}.guide-steps,.guide-grid{grid-template-columns:1fr}.dice-guide>header h2{font-size:24px}}
@media screen and (max-width:390px){.game-actions{display:grid;grid-template-columns:1fr}.game-actions button,.game-actions .primary-roll{width:100%!important}.dice-scene{gap:30px 25px}.history-row{grid-template-columns:1fr auto}.history-row strong{grid-column:1/-1;grid-row:2}}
