.ruby-chip{display:inline-block;width:40px;height:40px;object-fit:contain;flex:none;vertical-align:middle}
.ruby-wallet{display:flex;align-items:center;justify-content:center;gap:8px;background:#10241c;color:#f7efd9;border:1px solid #bd9a56;border-radius:10px;padding:4px 12px;min-height:43px;cursor:pointer;font:600 20px 'Segoe UI',sans-serif;white-space:nowrap;font-variant-numeric:tabular-nums;box-shadow:0 3px 9px #0004}
.ruby-wallet:hover{background:#294235;border-color:#ffe2a2}
.ruby-wallet small{color:#ffe19b;font:600 12px 'Segoe UI',sans-serif}
.ruby-wallet-gain{animation:ruby-wallet-gain .7s ease-out}
@keyframes ruby-wallet-gain{40%{box-shadow:0 0 0 3px #ffe14a99,0 0 25px #f7cc7980}}
.club-ui #gameApp header{gap:14px}
.club-ui #gameApp header .game-wallet{margin-right:auto;font-size:19px;min-height:43px;padding:3px 10px;pointer-events:auto}
.club-ui #gameApp header .game-wallet .ruby-chip{width:33px;height:33px}
.menu-wallet{position:absolute;right:30px;top:44px;z-index:2}
.menu-wallet{flex-wrap:wrap;max-width:150px;row-gap:0}
.menu-ad-hint{width:100%;font:11px 'Segoe UI',sans-serif;color:#f7d99d;text-align:center;padding:0 0 3px}
.club-ui #adTable{width:100%;min-height:43px;margin-top:9px;border:1px solid #dfc789;border-radius:8px;background:#274638;color:#fff1c9;font:600 16px 'Segoe UI',sans-serif}
.club-ui #adTable:hover{background:#3b6048;border-color:#ffdf7f}
.club-ui .main-menu h1{padding-right:115px}
.club-ui #themeDialog .theme-choice>img{height:90px}
.club-ui #themeDialog{width:min(1020px,94vw);max-width:1020px}
.club-ui #themeDialog .theme-choice>img{height:95px;object-fit:contain;background:#10271e}
.club-ui #themeDialog .theme-choice>span:not(.theme-price){min-height:20px;margin:7px 6px 4px}
.club-ui #themeDialog .theme-choice .theme-price{display:flex;gap:5px;align-items:center;min-height:24px;margin:0 6px 4px;padding:0;color:#f7d99d;font:600 13px 'Segoe UI',sans-serif}
.club-ui #themeDialog .theme-choice .theme-price .ruby-chip{width:23px;height:23px;margin:0;border-radius:0}
.club-ui #tableAccess{margin-top:auto;position:sticky;bottom:-1px;background:#182d26;padding:12px 0 2px;border-top:1px solid #8a9c7866;z-index:3}
.club-ui #tableAccessText{color:#e6d7b8;font:13px/1.45 'Segoe UI',sans-serif;margin:0 0 9px}
.club-ui #buyTable{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:49px;padding:5px 10px;background:#f3d896;color:#263324;border:1px solid #ffedbc;border-radius:8px;font:600 18px 'Segoe UI',sans-serif}
.club-ui #buyTable .ruby-chip{width:35px;height:35px}
.club-ui #buyTable:disabled{background:#575f5a;color:#c0c5c0;border-color:#a1a7a1}
.club-ui #tableAccess>div{display:flex;gap:10px;margin-top:10px}
.club-ui #earnTableChips,.club-ui #freeClassic{flex:1;background:#10271e;color:#f7efd9;border:1px solid #8a9c7866;border-radius:7px;padding:9px 6px;font:600 13px 'Segoe UI',sans-serif}
.club-ui .shop-locked #startGame{display:none}
.club-ui #walletDialog{width:min(570px,94vw);max-width:570px;padding:30px;position:relative}
.wallet-close{position:absolute;right:15px;top:13px;width:35px;height:35px;border:0;background:none;color:#f7efd9;font:30px 'Segoe UI',sans-serif}
.wallet-total{display:flex;align-items:center;gap:17px;margin:10px 0 20px}
.wallet-total .ruby-chip{width:72px;height:72px}
.wallet-total b{font:600 48px 'Segoe UI',sans-serif;font-variant-numeric:tabular-nums;color:#f7d99d}
.club-ui #walletDialog p,.club-ui #adStub p{color:#c8d0bf;font:14px/1.5 'Segoe UI',sans-serif}
.club-ui #walletDialog table{width:100%;border-collapse:collapse;margin:15px 0 22px;font:15px 'Segoe UI',sans-serif}
.club-ui #walletDialog td{padding:11px 0;border-bottom:1px solid #8a9c7844}
.club-ui #walletDialog td:last-child{text-align:right;color:#f7d99d;font-weight:700;font-variant-numeric:tabular-nums}
.club-ui #adChips{width:100%;font-size:18px}
.club-ui #adChips small{display:block;font-size:12px;font-weight:400;margin-top:5px}
.club-ui #walletStorage{font-size:12px;margin:18px 0 0}
.club-ui #adStub{width:min(510px,94vw);max-width:510px;padding:30px}
.ruby-celebration{position:fixed;left:50%;top:36%;transform:translate(-50%,-50%);z-index:900;width:min(640px,92vw);padding:28px 70px 22px;border:2px solid #ebcf8c;border-radius:18px;background:radial-gradient(ellipse at center,#143c2a,#08251b);color:#f7efd9;text-align:center;box-shadow:0 12px 50px #0008,inset 0 0 30px #0005;pointer-events:none;animation:ruby-appear .2s ease-out}
.ruby-celebration>strong{position:relative;z-index:1;font:700 57px/1.1 Georgia,serif;display:block;margin-bottom:12px;color:#fff2cf}
.ruby-celebration>p{position:relative;z-index:1;font:25px/1.2 Georgia,serif;margin:0 0 23px;color:#f7efd9}
#rubyCelebrationGain{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:12px;width:max-content;max-width:100%;min-width:280px;margin:0 auto 13px;padding:9px 24px;border:1px solid #fff0bc;border-radius:14px;background:linear-gradient(120deg,#ffe7a1,#e3bb62);color:#153224;font:700 35px Georgia,serif}
#rubyCelebrationGain .ruby-chip{width:55px;height:55px}
#rubyCelebrationNote{position:relative;z-index:1;color:#dfd7bd;font:12px 'Segoe UI',sans-serif}
.ruby-laurel{position:absolute;left:0;top:18px;width:100%;height:210px;pointer-events:none}
#closeCelebration{position:absolute;right:12px;top:10px;color:#f7efd9;background:none;border:0;font:30px 'Segoe UI',sans-serif;width:36px;height:36px;padding:0;pointer-events:auto;z-index:2}
@keyframes ruby-appear{from{opacity:0;translate:0 8px}to{opacity:1;translate:0 0}}
#rubyToast{position:fixed;left:50%;bottom:90px;transform:translateX(-50%);z-index:950;background:#182d26;color:#ffe4aa;border:1px solid #bd9a56;border-radius:9px;padding:11px 18px;font:16px 'Segoe UI',sans-serif;box-shadow:0 4px 20px #0005;max-width:90vw;text-align:center;pointer-events:none}
.club-ui #roundReward{margin:12px 0 20px;border-top:1px solid #8a9c7866;padding-top:12px;color:#f7efd9;font:14px 'Segoe UI',sans-serif}
#roundReward>div{display:flex;align-items:center;gap:10px;color:#f7d99d;font-size:18px}
#roundReward .ruby-chip{width:34px;height:34px}
#roundReward ul{list-style:none;padding:0;margin:8px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:8px 22px}
#roundReward li{display:flex;justify-content:space-between;gap:14px;color:#c8d0bf}
#roundReward li b{color:#f7d99d}
.club-ui #roundReward .ruby-round-gain{position:relative;justify-content:center;padding:14px 18px;border:1px solid #f9d87f;border-radius:12px;background:radial-gradient(ellipse at center,#6c402e,#2d241e);color:#ffedab;font:700 29px Georgia,serif;overflow:hidden}
#roundReward .ruby-round-gain .ruby-chip{width:55px;height:55px;filter:drop-shadow(0 0 9px #ffcb68aa)}
.ruby-sparkles{position:absolute;right:8%;top:10px;color:#ffe290;font-size:28px;opacity:0;pointer-events:none}
.ruby-awarded .ruby-round-gain{animation:ruby-payout 1.2s ease-out}
.ruby-awarded .ruby-round-gain .ruby-chip{animation:ruby-payout-chip 1s ease-out}
.ruby-awarded .ruby-sparkles{animation:ruby-payout-spark 1.2s ease-out}
@keyframes ruby-payout{0%{box-shadow:0 0 0 #ffdb6500}30%{box-shadow:0 0 26px #ffd86d99,inset 0 0 35px #ffce5b66}100%{box-shadow:0 0 0 #ffdb6500}}
@keyframes ruby-payout-chip{0%{transform:translateY(14px) scale(.6);opacity:0}45%{transform:translateY(-4px) scale(1.16);opacity:1}100%{transform:none;opacity:1}}
@keyframes ruby-payout-spark{15%{opacity:0;transform:translateY(12px) scale(.5)}45%{opacity:1}100%{opacity:0;transform:translateY(-18px) scale(1.25)}}
@media(prefers-reduced-motion:reduce){.ruby-awarded .ruby-round-gain,.ruby-awarded .ruby-round-gain .ruby-chip,.ruby-awarded .ruby-sparkles{animation:none}}
@media(max-width:900px){.menu-wallet{right:24px;top:50px;font-size:17px}.menu-wallet .ruby-chip{width:30px;height:30px}.club-ui .main-menu h1{padding-right:95px}}
@media(max-width:600px){.club-ui #gameApp header{gap:6px}.club-ui #gameApp header .game-wallet{font-size:14px;padding:3px 5px;min-height:32px;gap:3px}.club-ui #gameApp header .game-wallet .ruby-chip{width:24px;height:24px}.game-wallet small{position:absolute;top:100%;background:#182d26;padding:2px 5px;border-radius:4px}.club-ui .menu-scene .brand{font-size:20px;left:18px;top:25px}.menu-wallet{top:42px;right:22px}.club-ui .main-menu h1{font-size:27px}.ruby-celebration{padding:25px 38px 18px}.ruby-celebration>strong{font-size:40px}.ruby-celebration>p{font-size:18px;margin-bottom:16px}.ruby-laurel{top:10px;height:180px}#rubyCelebrationGain{min-width:0;width:100%;font-size:25px;padding:8px 12px}#rubyCelebrationGain .ruby-chip{width:40px;height:40px}#rubyCelebrationNote{font-size:10px}#roundReward ul{grid-template-columns:1fr}.club-ui #walletDialog{padding:25px 20px}.club-ui #walletDialog h2{font-size:29px}}
@media(prefers-reduced-motion:reduce){.ruby-celebration,.ruby-wallet-gain{animation:none}}
