#solo-lucky-panel{padding-bottom:8px;overflow:hidden}
#solo-lucky-panel .solo-game-panel-scroll{overflow:hidden}
.lucky-shell{
  position:relative;
  min-height:auto;
  height:auto;
  padding:8px 12px 6px;
  border-radius:28px;
  display:grid;
  grid-template-rows:auto auto auto auto;
  gap:6px;
  overflow:hidden;
  background:linear-gradient(180deg,rgba(5,14,36,.98) 0%,rgba(2,7,18,.99) 100%);
  border:1px solid rgba(77,113,190,.18);
  box-shadow:inset 0 1px 0 rgba(85,118,190,.14),0 24px 54px rgba(0,0,0,.34);
}
.lucky-top-line{display:flex;align-items:center;justify-content:space-between;gap:10px}
.lucky-live-pill,.lucky-total-pill,.lucky-controls,.lucky-currency-btn,.lucky-step-btn,.lucky-auto-pill,.lucky-multi-chip,.lucky-nft-box{
  background:linear-gradient(180deg,rgba(12,25,58,.9),rgba(5,13,31,.92));
  border:1px solid rgba(77,113,190,.16);
  box-shadow:inset 0 1px 0 rgba(83,120,196,.12);
}
.lucky-live-pill{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;font-weight:800;font-size:12px;letter-spacing:.08em;color:#fff5d8;border:1px solid rgba(255,215,126,.34);background:linear-gradient(135deg,rgba(16,31,72,.92),rgba(6,17,46,.96));box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 10px 24px rgba(0,0,0,.18),0 0 0 1px rgba(255,208,98,.08)}
.lucky-live-dot{width:8px;height:8px;border-radius:50%;background:#36a3ff;box-shadow:0 0 12px rgba(54,163,255,.65)}
.lucky-top-line-left{display:flex;align-items:center;gap:8px}
.lucky-history-launch{width:42px;height:42px;border:none;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#f5d27a,#b78411);color:#231200;font-size:18px;font-weight:900;box-shadow:0 12px 28px rgba(214,160,34,.26),inset 0 1px 0 rgba(255,255,255,.24)}
.lucky-history-launch span{transform:translateY(-1px)}

.lucky-live-track{display:flex;align-items:center;gap:8px;flex:1;justify-content:flex-end;min-height:16px}
.lucky-live-segment{width:14px;height:14px;border-radius:50%;background:rgba(44,63,112,.65);opacity:.5;transform:scale(.9);transition:transform .25s ease,opacity .25s ease,box-shadow .25s ease}
.lucky-live-segment.active{transform:scale(1);opacity:1}
.lucky-live-segment.blue{background:linear-gradient(180deg,#3ca5ff 0%,#2955ff 100%);box-shadow:0 0 12px rgba(60,165,255,.36)}
.lucky-live-segment.orange{background:linear-gradient(180deg,#ffb144 0%,#ff7f26 100%);box-shadow:0 0 12px rgba(255,146,55,.34)}
.lucky-live-segment.red{background:linear-gradient(180deg,#ff6177 0%,#ff3250 100%);box-shadow:0 0 12px rgba(255,78,112,.36)}
.lucky-total-pill{justify-self:center;align-self:start;display:inline-flex;align-items:center;justify-content:center;padding:5px 10px;border-radius:10px;font-weight:800;font-size:12px;line-height:1.1;color:#9fb4de;width:auto;min-width:0;min-height:0;height:auto;white-space:nowrap;max-width:max-content;margin:0 auto 4px}
.lucky-total-pill b{color:#dce6ff}
.lucky-wheel-wrap{position:relative;display:grid;place-items:center;align-self:start;min-height:auto;padding-top:0;padding-bottom:0}
.lucky-wheel-pointer{position:absolute;top:0;left:50%;transform:translateX(-50%);width:0;height:0;border-left:13px solid transparent;border-right:13px solid transparent;border-top:20px solid #ff7f26;filter:drop-shadow(0 6px 12px rgba(0,0,0,.4));z-index:4}
.lucky-wheel-ring{position:absolute;width:min(82vw,356px);height:min(82vw,356px);border-radius:50%;background:radial-gradient(circle,rgba(7,13,31,.2) 58%,rgba(255,127,38,.06) 72%,rgba(60,165,255,.06) 84%,rgba(255,50,80,.08) 100%);box-shadow:0 20px 48px rgba(0,0,0,.28)}
.lucky-wheel{width:min(78vw,330px);height:min(78vw,330px);border-radius:50%;position:relative;z-index:2;border:10px solid #0b1739;box-shadow:0 0 0 1px rgba(255,127,38,.18),0 18px 34px rgba(0,0,0,.34),inset 0 0 0 6px rgba(7,13,31,.86);background:repeating-conic-gradient(from -6deg,#1f4fff 0deg 30deg,#ff8a22 30deg 60deg,#ff3152 60deg 90deg);transition:transform 4.4s cubic-bezier(.14,.77,.08,1)}
.lucky-wheel::before{content:'';position:absolute;inset:14px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(12,25,58,.9), inset 0 18px 24px rgba(255,255,255,.03), inset 0 -18px 24px rgba(0,0,0,.18)}
.lucky-wheel-center{position:absolute;z-index:3;width:118px;height:118px;border-radius:50%;display:grid;place-items:center;text-align:center;padding:12px;background:radial-gradient(circle at 30% 30%,#112552 0%,#09122b 75%);color:#dce6ff;font-weight:900;font-size:26px;box-shadow:0 0 0 8px #071126,0 10px 22px rgba(0,0,0,.3)}
.lucky-controls{padding:10px;border-radius:24px;display:flex;flex-direction:column;gap:10px}
.lucky-mode-row,.lucky-presets,.lucky-multipliers{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.lucky-bet-meta-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.lucky-bet-meta{color:#9fb4de;font-size:13px;padding-left:2px}
.lucky-auto-pill{padding:6px 12px;border-radius:999px;color:#231200;font-size:12px;font-weight:800;white-space:nowrap;background:linear-gradient(135deg,#f5d27a,#b78411);box-shadow:0 12px 28px rgba(214,160,34,.22),inset 0 1px 0 rgba(255,255,255,.24)}
.lucky-currency-btn,.lucky-preset-btn,.lucky-multi-chip,.lucky-step-btn{height:48px;background:linear-gradient(180deg,rgba(18,38,86,.92),rgba(7,16,39,.95));color:#fff3d1;font-size:20px;border:1px solid rgba(255,214,120,.34);box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 8px 20px rgba(0,0,0,.18)}
.lucky-currency-btn{min-height:42px;color:#fff5dc;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 10px;border:1px solid rgba(255,214,120,.38);background:linear-gradient(180deg,rgba(18,38,86,.92),rgba(7,16,39,.95));box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 10px 24px rgba(0,0,0,.18),0 0 18px rgba(214,160,34,.08)}
.lucky-tab-icon{font-size:18px;line-height:1}
.lucky-currency-btn.active{background:linear-gradient(135deg,#f5d27a,#b78411);box-shadow:0 12px 28px rgba(214,160,34,.26),inset 0 1px 0 rgba(255,255,255,.24);color:#231200;border-color:rgba(255,223,141,.52)}
.lucky-bet-row{display:grid;grid-template-columns:48px 1fr 48px;gap:8px;align-items:center}
.lucky-step-btn{height:48px;background:linear-gradient(180deg,rgba(18,38,86,.92),rgba(7,16,39,.95));color:#dce6ff;font-size:28px}
.lucky-amount-input-shell{background:linear-gradient(180deg,rgba(14,29,68,.98),rgba(7,14,34,.98));border-radius:18px;padding:0 14px;min-height:56px;display:flex;align-items:center;justify-content:center;box-shadow:inset 0 0 0 1px rgba(77,113,190,.16)}
.lucky-amount-input-shell input{width:100%;border:0;background:transparent;color:#dce6ff;font-size:24px;font-weight:900;text-align:center;outline:none}
.lucky-preset-btn{min-height:70px;color:#eaf2ff;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;padding:12px;text-align:left;box-shadow:inset 0 0 0 1px rgba(255,230,164,.16),0 0 0 1px rgba(255,203,92,.08),0 10px 24px rgba(0,0,0,.18)}
.lucky-preset-btn strong{font-size:22px;line-height:1}
.lucky-preset-btn span{font-size:12px;color:rgba(234,242,255,.82)}
.lucky-preset-blue{background:linear-gradient(135deg,#326fff 0%,#223ff0 100%)}
.lucky-preset-orange{background:linear-gradient(135deg,#ffad38 0%,#ff781f 100%)}
.lucky-preset-red{background:linear-gradient(135deg,#ff5b73 0%,#ff2f4d 100%)}
.lucky-preset-btn.active{box-shadow:0 0 0 1px rgba(255,226,143,.62),0 0 24px rgba(214,160,34,.22),0 12px 24px rgba(0,0,0,.24)}
.lucky-nft-box{padding:10px;border-radius:18px}
.lucky-nft-box.hidden{display:none}
.lucky-nft-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.lucky-nft-select{width:100%}
.lucky-multi-chip{padding:9px 8px;text-align:center;color:#dce6ff;font-size:12px}
.lucky-multi-chip.blue{box-shadow:inset 0 0 0 1px rgba(60,165,255,.24)}
.lucky-multi-chip.orange{box-shadow:inset 0 0 0 1px rgba(255,127,38,.24)}
.lucky-multi-chip.red{box-shadow:inset 0 0 0 1px rgba(255,50,80,.24)}
.lucky-note{text-align:center;line-height:1.35;color:#9fb4de;min-height:18px}
@media (max-width:560px){
  .lucky-shell{padding:10px;border-radius:24px;min-height:calc(100dvh - 104px);height:calc(100dvh - 104px);gap:8px}
  .lucky-wheel-ring{width:min(74vw,300px);height:min(74vw,300px)}
  .lucky-wheel{width:min(70vw,276px);height:min(70vw,276px)}
  .lucky-wheel-center{width:96px;height:96px;font-size:22px}
  .lucky-mode-row,.lucky-presets,.lucky-multipliers{gap:6px}
  .lucky-preset-btn{min-height:64px;padding:10px}
  .lucky-preset-btn strong{font-size:20px}
  .lucky-bet-row{grid-template-columns:44px 1fr 44px}
  .lucky-step-btn{height:44px;font-size:24px}
  .lucky-amount-input-shell{min-height:50px}
  .lucky-amount-input-shell input{font-size:22px}
}

.lucky-shell{position:relative}
.lucky-wheel-ring{width:min(66vw,286px);height:min(66vw,286px);background:radial-gradient(circle,rgba(7,13,31,.12) 56%,rgba(255,127,38,.06) 74%,rgba(60,165,255,.05) 86%,rgba(255,50,80,.07) 100%)}
.lucky-wheel{width:min(62vw,262px);height:min(62vw,262px);border:9px solid #0a1534;box-shadow:0 0 0 1px rgba(255,127,38,.16),0 16px 28px rgba(0,0,0,.32),inset 0 0 0 5px rgba(7,13,31,.88)}
.lucky-wheel::before{inset:10px;box-shadow:inset 0 0 0 1px rgba(12,25,58,.9), inset 0 12px 18px rgba(255,255,255,.02), inset 0 -14px 20px rgba(0,0,0,.16)}
.lucky-wheel-center{width:96px;height:96px;font-size:24px;box-shadow:0 0 0 7px #071126,0 10px 20px rgba(0,0,0,.28)}
.lucky-controls{padding:9px;border-radius:22px;gap:8px}
.lucky-preset-btn{min-height:64px;padding:10px 10px 9px}
.lucky-preset-btn strong{font-size:18px}
.lucky-preset-btn span,.lucky-multi-chip{font-size:11px}
.lucky-preset-btn span small,.lucky-multi-chip small{font-size:10px;opacity:.78}
.lucky-coins-rain{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:8}
.lucky-coin{position:absolute;top:-12%;width:18px;height:18px;border-radius:50%;background:radial-gradient(circle at 32% 30%,#fff1a8 0%,#ffd14f 35%,#ff9d1f 100%);box-shadow:0 4px 12px rgba(255,166,32,.32);animation:luckyCoinFall var(--coin-duration,2.2s) linear forwards}
.lucky-coin::before{content:'$';position:absolute;inset:0;display:grid;place-items:center;font-size:10px;font-weight:900;color:#7c4b00}
@keyframes luckyCoinFall{0%{transform:translate3d(0,0,0) rotate(0deg);opacity:0}10%{opacity:1}100%{transform:translate3d(var(--coin-drift,0px),115%,0) rotate(540deg);opacity:0}}
@media (max-width:560px){.lucky-wheel-ring{width:min(68vw,272px);height:min(68vw,272px)}.lucky-wheel{width:min(64vw,248px);height:min(64vw,248px)}.lucky-wheel-center{width:88px;height:88px;font-size:22px}}


.lucky-round-list-wrap{padding-top:2px}
.lucky-round-list-head.hidden{display:none}
.lucky-round-list:empty{display:none}
.lucky-round-list{display:flex;flex-direction:column;gap:8px}
.lucky-round-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:16px;background:rgba(8,17,37,.58);border:1px solid rgba(255,255,255,.06);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.lucky-round-item-main{display:flex;align-items:center;gap:10px;min-width:0;flex:1}
.lucky-round-item-main > div{min-width:0}
.lucky-round-item-name{font-size:14px;font-weight:800;color:#f3f7ff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lucky-round-item-meta{font-size:12px;color:rgba(225,236,255,.74);line-height:1.25}
.lucky-round-item-amount{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.lucky-player-avatar{width:34px;height:34px;border-radius:50%;overflow:hidden;background:rgba(255,255,255,.08);display:grid;place-items:center;font-size:14px;font-weight:900;flex:0 0 auto}
.lucky-player-avatar img{width:100%;height:100%;object-fit:cover}
.lucky-player-fallback{color:#fff;background:linear-gradient(135deg,rgba(55,98,255,.88),rgba(17,34,76,.96))}
.lucky-color-chip{display:inline-flex;align-items:center;justify-content:center;min-width:88px;padding:8px 12px;border-radius:999px;font-size:12px;font-weight:900;color:#eef5ff;border:1px solid rgba(255,255,255,.1);text-transform:none}
.lucky-color-chip.blue{background:linear-gradient(135deg,rgba(44,102,255,.95),rgba(28,56,160,.96))}
.lucky-color-chip.orange{background:linear-gradient(135deg,rgba(255,177,68,.96),rgba(255,120,31,.98))}
.lucky-color-chip.red{background:linear-gradient(135deg,rgba(255,97,119,.96),rgba(255,50,80,.98))}
.lucky-round-item.winner{border-color:rgba(255,213,120,.82);box-shadow:0 0 0 1px rgba(255,213,120,.18),0 0 24px rgba(255,191,64,.24),inset 0 0 22px rgba(255,214,102,.1);background:linear-gradient(135deg,rgba(26,24,18,.94),rgba(20,32,58,.92))}
.lucky-round-item.winner .lucky-round-item-name,.lucky-round-item.winner .lucky-round-item-meta{color:#fff7de}
.lucky-round-item.winner .lucky-player-avatar{box-shadow:0 0 0 2px rgba(255,214,102,.42),0 0 20px rgba(255,196,72,.28)}
.lucky-win-particles{position:absolute;inset:0;pointer-events:none;z-index:19;overflow:hidden}
.lucky-win-particle{position:absolute;width:10px;height:10px;border-radius:999px;opacity:0;color:#ffd86b;background:radial-gradient(circle,#fff5cf 0%,#ffd86b 46%,rgba(255,216,107,.05) 100%);box-shadow:0 0 18px rgba(255,216,107,.9);animation:plinkoWinParticle 1.15s ease-out forwards}
#solo-lucky-panel .win-fx{left:50%;top:12px;transform:translateX(-50%) scale(.84);z-index:21;min-width:min(86vw,292px);padding:16px 22px;border-radius:22px;text-align:center;font-size:18px;font-weight:900;color:#fff7de;background:radial-gradient(circle at 50% 0%, rgba(255,222,144,.26), transparent 52%),linear-gradient(135deg, rgba(10,18,34,.96), rgba(22,40,72,.92));border:1px solid rgba(255,210,102,.6);backdrop-filter:blur(8px);box-shadow:0 24px 50px rgba(0,0,0,.36),0 0 34px rgba(255,206,90,.24);text-shadow:0 0 20px rgba(255,219,132,.28);overflow:hidden}
#solo-lucky-panel .win-fx::before{content:'';position:absolute;inset:-18px -24px;background:radial-gradient(circle at 20% 20%, rgba(255,215,120,.28), transparent 22%),radial-gradient(circle at 80% 30%, rgba(255,215,120,.22), transparent 18%),radial-gradient(circle at 30% 78%, rgba(18,224,255,.18), transparent 16%),radial-gradient(circle at 72% 76%, rgba(255,236,176,.16), transparent 14%);filter:blur(2px);z-index:-1}
#solo-lucky-panel .win-fx::after{content:'';position:absolute;inset:0;background:radial-gradient(circle at 12% 28%, rgba(255,214,110,.95) 0 2px, transparent 3px),radial-gradient(circle at 86% 24%, rgba(255,214,110,.85) 0 2px, transparent 3px),radial-gradient(circle at 24% 70%, rgba(255,214,110,.9) 0 1.8px, transparent 3px),radial-gradient(circle at 76% 68%, rgba(255,214,110,.78) 0 1.8px, transparent 3px),radial-gradient(circle at 48% 18%, rgba(255,244,205,.92) 0 1.5px, transparent 3px),radial-gradient(circle at 58% 82%, rgba(255,231,162,.7) 0 1.6px, transparent 3px);animation:plinkoGoldParticles 1.7s ease forwards;pointer-events:none}
#solo-lucky-panel .win-fx.animate{animation:plinkoCelebrationGold 1.9s ease forwards}


@keyframes plinkoGoldParticles{0%{opacity:0;transform:translateY(10px) scale(.9)}18%{opacity:1}100%{opacity:0;transform:translateY(-18px) scale(1.05)}}
@keyframes plinkoCelebrationGold{0%{opacity:0;transform:translateX(-50%) translateY(-10px) scale(.86)}12%{opacity:1}26%{transform:translateX(-50%) translateY(0) scale(1)}80%{opacity:1;transform:translateX(-50%) translateY(0) scale(1)}100%{opacity:0;transform:translateX(-50%) translateY(-14px) scale(.97)}}
@keyframes plinkoWinParticle{0%{opacity:0;transform:translate3d(0,0,0) scale(.4) rotate(0deg)}12%{opacity:1}100%{opacity:0;transform:translate3d(var(--dx),var(--dy),0) scale(1.18) rotate(var(--rot))}}

.lucky-history-player{display:flex;align-items:center;gap:10px;margin-top:8px}

.lucky-wheel-ring{width:min(82vw,356px);height:min(82vw,356px)}
.lucky-wheel{width:min(78vw,330px);height:min(78vw,330px)}
.lucky-wheel-center{width:118px;height:118px}
@media (max-width:700px){.lucky-wheel-ring{width:min(84vw,340px);height:min(84vw,340px)}.lucky-wheel{width:min(80vw,316px);height:min(80vw,316px)}.lucky-wheel-center{width:108px;height:108px;font-size:24px}}
@media (max-width:560px){.lucky-wheel-ring{width:min(84vw,326px);height:min(84vw,326px)}.lucky-wheel{width:min(80vw,302px);height:min(80vw,302px)}.lucky-wheel-center{width:100px;height:100px;font-size:22px}}


/* lucky tuned mobile layout */
.lucky-shell-tuned{grid-template-rows:auto auto auto auto !important;gap:6px !important;padding:8px 10px 6px !important}
.lucky-shell-tuned .lucky-wheel-wrap{padding-top:0 !important;min-height:auto !important}
.lucky-shell-tuned .lucky-wheel-pointer{border-left-width:14px !important;border-right-width:14px !important;border-top-width:22px !important}
.lucky-shell-tuned .lucky-wheel-ring{width:min(84vw,342px) !important;height:min(84vw,342px) !important;box-shadow:0 14px 28px rgba(0,0,0,.24) !important}
.lucky-shell-tuned .lucky-wheel{width:min(80vw,322px) !important;height:min(80vw,322px) !important;border-width:7px !important;box-shadow:0 0 0 1px rgba(255,127,38,.14),0 12px 22px rgba(0,0,0,.28),inset 0 0 0 4px rgba(7,13,31,.88) !important}
.lucky-shell-tuned .lucky-wheel::before{inset:8px !important}
.lucky-shell-tuned .lucky-wheel-center{width:102px !important;height:102px !important;font-size:22px !important;box-shadow:0 0 0 6px #071126,0 8px 18px rgba(0,0,0,.24) !important}
.lucky-shell-tuned .lucky-controls{padding:8px !important;border-radius:22px !important;gap:8px !important}
.lucky-shell-tuned .lucky-mode-row,.lucky-shell-tuned .lucky-presets{gap:7px !important}
.lucky-shell-tuned .lucky-currency-btn,.lucky-shell-tuned .lucky-step-btn,.lucky-shell-tuned .lucky-preset-btn{border-radius:26px !important}
.lucky-shell-tuned .lucky-currency-btn{min-height:52px !important;border-radius:24px !important;box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 10px 24px rgba(0,0,0,.18),0 0 18px rgba(214,160,34,.08) !important}
.lucky-shell-tuned .lucky-step-btn{height:58px !important;font-size:26px !important;border-radius:22px !important}
.lucky-shell-tuned .lucky-bet-row{grid-template-columns:64px 1fr 64px !important;gap:10px !important}
.lucky-shell-tuned .lucky-amount-input-shell{min-height:58px !important;border-radius:28px !important;padding:0 16px !important}
.lucky-shell-tuned .lucky-amount-input-shell input{font-size:22px !important}
.lucky-shell-tuned .lucky-preset-btn{min-height:72px !important;padding:12px !important;border-radius:18px !important}
.lucky-shell-tuned .lucky-preset-btn strong{font-size:20px !important}
.lucky-shell-tuned .lucky-round-list-wrap{display:none !important}
.lucky-shell-tuned .lucky-bet-meta{font-size:14px !important}
@media (max-width:700px){
  .lucky-shell-tuned .lucky-wheel-wrap{min-height:auto !important}
  .lucky-shell-tuned .lucky-wheel-ring{width:min(84vw,330px) !important;height:min(84vw,330px) !important}
  .lucky-shell-tuned .lucky-wheel{width:min(80vw,312px) !important;height:min(80vw,312px) !important}
}
@media (max-width:560px){
  .lucky-shell-tuned{gap:7px !important;padding:9px !important}
  .lucky-shell-tuned .lucky-wheel-wrap{min-height:auto !important}
  .lucky-shell-tuned .lucky-wheel-ring{width:min(82vw,312px) !important;height:min(82vw,312px) !important}
  .lucky-shell-tuned .lucky-wheel{width:min(78vw,294px) !important;height:min(78vw,294px) !important}
  .lucky-shell-tuned .lucky-wheel-center{width:96px !important;height:96px !important;font-size:21px !important}
  .lucky-shell-tuned .lucky-mode-row,.lucky-shell-tuned .lucky-presets{gap:6px !important}
  .lucky-shell-tuned .lucky-currency-btn{min-height:48px !important;border-radius:22px !important}
  .lucky-shell-tuned .lucky-bet-row{grid-template-columns:58px 1fr 58px !important;gap:8px !important}
  .lucky-shell-tuned .lucky-step-btn{height:52px !important;font-size:24px !important;border-radius:20px !important}
  .lucky-shell-tuned .lucky-amount-input-shell{min-height:52px !important;border-radius:26px !important}
  .lucky-shell-tuned .lucky-preset-btn{min-height:66px !important;padding:10px !important;border-radius:16px !important}
  .lucky-shell-tuned .lucky-preset-btn strong{font-size:18px !important}
  .lucky-shell-tuned .lucky-preset-btn span{font-size:11px !important}
}


/* lucky mobile fit hotfix */
.lucky-shell-tuned{
  padding:8px 10px 6px !important;
  gap:6px !important;
  min-height:auto !important;
  height:auto !important;
  grid-template-rows:auto auto auto auto !important;
}
.lucky-shell-tuned .lucky-top-line{gap:8px !important}
.lucky-shell-tuned .lucky-live-pill{padding:7px 12px !important;font-size:11px !important}
.lucky-shell-tuned .lucky-history-launch{width:44px !important;height:44px !important;border-radius:16px !important}
.lucky-shell-tuned .lucky-live-track{gap:7px !important}
.lucky-shell-tuned .lucky-live-segment{width:14px !important;height:14px !important}
.lucky-shell-tuned .lucky-total-pill{padding:5px 10px !important;border-radius:10px !important;font-size:12px !important;line-height:1.1 !important;width:auto !important;min-height:0 !important;height:auto !important;white-space:nowrap !important;max-width:max-content !important;margin:0 auto 4px !important}
.lucky-shell-tuned .lucky-wheel-wrap{padding-top:0 !important;min-height:auto !important;margin-top:-2px !important;padding-bottom:0 !important}
.lucky-shell-tuned .lucky-wheel-ring{width:min(88vw,346px) !important;height:min(88vw,346px) !important;box-shadow:0 12px 22px rgba(0,0,0,.24) !important}
.lucky-shell-tuned .lucky-wheel{width:min(84vw,330px) !important;height:min(84vw,330px) !important;border-width:7px !important}
.lucky-shell-tuned .lucky-wheel-center{width:100px !important;height:100px !important;font-size:21px !important}
.lucky-shell-tuned .lucky-controls{padding:10px !important;border-radius:22px !important;gap:9px !important}
.lucky-shell-tuned .lucky-mode-row,.lucky-shell-tuned .lucky-presets{gap:6px !important}
.lucky-shell-tuned .lucky-currency-btn{min-height:48px !important;height:48px !important;border-radius:22px !important;padding:0 10px !important}
.lucky-shell-tuned .lucky-tab-icon{font-size:18px !important}
.lucky-shell-tuned .lucky-bet-meta-row{gap:8px !important}
.lucky-shell-tuned .lucky-bet-meta{font-size:14px !important}
.lucky-shell-tuned .lucky-bet-row{grid-template-columns:58px 1fr 58px !important;gap:9px !important}
.lucky-shell-tuned .lucky-step-btn{height:48px !important;font-size:22px !important;border-radius:19px !important}
.lucky-shell-tuned .lucky-amount-input-shell{min-height:48px !important;border-radius:24px !important;padding:0 14px !important}
.lucky-shell-tuned .lucky-amount-input-shell input{font-size:20px !important}
.lucky-shell-tuned .lucky-preset-btn{min-height:62px !important;padding:10px 12px !important;border-radius:18px !important}
.lucky-shell-tuned .lucky-preset-btn strong{font-size:20px !important}
.lucky-shell-tuned .lucky-preset-btn span{font-size:11px !important}
.lucky-shell-tuned .lucky-round-list-wrap{display:none !important}
@media (max-width:560px){
  .lucky-shell-tuned{padding:8px 10px 6px !important;gap:6px !important;min-height:auto !important;height:auto !important}
  .lucky-shell-tuned .lucky-top-line-left{gap:6px !important}
  .lucky-shell-tuned .lucky-live-pill{padding:7px 11px !important}
  .lucky-shell-tuned .lucky-history-launch{width:42px !important;height:42px !important;border-radius:15px !important}
  .lucky-shell-tuned .lucky-live-track{gap:6px !important}
  .lucky-shell-tuned .lucky-live-segment{width:13px !important;height:13px !important}
  .lucky-shell-tuned .lucky-total-pill{padding:5px 10px !important;font-size:12px !important;width:auto !important;white-space:nowrap !important;max-width:max-content !important}
  .lucky-shell-tuned .lucky-wheel-wrap{min-height:auto !important}
  .lucky-shell-tuned .lucky-wheel-ring{width:min(88vw,334px) !important;height:min(88vw,334px) !important}
  .lucky-shell-tuned .lucky-wheel{width:min(84vw,320px) !important;height:min(84vw,320px) !important}
  .lucky-shell-tuned .lucky-wheel-center{width:94px !important;height:94px !important;font-size:20px !important}
  .lucky-shell-tuned .lucky-controls{padding:6px !important;gap:6px !important;border-radius:18px !important}
  .lucky-shell-tuned .lucky-currency-btn{min-height:42px !important;height:42px !important;border-radius:20px !important}
  .lucky-shell-tuned .lucky-bet-meta{font-size:11px !important}
  .lucky-shell-tuned .lucky-bet-row{grid-template-columns:50px 1fr 50px !important;gap:6px !important}
  .lucky-shell-tuned .lucky-step-btn{height:42px !important;font-size:18px !important;border-radius:17px !important}
  .lucky-shell-tuned .lucky-amount-input-shell{min-height:42px !important;border-radius:20px !important}
  .lucky-shell-tuned .lucky-amount-input-shell input{font-size:17px !important}
  .lucky-shell-tuned .lucky-preset-btn{min-height:52px !important;padding:7px 9px !important;border-radius:14px !important}
  .lucky-shell-tuned .lucky-preset-btn strong{font-size:16px !important}
  .lucky-shell-tuned .lucky-preset-btn span{font-size:10px !important}
}


/* lucky final compact ring fix */
.lucky-shell-tuned{
  min-height:auto !important;
  height:auto !important;
  padding:8px 10px 6px !important;
  gap:5px !important;
}
.lucky-shell-tuned .lucky-total-pill{padding:5px 9px !important;margin-top:0 !important;margin-bottom:3px !important;width:auto !important;white-space:nowrap !important;max-width:max-content !important}
.lucky-shell-tuned .lucky-wheel-wrap{padding-top:0 !important;min-height:auto !important;margin-top:-4px !important;margin-bottom:0 !important;padding-bottom:0 !important}
.lucky-shell-tuned .lucky-wheel-pointer{border-left-width:12px !important;border-right-width:12px !important;border-top-width:18px !important;filter:drop-shadow(0 4px 8px rgba(0,0,0,.28)) !important}
.lucky-shell-tuned .lucky-wheel-ring{width:min(86vw,330px) !important;height:min(86vw,330px) !important;background:radial-gradient(circle,rgba(7,13,31,.06) 66%,rgba(255,127,38,.04) 80%,rgba(60,165,255,.035) 90%,rgba(255,50,80,.05) 100%) !important;box-shadow:0 8px 16px rgba(0,0,0,.14) !important}
.lucky-shell-tuned .lucky-wheel{width:min(84vw,322px) !important;height:min(84vw,322px) !important;border-width:5px !important;box-shadow:0 0 0 1px rgba(255,127,38,.12),0 8px 18px rgba(0,0,0,.18),inset 0 0 0 2px rgba(7,13,31,.78) !important}
.lucky-shell-tuned .lucky-wheel::before{inset:5px !important;box-shadow:inset 0 0 0 1px rgba(12,25,58,.78), inset 0 8px 14px rgba(255,255,255,.02), inset 0 -10px 14px rgba(0,0,0,.12) !important}
.lucky-shell-tuned .lucky-wheel-center{width:94px !important;height:94px !important;font-size:20px !important;box-shadow:0 0 0 5px #071126,0 6px 14px rgba(0,0,0,.2) !important}
.lucky-shell-tuned .lucky-controls{padding:6px !important;gap:6px !important;border-radius:18px !important}
.lucky-shell-tuned .lucky-currency-btn{min-height:40px !important;height:40px !important}
.lucky-shell-tuned .lucky-bet-row{grid-template-columns:48px 1fr 48px !important;gap:6px !important}
.lucky-shell-tuned .lucky-step-btn{height:40px !important;font-size:18px !important}
.lucky-shell-tuned .lucky-amount-input-shell{min-height:40px !important;padding:0 10px !important}
.lucky-shell-tuned .lucky-amount-input-shell input{font-size:17px !important}
.lucky-shell-tuned .lucky-preset-btn{min-height:50px !important;padding:7px 8px !important}
.lucky-shell-tuned .lucky-preset-btn strong{font-size:16px !important}
.lucky-shell-tuned .lucky-preset-btn span{font-size:10px !important}
.lucky-shell-tuned .lucky-round-list-wrap{display:block !important;padding-top:0 !important}
.lucky-shell-tuned .lucky-round-list{display:flex !important;flex-direction:column;gap:5px !important;max-height:126px !important;overflow:auto !important;padding-right:2px !important}
.lucky-shell-tuned .lucky-round-item{padding:8px 10px !important;border-radius:14px !important;gap:10px !important}
.lucky-shell-tuned .lucky-player-avatar{width:30px !important;height:30px !important}
.lucky-shell-tuned .lucky-round-item-name{font-size:13px !important}
.lucky-shell-tuned .lucky-round-item-meta,.lucky-shell-tuned .lucky-color-chip{font-size:11px !important}
.lucky-shell-tuned .lucky-color-chip{min-width:72px !important;padding:7px 10px !important}
@media (max-width:560px){
  .lucky-shell-tuned{min-height:calc(100dvh - 92px) !important;height:calc(100dvh - 92px) !important;padding:7px !important;gap:5px !important}
  .lucky-shell-tuned .lucky-live-pill{padding:6px 10px !important;font-size:10px !important}
  .lucky-shell-tuned .lucky-history-launch{width:40px !important;height:40px !important;border-radius:14px !important}
  .lucky-shell-tuned .lucky-total-pill{padding:5px 9px !important;font-size:11px !important;width:auto !important;white-space:nowrap !important;max-width:max-content !important}
  .lucky-shell-tuned .lucky-wheel-wrap{min-height:252px !important}
  .lucky-shell-tuned .lucky-wheel-ring{width:min(86vw,318px) !important;height:min(86vw,318px) !important}
  .lucky-shell-tuned .lucky-wheel{width:min(84vw,310px) !important;height:min(84vw,310px) !important}
  .lucky-shell-tuned .lucky-wheel-center{width:90px !important;height:90px !important;font-size:19px !important}
  .lucky-shell-tuned .lucky-currency-btn{min-height:38px !important;height:38px !important}
  .lucky-shell-tuned .lucky-bet-meta{font-size:11px !important}
  .lucky-shell-tuned .lucky-bet-row{grid-template-columns:46px 1fr 46px !important}
  .lucky-shell-tuned .lucky-step-btn{height:38px !important;font-size:17px !important}
  .lucky-shell-tuned .lucky-amount-input-shell{min-height:38px !important}
  .lucky-shell-tuned .lucky-amount-input-shell input{font-size:16px !important}
  .lucky-shell-tuned .lucky-preset-btn{min-height:48px !important;padding:6px 7px !important}
  .lucky-shell-tuned .lucky-round-list{max-height:120px !important}
}


.lucky-nft-box{padding:12px;border-radius:18px}
.lucky-nft-summary{margin-bottom:10px;color:#dce6ff;font-weight:700;line-height:1.35}
#luckyNftSummary{white-space:normal;overflow:visible}
.lucky-nft-actions{display:flex;gap:10px;align-items:center}
.lucky-nft-open-btn{flex:1}
.lucky-nft-select.hidden{display:none!important}
.lucky-nft-modal-card{width:min(560px,100%)}
.lucky-nft-inventory-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-height:min(58vh,520px);overflow:auto;padding-right:2px}
.lucky-nft-item{display:grid;gap:8px;padding:12px;border-radius:18px;background:linear-gradient(180deg,rgba(16,26,62,.92),rgba(8,15,35,.95));border:1px solid rgba(103,137,214,.18);box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}
.lucky-nft-item.selected{border-color:rgba(245,210,122,.58);box-shadow:0 14px 28px rgba(214,160,34,.18),inset 0 1px 0 rgba(255,255,255,.08)}
.lucky-nft-thumb{aspect-ratio:1/1;border-radius:16px;overflow:hidden;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06)}
.lucky-nft-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.lucky-nft-name{font-weight:800;color:#fff;line-height:1.2;word-break:break-word}
.lucky-nft-price{color:#f5d27a;font-weight:800}
.lucky-nft-qty{color:#9fb4de;font-size:12px}
.lucky-nft-card-btn{height:38px;border:none;border-radius:12px;background:rgba(255,255,255,.08);color:#fff;font-weight:800}
.lucky-nft-item.selected .lucky-nft-card-btn{background:linear-gradient(135deg,#f5d27a,#b78411);color:#231200}
.lucky-nft-modal-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}
.lucky-nft-selected-count{color:#dce6ff;font-weight:700}
@media (max-width: 640px){
  .lucky-nft-actions{flex-direction:column;align-items:stretch}
  .lucky-nft-inventory-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lucky-nft-modal-footer{flex-direction:column;align-items:stretch}
}


/* lucky fix v3: inline participants + separate history screen + keep wheel animation */

#solo-lucky-panel{overflow:visible !important}
#solo-lucky-panel .solo-game-panel-scroll{overflow:visible !important}
.lucky-shell.hidden,.lucky-history-screen.hidden{display:none !important}
.lucky-history-launch{width:36px !important;height:36px !important;border-radius:12px !important;font-size:15px !important;box-shadow:0 8px 18px rgba(214,160,34,.22),inset 0 1px 0 rgba(255,255,255,.24) !important}
.lucky-history-launch span{transform:none !important}
.lucky-round-list-wrap{display:block !important;padding-top:0 !important}
.lucky-round-list{display:flex !important;flex-direction:column;gap:5px !important;max-height:none !important;overflow:visible !important;padding-right:0 !important}
.lucky-round-list-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:2px;margin-bottom:2px}
.lucky-round-list-head .panel-title{font-size:16px;font-weight:900;color:#fff;margin:0}
.lucky-round-list-head .section-subtext{font-size:11px;color:rgba(225,236,255,.72);text-align:right}
.lucky-round-item{padding:8px 10px !important;border-radius:14px !important;gap:10px !important}
.lucky-round-item-name{font-size:13px !important}
.lucky-round-item-meta,.lucky-color-chip{font-size:11px !important}
.lucky-history-screen{position:fixed;left:50%;bottom:0;transform:translateX(-50%);z-index:130;width:min(100%,560px);height:min(86vh,860px);max-height:calc(100dvh - 56px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));background:linear-gradient(180deg,rgba(5,14,36,.98) 0%,rgba(2,7,18,.99) 100%);border:1px solid rgba(77,113,190,.18);border-radius:28px 28px 0 0;box-shadow:0 0 0 999px rgba(2,8,22,.82),inset 0 1px 0 rgba(85,118,190,.14),0 24px 54px rgba(0,0,0,.34);padding:16px 14px calc(18px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;gap:14px;overflow:hidden}
.lucky-history-screen-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.lucky-history-screen-title{font-size:22px;font-weight:1000;color:#fff;line-height:1.05}
.lucky-history-screen-subtitle{font-size:12px;color:rgba(225,236,255,.7);margin-top:2px}
.lucky-history-screen-close{width:40px;height:40px;border:none;border-radius:14px;background:rgba(255,255,255,.08);color:#fff;font-size:20px;font-weight:900}
.lucky-history-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.lucky-history-tab{height:42px;border:none;border-radius:16px;background:rgba(255,255,255,.06);color:#f8fbff;font-size:14px;font-weight:800}
.lucky-history-tab.active{background:linear-gradient(135deg,#f5d27a,#b78411);color:#231200;box-shadow:0 12px 28px rgba(214,160,34,.22),inset 0 1px 0 rgba(255,255,255,.24)}
.lucky-history-list{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:6px;padding-right:3px;padding-bottom:8px}
.lucky-history-item{padding:9px 10px;border-radius:18px;background:linear-gradient(180deg,rgba(34,35,42,.98),rgba(27,29,36,.98));border:1px solid rgba(255,255,255,.06);display:grid;gap:8px;box-shadow:0 10px 20px rgba(0,0,0,.16)}
.lucky-history-item.red{box-shadow:0 14px 30px rgba(195,67,67,.08)}
.lucky-history-item.orange{box-shadow:0 14px 30px rgba(214,128,38,.08)}
.lucky-history-item.blue{box-shadow:0 14px 30px rgba(77,137,255,.08)}
.lucky-history-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.lucky-history-index{font-size:13px;font-weight:900;color:rgba(214,219,244,.78)}
.lucky-history-chevron{font-size:24px;line-height:1;color:rgba(214,219,244,.74)}
.lucky-history-main{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center}
.lucky-history-color-mark{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto}
.lucky-history-color-mark span{width:16px;height:16px;border-radius:50%;transform:rotate(45deg);background:rgba(255,255,255,.8);box-shadow:0 0 0 4px rgba(255,255,255,.08)}
.lucky-history-color-mark.red{background:linear-gradient(135deg,rgba(255,95,120,.36),rgba(149,28,53,.32))}
.lucky-history-color-mark.orange{background:linear-gradient(135deg,rgba(255,171,64,.36),rgba(180,92,12,.32))}
.lucky-history-color-mark.blue{background:linear-gradient(135deg,rgba(131,177,255,.38),rgba(58,98,195,.32))}
.lucky-history-main-copy{min-width:0;display:grid;gap:2px}
.lucky-history-caption{font-size:11px;font-weight:800;color:rgba(214,219,244,.7)}
.lucky-history-title{font-size:16px;font-weight:1000;color:#fff;line-height:1.05}
.lucky-history-side{display:grid;gap:2px;justify-items:end;text-align:right;align-self:center}
.lucky-history-side-value{font-size:16px;font-weight:1000;line-height:1.05}
.lucky-history-side-value.red{color:#ff7d94}
.lucky-history-side-value.orange{color:#ffbe63}
.lucky-history-side-value.blue{color:#8fc3ff}
.lucky-history-footer{display:flex;flex-wrap:wrap;gap:6px}
.lucky-history-pill{display:inline-flex;align-items:center;justify-content:center;min-height:26px;padding:0 10px;border-radius:10px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.05);font-size:11px;font-weight:800;color:#eef4ff}
.lucky-history-pill.red{background:rgba(255,88,123,.14);color:#ffd5df;border-color:rgba(255,88,123,.18)}
.lucky-history-pill.orange{background:rgba(255,164,78,.16);color:#ffe1be;border-color:rgba(255,164,78,.18)}
.lucky-history-pill.blue{background:rgba(106,164,255,.16);color:#dcecff;border-color:rgba(106,164,255,.18)}
.lucky-history-empty{padding:18px 14px;border-radius:16px;background:rgba(8,17,37,.58);border:1px solid rgba(255,255,255,.06);color:rgba(225,236,255,.78);font-weight:700;text-align:center}
@media (max-width:560px){
  .lucky-history-launch{width:34px !important;height:34px !important;border-radius:11px !important;font-size:14px !important}
  .lucky-history-screen{height:min(84vh,820px);max-height:calc(100dvh - 48px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));padding:14px 10px calc(16px + env(safe-area-inset-bottom,0px));border-radius:24px 24px 0 0}
  .lucky-history-screen-title{font-size:18px}
  .lucky-history-tab{height:42px;border-radius:14px;font-size:13px}
  .lucky-history-item{padding:8px 9px;border-radius:16px;gap:7px}
  .lucky-history-main{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px}
  .lucky-history-side{grid-column:auto;justify-items:end;text-align:right}
  .lucky-history-color-mark{width:38px;height:38px}
  .lucky-history-color-mark span{width:14px;height:14px;box-shadow:0 0 0 3px rgba(255,255,255,.08)}
  .lucky-history-title{font-size:15px}
  .lucky-history-side-value{font-size:15px}
  .lucky-history-caption,.lucky-history-index{font-size:11px}
  .lucky-history-chevron{font-size:22px}
}

/* lucky fix v4: round players must be part of main page scroll, not an inner window */
.lucky-shell-tuned .lucky-round-list{
  max-height:none !important;
  overflow:visible !important;
  padding-right:0 !important;
}
@media (max-width:560px){
  .lucky-shell-tuned .lucky-round-list{
    max-height:none !important;
    overflow:visible !important;
  }
}


/* restore lucky spin and win animation */
.lucky-wheel{will-change:transform;backface-visibility:hidden;transform:translateZ(0);}
.lucky-wheel.is-spinning{filter:drop-shadow(0 0 18px rgba(255,144,48,.24));}
.lucky-wheel.is-winning{animation:luckyWheelWinPulse 1.4s ease-out 1;}
.lucky-wheel-center.is-winning{animation:luckyCenterWinPulse 1.35s ease-out 1;}
.lucky-shell.is-winning{animation:luckyShellFlash 1.1s ease-out 1;}
.lucky-win-fx{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(.72);z-index:25;min-width:min(76vw,220px);padding:14px 18px;border-radius:20px;text-align:center;font-size:24px;font-weight:1000;letter-spacing:.01em;color:#fff7de;background:radial-gradient(circle at 50% 0%,rgba(255,224,150,.3),transparent 54%),linear-gradient(135deg,rgba(10,18,34,.95),rgba(22,40,72,.92));border:1px solid rgba(255,210,102,.62);backdrop-filter:blur(8px);box-shadow:0 20px 44px rgba(0,0,0,.34),0 0 28px rgba(255,206,90,.26);text-shadow:0 0 18px rgba(255,219,132,.28);pointer-events:none;opacity:0;}
.lucky-win-fx::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);pointer-events:none;}
.lucky-win-fx.animate{animation:luckyWinBanner 1.9s ease forwards;}
@keyframes luckyWinBanner{0%{opacity:0;transform:translate(-50%,-50%) scale(.55)}18%{opacity:1;transform:translate(-50%,-50%) scale(1.04)}72%{opacity:1;transform:translate(-50%,-50%) scale(1)}100%{opacity:0;transform:translate(-50%,-50%) scale(.92)}}
@keyframes luckyWheelWinPulse{0%{box-shadow:0 0 0 1px rgba(255,127,38,.12),0 8px 18px rgba(0,0,0,.18),inset 0 0 0 2px rgba(7,13,31,.78)}35%{box-shadow:0 0 0 1px rgba(255,225,124,.42),0 0 26px rgba(255,184,56,.36),0 8px 18px rgba(0,0,0,.18),inset 0 0 0 2px rgba(7,13,31,.78)}100%{box-shadow:0 0 0 1px rgba(255,127,38,.12),0 8px 18px rgba(0,0,0,.18),inset 0 0 0 2px rgba(7,13,31,.78)}}
@keyframes luckyCenterWinPulse{0%{transform:scale(1)}25%{transform:scale(1.08)}55%{transform:scale(.98)}100%{transform:scale(1)}}
@keyframes luckyShellFlash{0%{filter:none}28%{filter:brightness(1.06)}100%{filter:none}}

@media (max-width: 430px){
  .lucky-top-line,
  .lucky-bet-meta-row,
  .lucky-round-list-head,
  .lucky-history-screen-head,
  .lucky-history-card-head{
    flex-wrap:wrap;
  }

  .lucky-top-line-left{
    min-width:0;
    flex-wrap:wrap;
  }

  .lucky-live-track{
    width:100%;
    justify-content:flex-start;
    flex-wrap:wrap;
  }

  .lucky-auto-pill{
    max-width:100%;
    white-space:normal;
  }

  .lucky-total-pill{
    max-width:100% !important;
    white-space:normal !important;
    text-align:center !important;
  }

  .lucky-history-player{
    align-items:flex-start;
  }
}

@media (max-width: 360px){
  .lucky-shell-tuned{
    padding:7px 6px 6px !important;
  }

  .lucky-shell-tuned .lucky-controls{
    padding:6px !important;
  }

  .lucky-shell-tuned .lucky-mode-row,
  .lucky-shell-tuned .lucky-presets{
    gap:5px !important;
  }

  .lucky-shell-tuned .lucky-currency-btn{
    min-height:38px !important;
    height:38px !important;
    border-radius:18px !important;
  }

  .lucky-shell-tuned .lucky-bet-row{
    grid-template-columns:44px minmax(0,1fr) 44px !important;
    gap:5px !important;
  }

  .lucky-shell-tuned .lucky-step-btn{
    height:38px !important;
    font-size:16px !important;
  }

  .lucky-shell-tuned .lucky-amount-input-shell{
    min-height:38px !important;
    padding:0 8px !important;
  }

  .lucky-shell-tuned .lucky-amount-input-shell input{
    font-size:16px !important;
  }

  .lucky-shell-tuned .lucky-preset-btn{
    min-height:46px !important;
    padding:6px 6px !important;
  }

  .lucky-shell-tuned .lucky-preset-btn strong{
    font-size:15px !important;
  }

  .lucky-shell-tuned .lucky-preset-btn span{
    font-size:9px !important;
  }

  .lucky-color-chip{
    min-width:68px !important;
    padding:6px 8px !important;
  }
}
