.dice-dashboard{background:#faf5ef;border-radius:22px;padding:24px 28px 20px;margin-bottom:2em;margin-left:auto;margin-right:auto;max-width:480px;border:1.5px solid #e8ddd2;box-shadow:0 2px 12px rgba(180,160,140,.1);position:relative;overflow:hidden}.dice-dashboard::before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#1a5c2a,#d4a44c,#1a5c2a,#d4a44c,#1a5c2a);border-radius:22px 22px 0 0}.dice-dashboard-header{font-size:16px;font-weight:700;color:#2d5a3d;margin-bottom:18px;padding-bottom:12px;border-bottom:1.5px dashed #d4ddd8;display:flex;align-items:center;gap:8px}.dice-control-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:20px}.dice-control-label{font-size:14px;font-weight:600;color:#5a7d6a;white-space:nowrap}.dice-count-input{width:72px!important;height:40px;text-align:center;font-size:18px;font-weight:700;color:#2d5a3d;background:#fff;border:2px solid #c8d8ce!important;border-radius:12px!important;outline:0;transition:border-color .2s,box-shadow .2s;display:inline-block!important}.dice-count-input:focus{border-color:#4a9d6a!important;box-shadow:0 0 0 3px rgba(74,157,106,.15)}.roll-button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:14px 24px;font-size:18px;font-weight:800;color:#fff;background:linear-gradient(135deg,#2d7a4a 0,#1a5c2a 100%)!important;border:none;border-radius:14px;cursor:pointer;transition:all .25s ease;box-shadow:0 4px 15px rgba(26,92,42,.3);letter-spacing:1px;position:relative;overflow:hidden}.roll-button::after{content:'';position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.15),transparent);transition:left .5s}.roll-button:hover::after{left:100%}.roll-button:hover{background:linear-gradient(135deg,#359958 0,#1f6b33 100%)!important;transform:translateY(-2px);box-shadow:0 6px 20px rgba(26,92,42,.4)}.roll-button:active{transform:translateY(0);box-shadow:0 2px 8px rgba(26,92,42,.3)}.roll-button:disabled{background:#a0b8aa!important;box-shadow:none;cursor:not-allowed;transform:none}.roll-button:disabled::after{display:none}.roll-button .button-icon{font-size:22px}.dice-stage{padding:40px 24px;margin-bottom:2em}.dice-container{display:flex;flex-wrap:wrap;justify-content:center;gap:40px;min-height:100px;position:relative;z-index:1;transform-style:preserve-3d}.die{width:80px;height:80px;position:relative;transform-style:preserve-3d;transition:transform 1s cubic-bezier(.2,.8,.3,1)}.die-face{position:absolute;width:100%;height:100%;background:linear-gradient(145deg,#fff 0,#f0ede8 100%);border:2px solid #d4cec4;border-radius:14px;display:flex;justify-content:center;align-items:center;box-shadow:inset 0 1px 3px rgba(255,255,255,.8),inset 0 -2px 6px rgba(0,0,0,.08),0 4px 12px rgba(0,0,0,.3);font-size:0;backface-visibility:hidden}.dot{display:block;width:14px;height:14px;background:radial-gradient(circle at 40% 35%,#4a4a4a,#1a1a1a);border-radius:50%;position:absolute;box-shadow:inset 0 2px 4px rgba(0,0,0,.3),0 1px 1px rgba(255,255,255,.2)}.face-1{transform:translateZ(40px)}.face-2{transform:rotateY(180deg) translateZ(40px)}.face-3{transform:rotateY(-90deg) translateZ(40px)}.face-4{transform:rotateY(90deg) translateZ(40px)}.face-5{transform:rotateX(-90deg) translateZ(40px)}.face-6{transform:rotateX(90deg) translateZ(40px)}.face-1 .dot:nth-child(1){top:50%;left:50%;transform:translate(-50%,-50%);background:radial-gradient(circle at 40% 35%,#e04040,#b01010);width:18px;height:18px}.face-2 .dot:nth-child(1){top:20%;left:20%}.face-2 .dot:nth-child(2){bottom:20%;right:20%}.face-3 .dot:nth-child(1){top:20%;left:20%}.face-3 .dot:nth-child(2){top:50%;left:50%;transform:translate(-50%,-50%)}.face-3 .dot:nth-child(3){bottom:20%;right:20%}.face-4 .dot:nth-child(1){top:20%;left:20%}.face-4 .dot:nth-child(2){top:20%;right:20%}.face-4 .dot:nth-child(3){bottom:20%;left:20%}.face-4 .dot:nth-child(4){bottom:20%;right:20%}.face-5 .dot:nth-child(1){top:20%;left:20%}.face-5 .dot:nth-child(2){top:20%;right:20%}.face-5 .dot:nth-child(3){top:50%;left:50%;transform:translate(-50%,-50%)}.face-5 .dot:nth-child(4){bottom:20%;left:20%}.face-5 .dot:nth-child(5){bottom:20%;right:20%}.face-6 .dot:nth-child(1){top:20%;left:20%}.face-6 .dot:nth-child(2){top:20%;right:20%}.face-6 .dot:nth-child(3){top:50%;left:20%;transform:translateY(-50%)}.face-6 .dot:nth-child(4){top:50%;right:20%;transform:translateY(-50%)}.face-6 .dot:nth-child(5){bottom:20%;left:20%}.face-6 .dot:nth-child(6){bottom:20%;right:20%}.total-score{font-size:0;text-align:center;margin-top:24px;margin-bottom:0;min-height:60px;display:flex;align-items:center;justify-content:center;position:relative;z-index:1}.total-score:not(:empty){font-size:28px;font-weight:800;color:#d4a44c;text-shadow:0 2px 8px rgba(0,0,0,.4);letter-spacing:2px}.dice-info-section{margin-top:30px}.dice-info-section h3{font-size:16px;font-weight:700;color:#2d5a3d;margin-bottom:12px}.history-container{max-height:300px;overflow-y:auto;background:#faf5ef;border:1.5px solid #e8ddd2;border-radius:14px;padding:12px 16px}.history-item{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid #f0e8de;font-size:.9em;color:#6a6a6a}.history-item:last-child{border-bottom:none}.history-dice{font-weight:700;color:#2d5a3d}.stats-container{background:#faf5ef;border:1.5px solid #e8ddd2;border-radius:14px;padding:12px 16px}.stat-row{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px dashed #e8ddd2;font-size:.9em;color:#6a6a6a}.stat-row:last-child{border-bottom:none}.stat-label{font-weight:600;color:#5a7d6a}@media (max-width:480px){.dice-dashboard{padding:18px 18px 16px}.dice-stage{padding:28px 16px}.die{width:60px;height:60px}.face-1{transform:translateZ(30px)}.face-2{transform:rotateY(180deg) translateZ(30px)}.face-3{transform:rotateY(-90deg) translateZ(30px)}.face-4{transform:rotateY(90deg) translateZ(30px)}.face-5{transform:rotateX(-90deg) translateZ(30px)}.face-6{transform:rotateX(90deg) translateZ(30px)}.dot{width:11px;height:11px}.face-1 .dot:nth-child(1){width:14px;height:14px}.dice-container{gap:28px}.total-score:not(:empty){font-size:22px}.roll-button{font-size:16px;padding:12px 20px}}