.tmcw-wrap,
.tmcw-wrap *{box-sizing:border-box}
.tmcw-wrap{
  --tmcw-bg:#030812;
  --tmcw-ink:#fff;
  --tmcw-muted:rgba(221,234,255,.72);
  --tmcw-line:rgba(255,255,255,.14);
  --tmcw-gold:#ffd76a;
  --tmcw-green:#28e1a5;
  --tmcw-blue:#30b8ff;
  width:100vw;
  max-width:none;
  min-height:100vh;
  min-height:100dvh;
  margin:0 calc(50% - 50vw);
  padding:42px max(14px,env(safe-area-inset-right)) 68px max(14px,env(safe-area-inset-left));
  color:var(--tmcw-ink);
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:
    radial-gradient(980px 560px at 78% 12%, rgba(255,0,90,.18), transparent 62%),
    radial-gradient(900px 540px at 18% 8%, rgba(0,210,255,.15), transparent 62%),
    radial-gradient(1100px 720px at 50% 110%, rgba(255,210,60,.12), transparent 66%),
    linear-gradient(180deg,#071426 0%,#050912 48%,#03060d 100%);
  overflow:hidden;
  position:relative;
}
.tmcw-wrap:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(180deg,rgba(255,255,255,.08),transparent 26%),
    radial-gradient(680px 260px at 50% 0%,rgba(255,255,255,.10),transparent 70%);
  mix-blend-mode:soft-light;
}
.tmcw-shell{
  position:relative;
  max-width:1180px;
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:18px;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  overflow:visible;
}
.tmcw-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  padding:18px;
  border-radius:22px;
  background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(0,0,0,.12));
  border:1px solid var(--tmcw-line);
  box-shadow:0 18px 48px rgba(0,0,0,.46),inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter:blur(12px);
}
.tmcw-eyebrow{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 14px;
  border-radius:999px;
  background:linear-gradient(180deg,#ffd76a,#d9a924);
  color:#211504;
  text-transform:uppercase;
  font-size:11px;
  font-weight:950;
  letter-spacing:.12em;
  box-shadow:0 12px 26px rgba(0,0,0,.32),0 0 24px rgba(255,210,80,.18);
}
.tmcw-head h1{
  margin:14px 0 8px;
  max-width:860px;
  color:#fff;
  font-size:clamp(36px,6vw,76px);
  line-height:.94;
  font-weight:950;
  letter-spacing:0;
  text-shadow:0 12px 34px rgba(0,0,0,.44);
}
.tmcw-head p{
  margin:0;
  max-width:760px;
  color:var(--tmcw-muted);
  font-weight:800;
  line-height:1.45;
}
.tmcw-sound{
  flex:0 0 auto;
  min-width:76px;
  min-height:48px;
  border:1px solid rgba(88,255,216,.26);
  border-radius:18px;
  background:linear-gradient(135deg,rgba(9,23,43,.96),rgba(6,15,35,.98));
  color:#58ffd8;
  font-size:12px;
  line-height:1.1;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 10px 28px rgba(0,0,0,.32),0 0 18px rgba(88,255,216,.12);
}
.tmcw-sound:before{content:"";display:inline-block;width:9px;height:9px;margin-right:7px;border-radius:50%;background:#28e1a5;box-shadow:0 0 10px rgba(40,225,165,.65)}
.tmcw-sound:not(.is-on){color:#ff8a8a;border-color:rgba(255,90,90,.35)}
.tmcw-sound:not(.is-on):before{background:#ff5a5a;box-shadow:0 0 10px rgba(255,90,90,.45)}
.tmcw-layout{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) 360px;
  gap:18px;
  padding:0;
  align-items:stretch;
}
.tmcw-stage,
.tmcw-panel,
.tmcw-card{
  border:1px solid var(--tmcw-line);
  background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(0,0,0,.13));
  box-shadow:0 22px 70px rgba(0,0,0,.58),inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter:blur(12px);
}
.tmcw-stage{
  position:relative;
  min-height:680px;
  border-radius:26px;
  padding:34px 18px 118px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.tmcw-stage:before{
  content:"";
  position:absolute;
  inset:18px;
  border-radius:22px;
  pointer-events:none;
  background:
    radial-gradient(320px 320px at 50% 47%,rgba(255,255,255,.07),transparent 64%),
    radial-gradient(520px 520px at 49% 53%,rgba(255,0,90,.10),transparent 64%),
    radial-gradient(520px 520px at 55% 42%,rgba(0,210,255,.10),transparent 64%);
}
.tmcw-wheel-shell{
  position:relative;
  width:min(74vw,610px);
  aspect-ratio:1;
  border-radius:50%;
  filter:drop-shadow(0 34px 54px rgba(0,0,0,.55));
}
.tmcw-wheel-shell:before{
  content:"";
  position:absolute;
  inset:-13px;
  border-radius:inherit;
  z-index:0;
  background:
    conic-gradient(from 0deg,#ffd86a,#ff7a18,#e11d48,#7c3aed,#30b8ff,#16c784,#ffd86a),
    radial-gradient(circle,#fff,transparent 62%);
  box-shadow:0 0 0 6px rgba(255,255,255,.08),0 0 48px rgba(255,0,90,.16),0 0 42px rgba(0,210,255,.16);
}
.tmcw-wheel-shell:after{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius:inherit;
  z-index:2;
  pointer-events:none;
  box-shadow:inset 0 0 0 12px rgba(255,255,255,.18),inset 0 0 0 22px rgba(2,8,20,.38);
}
.tmcw-wheel-disc{
  position:absolute;
  inset:0;
  z-index:1;
  border-radius:50%;
  overflow:hidden;
  transition:transform 6200ms cubic-bezier(.12,.82,.14,1);
  box-shadow:inset 0 0 0 12px rgba(255,255,255,.16),inset 0 0 72px rgba(0,0,0,.36);
}
.tmcw-wheel-disc:after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  background:
    radial-gradient(circle at 34% 23%,rgba(255,255,255,.44),transparent 24%),
    radial-gradient(circle at center,transparent 0 42%,rgba(255,255,255,.16) 43%,transparent 48%),
    linear-gradient(90deg,rgba(255,255,255,.14),transparent 44%,rgba(0,0,0,.20));
}
.tmcw-pointer{
  position:absolute;
  left:50%;
  top:30px;
  z-index:8;
  transform:translateX(-50%);
  width:0;
  height:0;
  border-left:18px solid transparent;
  border-right:18px solid transparent;
  border-top:39px solid #fff;
  filter:drop-shadow(0 10px 12px rgba(0,0,0,.36));
}
.tmcw-pointer:after{
  content:"";
  position:absolute;
  left:-8px;
  top:-34px;
  width:16px;
  height:10px;
  border-radius:999px;
  background:#061226;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.3);
}
.tmcw-hub{
  position:absolute;
  inset:37%;
  z-index:3;
  border-radius:50%;
  background:radial-gradient(circle at 34% 24%,#24324a,#071426 68%);
  border:7px solid rgba(255,255,255,.82);
  box-shadow:0 20px 48px rgba(0,0,0,.48);
  pointer-events:none;
}
.tmcw-hub span,
.tmcw-hub small{display:none}
.tmcw-segment-label{
  position:absolute;
  inset:16px;
  z-index:2;
  display:block;
  border-radius:50%;
  transform:rotate(calc((360deg / var(--n)) * var(--i)));
}
.tmcw-segment-label em{
  position:absolute;
  top:25px;
  left:50%;
  width:104px;
  min-height:42px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  transform:translateX(-50%);
  color:var(--text,#fff);
  font-style:normal;
  text-align:center;
  text-shadow:0 2px 6px rgba(0,0,0,.62);
}
.tmcw-segment-label img{width:28px;height:28px;border-radius:9px;object-fit:cover;background:rgba(255,255,255,.72)}
.tmcw-segment-label b{font-size:11px;line-height:1;font-weight:950;text-transform:uppercase;letter-spacing:.01em}
.tmcw-wheel-shell .tmcw-spin{
  position:absolute;
  left:50%;
  top:50%;
  z-index:7;
  width:132px;
  height:132px;
  border-radius:999px;
  border:2px solid rgba(255,255,255,.22);
  background:radial-gradient(circle at 30% 25%,#a9ffd9 0%,#28e1a5 22%,#0aa06f 55%,#076647 100%);
  color:#00170d;
  font-size:13px;
  font-weight:950;
  letter-spacing:.12em;
  box-shadow:0 24px 62px rgba(0,0,0,.68),0 0 30px rgba(40,225,165,.24),inset 0 1px 0 rgba(255,255,255,.36);
  transform:translate(-50%,-50%);
  cursor:pointer;
  touch-action:manipulation;
  transition:transform 140ms cubic-bezier(.23,1,.32,1),filter 180ms ease-out;
}
.tmcw-wheel-shell .tmcw-spin:hover{filter:saturate(1.12) brightness(1.04)}
.tmcw-wheel-shell .tmcw-spin:active{transform:translate(-50%,-50%) scale(.98)}
.tmcw-spin:disabled{opacity:.48;cursor:not-allowed}
.tmcw-result{
  position:absolute;
  left:50%;
  bottom:24px;
  z-index:7;
  width:min(520px,calc(100% - 44px));
  min-height:52px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.07);
  color:rgba(236,246,255,.92);
  text-align:center;
  font-weight:850;
  line-height:1.28;
  box-shadow:0 18px 44px rgba(0,0,0,.28);
  transform:translateX(-50%);
}
.tmcw-result[data-kind=won]{border-color:rgba(255,215,106,.46);background:rgba(255,215,106,.14);color:#ffe6a3}
.tmcw-result[data-kind=lose]{color:rgba(221,234,255,.76)}
.tmcw-result[data-kind=error]{border-color:rgba(255,90,90,.42);background:rgba(255,90,90,.12);color:#ffb4b4}
.tmcw-panel{
  border-radius:26px;
  padding:20px;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.tmcw-balance{
  position:relative;
  overflow:hidden;
  border-radius:20px;
  padding:20px;
  background:linear-gradient(180deg,rgba(12,28,56,.98),rgba(6,14,32,.98));
  border:1px solid rgba(255,210,85,.35);
  box-shadow:0 16px 42px rgba(0,0,0,.48),inset 0 0 24px rgba(255,210,85,.08);
}
.tmcw-balance span,
.tmcw-kpis span{
  display:block;
  margin-bottom:8px;
  color:rgba(210,226,255,.56);
  text-transform:uppercase;
  font-size:11px;
  font-weight:900;
  letter-spacing:.14em;
}
.tmcw-balance strong{
  color:#ffe08a;
  font-size:32px;
  line-height:1;
  font-weight:950;
  text-shadow:0 2px 10px rgba(255,210,85,.34);
}
.tmcw-balance strong.is-updating{
  animation:tmcwTotalWonPop 880ms cubic-bezier(.16,1,.3,1);
}
.tmcw-fly-prize{
  position:fixed;
  z-index:2147482999;
  left:50%;
  top:50%;
  width:76px;
  height:76px;
  display:flex;
  align-items:center;
  justify-content:center;
  pointer-events:none;
  border-radius:999px;
  background:radial-gradient(circle at 30% 24%,#ffffff 0%,#fff2b0 22%,#ffd76a 48%,#c47a0e 100%);
  border:1px solid rgba(255,255,255,.55);
  box-shadow:0 18px 48px rgba(0,0,0,.48),0 0 32px rgba(255,215,106,.38);
  transform:translate(-50%,-50%) scale(.55);
  opacity:0;
}
.tmcw-fly-prize img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:inherit;
}
.tmcw-fly-prize span{
  color:#1b1305;
  font-size:24px;
  font-weight:950;
}
.tmcw-fly-prize.is-flying{
  animation:tmcwFlyPrize 980ms cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes tmcwTotalWonPop{
  0%{transform:scale(1);filter:brightness(1)}
  34%{transform:scale(1.13);filter:brightness(1.28)}
  100%{transform:scale(1);filter:brightness(1)}
}
@keyframes tmcwFlyPrize{
  0%{transform:translate(-50%,-50%) scale(.55) rotate(-8deg);opacity:0}
  28%{opacity:1}
  62%{transform:translate(-50%,calc(-50% - 90px)) scale(1.08) rotate(8deg);opacity:1}
  100%{transform:translate(calc(-50% + var(--tmcw-fly-x)),calc(-50% + var(--tmcw-fly-y))) scale(.32) rotate(18deg);opacity:0}
}
.tmcw-kpis{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tmcw-kpis div{
  min-height:94px;
  padding:16px 14px;
  border-radius:18px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
}
.tmcw-kpis strong{font-size:31px;line-height:1;color:#fff;font-weight:950}
.tmcw-buy-row{
  display:grid;
  grid-template-columns:auto 44px minmax(52px,1fr) 44px minmax(104px,1.2fr);
  gap:8px;
  align-items:center;
  padding:10px;
  border-radius:18px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
}
.tmcw-ticket-label{color:rgba(221,234,255,.86);font-size:12px;font-weight:900}
.tmcw-step,
.tmcw-ticket-qty,
.tmcw-buy{
  min-height:44px;
  border-radius:15px;
  font-weight:950;
}
.tmcw-step{
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);
  color:#58ffd8;
  cursor:pointer;
}
.tmcw-ticket-qty{
  border:1px solid rgba(255,255,255,.18);
  background:rgba(0,0,0,.28);
  color:#fff;
  text-align:center;
}
.tmcw-buy{
  border:1px solid rgba(88,255,216,.40);
  background:linear-gradient(180deg,rgba(40,225,165,.20),rgba(40,225,165,.08));
  color:#8effd9;
  cursor:pointer;
  box-shadow:0 12px 24px rgba(0,0,0,.24);
}
.tmcw-step:active,
.tmcw-buy:active,
.tmcw-sound:active,
.tmcw-result-popup__btn:active,
.tmcw-result-popup__close:active{transform:scale(.97)}
.tmcw-rng{
  display:block;
  padding:12px;
  border-radius:18px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.14);
  text-align:center;
  box-shadow:0 16px 34px rgba(0,0,0,.22);
}
.tmcw-rng span{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  margin-bottom:8px;
  border-radius:12px;
  background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(0,0,0,.36)),linear-gradient(180deg,#0a0f1a,#060a14);
  border:1px solid rgba(255,255,255,.16);
  color:#58ffd8;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:22px;
  font-weight:950;
  letter-spacing:.12em;
}
.tmcw-rng small{
  color:rgba(221,234,255,.58);
  text-transform:uppercase;
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
}
.tmcw-status{
  min-height:52px;
  padding:13px 15px;
  border-radius:18px;
  background:rgba(255,255,255,.06);
  color:rgba(236,246,255,.86);
  font-weight:850;
  line-height:1.3;
}
.tmcw-status[data-kind=error]{background:rgba(255,90,90,.12);color:#ffb4b4}
.tmcw-status[data-kind=won]{background:rgba(255,215,106,.14);color:#ffe6a3}
.tmcw-bottom{
  display:grid;
  grid-template-columns:1.12fr .88fr;
  gap:18px;
  padding:0;
}
.tmcw-card{
  border-radius:22px;
  padding:18px;
}
.tmcw-card h2{
  margin:0 0 14px;
  color:#fff;
  font-size:17px;
  line-height:1;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.09em;
}
.tmcw-showcase{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(112px,1fr));
  gap:10px;
}
.tmcw-prize{
  position:relative;
  display:block;
  min-height:120px;
  padding:12px 8px 36px;
  border-radius:16px;
  background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(0,0,0,.18));
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 14px 30px rgba(0,0,0,.30);
  text-align:center;
  overflow:hidden;
}
.tmcw-prize-media{
  width:42px;
  height:42px;
  margin:0 auto 8px;
  border-radius:14px;
  background:rgba(255,255,255,.08);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  box-shadow:0 10px 20px rgba(0,0,0,.34);
}
.tmcw-prize-media img{width:100%;height:100%;object-fit:cover}
.tmcw-prize-media i{width:24px;height:24px;border-radius:50%;background:radial-gradient(circle at 30% 30%,#fff4bf,#ffd866 36%,#b5770f)}
.tmcw-prize strong{
  display:block;
  color:rgba(255,255,255,.92);
  font-size:11px;
  line-height:1.15;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.tmcw-prize-value{
  display:block;
  margin-top:5px;
  color:#ffe08a;
  font-weight:950;
}
.tmcw-prize small{
  position:absolute;
  left:9px;
  right:9px;
  bottom:9px;
  min-height:23px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 9px;
  border-radius:999px;
  background:linear-gradient(135deg,#ffd36a,#ffb800 35%,#ffe8a9 70%,#ffbf2f);
  color:#1a1206;
  font-size:10px;
  font-weight:950;
  box-shadow:0 10px 22px rgba(0,0,0,.34),0 0 18px rgba(255,196,64,.18);
}
.tmcw-history{
  display:grid;
  gap:10px;
  max-height:380px;
  overflow:auto;
  padding-right:4px;
}
.tmcw-history-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px;
  border-radius:16px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
}
.tmcw-history-row strong{display:block;color:#fff;line-height:1.18}
.tmcw-history-row span{display:block;margin-top:4px;color:rgba(221,234,255,.56);font-size:12px;font-weight:800}
.tmcw-history-row b{white-space:nowrap;color:#ffe08a}
.tmcw-empty{
  border:1px dashed rgba(255,255,255,.16);
  border-radius:18px;
  background:rgba(255,255,255,.05);
  padding:16px;
  color:rgba(221,234,255,.74);
}
.tmcw-empty strong{display:block;color:#fff;margin-bottom:5px}
.tmcw-empty span{display:block;font-weight:750}
.tmcw-result-popup{
  position:fixed;
  inset:0;
  z-index:2147483000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
  color:#fff;
}
.tmcw-result-popup.is-open{display:flex}
.tmcw-result-popup__backdrop{
  position:absolute;
  inset:0;
  background:rgba(3,8,18,.72);
  backdrop-filter:blur(14px);
}
.tmcw-result-popup__card{
  position:relative;
  width:min(92vw,520px);
  overflow:hidden;
  padding:28px;
  border-radius:28px;
  border:1px solid rgba(255,255,255,.16);
  background:radial-gradient(130% 120% at 50% 0%,rgba(255,255,255,.20),transparent 60%),linear-gradient(180deg,rgba(10,20,40,.90),rgba(4,10,20,.86));
  box-shadow:0 34px 96px rgba(0,0,0,.72),0 0 0 1px rgba(249,217,118,.07) inset;
  text-align:center;
  transform:translateY(14px) scale(.96);
  opacity:0;
  animation:tmcwPopupIn 260ms cubic-bezier(.23,1,.32,1) forwards;
}
.tmcw-result-popup.is-win .tmcw-result-popup__card{box-shadow:0 34px 96px rgba(0,0,0,.72),0 0 52px rgba(255,215,100,.22)}
.tmcw-result-popup__close{
  position:absolute;
  right:14px;
  top:14px;
  width:38px;
  height:38px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  background:rgba(255,255,255,.08);
  color:#fff;
  font-weight:950;
  cursor:pointer;
}
.tmcw-result-popup__badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:0 14px;
  border-radius:999px;
  background:linear-gradient(180deg,#ffd76a,#d9a924);
  color:#1b1305;
  text-transform:uppercase;
  font-size:11px;
  font-weight:950;
  letter-spacing:.13em;
}
.tmcw-result-popup.is-lose .tmcw-result-popup__badge{background:#334155;color:#fff}
.tmcw-result-popup__media{
  width:154px;
  height:112px;
  margin:18px auto 14px;
  border-radius:18px;
  background:linear-gradient(135deg,rgba(255,255,255,.10),rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.16);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  box-shadow:0 16px 34px rgba(0,0,0,.34);
}
.tmcw-result-popup__media img{width:100%;height:100%;object-fit:cover}
.tmcw-result-popup__media span{font-size:58px;color:#ffe08a;font-weight:950;text-shadow:0 2px 12px rgba(255,210,85,.34)}
.tmcw-result-popup__title{
  margin:0;
  color:#fff;
  font-size:clamp(30px,6vw,48px);
  line-height:1;
  font-weight:950;
  letter-spacing:.02em;
  text-transform:uppercase;
}
.tmcw-result-popup__prize{
  margin:12px auto 0;
  max-width:360px;
  color:#ffe08a;
  font-size:21px;
  line-height:1.2;
  font-weight:950;
}
.tmcw-result-popup__meta{
  min-height:20px;
  margin:10px 0 0;
  color:rgba(221,234,255,.64);
  font-size:12px;
  font-weight:850;
}
.tmcw-result-popup__actions{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top:22px;
  flex-wrap:wrap;
}
.tmcw-result-popup__btn{
  min-height:48px;
  border-radius:999px;
  padding:0 20px;
  font-weight:950;
  cursor:pointer;
}
.tmcw-result-popup__btn--ghost{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);color:#fff}
.tmcw-result-popup__btn--primary{border:0;background:linear-gradient(180deg,#28e1a5,#0aa06f);color:#00170d;box-shadow:0 16px 34px rgba(40,225,165,.20)}
.tmcw-result-popup__confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.tmcw-result-popup__confetti i{
  position:absolute;
  left:50%;
  top:52%;
  width:8px;
  height:14px;
  border-radius:3px;
  background:#ffd76a;
  animation:tmcwConfetti 860ms cubic-bezier(.23,1,.32,1) forwards;
}
.tmcw-result-popup__confetti i:nth-child(3n){background:#28e1a5}
.tmcw-result-popup__confetti i:nth-child(3n+1){background:#30b8ff}
.tmcw-popup-open{overflow:hidden}
.tmcw-wrap.is-spinning .tmcw-wheel-shell{animation:tmcwGlow 1100ms ease-in-out infinite alternate}
@keyframes tmcwGlow{from{filter:drop-shadow(0 28px 46px rgba(0,0,0,.50))}to{filter:drop-shadow(0 36px 70px rgba(0,210,255,.26))}}
@keyframes tmcwPopupIn{to{transform:translateY(0) scale(1);opacity:1}}
@keyframes tmcwConfetti{0%{transform:translate(-50%,-50%) rotate(0);opacity:0}16%{opacity:1}100%{transform:translate(calc(-50% + var(--x)),calc(-50% + var(--y))) rotate(var(--r));opacity:0}}
@media (max-width:980px){
  .tmcw-wrap{padding-top:28px}
  .tmcw-head{align-items:flex-start;flex-direction:column}
  .tmcw-layout{grid-template-columns:1fr}
  .tmcw-panel{order:2}
  .tmcw-stage{min-height:560px;order:1}
  .tmcw-bottom{grid-template-columns:1fr}
}
@media (max-width:620px){
  .tmcw-wrap{padding:18px 10px 46px}
  .tmcw-head{padding:14px;border-radius:18px}
  .tmcw-head h1{font-size:36px}
  .tmcw-head p{font-size:13px}
  .tmcw-sound{min-height:42px}
  .tmcw-stage{min-height:444px;border-radius:20px;padding:18px 10px 88px}
  .tmcw-wheel-shell{width:min(88vw,360px)}
  .tmcw-pointer{top:16px;border-left-width:14px;border-right-width:14px;border-top-width:30px}
  .tmcw-wheel-shell .tmcw-spin{width:104px;height:104px;font-size:11px}
  .tmcw-segment-label{inset:11px}
  .tmcw-segment-label em{top:18px;width:70px}
  .tmcw-segment-label b{font-size:8px}
  .tmcw-segment-label img{width:20px;height:20px}
  .tmcw-result{bottom:14px;width:calc(100% - 24px);font-size:12px}
  .tmcw-panel,.tmcw-card{border-radius:20px;padding:14px}
  .tmcw-buy-row{grid-template-columns:auto 38px 52px 38px minmax(78px,1fr);gap:6px;padding:8px}
  .tmcw-ticket-label{font-size:11px}
  .tmcw-step,.tmcw-ticket-qty,.tmcw-buy{min-height:40px;border-radius:12px}
  .tmcw-showcase{display:block;white-space:nowrap;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:8px 2px}
  .tmcw-showcase::-webkit-scrollbar{display:none}
  .tmcw-prize{display:inline-block;width:128px;margin-right:10px;vertical-align:top;white-space:normal}
  .tmcw-result-popup{padding:14px}
  .tmcw-result-popup__card{padding:22px 16px;border-radius:24px}
  .tmcw-result-popup__media{width:130px;height:96px}
}
@media (prefers-reduced-motion:reduce){
  .tmcw-wheel-disc{transition-duration:1ms!important}
  .tmcw-wrap.is-spinning .tmcw-wheel-shell{animation:none}
  .tmcw-result-popup__card{animation:none;opacity:1;transform:none}
  .tmcw-result-popup__confetti{display:none}
}

/* Donor wheel layout bridge: keep the TMC API runtime, but make the page
   read like the original tmwl wheel front: title/control stack on the left,
   premium wheel stage on the right, compact showcase/history below controls. */
.tmcw-wrap{
  --tmcw-casino-bg:#030812;
  --tmcw-casino-card:rgba(7,18,38,.76);
  --tmcw-casino-card-strong:rgba(4,12,28,.92);
  --tmcw-casino-line:rgba(255,255,255,.14);
  --tmcw-casino-text:#ffffff;
  --tmcw-casino-muted:rgba(220,235,255,.70);
  --tmcw-casino-gold:#ffd76a;
  --tmcw-casino-green:#28e1a5;
}
.tmcw-shell{
  display:grid !important;
  grid-template-columns:minmax(300px,390px) minmax(0,1fr);
  grid-template-areas:
    "title wheel"
    "panel wheel"
    "bottom wheel";
  align-items:start;
  gap:18px;
  max-width:1320px;
}
.tmcw-layout{
  display:contents !important;
  padding:0 !important;
}
.tmcw-head{
  grid-area:title;
  position:relative;
  display:block;
  min-width:0;
  padding:18px;
}
.tmcw-head h1{
  margin:14px 0 10px;
  max-width:100%;
  font-size:clamp(34px,4.8vw,68px);
  line-height:.96;
}
.tmcw-head p{
  max-width:34rem;
}
.tmcw-sound{
  position:absolute;
  right:18px;
  top:18px;
}
.tmcw-stage{
  grid-area:wheel;
  min-height:760px;
  padding:48px 24px 118px;
}
.tmcw-panel{
  grid-area:panel;
}
.tmcw-bottom{
  grid-area:bottom;
  display:grid !important;
  grid-template-columns:1fr;
  gap:14px;
}
.tmcw-wheel-shell{
  width:min(64vw,690px);
}
.tmcw-wheel-shell:before{
  inset:-16px;
  background:
    repeating-conic-gradient(from 0deg,rgba(255,216,106,.95) 0deg 5deg,rgba(255,255,255,.28) 5deg 9deg,rgba(255,58,58,.38) 9deg 13deg),
    conic-gradient(from -20deg,#ffd86a,#ff7a18,#e11d48,#7c3aed,#30b8ff,#16c784,#ffd86a);
  box-shadow:
    0 0 0 6px rgba(255,255,255,.08),
    0 0 44px rgba(255,30,30,.20),
    0 0 52px rgba(0,210,255,.18),
    inset 0 0 22px rgba(0,0,0,.46);
}
.tmcw-wheel-shell:after{
  inset:-4px;
  box-shadow:
    inset 0 0 0 12px rgba(255,255,255,.18),
    inset 0 0 0 24px rgba(2,8,20,.40),
    0 0 22px rgba(255,30,30,.20);
  animation:tmcwRimGlow 1600ms ease-in-out infinite;
}
.tmcw-pointer{
  top:28px;
  border-left-width:20px;
  border-right-width:20px;
  border-top-width:44px;
  border-top-color:#ffe28a;
  filter:drop-shadow(0 7px 10px rgba(0,0,0,.42)) drop-shadow(0 0 12px rgba(255,215,100,.30));
}
.tmcw-wheel-shell .tmcw-spin{
  width:124px;
  height:124px;
  min-width:124px;
  min-height:124px;
  background:
    radial-gradient(circle at 32% 24%,#ffffff 0%,#d9fff0 13%,#36e6aa 33%,#0aa06f 62%,#041f17 100%);
  color:#021610;
  border:2px solid rgba(255,255,255,.24);
  box-shadow:
    0 22px 56px rgba(0,0,0,.70),
    0 0 28px rgba(40,225,165,.28),
    inset 0 1px 0 rgba(255,255,255,.54);
  animation:tmcwSpinPulse 1150ms ease-in-out infinite;
}
.tmcw-wheel-shell .tmcw-spin:before{
  content:"";
  position:absolute;
  inset:-10px;
  border-radius:999px;
  background:radial-gradient(circle,rgba(40,225,165,.32),rgba(40,225,165,0) 62%);
  pointer-events:none;
  animation:tmcwSpinHalo 1150ms ease-in-out infinite;
}
.tmcw-spin:disabled,
.tmcw-spin:disabled:before{
  animation:none !important;
}
.tmcw-balance,
.tmcw-kpis div,
.tmcw-buy-row,
.tmcw-rng,
.tmcw-status,
.tmcw-card,
.tmcw-prize,
.tmcw-history-row{
  background:var(--tmcw-casino-card);
  border-color:var(--tmcw-casino-line);
}
.tmcw-rng{
  display:block;
  text-align:center;
}
.tmcw-rng span{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  margin-bottom:8px;
  border-radius:13px;
  background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(0,0,0,.42)),#050b16;
  color:#7fffe2;
}
.tmcw-rng small{
  text-align:center;
  color:rgba(220,235,255,.60);
}
.tmcw-showcase{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.tmcw-prize{
  display:grid;
  grid-template-columns:54px minmax(0,1fr);
  min-height:76px;
  padding:10px;
  text-align:left;
}
.tmcw-prize-media{
  width:54px;
  height:54px;
  border-radius:14px;
}
.tmcw-prize strong{
  font-size:11px;
}
.tmcw-prize small{
  position:static;
  display:inline-flex;
  margin-top:7px;
}
@keyframes tmcwRimGlow{
  0%{filter:drop-shadow(0 0 8px rgba(255,30,30,.16));}
  50%{filter:drop-shadow(0 0 18px rgba(255,30,30,.30));}
  100%{filter:drop-shadow(0 0 10px rgba(255,30,30,.18));}
}
@keyframes tmcwSpinPulse{
  0%{transform:translate(-50%,-50%) scale(1);filter:brightness(1);}
  50%{transform:translate(-50%,-50%) scale(1.055);filter:brightness(1.08);}
  100%{transform:translate(-50%,-50%) scale(1);filter:brightness(1);}
}
@keyframes tmcwSpinHalo{
  0%{opacity:.50;transform:scale(.98);}
  50%{opacity:.95;transform:scale(1.06);}
  100%{opacity:.55;transform:scale(.98);}
}
@media (max-width:1180px){
  .tmcw-shell{
    grid-template-columns:1fr;
    grid-template-areas:
      "title"
      "wheel"
      "panel"
      "bottom";
  }
  .tmcw-head{
    padding-right:118px;
  }
  .tmcw-stage{
    min-height:660px;
  }
  .tmcw-wheel-shell{
    width:min(88vw,650px);
  }
  .tmcw-bottom{
    grid-template-columns:1fr 1fr;
  }
}

/* Broadcast correction v4: closer to TikTok live wheel reference. This replaces
   the "website card" balance with show-screen proportions. */
@media (min-width:1181px){
  .tmcw-wrap{
    padding:10px 16px 14px !important;
  }
  .tmcw-shell{
    max-width:100% !important;
    min-height:calc(100dvh - 28px) !important;
    grid-template-columns:clamp(370px,25.5vw,500px) minmax(640px,1fr) clamp(340px,21vw,430px) !important;
    grid-template-areas:
      "showcase head panel"
      "showcase wheel panel"
      "showcase wheel history" !important;
    gap:14px !important;
  }
  .tmcw-head{
    min-height:92px !important;
    display:flex !important;
    align-items:center !important;
    gap:16px !important;
    padding:12px 128px 12px 18px !important;
    border-radius:24px !important;
  }
  .tmcw-head > div{
    min-width:0;
  }
  .tmcw-eyebrow{
    margin:0 0 7px !important;
  }
  .tmcw-head h1{
    margin:0 !important;
    font-size:clamp(24px,2.7vw,44px) !important;
    line-height:.94 !important;
    max-width:760px !important;
    white-space:normal;
  }
  .tmcw-head p{
    display:none !important;
  }
  .tmcw-stage{
    min-height:calc(100dvh - 138px) !important;
    padding:8px 18px 62px !important;
    align-items:center !important;
    justify-content:center !important;
  }
  .tmcw-wheel-shell{
    width:min(100%,calc(100dvh - 160px),880px) !important;
    max-width:880px !important;
  }
  .tmcw-result{
    bottom:12px !important;
    min-height:38px !important;
    max-width:540px !important;
    font-size:12px !important;
    opacity:.88;
  }
  .tmcw-bottom .tmcw-card:first-child{
    padding:18px !important;
  }
  .tmcw-bottom .tmcw-card:nth-child(2){
    align-self:end;
    max-height:calc(100dvh - 650px);
    min-height:110px;
  }
  .tmcw-showcase{
    max-height:calc(100dvh - 96px) !important;
    display:grid !important;
    gap:12px !important;
  }
  .tmcw-prize{
    grid-template-columns:150px minmax(0,1fr) !important;
    min-height:104px !important;
  }
  .tmcw-prize-media{
    width:150px !important;
    height:82px !important;
  }
  .tmcw-prize strong{
    font-size:20px !important;
  }
  .tmcw-prize-value{
    font-size:17px !important;
  }
}
.tmcw-prize-art{
  position:relative;
  display:flex;
  width:100%;
  height:100%;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  overflow:hidden;
  border-radius:inherit;
  background:
    radial-gradient(circle at 16% 76%,rgba(255,255,255,.22) 0 14%,transparent 15%),
    radial-gradient(circle at 86% 20%,rgba(255,255,255,.18) 0 15%,transparent 16%),
    linear-gradient(135deg,rgba(254,44,85,.58),rgba(37,244,238,.18) 45%,rgba(255,215,106,.42));
  color:#fff;
  text-align:center;
  text-shadow:0 2px 8px rgba(0,0,0,.56);
}
.tmcw-prize-art:before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(110deg,transparent 0 28%,rgba(255,255,255,.22) 44%,transparent 60%);
  transform:translateX(-120%);
  animation:tmcwCardSweep 5.2s ease-in-out infinite;
}
.tmcw-prize-art b{
  position:relative;
  z-index:1;
  max-width:90%;
  font-size:13px;
  line-height:1.05;
  text-transform:uppercase;
}
.tmcw-prize-art small{
  position:relative !important;
  z-index:1;
  margin:0 !important;
  min-height:0 !important;
  padding:0 !important;
  background:transparent !important;
  color:rgba(255,255,255,.84) !important;
  box-shadow:none !important;
  font-size:8px !important;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.tmcw-rng span{
  display:grid !important;
  grid-template-columns:repeat(6,1fr);
  gap:6px;
  background:
    radial-gradient(circle at 50% 0%,rgba(255,215,106,.18),transparent 58%),
    linear-gradient(180deg,#111b2e,#050a15) !important;
  padding:10px;
}
.tmcw-rng span i{
  display:grid;
  place-items:center;
  min-height:36px;
  border-radius:7px;
  background:linear-gradient(180deg,#23314a,#08101d 62%,#02050b);
  border:1px solid rgba(255,215,106,.36);
  color:#fff8c7;
  font-style:normal;
  font-weight:950;
  font-size:24px;
  text-shadow:0 0 12px rgba(255,215,106,.38);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 0 16px rgba(255,215,106,.08);
}
@keyframes tmcwCardSweep{
  0%,48%{transform:translateX(-120%)}
  78%,100%{transform:translateX(130%)}
}
@media (max-width:700px){
  .tmcw-wrap{
    padding:18px 10px 46px;
    overflow-x:hidden;
  }
  .tmcw-shell{
    gap:12px;
  }
  .tmcw-head{
    padding:14px;
  }
  .tmcw-sound{
    position:static;
    margin-top:12px;
  }
  .tmcw-head h1{
    font-size:clamp(34px,12vw,46px);
  }
  .tmcw-stage{
    min-height:470px;
    padding:36px 10px 86px;
  }
  .tmcw-wheel-shell{
    width:min(91vw,390px);
  }
  .tmcw-wheel-shell .tmcw-spin{
    width:86px;
    height:86px;
    min-width:86px;
    min-height:86px;
    font-size:10px;
  }
  .tmcw-pointer{
    top:15px;
    border-left-width:15px;
    border-right-width:15px;
    border-top-width:34px;
  }
  .tmcw-bottom{
    grid-template-columns:1fr;
  }
  .tmcw-showcase{
    display:block;
    white-space:nowrap;
    overflow-x:auto;
    overflow-y:hidden;
    padding:6px 2px 10px;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  .tmcw-showcase::-webkit-scrollbar{
    display:none;
  }
  .tmcw-prize{
    display:inline-grid;
    width:178px;
    margin-right:10px;
    white-space:normal;
    vertical-align:top;
  }
}

/* TikTok-style prize wheel skin. Visual layer only: the signed API target,
   Woo ticket flow, claim creation and outcome proof remain in JS/PHP. */
.tmcw-wrap{
  --tmcw-tt-bg:#020306;
  --tmcw-tt-panel:rgba(7,12,24,.92);
  --tmcw-tt-panel-2:rgba(3,7,15,.96);
  --tmcw-tt-line:rgba(255,255,255,.12);
  --tmcw-tt-gold:#ffd76a;
  --tmcw-tt-cyan:#25f4ee;
  --tmcw-tt-red:#fe2c55;
  --tmcw-tt-green:#28e1a5;
  background:
    radial-gradient(circle at 52% 54%,rgba(254,44,85,.20),transparent 23%),
    radial-gradient(circle at 45% 50%,rgba(37,244,238,.16),transparent 23%),
    radial-gradient(circle at 50% 98%,rgba(255,215,106,.12),transparent 34%),
    linear-gradient(180deg,#071021 0%,#030711 44%,#020306 100%) !important;
  padding:20px max(14px,env(safe-area-inset-right)) 36px max(14px,env(safe-area-inset-left)) !important;
  overflow-x:hidden !important;
}
.tmcw-wrap:after{
  content:"";
  position:absolute;
  inset:-20% -10%;
  pointer-events:none;
  background:
    conic-gradient(from 180deg at 50% 52%,transparent 0 12%,rgba(255,215,106,.10) 16%,transparent 22%,transparent 49%,rgba(254,44,85,.10) 55%,transparent 62%,rgba(37,244,238,.09) 78%,transparent 86%),
    radial-gradient(circle at 50% 18%,rgba(255,255,255,.12),transparent 26%);
  opacity:.74;
  filter:blur(6px);
  animation:tmcwTikTokBeams 12s linear infinite;
}
.tmcw-shell{
  max-width:1500px !important;
  min-height:calc(100dvh - 64px);
  grid-template-columns:clamp(300px,24vw,410px) minmax(0,1fr) clamp(300px,23vw,390px) !important;
  grid-template-areas:
    "showcase head panel"
    "showcase wheel panel"
    "showcase wheel history" !important;
  align-items:stretch !important;
  gap:16px !important;
}
.tmcw-head,
.tmcw-panel,
.tmcw-card,
.tmcw-stage{
  background:
    linear-gradient(120deg,rgba(255,255,255,.035),transparent 34%),
    linear-gradient(180deg,var(--tmcw-tt-panel),var(--tmcw-tt-panel-2)) !important;
  border:1px solid rgba(255,215,106,.20) !important;
  box-shadow:
    0 0 0 1px rgba(255,215,106,.05),
    0 28px 90px rgba(0,0,0,.48),
    0 0 34px rgba(255,193,67,.08) !important;
  backdrop-filter:blur(14px);
}
.tmcw-head{
  grid-area:head !important;
  min-height:122px;
  padding:18px 130px 18px 20px !important;
  overflow:hidden;
}
.tmcw-eyebrow{
  min-height:30px !important;
  background:linear-gradient(90deg,var(--tmcw-tt-red),#ff7a18,var(--tmcw-tt-gold)) !important;
  color:#16060b !important;
  box-shadow:0 0 24px rgba(254,44,85,.28),0 0 20px rgba(255,215,106,.22) !important;
}
.tmcw-head h1{
  margin:12px 0 6px !important;
  max-width:820px !important;
  font-size:clamp(32px,4.4vw,62px) !important;
  line-height:.92 !important;
  text-transform:uppercase;
  overflow-wrap:anywhere;
  word-break:normal;
  text-shadow:0 0 28px rgba(37,244,238,.14),0 14px 34px rgba(0,0,0,.54) !important;
}
.tmcw-head p{
  max-width:760px !important;
  font-size:14px;
  line-height:1.36 !important;
  color:rgba(230,240,255,.72) !important;
}
.tmcw-sound{
  right:18px !important;
  top:18px !important;
  min-width:96px !important;
  border-radius:18px !important;
  background:rgba(2,9,20,.92) !important;
  border-color:rgba(37,244,238,.34) !important;
  color:#adfff9 !important;
  box-shadow:0 0 24px rgba(37,244,238,.12),inset 0 0 0 1px rgba(255,255,255,.04) !important;
}
.tmcw-stage{
  grid-area:wheel !important;
  min-height:min(760px,calc(100dvh - 210px)) !important;
  padding:34px 20px 92px !important;
  border-radius:28px !important;
}
.tmcw-stage:before{
  inset:5% 5% 10% !important;
  border-radius:50% !important;
  background:
    radial-gradient(circle at 50% 45%,rgba(255,244,191,.16),rgba(255,180,53,.08) 27%,rgba(254,44,85,.11) 46%,transparent 68%),
    radial-gradient(circle at 48% 50%,rgba(37,244,238,.09),transparent 50%) !important;
  filter:blur(7px);
  animation:tmcwStageBreathe 3.8s ease-in-out infinite;
}
.tmcw-stage:after{
  content:"";
  position:absolute;
  left:13%;
  right:13%;
  bottom:38px;
  height:42px;
  border-radius:999px;
  background:radial-gradient(circle,rgba(254,44,85,.75),rgba(37,244,238,.28),transparent 72%);
  filter:blur(22px);
  animation:tmcwFloorGlow 2.8s ease-in-out infinite alternate;
}
.tmcw-wheel-shell{
  width:min(100%,calc(100dvh - 250px),760px) !important;
  max-width:760px;
  z-index:2;
  filter:
    drop-shadow(0 34px 86px rgba(0,0,0,.62))
    drop-shadow(0 0 48px rgba(255,196,67,.20))
    drop-shadow(0 0 88px rgba(254,44,85,.12)) !important;
}
.tmcw-wheel-shell:before{
  inset:-20px !important;
  background:
    repeating-conic-gradient(from 0deg,rgba(255,241,168,.98) 0deg 4deg,rgba(37,244,238,.65) 4deg 8deg,rgba(254,44,85,.70) 8deg 12deg,rgba(255,215,106,.92) 12deg 16deg),
    conic-gradient(from 0deg,var(--tmcw-tt-red),#ff7a18,var(--tmcw-tt-gold),var(--tmcw-tt-cyan),#7c3aed,var(--tmcw-tt-red)) !important;
  box-shadow:
    0 0 0 7px rgba(255,255,255,.07),
    0 0 46px rgba(254,44,85,.25),
    0 0 54px rgba(37,244,238,.18),
    inset 0 0 24px rgba(0,0,0,.50) !important;
  animation:tmcwRimChase 7s linear infinite;
}
.tmcw-wheel-shell:after{
  inset:-4px !important;
  background:conic-gradient(from 0deg,transparent 0 12%,rgba(255,244,179,.24) 16%,transparent 22%,transparent 50%,rgba(254,44,85,.18) 56%,transparent 64%,rgba(37,244,238,.16) 78%,transparent 86%);
  box-shadow:
    inset 0 0 0 12px rgba(255,255,255,.20),
    inset 0 0 0 25px rgba(2,8,20,.42),
    0 0 24px rgba(254,44,85,.26) !important;
  opacity:.84;
}
.tmcw-wrap.is-spinning .tmcw-wheel-shell:before,
.tmcw-wrap.is-anticipating .tmcw-wheel-shell:before{
  animation-duration:2.2s;
}
.tmcw-wrap.is-spinning .tmcw-pointer{
  animation:tmcwPointerTick 180ms steps(2,end) infinite;
}
.tmcw-pointer{
  top:22px !important;
  border-left-width:21px !important;
  border-right-width:21px !important;
  border-top-width:48px !important;
  border-top-color:var(--tmcw-tt-gold) !important;
  filter:
    drop-shadow(0 7px 0 rgba(64,28,0,.56))
    drop-shadow(0 0 20px rgba(255,207,86,.88))
    drop-shadow(0 0 22px rgba(254,44,85,.34)) !important;
}
.tmcw-pointer:after{
  left:-13px !important;
  top:-52px !important;
  width:26px !important;
  height:26px !important;
  border-radius:50% !important;
  background:radial-gradient(circle at 30% 30%,#fff8cf,#ff3fb8 55%,#8b102f 100%) !important;
  box-shadow:0 0 24px rgba(255,86,182,.72) !important;
}
.tmcw-wheel-disc{
  box-shadow:
    inset 0 0 0 12px rgba(255,255,255,.16),
    inset 0 0 0 24px rgba(0,0,0,.20),
    inset 0 0 76px rgba(0,0,0,.42) !important;
}
.tmcw-wheel-disc:after{
  background:
    radial-gradient(circle at 33% 22%,rgba(255,255,255,.46),transparent 26%),
    radial-gradient(circle at center,transparent 0 42%,rgba(255,255,255,.18) 43%,transparent 48%),
    conic-gradient(from 0deg,transparent,rgba(255,255,255,.20),transparent 22%,transparent 54%,rgba(0,0,0,.28),transparent 76%),
    linear-gradient(90deg,rgba(255,255,255,.14),transparent 44%,rgba(0,0,0,.22)) !important;
}
.tmcw-wheel-shell .tmcw-spin{
  width:126px !important;
  height:126px !important;
  min-width:126px !important;
  min-height:126px !important;
  background:
    radial-gradient(circle at 32% 24%,#ffffff 0%,#d9fff0 13%,#36e6aa 33%,#0aa06f 62%,#041f17 100%) !important;
  color:#021610 !important;
  border:2px solid rgba(255,255,255,.26) !important;
  box-shadow:
    0 22px 56px rgba(0,0,0,.70),
    0 0 30px rgba(40,225,165,.30),
    0 0 22px rgba(37,244,238,.16),
    inset 0 1px 0 rgba(255,255,255,.55) !important;
  animation:tmcwSpinPulse 1150ms ease-in-out infinite !important;
}
.tmcw-result{
  bottom:18px !important;
  background:rgba(3,7,15,.78) !important;
  border-color:rgba(255,215,106,.18) !important;
  color:rgba(244,249,255,.88) !important;
  box-shadow:0 0 28px rgba(255,215,106,.08) !important;
}
.tmcw-panel{
  grid-area:panel !important;
  border-radius:24px !important;
  align-self:start;
}
.tmcw-bottom{
  display:contents !important;
}
.tmcw-bottom .tmcw-card:first-child{
  grid-area:showcase !important;
  overflow:hidden;
  min-height:0;
}
.tmcw-bottom .tmcw-card:nth-child(2){
  grid-area:history !important;
  overflow:hidden;
}
.tmcw-card h2{
  color:var(--tmcw-tt-gold) !important;
  font-size:18px !important;
  text-transform:uppercase;
  letter-spacing:.06em !important;
  text-shadow:0 0 18px rgba(255,207,87,.30);
}
.tmcw-showcase{
  max-height:calc(100dvh - 168px);
  overflow:auto;
  padding-right:6px;
}
.tmcw-prize{
  grid-template-columns:118px minmax(0,1fr) !important;
  min-height:92px !important;
  gap:12px !important;
  padding:10px 12px !important;
  border-radius:18px !important;
  background:
    linear-gradient(120deg,rgba(255,255,255,.04),transparent 34%),
    linear-gradient(180deg,rgba(8,14,28,.98),rgba(3,7,15,.96)) !important;
  border-color:rgba(255,202,83,.24) !important;
  transition:transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.tmcw-prize:hover{
  transform:translateX(3px);
  border-color:rgba(255,211,113,.44) !important;
  box-shadow:0 0 22px rgba(255,202,83,.10) !important;
}
.tmcw-prize.is-hit{
  border-color:rgba(255,231,137,.98) !important;
  box-shadow:
    0 0 0 2px rgba(255,244,190,.80),
    0 0 36px rgba(255,215,93,.82),
    0 0 88px rgba(254,44,85,.38),
    inset 0 0 28px rgba(255,236,154,.20) !important;
  animation:tmcwPrizeHit 1800ms cubic-bezier(.16,.85,.28,1) both;
}
.tmcw-prize-media{
  width:118px !important;
  height:70px !important;
  border-radius:14px !important;
  border:1px solid rgba(255,186,94,.24);
}
.tmcw-prize strong{
  font-size:16px !important;
  line-height:1.08 !important;
}
.tmcw-prize-value{
  color:#f8d078 !important;
  font-size:15px;
}
.tmcw-prize small{
  color:#16060b !important;
  background:linear-gradient(90deg,var(--tmcw-tt-gold),#fff2b0) !important;
}
.tmcw-balance{
  background:
    radial-gradient(circle at 100% 0%,rgba(37,244,238,.16),transparent 38%),
    linear-gradient(180deg,#0b162c,#050a15) !important;
  border-color:rgba(37,244,238,.22) !important;
}
.tmcw-balance strong{
  color:#fff !important;
  text-shadow:0 0 22px rgba(37,244,238,.28);
}
.tmcw-kpis div,
.tmcw-buy-row,
.tmcw-rng,
.tmcw-status,
.tmcw-history-row{
  background:rgba(3,7,15,.78) !important;
  border-color:rgba(255,255,255,.10) !important;
}
.tmcw-rng span{
  color:#adfff9 !important;
  text-shadow:0 0 18px rgba(37,244,238,.45);
}
.tmcw-wrap.is-anticipating .tmcw-rng span,
.tmcw-wrap.is-spinning .tmcw-rng span{
  animation:tmcwRngPulse 320ms linear infinite;
}
.tmcw-buy{
  background:linear-gradient(180deg,#ff4fd0,#7c3aed) !important;
  color:#fff !important;
  border-color:rgba(255,255,255,.16) !important;
  box-shadow:0 0 28px rgba(254,44,85,.20) !important;
}
.tmcw-step{
  color:#adfff9 !important;
}
.tmcw-history{
  max-height:260px !important;
}
.tmcw-history-row b{
  color:var(--tmcw-tt-gold) !important;
}
.tmcw-result-popup__card{
  width:min(94vw,620px) !important;
  background:
    radial-gradient(circle at 50% -8%,rgba(255,215,106,.30),transparent 35%),
    radial-gradient(circle at 100% 8%,rgba(37,244,238,.12),transparent 34%),
    linear-gradient(180deg,rgba(8,14,28,.98),rgba(3,7,15,.98)) !important;
  border-color:rgba(255,215,106,.28) !important;
}
.tmcw-result-popup.is-win .tmcw-result-popup__card{
  box-shadow:0 34px 96px rgba(0,0,0,.78),0 0 80px rgba(255,215,106,.28),0 0 120px rgba(254,44,85,.14) !important;
}
.tmcw-result-popup.is-win .tmcw-result-popup__media{
  animation:tmcwWinMediaPop 820ms cubic-bezier(.14,.9,.15,1.22) both;
}
.tmcw-result-popup__badge{
  background:linear-gradient(90deg,var(--tmcw-tt-red),#ff7a18,var(--tmcw-tt-gold)) !important;
}
.tmcw-result-popup__title{
  text-shadow:0 0 28px rgba(255,215,106,.22);
}
.tmcw-fx-layer{
  position:absolute;
  inset:0;
  z-index:40;
  pointer-events:none;
  overflow:hidden;
  opacity:0;
  transition:opacity 180ms ease;
}
.tmcw-fx-layer.is-active{
  opacity:1;
}
.tmcw-fx-boom{
  position:absolute;
  left:50%;
  top:50%;
  width:34vmin;
  height:34vmin;
  border-radius:50%;
  transform:translate(-50%,-50%);
  background:radial-gradient(circle,rgba(255,255,255,.96) 0 7%,rgba(255,218,84,.92) 8% 18%,rgba(254,44,85,.38) 28%,rgba(37,244,238,.16) 44%,transparent 68%);
  box-shadow:0 0 90px rgba(255,214,89,.80),0 0 180px rgba(254,44,85,.42);
  animation:tmcwFxBoom 950ms cubic-bezier(.12,.74,.12,1) forwards;
}
.tmcw-fx-boom:after{
  content:"";
  position:absolute;
  inset:-10%;
  border-radius:50%;
  border:4px solid rgba(255,230,129,.70);
  box-shadow:0 0 34px rgba(255,212,87,.82),inset 0 0 40px rgba(255,255,255,.20);
  animation:tmcwFxRing 850ms ease-out forwards;
}
.tmcw-fx-spark{
  position:absolute;
  left:50%;
  top:50%;
  width:8px;
  height:8px;
  border-radius:999px;
  background:var(--c);
  box-shadow:0 0 16px var(--c),0 0 34px var(--c);
  animation:tmcwFxSpark 1280ms cubic-bezier(.12,.74,.18,1) var(--d) forwards;
}
.tmcw-fx-confetti{
  position:absolute;
  top:-20px;
  width:8px;
  height:14px;
  border-radius:3px;
  background:var(--c);
  box-shadow:0 0 10px var(--c);
  animation:tmcwFxConfetti 1550ms cubic-bezier(.12,.76,.22,1) var(--d) forwards;
}
.tmcw-fx-soft{
  position:absolute;
  left:50%;
  top:50%;
  width:24vmin;
  height:24vmin;
  border-radius:50%;
  transform:translate(-50%,-50%);
  background:radial-gradient(circle,rgba(37,244,238,.20),transparent 70%);
  animation:tmcwFxSoft 700ms ease-out forwards;
}
@keyframes tmcwTikTokBeams{to{transform:rotate(360deg)}}
@keyframes tmcwStageBreathe{50%{transform:scale(1.035);opacity:.78}}
@keyframes tmcwFloorGlow{0%{opacity:.66;filter:blur(18px)}100%{opacity:1;filter:blur(25px)}}
@keyframes tmcwRimChase{to{transform:rotate(360deg)}}
@keyframes tmcwPointerTick{0%{transform:translateX(-50%) rotate(-5deg)}100%{transform:translateX(-50%) rotate(7deg)}}
@keyframes tmcwRngPulse{0%{filter:brightness(.85)}50%{filter:brightness(1.45)}100%{filter:brightness(.9)}}
@keyframes tmcwPrizeHit{
  0%,100%{transform:translateX(0) rotate(0)}
  10%{transform:translate(-7px,1px) rotate(-1.2deg)}
  20%{transform:translate(8px,-2px) rotate(1.1deg)}
  30%{transform:translate(-8px,2px) rotate(-1.4deg)}
  44%{transform:translate(6px,0) rotate(.9deg)}
  68%{transform:translate(-3px,0) rotate(-.4deg)}
}
@keyframes tmcwWinMediaPop{
  0%{transform:scale(.70) rotate(-3deg);filter:blur(8px);opacity:0}
  58%{transform:scale(1.10) rotate(1deg);filter:blur(0);opacity:1}
  100%{transform:scale(1) rotate(0)}
}
@keyframes tmcwFxBoom{
  0%{opacity:0;transform:translate(-50%,-50%) scale(.18);filter:blur(8px)}
  18%{opacity:1;filter:blur(0)}
  100%{opacity:0;transform:translate(-50%,-50%) scale(2.7);filter:blur(15px)}
}
@keyframes tmcwFxRing{to{opacity:0;transform:scale(2.9)}}
@keyframes tmcwFxSpark{
  0%{opacity:1;transform:translate(-50%,-50%) scale(1.1)}
  100%{opacity:0;transform:translate(calc(-50% + var(--x)),calc(-50% + var(--y))) scale(.12)}
}
@keyframes tmcwFxConfetti{
  0%{opacity:0;transform:translate3d(0,0,0) rotate(0)}
  10%{opacity:1}
  100%{opacity:0;transform:translate3d(var(--x),112vh,0) rotate(var(--r))}
}
@keyframes tmcwFxSoft{
  0%{opacity:0;transform:translate(-50%,-50%) scale(.50)}
  50%{opacity:1}
  100%{opacity:0;transform:translate(-50%,-50%) scale(1.85)}
}
@media (max-width:1180px){
  .tmcw-shell{
    grid-template-columns:1fr !important;
    grid-template-areas:
      "head"
      "wheel"
      "panel"
      "showcase"
      "history" !important;
    min-height:auto;
  }
  .tmcw-stage{
    min-height:620px !important;
  }
  .tmcw-wheel-shell{
    width:min(92vw,620px) !important;
  }
  .tmcw-showcase{
    max-height:none;
  }
}
@media (max-width:700px){
  .tmcw-wrap{
    padding:12px 8px 32px !important;
  }
  .tmcw-shell{
    gap:10px !important;
  }
  .tmcw-head{
    min-height:0;
    padding:13px !important;
    border-radius:20px !important;
  }
  .tmcw-eyebrow{
    min-height:24px !important;
    padding:0 10px !important;
    font-size:9px !important;
  }
  .tmcw-head h1{
    margin:10px 0 4px !important;
    max-width:100% !important;
    font-size:clamp(24px,8.4vw,34px) !important;
    line-height:.98 !important;
  }
  .tmcw-head p{
    max-height:38px;
    overflow:hidden;
    font-size:12px !important;
  }
  .tmcw-sound{
    min-width:0 !important;
    min-height:38px !important;
    margin-top:10px !important;
    padding:0 12px !important;
  }
  .tmcw-stage{
    min-height:430px !important;
    padding:28px 8px 76px !important;
    border-radius:22px !important;
  }
  .tmcw-wheel-shell{
    width:min(92vw,372px) !important;
  }
  .tmcw-wheel-shell:before{
    inset:-12px !important;
  }
  .tmcw-pointer{
    top:12px !important;
    border-left-width:15px !important;
    border-right-width:15px !important;
    border-top-width:34px !important;
  }
  .tmcw-pointer:after{
    left:-10px !important;
    top:-39px !important;
    width:20px !important;
    height:20px !important;
  }
  .tmcw-wheel-shell .tmcw-spin{
    width:82px !important;
    height:82px !important;
    min-width:82px !important;
    min-height:82px !important;
    font-size:10px !important;
  }
  .tmcw-result{
    min-height:44px !important;
    bottom:12px !important;
    font-size:11px !important;
  }
  .tmcw-panel,
  .tmcw-card{
    border-radius:20px !important;
    padding:12px !important;
  }
  .tmcw-showcase{
    display:block !important;
    white-space:nowrap;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    padding:6px 2px 10px;
  }
  .tmcw-prize{
    display:inline-grid !important;
    grid-template-columns:92px 1fr !important;
    width:218px !important;
    min-height:86px !important;
    margin-right:10px !important;
    vertical-align:top;
    white-space:normal;
    scroll-snap-align:start;
  }
  .tmcw-prize-media{
    width:92px !important;
    height:62px !important;
  }
  .tmcw-prize strong{
    font-size:12px !important;
  }
  .tmcw-history{
    max-height:240px !important;
  }
}
@media (prefers-reduced-motion:reduce){
  .tmcw-wrap:after,
  .tmcw-stage:before,
  .tmcw-stage:after,
  .tmcw-wheel-shell:before,
  .tmcw-wheel-shell:after,
  .tmcw-wheel-shell .tmcw-spin,
  .tmcw-wrap.is-spinning .tmcw-pointer,
  .tmcw-wrap.is-anticipating .tmcw-rng span,
  .tmcw-wrap.is-spinning .tmcw-rng span,
  .tmcw-prize.is-hit,
  .tmcw-result-popup.is-win .tmcw-result-popup__media,
  .tmcw-fx-boom,
  .tmcw-fx-boom:after,
  .tmcw-fx-spark,
  .tmcw-fx-confetti,
  .tmcw-fx-soft{
    animation:none !important;
  }
}

/* Final broadcast override v5. Keep this at the end: the wheel target rotation
   and API payload stay unchanged, this only rebalances the live-show layout. */
.tmcw-wrap{
  --tmcw-tt-gold:#f8c957;
  --tmcw-tt-gold-2:#fff1a8;
  --tmcw-tt-ink:#02050b;
  --tmcw-tt-panel:rgba(5,10,19,.90);
  --tmcw-tt-panel-2:rgba(2,5,11,.96);
  --tmcw-tt-line:rgba(255,214,104,.22);
  background:
    radial-gradient(circle at 50% 48%,rgba(248,201,87,.10),transparent 30%),
    linear-gradient(180deg,#020711 0%,#00040a 58%,#010205 100%) !important;
}
.tmcw-shell{
  isolation:isolate;
}
.tmcw-head,
.tmcw-panel,
.tmcw-card,
.tmcw-stage{
  border-color:var(--tmcw-tt-line) !important;
  background:
    linear-gradient(125deg,rgba(255,255,255,.055),transparent 34%),
    linear-gradient(180deg,var(--tmcw-tt-panel),var(--tmcw-tt-panel-2)) !important;
  box-shadow:
    0 0 0 1px rgba(255,238,180,.05),
    0 22px 72px rgba(0,0,0,.55),
    0 0 36px rgba(248,201,87,.08) !important;
}
.tmcw-head{
  grid-area:head !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:16px !important;
  min-height:78px !important;
  padding:12px 16px !important;
  border-radius:22px !important;
}
.tmcw-head > div{
  display:grid !important;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  gap:5px 12px;
  min-width:0;
}
.tmcw-eyebrow{
  grid-row:1 / span 2;
  align-self:center;
  min-height:28px !important;
  margin:0 !important;
  padding:0 14px !important;
  border-radius:999px !important;
  background:linear-gradient(90deg,#f83b60,#ffb84c,var(--tmcw-tt-gold-2)) !important;
  color:#13070a !important;
  box-shadow:0 0 24px rgba(248,201,87,.22),0 0 18px rgba(254,44,85,.18) !important;
}
.tmcw-head h1{
  margin:0 !important;
  max-width:100% !important;
  overflow:hidden !important;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:clamp(24px,2.4vw,38px) !important;
  line-height:1 !important;
  letter-spacing:.01em !important;
  text-transform:uppercase;
  text-shadow:0 0 24px rgba(248,201,87,.16),0 9px 24px rgba(0,0,0,.58) !important;
}
.tmcw-head p{
  display:block !important;
  margin:0 !important;
  max-width:920px !important;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:rgba(234,242,255,.62) !important;
  font-size:12px !important;
  line-height:1.25 !important;
}
.tmcw-sound{
  position:static !important;
  flex:0 0 auto;
  min-width:104px !important;
  min-height:42px !important;
  border-radius:999px !important;
  background:rgba(2,9,17,.86) !important;
  border-color:rgba(37,244,238,.38) !important;
  color:#bafff7 !important;
}
.tmcw-sound:active,
.tmcw-buy:active,
.tmcw-step:active{
  transform:scale(.97);
}
.tmcw-wheel-shell .tmcw-spin:active{
  transform:translate(-50%,-50%) scale(.985) !important;
}
@media (min-width:1181px){
  .tmcw-wrap{
    padding:10px 12px 14px !important;
  }
  .tmcw-shell{
    max-width:none !important;
    min-height:calc(100dvh - 26px) !important;
    grid-template-columns:clamp(260px,21vw,410px) minmax(560px,1fr) clamp(280px,20vw,390px) !important;
    grid-template-rows:auto minmax(0,1fr) minmax(156px,auto);
    grid-template-areas:
      "head head head"
      "showcase wheel panel"
      "showcase wheel history" !important;
    gap:14px !important;
  }
  .tmcw-stage{
    min-height:calc(100dvh - 128px) !important;
    padding:18px 18px 60px !important;
    border-radius:26px !important;
  }
  .tmcw-wheel-shell{
    width:min(100%,calc(100dvh - 146px),900px) !important;
    max-width:900px !important;
  }
  .tmcw-panel{
    align-self:start !important;
  }
  .tmcw-bottom .tmcw-card:first-child{
    padding:16px !important;
  }
  .tmcw-bottom .tmcw-card:nth-child(2){
    align-self:end;
    min-height:156px;
    max-height:260px !important;
  }
  .tmcw-showcase{
    max-height:calc(100dvh - 112px) !important;
    padding-right:5px !important;
  }
  .tmcw-prize{
    grid-template-columns:136px minmax(0,1fr) !important;
    min-height:96px !important;
    padding:10px !important;
  }
  .tmcw-prize-media{
    width:136px !important;
    height:76px !important;
  }
}
.tmcw-stage{
  background:
    radial-gradient(circle at 50% 50%,rgba(248,201,87,.09),transparent 44%),
    linear-gradient(180deg,rgba(4,9,19,.88),rgba(0,3,8,.96)) !important;
}
.tmcw-stage:before{
  display:none !important;
}
.tmcw-stage:after{
  display:none !important;
}
.tmcw-wheel-shell{
  filter:
    drop-shadow(0 38px 90px rgba(0,0,0,.70))
    drop-shadow(0 0 48px rgba(248,201,87,.26)) !important;
}
.tmcw-wheel-shell:before{
  inset:-18px !important;
  background:
    radial-gradient(circle at 32% 24%,rgba(255,255,255,.34),transparent 28%),
    radial-gradient(circle at 50% 50%,#fff0a2 0%,#f8c957 46%,#8d520d 71%,#311906 100%) !important;
  box-shadow:
    0 0 0 8px rgba(255,255,255,.06),
    0 0 0 17px rgba(52,31,5,.78),
    0 0 66px rgba(248,201,87,.34),
    inset 0 0 38px rgba(0,0,0,.62) !important;
}
.tmcw-wheel-shell:after{
  inset:-4px !important;
  background:
    radial-gradient(circle at 50% 50%,transparent 0 62%,rgba(255,238,173,.24) 63%,transparent 68%),
    radial-gradient(circle at 50% 50%,transparent 0 69%,rgba(255,225,123,.12) 70%,transparent 75%) !important;
  box-shadow:
    inset 0 0 0 10px rgba(255,247,200,.18),
    inset 0 0 0 23px rgba(0,0,0,.42),
    0 0 30px rgba(248,201,87,.26) !important;
}
.tmcw-wheel-disc{
  display:grid;
  place-items:center;
  background:radial-gradient(circle at 50% 50%,#0b111c,#02050b 70%) !important;
  filter:saturate(.92) contrast(1.08) brightness(.96);
  will-change:transform;
  transform:rotate(0deg);
  transition:transform 6200ms cubic-bezier(.08,.78,.10,1);
  box-shadow:
    inset 0 0 0 10px rgba(255,243,191,.20),
    inset 0 0 0 25px rgba(0,0,0,.21),
    inset 0 0 92px rgba(0,0,0,.50) !important;
}
.tmcw-wheel-canvas{
  display:block;
  width:100% !important;
  height:100% !important;
  max-width:100%;
  max-height:100%;
  border-radius:50%;
  transform:translateZ(0);
  backface-visibility:hidden;
}
.tmcw-wheel-disc:after{
  background:
    radial-gradient(circle at 32% 21%,rgba(255,255,255,.26),transparent 22%),
    radial-gradient(circle at center,transparent 0 40%,rgba(255,236,158,.13) 41%,transparent 47%) !important;
}
.tmcw-segment-label em{
  top:5.7% !important;
  width:96px !important;
  min-height:38px !important;
}
.tmcw-segment-label b{
  color:#fff7d0;
  font-size:clamp(8px,.74vw,12px) !important;
  text-shadow:0 2px 3px rgba(0,0,0,.80),0 0 10px rgba(0,0,0,.55);
}
.tmcw-pointer{
  top:16px !important;
  border-left-width:19px !important;
  border-right-width:19px !important;
  border-top-width:45px !important;
  border-top-color:var(--tmcw-tt-gold-2) !important;
  filter:
    drop-shadow(0 7px 0 rgba(74,39,3,.68))
    drop-shadow(0 0 18px rgba(248,201,87,.90))
    drop-shadow(0 0 20px rgba(254,44,85,.28)) !important;
}
.tmcw-pointer:after{
  top:-51px !important;
  width:24px !important;
  height:24px !important;
  border-radius:999px !important;
  background:radial-gradient(circle at 30% 28%,#fff7cd,#f83b60 58%,#6d0d2a 100%) !important;
}
.tmcw-wrap.is-spinning .tmcw-pointer{
  animation:none !important;
}
.tmcw-pointer.tmcw-pointer--tick{
  animation:tmcwPointerFlick 150ms cubic-bezier(.12,.84,.18,1) !important;
  transform-origin:50% 2px;
}
.tmcw-wrap.is-wheel-live .tmcw-wheel-shell{
  filter:
    drop-shadow(0 42px 96px rgba(0,0,0,.74))
    drop-shadow(0 0 68px rgba(248,201,87,.40))
    drop-shadow(0 0 80px rgba(37,244,238,.10)) !important;
}
.tmcw-wrap.is-wheel-live .tmcw-wheel-shell:before{
  animation-duration:1.25s !important;
}
.tmcw-wheel-shell .tmcw-spin{
  width:30.5% !important;
  height:30.5% !important;
  min-width:118px !important;
  min-height:118px !important;
  max-width:190px !important;
  max-height:190px !important;
  border:4px solid rgba(220,255,232,.80) !important;
  background:
    radial-gradient(circle at 32% 20%,#ffffff 0 10%,#caffdf 18%,#3df2a4 36%,#05a96d 62%,#023b2a 100%) !important;
  color:#022316 !important;
  font-size:clamp(15px,2vw,24px) !important;
  line-height:1.05 !important;
  letter-spacing:.04em !important;
  text-shadow:0 1px 0 rgba(255,255,255,.42),0 0 14px rgba(204,255,225,.50) !important;
  box-shadow:
    0 20px 44px rgba(0,0,0,.72),
    0 0 36px rgba(40,225,165,.42),
    0 0 0 9px rgba(1,15,10,.58),
    inset 0 3px 0 rgba(255,255,255,.65),
    inset 0 -16px 26px rgba(0,46,31,.52) !important;
}
.tmcw-hub{
  inset:34.8% !important;
  border-color:rgba(255,232,154,.72) !important;
  background:
    radial-gradient(circle at 50% 50%,rgba(4,13,9,.92),rgba(1,5,4,.98) 70%) !important;
  box-shadow:
    0 20px 54px rgba(0,0,0,.64),
    0 0 0 7px rgba(246,204,94,.45),
    0 0 24px rgba(248,201,87,.18) !important;
}
.tmcw-card h2{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:14px !important;
}
.tmcw-card h2:before,
.tmcw-rng:before{
  content:"";
  display:inline-block;
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--tmcw-tt-gold);
  box-shadow:0 0 14px rgba(248,201,87,.82);
}
.tmcw-prize{
  background:
    radial-gradient(circle at 100% 0%,rgba(248,201,87,.12),transparent 38%),
    linear-gradient(145deg,rgba(17,22,36,.98),rgba(3,7,14,.97)) !important;
}
.tmcw-prize-media{
  overflow:hidden;
  background:#070c16 !important;
}
.tmcw-prize-media img{
  transform:scale(1.02);
}
.tmcw-prize-art{
  background:
    radial-gradient(circle at 16% 78%,rgba(255,255,255,.26) 0 14%,transparent 15%),
    radial-gradient(circle at 87% 21%,rgba(255,241,179,.30) 0 15%,transparent 16%),
    linear-gradient(145deg,#13263d 0%,#0f5c52 42%,#712322 68%,#d58b17 100%) !important;
}
.tmcw-prize-art b{
  font-size:12px !important;
  letter-spacing:.02em;
}
.tmcw-prize-copy{
  min-width:0;
}
.tmcw-prize-title{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}
.tmcw-prize-title strong{
  min-width:0;
}
.tmcw-prize small{
  border:1px solid rgba(255,242,189,.16);
}
.tmcw-balance,
.tmcw-kpis div,
.tmcw-buy-row,
.tmcw-rng,
.tmcw-status,
.tmcw-history-row{
  border-color:rgba(255,232,154,.13) !important;
}
.tmcw-balance{
  background:
    radial-gradient(circle at 82% 10%,rgba(37,244,238,.12),transparent 38%),
    linear-gradient(180deg,#091423,#02060d) !important;
}
.tmcw-rng{
  position:relative;
  padding-top:36px !important;
}
.tmcw-rng:before{
  position:absolute;
  left:14px;
  top:14px;
}
.tmcw-rng:after{
  content:"PROOF";
  position:absolute;
  left:32px;
  top:11px;
  color:#fff2b6;
  font-size:12px;
  font-weight:950;
  letter-spacing:.12em;
}
.tmcw-rng span{
  display:grid !important;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:6px !important;
  width:100%;
  padding:9px !important;
  border:1px solid rgba(248,201,87,.24);
  border-radius:14px;
  background:
    radial-gradient(circle at 50% 0%,rgba(248,201,87,.15),transparent 60%),
    linear-gradient(180deg,#151f2e,#02060d) !important;
  color:#fff7ca !important;
}
.tmcw-rng span i{
  min-height:38px !important;
  border-color:rgba(255,232,154,.42) !important;
  background:linear-gradient(180deg,#26344a,#060b14 68%,#010308) !important;
  color:#fff7c9 !important;
  font-size:25px !important;
}
.tmcw-buy{
  background:linear-gradient(180deg,#ff4bd2,#8e2be7 58%,#5c17bd) !important;
}
.tmcw-status[data-kind="error"]{
  color:#ffd4d4 !important;
  background:rgba(80,12,20,.32) !important;
  border-color:rgba(255,119,119,.22) !important;
}
@media (max-width:1180px){
  .tmcw-shell{
    grid-template-columns:1fr !important;
    grid-template-areas:
      "head"
      "wheel"
      "panel"
      "showcase"
      "history" !important;
    gap:12px !important;
  }
  .tmcw-head{
    min-height:72px !important;
  }
  .tmcw-stage{
    min-height:min(72dvh,640px) !important;
    padding:20px 12px 60px !important;
  }
  .tmcw-wheel-shell{
    width:min(92vw,640px) !important;
  }
}
@media (max-width:700px){
  .tmcw-wrap{
    padding:10px 8px 34px !important;
  }
  .tmcw-head{
    display:grid !important;
    grid-template-columns:1fr auto;
    gap:10px !important;
    padding:12px !important;
    border-radius:18px !important;
  }
  .tmcw-head > div{
    display:block !important;
  }
  .tmcw-eyebrow{
    display:inline-flex !important;
    min-height:24px !important;
    padding:0 10px !important;
    font-size:9px !important;
  }
  .tmcw-head h1{
    margin-top:8px !important;
    white-space:normal;
    font-size:clamp(23px,7.5vw,32px) !important;
    line-height:1 !important;
  }
  .tmcw-head p{
    display:none !important;
  }
  .tmcw-sound{
    min-width:72px !important;
    min-height:36px !important;
    padding:0 10px !important;
    font-size:11px !important;
  }
  .tmcw-stage{
    min-height:430px !important;
    padding:24px 7px 66px !important;
    border-radius:20px !important;
  }
  .tmcw-wheel-shell{
    width:min(94vw,386px) !important;
  }
  .tmcw-wheel-shell:before{
    inset:-12px !important;
  }
  .tmcw-wheel-shell .tmcw-spin{
    width:92px !important;
    height:92px !important;
    min-width:92px !important;
    min-height:92px !important;
    font-size:10px !important;
  }
  .tmcw-hub{
    inset:35.5% !important;
  }
  .tmcw-segment-label em{
    top:18px !important;
    width:64px !important;
  }
  .tmcw-segment-label b{
    font-size:7px !important;
  }
  .tmcw-result{
    bottom:12px !important;
    max-width:calc(100% - 18px) !important;
    min-height:42px !important;
    font-size:11px !important;
  }
  .tmcw-panel,
  .tmcw-card{
    padding:12px !important;
    border-radius:18px !important;
  }
  .tmcw-showcase{
    display:flex !important;
    gap:10px !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    padding:4px 2px 10px !important;
    scroll-snap-type:x mandatory;
  }
  .tmcw-prize{
    flex:0 0 226px;
    width:226px !important;
    grid-template-columns:92px minmax(0,1fr) !important;
    min-height:88px !important;
    margin-right:0 !important;
    scroll-snap-align:start;
  }
  .tmcw-prize-media{
    width:92px !important;
    height:62px !important;
  }
  .tmcw-rng span i{
    min-height:32px !important;
    font-size:19px !important;
  }
}
@keyframes tmcwPointerFlick{
  0%{transform:translateX(-50%) rotate(0deg)}
  28%{transform:translateX(-50%) rotate(24deg)}
  58%{transform:translateX(-50%) rotate(-5deg)}
  100%{transform:translateX(-50%) rotate(0deg)}
}

/* Wheel reference lock: TikTok layout uses a fixed premium rim and the sector
   disk rotates inside it. These rules intentionally sit last. */
.tmcw-wheel-shell:before,
.tmcw-wrap.is-spinning .tmcw-wheel-shell:before,
.tmcw-wrap.is-anticipating .tmcw-wheel-shell:before,
.tmcw-wrap.is-wheel-live .tmcw-wheel-shell:before{
  animation:none !important;
}
.tmcw-wrap:after{
  display:none !important;
  animation:none !important;
}
.tmcw-stage:before,
.tmcw-stage:after,
.tmcw-wheel-shell .tmcw-spin{
  animation:none !important;
}
@media (min-width:1181px){
  .tmcw-showcase{
    display:flex !important;
    flex-direction:column !important;
    gap:12px !important;
    overflow-x:hidden !important;
    overflow-y:auto !important;
    white-space:normal !important;
    padding:0 5px 4px 0 !important;
  }
  .tmcw-prize{
    display:grid !important;
    width:100% !important;
    grid-template-columns:minmax(128px,39%) minmax(0,1fr) !important;
    gap:14px !important;
    min-height:96px !important;
    margin:0 !important;
    padding:10px 12px !important;
  }
  .tmcw-prize-media{
    width:100% !important;
    min-width:128px !important;
    height:78px !important;
  }
  .tmcw-prize strong{
    font-size:20px !important;
    line-height:1 !important;
  }
  .tmcw-prize small{
    flex:0 0 auto;
    width:max-content;
    max-width:100%;
  }
}
.tmcw-wheel-shell .tmcw-spin:active{
  transform:translate(-50%,-50%) scale(.985) !important;
}
.tmcw-prize-media .tmcw-prize-art small{
  display:none !important;
}
.tmcw-prize-title{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  min-width:0;
}
.tmcw-prize-title strong{
  overflow:hidden;
  text-overflow:ellipsis;
}
.tmcw-prize-title small{
  flex:0 0 auto;
  margin:0 !important;
  white-space:nowrap;
}
.tmcw-prize-media{
  position:relative !important;
}
.tmcw-prize-media-title,
.tmcw-prize-art b{
  position:absolute !important;
  z-index:2;
  inset:9px !important;
  display:flex !important;
  align-items:center;
  justify-content:center;
  max-width:none !important;
  color:#fff7d8 !important;
  font-size:clamp(13px, 1.05vw, 17px) !important;
  font-weight:1000 !important;
  line-height:.92 !important;
  letter-spacing:.01em !important;
  text-align:center !important;
  text-transform:uppercase;
  text-shadow:
    0 2px 2px rgba(0,0,0,.95),
    0 0 10px rgba(0,0,0,.82);
  pointer-events:none;
}
.tmcw-prize-media-title{
  border-radius:10px;
  background:
    radial-gradient(circle at 50% 46%,rgba(0,0,0,.30),rgba(0,0,0,0) 58%),
    linear-gradient(180deg,rgba(0,0,0,.04),rgba(0,0,0,.30));
}
.tmcw-prize-art b{
  inset:8px !important;
  background:transparent !important;
}
.tmcw-prize-copy{
  display:flex !important;
  min-width:0;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:center !important;
  gap:8px !important;
}
.tmcw-prize-copy .tmcw-prize-value{
  margin:0 !important;
  color:#ffe08a !important;
  font-size:20px !important;
  font-weight:1000 !important;
  line-height:1 !important;
  text-shadow:0 2px 8px rgba(0,0,0,.45);
  white-space:nowrap;
}
.tmcw-prize-value--muted{
  color:#ffe08a !important;
  font-size:14px !important;
  white-space:normal !important;
}
.tmcw-prize-won-badge{
  position:static !important;
  display:inline-flex !important;
  width:auto !important;
  max-width:100%;
  min-height:24px !important;
  margin:0 !important;
  padding:0 12px !important;
  align-items:center;
  justify-content:center;
  border:0 !important;
  border-radius:999px;
  background:linear-gradient(90deg,#ffdf76,#fff1b3) !important;
  color:#130c04 !important;
  box-shadow:0 8px 18px rgba(255,205,76,.20);
  font-size:11px !important;
  font-weight:1000;
  line-height:1;
  white-space:nowrap;
}
.tmcw-wheel-shell .tmcw-hub{
  inset:33.5% !important;
  z-index:6 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}
.tmcw-wheel-shell .tmcw-hub:before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:50%;
  background:
    radial-gradient(circle at 35% 26%,rgba(255,255,255,.88),rgba(255,255,255,0) 20%),
    conic-gradient(from 14deg,#ffeaa2,#34f5b2,#f8c957,#fff7c2,#16c784,#c58b2a,#ffeaa2);
  -webkit-mask:radial-gradient(circle,transparent 0 62%,#000 63% 100%);
  mask:radial-gradient(circle,transparent 0 62%,#000 63% 100%);
  box-shadow:
    0 0 0 2px rgba(255,248,190,.42),
    0 0 26px rgba(48,255,180,.25),
    0 0 34px rgba(248,201,87,.24);
  pointer-events:none;
}
.tmcw-wheel-shell .tmcw-hub:after{
  content:"";
  position:absolute;
  inset:8%;
  border-radius:50%;
  border:2px solid rgba(222,255,235,.38);
  box-shadow:inset 0 0 18px rgba(37,244,238,.12);
  pointer-events:none;
}
.tmcw-wheel-shell .tmcw-spin{
  isolation:isolate;
  overflow:hidden;
  border:0 !important;
  background:
    radial-gradient(circle at 30% 18%,#ffffff 0 8%,#d9fff0 16%,rgba(217,255,240,0) 31%),
    linear-gradient(125deg,#00b979 0%,#7dffd2 24%,#0bd98b 44%,#02a96e 62%,#41ffd0 82%,#02714f 100%),
    radial-gradient(circle at 50% 72%,#00835e 0%,#022e22 100%) !important;
  background-size:100% 100%,220% 220%,100% 100% !important;
  background-position:center,0% 50%,center !important;
  box-shadow:
    0 22px 50px rgba(0,0,0,.55),
    0 0 0 4px rgba(225,255,234,.80),
    0 0 0 11px rgba(37,244,238,.18),
    0 0 0 16px rgba(248,201,87,.28),
    0 0 32px rgba(45,255,181,.36),
    inset 0 2px 2px rgba(255,255,255,.68),
    inset 0 -18px 28px rgba(0,58,38,.34) !important;
  animation:tmcwSpinButtonIridescence 4200ms ease-in-out infinite !important;
}
.tmcw-wheel-shell .tmcw-spin:before{
  content:"";
  position:absolute;
  inset:8px;
  z-index:-1;
  border-radius:inherit;
  background:
    linear-gradient(135deg,rgba(255,255,255,.62),rgba(255,255,255,0) 24%),
    radial-gradient(circle at 70% 80%,rgba(0,74,48,.20),rgba(0,0,0,0) 46%);
  pointer-events:none;
  animation:none !important;
}
.tmcw-wheel-shell .tmcw-spin:after{
  content:"";
  position:absolute;
  inset:-45%;
  z-index:-1;
  background:linear-gradient(105deg,transparent 35%,rgba(255,255,255,.36) 47%,rgba(37,244,238,.30) 52%,transparent 64%);
  transform:translateX(-34%) rotate(12deg);
  animation:tmcwSpinButtonSheen 3600ms ease-in-out infinite;
  pointer-events:none;
}
@keyframes tmcwSpinButtonIridescence{
  0%{background-position:center,0% 50%,center;filter:saturate(1) brightness(1)}
  50%{background-position:center,100% 50%,center;filter:saturate(1.16) brightness(1.05)}
  100%{background-position:center,0% 50%,center;filter:saturate(1) brightness(1)}
}
@keyframes tmcwSpinButtonSheen{
  0%,34%{opacity:0;transform:translateX(-46%) rotate(12deg)}
  48%{opacity:.9}
  72%,100%{opacity:0;transform:translateX(46%) rotate(12deg)}
}

/* Performance polish: keep the TikTok wheel premium, but avoid always-on GPU
   effects. Static light is cheap; blur/filter/backdrop loops are not. */
.tmcw-head,
.tmcw-panel,
.tmcw-card,
.tmcw-stage,
.tmcw-result-popup__backdrop{
  -webkit-backdrop-filter:none !important;
  backdrop-filter:none !important;
}
.tmcw-wrap:before,
.tmcw-wrap:after,
.tmcw-stage:before,
.tmcw-stage:after{
  display:none !important;
  animation:none !important;
  filter:none !important;
}
.tmcw-wheel-shell,
.tmcw-wrap.is-spinning .tmcw-wheel-shell,
.tmcw-wrap.is-anticipating .tmcw-wheel-shell,
.tmcw-wrap.is-wheel-live .tmcw-wheel-shell{
  animation:none !important;
  filter:none !important;
  box-shadow:
    0 28px 64px rgba(0,0,0,.58),
    0 0 24px rgba(248,201,87,.22) !important;
}
.tmcw-wheel-shell:before,
.tmcw-wrap.is-spinning .tmcw-wheel-shell:before,
.tmcw-wrap.is-anticipating .tmcw-wheel-shell:before,
.tmcw-wrap.is-wheel-live .tmcw-wheel-shell:before{
  animation:none !important;
  filter:none !important;
  box-shadow:
    0 0 0 7px rgba(255,255,255,.06),
    0 0 0 15px rgba(52,31,5,.72),
    0 0 34px rgba(248,201,87,.22),
    inset 0 0 26px rgba(0,0,0,.48) !important;
}
.tmcw-wheel-shell:after{
  animation:none !important;
  filter:none !important;
  box-shadow:
    inset 0 0 0 9px rgba(255,247,200,.16),
    inset 0 0 0 21px rgba(0,0,0,.38),
    0 0 18px rgba(248,201,87,.18) !important;
}
.tmcw-pointer{
  filter:none !important;
}
.tmcw-wheel-shell .tmcw-hub:before,
.tmcw-wheel-shell .tmcw-hub:after{
  animation:none !important;
  filter:none !important;
}
.tmcw-wheel-shell .tmcw-hub:before{
  box-shadow:
    0 0 0 2px rgba(255,248,190,.38),
    0 0 18px rgba(48,255,180,.18),
    0 0 22px rgba(248,201,87,.18) !important;
}
.tmcw-wheel-shell .tmcw-spin{
  animation:none !important;
  background-position:center,42% 50%,center !important;
  box-shadow:
    0 18px 38px rgba(0,0,0,.48),
    0 0 0 4px rgba(225,255,234,.72),
    0 0 0 10px rgba(37,244,238,.14),
    0 0 0 15px rgba(248,201,87,.22),
    0 0 22px rgba(45,255,181,.28),
    inset 0 2px 2px rgba(255,255,255,.62),
    inset 0 -16px 24px rgba(0,58,38,.30) !important;
}
.tmcw-wheel-shell .tmcw-spin:after{
  display:none !important;
  animation:none !important;
}
.tmcw-wrap.is-spinning .tmcw-rng span{
  animation:none !important;
}
.tmcw-prize:before{
  animation:none !important;
  opacity:.18 !important;
}
.tmcw-fx-boom{
  box-shadow:0 0 42px rgba(255,214,89,.46),0 0 80px rgba(254,44,85,.24) !important;
}
.tmcw-fx-boom,
.tmcw-fx-boom:after,
.tmcw-fx-spark,
.tmcw-fx-confetti,
.tmcw-fx-soft{
  filter:none !important;
}

/* Final wheel UX pass: compact controls, live proof, mobile-first showcase. */
.tmcw-mode-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
  padding:5px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  background:rgba(255,255,255,.055);
}
.tmcw-mode-row button{
  min-height:34px;
  border:0;
  border-radius:12px;
  background:transparent;
  color:rgba(226,238,255,.68);
  font-size:12px;
  font-weight:950;
  cursor:pointer;
}
.tmcw-mode-row button.is-active{
  background:linear-gradient(180deg,rgba(255,216,106,.96),rgba(244,180,38,.96));
  color:#181002;
  box-shadow:0 8px 18px rgba(255,196,64,.18), inset 0 1px 0 rgba(255,255,255,.42);
}
.tmcw-mode-row button.is-stop{
  background:linear-gradient(180deg,#ef4444,#991b1b);
  color:#fff;
  box-shadow:0 8px 18px rgba(153,27,27,.24), inset 0 1px 0 rgba(255,255,255,.22);
}
.tmcw-panel{
  gap:10px !important;
  padding:14px !important;
}
.tmcw-balance{
  min-height:auto !important;
  padding:14px 16px !important;
  border-radius:17px !important;
}
.tmcw-balance span,
.tmcw-kpis span{
  margin-bottom:6px !important;
  font-size:10px !important;
}
.tmcw-balance strong{
  font-size:29px !important;
}
.tmcw-kpis{
  gap:8px !important;
}
.tmcw-kpis div{
  min-height:70px !important;
  padding:11px 12px !important;
  border-radius:15px !important;
}
.tmcw-kpis strong{
  font-size:27px !important;
}
.tmcw-buy-row{
  grid-template-columns:auto 38px 50px 38px minmax(92px,1fr) !important;
  gap:6px !important;
  padding:8px !important;
  border-radius:15px !important;
}
.tmcw-step,
.tmcw-ticket-qty,
.tmcw-buy{
  min-height:38px !important;
  border-radius:12px !important;
}
.tmcw-rng{
  position:relative;
  padding:26px 10px 10px !important;
  border-radius:16px !important;
}
.tmcw-rng:before{
  top:9px !important;
  left:12px !important;
  font-size:12px !important;
}
.tmcw-rng span{
  min-height:40px !important;
  gap:5px;
}
.tmcw-rng span i{
  display:inline-flex;
  min-width:27px;
  min-height:31px;
  align-items:center;
  justify-content:center;
  border-radius:7px;
  background:linear-gradient(180deg,#303a4c 0%,#0d1423 48%,#050812 52%,#1c2536 100%);
  border:1px solid rgba(255,231,151,.40);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 6px 10px rgba(0,0,0,.28);
}
.tmcw-wrap.is-anticipating .tmcw-rng span i,
.tmcw-wrap.is-spinning .tmcw-rng span i{
  animation:tmcwDigitFlipLive 520ms steps(2,end) infinite !important;
}
.tmcw-wrap.is-anticipating .tmcw-rng span i:nth-child(2),
.tmcw-wrap.is-spinning .tmcw-rng span i:nth-child(2){animation-delay:70ms !important}
.tmcw-wrap.is-anticipating .tmcw-rng span i:nth-child(3),
.tmcw-wrap.is-spinning .tmcw-rng span i:nth-child(3){animation-delay:140ms !important}
.tmcw-wrap.is-anticipating .tmcw-rng span i:nth-child(4),
.tmcw-wrap.is-spinning .tmcw-rng span i:nth-child(4){animation-delay:210ms !important}
.tmcw-wrap.is-anticipating .tmcw-rng span i:nth-child(5),
.tmcw-wrap.is-spinning .tmcw-rng span i:nth-child(5){animation-delay:280ms !important}
.tmcw-wrap.is-anticipating .tmcw-rng span i:nth-child(6),
.tmcw-wrap.is-spinning .tmcw-rng span i:nth-child(6){animation-delay:350ms !important}
@keyframes tmcwDigitFlipLive{
  0%{transform:translateY(0);filter:brightness(1)}
  48%{transform:translateY(-2px);filter:brightness(1.34)}
  100%{transform:translateY(0);filter:brightness(1)}
}
.tmcw-status{
  min-height:42px !important;
  padding:10px 12px !important;
  border-radius:15px !important;
  font-size:13px !important;
}
.tmcw-pointer{
  transform-origin:50% 7px !important;
}
@keyframes tmcwPointerFlick{
  0%{transform:translateX(-50%) rotate(0deg)}
  24%{transform:translateX(-50%) rotate(18deg)}
  58%{transform:translateX(-50%) rotate(-7deg)}
  100%{transform:translateX(-50%) rotate(0deg)}
}
.tmcw-pointer--tick{
  animation:tmcwPointerFlick 170ms cubic-bezier(.12,.84,.18,1);
}

@media (max-width: 900px){
  .tmcw-wrap{
    padding:18px max(10px,env(safe-area-inset-right)) 44px max(10px,env(safe-area-inset-left)) !important;
    overflow-x:hidden !important;
  }
  .tmcw-head{
    padding:12px !important;
    border-radius:18px !important;
  }
  .tmcw-head h1{
    font-size:clamp(25px,8vw,38px) !important;
    line-height:.98 !important;
  }
  .tmcw-head p{
    font-size:13px !important;
  }
  .tmcw-layout{
    grid-template-columns:1fr !important;
    gap:12px !important;
  }
  .tmcw-stage{
    min-height:min(106vw,510px) !important;
    padding:18px 4px 54px !important;
    border-radius:20px !important;
  }
  .tmcw-wheel-shell{
    width:min(96vw,420px) !important;
  }
  .tmcw-pointer{
    top:10px !important;
  }
  .tmcw-result{
    bottom:10px !important;
    min-height:38px !important;
    padding:9px 11px !important;
    border-radius:13px !important;
    font-size:12px !important;
  }
  .tmcw-panel{
    border-radius:18px !important;
  }
  .tmcw-balance{
    padding:12px 14px !important;
  }
  .tmcw-kpis div{
    min-height:60px !important;
    padding:9px 10px !important;
  }
  .tmcw-buy-row{
    grid-template-columns:auto 34px 44px 34px minmax(82px,1fr) !important;
    gap:5px !important;
    padding:7px !important;
  }
  .tmcw-ticket-label{
    font-size:11px !important;
  }
  .tmcw-step,
  .tmcw-ticket-qty,
  .tmcw-buy{
    min-height:34px !important;
  }
  .tmcw-buy{
    font-size:12px !important;
  }
  .tmcw-bottom{
    grid-template-columns:1fr !important;
    gap:12px !important;
  }
  .tmcw-card{
    padding:12px !important;
    border-radius:18px !important;
  }
  .tmcw-card h2{
    margin-bottom:10px !important;
    font-size:16px !important;
  }
  .tmcw-showcase{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:8px !important;
    max-height:none !important;
    overflow:visible !important;
    padding:0 !important;
    white-space:normal !important;
  }
  .tmcw-prize{
    display:grid !important;
    grid-template-columns:92px minmax(0,1fr) !important;
    min-height:76px !important;
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
    padding:8px !important;
    align-items:center !important;
    gap:10px !important;
    text-align:left !important;
  }
  .tmcw-prize-media{
    width:92px !important;
    height:58px !important;
    margin:0 !important;
    border-radius:12px !important;
  }
  .tmcw-prize-media-title,
  .tmcw-prize-art b{
    inset:6px !important;
    font-size:12px !important;
    line-height:.95 !important;
  }
  .tmcw-prize-copy{
    gap:5px !important;
  }
  .tmcw-prize-copy .tmcw-prize-value{
    font-size:17px !important;
  }
  .tmcw-prize-won-badge{
    min-height:22px !important;
    padding:0 10px !important;
    font-size:10px !important;
  }
}

@media (max-width: 430px){
  .tmcw-stage{
    min-height:452px !important;
  }
  .tmcw-wheel-shell{
    width:min(96vw,382px) !important;
  }
  .tmcw-wheel-shell .tmcw-spin{
    width:104px !important;
    height:104px !important;
    font-size:13px !important;
    line-height:1.08 !important;
    letter-spacing:.06em !important;
  }
  .tmcw-rng span i{
    min-width:24px !important;
    min-height:29px !important;
    font-size:18px !important;
  }
}

@media (prefers-reduced-motion: reduce){
  .tmcw-wrap.is-anticipating .tmcw-rng span i,
  .tmcw-wrap.is-spinning .tmcw-rng span i{
    animation:none !important;
  }
}

/* v0.75.46 donor Wheel2 popup and win-flight polish */
.tmcw-spin:disabled,
.tmcw-wheel-shell .tmcw-spin:disabled{
  opacity:1 !important;
  cursor:wait !important;
}
.tmcw-wrap.is-anticipating .tmcw-wheel-shell .tmcw-spin,
.tmcw-wrap.is-spinning .tmcw-wheel-shell .tmcw-spin{
  opacity:1 !important;
  color:#00170d !important;
  text-shadow:0 1px 0 rgba(255,255,255,.42),0 8px 20px rgba(0,42,30,.22) !important;
  animation:tmcwSpinButtonPulse 920ms ease-in-out infinite,tmcwSpinButtonIridescence 2600ms ease-in-out infinite !important;
  filter:saturate(1.16) brightness(1.05) !important;
}
.tmcw-wrap.is-anticipating .tmcw-wheel-shell .tmcw-spin:before,
.tmcw-wrap.is-spinning .tmcw-wheel-shell .tmcw-spin:before{
  display:block !important;
  opacity:1 !important;
  animation:tmcwSpinButtonHalo 920ms ease-in-out infinite !important;
  box-shadow:0 0 22px rgba(45,255,181,.34),inset 0 2px 2px rgba(255,255,255,.58) !important;
}
.tmcw-wrap.is-anticipating .tmcw-wheel-shell .tmcw-spin:after,
.tmcw-wrap.is-spinning .tmcw-wheel-shell .tmcw-spin:after{
  display:block !important;
  opacity:1 !important;
  animation:tmcwSpinButtonSheen 1300ms ease-in-out infinite !important;
}
@keyframes tmcwSpinButtonPulse{
  0%{transform:translate(-50%,-50%) scale(1)}
  50%{transform:translate(-50%,-50%) scale(1.055)}
  100%{transform:translate(-50%,-50%) scale(1)}
}
@keyframes tmcwSpinButtonHalo{
  0%{transform:scale(.96);filter:brightness(1)}
  50%{transform:scale(1.045);filter:brightness(1.18)}
  100%{transform:scale(.96);filter:brightness(1)}
}
.tmcw-choice-popup{
  position:fixed;
  inset:0;
  z-index:2147483001;
  display:none;
  color:#fff;
}
.tmcw-choice-popup.is-open{
  display:block;
}
.tmcw-choice-popup__backdrop{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 18% 18%,rgba(255,104,180,.22),transparent 34%),
    radial-gradient(circle at 82% 12%,rgba(101,205,255,.18),transparent 30%),
    radial-gradient(circle at 50% 100%,rgba(255,198,107,.16),transparent 36%),
    rgba(5,8,18,.76);
}
.tmcw-choice-popup__card{
  position:absolute;
  left:50%;
  top:50%;
  width:min(92vw,560px);
  overflow:hidden;
  padding:26px 24px 22px;
  border-radius:30px;
  border:1px solid rgba(255,255,255,.14);
  background:
    linear-gradient(135deg,rgba(255,255,255,.16),rgba(255,255,255,.04) 36%,rgba(255,255,255,.08) 100%),
    linear-gradient(180deg,rgba(18,22,42,.96),rgba(8,12,28,.98));
  box-shadow:
    0 32px 120px rgba(0,0,0,.52),
    0 1px 0 rgba(255,255,255,.18) inset,
    0 0 0 1px rgba(255,255,255,.05) inset,
    0 0 48px rgba(255,110,193,.12),
    0 0 80px rgba(95,194,255,.10);
  transform:translate(-50%,-46%) scale(.96);
  opacity:0;
  animation:tmcwChoicePopupIn 260ms cubic-bezier(.23,1,.32,1) forwards;
}
.tmcw-choice-popup__card:before,
.tmcw-choice-popup__card:after{
  content:"";
  position:absolute;
  pointer-events:none;
}
.tmcw-choice-popup__card:before{
  inset:-1px;
  border-radius:inherit;
  padding:1px;
  background:linear-gradient(135deg,rgba(255,255,255,.6),rgba(255,255,255,.06) 28%,rgba(255,196,128,.5) 56%,rgba(116,227,255,.35) 78%,rgba(255,255,255,.08));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  mask-composite:exclude;
  opacity:.8;
}
.tmcw-choice-popup__card:after{
  width:180px;
  height:180px;
  right:-52px;
  top:-64px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(255,219,139,.55) 0%,rgba(255,122,196,.16) 42%,rgba(255,255,255,0) 72%);
  filter:blur(10px);
  opacity:.95;
}
.tmcw-choice-popup__eyebrow{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:14px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  box-shadow:0 0 0 1px rgba(255,255,255,.08) inset;
  color:#ffe3a6;
  font-size:11px;
  font-weight:950;
  letter-spacing:.20em;
  text-transform:uppercase;
}
.tmcw-choice-popup__eyebrow:before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:radial-gradient(circle,#fff 0%,#ffd26f 45%,#ff8ad2 100%);
  box-shadow:0 0 16px rgba(255,173,93,.9);
}
.tmcw-choice-popup__title{
  position:relative;
  margin:0 0 12px;
  color:#fff;
  font-size:32px;
  line-height:1.02;
  font-weight:950;
  letter-spacing:0;
  text-transform:none;
  text-shadow:0 1px 0 rgba(255,255,255,.10),0 10px 40px rgba(123,203,255,.14);
}
.tmcw-choice-popup__text{
  position:relative;
  max-width:48ch;
  margin:0;
  color:rgba(244,247,255,.84);
  font-size:15px;
  font-weight:750;
  line-height:1.62;
}
.tmcw-choice-popup__actions{
  position:relative;
  display:flex;
  justify-content:flex-end;
  gap:12px;
  margin-top:22px;
}
.tmcw-choice-popup__btn{
  position:relative;
  min-width:154px;
  min-height:48px;
  border:0;
  border-radius:16px;
  padding:0 20px;
  cursor:pointer;
  font-weight:950;
  letter-spacing:.10em;
  text-transform:uppercase;
  transition:transform .2s ease,box-shadow .2s ease,filter .2s ease;
}
.tmcw-choice-popup__btn:hover{
  transform:translateY(-1px);
  filter:brightness(1.04);
}
.tmcw-choice-popup__btn--confirm{
  color:#1b1020;
  background:linear-gradient(135deg,#fff4c4 0%,#ffd77b 22%,#ff9acf 58%,#9fe7ff 100%);
  box-shadow:0 18px 40px rgba(255,130,194,.24),0 10px 28px rgba(255,214,109,.18),0 0 0 1px rgba(255,255,255,.45) inset;
}
.tmcw-choice-popup__btn--cancel{
  color:#eef3ff;
  background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.06));
  box-shadow:0 0 0 1px rgba(255,255,255,.10) inset,0 10px 24px rgba(0,0,0,.18);
}
@keyframes tmcwChoicePopupIn{
  to{transform:translate(-50%,-50%) scale(1);opacity:1}
}
.tmcw-result-popup__backdrop{
  background:
    radial-gradient(circle at 22% 20%,rgba(255,215,106,.18),transparent 34%),
    radial-gradient(circle at 78% 10%,rgba(40,225,165,.14),transparent 30%),
    rgba(3,8,18,.78) !important;
}
.tmcw-result-popup__card{
  border-color:rgba(255,230,160,.30) !important;
  background:
    radial-gradient(circle at 50% -10%,rgba(255,230,160,.28),transparent 38%),
    linear-gradient(135deg,rgba(255,255,255,.13),rgba(255,255,255,.04) 38%,rgba(255,255,255,.08)),
    linear-gradient(180deg,rgba(15,22,42,.97),rgba(7,10,22,.98)) !important;
  animation:tmcwPrizePopupIn 360ms cubic-bezier(.2,1.05,.22,1) forwards !important;
}
.tmcw-result-popup__card:before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:inherit;
  padding:1px;
  background:linear-gradient(135deg,rgba(255,255,255,.54),rgba(255,215,106,.52),rgba(40,225,165,.26),rgba(255,255,255,.08));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  mask-composite:exclude;
  pointer-events:none;
}
.tmcw-result-popup.is-win .tmcw-result-popup__media{
  border-color:rgba(255,215,106,.55) !important;
  background:radial-gradient(circle at 35% 24%,#fff8d6 0%,#ffd76a 32%,#c47a0e 100%) !important;
  box-shadow:0 18px 38px rgba(0,0,0,.38),0 0 42px rgba(255,215,106,.28),inset 0 1px 0 rgba(255,255,255,.62) !important;
  animation:tmcwPrizeMediaPop 960ms cubic-bezier(.18,1,.22,1) both;
}
.tmcw-result-popup.is-win .tmcw-result-popup__media span{
  color:#4c2b00 !important;
  text-shadow:0 1px 0 rgba(255,255,255,.45) !important;
}
@keyframes tmcwPrizePopupIn{
  0%{transform:translateY(22px) scale(.92);opacity:0}
  68%{transform:translateY(-3px) scale(1.015);opacity:1}
  100%{transform:translateY(0) scale(1);opacity:1}
}
@keyframes tmcwPrizeMediaPop{
  0%{transform:scale(.72) rotate(-8deg);opacity:.2}
  55%{transform:scale(1.08) rotate(4deg);opacity:1}
  100%{transform:scale(1) rotate(0deg);opacity:1}
}
.tmcw-fly-prize{
  width:1px !important;
  height:1px !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  filter:drop-shadow(0 16px 30px rgba(255,188,52,.30));
}
.tmcw-fly-prize__chip{
  position:absolute;
  left:0;
  top:0;
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-width:max-content;
  padding:7px 14px 7px 8px;
  border-radius:999px;
  border:1px solid rgba(255,244,200,.92);
  background:linear-gradient(135deg,rgba(255,235,165,.98),rgba(214,168,58,.98));
  box-shadow:0 12px 28px rgba(160,100,0,.28),inset 0 1px 0 rgba(255,255,255,.68),inset 0 -2px 6px rgba(111,63,0,.18);
  transform:translate(-50%,-50%) scale(.86);
  white-space:nowrap;
}
.tmcw-fly-prize__coin,
.tmcw-fly-prize__media{
  width:30px;
  height:30px;
  flex:0 0 30px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:radial-gradient(circle at 30% 30%,#fff4bf 0%,#ffd866 35%,#dfab2e 68%,#b5770f 100%);
  color:#452600;
  font-size:16px;
  font-weight:950;
  box-shadow:inset 0 2px 3px rgba(255,255,255,.65),inset 0 -2px 3px rgba(115,70,0,.22),0 4px 10px rgba(125,80,0,.28);
  animation:tmcwCoinSpin 980ms cubic-bezier(.2,.9,.22,1) forwards;
}
.tmcw-fly-prize__media{
  overflow:hidden;
}
.tmcw-fly-prize__media img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  border-radius:inherit !important;
}
.tmcw-fly-prize__amount{
  color:#241200 !important;
  font-size:15px !important;
  font-weight:950 !important;
  letter-spacing:0 !important;
  text-shadow:0 1px 0 rgba(255,255,255,.35) !important;
}
.tmcw-fly-prize__spark{
  position:absolute;
  width:8px;
  height:8px;
  border-radius:50%;
  background:#fff6c8;
  box-shadow:0 0 18px rgba(255,215,106,.72);
  opacity:0;
  animation:tmcwPrizeSpark 760ms ease-out forwards;
}
.tmcw-fly-prize__spark--one{left:-34px;top:-28px;animation-delay:110ms}
.tmcw-fly-prize__spark--two{right:-28px;bottom:-26px;animation-delay:220ms}
@keyframes tmcwCoinSpin{
  0%{transform:rotate(-18deg) scale(.96)}
  50%{transform:rotate(198deg) scale(1.04)}
  100%{transform:rotate(360deg) scale(1)}
}
@keyframes tmcwPrizeSpark{
  0%{transform:translate(0,0) scale(.4);opacity:0}
  24%{opacity:1}
  100%{transform:translate(22px,-28px) scale(1.2);opacity:0}
}
@media (max-width:480px){
  .tmcw-choice-popup__card{
    width:min(94vw,560px);
    padding:20px 16px 16px;
    border-radius:24px;
  }
  .tmcw-choice-popup__title{font-size:25px}
  .tmcw-choice-popup__actions{flex-direction:column-reverse}
  .tmcw-choice-popup__btn{width:100%;min-width:0}
}
@media (prefers-reduced-motion: reduce){
  .tmcw-wrap.is-anticipating .tmcw-wheel-shell .tmcw-spin,
  .tmcw-wrap.is-spinning .tmcw-wheel-shell .tmcw-spin,
  .tmcw-wrap.is-anticipating .tmcw-wheel-shell .tmcw-spin:before,
  .tmcw-wrap.is-spinning .tmcw-wheel-shell .tmcw-spin:before,
  .tmcw-wrap.is-anticipating .tmcw-wheel-shell .tmcw-spin:after,
  .tmcw-wrap.is-spinning .tmcw-wheel-shell .tmcw-spin:after,
  .tmcw-choice-popup__card,
  .tmcw-result-popup__card,
  .tmcw-result-popup.is-win .tmcw-result-popup__media,
  .tmcw-fly-prize__coin,
  .tmcw-fly-prize__media,
  .tmcw-fly-prize__spark{
    animation:none !important;
  }
}

/* v0.75.47: keep API status out of the wheel face. The side panel remains the
   visible status surface; this prevents REST errors from drawing under the wheel. */
.tmcw-stage .tmcw-result{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  min-height:0 !important;
  margin:-1px !important;
  padding:0 !important;
  border:0 !important;
  overflow:hidden !important;
  clip:rect(0 0 0 0) !important;
  clip-path:inset(50%) !important;
  white-space:nowrap !important;
}

/* Wheel product layout fix: remove the standalone prize showcase column.
   Keep the verified wheel and the control panel inside one contained layout. */
.tmcw-bottom .tmcw-card:first-child{
  display:none !important;
}
.tmcw-bottom{
  display:contents !important;
}
.tmcw-bottom .tmcw-card:nth-child(2){
  grid-area:history !important;
  min-width:0 !important;
  width:100% !important;
}
@media (min-width: 901px){
  .tmcw-shell{
    max-width:1240px !important;
    min-height:auto !important;
    grid-template-columns:clamp(286px,25vw,380px) minmax(0,1fr) !important;
    grid-template-areas:
      "head head"
      "panel wheel"
      "history wheel" !important;
    align-items:start !important;
    gap:16px !important;
  }
  .tmcw-head{
    grid-area:head !important;
  }
  .tmcw-panel{
    grid-area:panel !important;
    align-self:start !important;
  }
  .tmcw-stage{
    grid-area:wheel !important;
    min-height:min(78dvh,760px) !important;
    padding:34px 18px 64px !important;
    overflow:hidden !important;
  }
  .tmcw-wheel-shell{
    width:min(58vw,670px) !important;
    max-width:100% !important;
  }
}
@media (max-width: 900px){
  .tmcw-shell{
    grid-template-areas:
      "head"
      "wheel"
      "panel"
      "history" !important;
  }
  .tmcw-stage,
  .tmcw-panel,
  .tmcw-bottom .tmcw-card:nth-child(2){
    min-width:0 !important;
    max-width:100% !important;
  }
  .tmcw-head{grid-row:1 !important}
  .tmcw-stage{grid-row:2 !important}
  .tmcw-panel{grid-row:3 !important}
  .tmcw-bottom .tmcw-card:nth-child(2){grid-row:4 !important}
}

.tmc-game-embedded .tmcw-wheel-shell > .tmcw-pointer{
  left:50% !important;
  top:-30px !important;
  z-index:30 !important;
  width:46px !important;
  height:52px !important;
  transform:translateX(-50%);
  border:0 !important;
  background:
    linear-gradient(180deg,#fff5c7 0%,#ffe18a 45%,#cc8729 78%,#6e3b0b 100%) !important;
  clip-path:polygon(50% 100%, 4% 0, 96% 0) !important;
  filter:
    drop-shadow(0 7px 0 rgba(73,36,3,.52))
    drop-shadow(0 0 16px rgba(255,217,106,.68)) !important;
  transform-origin:50% 100% !important;
  animation:tmcwPointerReady 1800ms ease-in-out infinite !important;
}
.tmc-game-embedded .tmcw-wheel-shell > .tmcw-pointer:after{
  display:none !important;
}
.tmc-game-embedded .tmcw-wrap.is-anticipating .tmcw-wheel-shell > .tmcw-pointer,
.tmc-game-embedded .tmcw-wrap.is-spinning .tmcw-wheel-shell > .tmcw-pointer,
.tmc-game-embedded .tmcw-wheel-shell > .tmcw-pointer.tmcw-pointer--tick{
  animation:tmcwPointerLiveTick 260ms cubic-bezier(.18,.88,.24,1) infinite !important;
}
@media (max-width: 900px){
  .tmc-game-embedded .tmcw-wheel-shell > .tmcw-pointer{
    top:-28px !important;
    width:42px !important;
    height:50px !important;
  }
}
@keyframes tmcwPointerReady{
  0%,100%{
    transform:translateX(-50%) translateY(0) rotate(0deg);
    filter:drop-shadow(0 7px 0 rgba(73,36,3,.50)) drop-shadow(0 0 14px rgba(255,217,106,.58));
  }
  50%{
    transform:translateX(-50%) translateY(3px) rotate(0deg);
    filter:drop-shadow(0 5px 0 rgba(73,36,3,.46)) drop-shadow(0 0 22px rgba(255,217,106,.82));
  }
}
@keyframes tmcwPointerLiveTick{
  0%{
    transform:translateX(-50%) translateY(0) rotate(0deg);
    filter:drop-shadow(0 7px 0 rgba(73,36,3,.50)) drop-shadow(0 0 16px rgba(255,217,106,.72));
  }
  28%{
    transform:translateX(-50%) translateY(7px) rotate(9deg);
    filter:drop-shadow(0 3px 0 rgba(73,36,3,.62)) drop-shadow(0 0 26px rgba(255,226,122,1));
  }
  58%{
    transform:translateX(-50%) translateY(2px) rotate(-5deg);
    filter:drop-shadow(0 6px 0 rgba(73,36,3,.55)) drop-shadow(0 0 18px rgba(255,217,106,.84));
  }
  100%{
    transform:translateX(-50%) translateY(0) rotate(0deg);
    filter:drop-shadow(0 7px 0 rgba(73,36,3,.50)) drop-shadow(0 0 16px rgba(255,217,106,.72));
  }
}
@media (prefers-reduced-motion: reduce){
  .tmc-game-embedded .tmcw-wheel-shell > .tmcw-pointer,
  .tmc-game-embedded .tmcw-wrap.is-anticipating .tmcw-wheel-shell > .tmcw-pointer,
  .tmc-game-embedded .tmcw-wrap.is-spinning .tmcw-wheel-shell > .tmcw-pointer{
    animation:none !important;
  }
}

/* reduced-motion completeness: idle SPIN iridescence/sheen and showcase card
   sweep run outside the state-scoped PRM lists above; this late block (same
   selectors, later in cascade) silences them too. */
@media (prefers-reduced-motion: reduce){
  .tmcw-wheel-shell .tmcw-spin,
  .tmcw-wheel-shell .tmcw-spin:before,
  .tmcw-wheel-shell .tmcw-spin:after,
  .tmcw-prize-art:before{
    animation:none !important;
  }
}

/* keyboard focus: designed ring for the purchase/spin flow on the dark stage */
.tmcw-spin:focus-visible,
.tmcw-buy:focus-visible,
.tmcw-step:focus-visible,
.tmcw-sound:focus-visible,
.tmcw-ticket-qty:focus-visible,
.tmcw-choice-popup__card button:focus-visible,
.tmcw-result-popup__card button:focus-visible{
  outline:3px solid #f8c957;
  outline-offset:3px;
}
