*{box-sizing:border-box}
.lm-app{--bg:#070912;--panel:#111528;--panel2:#171c35;--line:#2b3358;--text:#f6f7ff;--muted:#9199b7;--violet:#8f5cff;--cyan:#37d7ff;--green:#29d884;--red:#ff4f6d;--yellow:#ffc94d;width:100%;min-height:650px;background:
radial-gradient(circle at 50% 0%,rgba(143,92,255,.20),transparent 35%),
linear-gradient(180deg,#0a0d1a,#06070e);color:var(--text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;border-radius:22px;overflow:hidden;position:relative}
.lm-app button,.lm-app input,.lm-app select{font:inherit}
.lm-app button{cursor:pointer}
.lm-app button:disabled{cursor:not-allowed;opacity:.58}
.lm-loading{min-height:650px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;color:var(--muted)}
.lm-loading span{width:42px;height:42px;border-radius:50%;border:3px solid rgba(255,255,255,.12);border-top-color:var(--violet);animation:lmSpin .8s linear infinite}
@keyframes lmSpin{to{transform:rotate(360deg)}}
.lm-header{height:72px;display:flex;align-items:center;padding:0 18px;border-bottom:1px solid rgba(255,255,255,.08);background:rgba(7,9,18,.78);backdrop-filter:blur(14px);position:relative;z-index:5}
.lm-back,.lm-head-actions button{width:40px;height:40px;border:1px solid var(--line);background:var(--panel);color:var(--text);display:grid;place-items:center;text-decoration:none;border-radius:12px;font-weight:800}
.lm-brand{display:flex;align-items:center;gap:11px;margin-left:14px}
.lm-logo{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;font-size:34px;font-weight:900;background:linear-gradient(135deg,var(--violet),var(--cyan));box-shadow:0 0 26px rgba(143,92,255,.32)}
.lm-brand h1{font-size:21px;line-height:1;margin:0 0 5px;text-transform:uppercase;letter-spacing:.08em}
.lm-brand small{font-size:10px;color:var(--muted);letter-spacing:.18em}
.lm-head-actions{margin-left:auto;display:flex;gap:8px}
.lm-head-actions button.is-off{color:var(--red)}
.lm-game{padding:16px;max-width:1050px;margin:0 auto}
.lm-topbar{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.lm-mode-switch{display:flex;background:#0a0d19;border:1px solid var(--line);border-radius:12px;padding:4px}
.lm-mode-switch button{border:0;background:transparent;color:var(--muted);padding:9px 18px;border-radius:9px;font-size:12px;font-weight:800}
.lm-mode-switch button.is-active{background:linear-gradient(135deg,var(--violet),#6940d8);color:#fff}
.lm-balance{margin-left:auto;text-align:right;display:flex;align-items:baseline;gap:7px}
.lm-balance small{font-size:10px;color:var(--muted);letter-spacing:.12em}
.lm-balance strong{font-size:19px}
.lm-balance span{font-size:11px;color:var(--cyan);font-weight:800}
.lm-topup{background:var(--green);color:#04120c;text-decoration:none;border-radius:9px;padding:9px 12px;font-size:12px;font-weight:900}
.lm-stage{min-height:330px;border:1px solid rgba(143,92,255,.3);border-radius:22px;background:
linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px),
radial-gradient(circle at center,rgba(55,215,255,.13),transparent 48%),#0b0e1b;background-size:34px 34px,34px 34px,auto,auto;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;padding:35px 20px 82px}
.lm-stage:before{content:"";position:absolute;inset:10%;border:1px solid rgba(55,215,255,.12);border-radius:50%;transform:scaleY(.45)}
.lm-orbit{position:absolute;border:1px solid rgba(143,92,255,.20);border-radius:50%;animation:lmOrbit 12s linear infinite}
.lm-orbit:after{content:"";position:absolute;width:8px;height:8px;border-radius:50%;background:var(--cyan);box-shadow:0 0 14px var(--cyan);top:50%;left:-4px}
.lm-orbit-one{width:390px;height:160px}
.lm-orbit-two{width:250px;height:250px;animation-duration:17s;animation-direction:reverse}
@keyframes lmOrbit{to{transform:rotate(360deg)}}
.lm-result-wrap{position:relative;z-index:2;text-align:center}
.lm-result-wrap small{display:block;color:var(--muted);letter-spacing:.23em;font-size:11px;font-weight:800;margin-bottom:8px}
.lm-result-wrap strong{display:block;font-size:clamp(62px,12vw,132px);line-height:.95;font-weight:950;letter-spacing:-.06em;background:linear-gradient(180deg,#fff,#b5c6ff);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:0 12px 50px rgba(143,92,255,.25);font-variant-numeric:tabular-nums}
.lm-result-wrap strong.is-win{background:linear-gradient(180deg,#c7ffe5,var(--green));-webkit-background-clip:text;background-clip:text;filter:drop-shadow(0 0 22px rgba(41,216,132,.38))}
.lm-result-wrap strong.is-loss{background:linear-gradient(180deg,#ffd1d9,var(--red));-webkit-background-clip:text;background-clip:text}
.lm-result-wrap span{display:block;margin-top:13px;color:var(--muted);font-size:14px}
.lm-target-line{position:absolute;left:18px;right:18px;bottom:16px;display:grid;grid-template-columns:1fr 1fr;gap:10px;z-index:2}
.lm-target-line>div{background:rgba(13,17,33,.85);border:1px solid var(--line);border-radius:12px;padding:10px 13px;display:flex;align-items:center;justify-content:space-between}
.lm-target-line span{font-size:10px;color:var(--muted);letter-spacing:.12em}
.lm-target-line strong{font-size:15px}
.lm-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:12px 0}
.lm-stats>div{background:var(--panel);border:1px solid var(--line);border-radius:13px;padding:11px 14px}
.lm-stats small{display:block;color:var(--muted);font-size:9px;letter-spacing:.1em;margin-bottom:5px}
.lm-stats strong{font-size:16px}
.lm-stats strong.is-positive{color:var(--green)}
.lm-stats strong.is-negative,.lm-stats strong.is-danger{color:var(--red)}
.lm-panel{background:rgba(17,21,40,.95);border:1px solid var(--line);border-radius:18px;padding:14px}
.lm-tabs{display:flex;gap:4px;background:#090c17;border-radius:10px;padding:4px;margin-bottom:14px}
.lm-tabs button{flex:1;border:0;background:transparent;color:var(--muted);border-radius:8px;padding:9px;font-size:11px;font-weight:900}
.lm-tabs button.is-active{background:var(--panel2);color:#fff}
.lm-bet-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.lm-field>span,.lm-auto-grid label>span{display:block;font-size:10px;color:var(--muted);font-weight:800;letter-spacing:.1em;margin-bottom:7px}
.lm-stepper,.lm-input-wrap,.lm-percent{height:48px;display:flex;align-items:center;background:#090c17;border:1px solid var(--line);border-radius:11px;overflow:hidden}
.lm-stepper button{width:48px;align-self:stretch;border:0;background:var(--panel2);color:#fff;font-size:22px}
.lm-stepper strong{flex:1;text-align:center;font-size:18px}
.lm-input-wrap input,.lm-percent input{min-width:0;flex:1;height:100%;border:0;outline:0;background:transparent;color:#fff;padding:0 14px;font-size:18px;font-weight:800}
.lm-input-wrap b,.lm-percent b{padding-right:14px;color:var(--cyan)}
.lm-bet-button{width:100%;border:0;border-radius:12px;padding:15px;margin-top:14px;background:linear-gradient(135deg,var(--violet),#6b3ee4);color:#fff;font-weight:950;letter-spacing:.08em;box-shadow:0 9px 25px rgba(143,92,255,.22)}
.lm-bet-button.is-stop{background:linear-gradient(135deg,var(--red),#cf2d50)}
.lm-auto-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:9px}
.lm-auto-grid select{width:100%;height:42px;border-radius:9px;border:1px solid var(--line);background:#090c17;color:#fff;padding:0 10px}
.lm-percent{height:42px}
.lm-percent input{font-size:14px}
.lm-footer-actions{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;margin:13px 0 2px}
.lm-footer-actions button,.lm-footer-actions a{border:1px solid var(--line);background:var(--panel);color:var(--muted);text-decoration:none;border-radius:10px;padding:9px 12px;font-size:10px;font-weight:800}
.lm-modal{position:fixed;inset:0;background:rgba(0,0,0,.72);display:grid;place-items:center;padding:18px;z-index:999999}
.lm-modal[hidden]{display:none}
.lm-modal-card{width:min(760px,100%);max-height:86vh;overflow:auto;background:#111528;border:1px solid #333d69;border-radius:18px;padding:22px;position:relative;color:#fff}
.lm-modal-close{position:absolute;right:12px;top:10px;width:34px;height:34px;border:0;border-radius:9px;background:#242b4a;color:#fff;font-size:24px}
.lm-modal-card h2{margin:0 42px 18px 0}
.lm-help-content p{color:#c0c5d8;line-height:1.55}
.lm-formula{display:flex;justify-content:space-between;gap:15px;background:#090c17;border:1px solid var(--line);padding:13px;border-radius:10px;margin:9px 0}
.lm-formula span{color:var(--muted)}
.lm-history-list{display:grid;gap:7px}
.lm-history-row{display:grid;grid-template-columns:1.2fr repeat(4,1fr);gap:8px;align-items:center;background:#090c17;border-left:3px solid var(--red);border-radius:10px;padding:10px}
.lm-history-row.is-win{border-left-color:var(--green)}
.lm-history-row div span,.lm-history-row div small{display:block;font-size:9px;color:var(--muted);margin-bottom:3px}
.lm-history-row div b,.lm-history-row div strong{font-size:12px}
.lm-empty{color:var(--muted)}
.lm-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:1000000;background:#202745;border:1px solid #47527e;color:#fff;padding:11px 16px;border-radius:10px;box-shadow:0 10px 35px rgba(0,0,0,.4)}
.lm-toast[hidden]{display:none}
.lm-login,.lm-rules{max-width:820px;margin:20px auto;padding:28px;border-radius:18px;background:#111528;color:#fff;border:1px solid #2b3358}
.lm-login a,.lm-rules a{display:inline-block;margin-top:12px;background:#8f5cff;color:#fff;padding:11px 16px;border-radius:9px;text-decoration:none;font-weight:800}
.lm-rules p{color:#bcc3dc;line-height:1.65}
.lm-rules h2{margin-top:25px}
@media(max-width:760px){
.lm-app{min-height:100vh;border-radius:0}
.lm-header{height:62px;padding:0 10px}
.lm-back,.lm-head-actions button{width:36px;height:36px}
.lm-brand{margin-left:8px;gap:8px}
.lm-logo{width:37px;height:37px;font-size:28px;border-radius:11px}
.lm-brand h1{font-size:17px}
.lm-brand small{font-size:8px}
.lm-head-actions{gap:5px}
.lm-game{padding:10px}
.lm-topbar{gap:7px}
.lm-mode-switch button{padding:8px 11px;font-size:10px}
.lm-balance small{display:none}
.lm-balance strong{font-size:16px}
.lm-stage{min-height:300px;border-radius:16px;padding-bottom:75px}
.lm-result-wrap strong{font-size:clamp(52px,18vw,90px)}
.lm-target-line{left:9px;right:9px;bottom:9px}
.lm-target-line>div{padding:9px}
.lm-target-line span{font-size:8px}
.lm-target-line strong{font-size:12px}
.lm-stats{gap:6px}
.lm-stats>div{padding:9px}
.lm-stats small{font-size:7px}
.lm-stats strong{font-size:13px}
.lm-panel{padding:10px}
.lm-bet-grid{grid-template-columns:1fr;gap:10px}
.lm-auto-grid{grid-template-columns:1fr 1fr}
.lm-history-row{grid-template-columns:1fr 1fr}
.lm-history-row>div:first-child{grid-column:1/-1}
}
@media(max-width:390px){
.lm-brand small{display:none}
.lm-topup{display:none}
.lm-stats small{letter-spacing:0}
.lm-auto-grid{grid-template-columns:1fr}
}

.lm-load-error{width:min(520px,calc(100% - 32px));padding:24px;border:1px solid #3a466f;border-radius:16px;background:#111528;text-align:center}
.lm-load-error strong{display:block;color:#fff;font-size:20px;margin-bottom:10px}
.lm-load-error p{color:#ffb8c4;line-height:1.5;word-break:break-word}
.lm-load-error button{border:0;border-radius:10px;background:#8f5cff;color:#fff;font-weight:900;padding:11px 20px;margin:8px 0 12px}
.lm-load-error small{display:block;color:#9199b7;line-height:1.45}


/* Limitless 1.0.2: loading-screen flow fix */
.lm-loading[hidden],
.lm-header[hidden],
.lm-game[hidden] {
  display: none !important;
}

.lm-app[data-initialised="1"] > .lm-loading {
  display: none !important;
}


/* Limitless 1.0.3 — real-money, support and mobile theme */
.lm-real-money-badge{
  margin-left:16px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  border:1px solid rgba(41,216,132,.45);
  background:rgba(41,216,132,.10);
  color:#8dffc3;
  border-radius:999px;
  padding:7px 11px;
  font-size:10px;
  font-weight:900;
  letter-spacing:.10em;
  white-space:nowrap;
}
.lm-real-money-badge[hidden]{display:none!important}
.lm-real-money-badge i,
.lm-live-support span{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#29d884;
  box-shadow:0 0 12px rgba(41,216,132,.85);
  animation:lmSupportPulse 1.6s ease-in-out infinite;
}
@keyframes lmSupportPulse{
  0%,100%{opacity:.45;transform:scale(.8)}
  50%{opacity:1;transform:scale(1.15)}
}
.lm-real-money-note{
  margin:0 0 12px;
  border:1px solid rgba(55,215,255,.22);
  background:rgba(55,215,255,.07);
  color:#c5eefe;
  border-radius:12px;
  padding:10px 13px;
  font-size:12px;
  line-height:1.45;
  text-align:center;
}
.lm-real-money-note[hidden]{display:none!important}
.lm-zero-balance{
  display:flex;
  align-items:center;
  gap:12px;
  border:1px solid rgba(255,201,77,.38);
  background:linear-gradient(135deg,rgba(255,201,77,.11),rgba(255,79,109,.06));
  border-radius:14px;
  padding:12px 14px;
  margin-bottom:12px;
}
.lm-zero-balance[hidden]{display:none!important}
.lm-zero-icon,
.lm-money-reminder-icon{
  width:38px;
  height:38px;
  flex:0 0 38px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#ffc94d;
  color:#1b1604;
  font-weight:950;
  font-size:20px;
}
.lm-zero-balance>div:nth-child(2){min-width:0}
.lm-zero-balance strong{display:block;color:#fff;margin-bottom:3px}
.lm-zero-balance span{display:block;color:#c9cde0;font-size:12px}
.lm-zero-actions{
  margin-left:auto;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.lm-zero-actions a,
.lm-money-reminder a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:9px;
  background:#29d884;
  color:#04120c;
  text-decoration:none;
  padding:9px 13px;
  font-size:11px;
  font-weight:900;
}
.lm-zero-actions a.is-secondary,
.lm-money-reminder a.is-secondary{
  background:#222946;
  color:#fff;
  border:1px solid #3c476f;
}
.lm-live-support{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:999990;
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid rgba(41,216,132,.42);
  background:rgba(10,14,27,.94);
  backdrop-filter:blur(12px);
  color:#fff;
  text-decoration:none;
  border-radius:999px;
  padding:11px 15px;
  font-size:12px;
  font-weight:900;
  box-shadow:0 12px 34px rgba(0,0,0,.38);
}
.lm-live-support:hover{border-color:#29d884;color:#bfffe0}
.lm-money-reminder{text-align:center}
.lm-money-reminder-icon{margin:0 auto 10px}
.lm-money-reminder h3{margin:0 0 8px}
.lm-money-reminder p{color:#c3c8da;line-height:1.5}
.lm-money-reminder>div:last-child{
  display:flex;
  justify-content:center;
  gap:9px;
  flex-wrap:wrap;
  margin-top:14px;
}
.lm-app.is-real-money .lm-mode-switch button[data-mode="plc"]{
  background:linear-gradient(135deg,#29d884,#0fae66);
  color:#03140b;
}
.lm-app.has-zero-plc .lm-balance strong{color:#ffc94d}
@media(max-width:760px){
  .lm-header{flex-wrap:nowrap}
  .lm-real-money-badge{
    margin-left:auto;
    margin-right:7px;
    padding:6px 8px;
    font-size:8px;
    letter-spacing:.06em;
  }
  .lm-head-actions{margin-left:0}
  .lm-topbar{
    display:grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;
  }
  .lm-balance{min-width:0;justify-self:end}
  .lm-zero-balance{align-items:flex-start;flex-wrap:wrap}
  .lm-zero-actions{width:100%;margin-left:50px}
  .lm-zero-actions a{flex:1}
  .lm-real-money-note{font-size:11px}
  .lm-stage{min-height:260px;padding-top:24px}
  .lm-live-support{right:10px;bottom:10px;padding:10px 12px;font-size:10px}
  .lm-footer-actions{padding-bottom:52px}
}
@media(max-width:470px){
  .lm-real-money-badge{
    position:absolute;
    top:58px;
    left:10px;
    right:auto;
    margin:0;
    z-index:7;
  }
  .lm-app.is-real-money .lm-game{padding-top:34px}
  .lm-topbar{grid-template-columns:1fr auto}
  .lm-mode-switch{grid-column:1}
  .lm-balance{grid-column:2}
  .lm-topup{grid-column:1/-1;text-align:center}
  .lm-zero-actions{margin-left:0}
  .lm-zero-actions a{min-width:120px}
  .lm-live-support{max-width:46px;overflow:hidden;white-space:nowrap}
  .lm-live-support span{flex:0 0 8px}
}


/* Limitless 1.0.4 — player profile and transaction verification */
.lm-history-profile{display:flex;align-items:center;gap:11px;border:1px solid rgba(124,77,255,.3);border-radius:13px;background:rgba(124,77,255,.10);padding:11px;margin-bottom:11px}.lm-history-profile img{width:44px;height:44px;border-radius:50%;object-fit:cover;background:#202744}.lm-history-profile div{min-width:0}.lm-history-profile small,.lm-history-profile span{display:block;color:#9ca5c0;font-size:9px}.lm-history-profile strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff}.lm-history-profile span{margin-top:2px}
