.pg-game{color:#f5f1e8;background:#0b0d10;min-height:100vh;padding-bottom:110px}.pg-game-container{max-width:480px;margin:auto}.pg-game-header{background:#12161b;border-bottom:1px solid #303640;align-items:center;gap:15px;padding:15px;display:flex}.pg-game-header h1{color:#ffc247;font-size:22px;font-weight:900}.pg-wallet{text-align:center;background:radial-gradient(circle at 100% 0,#651e25,#0000 60%),#1b2027;border:1px solid #303640;border-radius:16px;margin:15px 10px;padding:20px}.pg-wallet h2{color:#ffc247;font-size:26px;font-weight:900}.pg-wallet p{color:#b8b2a8;font-size:13px}.pg-wallet-actions{gap:12px;margin-top:18px;display:flex}.pg-wallet-actions a{text-align:center;border-radius:25px;flex:1;padding:11px;font-weight:700}.pg-withdraw{color:#fff;background:#d72638}.pg-deposit{color:#0b0d10;background:#35c98a}.pg-duration-tabs{background:#1b2027;border-radius:12px;grid-template-columns:repeat(4,1fr);gap:5px;margin:15px 10px;padding:8px;display:grid}.pg-duration-tab{color:#b8b2a8;border-radius:10px;min-height:65px;font-size:12px}.pg-duration-tab.active{color:#0b0d10;background:#ffc247;font-weight:700}.pg-timer-panel{background:#1b2027;border-radius:12px;margin:12px 10px;padding:15px}.pg-timer-top{justify-content:space-between;align-items:center;gap:10px;display:flex}.pg-period{color:#b8b2a8;font-size:12px}.pg-period-number{margin-top:5px;font-size:15px;font-weight:700}.pg-timer-label{color:#b8b2a8;text-align:right;font-size:12px}.pg-timer-digits{justify-content:flex-end;gap:3px;margin-top:7px;display:flex}.pg-timer-digits span{color:#ffc247;background:#0b0d10;border-radius:4px;padding:5px;font-size:22px;font-weight:900}.pg-countdown-overlay{z-index:200;background:#050607b8;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.pg-countdown-box{align-items:center;gap:8px;display:flex}.pg-countdown-digit{color:#ffc247;background:#1b2027;border:1px solid #303640;border-radius:12px;justify-content:center;align-items:center;width:95px;height:140px;font-size:105px;font-weight:900;display:flex;box-shadow:0 10px 30px #0008}.pg-ball-grid{grid-template-columns:repeat(5,1fr);gap:10px;padding:15px;display:grid}.pg-ball{aspect-ratio:1;border:5px solid #ffffff45;border-radius:50%;justify-content:center;align-items:center;width:100%;font-size:25px;font-weight:900;transition:transform .2s;display:flex;box-shadow:inset -5px -6px 10px #0005,inset 3px 3px 8px #fff6}.pg-ball:active{transform:scale(.92)}.pg-ball-red{color:#fff;background:linear-gradient(135deg,#ffb5b5,#ff4b55 50%,#b91525)}.pg-ball-green{color:#fff;background:linear-gradient(135deg,#b5ffe0,#35c98a 50%,#08764b)}.pg-ball-violet{color:#fff;background:linear-gradient(135deg,#ffd5ff,#b959ef 50%,#75249e)}.pg-dice-container{background:#0b0d10;border:7px solid #35c98a;border-radius:12px;justify-content:center;gap:12px;margin:15px 10px;padding:25px 10px;display:flex}.pg-dice{color:#fff;background:linear-gradient(135deg,#ff8585,#ef3340,#aa1020);border-radius:14px;justify-content:center;align-items:center;width:78px;height:78px;font-size:48px;display:flex;box-shadow:inset 3px 3px 8px #ffffff65,inset -5px -5px 8px #0005}.pg-dice.rolling{animation:.3s linear infinite pgDiceRoll}@keyframes pgDiceRoll{0%{transform:rotate(-15deg)scale(.9)}50%{transform:rotate(15deg)scale(1.1)}to{transform:rotate(-15deg)scale(.9)}}.pg-color-buttons{grid-template-columns:repeat(3,1fr);gap:10px;margin:15px 10px;display:grid}.pg-color-buttons button{color:#fff;border-radius:8px;padding:12px;font-weight:700}.pg-green{background:#18b66b}.pg-violet{background:#b959ef}.pg-red{background:#ff4b55}.pg-big-small{border-radius:30px;grid-template-columns:1fr 1fr;margin:15px 10px;display:grid;overflow:hidden}.pg-big-small button{color:#fff;padding:12px;font-weight:700}.pg-big{background:#ff9f43}.pg-small{background:#5c9df5}.pg-history-tabs{gap:8px;margin:15px 10px;display:flex}.pg-history-tabs button{color:#b8b2a8;background:#1b2027;border-radius:8px;flex:1;padding:12px 5px;font-size:12px}.pg-history-tabs button.active{color:#0b0d10;background:#ffc247;font-weight:700}.pg-history-table{border-collapse:collapse;width:calc(100% - 20px);margin:10px;font-size:12px}.pg-history-table thead{color:#0b0d10;background:#ffc247}.pg-history-table th{padding:12px 5px}.pg-history-table td{text-align:center;border-bottom:1px solid #303640;padding:12px 5px}@media (width<=360px){.pg-dice{width:65px;height:65px}.pg-countdown-digit{width:75px;height:115px;font-size:85px}.pg-ball{font-size:20px}}
