/* =============================================================
   ScanToWin V11 — Desktop clarity + high-impact public landing
   Loaded after all legacy UI layers so it can safely normalize
   desktop typography/contrast without touching game logic.
   ============================================================= */
:root{
  --v11-navy:#061827;
  --v11-navy-2:#0b2b46;
  --v11-blue:#296edb;
  --v11-yellow:#ffba08;
  --v11-yellow-2:#ffd45c;
  --v11-bg:#f3f7fb;
  --v11-white:#fff;
  --v11-muted:#617187;
  --v11-line:#dfe7ef;
  --v11-soft:#eef4f9;
  --v11-green:#18a66a;
  --v11-shadow:0 20px 55px rgba(6,24,39,.10);
  --v11-shadow-sm:0 10px 30px rgba(6,24,39,.07);
}

/* ---------- New public home: works on desktop and mobile ---------- */
body.page-index.stw-v8{background:var(--v11-bg)!important;color:var(--v11-navy)!important}
body.page-index.stw-v8 .footer{margin-top:0!important}
.v11-home{overflow:hidden;background:linear-gradient(180deg,#f4f9fe 0%,#f8fbfd 42%,#fff 100%)}
.v11-hero{position:relative;padding:70px 0 28px;background:
  radial-gradient(circle at 83% 18%,rgba(255,190,18,.19),transparent 25%),
  radial-gradient(circle at 10% 8%,rgba(63,148,255,.13),transparent 28%),
  linear-gradient(180deg,#f4faff 0,#f8fbfd 100%)}
.v11-hero:after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:var(--v11-line)}
.v11-hero-grid{display:grid;grid-template-columns:minmax(0,1.03fr) minmax(460px,.97fr);gap:68px;align-items:center}
.v11-hero-copy{padding:24px 0 34px}
.v11-kicker{display:inline-flex;align-items:center;gap:9px;padding:10px 15px;background:#fff;border:1px solid var(--v11-line);border-radius:999px;font-weight:900;font-size:14px;color:var(--v11-navy);box-shadow:var(--v11-shadow-sm)}
.v11-kicker .svg-icon{width:17px;height:17px;color:var(--v11-yellow)}
.v11-hero-copy h1{max-width:780px;margin:22px 0 20px;font-size:clamp(58px,5.25vw,86px);line-height:.94;letter-spacing:-.062em;color:var(--v11-navy);font-weight:1000}
.v11-hero-text{max-width:720px;margin:0 0 28px;font-size:20px;line-height:1.6;color:var(--v11-muted);font-weight:550}
.v11-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:24px}
.v11-hero-actions .btn{height:58px;min-width:190px;padding:0 25px;border-radius:18px;font-size:16px;font-weight:950}
.v11-primary{box-shadow:0 16px 34px rgba(255,184,0,.26)!important}
.v11-secondary{box-shadow:0 14px 30px rgba(6,24,39,.12)!important}
.v11-hero-pills{display:flex;gap:9px;flex-wrap:wrap}
.v11-hero-pills span{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid var(--v11-line);border-radius:999px;background:rgba(255,255,255,.78);font-size:12px;font-weight:850;color:#42546b}
.v11-hero-pills .svg-icon{width:15px;height:15px;color:var(--v11-yellow)}

.v11-game-preview{position:relative;border:1px solid rgba(6,24,39,.08);border-radius:34px;background:#fff;padding:18px;box-shadow:0 30px 80px rgba(6,24,39,.13);isolation:isolate}
.v11-game-preview:before{content:"";position:absolute;inset:-26px;z-index:-1;border-radius:48px;background:linear-gradient(135deg,rgba(69,153,255,.12),rgba(255,194,22,.14));filter:blur(18px)}
.v11-preview-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.v11-preview-brand{display:flex;align-items:center;gap:10px}
.v11-preview-brand img{width:48px;height:48px;padding:7px;border-radius:15px;border:1px solid var(--v11-line);background:#fff}
.v11-preview-brand b{font-size:14px;line-height:.92;letter-spacing:-.02em}.v11-preview-brand b span{color:var(--v11-yellow)}
.v11-preview-wallet{display:grid;grid-template-columns:34px auto auto;align-items:center;gap:8px;padding:7px 10px;border:1px solid #f4dea2;border-radius:16px;background:#fff9e8}
.v11-preview-wallet img{width:34px;height:34px;object-fit:contain}.v11-preview-wallet span{font-size:10px;color:#7d6a38;font-weight:850}.v11-preview-wallet b{font-size:18px;color:var(--v11-navy)}
.v11-preview-map{position:relative;height:320px;overflow:hidden;border-radius:25px;background:linear-gradient(140deg,#e6f1ec,#dfeef5 55%,#f3eee0);border:1px solid #d9e4e8}
.v11-map-grid{position:absolute;inset:-20%;transform:rotate(-7deg);background:
  linear-gradient(90deg,transparent 47%,rgba(255,255,255,.92) 48%,rgba(255,255,255,.92) 52%,transparent 53%) 0 0/92px 92px,
  linear-gradient(0deg,transparent 47%,rgba(255,255,255,.92) 48%,rgba(255,255,255,.92) 52%,transparent 53%) 0 0/92px 92px,
  linear-gradient(35deg,transparent 45%,rgba(190,206,196,.75) 46%,rgba(190,206,196,.75) 50%,transparent 51%) 0 0/145px 145px}
.v11-preview-map:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(6,24,39,.03));pointer-events:none}
.v11-pin{position:absolute;width:46px;height:55px;display:grid;place-items:center;clip-path:polygon(50% 100%,6% 42%,8% 24%,20% 8%,36% 1%,64% 1%,80% 8%,92% 24%,94% 42%);color:#fff;filter:drop-shadow(0 8px 8px rgba(6,24,39,.18));z-index:2}
.v11-pin .svg-icon{width:21px;height:21px;margin-top:-5px}.v11-pin.common{background:#9bacbf}.v11-pin.rare{background:#2f72df}.v11-pin.epic{background:#8950dc}
.v11-pin.p1{left:15%;top:18%}.v11-pin.p2{left:57%;top:10%}.v11-pin.p3{left:74%;top:47%}.v11-pin.p4{left:28%;top:59%}.v11-pin.p5{left:47%;top:42%}
.v11-scan-avatar{position:absolute;left:50%;top:49%;transform:translate(-50%,-50%);width:84px;height:84px;border-radius:50%;background:#071827;border:5px solid #fff;box-shadow:0 14px 30px rgba(6,24,39,.25);overflow:hidden;z-index:4}
.v11-scan-avatar img{width:122px;height:122px;object-fit:cover;object-position:52% 44%;transform:translate(-20px,-10px)}
.v11-preview-panel{padding:14px 4px 2px}
.v11-preview-mission{display:flex;align-items:center;justify-content:space-between;gap:16px}.v11-preview-mission small{display:block;font-size:10px;color:#8794a5;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.v11-preview-mission b{font-size:16px;color:var(--v11-navy)}.v11-preview-mission>span{font-size:13px;font-weight:950;color:#d48d00}
.v11-preview-progress{height:6px;margin:9px 0 12px;border-radius:99px;background:#e9eef4;overflow:hidden}.v11-preview-progress i{display:block;width:36%;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--v11-yellow),#ffd557)}
.v11-near-card{display:grid;grid-template-columns:48px minmax(0,1fr) 34px;align-items:center;gap:10px;padding:11px;border:1px solid var(--v11-line);border-radius:18px;background:#f9fbfd}
.v11-near-icon{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(180deg,#ffd65a,#ffb800);color:var(--v11-navy)}.v11-near-icon .svg-icon{width:22px;height:22px}
.v11-near-card small,.v11-near-card span{display:block}.v11-near-card small{font-size:9px;color:#8492a2;text-transform:uppercase;font-weight:900}.v11-near-card b{display:block;font-size:14px;color:var(--v11-navy);margin:1px 0}.v11-near-card span{font-size:10px;color:#7d6a38;font-weight:850}.v11-near-card a{width:34px;height:34px;border-radius:12px;display:grid;place-items:center;background:var(--v11-navy);color:#fff;font-size:18px}

.v11-proofbar{position:relative;z-index:3;display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:40px;padding:10px;border:1px solid var(--v11-line);border-radius:24px;background:rgba(255,255,255,.9);box-shadow:var(--v11-shadow-sm);backdrop-filter:blur(16px)}
.v11-proofbar>a{display:flex;align-items:center;gap:11px;min-width:0;padding:11px 13px;border-radius:17px;color:var(--v11-navy);transition:.18s ease}.v11-proofbar>a:hover{background:#f5f8fb;transform:translateY(-1px)}
.v11-proofbar>a>span{width:42px;height:42px;flex:0 0 42px;border-radius:14px;display:grid;place-items:center;background:#fff4ca;color:#d59400}.v11-proofbar .svg-icon{width:20px;height:20px}.v11-proofbar b{display:block;font-size:13px}.v11-proofbar small{display:block;margin-top:2px;color:#748296;font-size:10px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.v11-section{padding:74px 0}.v11-section-head{max-width:780px;margin:0 auto 34px;text-align:center}.v11-section-head h2{margin:7px 0 10px;font-size:44px;line-height:1.04;letter-spacing:-.04em;color:var(--v11-navy)}.v11-section-head p{margin:0;font-size:17px;line-height:1.6;color:var(--v11-muted)}
.v11-how{background:#fff}.v11-step-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.v11-step-grid article{position:relative;min-height:250px;padding:23px;border:1px solid var(--v11-line);border-radius:25px;background:linear-gradient(180deg,#fff,#f9fbfd);box-shadow:var(--v11-shadow-sm);overflow:hidden}.v11-step-grid article>span{position:absolute;right:15px;top:9px;font-size:44px;font-weight:1000;color:#edf1f5;letter-spacing:-.06em}.v11-step-icon{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(180deg,#fff2bb,#ffbe13);color:var(--v11-navy);margin-bottom:29px}.v11-step-icon .svg-icon{width:26px;height:26px}.v11-step-grid h3{margin:0 0 9px;font-size:20px;color:var(--v11-navy)}.v11-step-grid p{margin:0;color:var(--v11-muted);font-size:14px;line-height:1.55}

.v11-modes{background:linear-gradient(180deg,#f4f8fc,#eef4f8)}.v11-modes-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.v11-mode{position:relative;min-height:330px;padding:30px;border:1px solid var(--v11-line);border-radius:29px;background:#fff;box-shadow:var(--v11-shadow-sm)}.v11-mode.virtual{background:linear-gradient(145deg,#061827,#0c3553);border-color:#123c59;color:#fff}.v11-mode-icon{width:68px;height:68px;border-radius:21px;display:grid;place-items:center;background:#fff2c6;color:var(--v11-navy);margin-bottom:46px}.v11-mode-icon .svg-icon{width:30px;height:30px}.v11-mode-icon img{width:40px;height:40px}.v11-mode h2{margin:6px 0 12px;font-size:29px;letter-spacing:-.03em;color:var(--v11-navy)}.v11-mode p{font-size:15px;line-height:1.6;color:var(--v11-muted);margin:0 0 24px}.v11-mode.virtual h2,.v11-mode.virtual p,.v11-mode.virtual .v11-text-link{color:#fff}.v11-mode.virtual p{opacity:.75}.v11-mode.virtual .eyebrow{color:#ffd04a}.v11-text-link{position:absolute;left:30px;bottom:27px;font-weight:950;color:var(--v11-navy)}

.v11-final-wrap{padding:74px 0 90px;background:#fff}.v11-final{display:flex;align-items:center;justify-content:space-between;gap:40px;padding:44px 48px;border-radius:32px;background:linear-gradient(135deg,#071a2a,#0e3b5b);color:#fff;box-shadow:0 28px 70px rgba(6,24,39,.18)}.v11-final h2{max-width:720px;margin:6px 0 8px;font-size:38px;line-height:1.05;letter-spacing:-.04em;color:#fff}.v11-final p{max-width:760px;margin:0;color:rgba(255,255,255,.68);font-size:15px;line-height:1.55}.v11-final-actions{display:flex;flex:0 0 auto;gap:10px}.v11-final-actions .btn{height:55px;min-width:145px}

/* ---------- Desktop readability normalization ---------- */
@media (min-width:901px){
  body.stw-v8{font-size:16px!important}
  body.stw-v8 .container{width:min(1240px,calc(100% - 64px))!important;max-width:1240px!important}

  /* Header */
  body.stw-v8 .nav.v6-nav{min-height:86px!important;background:rgba(255,255,255,.96)!important;box-shadow:0 8px 28px rgba(6,24,39,.05)!important}
  body.stw-v8 .nav.v6-nav .nav-inner{min-height:86px!important}
  body.stw-v8 .nav.v6-nav .logo{font-size:16px!important;line-height:.88!important}
  body.stw-v8 .nav.v6-nav .logo-mark{width:58px!important;height:58px!important;border-radius:19px!important}
  body.stw-v8 .nav.v6-nav .logo-mark img{width:38px!important;height:38px!important}
  body.stw-v8 .nav.v6-nav .nav-links{gap:28px!important}
  body.stw-v8 .nav.v6-nav .nav-links a{font-size:15px!important;font-weight:900!important;color:#20334c!important}
  body.stw-v8 .nav.v6-nav .nav-actions .btn{height:52px!important;padding:0 24px!important;font-size:15px!important;border-radius:16px!important}
  body.stw-v8 .nav.v6-nav .lang-wrap{min-width:52px!important;height:52px!important}

  /* Generic desktop cards: prevent washed-out text */
  body.stw-v8 .eyebrow{font-size:13px!important;color:#d99500!important;font-weight:1000!important;letter-spacing:.09em!important}
  body.stw-v8 p,body.stw-v8 small{opacity:1}

  /* Ranking */
  body.stw-v8 .v6-ranking-page{padding:44px 0 80px!important}
  body.stw-v8 .v6-ranking-shell{width:min(1080px,calc(100% - 64px))!important;max-width:1080px!important}
  body.stw-v8 .v6-ranking-header{padding:30px 34px!important;border-radius:28px!important;margin-bottom:22px!important}
  body.stw-v8 .v6-ranking-header h1{font-size:45px!important;line-height:1.02!important;margin:8px 0 10px!important}
  body.stw-v8 .v6-ranking-header p{font-size:16px!important;line-height:1.55!important;color:#627288!important;margin-bottom:18px!important}
  body.stw-v8 .v6-rewards-line{gap:10px!important}.v6-rewards-line span{padding:10px 15px!important;font-size:13px!important}
  body.stw-v8 .v6-podium{gap:16px!important;margin-bottom:22px!important}
  body.stw-v8 .v6-podium-card{min-height:220px!important;border-radius:27px!important;padding:25px 16px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important}
  body.stw-v8 .v6-podium-card.first{min-height:260px!important}
  body.stw-v8 .v6-podium-medal{width:64px!important;height:64px!important;border-radius:20px!important;font-size:22px!important;margin-bottom:16px!important}
  body.stw-v8 .v6-podium-card h3{font-size:19px!important;margin:5px 0!important}
  body.stw-v8 .v6-podium-card strong{font-size:31px!important;margin:4px 0!important}
  body.stw-v8 .v6-podium-card small{font-size:13px!important;color:#6a798c!important}
  body.stw-v8 .v6-leader-list{padding:12px 18px!important;border-radius:26px!important}
  body.stw-v8 .v6-leader-row{grid-template-columns:52px 52px minmax(0,1fr) auto!important;gap:14px!important;padding:15px 10px!important}
  body.stw-v8 .v6-place,body.stw-v8 .v6-user-avatar{width:48px!important;height:48px!important;border-radius:15px!important;font-size:14px!important}
  body.stw-v8 .v6-leader-copy b{font-size:17px!important}.v6-leader-copy small{font-size:13px!important}.v6-leader-points b{font-size:20px!important}.v6-leader-points small{font-size:11px!important}

  /* How it works */
  body.stw-v8 .v6-how-page{padding:44px 0 80px!important}
  body.stw-v8 .v6-how-shell{width:min(1120px,calc(100% - 64px))!important;max-width:1120px!important}
  body.stw-v8 .v6-how-hero{display:grid!important;grid-template-columns:1fr 260px!important;align-items:center!important;gap:34px!important;padding:34px!important;border-radius:30px!important;margin-bottom:20px!important;overflow:hidden!important}
  body.stw-v8 .v6-how-hero h1{font-size:43px!important;line-height:1.05!important;margin:8px 0 12px!important;letter-spacing:-.035em!important}
  body.stw-v8 .v6-how-hero p{font-size:17px!important;line-height:1.55!important;color:#617187!important}
  body.stw-v8 .v6-how-hero img{width:260px!important;height:205px!important;object-fit:cover!important;object-position:center!important;border-radius:24px!important}
  body.stw-v8 .v6-how-steps{display:grid!important;grid-template-columns:1fr 1fr!important;gap:14px!important;margin:0 0 14px!important}
  body.stw-v8 .v6-how-step{display:grid!important;grid-template-columns:70px 1fr!important;gap:18px!important;align-items:center!important;min-height:140px!important;padding:22px!important;border-radius:24px!important}
  body.stw-v8 .v6-how-step .num{width:64px!important;height:64px!important;border-radius:20px!important;display:grid!important;place-items:center!important;font-size:20px!important;font-weight:1000!important}
  body.stw-v8 .v6-how-step h3{font-size:20px!important;margin:0 0 6px!important}.v6-how-step p{font-size:14px!important;line-height:1.5!important;color:#617187!important}
  body.stw-v8 .v6-how-note{padding:20px 24px!important;border-radius:22px!important;margin-bottom:12px!important}
  body.stw-v8 .v6-how-note b{font-size:18px!important;color:#d99500!important}.v6-how-note p{font-size:14px!important;line-height:1.5!important;color:#617187!important}
  body.stw-v8 .v6-how-shell>.btn,body.stw-v8 .v6-how-shell>div:last-child .btn{min-height:54px!important;font-size:15px!important}

  /* Store */
  body.stw-v8 .v6-store-page{padding:44px 0 80px!important}
  body.stw-v8 .v6-store-shell{width:min(1100px,calc(100% - 64px))!important;max-width:1100px!important}
  body.stw-v8 .v6-store-head{padding:30px 34px!important;border-radius:28px!important;margin-bottom:18px!important}
  body.stw-v8 .v6-store-head h1{font-size:43px!important;line-height:1.04!important;margin:7px 0!important}.v6-store-head p{font-size:16px!important;line-height:1.5!important;color:#617187!important}
  body.stw-v8 .v6-store-balance{min-width:175px!important;padding:18px 22px!important;border-radius:22px!important}.v6-store-balance small{font-size:13px!important}.v6-store-balance strong{font-size:34px!important}
  body.stw-v8 .v6-store-list{display:grid!important;grid-template-columns:1fr 1fr!important;gap:16px!important}
  body.stw-v8 .v6-reward-item{padding:22px!important;border-radius:26px!important;margin:0!important;min-height:250px!important}
  body.stw-v8 .v6-reward-row{grid-template-columns:82px minmax(0,1fr) auto!important;gap:18px!important;align-items:center!important}.v6-reward-media{width:82px!important;height:82px!important}.v6-reward-media img{max-width:72px!important;max-height:72px!important}
  body.stw-v8 .v6-reward-copy h2{font-size:21px!important;line-height:1.2!important}.v6-reward-copy p{font-size:14px!important;line-height:1.45!important;color:#617187!important}.v6-reward-price{font-size:18px!important}
  body.stw-v8 .v6-reward-item summary.btn{min-height:52px!important;font-size:14px!important;margin-top:18px!important}
  body.stw-v8 .v6-store-history{grid-template-columns:1fr 1fr!important;gap:16px!important;margin-top:18px!important}.v6-history-card{padding:24px!important;border-radius:26px!important}.v6-history-card h2{font-size:22px!important}.v6-history-card .row b{font-size:14px!important}.v6-history-card .row small{font-size:12px!important}

  /* Profile */
  body.stw-v8 .v6-profile-page{padding:44px 0 80px!important}
  body.stw-v8 .v6-profile-shell{width:min(980px,calc(100% - 64px))!important;max-width:980px!important}
  body.stw-v8 .v6-profile-head{padding:24px!important;border-radius:27px!important;gap:18px!important}.v6-profile-head .avatar{width:78px!important;height:78px!important;border-radius:23px!important;font-size:28px!important}.v6-profile-head h1{font-size:29px!important}.v6-profile-level span{font-size:13px!important}.v6-profile-level i{height:7px!important;min-width:180px!important}
  body.stw-v8 .v6-profile-stats{gap:14px!important;margin:14px 0!important}.v6-profile-stat{padding:20px 10px!important;border-radius:22px!important}.v6-profile-stat small{font-size:12px!important}.v6-profile-stat strong{font-size:31px!important}
  body.stw-v8 .v6-profile-menu{padding:8px 22px!important;border-radius:26px!important}.v6-profile-menu a{min-height:68px!important;grid-template-columns:34px 1fr auto!important;font-size:16px!important;gap:12px!important}.v6-profile-menu .svg-icon{width:21px!important;height:21px!important}.v6-profile-menu a>b{font-size:24px!important}
  body.stw-v8 .v6-profile-account{padding:26px!important;border-radius:26px!important;margin-top:14px!important}.v6-profile-account h2{font-size:25px!important}.v6-profile-account p{font-size:14px!important;line-height:1.5!important;color:#617187!important}.v6-profile-account label{font-size:14px!important}.v6-profile-account .input{min-height:56px!important;font-size:16px!important;border-radius:17px!important}.v6-profile-account .btn{min-height:54px!important;font-size:15px!important}.v6-wallet-mini{padding:19px!important}.v6-wallet-mini span{font-size:14px!important}.v6-wallet-mini strong{font-size:30px!important}

  /* Hall of fame */
  body.stw-v8 .v6-hof-shell{width:min(1050px,calc(100% - 64px))!important;max-width:1050px!important}.v6-hof-hero{padding:32px!important;border-radius:28px!important}.v6-hof-hero h1{font-size:42px!important}.v6-hof-hero p{font-size:16px!important;color:#617187!important}.v6-winner-month{padding:24px!important;border-radius:26px!important}.v6-winner-month h2{font-size:23px!important}.v6-winner-item{min-height:70px!important;padding:12px 8px!important}.v6-winner-item b{font-size:16px!important}.v6-winner-item small{font-size:12px!important;color:#617187!important}.v6-winner-icon{width:48px!important;height:48px!important}

  /* Collection */
  body.stw-v8 .user-page-container-v242{width:min(1180px,calc(100% - 64px))!important;max-width:1180px!important}.collection-hero-v196{padding:30px!important}.collection-hero-v196 h1{font-size:42px!important}.collection-hero-v196 p{font-size:15px!important}.collection-overview-v196,.collection-library-v196,.special-collections-v196{padding:24px!important}.collection-section-title-v178 h2{font-size:25px!important}.collection-tools-v196 input{font-size:15px!important}.collection-filters-v196 button{font-size:13px!important}

  /* Auth */
  body.stw-v8 .premium-auth-shell{width:min(1120px,calc(100% - 64px))!important;max-width:1120px!important;grid-template-columns:1fr 1fr!important;gap:24px!important}.premium-auth-story,.premium-auth-card{padding:34px!important;border-radius:30px!important}.premium-auth-story h1,.premium-auth-card h2{font-size:38px!important;line-height:1.06!important}.premium-auth-story p,.premium-auth-card p{font-size:15px!important;line-height:1.55!important}.premium-auth-card label{font-size:14px!important}.premium-auth-card .input{font-size:16px!important;min-height:56px!important}.premium-auth-card .btn{min-height:54px!important;font-size:15px!important}

  /* Business — improve contrast and reading size */
  body.stw-v8 .business-hero{padding:54px 0!important}.business-hero-grid{min-height:480px!important;gap:54px!important}.business-hero h1{font-size:58px!important;line-height:.98!important;max-width:720px!important}.business-hero p{font-size:19px!important;line-height:1.6!important;color:#52657b!important;max-width:720px!important}.business-hero-actions .btn{height:58px!important;font-size:16px!important;padding:0 24px!important}
  body.stw-v8 .business-demo-card{padding:30px!important;border-radius:28px!important;background:#fff!important}.business-demo-card h3{font-size:26px!important;color:var(--v11-navy)!important}.business-demo-card p{font-size:15px!important;line-height:1.5!important;color:#5e6f84!important}.demo-stat{min-height:60px!important}.demo-stat span{font-size:15px!important;color:#52657b!important;opacity:1!important;font-weight:800!important}.demo-stat b{font-size:23px!important;color:#d99500!important}
  body.stw-v8 .business-section-title h2{font-size:44px!important;line-height:1.05!important}.business-section-title p{font-size:16px!important;line-height:1.55!important;color:#617187!important}.business-plan-card h3{font-size:24px!important}.business-plan-card p,.benefit-card p{font-size:14px!important;line-height:1.5!important;color:#617187!important}.benefit-card h3{font-size:19px!important}
}

/* ---------- Home responsiveness ---------- */
@media(max-width:1100px) and (min-width:761px){
  .v11-hero-grid{grid-template-columns:1fr 440px;gap:36px}.v11-hero-copy h1{font-size:58px}.v11-proofbar{grid-template-columns:1fr 1fr}.v11-step-grid{grid-template-columns:1fr 1fr}.v11-modes-grid{grid-template-columns:1fr}.v11-mode{min-height:260px}
}
@media(max-width:760px){
  .v11-hero{padding:22px 0 20px}.v11-hero-grid{display:flex;flex-direction:column;gap:18px}.v11-hero-copy{padding:0}.v11-kicker{font-size:11px;padding:8px 11px}.v11-hero-copy h1{font-size:40px;line-height:.96;margin:15px 0 12px}.v11-hero-text{font-size:14px;line-height:1.48;margin-bottom:17px}.v11-hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:14px}.v11-hero-actions .btn{height:50px;min-width:0;padding:0 10px;font-size:12px;border-radius:15px}.v11-hero-pills{gap:6px}.v11-hero-pills span{font-size:9px;padding:6px 8px}.v11-game-preview{width:100%;padding:12px;border-radius:25px}.v11-preview-top{margin-bottom:9px}.v11-preview-brand img{width:40px;height:40px}.v11-preview-wallet{grid-template-columns:28px auto auto}.v11-preview-wallet img{width:28px;height:28px}.v11-preview-map{height:245px;border-radius:20px}.v11-pin{transform:scale(.82)}.v11-scan-avatar{width:68px;height:68px}.v11-scan-avatar img{width:100px;height:100px;transform:translate(-16px,-8px)}.v11-preview-panel{padding-top:10px}.v11-proofbar{grid-template-columns:1fr 1fr;margin-top:16px;border-radius:20px;padding:7px}.v11-proofbar>a{padding:8px;gap:8px}.v11-proofbar>a>span{width:36px;height:36px;flex-basis:36px}.v11-proofbar b{font-size:11px}.v11-proofbar small{font-size:8px}.v11-section{padding:42px 0}.v11-section-head{margin-bottom:20px}.v11-section-head h2{font-size:30px}.v11-section-head p{font-size:13px}.v11-step-grid{grid-template-columns:1fr 1fr;gap:8px}.v11-step-grid article{min-height:210px;padding:15px;border-radius:20px}.v11-step-grid article>span{font-size:31px}.v11-step-icon{width:48px;height:48px;border-radius:15px;margin-bottom:22px}.v11-step-grid h3{font-size:15px}.v11-step-grid p{font-size:11px}.v11-modes-grid{grid-template-columns:1fr;gap:10px}.v11-mode{min-height:250px;padding:21px;border-radius:22px}.v11-mode-icon{width:55px;height:55px;border-radius:17px;margin-bottom:31px}.v11-mode h2{font-size:23px}.v11-mode p{font-size:12px}.v11-text-link{left:21px;bottom:20px}.v11-final-wrap{padding:40px 0 105px}.v11-final{display:block;padding:25px;border-radius:24px}.v11-final h2{font-size:29px}.v11-final p{font-size:12px}.v11-final-actions{display:grid;grid-template-columns:1fr 1fr;margin-top:18px}.v11-final-actions .btn{min-width:0;height:49px;font-size:12px}
}

/* =============================================================
   ScanToWin V12 — desktop polish fixes
   Index preview, auth pages and readability corrections.
   ============================================================= */

/* Home: never create a nested scrollbar inside the game preview. */
body.page-index.stw-v8 .v11-game-preview{
  overflow:hidden!important;
  max-height:none!important;
  height:auto!important;
  scrollbar-width:none!important;
}
body.page-index.stw-v8 .v11-game-preview::-webkit-scrollbar{display:none!important}
body.page-index.stw-v8 .v11-preview-map{overflow:hidden!important}
body.page-index.stw-v8 .v11-preview-panel{overflow:hidden!important}

/* Keep the first screen strong but avoid an oversized/tall preview on normal laptops. */
@media(min-width:1101px){
  body.page-index.stw-v8 .v11-hero{padding-top:54px!important}
  body.page-index.stw-v8 .v11-hero-grid{align-items:center!important}
  body.page-index.stw-v8 .v11-game-preview{align-self:center!important}
  body.page-index.stw-v8 .v11-preview-map{height:300px!important}
  body.page-index.stw-v8 .v11-hero-copy h1{font-size:clamp(58px,4.8vw,78px)!important}
}

/* Login / Register: restore the intended premium dark story card.
   v6-ui intentionally made old auth panels white; these pages now use the
   newer visual system, so the story needs its own contrast again. */
@media(min-width:761px){
  body.page-login.stw-v8 .premium-auth-page,
  body.page-register.stw-v8 .premium-auth-page{
    padding:42px 0 70px!important;
    background:
      radial-gradient(circle at 8% 55%,rgba(80,171,255,.13),transparent 25%),
      radial-gradient(circle at 92% 68%,rgba(255,190,20,.12),transparent 24%),
      linear-gradient(180deg,#f3f8fc,#fbfcfd)!important;
  }
  body.page-login.stw-v8 .premium-auth-shell,
  body.page-register.stw-v8 .premium-auth-shell{
    width:min(1180px,calc(100% - 64px))!important;
    max-width:1180px!important;
    grid-template-columns:minmax(0,.88fr) minmax(500px,1.12fr)!important;
    gap:24px!important;
    align-items:stretch!important;
  }
  body.page-login.stw-v8 .premium-auth-story,
  body.page-register.stw-v8 .premium-auth-story{
    position:relative!important;
    min-height:620px!important;
    padding:46px 42px!important;
    border:1px solid rgba(255,255,255,.08)!important;
    border-radius:32px!important;
    overflow:hidden!important;
    background:
      radial-gradient(circle at 88% 12%,rgba(255,190,20,.23),transparent 26%),
      linear-gradient(145deg,#061827 0%,#0a2b45 66%,#0b3857 100%)!important;
    color:#fff!important;
    box-shadow:0 28px 75px rgba(6,24,39,.20)!important;
    justify-content:flex-start!important;
  }
  body.page-login.stw-v8 .premium-auth-story:before,
  body.page-register.stw-v8 .premium-auth-story:before{
    content:""!important;
    position:absolute!important;
    right:-34px!important;
    bottom:-28px!important;
    width:300px!important;
    height:300px!important;
    background:url('scan-mascot-runner.png') center/contain no-repeat!important;
    opacity:.18!important;
    filter:saturate(.9)!important;
    pointer-events:none!important;
  }
  body.page-login.stw-v8 .premium-auth-story:after,
  body.page-register.stw-v8 .premium-auth-story:after{
    content:""!important;
    position:absolute!important;
    inset:auto -130px -145px auto!important;
    width:360px!important;
    height:360px!important;
    border-radius:50%!important;
    border:1px solid rgba(255,255,255,.10)!important;
    box-shadow:0 0 0 48px rgba(255,255,255,.025),0 0 0 96px rgba(255,255,255,.018)!important;
    pointer-events:none!important;
  }
  body.page-login.stw-v8 .premium-auth-story .auth-brand-chip,
  body.page-register.stw-v8 .premium-auth-story .auth-brand-chip{
    position:relative!important;
    left:auto!important;top:auto!important;
    align-self:flex-start!important;
    display:inline-flex!important;
    z-index:2!important;
    margin:0 0 86px!important;
    padding:10px 14px!important;
    border:1px solid rgba(255,255,255,.14)!important;
    background:rgba(255,255,255,.08)!important;
    color:#fff!important;
    backdrop-filter:blur(10px)!important;
  }
  body.page-login.stw-v8 .premium-auth-story .eyebrow,
  body.page-register.stw-v8 .premium-auth-story .eyebrow{
    position:relative!important;z-index:2!important;
    margin:0 0 8px!important;
    color:#ffc72f!important;
  }
  body.page-login.stw-v8 .premium-auth-story h1,
  body.page-register.stw-v8 .premium-auth-story h1{
    position:relative!important;z-index:2!important;
    margin:0 0 16px!important;
    max-width:520px!important;
    color:#fff!important;
    font-size:45px!important;
    line-height:1.02!important;
    letter-spacing:-1.6px!important;
  }
  body.page-login.stw-v8 .premium-auth-story>p,
  body.page-register.stw-v8 .premium-auth-story>p{
    position:relative!important;z-index:2!important;
    max-width:520px!important;
    margin:0 0 26px!important;
    color:#d7e6ef!important;
    font-size:16px!important;
    line-height:1.58!important;
  }
  body.page-login.stw-v8 .auth-story-points,
  body.page-register.stw-v8 .auth-story-points{
    position:relative!important;z-index:2!important;
    display:grid!important;
    gap:10px!important;
    width:min(100%,500px)!important;
    margin:0!important;
  }
  body.page-login.stw-v8 .auth-story-points>div,
  body.page-register.stw-v8 .auth-story-points>div{
    min-height:64px!important;
    display:grid!important;
    grid-template-columns:44px 1fr!important;
    align-items:center!important;
    gap:13px!important;
    padding:10px 14px!important;
    border:1px solid rgba(255,255,255,.11)!important;
    border-radius:17px!important;
    background:rgba(255,255,255,.07)!important;
    color:#e7f1f8!important;
    font-size:13px!important;
    line-height:1.35!important;
  }
  body.page-login.stw-v8 .auth-story-points .svg-icon,
  body.page-register.stw-v8 .auth-story-points .svg-icon{
    width:22px!important;height:22px!important;color:#ffbf18!important;
  }
  body.page-login.stw-v8 .auth-story-link{
    position:relative!important;z-index:2!important;
    margin-top:18px!important;color:#fff!important;font-size:14px!important;font-weight:900!important;
  }
  body.page-register.stw-v8 .auth-mini-wallet{position:relative!important;z-index:2!important;margin-top:18px!important}

  body.page-login.stw-v8 .premium-auth-card,
  body.page-register.stw-v8 .premium-auth-card{
    min-height:620px!important;
    padding:38px 40px 36px!important;
    border:1px solid #dfe7ef!important;
    border-radius:32px!important;
    background:#fff!important;
    box-shadow:0 22px 65px rgba(6,24,39,.10)!important;
  }
  body.page-login.stw-v8 .premium-auth-card h2,
  body.page-register.stw-v8 .premium-auth-card h2{
    color:#061827!important;font-size:42px!important;letter-spacing:-1.3px!important;
  }
  body.page-login.stw-v8 .premium-auth-card>p,
  body.page-register.stw-v8 .premium-auth-card>p{
    color:#617187!important;font-size:16px!important;line-height:1.5!important;
  }
  body.page-login.stw-v8 .premium-auth-card label,
  body.page-register.stw-v8 .premium-auth-card label{font-size:14px!important;color:#061827!important;margin-top:13px!important}
  body.page-login.stw-v8 .premium-input-wrap,
  body.page-register.stw-v8 .premium-input-wrap{min-height:58px!important;border-radius:17px!important}
  body.page-login.stw-v8 .premium-input-wrap .input,
  body.page-register.stw-v8 .premium-input-wrap .input{min-height:56px!important;font-size:16px!important}
  body.page-login.stw-v8 .premium-submit,
  body.page-register.stw-v8 .premium-submit{min-height:58px!important;border-radius:17px!important;font-size:16px!important}
  body.page-login.stw-v8 .premium-google,
  body.page-register.stw-v8 .premium-google{min-height:58px!important;border-radius:17px!important}
}
