#communityPage .dice-panel{padding:14px;box-sizing:border-box;min-width:0}
#communityPage .dice-panel button:disabled{opacity:.45;cursor:default}
#communityPage .dice-panel [data-dice-result]{font-size:12px;line-height:1.5;min-height:42px;color:#b5d8ef}
#communityPage .dice-board{display:flex;flex-direction:column;justify-content:center;min-width:0;min-height:385px;padding:14px 18px;background:#0c1929;border:1px solid #2d435a;border-radius:10px;box-sizing:border-box}
#communityPage .dice-history{display:flex;flex-wrap:wrap;gap:5px;min-height:25px;margin-bottom:12px}
#communityPage .dice-history>span{padding:4px 7px;font-size:11px;border:1px solid #3b5269;border-radius:12px;background:#162c40;color:#adc6db}
#communityPage .dice-history>.dice-history-win{border-color:#418d75;color:#9be1c5}
#communityPage .dice-history>.dice-history-loss{border-color:#7f4760;color:#e8a4bf}
#communityPage .dice-number-wrap{display:flex;flex-direction:column;align-items:center;gap:12px;margin:14px 0 28px}
#communityPage .dice-number{display:flex;align-items:center;justify-content:center;min-width:114px;height:92px;border:2px solid #5c85a6;border-radius:20px;background:#1c3953;color:#eef6fd;font:bold 31px Arial,sans-serif;font-variant-numeric:tabular-nums;box-shadow:0 5px 15px #0004}
#communityPage .dice-number.dice-win{border-color:#65cba5;color:#a7f0d3;background:#183e37}
#communityPage .dice-number.dice-loss{border-color:#c16a8b;color:#ffd3e3;background:#3a243a}
#communityPage .dice-number-wrap small{font-size:11px;color:#a4c1d8}
#communityPage .dice-track{position:relative;margin:0 8px 30px}
#communityPage .dice-track-labels{display:flex;justify-content:space-between;font-size:10px;color:#8fa7bd;margin-bottom:12px}
#communityPage .dice-slider-label{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
#communityPage .dice-panel #diceSlider795{display:block;box-sizing:border-box;appearance:none;-webkit-appearance:none;width:100%;height:10px;min-height:10px;padding:0;margin:0;border:0;border-radius:8px;--dice-target:50%;background:linear-gradient(to right,#3f9f87 0%,#3f9f87 var(--dice-target),#364b64 var(--dice-target),#364b64 100%);cursor:pointer}
#communityPage .dice-panel #diceSlider795[data-mode=over]{background:linear-gradient(to right,#364b64 0%,#364b64 var(--dice-target),#3f9f87 var(--dice-target),#3f9f87 100%)}
#communityPage #diceSlider795::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:20px;height:28px;border:1px solid #8eabc3;border-radius:5px;background:#dbeaf5;box-shadow:0 2px 6px #0006}
#communityPage #diceSlider795::-moz-range-thumb{width:20px;height:28px;border:1px solid #8eabc3;border-radius:5px;background:#dbeaf5}
#communityPage .dice-roll-marker{position:absolute;bottom:-14px;width:8px;height:8px;transform:translateX(-50%);border-radius:50%;background:#ff91b3;border:1px solid #ffd6e5}
#communityPage .dice-roll-marker.dice-marker-win{background:#74dfb5;border-color:#d5ffed}
#communityPage .dice-roll-marker[hidden]{display:none!important}
#communityPage .dice-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:12px}
#communityPage .dice-stats>div{min-width:0;padding:8px;background:#152b3f;border:1px solid #2e465e;border-radius:7px}
#communityPage .dice-stats small,#communityPage .dice-stats label{display:block;font-size:10px;color:#9eb9ce;margin:0 0 7px}
#communityPage .dice-stats strong{display:block;font-size:14px;color:#e1effa;font-variant-numeric:tabular-nums}
#communityPage .dice-panel #diceTarget795{box-sizing:border-box;width:100%;min-width:0;min-height:22px;margin:0;padding:0;background:transparent;border:0;border-radius:0;color:#e1effa;font:14px Arial,sans-serif}
#communityPage .dice-panel #diceTarget795[aria-invalid=true]{outline:1px solid #ff91b3}
#communityPage .dice-modes{display:flex;gap:7px;margin-bottom:10px}
#communityPage .dice-modes>button{flex:1}
#communityPage .dice-modes>button[aria-pressed=true]{background:#285a7e;border-color:#6ba4cd;color:#fff}
#communityPage .dice-board>.keno-note{margin:0}
@media(max-width:600px){#communityPage .dice-panel{padding:10px}#communityPage .dice-panel .keno-controls [data-dice-roll]{grid-column:2;grid-row:2}#communityPage .dice-panel .keno-controls [data-dice-result]{grid-column:1/-1;min-height:0;margin:0}#communityPage .dice-board{padding:10px;min-height:365px}#communityPage .dice-stats{gap:5px}#communityPage .dice-stats>div{padding:7px 5px}#communityPage .dice-stats strong,#communityPage .dice-panel #diceTarget795{font-size:12px}}
