:root{--yellow:#ffb800;--dark:#061827;--blue:#1189d6;--soft:#f7f7f4;--text:#071927;--muted:#64748b;--card:#fff;--green:#22c55e;--red:#ef4444}*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,sans-serif;background:#fbfaf7;color:var(--text)}a{text-decoration:none;color:inherit}.container{max-width:1180px;margin:auto;padding:0 22px}.nav{height:78px;background:#fff;display:flex;align-items:center;border-bottom:1px solid #eee;position:sticky;top:0;z-index:20}.nav-inner{display:flex;align-items:center;justify-content:space-between;width:100%}.logo{display:flex;align-items:center;gap:10px;font-weight:900;font-size:25px;line-height:.86}.logo-mark{width:42px;height:42px;border:3px solid var(--dark);border-radius:10px;display:grid;place-items:center;color:var(--yellow);font-size:24px}.logo span{color:var(--yellow)}.nav-links{display:flex;gap:34px;font-weight:700;font-size:14px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:15px 22px;border-radius:9px;border:2px solid transparent;font-weight:900;cursor:pointer;transition:.2s;background:#fff}.btn:hover{transform:translateY(-1px)}.btn-yellow{background:var(--yellow);color:#061827}.btn-dark{background:var(--dark);color:#fff}.btn-outline{border-color:#d7dde5;background:#fff}.nav-actions{display:flex;gap:14px}.hero{background:linear-gradient(90deg,rgba(17,137,214,.95),rgba(17,137,214,.15)),url('hero.jpg');background-size:cover;background-position:center;min-height:590px;color:#fff;position:relative;overflow:hidden}.hero .container{display:grid;grid-template-columns:1.05fr .95fr;gap:30px;align-items:center;min-height:590px}.hero h1{font-size:64px;line-height:1.02;margin:0 0 22px;font-weight:1000;letter-spacing:-2px}.hero h1 b{color:var(--yellow)}.hero p{font-size:22px;line-height:1.45;max-width:530px;margin-bottom:32px}.hero-actions{display:flex;gap:16px;flex-wrap:wrap}.phone{width:330px;max-width:100%;margin:auto;background:#111;border:10px solid #111;border-radius:44px;padding:18px;box-shadow:0 28px 70px rgba(0,0,0,.35)}.phone-screen{background:#fff;color:var(--dark);border-radius:32px;min-height:520px;padding:25px 18px}.phone-top{text-align:center;font-weight:900;margin-bottom:22px}.points-card{background:var(--yellow);border-radius:15px;padding:18px;margin-bottom:18px}.points-card small{font-weight:800}.points-card strong{font-size:36px;display:block}.phone-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.phone-tile{height:105px;border-radius:15px;background:#f6f6f6;display:grid;place-items:center;text-align:center;font-size:13px;font-weight:900;box-shadow:0 4px 12px rgba(0,0,0,.06)}.section{padding:70px 0}.section-title{text-align:center}.eyebrow{color:var(--yellow);font-weight:1000;text-transform:uppercase;font-size:13px;letter-spacing:.8px}.section h2{font-size:38px;margin:8px 0 35px}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:25px}.step{text-align:center;padding:10px 24px;border-right:1px solid #ddd}.step:last-child{border-right:0}.icon{width:74px;height:74px;border-radius:50%;display:grid;place-items:center;margin:0 auto 18px;background:var(--yellow);font-size:34px}.prizes{background:var(--dark);color:#fff;border-radius:16px;padding:40px;display:grid;grid-template-columns:1.4fr repeat(4,1fr);gap:20px;align-items:center}.prize-card{border:1px solid rgba(255,255,255,.22);border-radius:14px;padding:25px;text-align:center;background:rgba(255,255,255,.04)}.prize-card strong{font-size:42px}.places{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}.place{font-weight:900;text-align:center}.place-img{height:110px;border-radius:12px;background:linear-gradient(135deg,#7dd3fc,#fde68a);margin-bottom:12px}.cta{background:var(--yellow);border-radius:16px;padding:30px;display:flex;align-items:center;justify-content:space-between;gap:20px}.footer{background:var(--dark);color:#fff;padding:35px 0;margin-top:50px}.form-wrap{max-width:460px;margin:55px auto;background:#fff;border-radius:18px;padding:32px;box-shadow:0 10px 35px rgba(0,0,0,.08)}.form-wrap h1{margin-top:0}.input,select,textarea{width:100%;padding:14px;border:1px solid #d7dde5;border-radius:10px;margin:8px 0 16px;font:inherit}.alert{padding:14px;border-radius:10px;margin:15px 0;font-weight:700}.alert-ok{background:#dcfce7;color:#166534}.alert-bad{background:#fee2e2;color:#991b1b}.app{display:grid;grid-template-columns:250px 1fr;min-height:100vh}.sidebar{background:var(--dark);color:#fff;padding:25px;position:sticky;top:0;height:100vh}.sidebar a{display:block;padding:13px 14px;border-radius:10px;margin:7px 0;font-weight:800}.sidebar a:hover,.sidebar a.active{background:rgba(255,255,255,.1)}.main{padding:30px}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.card{background:#fff;border-radius:16px;padding:22px;box-shadow:0 6px 24px rgba(0,0,0,.06)}.card h3{margin:0 0 8px}.big{font-size:38px;font-weight:1000}.table{width:100%;border-collapse:collapse;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 6px 24px rgba(0,0,0,.06)}.table th,.table td{padding:14px;text-align:left;border-bottom:1px solid #eee}.scanner{text-align:center;max-width:560px;margin:40px auto;background:#fff;border-radius:20px;padding:30px;box-shadow:0 8px 30px rgba(0,0,0,.08)}.scanner-icon{font-size:80px}.qr-box{background:#fff;padding:20px;border-radius:16px;display:inline-block;border:1px solid #eee}.mobile-bottom{display:none}@media(max-width:900px){.nav-links{display:none}.nav-actions{gap:8px}.hero .container{grid-template-columns:1fr;text-align:left;padding-top:40px;padding-bottom:40px}.hero h1{font-size:42px}.phone{width:290px}.steps,.cards{grid-template-columns:1fr 1fr}.prizes{grid-template-columns:1fr 1fr}.places{grid-template-columns:1fr 1fr}.cta{flex-direction:column;align-items:flex-start}.app{display:block}.sidebar{height:auto;position:relative}.main{padding:18px}.mobile-bottom{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #eee;justify-content:space-around;padding:8px;z-index:30}.mobile-bottom a{font-size:12px;font-weight:900}.hide-mobile{display:none}}@media(max-width:560px){.container{padding:0 16px}.hero{min-height:auto}.hero h1{font-size:36px}.hero p{font-size:18px}.hero-actions .btn{width:100%}.steps,.cards,.prizes,.places{grid-template-columns:1fr}.step{border-right:0;border-bottom:1px solid #eee}.nav{height:68px}.logo{font-size:20px}.nav-actions .btn-outline{display:none}.section{padding:42px 0}.section h2{font-size:28px}.form-wrap{margin:25px 14px}.main{padding-bottom:70px}}
/* ScanToWin V1.1 visual upgrade */
.svg-icon{display:inline-flex;align-items:center;justify-content:center;width:1.15em;height:1.15em;vertical-align:-.18em}.svg-icon svg{width:100%;height:100%;fill:currentColor}.logo-mark{font-size:0;color:var(--dark);background:#fff}.logo-mark .svg-icon{width:27px;height:27px;color:var(--yellow)}.lang-select{height:48px;border:2px solid #d7dde5;border-radius:10px;background:#fff;font-weight:900;padding:0 8px;cursor:pointer}.btn{white-space:nowrap;color:var(--dark);position:relative;overflow:hidden}.btn::after{content:"";position:absolute;inset:0;background:linear-gradient(120deg,transparent,rgba(255,255,255,.45),transparent);transform:translateX(-120%);transition:.5s}.btn:hover::after{transform:translateX(120%)}.btn-outline{color:var(--dark)!important;background:#fff!important}.btn-glass{background:rgba(255,255,255,.92)!important;border-color:#fff!important;color:#061827!important;box-shadow:0 10px 30px rgba(0,0,0,.12)}.hero{isolation:isolate;background:linear-gradient(90deg,rgba(8,28,45,.78),rgba(17,137,214,.18)),url('hero.jpg');background-size:cover;background-position:center}.hero:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 20% 25%,rgba(255,184,0,.24),transparent 18%),linear-gradient(90deg,rgba(17,137,214,.35),rgba(255,255,255,.1));z-index:-1}.hero-shapes:before,.hero-shapes:after{content:"";position:absolute;border-radius:50%;filter:blur(2px);opacity:.75}.hero-shapes:before{width:210px;height:210px;background:rgba(255,184,0,.18);left:-70px;top:100px}.hero-shapes:after{width:150px;height:150px;background:rgba(255,255,255,.18);right:80px;bottom:70px}.hero h1{max-width:650px}.hero h1::selection,.hero b::selection{background:var(--yellow);color:var(--dark)}.floating{animation:floaty 4.5s ease-in-out infinite}@keyframes floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-14px)}}.phone-screen{box-shadow:inset 0 0 0 1px rgba(0,0,0,.04)}.phone-top span{color:var(--yellow)}.phone-tile{color:var(--dark);transition:.22s}.phone-tile .svg-icon{display:block;width:28px;height:28px;margin-bottom:6px;color:var(--yellow)}.phone-tile:hover{transform:translateY(-4px);box-shadow:0 12px 28px rgba(0,0,0,.12)}.icon{font-size:0;color:var(--dark);box-shadow:0 14px 35px rgba(255,184,0,.28)}.icon .svg-icon{width:34px;height:34px}.step{transition:.25s;border-radius:18px}.step:hover{background:#fff;transform:translateY(-5px);box-shadow:0 14px 35px rgba(0,0,0,.07);border-right-color:transparent}.prizes{background:radial-gradient(circle at 100% 0,rgba(255,184,0,.18),transparent 28%),linear-gradient(135deg,#061827,#071a2b 55%,#092844);box-shadow:0 20px 55px rgba(6,24,39,.25)}.prize-card{position:relative;min-height:170px;display:flex;flex-direction:column;align-items:center;justify-content:center;transition:.25s}.prize-card:hover{transform:translateY(-6px);background:rgba(255,255,255,.08)}.medal{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;font-weight:1000;font-size:25px;margin-bottom:12px;box-shadow:0 10px 25px rgba(0,0,0,.25)}.gold .medal{background:linear-gradient(135deg,#ffd86b,#ffae00);color:#3b2600}.silver .medal{background:linear-gradient(135deg,#f4f7fb,#a8b3c2);color:#1d2939}.bronze .medal{background:linear-gradient(135deg,#ffc28a,#b76b28);color:#2a1300}.purple{background:linear-gradient(135deg,#26164c,#673ab7)!important}.purple .svg-icon{width:42px;height:42px;color:#fff;margin-bottom:10px}.place-img{background-image:url('hero.jpg');background-size:cover;background-position:center;box-shadow:0 12px 25px rgba(0,0,0,.12);transition:.22s}.place:nth-child(2) .place-img{background-position:left center}.place:nth-child(3) .place-img{background-position:center}.place:nth-child(4) .place-img{filter:hue-rotate(300deg) saturate(1.4)}.place:hover .place-img{transform:scale(1.035)}.cta{box-shadow:0 18px 45px rgba(255,184,0,.27);background:linear-gradient(135deg,#ffb800,#ffd45a)}
.ranking-list{display:grid;gap:12px}.rank-row{display:grid;grid-template-columns:70px 1fr 120px 110px;align-items:center;gap:12px;background:#fff;border-radius:18px;padding:16px 18px;box-shadow:0 8px 26px rgba(0,0,0,.06);border:1px solid #eef2f7}.rank-place{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;font-weight:1000;background:#eef2f7}.rank-row.top1{background:linear-gradient(135deg,#fff8d8,#fff);border:2px solid #ffcf33}.rank-row.top2{background:linear-gradient(135deg,#f4f7fb,#fff);border:2px solid #cbd5e1}.rank-row.top3{background:linear-gradient(135deg,#fff1e7,#fff);border:2px solid #d18a45}.top1 .rank-place{background:linear-gradient(135deg,#ffd86b,#ffae00)}.top2 .rank-place{background:linear-gradient(135deg,#f4f7fb,#a8b3c2)}.top3 .rank-place{background:linear-gradient(135deg,#ffc28a,#b76b28)}.rank-name{font-weight:1000}.rank-points{font-size:24px;font-weight:1000;color:var(--dark)}.rank-checkins{color:var(--muted);font-weight:800}.cards .card{transition:.22s}.cards .card:hover{transform:translateY(-4px);box-shadow:0 14px 35px rgba(0,0,0,.09)}
@media(max-width:760px){.nav-actions{gap:7px}.lang-select{height:42px;max-width:62px}.nav-actions .btn{padding:11px 12px;font-size:13px}.hero .container{min-height:auto}.hero-copy{text-align:left}.phone{display:none}.rank-row{grid-template-columns:52px 1fr;gap:8px}.rank-points,.rank-checkins{grid-column:2}.rank-points{font-size:20px}.prize-card{min-height:135px}.nav .logo{font-size:18px}.logo-mark{width:36px;height:36px}}

/* ===== ScanToWin V1.2 polish ===== */
.svg-icon{display:inline-flex;width:22px;height:22px;align-items:center;justify-content:center;vertical-align:middle;color:currentColor;flex:0 0 auto}.svg-icon svg{width:100%;height:100%;fill:currentColor}.btn .svg-icon{width:18px;height:18px}.phone-tile .svg-icon{width:28px;height:28px;color:var(--yellow);margin-bottom:8px}.logo-mark .svg-icon{width:25px;height:25px}.icon .svg-icon{width:36px;height:36px;color:#061827}.nav{height:88px;backdrop-filter:blur(14px);background:rgba(255,255,255,.94)}.nav-inner{gap:18px}.nav-links a{position:relative;white-space:nowrap}.nav-links a:after{content:"";position:absolute;left:0;bottom:-8px;width:0;height:3px;border-radius:3px;background:var(--yellow);transition:.2s}.nav-links a:hover:after{width:100%}.nav-actions{align-items:center}.lang-wrap{display:flex;align-items:center;gap:8px;height:48px;border:2px solid #d7dde5;background:#fff;border-radius:14px;padding:0 12px;box-shadow:0 7px 18px rgba(7,25,39,.05)}.lang-wrap .svg-icon{width:18px;height:18px;color:var(--dark)}.lang-select{height:44px;border:0!important;margin:0!important;padding:0 24px 0 0!important;font-weight:1000;background:transparent;min-width:72px;outline:none;cursor:pointer}.nav-actions .btn{height:50px;min-width:118px;border-radius:14px;box-shadow:0 8px 20px rgba(7,25,39,.06);white-space:nowrap}.nav-actions .btn-yellow{box-shadow:0 12px 26px rgba(255,184,0,.25)}.btn-outline,.btn-glass{color:var(--dark)!important;background:#fff!important}.btn-yellow{color:#061827!important}.hero{min-height:650px;background:linear-gradient(90deg,rgba(10,137,214,.94),rgba(10,137,214,.20)),url('hero.jpg');}.hero .container{min-height:650px}.hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 16% 30%,rgba(255,255,255,.25),transparent 18%),radial-gradient(circle at 82% 22%,rgba(255,184,0,.18),transparent 14%);pointer-events:none}.hero-copy,.phone{position:relative;z-index:1}.phone{animation:floatPhone 4.5s ease-in-out infinite}.floating{animation:floatPhone 4.5s ease-in-out infinite}@keyframes floatPhone{0%,100%{transform:translateY(0)}50%{transform:translateY(-14px)}}.phone-screen{box-shadow:inset 0 0 0 1px #eef2f7}.points-card{background:linear-gradient(135deg,#ffb800,#ffd45c);box-shadow:0 15px 30px rgba(255,184,0,.25)}.section{position:relative}.step .icon{transition:.25s}.step:hover .icon{transform:rotate(-3deg) scale(1.05)}.auth-card{border:1px solid #edf1f5;box-shadow:0 18px 55px rgba(7,25,39,.12)}.auth-card h1{font-size:38px;letter-spacing:-1px}.input:focus,select:focus,textarea:focus{outline:3px solid rgba(255,184,0,.25);border-color:var(--yellow)}.ranking-list{max-width:940px;margin:0 auto}.rank-row{position:relative;overflow:hidden}.rank-row.top1:before,.rank-row.top2:before,.rank-row.top3:before{content:"";position:absolute;inset:0 auto 0 0;width:7px}.rank-row.top1:before{background:#ffb800}.rank-row.top2:before{background:#94a3b8}.rank-row.top3:before{background:#b76b28}.rank-badge{font-weight:1000;text-transform:uppercase;font-size:12px;letter-spacing:.4px;color:#64748b}.top1 .rank-badge{color:#b77900}.top2 .rank-badge{color:#64748b}.top3 .rank-badge{color:#9a541f}.dashboard-mobile-shell{display:none}.mobile-app-card{background:#111;border-radius:42px;padding:10px;max-width:380px;margin:0 auto 24px;box-shadow:0 25px 65px rgba(0,0,0,.28)}.mobile-app-screen{background:#fff;border-radius:34px;min-height:620px;padding:24px 18px}.app-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.app-logo-text{font-weight:1000;font-size:20px;line-height:.9}.app-logo-text span{color:var(--yellow)}.app-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.app-tile{height:126px;border-radius:18px;background:#f8fafc;display:flex;flex-direction:column;align-items:center;justify-content:center;font-weight:1000;text-align:center;box-shadow:0 10px 25px rgba(0,0,0,.06)}.app-tile .svg-icon{width:32px;height:32px;color:var(--yellow);margin-bottom:10px}.stat-pill{display:flex;justify-content:space-between;gap:10px;background:#f8fafc;border-radius:16px;padding:13px 15px;margin:12px 0;font-weight:900}.main .page-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.desktop-only{display:block}.mobile-only{display:none}
@media(max-width:980px){.nav{height:auto;padding:10px 0}.nav-inner{flex-wrap:wrap}.nav-links{order:3;width:100%;justify-content:center;gap:18px;padding:8px 0 0}.nav-actions{margin-left:auto}.nav-actions .btn{min-width:auto;height:46px;padding:12px 15px}.lang-wrap{height:46px}.hero{min-height:auto}.hero .container{min-height:auto;grid-template-columns:1fr;padding-top:34px;padding-bottom:42px}.hero h1{font-size:44px}.hero p{font-size:19px}.phone{display:block;width:320px;margin-top:18px}.steps{grid-template-columns:1fr 1fr}.step{border-right:0}.prizes{grid-template-columns:1fr 1fr}.places{grid-template-columns:1fr 1fr}.cards{grid-template-columns:1fr 1fr}}
@media(max-width:640px){body{background:#f6f7fb}.container{padding:0 16px}.nav{position:relative}.nav-inner{justify-content:center}.logo{font-size:19px}.nav-links{display:none}.nav-actions{width:100%;display:grid;grid-template-columns:.7fr 1fr 1fr;gap:8px}.lang-wrap{width:100%;justify-content:center;padding:0 6px}.lang-select{min-width:50px;font-size:15px}.nav-actions .btn{width:100%;font-size:14px;padding:12px 10px}.hero{text-align:center;background:linear-gradient(180deg,rgba(10,137,214,.96),rgba(10,137,214,.32)),url('hero.jpg');background-size:cover;background-position:center}.hero-copy{text-align:left}.hero h1{font-size:38px;letter-spacing:-1px}.hero p{font-size:17px}.hero-actions{display:grid;grid-template-columns:1fr;gap:10px}.hero-actions .btn{width:100%;height:52px}.phone{width:min(350px,100%);border-radius:40px;border-width:9px}.phone-screen{min-height:520px;border-radius:30px}.section{padding:46px 0}.section h2{font-size:30px}.steps,.cards,.prizes,.places{grid-template-columns:1fr}.step{padding:20px}.prizes{padding:25px}.cta{margin:0 16px}.app{display:block;background:#f6f7fb}.sidebar{display:none}.desktop-only{display:none!important}.mobile-only{display:block}.dashboard-mobile-shell{display:block;padding:16px}.main{padding:0 0 82px}.main>.page-title,.main>.cards,.main>.card{display:none}.mobile-bottom{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #e5e7eb;justify-content:space-around;padding:8px 8px 10px;z-index:30;box-shadow:0 -10px 30px rgba(0,0,0,.08)}.mobile-bottom a{font-size:11px;font-weight:1000;display:flex;flex-direction:column;align-items:center;gap:4px;color:var(--dark)}.mobile-bottom .svg-icon{width:22px;height:22px;color:var(--yellow)}.rank-row{grid-template-columns:52px 1fr;gap:8px;padding:14px}.rank-points,.rank-checkins,.rank-badge{grid-column:2}.rank-points{font-size:20px}.form-wrap{margin:24px 16px;padding:24px}.auth-card h1{font-size:32px}.scanner{margin:18px 16px;padding:24px}.app-tile{height:116px}}

/* ===== ScanToWin V1.3 fixes: clearer buttons, desktop language, real mobile app view ===== */
.btn-dark,
.cta .btn-dark,
.hero-actions .btn-dark{
  background:var(--dark)!important;
  color:#fff!important;
  border-color:var(--dark)!important;
}
.btn-dark *{color:#fff!important;}
.cta .btn,
.hero-actions .btn,
.nav-actions .btn{
  color:var(--dark)!important;
  font-weight:1000;
  letter-spacing:.1px;
}
.cta .btn-dark{color:#fff!important;min-width:210px;}
.cta .btn-outline{min-width:210px;background:#fff!important;color:var(--dark)!important;border-color:#d7dde5!important;}
.cta>div:last-child{display:flex;gap:12px;align-items:center;justify-content:flex-end;flex-wrap:wrap;}

/* nicer desktop language selector */
.lang-wrap{
  min-width:104px;
  height:50px;
  border-radius:16px;
  background:linear-gradient(180deg,#fff,#f8fafc);
  border:1px solid #d7dde5;
  box-shadow:0 10px 26px rgba(7,25,39,.08);
}
.lang-select{
  appearance:auto;
  font-size:15px;
  color:var(--dark);
}
.nav-actions .btn-yellow{background:linear-gradient(135deg,#ffb800,#ffd15a)!important;}
.nav-actions .btn-outline{background:#fff!important;border-color:#d7dde5!important;}

/* make ranking feel more premium */
.rank-row.top1{box-shadow:0 18px 40px rgba(255,184,0,.20);transform:scale(1.01);}
.rank-row.top2{box-shadow:0 14px 32px rgba(148,163,184,.20);}
.rank-row.top3{box-shadow:0 14px 32px rgba(183,107,40,.18);}
.rank-name:before{content:"Jugador";display:block;font-size:11px;text-transform:uppercase;letter-spacing:.4px;color:#94a3b8;font-weight:900;margin-bottom:3px;}

@media(min-width:981px){
  .nav-actions{gap:12px;}
  .nav-actions .btn{min-width:138px;height:54px;border-radius:16px;}
  .lang-wrap{height:54px;}
}

@media(max-width:640px){
  /* dashboard mobile should not look like a phone inside a phone */
  .dashboard-mobile-shell{display:block;padding:0;min-height:100vh;background:#f6f7fb;}
  .mobile-app-card{background:transparent!important;border-radius:0!important;padding:0!important;max-width:none!important;margin:0!important;box-shadow:none!important;}
  .mobile-app-screen{border-radius:0!important;min-height:calc(100vh - 74px);padding:20px 16px 92px;background:linear-gradient(180deg,#ffffff 0%,#f6f7fb 100%);}
  .app-header{background:#fff;border-radius:18px;padding:14px 15px;box-shadow:0 8px 24px rgba(7,25,39,.06);}
  .points-card{border-radius:22px;padding:22px;margin:18px 0;}
  .points-card strong{font-size:44px;line-height:1;}
  .app-grid{grid-template-columns:1fr 1fr;gap:12px;}
  .app-tile{height:118px;border-radius:22px;background:#fff;box-shadow:0 10px 28px rgba(7,25,39,.07);}
  .stat-pill{background:#fff;box-shadow:0 8px 24px rgba(7,25,39,.05);}
  .cta{padding:24px 18px;}
  .cta>div:last-child{width:100%;display:grid;grid-template-columns:1fr;gap:10px;}
  .cta .btn{width:100%;min-width:0;height:52px;}
  .nav-actions{grid-template-columns:76px 1fr 1fr;}
  .lang-wrap{min-width:0;width:76px;border-radius:14px;}
  .lang-wrap .svg-icon{display:none;}
  .lang-select{font-size:14px;min-width:52px;text-align:center;}
}

/* ===== ScanToWin V1.4 fixes: mobile login visible + cleaner language/buttons ===== */
@media(max-width:640px){
  .nav-actions{width:100%;display:grid!important;grid-template-columns:72px 1fr 1fr!important;gap:8px!important;align-items:center;}
  .nav-actions .btn-outline{display:inline-flex!important;visibility:visible!important;opacity:1!important;}
  .nav-actions .btn{min-width:0!important;width:100%!important;height:48px!important;padding:10px 8px!important;font-size:13px!important;border-radius:14px!important;}
  .lang-wrap{display:flex!important;min-width:0!important;width:72px!important;height:48px!important;}
  .lang-select{min-width:52px!important;width:52px!important;padding-right:8px!important;font-size:13px!important;}
}
@media(min-width:641px){
  .nav-actions .btn-outline{display:inline-flex!important;}
}

/* ===== ScanToWin V1.7 admin + riddles ===== */
.admin-main .page-title{margin-bottom:22px}.admin-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.admin-form .full,.riddle-form .full{grid-column:1/-1}.table-wrap{width:100%;overflow:auto;border-radius:18px;box-shadow:0 10px 28px rgba(7,25,39,.06)}.table-wrap .table{margin:0}.status{display:inline-flex;align-items:center;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:1000}.status.on{background:#dcfce7;color:#166534}.status.off{background:#fee2e2;color:#991b1b}.actions{display:flex;gap:8px;align-items:center}.inline-form{display:inline-flex;margin:0}.icon-btn{width:42px;height:42px;border:0;border-radius:13px;background:#f1f5f9;color:#061827;display:inline-grid;place-items:center;cursor:pointer;transition:.2s}.icon-btn:hover{transform:translateY(-1px);background:#e2e8f0}.icon-btn.danger{background:#fee2e2;color:#991b1b}.icon-btn .svg-icon{width:20px;height:20px}.riddle-form{display:grid;grid-template-columns:1fr 160px 190px;gap:14px}.lang-block{grid-column:1/-1;border:1px solid #e5e7eb;border-radius:18px;padding:16px;background:#fbfaf7}.lang-block h3{margin:0 0 10px}.option-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.riddle-card{margin-top:18px;border-radius:22px;background:#fff;padding:18px;box-shadow:0 10px 30px rgba(7,25,39,.08);text-align:left;color:#061827}.riddle-card h2{margin:0 0 8px}.answer-option{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #e5e7eb;border-radius:14px;margin:8px 0;background:#f8fafc;font-weight:900;cursor:pointer}.answer-option input{width:18px;height:18px}.answer-option:hover{border-color:#ffb800;background:#fff8db}.scanner .alert .riddle-card{color:#061827}.admin-sidebar .svg-icon,.sidebar .svg-icon{color:#ffb800}
@media(max-width:760px){.admin-form,.riddle-form{grid-template-columns:1fr}.option-grid{grid-template-columns:1fr}.actions{min-width:150px}.admin-main{padding:18px 14px 90px}.admin-main .page-title{display:flex}.admin-main .cards{display:grid!important;grid-template-columns:1fr 1fr}.admin-main .card{display:block!important}.table-wrap{border-radius:14px}.table{min-width:720px}.riddle-card{padding:14px}}

/* ===== ScanToWin V1.9 mobile app + collection ===== */
.svg-icon svg{width:1em;height:1em;fill:currentColor;display:block}.desktop-only{display:block}.mobile-topbar{display:none}.brand-mini{font-weight:1000;letter-spacing:.3px;text-align:center;color:#061827}.brand-mini span{color:#ffb800}.section-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.section-head a{font-weight:1000;color:#ffb800}.app-points{box-shadow:0 18px 50px rgba(255,184,0,.32);background:linear-gradient(135deg,#ffc928,#ffac00)}.points-meta{display:flex;justify-content:space-between;gap:10px;font-weight:1000;font-size:13px}.unlock-card{display:block;background:#fff;border-radius:18px;padding:15px 16px;margin:14px 0;box-shadow:0 10px 26px rgba(7,25,39,.08)}.unlock-card small{font-weight:900;color:#64748b}.unlock-card b{display:block;font-size:24px;margin-top:3px}.mini-progress,.progress-line{height:9px;background:#e5e7eb;border-radius:999px;overflow:hidden;margin-top:10px}.mini-progress span,.progress-line span{display:block;height:100%;background:linear-gradient(90deg,#ffb800,#22c55e);border-radius:999px}.app-grid-main .app-tile span{display:block;margin-top:10px}.recent-unlocks{margin-top:22px}.mini-collection{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.mini-unlock{background:#fff;border-radius:18px;padding:10px;box-shadow:0 10px 24px rgba(7,25,39,.06)}.mini-unlock-img{height:82px;border-radius:14px;background:linear-gradient(135deg,#bae6fd,#fde68a);background-size:cover;background-position:center;display:grid;place-items:center;color:#061827;font-size:32px}.mini-unlock b{display:block;font-size:13px;margin-top:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mini-unlock small{font-size:11px;color:#64748b;font-weight:900}.round-btn{width:44px;height:44px;border-radius:14px;background:#fff;display:grid;place-items:center;box-shadow:0 10px 24px rgba(7,25,39,.08);color:#061827}.collection-hero{background:linear-gradient(135deg,#061827,#0b2941);color:#fff;border-radius:28px;padding:24px;display:flex;align-items:center;justify-content:space-between;gap:18px;box-shadow:0 20px 50px rgba(6,24,39,.2)}.collection-hero h1{font-size:34px;line-height:1;margin:6px 0 8px}.collection-hero p{margin:0;color:#dbeafe}.progress-orb{width:118px;height:118px;border-radius:50%;background:linear-gradient(135deg,#ffb800,#ffd56b);color:#061827;display:grid;place-items:center;text-align:center;flex:0 0 auto;box-shadow:0 14px 34px rgba(255,184,0,.3)}.progress-orb strong{font-size:26px}.progress-orb span{font-size:12px;font-weight:1000}.progress-card{background:#fff;border-radius:22px;padding:18px;margin:16px 0 22px;box-shadow:0 10px 28px rgba(7,25,39,.06)}.progress-meta{display:flex;justify-content:space-between;margin-top:8px;color:#64748b;font-weight:900}.collection-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.discover-card{background:#fff;border-radius:24px;overflow:hidden;box-shadow:0 14px 34px rgba(7,25,39,.08);border:2px solid transparent;transition:.2s;cursor:pointer}.discover-card:hover{transform:translateY(-2px)}.discover-cover{height:165px;background:linear-gradient(135deg,#cbd5e1,#fef3c7);background-size:cover;background-position:center;position:relative;display:grid;place-items:center}.cover-fallback{font-size:54px;color:#061827;opacity:.8}.lock-layer{position:absolute;inset:0;background:rgba(6,24,39,.62);backdrop-filter:blur(5px);display:none;align-items:center;justify-content:center;flex-direction:column;color:#fff;font-weight:1000;gap:8px}.locked .lock-layer{display:flex}.locked .discover-cover{filter:grayscale(.6)}.discover-info{display:flex;gap:12px;padding:14px;align-items:flex-start}.discover-logo{width:48px;height:48px;border-radius:15px;background:#fff;box-shadow:0 8px 20px rgba(7,25,39,.12);display:grid;place-items:center;flex:0 0 auto;color:#ffb800;font-size:24px;overflow:hidden}.discover-logo img{width:100%;height:100%;object-fit:cover}.discover-info h3{margin:0 0 4px;font-size:17px}.discover-info p{margin:0;color:#64748b;font-size:13px;line-height:1.3;max-height:36px;overflow:hidden}.discover-info small{display:block;margin-top:7px;color:#64748b;font-weight:900}.rarity-rare{border-color:#38bdf8}.rarity-epic{border-color:#a855f7}.rarity-legendary{border-color:#ffb800;box-shadow:0 14px 40px rgba(255,184,0,.22)}.scan-page{min-height:100vh;padding:24px;background:radial-gradient(circle at top,#dff3ff 0,#fbfaf7 44%,#fff 100%);display:grid;place-items:center}.scan-card{width:min(520px,100%);background:#fff;border-radius:30px;padding:26px;text-align:center;box-shadow:0 22px 60px rgba(7,25,39,.12)}.scan-orb{width:96px;height:96px;border-radius:30px;background:#ffb800;margin:18px auto;display:grid;place-items:center;font-size:46px;color:#061827;box-shadow:0 16px 35px rgba(255,184,0,.35)}.scan-main-btn{width:100%;height:58px;font-size:18px}.back-link{display:inline-block;margin-top:18px;font-weight:900;color:#64748b}.discovery-card{background:#fff;border-radius:26px;overflow:hidden;box-shadow:0 14px 40px rgba(7,25,39,.1);margin-top:18px;text-align:left}.discovery-cover{height:170px;background:linear-gradient(135deg,#7dd3fc,#fde68a);background-size:cover;background-position:center;display:grid;place-items:center}.discovery-content{padding:18px}.big-logo{margin-top:-42px;margin-bottom:8px;width:72px;height:72px;font-size:36px;border-radius:22px}.discovery-content span{color:#ffb800;font-weight:1000;text-transform:uppercase;font-size:12px}.discovery-content h2{margin:4px 0;font-size:28px}.reward-line{background:#fff8db;border:1px solid #fde68a;border-radius:16px;padding:12px;margin:12px 0;font-weight:1000}.reward-line b{font-size:24px;color:#061827}.scan-fab{transform:translateY(-18px);background:#ffb800!important;color:#061827!important;border-radius:20px!important;width:58px!important;height:58px!important;display:grid!important;place-items:center!important;box-shadow:0 12px 25px rgba(255,184,0,.45)}.scan-fab .svg-icon{font-size:26px}.scan-fab svg{width:26px;height:26px}
@media(min-width:901px){.phone-dashboard,.recent-unlocks{display:none}.app-mobile-native .desktop-only{display:block}.app-mobile-native .mobile-bottom{display:none!important}}
@media(max-width:900px){body{background:#f3f7fb}.desktop-only{display:none!important}.app-mobile-native{display:block;min-height:100vh;background:linear-gradient(180deg,#e7f5ff 0,#f8fafc 210px,#f8fafc 100%)}.app-mobile-native .sidebar{display:none}.app-main{padding:18px 16px 92px!important;max-width:520px;margin:0 auto}.mobile-topbar{display:flex;align-items:center;justify-content:space-between;margin:6px 0 18px}.mobile-topbar small{display:block;color:#64748b;font-weight:900}.mobile-topbar b{font-size:20px}.phone-dashboard{background:#fff;border-radius:32px;padding:20px 18px 22px;box-shadow:0 22px 60px rgba(7,25,39,.1);border:1px solid rgba(7,25,39,.04)}.app-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.app-tile{height:118px;border-radius:24px;background:#f8fafc;display:grid;place-items:center;text-align:center;font-size:14px;font-weight:1000;color:#061827;box-shadow:0 12px 26px rgba(7,25,39,.06)}.app-tile .svg-icon{font-size:34px;color:#ffb800}.mobile-bottom{display:flex!important;position:fixed;bottom:0;left:0;right:0;max-width:520px;margin:auto;background:#fff;border-top:1px solid #e5e7eb;justify-content:space-around;align-items:center;padding:8px 6px 12px;z-index:60;box-shadow:0 -8px 28px rgba(7,25,39,.08);border-radius:24px 24px 0 0}.mobile-bottom a{display:grid;place-items:center;gap:4px;font-size:10px;font-weight:1000;color:#64748b;min-width:54px}.mobile-bottom .svg-icon{font-size:20px;color:#061827}.collection-hero{border-radius:28px;padding:20px}.collection-hero h1{font-size:28px}.collection-hero p{font-size:14px}.progress-orb{width:96px;height:96px}.progress-orb strong{font-size:22px}.collection-grid{grid-template-columns:1fr 1fr;gap:13px}.discover-card{border-radius:20px}.discover-cover{height:120px}.discover-info{display:block;padding:12px}.discover-logo{margin-top:-36px;margin-bottom:8px}.discover-info h3{font-size:15px}.discover-info p{font-size:12px}.discover-card.locked:not(.open) .discover-info p,.discover-card.locked:not(.open) .discover-info small{display:none}.mini-collection{grid-template-columns:repeat(2,1fr)}.scan-page{display:block;padding:18px 14px 92px}.scan-card{border-radius:30px;min-height:calc(100vh - 130px);display:flex;flex-direction:column;justify-content:center}.scanner{margin:0;border-radius:0;min-height:100vh}.riddle-card{text-align:left}}
@media(max-width:420px){.collection-grid{grid-template-columns:1fr 1fr}.app-main{padding-left:12px!important;padding-right:12px!important}.collection-hero{display:block}.progress-orb{margin-top:16px}.app-tile{height:108px}.points-card strong{font-size:38px}.discover-cover{height:108px}}

/* V1.10 mobile app + real QR scan improvements */
@media(max-width:900px){
  .mobile-bottom{height:74px;display:grid!important;grid-template-columns:1fr 1fr 74px 1fr 1fr;align-items:center;padding:8px 10px 12px!important;gap:0;border-radius:26px 26px 0 0;max-width:520px;left:50%!important;right:auto!important;transform:translateX(-50%);width:100%;}
  .mobile-bottom a{min-width:0!important;width:100%;height:52px;border-radius:16px;}
  .mobile-bottom .scan-fab{grid-column:3;justify-self:center;align-self:center;transform:translateY(-18px)!important;width:68px!important;height:68px!important;border-radius:24px!important;background:linear-gradient(135deg,#ffcf32,#ffae00)!important;box-shadow:0 16px 32px rgba(255,184,0,.55)!important;}
  .mobile-bottom .scan-fab .svg-icon{font-size:31px!important;color:#061827!important;}
  .phone-dashboard{border-radius:34px;padding:22px;background:linear-gradient(180deg,#fff,#f8fafc);box-shadow:0 20px 55px rgba(7,25,39,.12);}
  .brand-mini{font-size:18px;margin-bottom:18px;}
  .app-grid-main{gap:14px;margin-top:16px;}
  .app-tile{border-radius:24px;background:#fff;box-shadow:0 12px 28px rgba(7,25,39,.08);}
  .app-tile .svg-icon{font-size:36px;color:#ffb800;}
  .app-points{border-radius:22px;padding:20px;}
  .app-points strong{font-size:42px;line-height:1;}
  .app-scan-page{background:linear-gradient(180deg,#e7f5ff 0,#f8fafc 220px,#f8fafc 100%);place-items:start center;}
  .scan-app-card{margin:0 auto;box-shadow:0 18px 50px rgba(7,25,39,.12);border:1px solid rgba(7,25,39,.05);min-height:auto!important;justify-content:flex-start!important;}
  .scan-orb{border-radius:28px;animation:scanPulse 1.8s infinite ease-in-out;}
  .scan-file-btn{width:100%;margin-top:10px;height:54px;}
  .scanner-box{position:relative;margin:16px 0;border-radius:24px;overflow:hidden;background:#061827;box-shadow:0 18px 40px rgba(7,25,39,.18);}
  .scanner-box video{display:block;width:100%;max-height:360px;object-fit:cover;}
  .scanner-frame{position:absolute;inset:18%;border:3px solid #ffb800;border-radius:24px;box-shadow:0 0 0 999px rgba(6,24,39,.42);pointer-events:none;}
  .scanner-box .btn{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);padding:10px 16px;background:#fff;}
  .collection-grid{gap:14px;}
  .discover-card{overflow:hidden;border-radius:24px;background:#fff;}
  .discover-cover{height:142px;border-radius:0;background-size:cover;background-position:center;}
  .discover-info{position:relative;display:block!important;padding:38px 12px 14px!important;min-height:126px;}
  .discover-logo{position:absolute;top:-30px;left:12px;margin:0!important;width:58px!important;height:58px!important;border-radius:18px!important;border:4px solid #fff;background:#fff;z-index:3;box-shadow:0 10px 24px rgba(7,25,39,.16);}
  .discover-logo img{object-fit:cover;}
  .discover-info h3{margin-top:0;font-size:16px;line-height:1.1;}
  .discover-info p{max-height:44px;}
  .locked .discover-info{padding-top:18px!important;}
  .locked .discover-logo{display:none;}
}
@keyframes scanPulse{0%,100%{transform:scale(1);box-shadow:0 16px 35px rgba(255,184,0,.35)}50%{transform:scale(1.04);box-shadow:0 18px 46px rgba(255,184,0,.55)}}

/* V1.11 Check In + business validation */
.scan-fab span{font-size:11px;line-height:1.05;font-weight:1000;text-align:center;color:#061827;text-transform:uppercase}.user-code-card{margin:14px 0 0;background:#061827;color:#fff;border-radius:22px;padding:16px;text-align:center;box-shadow:0 14px 34px rgba(6,24,39,.18)}.user-code-card small{display:block;color:#facc15;font-weight:1000;text-transform:uppercase;font-size:11px;letter-spacing:.6px}.user-code-card strong{display:block;font-size:34px;letter-spacing:5px;margin:4px 0}.user-code-card p{margin:0;color:#dbeafe;font-size:12px;font-weight:800}.consumption-card{text-align:left;margin-top:16px}.consumption-card h2{display:flex;align-items:center;gap:8px;margin-top:0}.consumption-form{display:grid;gap:12px}.code-input{text-transform:uppercase;text-align:center;letter-spacing:4px;font-weight:1000;font-size:22px}.business-dashboard .card{box-shadow:0 12px 28px rgba(7,25,39,.08)}
@media(max-width:900px){.scan-orb{background:linear-gradient(135deg,#ffcf32,#ffae00)}.scan-main-btn{font-size:20px}.business-dashboard{padding-bottom:22px}}

/* V1.12 Global app polish */
@media(max-width:900px){
  .mobile-bottom .scan-fab{font-size:0!important;}
  .mobile-bottom .scan-fab .svg-icon{display:block!important;font-size:32px!important;color:#061827!important;}
  .scan-orb .svg-icon{width:46px;height:46px;}
  .collection-hero-world{display:block!important;background:linear-gradient(135deg,#061827,#0a2d46);color:#fff;box-shadow:0 18px 45px rgba(7,25,39,.18);}
  .collection-hero-world .eyebrow{color:#ffb800;}
  .collection-hero-world p{color:#dbeafe;margin-bottom:0;}
  .collection-progress-panel{background:#fff;border-radius:24px;padding:16px;margin:14px 0 18px;box-shadow:0 16px 36px rgba(7,25,39,.08);border:1px solid rgba(7,25,39,.06);}
  .progress-header{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:12px;}
  .progress-header small{display:block;color:#64748b;text-transform:uppercase;font-size:11px;font-weight:1000;letter-spacing:.5px;}
  .progress-header strong{display:block;font-size:17px;line-height:1.15;}
  .progress-header b{background:#ffb800;color:#061827;border-radius:16px;padding:10px 12px;font-size:20px;min-width:62px;text-align:center;}
  .collection-progress-panel p{margin:10px 0 0;color:#64748b;font-size:13px;font-weight:800;}
  .progress-line{height:12px;background:#e8eef5;border-radius:999px;overflow:hidden;}
  .progress-line span{display:block;height:100%;background:linear-gradient(90deg,#ffb800,#ffcf32);border-radius:999px;}
  .progress-orb{display:none!important;}
  .discover-card{box-shadow:0 14px 32px rgba(7,25,39,.08);border:1px solid rgba(7,25,39,.05)!important;}
  .discover-card.locked{background:#f8fafc;}
  .discover-card.locked .discover-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(6,24,39,.1),rgba(6,24,39,.55));}
  .locked .lock-layer{z-index:2;background:rgba(6,24,39,.52);}
  .discover-info h3{letter-spacing:-.2px;}
}
@media(min-width:901px){
  .collection-progress-panel{background:#fff;border-radius:18px;padding:20px;margin:0 0 22px;box-shadow:0 8px 25px rgba(0,0,0,.06)}
  .progress-header{display:flex;justify-content:space-between;align-items:center}.progress-header small{color:#64748b;font-weight:900;text-transform:uppercase}.progress-header strong{display:block;font-size:22px}.progress-header b{font-size:26px;color:#ffb800}.collection-progress-panel p{margin:8px 0 0;color:#64748b;font-weight:800}
}


/* V1.13 logo + prizes polish */
.logo-mark{overflow:hidden;background:#fff!important;border-color:#061827!important;flex:0 0 auto;}
.logo-mark img{display:block;width:100%;height:100%;object-fit:contain;padding:5px;}
.footer .logo-mark{border-color:#fff!important;}
.prizes-page{padding-top:82px;}
.prize-title-wrap p.prize-subtitle{max-width:680px;margin:0 auto 34px;color:#64748b;font-weight:800;font-size:18px;line-height:1.45;}
.prize-podium{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:22px;align-items:stretch;margin:20px 0 34px;}
.prize-feature-card{position:relative;overflow:hidden;border-radius:28px;padding:30px;min-height:260px;color:#061827;background:#fff;box-shadow:0 20px 60px rgba(7,25,39,.10);border:1px solid rgba(7,25,39,.06);}
.prize-feature-card:before{content:"";position:absolute;inset:auto -40px -70px auto;width:190px;height:190px;border-radius:50%;background:rgba(255,255,255,.28);}
.prize-feature-card.gold{background:linear-gradient(135deg,#ffcf32,#ffb800 55%,#ff9800);transform:translateY(-12px);box-shadow:0 28px 72px rgba(255,184,0,.32);}
.prize-feature-card.silver{background:linear-gradient(135deg,#ffffff,#e5e7eb);}
.prize-feature-card.bronze{background:linear-gradient(135deg,#fff7ed,#d97706);}
.prize-badge{width:70px;height:70px;border-radius:22px;background:#061827;color:#fff;display:grid;place-items:center;font-size:34px;font-weight:1000;box-shadow:0 16px 30px rgba(7,25,39,.18);margin-bottom:18px;}
.prize-feature-card.gold .prize-badge{background:#fff;color:#061827;}
.prize-kind{font-size:12px;font-weight:1000;letter-spacing:.7px;text-transform:uppercase;opacity:.75;margin-bottom:6px;}
.prize-feature-card h3{font-size:32px;line-height:1;margin:0 0 12px;letter-spacing:-.8px;}
.prize-feature-card p{font-weight:800;line-height:1.35;margin:0 0 18px;max-width:310px;}
.prize-chip{display:inline-flex;align-items:center;border-radius:999px;background:rgba(6,24,39,.10);padding:9px 13px;font-weight:1000;font-size:13px;}
.prize-feature-card.gold .prize-chip{background:#061827;color:#fff;}
.raffle-section{background:#061827;color:#fff;border-radius:30px;padding:34px;box-shadow:0 26px 70px rgba(7,25,39,.18);}
.raffle-head{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:24px;}
.raffle-head h2{margin:4px 0 8px;font-size:34px;}
.raffle-head p{color:#dbeafe;font-weight:800;margin:0;max-width:600px;}
.raffle-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;}
.raffle-card{display:grid;grid-template-columns:68px 1fr;gap:16px;align-items:start;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.13);border-radius:22px;padding:20px;}
.raffle-icon{width:68px;height:68px;border-radius:20px;background:linear-gradient(135deg,#7c3aed,#312e81);display:grid;place-items:center;color:#fff;font-size:32px;}
.raffle-card h3{margin:0 0 8px;font-size:22px;}
.raffle-card p{margin:0 0 12px;color:#dbeafe;font-weight:750;line-height:1.35;}
.min-pill{display:inline-flex;border-radius:999px;background:#ffb800;color:#061827;padding:8px 12px;font-weight:1000;font-size:13px;}
/* improve old dark prize block on index */
.prizes{box-shadow:0 26px 70px rgba(7,25,39,.20);}
.prize-card{transition:.2s;}
.prize-card:hover{transform:translateY(-5px);background:rgba(255,255,255,.08)}
@media(max-width:900px){
  .nav .logo-mark{width:38px;height:38px;border-width:2px;}
  .prize-podium{grid-template-columns:1fr;gap:16px;}
  .prize-feature-card.gold{transform:none;}
  .raffle-head{display:block;}
  .raffle-head .btn{margin-top:18px;width:100%;}
  .raffle-grid{grid-template-columns:1fr;}
  .raffle-section{border-radius:24px;padding:22px;}
  .prize-feature-card{border-radius:24px;padding:24px;min-height:220px;}
  .prize-feature-card h3{font-size:28px;}
}
@media(max-width:560px){
  .prizes-page{padding-top:42px;}
  .prize-title-wrap p.prize-subtitle{font-size:15px;margin-bottom:22px;}
  .raffle-card{grid-template-columns:54px 1fr;padding:16px;}
  .raffle-icon{width:54px;height:54px;border-radius:17px;font-size:25px;}
}


/* ===== ScanToWin V1.14 visual fixes ===== */
/* Step icons: show proper SVGs inside yellow circles */
.steps .step .icon{
  width:86px!important;
  height:86px!important;
  border-radius:50%!important;
  background:linear-gradient(135deg,#ffcf32,#ffae00)!important;
  border:3px solid rgba(255,255,255,.85)!important;
  box-shadow:0 16px 38px rgba(255,184,0,.32), inset 0 0 0 1px rgba(6,24,39,.08)!important;
  color:#061827!important;
  display:grid!important;
  place-items:center!important;
  overflow:visible!important;
}
.steps .step .icon .svg-icon,
.steps .step .icon .svg-icon svg{
  width:44px!important;
  height:44px!important;
  color:#061827!important;
  fill:#061827!important;
  display:block!important;
  opacity:1!important;
}

/* Prize block: make the raffle gift match the 1/2/3 medals */
.prize-card .medal{
  width:58px!important;
  height:58px!important;
  margin:0 auto 14px!important;
}
.prize-card.purple{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
}
.prize-card.purple .draw-medal{
  background:linear-gradient(135deg,#7c3aed,#312e81)!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.28)!important;
}
.prize-card.purple .draw-medal .svg-icon,
.prize-card.purple .draw-medal svg{
  width:32px!important;
  height:32px!important;
  color:#fff!important;
  fill:#fff!important;
  margin:0!important;
}
.prize-card.purple strong{
  font-size:22px!important;
  line-height:1.1!important;
}

/* Hero phone mockup: bigger, clearer app icons like the original mockup */
.phone .phone-grid{
  gap:16px!important;
}
.phone .phone-tile{
  height:126px!important;
  border-radius:20px!important;
  background:#fff!important;
  box-shadow:0 12px 28px rgba(7,25,39,.10)!important;
  font-size:15px!important;
  color:#061827!important;
}
.phone .phone-tile .svg-icon,
.phone .phone-tile .svg-icon svg{
  width:42px!important;
  height:42px!important;
  color:#ffb800!important;
  fill:#ffb800!important;
  margin-bottom:12px!important;
  display:block!important;
}
.phone .phone-screen{
  padding:28px 20px!important;
}
.phone .points-card{
  margin-bottom:20px!important;
}

/* Mobile user app tiles: keep icons big and clear */
@media(max-width:900px){
  .app-grid-main .app-tile .svg-icon,
  .app-grid-main .app-tile .svg-icon svg{
    width:42px!important;
    height:42px!important;
    color:#ffb800!important;
    fill:#ffb800!important;
  }
  .app-grid-main .app-tile span{
    font-size:15px!important;
  }
}

/* Make SVGs impossible to disappear because of inherited font-size rules */
.svg-icon svg path{fill:currentColor!important;}


/* V1.15 business SaaS page */
.business-hero{position:relative;overflow:hidden;background:radial-gradient(circle at 80% 20%,rgba(255,184,0,.24),transparent 28%),linear-gradient(135deg,#061827,#0b304d);color:#fff;padding:86px 0 72px;}
.business-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.06),transparent);pointer-events:none;}
.business-hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:1.1fr .8fr;gap:40px;align-items:center;}
.business-hero h1{font-size:58px;line-height:1.02;letter-spacing:-1.8px;margin:10px 0 18px;max-width:680px;}
.business-hero p{font-size:20px;line-height:1.5;color:#dbeafe;max-width:670px;font-weight:750;}
.business-hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:28px;}
.business-demo-card{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);border-radius:30px;padding:30px;box-shadow:0 30px 70px rgba(0,0,0,.22);backdrop-filter:blur(10px);}
.demo-pin{width:74px;height:74px;border-radius:24px;background:#ffb800;color:#061827;display:grid;place-items:center;font-size:36px;margin-bottom:18px;box-shadow:0 18px 40px rgba(255,184,0,.28);}
.business-demo-card h3{font-size:28px;margin:0 0 8px;}.business-demo-card p{font-size:15px;margin:0 0 18px;color:#e5f0ff;}
.demo-stat{display:flex;justify-content:space-between;align-items:center;background:rgba(255,255,255,.1);border-radius:16px;padding:14px 16px;margin-top:10px;font-weight:900}.demo-stat b{font-size:25px;color:#ffb800;}
.benefit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.benefit-card{background:#fff;border-radius:24px;padding:24px;box-shadow:0 14px 38px rgba(7,25,39,.07);border:1px solid rgba(7,25,39,.05);transition:.2s}.benefit-card:hover{transform:translateY(-5px);box-shadow:0 20px 50px rgba(7,25,39,.1)}.benefit-card .svg-icon{width:42px;height:42px;color:#ffb800;margin-bottom:14px}.benefit-card h3{margin:0 0 10px;font-size:21px}.benefit-card p{margin:0;color:#64748b;font-weight:750;line-height:1.4}
.pricing-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.pricing-card{position:relative;background:#fff;border-radius:28px;padding:26px;box-shadow:0 16px 45px rgba(7,25,39,.08);border:1px solid rgba(7,25,39,.07);display:flex;flex-direction:column;min-height:430px}.pricing-card.featured{background:linear-gradient(180deg,#fff8db,#fff);border:2px solid #ffb800;transform:translateY(-10px);box-shadow:0 24px 65px rgba(255,184,0,.22)}.pricing-tag{display:inline-flex;align-self:flex-start;background:#061827;color:#fff;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:1000;margin-bottom:14px}.pricing-card.featured .pricing-tag{background:#ffb800;color:#061827}.pricing-card h3{font-size:30px;margin:0 0 12px}.price{display:flex;align-items:flex-end;gap:5px;margin-bottom:20px}.price strong{font-size:42px;letter-spacing:-1px}.price span{color:#64748b;font-weight:900;margin-bottom:8px}.pricing-card ul{list-style:none;padding:0;margin:0 0 22px;display:grid;gap:12px;flex:1}.pricing-card li{font-weight:800;color:#334155;line-height:1.25;display:flex;gap:8px;align-items:flex-start}.pricing-card li .svg-icon{color:#ffb800;flex:0 0 auto;margin-top:2px}.pricing-card .btn{width:100%}.pricing-card.rare{border-top:5px solid #38bdf8}.pricing-card.epic{border-top:5px solid #a855f7}.pricing-card.legendary{border-top:5px solid #f59e0b}.pricing-card.common{border-top:5px solid #94a3b8}
.business-process{background:#fff}.process-row{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.process-row>div{background:#fbfaf7;border:1px solid #eee;border-radius:22px;padding:24px}.process-row b{width:44px;height:44px;border-radius:16px;background:#ffb800;color:#061827;display:grid;place-items:center;font-size:21px;margin-bottom:12px}.process-row h3{margin:0 0 8px}.process-row p{margin:0;color:#64748b;font-weight:750;line-height:1.4}
.business-form-wrap{display:grid;grid-template-columns:.85fr 1.15fr;gap:30px;align-items:start}.business-form-wrap h2{font-size:42px;margin:8px 0 14px}.business-form-wrap p{font-size:18px;color:#64748b;font-weight:750;line-height:1.45}.mini-note{background:#061827;color:#fff;border-radius:20px;padding:18px;font-weight:900;margin-top:20px}.mini-note b{color:#ffb800}.business-application label{font-weight:900;color:#061827}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-small{font-size:13px!important;color:#64748b!important;margin:14px 0 0!important}.full{width:100%}.admin-note{margin-bottom:16px}.admin-note p{margin-bottom:0;color:#64748b;font-weight:750}.plan-pill{display:inline-flex;border-radius:999px;padding:8px 11px;font-weight:1000;font-size:12px;background:#e2e8f0;color:#061827}.plan-pill.rare{background:#dff6ff;color:#0369a1}.plan-pill.epic{background:#f3e8ff;color:#6d28d9}.plan-pill.legendary{background:#fef3c7;color:#92400e}.plan-pill.common{background:#f1f5f9;color:#334155}
@media(max-width:900px){.business-hero-grid,.benefit-grid,.pricing-grid,.process-row,.business-form-wrap{grid-template-columns:1fr}.business-hero{padding:54px 0}.business-hero h1{font-size:40px}.business-hero p{font-size:17px}.pricing-card.featured{transform:none}.two-fields{grid-template-columns:1fr}}

/* ===== ScanToWin V1.17 global countries + map ===== */
.section-subtitle{max-width:720px;margin:-18px auto 34px;color:#64748b;font-weight:800;font-size:18px;line-height:1.45;text-align:center}.countries-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px;margin-top:28px}.country-card{position:relative;display:grid;grid-template-columns:70px 1fr auto;gap:14px;align-items:center;background:#fff;border:1px solid rgba(7,25,39,.07);border-radius:22px;padding:18px;box-shadow:0 16px 40px rgba(7,25,39,.07);overflow:hidden;transition:.22s}.country-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:6px;background:var(--accent,#ffb800)}.country-card:hover{transform:translateY(-5px);box-shadow:0 24px 60px rgba(7,25,39,.12)}.country-code{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,var(--accent,#ffb800),#ffcf32);color:#fff;font-weight:1000;font-size:22px;letter-spacing:-.5px}.country-card h3{margin:0 0 4px;font-size:19px}.country-card p{margin:0;color:#64748b;font-weight:900}.country-card p b{color:#061827}.country-arrow{font-size:24px;font-weight:1000;color:#ffb800}.map-preview-card{margin-top:28px;background:linear-gradient(135deg,#061827,#092844);color:#fff;border-radius:28px;padding:28px;display:flex;justify-content:space-between;align-items:center;gap:18px;box-shadow:0 24px 60px rgba(7,25,39,.18)}.map-preview-card h3{font-size:30px;margin:6px 0 8px}.map-preview-card p{margin:0;color:#dbeafe;font-weight:800;max-width:650px}.map-body{background:#fbfaf7}.map-hero{background:radial-gradient(circle at 85% 0,rgba(255,184,0,.22),transparent 25%),linear-gradient(135deg,#061827,#0b2a42);color:#fff;padding:54px 0}.map-hero .container{display:flex;align-items:center;justify-content:space-between;gap:24px}.map-hero h1{font-size:44px;line-height:1.05;margin:8px 0 10px}.map-hero p{color:#dbeafe;font-weight:800;max-width:680px;font-size:18px}.map-stats{min-width:170px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:24px;padding:22px;text-align:center}.map-stats b{font-size:44px;display:block;color:#ffb800}.map-stats span{font-weight:900}.map-shell{margin-top:-28px;position:relative;z-index:2}.map-toolbar{display:flex;gap:12px;justify-content:flex-end;margin-bottom:14px}.map-toolbar .btn{box-shadow:0 10px 25px rgba(7,25,39,.08)}#stwMap{height:560px;border-radius:28px;overflow:hidden;box-shadow:0 28px 80px rgba(7,25,39,.16);border:8px solid #fff;background:#e5e7eb}.stw-marker span{width:38px;height:38px;border-radius:16px;display:grid;place-items:center;color:#061827;font-weight:1000;border:3px solid #fff;box-shadow:0 12px 25px rgba(7,25,39,.28)}.stw-popup{min-width:190px}.popup-img{height:90px;border-radius:12px;background-size:cover;background-position:center;margin-bottom:9px}.stw-popup b{display:block;font-size:16px}.stw-popup small{display:block;color:#64748b;font-weight:800}.stw-popup p{margin:7px 0;font-weight:1000;color:#ffb800}.stw-popup a{display:inline-flex;background:#061827;color:#fff;border-radius:9px;padding:8px 10px;font-weight:900}.map-list{margin:28px 0 50px}.map-list h2{font-size:30px;margin-bottom:16px}.map-point-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.map-point-card{border:0;background:#fff;border-radius:18px;padding:16px;text-align:left;box-shadow:0 12px 30px rgba(7,25,39,.07);cursor:pointer;transition:.2s;display:grid;grid-template-columns:18px 1fr;column-gap:10px;align-items:start}.map-point-card:hover{transform:translateY(-3px)}.map-point-card strong{grid-column:2;font-size:16px}.map-point-card small{grid-column:2;color:#64748b;font-weight:800}.point-dot{grid-row:1/3;width:14px;height:14px;border-radius:99px;background:#ffb800;margin-top:4px}.point-dot.rare{background:#3b82f6}.point-dot.epic{background:#8b5cf6}.point-dot.legendary{background:#f59e0b}@media(max-width:1100px){.countries-grid{grid-template-columns:repeat(2,1fr)}.map-point-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.countries-grid{grid-template-columns:1fr}.country-card{grid-template-columns:60px 1fr auto}.map-preview-card{display:block}.map-preview-card .btn{width:100%;margin-top:18px}.map-hero .container{display:block}.map-hero h1{font-size:34px}.map-stats{margin-top:18px}.map-toolbar{justify-content:stretch}.map-toolbar .btn{flex:1;padding:13px 10px}#stwMap{height:470px;border-radius:22px;border-width:5px}.map-point-grid{grid-template-columns:1fr}.section-subtitle{font-size:15px}}

/* ===== ScanToWin V1.18: países premium + mapa corregido ===== */
.countries-section-pro{padding-top:88px;padding-bottom:42px;background:radial-gradient(circle at 50% 0,rgba(255,184,0,.08),transparent 36%)}
.countries-section-pro .section-title h2{margin-bottom:12px;font-size:42px;letter-spacing:-1px}.countries-section-pro .section-subtitle{max-width:760px;margin:0 auto 32px;font-size:17px;color:#64748b;line-height:1.5}.countries-grid-pro{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:18px!important;align-items:stretch}.country-card-pro{position:relative!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;min-height:190px!important;padding:20px!important;border-radius:28px!important;background:linear-gradient(180deg,#fff,#fbfaf7)!important;border:1px solid rgba(7,25,39,.08)!important;box-shadow:0 18px 45px rgba(7,25,39,.08)!important;overflow:hidden!important;transition:.24s ease!important}.country-card-pro:before{content:""!important;position:absolute!important;inset:0 auto 0 0!important;width:7px!important;background:linear-gradient(180deg,var(--accent),#ffb800)!important}.country-card-pro:hover{transform:translateY(-7px)!important;box-shadow:0 28px 70px rgba(7,25,39,.14)!important}.country-glow{position:absolute;right:-44px;top:-46px;width:130px;height:130px;border-radius:50%;background:var(--accent);opacity:.10;filter:blur(2px)}.country-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.country-card-pro .country-code{width:62px!important;height:62px!important;border-radius:21px!important;background:linear-gradient(135deg,var(--accent),#ffcf32)!important;color:#fff!important;font-size:23px!important;box-shadow:0 14px 28px rgba(7,25,39,.14)!important}.country-card-pro .country-arrow{width:38px;height:38px;border-radius:14px;background:#fff7db;color:#061827;display:grid;place-items:center;font-size:22px;box-shadow:0 10px 20px rgba(7,25,39,.06)}.country-card-pro h3{font-size:22px!important;line-height:1.05!important;margin:0 0 16px!important;letter-spacing:-.3px}.country-count{margin-top:auto}.country-count strong{display:block;font-size:36px;line-height:.9;color:#061827;letter-spacing:-1px}.country-count span{display:block;margin-top:8px;color:#64748b;font-size:13px;font-weight:1000;text-transform:uppercase;letter-spacing:.45px;line-height:1.2}.country-bar{height:8px;margin-top:15px;background:#e8eef5;border-radius:999px;overflow:hidden}.country-bar span{display:block;height:100%;background:linear-gradient(90deg,var(--accent),#ffb800);border-radius:999px}.map-preview-pro{border-radius:30px!important;padding:34px!important;margin-top:34px!important;background:radial-gradient(circle at 92% 0,rgba(255,184,0,.26),transparent 34%),linear-gradient(135deg,#061827,#092844)!important}.map-preview-pro h3{font-size:34px!important;letter-spacing:-.6px}.map-preview-pro .btn{min-width:170px;height:58px;border-radius:14px!important}
/* Leaflet map should fill the container correctly on Hostinger/Chrome */
#stwMap{width:100%!important;height:620px!important;min-height:620px!important;display:block!important;position:relative!important;border:0!important;border-radius:30px!important;box-shadow:0 28px 80px rgba(7,25,39,.17)!important;background:#dbe4ea!important;outline:8px solid #fff!important;overflow:hidden!important}.leaflet-container{width:100%!important;height:100%!important;font-family:Inter,Arial,sans-serif!important}.leaflet-container img.leaflet-tile{max-width:none!important;width:256px!important;height:256px!important}.leaflet-container .leaflet-marker-icon,.leaflet-container .leaflet-marker-shadow{max-width:none!important}.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute!important}.map-shell{margin-top:-36px!important}.map-toolbar{position:relative;z-index:5;margin-bottom:18px}.map-toolbar .btn{border-radius:14px!important}.map-page .container.map-shell{max-width:1120px}.map-list{margin-top:34px}.map-point-grid{grid-template-columns:repeat(3,1fr)!important}.map-point-card{border:1px solid rgba(7,25,39,.06)!important}.map-point-card strong{font-size:17px!important}
@media(max-width:1100px){.countries-grid-pro{grid-template-columns:repeat(3,1fr)!important}.map-point-grid{grid-template-columns:repeat(2,1fr)!important}}
@media(max-width:760px){.countries-section-pro{padding-top:54px}.countries-section-pro .section-title h2{font-size:31px}.countries-grid-pro{grid-template-columns:1fr!important}.country-card-pro{min-height:150px!important}.country-card-pro h3{font-size:24px!important}.country-count strong{font-size:32px}.map-preview-pro{display:block!important;padding:24px!important;border-radius:24px!important}.map-preview-pro h3{font-size:26px!important}.map-preview-pro .btn{width:100%;margin-top:18px}#stwMap{height:520px!important;min-height:520px!important;border-radius:22px!important;outline-width:5px!important}.map-point-grid{grid-template-columns:1fr!important}.map-shell{margin-top:-24px!important}.map-toolbar{display:grid;grid-template-columns:1fr 1fr;gap:10px}.map-toolbar .btn{width:100%;padding:13px 8px}}

/* V1.19 - professional countries + rarity map */
.countries-section-pro .section-title{max-width:920px;margin:0 auto 34px;text-align:center}
.countries-section-pro .section-title h2{font-size:44px;line-height:1.08;margin:8px 0 12px}
.countries-grid-pro{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:14px!important;max-width:1080px;margin:0 auto!important}
.country-card-pro{min-height:0!important;padding:18px!important;border-radius:24px!important;background:linear-gradient(180deg,#fff,#fffaf0)!important;border:1px solid rgba(7,25,39,.08)!important;box-shadow:0 18px 44px rgba(7,25,39,.08)!important;text-align:left!important}
.country-card-pro:before{width:100%!important;height:5px!important;right:0!important;bottom:auto!important;background:linear-gradient(90deg,var(--accent),#ffb800)!important}
.country-card-pro .country-top{margin-bottom:14px!important}
.country-card-pro .country-code{width:52px!important;height:52px!important;border-radius:17px!important;font-size:18px!important}
.country-card-pro h3{font-size:20px!important;margin-bottom:12px!important}
.country-count strong{font-size:34px!important}
.country-count span{font-size:11px!important}
.country-card-pro .country-arrow{background:#061827!important;color:#fff!important;width:34px!important;height:34px!important;border-radius:13px!important}
.country-bar{height:7px!important;margin-top:13px!important}
.map-preview-pro{max-width:1080px;margin-left:auto;margin-right:auto}

.map-toolbar-pro{display:block!important;margin-bottom:18px!important;background:#fff;border-radius:24px;padding:14px;box-shadow:0 16px 42px rgba(7,25,39,.08);border:1px solid rgba(7,25,39,.06)}
.map-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:12px}
.rarity-filters{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
.rarity-filter{height:50px;border:1px solid rgba(7,25,39,.09);background:#fbfaf7;border-radius:16px;font-weight:1000;color:#061827;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;transition:.2s;white-space:nowrap}
.rarity-filter:hover,.rarity-filter.active{background:#061827;color:#fff;transform:translateY(-2px);box-shadow:0 14px 28px rgba(7,25,39,.14)}
.rarity-filter b{font-size:12px;opacity:.8}.rf-dot{width:13px;height:13px;border-radius:50%;background:#94a3b8;box-shadow:0 0 0 4px rgba(148,163,184,.16)}.rf-dot.all{background:linear-gradient(135deg,#94a3b8,#2563eb,#7c3aed,#f59e0b)}.rf-dot.rare{background:#2563eb;box-shadow:0 0 0 4px rgba(37,99,235,.16)}.rf-dot.epic{background:#7c3aed;box-shadow:0 0 0 4px rgba(124,58,237,.16)}.rf-dot.legendary{background:#f59e0b;box-shadow:0 0 0 4px rgba(245,158,11,.20)}
#stwMap{height:640px!important;min-height:640px!important;width:100%!important;border-radius:30px!important;border:8px solid #fff!important;background:#e5e7eb!important}
.stw-marker-v2{background:transparent!important;border:0!important}.stw-marker-v2 span{width:46px;height:46px;border-radius:18px 18px 18px 6px;transform:rotate(-45deg);display:grid;place-items:center;background:var(--marker);border:4px solid #fff;box-shadow:0 16px 28px rgba(7,25,39,.28);color:#fff;position:relative}.stw-marker-v2 svg{width:24px;height:24px;fill:currentColor;transform:rotate(45deg)}.stw-marker-v2.common span{background:#94a3b8}.stw-marker-v2.rare span{background:#2563eb}.stw-marker-v2.epic span{background:#7c3aed}.stw-marker-v2.legendary span{background:linear-gradient(135deg,#fbbf24,#f59e0b)}.stw-marker-v2.legendary-pulse span:after{content:"";position:absolute;inset:-9px;border-radius:24px 24px 24px 10px;border:2px solid rgba(245,158,11,.55);animation:stwPulse 1.7s infinite}@keyframes stwPulse{0%{transform:scale(.8);opacity:.9}100%{transform:scale(1.25);opacity:0}}
.stw-popup-pro{min-width:230px}.popup-title-row{display:flex;gap:10px;align-items:center;margin-top:8px}.popup-logo{width:42px;height:42px;border-radius:14px;background:var(--marker);display:grid;place-items:center;flex:0 0 auto;color:#fff;overflow:hidden}.popup-logo svg{width:22px;height:22px;fill:currentColor}.popup-logo img{width:100%;height:100%;object-fit:cover}.popup-rarity{display:inline-flex;margin-top:10px;background:color-mix(in srgb,var(--marker) 16%,white);color:#061827;border:1px solid color-mix(in srgb,var(--marker) 40%,white);border-radius:999px;padding:6px 10px;font-weight:1000;font-size:12px;text-transform:uppercase;letter-spacing:.35px}.stw-popup-pro.legendary .popup-rarity{background:#fff3c4}
.map-list-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:16px}.map-list-head h2{margin:0!important}.map-list-head p{margin:0;color:#64748b;font-weight:800}.map-point-card-pro{position:relative;grid-template-columns:48px 1fr!important;padding:15px!important;border:1px solid rgba(7,25,39,.06)!important}.map-point-card-pro:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:var(--marker,#94a3b8);border-radius:18px 0 0 18px}.map-point-card-pro.common{--marker:#94a3b8}.map-point-card-pro.rare{--marker:#2563eb}.map-point-card-pro.epic{--marker:#7c3aed}.map-point-card-pro.legendary{--marker:#f59e0b;box-shadow:0 16px 40px rgba(245,158,11,.18)}.point-badge{grid-row:1/4;width:40px;height:40px;border-radius:14px;display:grid;place-items:center;background:var(--marker);color:#fff;box-shadow:0 10px 18px rgba(7,25,39,.12)}.point-badge svg{width:22px;height:22px;fill:currentColor}.map-point-card-pro strong{grid-column:2!important}.map-point-card-pro em{grid-column:2;font-style:normal;color:var(--marker);font-size:12px;font-weight:1000;text-transform:uppercase;letter-spacing:.4px}.map-point-card-pro small{grid-column:2!important}
@media(max-width:1100px){.countries-grid-pro{grid-template-columns:repeat(2,1fr)!important}.rarity-filters{grid-template-columns:repeat(2,1fr)}.rarity-filter:first-child{grid-column:1/-1}}
@media(max-width:760px){.countries-grid-pro{grid-template-columns:1fr!important}.country-card-pro{padding:16px!important}.map-toolbar-pro{padding:10px;border-radius:20px}.map-actions{display:grid;grid-template-columns:1fr 1fr}.rarity-filters{display:flex;overflow-x:auto;padding-bottom:4px}.rarity-filter{min-width:145px;height:46px}#stwMap{height:520px!important;min-height:520px!important;border-width:5px!important}.map-list-head{display:block}.map-list-head p{margin-top:6px}.stw-marker-v2 span{width:42px;height:42px}.stw-marker-v2 svg{width:22px;height:22px}}

/* V1.20 Ranking profesional + Admin app style */
.ranking-hero{padding:60px 0 25px;background:linear-gradient(135deg,#061827,#0b2a43);color:#fff;margin-bottom:10px}.ranking-hero-card{display:flex;align-items:center;justify-content:space-between;gap:28px}.ranking-hero h1{font-size:48px;line-height:1;margin:8px 0 12px;letter-spacing:-1.2px}.ranking-hero p{max-width:760px;color:#dbeafe;font-weight:800;font-size:18px;line-height:1.45;margin:0}.ranking-stat{width:160px;height:130px;border-radius:28px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);display:grid;place-items:center;text-align:center;box-shadow:inset 0 0 0 1px rgba(255,255,255,.04)}.ranking-stat strong{display:block;color:#ffb800;font-size:44px;line-height:1}.ranking-stat span{font-weight:900;color:#fff}.ranking-page{padding-top:28px}.podium-wrap{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:20px;align-items:end;margin-bottom:28px}.podium-card{position:relative;overflow:hidden;background:#fff;border:1px solid rgba(7,25,39,.06);border-radius:28px;padding:28px;text-align:center;box-shadow:0 20px 55px rgba(7,25,39,.08);min-height:230px;display:flex;flex-direction:column;justify-content:center;align-items:center;transition:.2s}.podium-card:before{content:"";position:absolute;inset:auto -40px -80px auto;width:180px;height:180px;border-radius:50%;opacity:.22}.podium-card:hover{transform:translateY(-5px)}.podium-first{min-height:265px;transform:translateY(-10px)}.rank-gold{background:linear-gradient(135deg,#ffcf32,#ffb800 58%,#ff9800);box-shadow:0 28px 70px rgba(255,184,0,.28)}.rank-gold:before{background:#fff}.rank-silver:before{background:#94a3b8}.rank-bronze:before{background:#d97706}.podium-medal{width:70px;height:70px;border-radius:24px;display:grid;place-items:center;background:#061827;color:#fff;font-size:34px;font-weight:1000;box-shadow:0 16px 32px rgba(7,25,39,.18);margin-bottom:14px}.rank-gold .podium-medal{background:#fff;color:#061827}.rank-silver .podium-medal{background:linear-gradient(135deg,#f8fafc,#cbd5e1);color:#061827}.rank-bronze .podium-medal{background:linear-gradient(135deg,#fdba74,#b45309);color:#fff}.podium-card h3{font-size:26px;margin:0 0 10px;letter-spacing:-.5px}.podium-card strong{font-size:34px;line-height:1}.podium-card span{font-weight:1000;text-transform:uppercase;font-size:12px;letter-spacing:.6px;opacity:.72;margin-top:8px}.podium-meta{margin-top:14px;background:rgba(6,24,39,.08);border-radius:999px;padding:8px 12px;font-weight:900}.leaderboard-card{background:#fff;border-radius:30px;box-shadow:0 24px 70px rgba(7,25,39,.09);border:1px solid rgba(7,25,39,.06);padding:28px}.leaderboard-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.leaderboard-head h2{font-size:34px;margin:4px 0 0}.leaderboard-list{display:grid;gap:12px}.leader-row{display:grid;grid-template-columns:54px 54px 1fr auto;gap:14px;align-items:center;padding:14px;border-radius:22px;background:#f8fafc;border:1px solid rgba(7,25,39,.05);transition:.18s}.leader-row:hover{transform:translateX(4px);background:#fff;box-shadow:0 10px 28px rgba(7,25,39,.07)}.leader-place{width:46px;height:46px;border-radius:16px;display:grid;place-items:center;background:#e2e8f0;font-weight:1000;color:#061827}.leader-row.top1 .leader-place{background:#ffb800}.leader-row.top2 .leader-place{background:#cbd5e1}.leader-row.top3 .leader-place{background:#d97706;color:#fff}.leader-avatar{width:52px;height:52px;border-radius:18px;background:#061827;color:#fff;display:grid;place-items:center;font-weight:1000;font-size:20px}.leader-info b{display:block;font-size:17px}.leader-info span{display:block;color:#64748b;font-weight:800;font-size:13px}.leader-points{text-align:right}.leader-points strong{display:block;font-size:23px;line-height:1}.leader-points span{font-size:12px;font-weight:1000;color:#64748b;text-transform:uppercase}.empty-state{text-align:center;padding:28px;border-radius:22px;background:#f8fafc;font-weight:900;color:#64748b}

.admin-app-body{background:#f5f7fb}.admin-shell{display:grid;grid-template-columns:280px 1fr;min-height:100vh}.admin-rail{position:sticky;top:0;height:100vh;background:#061827;color:#fff;padding:24px;display:flex;flex-direction:column;gap:18px}.admin-logo{color:#fff;margin-bottom:4px}.admin-rail nav{display:grid;gap:8px}.admin-rail nav a,.admin-logout{display:flex;align-items:center;gap:10px;padding:13px 14px;border-radius:16px;font-weight:900;color:#dbeafe;transition:.18s}.admin-rail nav a:hover,.admin-logout:hover{background:rgba(255,255,255,.10);color:#fff;transform:translateX(3px)}.admin-rail .svg-icon{color:#ffb800}.admin-logout{margin-top:auto}.admin-content{padding:26px;max-width:1280px;width:100%;margin:0 auto}.admin-hero-panel{background:linear-gradient(135deg,#061827,#0b2a43);border-radius:34px;padding:34px;color:#fff;display:grid;grid-template-columns:1.2fr 360px;gap:24px;align-items:center;box-shadow:0 24px 70px rgba(7,25,39,.16);overflow:hidden;position:relative}.admin-hero-panel:after{content:"";position:absolute;right:-100px;top:-110px;width:300px;height:300px;border-radius:50%;background:rgba(255,184,0,.15)}.admin-hero-panel h1{font-size:46px;line-height:1;margin:8px 0 12px;letter-spacing:-1.3px}.admin-hero-panel p{color:#dbeafe;font-weight:800;line-height:1.45;max-width:630px}.admin-quick-phone{position:relative;z-index:1;background:#fff;color:#061827;border-radius:34px;padding:22px;box-shadow:0 22px 60px rgba(0,0,0,.24)}.admin-quick-phone .brand-mini{text-align:center;font-weight:1000;margin-bottom:14px}.admin-quick-phone .brand-mini span{color:#ffb800}.admin-mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.admin-mini-grid a{height:96px;border-radius:22px;background:#f8fafc;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;font-weight:1000;box-shadow:0 12px 28px rgba(7,25,39,.06);transition:.18s}.admin-mini-grid a:hover{transform:translateY(-4px);box-shadow:0 18px 34px rgba(7,25,39,.10)}.admin-mini-grid .svg-icon{font-size:30px;color:#ffb800}.admin-stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:22px 0}.admin-stat-card{background:#fff;border-radius:26px;padding:22px;box-shadow:0 12px 34px rgba(7,25,39,.07);border:1px solid rgba(7,25,39,.05)}.admin-stat-card span{width:52px;height:52px;border-radius:18px;background:#ffb800;display:grid;place-items:center;color:#061827;font-size:25px;margin-bottom:14px}.admin-stat-card small{display:block;color:#64748b;font-weight:1000;text-transform:uppercase;letter-spacing:.5px}.admin-stat-card strong{display:block;font-size:34px;line-height:1;margin-top:6px}.admin-card{background:#fff;border:1px solid rgba(7,25,39,.06);border-radius:28px;padding:24px;box-shadow:0 14px 40px rgba(7,25,39,.07);margin-bottom:20px}.qr-admin-card{display:flex;align-items:center;justify-content:space-between;gap:20px}.qr-admin-card p{color:#64748b;font-weight:800;line-height:1.45}.qr-admin-card code{display:inline-flex;background:#f1f5f9;border-radius:12px;padding:10px 12px;font-weight:900;max-width:100%;overflow:auto}.admin-section{padding:28px 0 10px}.admin-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:16px}.admin-section-head h2{font-size:34px;margin:4px 0 0;letter-spacing:-.8px}.admin-table{box-shadow:0 14px 40px rgba(7,25,39,.07);border-radius:24px;overflow:hidden}.admin-table th{background:#061827;color:#fff;font-size:13px;text-transform:uppercase;letter-spacing:.5px}.admin-table td{vertical-align:middle}.table-wrap{overflow:auto;border-radius:24px}.plan-pill,.rarity-pill{display:inline-flex;border-radius:999px;padding:8px 12px;font-weight:1000;text-transform:uppercase;font-size:11px;letter-spacing:.4px;background:#e2e8f0;color:#061827}.plan-pill.rare,.rarity-pill.rare{background:#dbeafe;color:#1d4ed8}.plan-pill.epic,.rarity-pill.epic{background:#ede9fe;color:#6d28d9}.plan-pill.legendary,.rarity-pill.legendary{background:#ffb800;color:#061827}.status{display:inline-flex;border-radius:999px;padding:7px 11px;background:#f1f5f9;color:#64748b;font-weight:1000;font-size:12px}.status.on{background:#dcfce7;color:#166534}.status.off{background:#fee2e2;color:#991b1b}.icon-btn{border:0;background:#f8fafc;border-radius:12px;min-width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;color:#061827;box-shadow:inset 0 0 0 1px rgba(7,25,39,.06)}.icon-btn:hover{background:#ffb800}.icon-btn.danger:hover{background:#fee2e2;color:#991b1b}.inline-form{display:inline-flex;align-items:center;gap:8px;margin:0}.actions{white-space:nowrap}.admin-form{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.admin-form .full,.riddle-form .full{grid-column:1/-1}.admin-form .input,.admin-form select,.admin-form textarea,.riddle-form .input,.riddle-form select,.riddle-form textarea{margin:0}.lang-block{background:#f8fafc;border-radius:20px;padding:16px;border:1px solid rgba(7,25,39,.05);margin-top:8px}.lang-block h3{margin:0 0 10px}.riddle-form{display:grid;grid-template-columns:1fr 180px 220px;gap:12px}.riddle-form .lang-block{grid-column:1/-1}.option-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.admin-bottom{display:none}
@media(max-width:1000px){.admin-shell{display:block}.admin-rail{display:none}.admin-content{padding:18px 16px 86px}.admin-hero-panel{grid-template-columns:1fr;padding:22px;border-radius:28px}.admin-hero-panel h1{font-size:34px}.admin-quick-phone{border-radius:28px}.admin-stats-grid{grid-template-columns:1fr 1fr}.admin-form,.riddle-form{grid-template-columns:1fr}.option-grid{grid-template-columns:1fr 1fr}.qr-admin-card{display:block}.admin-section-head{align-items:flex-start;flex-direction:column}.admin-bottom{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #e5e7eb;justify-content:space-around;align-items:center;padding:8px 10px;z-index:50;box-shadow:0 -10px 30px rgba(7,25,39,.08)}.admin-bottom a{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:11px;font-weight:1000;color:#061827}.admin-bottom .svg-icon{font-size:21px;color:#ffb800}.admin-bottom .admin-fab{width:64px;height:64px;border-radius:22px;background:#ffb800;color:#061827;margin-top:-30px;box-shadow:0 12px 28px rgba(255,184,0,.45);justify-content:center}.admin-bottom .admin-fab .svg-icon{font-size:30px;color:#061827}.podium-wrap{grid-template-columns:1fr}.podium-first{transform:none}.ranking-hero-card{display:block}.ranking-stat{margin-top:20px;width:100%;height:auto;padding:20px}.leaderboard-head{display:block}.leaderboard-head .btn{width:100%;margin-top:14px}.leader-row{grid-template-columns:42px 46px 1fr;gap:10px}.leader-points{grid-column:3;text-align:left}.leader-place{width:40px;height:40px}.leader-avatar{width:44px;height:44px;border-radius:15px}.ranking-hero h1{font-size:36px}.ranking-hero p{font-size:15px}}
@media(max-width:560px){.admin-stats-grid{grid-template-columns:1fr 1fr;gap:10px}.admin-stat-card{padding:16px;border-radius:22px}.admin-stat-card strong{font-size:28px}.admin-stat-card span{width:44px;height:44px;border-radius:15px}.admin-card{border-radius:22px;padding:18px}.admin-section-head h2{font-size:28px}.option-grid{grid-template-columns:1fr}.podium-card{min-height:200px;padding:22px}.leaderboard-card{border-radius:24px;padding:18px}.leader-row{padding:12px;border-radius:18px}.podium-wrap{gap:14px}.ranking-hero{padding:40px 0 18px}.ranking-hero h1{font-size:32px}}

/* V1.22 - premios configurables, negocio pro y puntos altos */
.muted{color:#64748b;font-weight:800;line-height:1.45}.ranking-prize-form{grid-template-columns:repeat(3,1fr)!important}.rank-edit-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:22px;padding:16px;display:grid;gap:10px}.rank-edit-card b{font-size:18px}.rank-edit-card textarea{min-height:76px}.business-dashboard-pro{gap:14px}.business-plan-card{border-radius:24px;padding:18px;color:#061827;background:linear-gradient(135deg,#f8fafc,#fff);border:1px solid #e2e8f0;box-shadow:0 18px 45px rgba(6,24,39,.08)}.business-plan-card small{display:block;text-transform:uppercase;letter-spacing:.6px;font-weight:1000;color:#64748b;font-size:11px}.business-plan-card strong{display:block;font-size:34px;line-height:1;margin:5px 0}.business-plan-card span{font-weight:900;color:#475569}.business-plan-card.epic{background:linear-gradient(135deg,#f3e8ff,#fff);border-color:#d8b4fe}.business-plan-card.legendary{background:linear-gradient(135deg,#fef3c7,#fff7ed);border-color:#facc15}.business-kpi-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.business-kpi-grid>div{background:#fff;border-radius:18px;padding:14px;box-shadow:0 14px 30px rgba(6,24,39,.07);border:1px solid #eef2f7}.business-kpi-grid small{font-weight:900;color:#64748b;font-size:11px;text-transform:uppercase}.business-kpi-grid b{display:block;font-size:25px;color:#061827;margin-top:4px}.locked-feature{background:#f8fafc!important;border:1px dashed #cbd5e1}.business-actions-grid{grid-template-columns:repeat(2,1fr)!important}.prizes-v122 .ranking-prizes-panel{display:grid;grid-template-columns:.85fr 1.6fr;gap:24px;align-items:stretch;background:#061827;color:#fff;border-radius:34px;padding:28px;box-shadow:0 28px 70px rgba(6,24,39,.18);margin-bottom:42px}.ranking-prizes-copy{display:flex;flex-direction:column;justify-content:center}.ranking-prizes-copy h2{font-size:42px;line-height:1.02;margin:8px 0 12px}.ranking-prizes-copy p{color:#cbd5e1;font-weight:800;line-height:1.45}.prize-podium-v122{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.prize-feature-card.gold{background:linear-gradient(180deg,#fff9db,#fff);border-color:#facc15}.prize-feature-card.silver{background:linear-gradient(180deg,#f1f5f9,#fff);border-color:#cbd5e1}.prize-feature-card.bronze{background:linear-gradient(180deg,#ffedd5,#fff);border-color:#fdba74}.raffle-section-v122{background:#fff;border-radius:34px;padding:28px;box-shadow:0 20px 55px rgba(6,24,39,.08)}.raffle-grid-v122{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.raffle-card-v122{display:block;overflow:hidden;padding:0}.raffle-cover{height:160px;background:linear-gradient(135deg,#ffb800,#5b21b6);display:grid;place-items:center;color:#fff}.raffle-cover .svg-icon svg{width:58px;height:58px;fill:#fff}.raffle-cover[style]{background-size:cover;background-position:center}.raffle-content{padding:20px}.raffle-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.raffle-meta span{background:#f1f5f9;border-radius:999px;padding:8px 10px;font-weight:1000;font-size:12px;color:#061827}.plan-pill.legendary{background:#fef3c7;color:#92400e}.plan-pill.epic{background:#f3e8ff;color:#6d28d9}.plan-pill.rare{background:#dbeafe;color:#1d4ed8}.plan-pill.common{background:#f1f5f9;color:#334155}@media(max-width:900px){.ranking-prize-form,.prizes-v122 .ranking-prizes-panel,.prize-podium-v122,.raffle-grid-v122{grid-template-columns:1fr!important}.ranking-prizes-copy h2{font-size:32px}.business-app-v122 .sidebar{display:none}.business-app-v122 .main{padding:14px 14px 90px}.business-dashboard-pro{max-width:430px;margin:auto}}

/* V1.23 - sorteos, ganadores y actividad */
.ranking-stat small{display:block;font-size:12px;color:#6b7280;margin-top:4px}.winner-strip,.activity-strip,.winners-section,.dash-carousel-block{margin:22px 0}.winner-carousel,.activity-carousel,.dash-carousel{display:flex;gap:14px;overflow-x:auto;padding:8px 2px 14px;scroll-snap-type:x mandatory}.winner-pill,.winner-card,.activity-card,.dash-raffle-card{scroll-snap-align:start;flex:0 0 auto;background:#fff;border:1px solid rgba(17,24,39,.08);box-shadow:0 16px 35px rgba(17,24,39,.08);border-radius:22px;display:flex;align-items:center;gap:12px;text-decoration:none;color:#111827}.winner-pill{padding:12px 16px;min-width:230px}.winner-pill span,.winner-trophy,.activity-icon,.dash-raffle-card>span{width:44px;height:44px;border-radius:16px;background:linear-gradient(135deg,#ffd54a,#ffb800);display:grid;place-items:center;color:#111827;flex:0 0 auto}.winner-pill svg,.winner-trophy svg,.activity-icon svg,.dash-raffle-card svg{width:22px;height:22px}.winner-pill b,.activity-card b,.dash-raffle-card b{display:block;font-size:14px}.winner-pill small,.activity-card small,.dash-raffle-card small{display:block;color:#6b7280;font-size:12px;line-height:1.25;margin-top:3px}.winner-card{padding:18px;min-width:275px}.winner-card .winner-trophy{width:58px;height:58px;border-radius:20px}.winner-card .winner-trophy svg{width:28px;height:28px}.winner-card span{display:block;font-weight:800}.winner-card small{display:block;color:#6b7280;margin-top:6px}.activity-card{padding:12px 14px;min-width:265px}.activity-card.mini{min-width:235px;padding:10px 12px}.activity-card strong{margin-left:auto;background:#111827;color:#fff;border-radius:999px;padding:7px 10px;font-size:13px}.dash-raffle-card{padding:13px 14px;min-width:260px}.section-head.compact{margin:0 0 6px}.section-head.compact h2{font-size:18px;margin:0}.prizes-activity{background:#f8fafc;border-radius:28px;padding:22px}.winner-carousel-large{padding-bottom:18px}.admin-section .muted{color:#6b7280;margin:6px 0 0;max-width:720px}.admin-form select{width:100%;border:1px solid #e5e7eb;border-radius:16px;padding:13px 14px;background:#fff;font-weight:700;color:#111827}@media(max-width:760px){.winner-card,.activity-card,.dash-raffle-card{min-width:82vw}.prizes-activity{padding:16px;border-radius:22px}.winner-pill{min-width:75vw}.dash-carousel-block{margin:16px 0}.phone-dashboard .dash-carousel,.phone-dashboard .activity-carousel,.phone-dashboard .winner-carousel{margin-left:-6px;margin-right:-6px}}

/* V1.24 language selector with flags */
.lang-wrap{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(6,24,39,.12);background:rgba(255,255,255,.75);backdrop-filter:blur(12px);border-radius:999px;padding:8px 10px;box-shadow:0 8px 24px rgba(6,24,39,.06)}
.lang-wrap .svg-icon{width:17px;height:17px;color:#061827;opacity:.8}.lang-select{border:0;background:transparent;font-weight:900;color:#061827;outline:0;cursor:pointer;min-width:82px}.lang-select option{font-weight:700}
.scan-app-card h1{letter-spacing:-.03em}.scan-app-card p{max-width:430px;margin-left:auto;margin-right:auto}.scan-main-btn{font-size:18px;min-height:58px}
@media(max-width:760px){.lang-wrap{padding:7px 9px}.lang-select{min-width:74px;font-size:13px}.scan-main-btn{width:100%;justify-content:center}.scan-app-card{padding-bottom:86px}}

/* === V1.25 UX polish: prizes, ranking, activity, language === */
.prizes-page{background:linear-gradient(180deg,#f8fafc 0%,#fbfaf7 42%,#ffffff 100%);}
.prize-title-wrap{max-width:920px;margin:0 auto 28px;text-align:center}.prize-title-wrap h2{font-size:48px;line-height:1.05;margin:8px 0 12px}.prize-subtitle{color:#475569!important;font-weight:900!important;font-size:16px!important;line-height:1.5!important}
.season-reset-card{margin:0 auto 28px;max-width:920px;background:#fff;border:1px solid #e2e8f0;border-radius:24px;padding:18px 22px;display:flex;align-items:center;justify-content:space-between;gap:18px;box-shadow:0 18px 45px rgba(6,24,39,.06)}.season-reset-card b{display:block;color:#061827;font-size:18px}.season-reset-card span{color:#64748b;font-weight:900}.season-reset-card .reset-date{background:#061827;color:#fff;border-radius:18px;padding:12px 18px;font-weight:1000;white-space:nowrap}
.prizes-v125 .ranking-prizes-panel{display:grid;grid-template-columns:.75fr 1.55fr;gap:24px;align-items:stretch;background:radial-gradient(circle at 20% 20%,rgba(255,184,0,.18),transparent 30%),linear-gradient(135deg,#061827,#092a44);color:#fff;border-radius:34px;padding:30px;box-shadow:0 32px 80px rgba(6,24,39,.22);margin-bottom:32px}.prizes-v125 .ranking-prizes-copy{display:flex;flex-direction:column;justify-content:center}.prizes-v125 .ranking-prizes-copy h2{font-size:38px;line-height:1.05;margin:8px 0 12px;color:#fff}.prizes-v125 .ranking-prizes-copy p{color:#dbeafe!important;font-weight:800!important;line-height:1.45!important}.prizes-v125 .prize-podium{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;align-items:end}.prizes-v125 .prize-feature-card{min-height:230px;border-radius:28px;padding:22px;border:2px solid transparent;box-shadow:0 18px 45px rgba(0,0,0,.16);display:flex;flex-direction:column;justify-content:space-between;color:#061827!important}.prizes-v125 .prize-feature-card h3{font-size:30px;margin:10px 0 8px;color:#061827!important}.prizes-v125 .prize-feature-card p{color:#334155!important;font-weight:850!important;line-height:1.28!important}.prizes-v125 .prize-feature-card.gold{min-height:260px;background:linear-gradient(180deg,#fff8d7,#fff);border-color:#fbbf24}.prizes-v125 .prize-feature-card.silver{background:linear-gradient(180deg,#f1f5f9,#fff);border-color:#cbd5e1}.prizes-v125 .prize-feature-card.bronze{background:linear-gradient(180deg,#ffedd5,#fff);border-color:#fb923c}.prizes-v125 .prize-badge{width:64px;height:64px;border-radius:22px;background:#061827;color:#fff;display:grid;place-items:center;font-size:30px;font-weight:1000;box-shadow:0 12px 28px rgba(6,24,39,.18)}.prizes-v125 .prize-kind{font-size:12px;text-transform:uppercase;letter-spacing:.7px;color:#64748b;font-weight:1000}.raffle-section-v125{background:#fff;border-radius:34px;padding:28px;box-shadow:0 24px 65px rgba(6,24,39,.08);border:1px solid rgba(6,24,39,.05);margin-bottom:30px}.raffle-section-v125 *{color:#061827}.raffle-section-v125 .raffle-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:22px}.raffle-section-v125 .raffle-head h2{font-size:34px;line-height:1.06;margin:8px 0;color:#061827}.raffle-section-v125 .raffle-head p{color:#475569!important;font-weight:900!important;line-height:1.45}.raffle-grid-v125{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.raffle-card-v125{display:block;overflow:hidden;border-radius:26px;background:#fff;border:1px solid #e2e8f0;box-shadow:0 16px 45px rgba(6,24,39,.07);transition:.18s}.raffle-card-v125:hover{transform:translateY(-4px);box-shadow:0 24px 65px rgba(6,24,39,.12)}.raffle-card-v125 .raffle-cover{height:180px;background:radial-gradient(circle at 30% 20%,#ffd44d,transparent 34%),linear-gradient(135deg,#ffb800,#6d28d9);display:grid;place-items:center;color:#fff!important}.raffle-card-v125 .raffle-cover svg{width:64px;height:64px;fill:#fff}.raffle-card-v125 .raffle-cover[style]{background-size:cover;background-position:center}.raffle-card-v125 .raffle-content{padding:20px}.raffle-card-v125 h3{font-size:22px;margin:0 0 8px;color:#061827!important}.raffle-card-v125 p{font-size:14px;color:#475569!important;font-weight:850!important;line-height:1.35;min-height:38px}.raffle-card-v125 .raffle-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.raffle-card-v125 .raffle-meta span{background:#eef2ff;border-radius:999px;padding:8px 10px;color:#061827!important;font-weight:1000;font-size:12px}.raffle-card-v125 .raffle-status{margin-top:14px;padding:11px 12px;border-radius:16px;background:#ffb800;color:#061827!important;font-weight:1000;text-align:center}.winners-section,.activity-strip{background:#fff;border-radius:30px;padding:24px;margin:30px 0;box-shadow:0 18px 50px rgba(6,24,39,.07);border:1px solid #eef2f7}.section-head h2,.winners-section h2,.activity-strip h2{color:#061827!important}.section-head span{color:#64748b!important;font-weight:900}.winner-carousel,.activity-carousel{display:flex;gap:14px;overflow-x:auto;padding:6px 2px 14px}.winner-card,.activity-card{background:#f8fafc!important;border:1px solid #e2e8f0!important;color:#061827!important}.activity-card small,.winner-card small{color:#64748b!important}.activity-card strong{background:#061827!important;color:#fff!important}.hall-link{display:inline-flex;align-items:center;gap:8px;background:#061827;color:#fff!important;border-radius:999px;padding:10px 14px;font-weight:1000}.ranking-hero-card p,.leader-info span,.muted{color:#64748b!important}.lang-wrap select option{font-weight:800}.global-stats-v125{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:28px 0}.global-stats-v125>div{background:#fff;border:1px solid #e2e8f0;border-radius:24px;padding:20px;text-align:center;box-shadow:0 16px 45px rgba(6,24,39,.06)}.global-stats-v125 strong{display:block;font-size:34px;color:#061827}.global-stats-v125 span{font-weight:900;color:#64748b}
@media(max-width:980px){.prizes-v125 .ranking-prizes-panel,.prizes-v125 .prize-podium,.raffle-grid-v125,.global-stats-v125{grid-template-columns:1fr!important}.raffle-section-v125 .raffle-head{display:block}.raffle-section-v125 .raffle-head .btn{width:100%;margin-top:14px}.prize-title-wrap h2{font-size:36px}.season-reset-card{display:block}.season-reset-card .reset-date{margin-top:12px;text-align:center}.prizes-v125 .prize-feature-card.gold,.prizes-v125 .prize-feature-card{min-height:auto}.prizes-v125 .ranking-prizes-copy h2{font-size:31px}.raffle-section-v125 .raffle-head h2{font-size:28px}}
@media(max-width:560px){.prizes-page{padding-top:28px}.prizes-v125 .ranking-prizes-panel,.raffle-section-v125,.winners-section,.activity-strip{border-radius:24px;padding:18px}.raffle-card-v125 .raffle-cover{height:150px}.prizes-v125 .prize-feature-card h3{font-size:25px}.prize-title-wrap h2{font-size:32px}}

/* V1.27 - Discover nearby points */
.scan-section{margin-top:18px;text-align:left;background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:24px;padding:18px;box-shadow:0 18px 45px rgba(15,23,42,.08)}
.scan-section h2{margin:0 0 6px;color:#0f172a;font-size:20px;font-weight:900;letter-spacing:-.03em}.scan-section p{margin:0 0 14px;color:#64748b;font-weight:700}.scan-section.muted{background:#f8fafc}.scan-place-list{display:grid;gap:10px}.scan-place-card{display:grid;grid-template-columns:58px 1fr auto;align-items:center;gap:12px;border-radius:20px;background:#fff;border:1px solid rgba(15,23,42,.08);padding:12px;box-shadow:0 10px 25px rgba(15,23,42,.06);position:relative;overflow:hidden}.scan-place-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:#94a3b8}.scan-place-card.rarity-rare:before{background:#3b82f6}.scan-place-card.rarity-epic:before{background:#8b5cf6}.scan-place-card.rarity-legendary:before{background:linear-gradient(180deg,#f59e0b,#facc15)}.scan-place-logo{width:58px;height:58px;border-radius:18px;background:#fff7cc;border:1px solid rgba(246,198,16,.45);display:flex;align-items:center;justify-content:center;overflow:hidden}.scan-place-logo img{width:100%;height:100%;object-fit:cover}.scan-place-logo .svg-icon{width:28px;height:28px;color:#111827}.scan-place-info{min-width:0}.scan-place-info b{display:block;color:#0f172a;font-size:15px;font-weight:950;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scan-place-info span{display:block;color:#334155;font-weight:800;font-size:12px;margin-top:2px}.scan-place-info small{display:block;color:#64748b;font-weight:700;font-size:11px;margin-top:3px}.mini-discover{min-width:96px;padding:10px 12px;border-radius:14px;font-size:12px;white-space:nowrap}.need-closer{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#f1f5f9;color:#64748b;font-weight:900;font-size:11px;padding:8px 10px;white-space:nowrap}@media(max-width:560px){.scan-section{padding:14px;border-radius:20px}.scan-place-card{grid-template-columns:50px 1fr;gap:10px}.scan-place-logo{width:50px;height:50px;border-radius:16px}.mini-discover,.need-closer{grid-column:1 / -1;width:100%;margin-top:2px}.scan-place-info b{font-size:14px}}

/* === V1.28: uploads + easier GPS + cleaner admin mini dashboard === */
.upload-field{background:#f8fafc;border:1px solid #e2e8f0;border-radius:20px;padding:16px;display:grid;gap:10px;align-content:start}
.upload-field label{font-weight:1000;color:#061827;font-size:14px;text-transform:uppercase;letter-spacing:.4px}
.upload-field input[type=file]{display:block;width:100%;background:#fff;border:1px dashed #cbd5e1;border-radius:16px;padding:14px;color:#334155;font-weight:800}
.upload-field small,.form-hint{color:#64748b;font-weight:800;line-height:1.35}
.upload-preview{width:92px;height:92px;border-radius:24px;overflow:hidden;background:#fff;border:1px solid #e2e8f0;box-shadow:0 10px 24px rgba(6,24,39,.08);display:grid;place-items:center}
.upload-preview.wide{width:100%;height:150px;border-radius:22px}
.upload-preview img{width:100%;height:100%;object-fit:cover;display:block}
.geo-helper{display:flex;align-items:center;justify-content:space-between;gap:18px;background:linear-gradient(135deg,#061827,#0b2a43);color:#fff;border-radius:22px;padding:18px;border:1px solid rgba(255,255,255,.08)}
.geo-helper b{display:block;font-size:18px;margin-bottom:4px}.geo-helper p{margin:0;color:#dbeafe;font-weight:800;line-height:1.35}.geo-helper .btn{white-space:nowrap;background:#fff;color:#061827}
.admin-app-kpi{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:6px!important;color:#061827!important;overflow:hidden!important}
.admin-app-kpi small{font-size:12px!important;text-transform:uppercase!important;letter-spacing:.7px!important;font-weight:1000!important;color:#334155!important;display:block!important}.admin-app-kpi strong{display:block!important;font-size:46px!important;line-height:.95!important;color:#061827!important}.admin-app-kpi span{display:block!important;background:rgba(255,255,255,.55)!important;border-radius:999px!important;padding:7px 10px!important;font-size:12px!important;font-weight:1000!important;color:#061827!important;width:auto!important}
.admin-form input[type=file]{font-family:inherit}.admin-form .upload-field.full{grid-column:1/-1}
@media(max-width:760px){.geo-helper{display:block}.geo-helper .btn{width:100%;margin-top:14px}.upload-preview.wide{height:120px}}

/* V1.30 - Admin checkpoint search + pagination */
.admin-list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0 14px;background:#fff;border:1px solid rgba(6,24,39,.07);box-shadow:0 16px 40px rgba(6,24,39,.06);border-radius:24px;padding:14px}
.admin-search-form{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.admin-search-form .input{height:48px;min-width:260px;flex:1;margin:0}.admin-search-form .btn{height:48px;border-radius:14px;white-space:nowrap}.admin-list-count{display:flex;align-items:baseline;gap:8px;padding:10px 14px;border-radius:18px;background:#fff7db;color:#061827;font-weight:1000;white-space:nowrap}.admin-list-count b{font-size:24px;line-height:1}.admin-list-count span{font-size:12px;text-transform:uppercase;letter-spacing:.45px;color:#475569}.empty-row{text-align:center!important;padding:32px!important;color:#64748b!important;font-weight:900!important;background:#f8fafc!important}.admin-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin:18px 0 6px}.admin-pagination span{background:#fff;border:1px solid #e2e8f0;border-radius:999px;padding:10px 16px;color:#061827;font-weight:900}.page-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 16px;border-radius:999px;background:#061827;color:#fff!important;text-decoration:none;font-weight:1000;box-shadow:0 12px 26px rgba(6,24,39,.12)}.page-btn.disabled{opacity:.38;pointer-events:none;box-shadow:none}
@media(max-width:760px){.admin-list-toolbar{display:block;padding:12px;border-radius:20px}.admin-search-form{display:grid;grid-template-columns:1fr;gap:9px}.admin-search-form .input{min-width:0;width:100%}.admin-search-form .btn{width:100%}.admin-list-count{justify-content:center;margin-top:10px}.admin-pagination{gap:8px}.admin-pagination span{font-size:13px;padding:9px 12px}.page-btn{padding:9px 12px;font-size:13px}}


/* ScanToWin V1.33 mobile UX stability patch */
html, body{max-width:100%;overflow-x:hidden;}
body{overscroll-behavior-x:none;-webkit-text-size-adjust:100%;touch-action:pan-y;}
img,svg,video,canvas{max-width:100%;}
*{min-width:0;}
.app-main,.main,.container,.phone-dashboard,.section,.ranking-page,.prizes-page{max-width:100%;overflow-x:hidden;}
.mobile-bottom.stw-mobile-nav,.mobile-bottom{box-sizing:border-box;}
.mobile-bottom a span{display:block;}
.mobile-bottom a.active{color:#061827;}
.mobile-bottom a.active .svg-icon{color:#061827;}
.mobile-bottom .scan-fab.active .svg-icon,.mobile-bottom .scan-fab .svg-icon{color:#061827;}

@media(max-width:760px){
  body{background:#f6f7fb;padding-bottom:calc(86px + env(safe-area-inset-bottom));}
  .footer{padding-bottom:110px;}
  .nav{height:auto;position:sticky;top:0;z-index:90;background:#fff;}
  .nav-inner{padding:10px 0;gap:10px;display:grid;grid-template-columns:1fr;justify-items:center;}
  .nav .logo{font-size:20px;}
  .nav-actions{width:100%;display:grid!important;grid-template-columns:.72fr 1fr 1fr;gap:8px;}
  .nav-actions .btn,.nav-actions .lang-wrap{height:58px;border-radius:18px;font-size:15px;padding:0 10px;}
  .nav-actions .btn{display:flex!important;}
  .lang-wrap{display:flex;align-items:center;justify-content:center;background:#fff;border:2px solid #d7dde5;}
  .lang-wrap .svg-icon{display:none;}
  .lang-select{border:0!important;height:100%;width:100%;font-size:15px;background:transparent;text-align:center;}
  .mobile-bottom{display:flex!important;position:fixed!important;left:0!important;right:0!important;bottom:0!important;height:76px;padding:8px 10px calc(10px + env(safe-area-inset-bottom))!important;background:rgba(255,255,255,.96)!important;backdrop-filter:blur(16px);border-top:1px solid #e5e7eb;box-shadow:0 -14px 35px rgba(7,25,39,.10);z-index:9999!important;justify-content:space-around;align-items:center;}
  .mobile-bottom a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;flex:1;min-width:0;color:#061827;font-size:11px;font-weight:1000;line-height:1.05;text-align:center;}
  .mobile-bottom a .svg-icon{width:23px!important;height:23px!important;color:#061827;}
  .mobile-bottom .scan-fab{flex:0 0 76px;width:76px;height:76px;border-radius:28px;margin-top:-34px;background:linear-gradient(135deg,#ffd54a,#ffb800);box-shadow:0 18px 45px rgba(255,184,0,.38);display:grid!important;place-items:center;}
  .mobile-bottom .scan-fab .svg-icon{width:28px!important;height:28px!important;color:#061827!important;}

  .main,.app-main{padding-left:0!important;padding-right:0!important;padding-bottom:110px!important;}
  .phone-dashboard{width:min(100% - 28px, 430px)!important;margin:0 auto 18px!important;border-radius:34px!important;padding:24px 16px!important;overflow:hidden;}
  .phone-dashboard .app-grid-main{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;}
  .phone-dashboard .app-grid-main .app-tile{height:128px!important;border-radius:24px!important;min-width:0;}
  .phone-dashboard .app-grid-main .app-tile .svg-icon{width:36px!important;height:36px!important;}

  .recent-unlocks{width:100%!important;max-width:100%!important;padding:0 14px 14px!important;margin:18px 0!important;overflow:hidden;}
  .recent-unlocks .section-head{padding:0 8px;}
  .mini-collection{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;width:100%!important;overflow:visible!important;}
  .mini-unlock{width:100%!important;max-width:100%!important;min-width:0!important;border-radius:22px!important;padding:10px!important;overflow:hidden!important;}
  .mini-unlock-img{width:100%!important;height:118px!important;border-radius:18px!important;background-size:cover!important;background-position:center!important;}
  .mini-unlock b{display:block;font-size:14px;line-height:1.15;margin-top:10px;white-space:normal!important;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;}
  .mini-unlock small{display:block;font-size:12px;line-height:1.2;margin-top:4px;}

  .collection-grid{display:grid!important;grid-template-columns:1fr!important;gap:14px!important;padding:0 14px 110px!important;width:100%!important;max-width:100%!important;overflow:hidden!important;}
  .discover-card{width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important;border-radius:24px!important;}
  .discover-cover{height:178px!important;background-size:cover!important;background-position:center!important;}
  .discover-info{display:grid!important;grid-template-columns:58px 1fr!important;gap:12px!important;align-items:center!important;min-width:0;}
  .discover-info h3,.discover-info p,.discover-info small{max-width:100%;overflow:hidden;text-overflow:ellipsis;}
  .discover-logo{width:58px!important;height:58px!important;border-radius:18px!important;overflow:hidden;display:grid;place-items:center;background:#fff;}
  .discover-logo img{width:100%;height:100%;object-fit:cover;}

  .ranking-hero{padding:0!important;}
  .ranking-hero-card{border-radius:0 0 32px 32px!important;padding:30px 22px!important;display:block!important;overflow:hidden!important;}
  .ranking-hero-card h1{font-size:42px!important;line-height:1.03!important;margin:10px 0 18px!important;}
  .ranking-hero-card p{font-size:17px!important;line-height:1.45!important;color:#cbd5e1!important;}
  .ranking-stat{width:100%!important;margin-top:18px!important;border-radius:24px!important;padding:20px!important;}
  .podium-wrap{display:grid!important;grid-template-columns:1fr!important;gap:14px!important;padding:0 14px!important;margin-top:22px!important;}
  .podium-card{width:100%!important;max-width:100%!important;border-radius:28px!important;min-height:auto!important;padding:24px 18px!important;overflow:hidden!important;}
  .podium-card h3{font-size:27px!important;line-height:1.1!important;word-break:break-word;}
  .podium-card strong{font-size:34px!important;line-height:1.1!important;}
  .leaderboard-card,.winner-strip,.activity-strip{border-radius:26px!important;margin:18px 14px!important;padding:18px!important;overflow:hidden!important;}
  .leaderboard-head{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;}
  .leader-row{grid-template-columns:42px 48px 1fr!important;gap:10px!important;padding:13px!important;overflow:hidden;}
  .leader-points{grid-column:1/-1!important;display:flex!important;align-items:center!important;justify-content:space-between!important;background:#f8fafc;border-radius:16px;padding:10px 12px;margin-top:6px;}

  .prizes-page{padding-top:28px!important;overflow:hidden!important;}
  .prize-title-wrap{padding:0 18px!important;}
  .prize-title-wrap h2{font-size:40px!important;line-height:1.05!important;}
  .prize-title-wrap p{font-size:18px!important;line-height:1.42!important;color:#64748b!important;}
  .season-reset-card{border-radius:24px!important;margin:20px 0!important;padding:18px!important;display:block!important;}
  .ranking-prizes-panel{display:grid!important;grid-template-columns:1fr!important;margin:20px 14px!important;border-radius:28px!important;padding:22px!important;overflow:hidden!important;}
  .prizes-v125 .prize-podium{display:grid!important;grid-template-columns:1fr!important;gap:14px!important;}
  .prizes-v125 .prize-feature-card{min-height:auto!important;padding:20px!important;border-radius:24px!important;}
  .raffle-section-v125{margin:18px 14px!important;border-radius:28px!important;padding:18px!important;overflow:hidden!important;}
  .raffle-section-v125 .raffle-head{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;}
  .raffle-grid-v125{display:grid!important;grid-template-columns:1fr!important;gap:14px!important;}
  .raffle-card-v125{border-radius:24px!important;overflow:hidden!important;}
  .raffle-card-v125 .raffle-cover{height:170px!important;background-size:cover!important;background-position:center!important;}
  .winner-carousel,.activity-carousel,.dash-carousel{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;}
  .winner-card,.activity-card,.dash-raffle-card,.winner-pill{max-width:86vw!important;min-width:78vw!important;}
}

@media(max-width:380px){
  .phone-dashboard .app-grid-main .app-tile{height:112px!important;}
  .mini-collection{grid-template-columns:1fr!important;}
  .nav-actions{grid-template-columns:.62fr .92fr 1fr;}
  .nav-actions .btn{font-size:13px;}
}

/* ScanToWin V1.34 - fixed mobile bottom navigation alignment */
@media (max-width: 760px){
  html, body{
    width:100% !important;
    max-width:100% !important;
    overflow-x:hidden !important;
  }
  body{
    padding-bottom:calc(96px + env(safe-area-inset-bottom)) !important;
  }
  .mobile-bottom.stw-mobile-nav,
  nav.mobile-bottom.stw-mobile-nav{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) 82px minmax(0,1fr) minmax(0,1fr) !important;
    position:fixed !important;
    left:50% !important;
    right:auto !important;
    bottom:0 !important;
    transform:translateX(-50%) !important;
    width:min(100%,520px) !important;
    max-width:520px !important;
    height:82px !important;
    min-height:82px !important;
    padding:8px 8px calc(10px + env(safe-area-inset-bottom)) !important;
    margin:0 !important;
    gap:0 !important;
    align-items:center !important;
    justify-items:center !important;
    justify-content:normal !important;
    overflow:visible !important;
    border-radius:26px 26px 0 0 !important;
    background:rgba(255,255,255,.98) !important;
    box-shadow:0 -14px 35px rgba(7,25,39,.13) !important;
    border-top:1px solid #e5e7eb !important;
    z-index:99999 !important;
  }
  .mobile-bottom.stw-mobile-nav > a,
  nav.mobile-bottom.stw-mobile-nav > a{
    position:relative !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:4px !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    height:56px !important;
    min-height:0 !important;
    padding:0 !important;
    margin:0 !important;
    flex:none !important;
    border-radius:16px !important;
    color:#061827 !important;
    font-size:11px !important;
    line-height:1.05 !important;
    font-weight:1000 !important;
    text-align:center !important;
    white-space:normal !important;
  }
  .mobile-bottom.stw-mobile-nav > a:nth-child(1){grid-column:1 !important;}
  .mobile-bottom.stw-mobile-nav > a:nth-child(2){grid-column:2 !important;}
  .mobile-bottom.stw-mobile-nav > a:nth-child(3){grid-column:3 !important;}
  .mobile-bottom.stw-mobile-nav > a:nth-child(4){grid-column:4 !important;}
  .mobile-bottom.stw-mobile-nav > a:nth-child(5){grid-column:5 !important;}

  .mobile-bottom.stw-mobile-nav > a span{
    display:block !important;
    max-width:100% !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }
  .mobile-bottom.stw-mobile-nav > a .svg-icon{
    width:24px !important;
    height:24px !important;
    font-size:24px !important;
    color:#061827 !important;
    flex:0 0 auto !important;
  }
  .mobile-bottom.stw-mobile-nav .scan-fab,
  nav.mobile-bottom.stw-mobile-nav .scan-fab{
    width:74px !important;
    height:74px !important;
    min-width:74px !important;
    min-height:74px !important;
    max-width:74px !important;
    max-height:74px !important;
    border-radius:26px !important;
    background:linear-gradient(135deg,#ffd84f,#ffb800) !important;
    box-shadow:0 18px 38px rgba(255,184,0,.52) !important;
    display:grid !important;
    place-items:center !important;
    align-self:center !important;
    justify-self:center !important;
    margin:0 !important;
    padding:0 !important;
    flex:none !important;
    position:relative !important;
    left:auto !important;
    right:auto !important;
    top:auto !important;
    bottom:auto !important;
    transform:translateY(-24px) !important;
    z-index:2 !important;
  }
  .mobile-bottom.stw-mobile-nav .scan-fab span{
    display:none !important;
  }
  .mobile-bottom.stw-mobile-nav .scan-fab .svg-icon{
    width:32px !important;
    height:32px !important;
    font-size:32px !important;
    color:#061827 !important;
  }
  .mobile-bottom.stw-mobile-nav a.active:not(.scan-fab){
    background:#f8fafc !important;
  }
  .mobile-bottom.stw-mobile-nav .scan-fab.active{
    outline:3px solid rgba(255,184,0,.28) !important;
  }

  .main,.app-main,.scan-page,.prizes-v125,.ranking-page,.collection-page{
    max-width:100% !important;
    overflow-x:hidden !important;
  }
}


/* ScanToWin V1.35 - unified mobile bottom navigation across Dashboard, Collection, Ranking and Prizes */
@media (max-width: 760px){
  .mobile-bottom.stw-mobile-nav,
  nav.mobile-bottom.stw-mobile-nav{
    display:grid !important;
    grid-template-columns:1fr 1fr 82px 1fr 1fr !important;
    position:fixed !important;
    left:50% !important;
    right:auto !important;
    bottom:0 !important;
    transform:translateX(-50%) !important;
    width:min(100vw,520px) !important;
    max-width:520px !important;
    height:84px !important;
    padding:8px 8px calc(10px + env(safe-area-inset-bottom)) !important;
    margin:0 !important;
    gap:0 !important;
    align-items:center !important;
    justify-items:center !important;
    overflow:visible !important;
    background:rgba(255,255,255,.985) !important;
    border-top:1px solid #e5e7eb !important;
    border-radius:26px 26px 0 0 !important;
    box-shadow:0 -16px 38px rgba(7,25,39,.14) !important;
    z-index:2147483000 !important;
  }
  .mobile-bottom.stw-mobile-nav > a{
    width:100% !important;
    min-width:0 !important;
    height:58px !important;
    margin:0 !important;
    padding:0 !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:4px !important;
    text-align:center !important;
    font-size:11px !important;
    font-weight:1000 !important;
    line-height:1.05 !important;
    color:#64748b !important;
    border-radius:16px !important;
    transform:none !important;
    position:relative !important;
  }
  .mobile-bottom.stw-mobile-nav > a:nth-child(1){grid-column:1!important;}
  .mobile-bottom.stw-mobile-nav > a:nth-child(2){grid-column:2!important;}
  .mobile-bottom.stw-mobile-nav > a:nth-child(3){grid-column:3!important;}
  .mobile-bottom.stw-mobile-nav > a:nth-child(4){grid-column:4!important;}
  .mobile-bottom.stw-mobile-nav > a:nth-child(5){grid-column:5!important;}
  .mobile-bottom.stw-mobile-nav > a .svg-icon{
    width:24px !important;
    height:24px !important;
    color:#061827 !important;
  }
  .mobile-bottom.stw-mobile-nav > a span{
    display:block !important;
    max-width:100% !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
  }
  .mobile-bottom.stw-mobile-nav .scan-fab{
    width:76px !important;
    height:76px !important;
    min-width:76px !important;
    min-height:76px !important;
    border-radius:28px !important;
    background:linear-gradient(135deg,#ffd84f,#ffb800) !important;
    box-shadow:0 18px 42px rgba(255,184,0,.52) !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    transform:translateY(-25px) !important;
    padding:0 !important;
    margin:0 !important;
    overflow:hidden !important;
    z-index:3 !important;
  }
  .mobile-bottom.stw-mobile-nav .scan-fab img{
    width:42px !important;
    height:42px !important;
    display:block !important;
    object-fit:contain !important;
  }
  .mobile-bottom.stw-mobile-nav .scan-fab .svg-icon{
    width:34px !important;
    height:34px !important;
    color:#061827 !important;
  }
  .mobile-bottom.stw-mobile-nav a.active:not(.scan-fab){
    background:#f8fafc !important;
    color:#061827 !important;
  }
  .app-main,.main,.scan-page{padding-bottom:112px !important;}
}

/* ScanToWin V1.37 - UX polish, dashboard header, ranking labels and mobile consistency */
@media (max-width:760px){
  .dashboard-topbar{align-items:center!important;gap:12px!important;padding:10px 14px!important;}
  .hello-card{display:flex!important;align-items:center!important;gap:12px!important;background:rgba(255,255,255,.92)!important;border:1px solid #eef2f7!important;border-radius:22px!important;padding:10px 12px!important;box-shadow:0 12px 28px rgba(7,25,39,.07)!important;min-width:0!important;flex:1!important;}
  .hello-card.compact{padding:9px 11px!important;}
  .hello-avatar{width:42px;height:42px;border-radius:15px;background:linear-gradient(135deg,#ffcf3d,#ffb800);display:grid;place-items:center;color:#061827;font-weight:1000;font-size:18px;box-shadow:0 10px 20px rgba(255,184,0,.28);flex:0 0 auto;}
  .hello-card small{display:block!important;color:#64748b!important;font-weight:900!important;font-size:12px!important;line-height:1.1!important;}
  .hello-card b{display:block!important;color:#061827!important;font-size:17px!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:185px!important;}
  .hello-card span{display:block!important;color:#64748b!important;font-size:11px!important;font-weight:800!important;line-height:1.2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:210px!important;margin-top:2px!important;}
  .points-card.app-points{border-radius:30px!important;padding:24px 22px!important;}
  .points-card.app-points small{font-size:13px!important;letter-spacing:.05em!important;text-transform:uppercase!important;color:rgba(6,24,39,.72)!important;}
  .points-card.app-points strong{font-size:58px!important;line-height:.95!important;letter-spacing:-1px!important;color:#061827!important;}
  .points-meta{margin-top:12px!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;}
  .points-meta span{background:rgba(255,255,255,.55)!important;border:1px solid rgba(255,255,255,.7)!important;border-radius:14px!important;padding:9px 8px!important;text-align:center!important;color:#061827!important;font-size:12px!important;line-height:1.12!important;}
  .collection-grid{grid-template-columns:1fr!important;gap:14px!important;padding:0 14px 120px!important;}
  .discover-card{width:100%!important;max-width:100%!important;border-radius:24px!important;}
  .discover-cover{height:155px!important;width:100%!important;background-size:cover!important;background-position:center!important;}
  .discover-info{display:grid!important;grid-template-columns:54px minmax(0,1fr)!important;align-items:start!important;}
  .discover-info h3,.discover-info p,.discover-info small{max-width:100%!important;overflow:hidden!important;}
  .discover-info h3{white-space:nowrap!important;text-overflow:ellipsis!important;}
  .discover-info p{display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;max-height:none!important;}
  .discover-logo{width:52px!important;height:52px!important;border-radius:17px!important;background:#fff!important;}
  .discover-logo img{width:100%!important;height:100%!important;object-fit:contain!important;padding:7px!important;}
  .ranking-hero.section{padding:18px 12px 4px!important;}
  .ranking-hero-card{border-radius:28px!important;padding:22px!important;display:grid!important;grid-template-columns:1fr!important;gap:14px!important;}
  .ranking-hero-card h1{font-size:40px!important;line-height:1!important;}
  .ranking-hero-card p{color:#475569!important;line-height:1.38!important;}
  .ranking-stat{justify-self:stretch!important;border-radius:22px!important;}
  .leaderboard-card,.winner-strip,.activity-strip{margin-left:12px!important;margin-right:12px!important;border-radius:26px!important;overflow:hidden!important;}
  .leaderboard-head{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;}
  .leader-row{grid-template-columns:44px 48px minmax(0,1fr) auto!important;gap:10px!important;padding:12px!important;}
  .leader-info b,.leader-info span{max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .leader-info b{white-space:nowrap!important;}
  .leader-points strong{font-size:18px!important;}
  .prize-title-wrap h2{color:#061827!important;}
  .prize-title-wrap p,.raffle-content p,.ranking-prizes-copy p{color:#475569!important;}
  .raffle-card-v125{background:#fff!important;color:#061827!important;}
  .raffle-content h3{color:#061827!important;}
  .raffle-content p{color:#475569!important;}
  .raffle-meta span{color:#061827!important;background:#f8fafc!important;border-color:#e2e8f0!important;}
  .raffle-status{color:#061827!important;background:#fff7d6!important;border:1px solid #fde68a!important;}
}

@media (min-width:761px){
  .hello-card{display:flex;align-items:center;gap:12px;}
}

/* ScanToWin V1.38 - collection mobile redesign */
.rarity-progress-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px;}
.rarity-progress-chip{border-radius:16px;padding:11px 10px;background:#f8fafc;border:1px solid #e2e8f0;display:grid;gap:3px;min-width:0;}
.rarity-progress-chip span{font-size:11px;font-weight:1000;color:#475569;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.rarity-progress-chip strong{font-size:18px;color:#061827;line-height:1;}
.rarity-progress-chip small{font-size:11px;font-weight:1000;color:#64748b;}
.rarity-chip-common{border-color:#cbd5e1;background:linear-gradient(180deg,#fff,#f8fafc)}
.rarity-chip-rare{border-color:#7dd3fc;background:linear-gradient(180deg,#ecfeff,#fff)}
.rarity-chip-epic{border-color:#d8b4fe;background:linear-gradient(180deg,#faf5ff,#fff)}
.rarity-chip-legendary{border-color:#facc15;background:linear-gradient(180deg,#fffbeb,#fff7d6)}
.rarity-pill{position:absolute;top:9px;left:9px;z-index:2;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:1000;color:#061827;background:#fff;box-shadow:0 8px 18px rgba(7,25,39,.12);}
.rarity-pill-common{background:#f8fafc;border:1px solid #cbd5e1;}
.rarity-pill-rare{background:#e0f2fe;border:1px solid #7dd3fc;}
.rarity-pill-epic{background:#f3e8ff;border:1px solid #d8b4fe;}
.rarity-pill-legendary{background:#fef3c7;border:1px solid #facc15;}
.collection-card-v138 .discover-info h3{white-space:normal;overflow:visible;text-overflow:clip;word-break:normal;hyphens:auto;}

@media(max-width:760px){
  .collection-hero-v138{margin:0 14px 14px!important;border-radius:26px!important;padding:20px!important;}
  .collection-hero-v138 h1{font-size:30px!important;line-height:1.02!important;}
  .collection-progress-v138{margin:14px!important;border-radius:24px!important;padding:16px!important;}
  .collection-progress-v138 .progress-header strong{font-size:18px!important;}
  .collection-progress-v138 .progress-header b{font-size:24px!important;}
  .rarity-progress-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;}
  .rarity-progress-chip{padding:10px!important;border-radius:16px!important;}
  .rarity-progress-chip span{font-size:10px!important;}
  .rarity-progress-chip strong{font-size:17px!important;}
  .collection-grid.collection-grid-v138,
  .collection-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;padding:0 14px 120px!important;width:100%!important;max-width:520px!important;margin:0 auto!important;overflow:visible!important;}
  .collection-card-v138{border-radius:22px!important;min-width:0!important;overflow:hidden!important;}
  .collection-cover-v138,.collection-card-v138 .discover-cover{height:118px!important;border-radius:0!important;background-size:cover!important;background-position:center!important;}
  .collection-card-v138 .lock-layer span{font-size:11px!important;}
  .collection-card-v138 .lock-layer .svg-icon{width:22px!important;height:22px!important;}
  .collection-info-v138,.discover-info.collection-info-v138{display:block!important;padding:11px!important;min-width:0!important;}
  .collection-info-v138 .discover-logo{width:46px!important;height:46px!important;border-radius:15px!important;margin:-34px 0 8px!important;box-shadow:0 10px 24px rgba(7,25,39,.15)!important;}
  .collection-info-v138 .discover-logo img{object-fit:contain!important;padding:6px!important;}
  .collection-text-v138 h3,.collection-card-v138 .discover-info h3{font-size:14px!important;line-height:1.15!important;margin:0 0 5px!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;min-height:32px!important;}
  .collection-text-v138 p,.collection-card-v138 .discover-info p{font-size:11.5px!important;line-height:1.25!important;margin:0!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;min-height:29px!important;color:#64748b!important;}
  .collection-text-v138 small,.collection-card-v138 .discover-info small{display:block!important;font-size:10.5px!important;line-height:1.2!important;margin-top:7px!important;color:#64748b!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;}
  .rarity-pill{top:8px!important;left:8px!important;padding:5px 7px!important;font-size:9.5px!important;max-width:calc(100% - 16px)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .locked .collection-cover-v138{filter:none!important;}
}
@media(max-width:380px){
  .collection-grid.collection-grid-v138,.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;padding-left:10px!important;padding-right:10px!important;}
  .collection-cover-v138,.collection-card-v138 .discover-cover{height:104px!important;}
  .collection-text-v138 h3,.collection-card-v138 .discover-info h3{font-size:13px!important;}
}


/* === V1.40 consumption reward polish + Lithuanian selector safe styles === */
.business-reward-highlight{display:flex;align-items:center;gap:14px;background:linear-gradient(135deg,#061827,#0b2d49);color:#fff;border-radius:26px;padding:16px;margin:16px 0;box-shadow:0 18px 48px rgba(6,24,39,.20)}
.business-reward-highlight .reward-icon{width:54px;height:54px;border-radius:18px;background:#ffb800;color:#061827;display:grid;place-items:center;flex:0 0 auto}
.business-reward-highlight .reward-icon svg{width:26px;height:26px;fill:currentColor}.business-reward-highlight small{display:block;color:#fbbf24;font-weight:1000;text-transform:uppercase;letter-spacing:.5px}.business-reward-highlight strong{display:block;color:#fff;font-size:22px;line-height:1.1}.business-reward-highlight span{display:block;color:#dbeafe;font-weight:800;font-size:12px;line-height:1.25;margin-top:3px}.business-reward-highlight .btn{margin-left:auto;white-space:nowrap}.consumption-card{border:2px solid rgba(255,184,0,.35)!important;box-shadow:0 20px 55px rgba(6,24,39,.10)!important}.consumption-form .code-input{text-transform:uppercase;text-align:center;letter-spacing:6px;font-size:28px;font-weight:1000;height:64px}.locked-feature{opacity:.92;background:#f8fafc!important}.lang-select{font-family:inherit}.lang-select option{font-size:15px}
@media(max-width:760px){.business-reward-highlight{flex-direction:column;align-items:stretch;text-align:left}.business-reward-highlight .btn{margin-left:0;width:100%;justify-content:center}.consumption-form .code-input{font-size:24px;letter-spacing:4px}.business-app-v122 .phone-dashboard{padding-bottom:96px}}

/* V1.41 business reward UI fixes */
.business-consumption-desktop{margin-top:24px;padding:26px;border-radius:26px;background:#fff;box-shadow:0 18px 45px rgba(2,18,33,.08)}
.business-consumption-desktop h2{display:flex;align-items:center;gap:10px;margin:0 0 8px;color:#06192b}
.business-consumption-desktop p{color:#64748b;font-weight:700;margin:0 0 18px;max-width:760px}
.consumption-form-desktop{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:14px;align-items:center;max-width:760px}
.consumption-form-desktop .code-input{text-transform:uppercase;letter-spacing:3px;font-weight:900;font-size:20px;text-align:center}
.business-app-v122 .card h3,.business-app-v122 h2{color:#06192b}
.business-app-v122 .table th{color:#06192b}
.business-app-v122 .table td{color:#06192b}
@media(max-width:760px){.consumption-form-desktop{grid-template-columns:1fr}.desktop-only{display:none!important}}


/* ===== ScanToWin V1.45: sección global con países estilo juego ===== */
.stw-global-section{
  position:relative;
  padding:90px 0 52px;
  background:
    radial-gradient(circle at 50% 0, rgba(255,184,0,.13), transparent 34%),
    linear-gradient(180deg,#fffaf0 0%,#ffffff 62%);
  overflow:hidden;
}
.stw-global-section:before{
  content:"";
  position:absolute;
  inset:20px 0 auto 0;
  height:260px;
  background:
    radial-gradient(circle at 18% 35%, rgba(255,184,0,.12), transparent 22%),
    radial-gradient(circle at 82% 28%, rgba(6,24,39,.07), transparent 26%);
  pointer-events:none;
}
.stw-global-head{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:32px;
  align-items:end;
  margin-bottom:34px;
}
.stw-global-head h2{
  margin:8px 0 12px;
  font-size:clamp(34px,4vw,58px);
  line-height:.95;
  letter-spacing:-1.4px;
  color:#061827;
}
.stw-global-head p{
  max-width:760px;
  margin:0;
  color:#64748b;
  font-size:18px;
  line-height:1.55;
  font-weight:800;
}
.stw-global-stats{
  display:flex;
  gap:12px;
  padding:10px;
  border:1px solid rgba(7,25,39,.08);
  border-radius:24px;
  background:rgba(255,255,255,.78);
  box-shadow:0 18px 50px rgba(7,25,39,.08);
  backdrop-filter:blur(16px);
}
.stw-global-stats div{
  min-width:108px;
  padding:16px 14px;
  border-radius:18px;
  background:#fff;
  text-align:center;
}
.stw-global-stats strong{
  display:block;
  font-size:28px;
  line-height:1;
  color:#061827;
}
.stw-global-stats span{
  display:block;
  margin-top:6px;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.4px;
  font-weight:1000;
  color:#64748b;
}
.stw-country-carousel{
  position:relative;
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:18px;
}
.stw-country-card{
  position:relative;
  min-height:238px;
  padding:22px;
  border-radius:30px;
  overflow:hidden;
  color:#fff;
  text-decoration:none;
  box-shadow:0 24px 70px rgba(7,25,39,.16);
  transform:translateZ(0);
  transition:transform .22s ease, box-shadow .22s ease;
}
.stw-country-card:hover{
  transform:translateY(-8px);
  box-shadow:0 34px 88px rgba(7,25,39,.23);
}
.stw-country-card.spain{background:linear-gradient(135deg,#ef4444 0%,#ffb800 100%)}
.stw-country-card.germany{background:linear-gradient(135deg,#101827 0%,#facc15 58%,#ef4444 100%)}
.stw-country-card.france{background:linear-gradient(135deg,#2563eb 0%,#ffffff 52%,#ef4444 100%);color:#061827}
.stw-country-card.poland{background:linear-gradient(135deg,#ffffff 0%,#f8fafc 42%,#dc2626 100%);color:#061827}
.stw-country-card.lithuania{background:linear-gradient(135deg,#facc15 0%,#16a34a 54%,#ef4444 100%)}
.stw-country-card.world{background:linear-gradient(135deg,#061827,#ffb800)}
.stw-country-bg{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 82% 18%, rgba(255,255,255,.55), transparent 22%),
    radial-gradient(circle at 18% 88%, rgba(255,255,255,.22), transparent 26%),
    linear-gradient(180deg,rgba(255,255,255,.12),rgba(0,0,0,.20));
}
.stw-country-flag{
  position:relative;
  width:74px;
  height:74px;
  display:grid;
  place-items:center;
  border-radius:26px;
  background:rgba(255,255,255,.92);
  box-shadow:0 18px 40px rgba(7,25,39,.18);
  font-size:42px;
}
.stw-country-body{
  position:absolute;
  left:22px;
  right:22px;
  bottom:22px;
}
.stw-country-body h3{
  margin:0 0 6px;
  font-size:26px;
  line-height:1;
  color:inherit;
  text-shadow:0 2px 14px rgba(0,0,0,.18);
}
.stw-country-body p{
  margin:0 0 12px;
  font-size:15px;
  font-weight:1000;
  color:inherit;
  opacity:.92;
}
.stw-country-pill{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:8px 13px;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  color:#061827;
  font-size:12px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.35px;
  box-shadow:0 10px 22px rgba(7,25,39,.13);
}
.stw-country-card.is-coming{
  filter:saturate(.86);
}
.stw-country-card.is-coming .stw-country-pill{
  background:rgba(6,24,39,.88);
  color:#fff;
}
.stw-country-arrow{
  position:absolute;
  right:18px;
  top:18px;
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:16px;
  background:rgba(255,255,255,.90);
  color:#061827;
  font-size:24px;
  font-weight:1000;
  box-shadow:0 12px 26px rgba(7,25,39,.16);
}
.stw-world-map-card{
  position:relative;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:24px;
  align-items:center;
  margin-top:28px;
  padding:32px;
  border-radius:32px;
  background:
    radial-gradient(circle at 92% 0,rgba(255,184,0,.30),transparent 35%),
    linear-gradient(135deg,#061827,#092844);
  color:#fff;
  box-shadow:0 30px 80px rgba(7,25,39,.18);
  overflow:hidden;
}
.stw-world-map-card:before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size:26px 26px;
  opacity:.55;
}
.stw-world-map-card > *{position:relative}
.stw-world-globe{
  width:78px;
  height:78px;
  display:grid;
  place-items:center;
  border-radius:26px;
  background:linear-gradient(135deg,#ffb800,#fff2bf);
  font-size:44px;
  box-shadow:0 18px 45px rgba(255,184,0,.22);
}
.stw-world-map-card h3{
  margin:5px 0 6px;
  color:#fff;
  font-size:32px;
  letter-spacing:-.5px;
}
.stw-world-map-card p{
  margin:0;
  color:rgba(255,255,255,.86);
  font-weight:800;
  line-height:1.45;
}
@media(max-width:980px){
  .stw-global-head{grid-template-columns:1fr}
  .stw-global-stats{width:100%;overflow-x:auto}
  .stw-country-carousel{
    display:flex;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    padding:2px 2px 18px;
    margin:0 -4px;
  }
  .stw-country-card{
    flex:0 0 76%;
    min-height:220px;
    scroll-snap-align:start;
  }
  .stw-world-map-card{
    grid-template-columns:1fr;
    text-align:left;
  }
  .stw-world-map-card .btn{
    width:100%;
    justify-content:center;
  }
}
@media(max-width:640px){
  .stw-global-section{padding:62px 0 36px}
  .stw-global-head h2{font-size:38px}
  .stw-global-head p{font-size:15px}
  .stw-global-stats div{min-width:98px}
  .stw-country-card{flex-basis:84%;border-radius:26px}
  .stw-country-flag{width:66px;height:66px;font-size:38px}
  .stw-country-body h3{font-size:24px}
  .stw-world-map-card{padding:24px;border-radius:26px}
  .stw-world-globe{width:64px;height:64px;font-size:38px}
  .stw-world-map-card h3{font-size:26px}
}


/* V1.46 - Country cards use ScanToWin logo instead of country code/flag */
.stw-country-logo{
  position:relative;
  z-index:2;
  width:74px;
  height:74px;
  border-radius:24px;
  background:rgba(255,255,255,.94);
  display:grid;
  place-items:center;
  box-shadow:0 18px 35px rgba(7,25,39,.16);
  border:1px solid rgba(255,255,255,.62);
  backdrop-filter:blur(8px);
  flex:0 0 auto;
}
.stw-country-logo img{
  width:48px;
  height:48px;
  display:block;
  object-fit:contain;
}
.stw-country-card .stw-country-logo + .stw-country-body{margin-top:18px;}
@media(max-width:760px){
  .stw-country-logo{width:62px;height:62px;border-radius:20px;}
  .stw-country-logo img{width:40px;height:40px;}
  .stw-country-card .stw-country-logo + .stw-country-body{margin-top:14px;}
}

/* === V1.50 ScanToWin: mensajes admin, carrusel automático y prizes polish === */
.user-messages-card{background:linear-gradient(135deg,#061827,#0f2f4a);color:#fff;border-radius:28px;padding:18px;box-shadow:0 22px 55px rgba(6,24,39,.20);border:1px solid rgba(255,255,255,.08)}
.user-messages-card .section-head{margin-bottom:10px}.user-messages-card h2,.user-messages-card span{color:#fff!important}.user-message-item{background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.12);border-radius:20px;padding:14px;margin-top:10px}.user-message-item.is-new{box-shadow:inset 4px 0 0 #ffb800}.user-message-item b{display:block;color:#fff;font-size:15px}.user-message-item p{margin:7px 0;color:#e2e8f0;font-weight:750;line-height:1.35}.user-message-item small{color:#facc15;font-weight:900}.admin-mini-message{min-width:280px;display:grid;gap:8px}.admin-mini-message textarea{min-height:70px;border:1px solid #e5e7eb;border-radius:14px;padding:10px 12px;font-weight:750;resize:vertical}.admin-mini-message .btn{justify-content:center;padding:10px 14px}.auto-carousel{width:max-content;max-width:none;overflow:visible!important;animation:stwAutoCarousel 38s linear infinite;will-change:transform}.activity-strip,.dash-carousel-block{overflow:hidden}.auto-carousel:hover{animation-play-state:paused}@keyframes stwAutoCarousel{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
.prizes-v125 .ranking-prizes-panel{position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.10)}.prizes-v125 .ranking-prizes-panel:before{content:"";position:absolute;inset:-80px auto auto -80px;width:220px;height:220px;background:#ffb800;border-radius:999px;filter:blur(45px);opacity:.26}.prizes-v125 .ranking-prizes-panel>*{position:relative}.prizes-v125 .prize-feature-card{position:relative;overflow:hidden;transform:translateZ(0)}.prizes-v125 .prize-feature-card:after{content:"";position:absolute;right:-35px;top:-35px;width:110px;height:110px;border-radius:999px;background:rgba(255,184,0,.18)}.prizes-v125 .prize-feature-card .prize-badge{position:relative;z-index:1}.raffle-section-v125{position:relative;overflow:hidden}.raffle-section-v125:before{content:"";position:absolute;right:-70px;top:-70px;width:180px;height:180px;border-radius:999px;background:rgba(255,184,0,.14)}.raffle-section-v125>*{position:relative}.raffle-card-v125{height:100%;display:flex!important;flex-direction:column}.raffle-card-v125 .raffle-content{display:flex;flex-direction:column;flex:1}.raffle-card-v125 .raffle-meta{margin-top:auto}.raffle-card-v125 .raffle-status{box-shadow:0 10px 24px rgba(255,184,0,.22)}.prize-title-wrap .season-reset-card{max-width:560px;margin:18px auto 0}.prizes-v125 .empty-state{grid-column:1/-1;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:24px;padding:24px;text-align:center;font-weight:900;color:#64748b}@media(max-width:760px){.auto-carousel{animation-duration:28s}.admin-mini-message{min-width:230px}.user-messages-card{border-radius:24px;padding:16px}.prizes-v125 .ranking-prizes-panel{gap:18px}.raffle-section-v125 .raffle-head{display:block}.raffle-section-v125 .raffle-head .btn{margin-top:14px;width:100%;justify-content:center}}

/* === V1.51 ScanToWin: mensajería real + prizes integrado === */
.message-tile{position:relative;overflow:hidden}.message-tile.has-new{background:linear-gradient(135deg,#061827,#123a5a)!important;color:#fff!important;box-shadow:0 0 0 3px rgba(255,184,0,.28),0 18px 45px rgba(6,24,39,.22);animation:stwGlow 1.8s ease-in-out infinite}.message-tile.has-new .svg-icon{color:#ffb800!important}.message-tile em{position:absolute;top:12px;right:14px;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:#ffb800;color:#061827;font-style:normal;font-weight:1000;display:grid;place-items:center;font-size:12px}@keyframes stwGlow{0%,100%{box-shadow:0 0 0 3px rgba(255,184,0,.24),0 18px 45px rgba(6,24,39,.18)}50%{box-shadow:0 0 0 7px rgba(255,184,0,.10),0 22px 55px rgba(255,184,0,.22)}}
.user-messages-preview{display:block;text-decoration:none}.user-messages-preview.has-new{box-shadow:0 0 0 3px rgba(255,184,0,.28),0 22px 55px rgba(6,24,39,.22)}
.messages-phone{display:grid;gap:14px}.messages-hero{display:flex;gap:14px;align-items:center;background:linear-gradient(135deg,#061827,#0f2f4a);color:#fff;border-radius:28px;padding:18px;box-shadow:0 20px 55px rgba(6,24,39,.22)}.messages-hero .svg-icon{width:42px;height:42px;color:#ffb800}.messages-hero small{color:#ffcf42;font-weight:1000;text-transform:uppercase;letter-spacing:.5px}.messages-hero h1{margin:4px 0;font-size:26px;color:#fff}.messages-hero p{margin:0;color:#dbeafe;font-weight:800;line-height:1.35}.chat-window{height:430px;overflow:auto;background:#f8fafc;border:1px solid #e2e8f0;border-radius:26px;padding:14px;display:flex;flex-direction:column;gap:10px}.chat-bubble{max-width:86%;border-radius:20px;padding:12px 14px;box-shadow:0 8px 22px rgba(6,24,39,.06)}.chat-bubble.admin{align-self:flex-start;background:#fff;border:1px solid #e2e8f0}.chat-bubble.mine{align-self:flex-end;background:#061827;color:#fff}.chat-author{font-weight:1000;font-size:12px;color:#64748b}.chat-bubble.mine .chat-author{color:#ffcf42}.chat-author small{font-weight:800;opacity:.8;margin-left:5px}.chat-bubble p{margin:6px 0 0;font-weight:800;line-height:1.35}.chat-compose{display:grid;gap:10px}.chat-compose textarea{min-height:96px;border:1px solid #e2e8f0;border-radius:22px;padding:14px;font-weight:850;resize:vertical}.empty-chat,.empty-state{background:#fff;border:1px dashed #cbd5e1;border-radius:22px;padding:18px;text-align:center;color:#64748b;font-weight:850}.empty-chat b{display:block;color:#061827;margin-bottom:5px}.empty-chat p{margin:0}
.admin-msg-badge{display:inline-flex;align-items:center;margin-left:8px;padding:6px 10px;border-radius:999px;background:#ffb800;color:#061827;font-size:13px;vertical-align:middle}.admin-messenger{display:grid;grid-template-columns:340px 1fr;gap:18px}.admin-chat-users,.admin-chat-panel{background:#fff;border:1px solid #e5e7eb;border-radius:26px;padding:16px;box-shadow:0 16px 45px rgba(6,24,39,.06)}.admin-chat-search{display:grid;grid-template-columns:1fr auto;gap:8px;margin-bottom:12px}.admin-user-list{display:grid;gap:8px;max-height:650px;overflow:auto}.admin-user-chat{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #e5e7eb;border-radius:18px;padding:12px;color:#061827;background:#f8fafc}.admin-user-chat.active{background:#061827;color:#fff;border-color:#061827}.admin-user-chat.has-new:not(.active){border-color:#ffb800;box-shadow:0 0 0 3px rgba(255,184,0,.13)}.admin-user-chat b{display:block}.admin-user-chat small{display:block;color:#64748b;font-weight:850;margin-top:2px}.admin-user-chat.active small{color:#cbd5e1}.admin-user-chat span{min-width:26px;height:26px;border-radius:999px;background:#ffb800;color:#061827;font-weight:1000;display:grid;place-items:center}.admin-chat-head{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #e5e7eb;padding-bottom:14px;margin-bottom:14px}.admin-chat-head small{font-weight:1000;color:#ffb800;text-transform:uppercase}.admin-chat-head h3{margin:4px 0 0;font-size:26px}.admin-chat-inline{display:grid;grid-template-columns:minmax(180px,1fr) auto;gap:8px;min-width:360px}.admin-chat-thread{height:430px;overflow:auto;background:#f8fafc;border-radius:22px;border:1px solid #e5e7eb;padding:14px;display:flex;flex-direction:column;gap:10px}.admin-chat-bubble{max-width:78%;border-radius:18px;padding:12px 14px;box-shadow:0 8px 20px rgba(6,24,39,.05)}.admin-chat-bubble.mine{align-self:flex-end;background:#061827;color:#fff}.admin-chat-bubble.player{align-self:flex-start;background:#fff;border:1px solid #e2e8f0}.admin-chat-bubble b{font-size:12px}.admin-chat-bubble small{opacity:.75;margin-left:5px}.admin-chat-bubble p{margin:6px 0 0;font-weight:800;line-height:1.35}.admin-chat-compose{display:grid;gap:10px;margin-top:14px}.admin-chat-compose textarea{min-height:96px;border:1px solid #e2e8f0;border-radius:18px;padding:13px;font-weight:850;resize:vertical}
.stw-prizes-app{background:linear-gradient(180deg,#eef6fb 0%,#f8fafc 42%,#fff 100%)!important}.stw-prize-hero{display:grid;grid-template-columns:1fr 310px;gap:22px;align-items:stretch;background:radial-gradient(circle at 18% 20%,rgba(255,184,0,.28),transparent 24%),linear-gradient(135deg,#061827,#0b3151 72%,#0a89d6);border-radius:38px;padding:34px;color:#fff;box-shadow:0 30px 80px rgba(6,24,39,.24);overflow:hidden;position:relative}.stw-prize-hero:after{content:"";position:absolute;right:-80px;bottom:-90px;width:260px;height:260px;border-radius:50%;background:rgba(255,184,0,.20);filter:blur(6px)}.stw-prize-hero>*{position:relative;z-index:1}.brand-mini.light{color:#fff;text-align:left;margin-bottom:18px}.stw-prize-hero h1{font-size:48px;line-height:.98;margin:8px 0 12px;color:#fff}.stw-prize-hero p{max-width:720px;color:#dbeafe;font-size:18px;font-weight:850;line-height:1.45}.stw-prize-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.stw-season-card{align-self:center;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.20);backdrop-filter:blur(10px);border-radius:30px;padding:24px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}.stw-season-card small{display:block;color:#ffcf42;font-weight:1000;text-transform:uppercase}.stw-season-card strong{display:block;font-size:34px;line-height:1.05;margin:8px 0;color:#fff}.stw-season-card span{color:#dbeafe;font-weight:850}.stw-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin:34px 0 16px}.stw-section-head h2{font-size:36px;margin:4px 0;color:#061827}.stw-section-head p{margin:0;color:#64748b;font-weight:850;max-width:760px}.stw-podium-board{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:16px}.stw-podium-card{position:relative;min-height:260px;border-radius:30px;padding:22px;background:#fff;border:1px solid #e5e7eb;box-shadow:0 20px 55px rgba(6,24,39,.08);overflow:hidden;display:flex;flex-direction:column}.stw-podium-card.gold{background:linear-gradient(180deg,#fff3b8,#fff);border-color:#fbbf24;transform:translateY(-10px)}.stw-podium-card.silver{background:linear-gradient(180deg,#f1f5f9,#fff)}.stw-podium-card.bronze{background:linear-gradient(180deg,#ffedd5,#fff)}.stw-podium-card:after{content:"";position:absolute;right:-45px;top:-45px;width:130px;height:130px;border-radius:999px;background:rgba(255,184,0,.18)}.podium-medal{width:70px;height:70px;border-radius:24px;background:#061827;color:#fff;display:grid;place-items:center;font-size:34px;font-weight:1000;box-shadow:0 14px 30px rgba(6,24,39,.18);position:relative;z-index:1}.stw-podium-card small{margin-top:14px;color:#64748b;font-weight:1000;text-transform:uppercase;letter-spacing:.5px}.stw-podium-card h3{font-size:30px;line-height:1.04;margin:8px 0;color:#061827}.stw-podium-card p{color:#334155;font-weight:850;line-height:1.35}.stw-podium-card a{margin-top:auto;display:inline-flex;width:max-content;border-radius:999px;background:#061827;color:#fff!important;padding:10px 14px;font-weight:1000}.stw-raffle-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.stw-raffle-ticket{display:grid;grid-template-columns:210px 1fr;background:#fff;border:1px solid #e2e8f0;border-radius:30px;overflow:hidden;box-shadow:0 20px 55px rgba(6,24,39,.08);transition:.18s}.stw-raffle-ticket:hover{transform:translateY(-3px);box-shadow:0 28px 70px rgba(6,24,39,.13)}.ticket-cover{min-height:210px;background:radial-gradient(circle at 35% 25%,#ffe08a,transparent 32%),linear-gradient(135deg,#ffb800,#0a89d6);background-size:cover;background-position:center;display:grid;place-items:center;position:relative;color:#fff}.ticket-cover .svg-icon{width:68px;height:68px;color:#fff}.ticket-cover span{position:absolute;left:14px;top:14px;background:rgba(6,24,39,.76);color:#fff;border-radius:999px;padding:8px 12px;font-weight:1000;font-size:12px;text-transform:uppercase}.ticket-body{padding:20px;display:flex;flex-direction:column}.ticket-topline{display:flex;justify-content:space-between;gap:10px;align-items:center}.ticket-topline small{font-weight:1000;color:#64748b}.ticket-topline b{background:#ffb800;color:#061827;border-radius:999px;padding:8px 10px;font-size:12px}.ticket-body h3{font-size:25px;line-height:1.06;margin:14px 0 8px;color:#061827}.ticket-body p{color:#475569;font-weight:850;line-height:1.35}.ticket-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}.ticket-meta span{background:#f1f5f9;color:#061827;border-radius:999px;padding:8px 10px;font-size:12px;font-weight:1000}.stw-live-panel{background:#fff;border:1px solid #e2e8f0;border-radius:30px;padding:22px;margin:28px 0;box-shadow:0 20px 55px rgba(6,24,39,.07)}
@media(max-width:980px){.admin-messenger{grid-template-columns:1fr}.admin-chat-inline{min-width:0}.stw-prize-hero,.stw-podium-board,.stw-raffle-board{grid-template-columns:1fr}.stw-podium-card.gold{transform:none}.stw-raffle-ticket{grid-template-columns:1fr}.ticket-cover{min-height:170px}.stw-prize-hero h1{font-size:38px}}
@media(max-width:640px){.admin-chat-search,.admin-chat-inline{grid-template-columns:1fr}.admin-chat-head{display:block}.admin-chat-inline{margin-top:12px}.admin-chat-bubble,.chat-bubble{max-width:94%}.admin-chat-thread,.chat-window{height:390px}.stw-prize-hero{margin:0 14px;border-radius:30px;padding:24px}.stw-section-head,.stw-podium-board,.stw-raffle-board,.stw-live-panel{margin-left:14px;margin-right:14px}.stw-section-head h2{font-size:30px}.stw-prize-hero h1{font-size:34px}.stw-season-card strong{font-size:28px}.stw-podium-card{min-height:auto}.ticket-body h3{font-size:22px}}
.sidebar-message-link{position:relative}.sidebar-message-link.has-new{background:rgba(255,184,0,.18)!important;color:#061827!important;font-weight:1000}.sidebar-message-link span{margin-left:auto;background:#ffb800;color:#061827;border-radius:999px;min-width:22px;height:22px;display:inline-grid;place-items:center;font-size:12px;font-weight:1000}

/* === V1.52 prizes compacto + estilo ScanToWin === */
.stw-prizes-app{padding-top:46px!important;background:#fbfaf7!important;}
.stw-prizes-app>.container{max-width:1180px!important;margin:0 auto!important;padding:0 22px!important;overflow:visible!important;}
.stw-prize-hero{grid-template-columns:minmax(0,1fr) 235px!important;gap:18px!important;border-radius:24px!important;padding:30px 32px!important;box-shadow:0 18px 45px rgba(7,25,39,.13)!important;background:radial-gradient(circle at 85% 18%,rgba(255,184,0,.18),transparent 18%),linear-gradient(135deg,#061827,#0d2e40)!important;}
.stw-prize-hero h1{font-size:38px!important;letter-spacing:-1px!important;margin:4px 0 10px!important;}
.stw-prize-hero p{font-size:15px!important;max-width:610px!important;color:#e2e8f0!important;}
.stw-season-card{border-radius:20px!important;padding:18px!important;}
.stw-season-card strong{font-size:25px!important;}
.stw-section-head{max-width:880px!important;margin:30px 0 14px!important;}
.stw-section-head h2{font-size:30px!important;margin:3px 0!important;}
.stw-section-head p{font-size:15px!important;line-height:1.4!important;}
.stw-podium-board{background:linear-gradient(135deg,#061827,#122b39)!important;border-radius:24px!important;padding:22px!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;box-shadow:0 18px 48px rgba(7,25,39,.16)!important;}
.stw-podium-card{min-height:190px!important;border-radius:18px!important;background:rgba(255,255,255,.055)!important;border:1px solid rgba(255,255,255,.16)!important;box-shadow:none!important;padding:22px!important;color:#fff!important;transform:none!important;}
.stw-podium-card.gold,.stw-podium-card.silver,.stw-podium-card.bronze{background:rgba(255,255,255,.055)!important;border-color:rgba(255,255,255,.16)!important;}
.stw-podium-card.gold{outline:2px solid rgba(255,184,0,.55)!important;}
.stw-podium-card:after{width:92px!important;height:92px!important;right:-32px!important;top:-32px!important;background:rgba(255,184,0,.13)!important;}
.podium-medal{width:54px!important;height:54px!important;border-radius:16px!important;background:var(--yellow)!important;color:#061827!important;font-size:24px!important;box-shadow:0 10px 24px rgba(255,184,0,.22)!important;}
.stw-podium-card small{margin-top:14px!important;color:#ffcf42!important;}
.stw-podium-card h3{font-size:24px!important;color:#fff!important;margin:6px 0!important;}
.stw-podium-card p{font-size:14px!important;color:#dbeafe!important;margin:0 0 14px!important;}
.stw-podium-card a{background:#fff!important;color:#061827!important;padding:9px 13px!important;font-size:13px!important;}
.raffle-title{margin-top:32px!important;}
.stw-raffle-board{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;max-width:980px!important;}
.stw-raffle-ticket{grid-template-columns:130px 1fr!important;border-radius:20px!important;box-shadow:0 13px 34px rgba(7,25,39,.08)!important;}
.ticket-cover{min-height:155px!important;}
.ticket-cover .svg-icon{width:42px!important;height:42px!important;}
.ticket-cover span{font-size:10px!important;padding:6px 9px!important;}
.ticket-body{padding:16px!important;}
.ticket-topline{align-items:flex-start!important;}
.ticket-topline small{font-size:12px!important;}
.ticket-topline b{font-size:10px!important;padding:6px 8px!important;white-space:nowrap!important;}
.ticket-body h3{font-size:20px!important;margin:10px 0 6px!important;}
.ticket-body p{font-size:14px!important;margin:0 0 12px!important;}
.ticket-meta span{font-size:11px!important;padding:7px 9px!important;}
.stw-live-panel{max-width:980px!important;border-radius:22px!important;padding:18px!important;box-shadow:0 12px 34px rgba(7,25,39,.07)!important;}
.prizes-activity{overflow:hidden!important;}

@media(max-width:980px){
  .stw-prizes-app>.container{padding:0 16px!important;}
  .stw-prize-hero,.stw-podium-board,.stw-raffle-board{grid-template-columns:1fr!important;}
  .stw-prize-hero{padding:24px!important;}
  .stw-season-card{max-width:260px!important;}
  .stw-raffle-board,.stw-live-panel{max-width:none!important;}
}
@media(max-width:640px){
  .stw-prizes-app{padding-top:28px!important;}
  .stw-prize-hero{margin:0!important;border-radius:22px!important;}
  .stw-prize-hero h1{font-size:31px!important;}
  .stw-section-head,.stw-podium-board,.stw-raffle-board,.stw-live-panel{margin-left:0!important;margin-right:0!important;}
  .stw-podium-board{padding:16px!important;border-radius:20px!important;}
  .stw-raffle-ticket{grid-template-columns:1fr!important;}
  .ticket-cover{min-height:130px!important;}
}

/* === v1.53 compact visual refresh + referrals === */
.stw-narrow{max-width:1120px}.stw-prizes-compact-v153{position:relative;overflow:hidden;background:linear-gradient(180deg,#eef7fc 0,#fbfaf7 34%,#fff 100%);padding:46px 0 58px}.stw-rail{position:fixed;top:120px;bottom:80px;width:84px;pointer-events:none;z-index:0;opacity:.9}.stw-rail-left{left:0}.stw-rail-right{right:0}.stw-rail span{display:block;height:32%;margin:12px 0;border-radius:999px;background:linear-gradient(180deg,rgba(255,184,0,.24),rgba(17,137,214,.16),rgba(6,24,39,.05));filter:blur(.2px)}.stw-rail-left span{transform:translateX(-48px) rotate(8deg)}.stw-rail-right span{transform:translateX(48px) rotate(-8deg)}.stw-prize-hero-mini{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:22px;padding:26px 30px;border-radius:26px;color:#fff;background:radial-gradient(circle at 88% 50%,rgba(255,184,0,.23),transparent 18%),linear-gradient(135deg,#061827,#073251 58%,#1189d6);box-shadow:0 22px 55px rgba(6,24,39,.22);margin-bottom:24px}.stw-prize-hero-mini h1{font-size:34px;line-height:1.04;margin:5px 0 8px;letter-spacing:-1px}.stw-prize-hero-mini p{max-width:660px;margin:0;color:rgba(255,255,255,.82);font-weight:750}.stw-hero-actions-compact{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.stw-prize-layout{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;align-items:start}.stw-prize-main,.stw-prize-side>div{border:1px solid rgba(6,24,39,.08);background:rgba(255,255,255,.86);backdrop-filter:blur(12px);box-shadow:0 16px 45px rgba(6,24,39,.08)}.stw-prize-main{border-radius:26px;padding:20px}.compact-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:14px}.compact-head h2{font-size:28px;margin:4px 0 0}.compact-head p{margin:0;max-width:440px;color:#657489;font-weight:750}.season-pill{display:inline-flex;align-items:center;border-radius:999px;background:#061827;color:#fff;padding:9px 12px;font-size:12px;font-weight:1000}.stw-podium-compact{display:grid;grid-template-columns:1.05fr .95fr .95fr;gap:12px;margin-bottom:24px}.podium-mini-card{position:relative;display:flex;gap:14px;align-items:center;min-height:132px;border-radius:22px;padding:17px;border:1px solid rgba(6,24,39,.08);overflow:hidden;background:#fff}.podium-mini-card:after{content:"";position:absolute;right:-28px;top:-28px;width:96px;height:96px;border-radius:50%;background:rgba(255,184,0,.22)}.podium-mini-card.gold{background:linear-gradient(135deg,#fff7c7,#fff)}.podium-mini-card.silver{background:linear-gradient(135deg,#f7fbff,#fff)}.podium-mini-card.bronze{background:linear-gradient(135deg,#fff0db,#fff)}.podium-mini-card .podium-medal{flex:0 0 54px}.podium-mini-card h3{font-size:19px;margin:4px 0 6px}.podium-mini-card p{margin:0;color:#24364a;font-weight:750;font-size:13px;line-height:1.35}.stw-raffle-compact{display:grid;grid-template-columns:1fr;gap:12px}.raffle-mini-card{display:grid;grid-template-columns:128px 1fr;min-height:128px;border-radius:22px;background:#fff;border:1px solid rgba(6,24,39,.08);overflow:hidden;box-shadow:0 10px 28px rgba(6,24,39,.05)}.raffle-mini-cover{display:grid;place-items:center;background:radial-gradient(circle at 20% 15%,rgba(255,184,0,.52),transparent 34%),linear-gradient(135deg,#082033,#1189d6);background-size:cover;background-position:center;color:#fff}.raffle-mini-cover .svg-icon{width:42px;height:42px}.raffle-mini-body{padding:16px 18px;display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.raffle-mini-body small{font-weight:1000;color:#64748b}.raffle-mini-body h3{margin:6px 0 6px;font-size:20px}.raffle-mini-body p{margin:0;color:#334155;font-weight:700;line-height:1.35}.ticket-meta{display:flex;flex-direction:column;align-items:flex-end;gap:8px;white-space:nowrap}.ticket-meta span,.ticket-meta b{border-radius:999px;padding:7px 10px;font-size:12px;font-weight:1000}.ticket-meta span{background:#eef6ff;color:#0b4771}.ticket-meta b{background:#ffb800;color:#061827}.stw-prize-side{display:grid;gap:14px;position:sticky;top:96px}.side-live-card,.side-ref-card,.side-winners{border-radius:24px;padding:16px;overflow:hidden}.side-title{display:flex;align-items:center;gap:10px;margin-bottom:12px}.side-title>span,.side-ref-card>span{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:#ffb800;color:#061827;box-shadow:0 12px 28px rgba(255,184,0,.28)}.side-title small{display:block;color:#64748b;font-weight:800}.activity-vertical-loop{height:310px;overflow:hidden;display:flex;flex-direction:column;gap:8px;animation:verticalLoop 18s linear infinite}.activity-vertical-loop:hover{animation-play-state:paused}.activity-vertical-loop article{display:grid;grid-template-columns:34px 1fr auto;gap:10px;align-items:center;border-radius:16px;background:#f8fafc;padding:10px}.activity-vertical-loop b,.side-winners b{display:block;font-size:13px}.activity-vertical-loop small,.side-winners small{display:block;color:#64748b;font-size:11px;font-weight:800}.activity-vertical-loop strong{font-size:13px;color:#061827}.side-ref-card{background:radial-gradient(circle at 95% 0,rgba(255,184,0,.25),transparent 28%),linear-gradient(135deg,#061827,#0b3654)!important;color:#fff}.side-ref-card h3{font-size:22px;margin:12px 0 8px}.side-ref-card p{color:rgba(255,255,255,.78);font-weight:750;line-height:1.45}.side-ref-card .btn{width:100%;margin-top:6px}.side-winners article{border-radius:14px;background:#f8fafc;padding:10px;margin-top:8px}@keyframes verticalLoop{0%{transform:translateY(0)}100%{transform:translateY(-50%)}}
.referral-mini-note{font-size:12px;font-weight:900;color:#0b4771;background:#eef6ff;border-radius:10px;padding:10px;margin:-6px 0 14px}.referral-card{margin-top:14px;border-radius:20px;padding:18px;background:radial-gradient(circle at 100% 0,rgba(255,184,0,.26),transparent 25%),linear-gradient(135deg,#061827,#0a3654);color:#fff;box-shadow:0 16px 42px rgba(6,24,39,.18)}.referral-card small{text-transform:uppercase;color:#ffb800;font-weight:1000}.referral-card strong{display:block;font-size:23px;margin:4px 0}.referral-card p{margin:0 0 8px;color:rgba(255,255,255,.82);font-weight:750}.referral-card span{display:inline-flex;border-radius:999px;background:rgba(255,255,255,.12);padding:7px 10px;font-weight:900;font-size:12px}.referral-form{display:grid;grid-template-columns:1fr auto;gap:10px;margin-top:12px}.referral-form .input{margin:0;background:#fff}.referral-ok{display:block;margin-top:12px;color:#bbf7d0}.activity-card .activity-icon,.activity-vertical-loop .activity-icon{width:34px;height:34px;border-radius:12px;background:#061827;color:#ffb800;display:grid;place-items:center}.activity-card .activity-icon .svg-icon,.activity-vertical-loop .activity-icon .svg-icon{width:17px;height:17px}
@media(max-width:980px){.stw-rail{display:none}.stw-prize-hero-mini{display:block}.stw-hero-actions-compact{justify-content:flex-start;margin-top:16px}.stw-prize-layout{grid-template-columns:1fr}.stw-prize-side{position:static}.stw-podium-compact{grid-template-columns:1fr}.raffle-mini-card{grid-template-columns:104px 1fr}.ticket-meta{align-items:flex-start}.raffle-mini-body{display:block}.ticket-meta{margin-top:10px}.activity-vertical-loop{height:230px}}@media(max-width:560px){.stw-prizes-compact-v153{padding:24px 0}.stw-prize-hero-mini{padding:22px;border-radius:22px}.stw-prize-hero-mini h1{font-size:28px}.stw-prize-main{padding:14px;border-radius:22px}.compact-head{display:block}.season-pill{margin-top:8px}.podium-mini-card{min-height:auto}.raffle-mini-card{grid-template-columns:1fr}.raffle-mini-cover{min-height:92px}.referral-form{grid-template-columns:1fr}.referral-form .btn{width:100%}}

/* === v1.54 global compacto + prizes tipo ScanToWin/world + referidos share === */
@media(min-width:981px){
  .container{max-width:1120px!important;padding-left:22px;padding-right:22px}
  .section{padding:54px 0}
  .app .main,.app-main{max-width:1120px;margin-left:auto;margin-right:auto;width:100%}
  .cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.card{padding:18px;border-radius:14px}
  .table th,.table td{padding:12px}
}
.stw-tight{max-width:1120px!important}.stw-prizes-v154{position:relative;overflow:hidden;padding:38px 0 54px;background:linear-gradient(180deg,#f4fbff 0,#fbfaf7 42%,#fff 100%)}
.stw-page-ornament{position:absolute;top:120px;bottom:60px;width:120px;pointer-events:none;opacity:.72}.stw-page-ornament:before,.stw-page-ornament:after{content:"";position:absolute;left:50%;width:56px;height:45%;border-radius:999px;background:linear-gradient(180deg,rgba(255,184,0,.28),rgba(17,137,214,.18),rgba(6,24,39,.05));filter:blur(.2px)}.stw-page-ornament:before{top:0}.stw-page-ornament:after{bottom:0}.stw-page-ornament.left{left:-44px}.stw-page-ornament.right{right:-44px}.stw-page-ornament.left:before,.stw-page-ornament.left:after{transform:rotate(8deg)}.stw-page-ornament.right:before,.stw-page-ornament.right:after{transform:rotate(-8deg)}
.prize-world-hero{position:relative;min-height:355px;border-radius:0 0 30px 30px;overflow:hidden;color:#fff;background:linear-gradient(90deg,rgba(7,25,39,.76),rgba(17,137,214,.36)),url('hero.jpg');background-size:cover;background-position:center;box-shadow:0 22px 60px rgba(6,24,39,.18);display:flex;align-items:center;justify-content:space-between;gap:24px;padding:44px 52px;margin-bottom:22px}.prize-world-hero:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 10% 25%,rgba(255,184,0,.22),transparent 18%),radial-gradient(circle at 84% 30%,rgba(255,255,255,.16),transparent 18%);pointer-events:none}.hero-copy,.hero-orbit-card{position:relative;z-index:1}.hero-kicker{font-size:12px;font-weight:1000;letter-spacing:.6px}.hero-kicker b{color:#ffb800}.prize-world-hero h1{max-width:620px;margin:12px 0 14px;font-size:52px;line-height:.98;letter-spacing:-2px;font-weight:1000}.prize-world-hero p{max-width:610px;margin:0 0 26px;font-size:18px;line-height:1.45;color:rgba(255,255,255,.9);font-weight:750}.hero-orbit-card{min-width:190px;padding:18px;border-radius:22px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.25);backdrop-filter:blur(10px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}.hero-orbit-card small,.hero-orbit-card span{display:block;font-weight:900;color:rgba(255,255,255,.78)}.hero-orbit-card strong{display:block;font-size:26px;margin:4px 0;color:#fff}.prizes-compact-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:start}.prizes-content-card,.live-panel,.share-panel{background:rgba(255,255,255,.88);border:1px solid rgba(6,24,39,.08);box-shadow:0 14px 42px rgba(6,24,39,.08);backdrop-filter:blur(12px)}.prizes-content-card{border-radius:26px;padding:20px}.compact-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin:0 0 14px}.compact-title-row h2{font-size:30px;line-height:1.05;margin:4px 0 4px;letter-spacing:-.8px}.compact-title-row p{margin:0;color:#657489;font-weight:750}.podium-row-v154{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:24px}.podium-ticket{position:relative;min-height:150px;border-radius:22px;padding:16px;overflow:hidden;border:1px solid rgba(6,24,39,.08);background:#fff;display:flex;flex-direction:column;justify-content:space-between}.podium-ticket:after{content:"";position:absolute;right:-24px;top:-24px;width:88px;height:88px;border-radius:50%;background:rgba(255,184,0,.22)}.podium-ticket.gold{background:linear-gradient(135deg,#fff4a8,#fff)}.podium-ticket.silver{background:linear-gradient(135deg,#f6fbff,#fff)}.podium-ticket.bronze{background:linear-gradient(135deg,#fff0dc,#fff)}.podium-badge{width:48px;height:48px;border-radius:15px;background:#061827;color:#fff;display:grid;place-items:center;font-size:18px;font-weight:1000;box-shadow:0 8px 24px rgba(6,24,39,.18)}.podium-ticket small{display:block;color:#64748b;font-weight:1000;margin-top:12px}.podium-ticket h3{margin:4px 0 6px;font-size:20px}.podium-ticket p{margin:0;color:#23384d;font-weight:750;line-height:1.35;font-size:13px}.podium-ticket a{display:inline-flex;margin-top:12px;border-radius:999px;background:#061827;color:#fff;font-size:12px;font-weight:1000;padding:8px 11px;width:max-content}.raffle-row-title{border-top:1px solid rgba(6,24,39,.08);padding-top:20px}.raffle-list-v154{display:grid;gap:12px}.raffle-ticket-v154{display:grid;grid-template-columns:118px 1fr auto;gap:16px;align-items:center;min-height:118px;border-radius:22px;background:#fff;border:1px solid rgba(6,24,39,.08);overflow:hidden;box-shadow:0 8px 24px rgba(6,24,39,.04)}.raffle-art{height:118px;background:radial-gradient(circle at 18% 16%,rgba(255,184,0,.52),transparent 35%),linear-gradient(135deg,#061827,#1189d6);background-size:cover;background-position:center;display:grid;place-items:center;color:#fff}.raffle-art .svg-icon{width:38px;height:38px}.raffle-info{padding:14px 0}.raffle-info small{font-weight:1000;color:#64748b}.raffle-info h3{font-size:20px;margin:5px 0}.raffle-info p{margin:0;color:#334155;font-weight:700;line-height:1.35}.raffle-status{display:flex;flex-direction:column;align-items:flex-end;gap:8px;padding-right:16px;white-space:nowrap}.raffle-status span,.raffle-status b{border-radius:999px;padding:7px 10px;font-size:12px;font-weight:1000}.raffle-status span{background:#eef6ff;color:#0b4771}.raffle-status b{background:#ffb800;color:#061827}.prize-live-side{position:sticky;top:96px;display:grid;gap:14px}.live-panel,.share-panel{border-radius:24px;padding:16px;overflow:hidden}.side-title{display:flex;align-items:center;gap:10px;margin-bottom:12px}.side-title>span,.share-panel>span{width:40px;height:40px;border-radius:14px;display:grid;place-items:center;background:#ffb800;color:#061827}.activity-side-carousel{height:286px;overflow:hidden;display:flex;flex-direction:column;gap:8px;animation:verticalLoop 20s linear infinite}.activity-side-carousel:hover{animation-play-state:paused}.activity-side-carousel article{display:grid;grid-template-columns:34px 1fr auto;gap:9px;align-items:center;border-radius:15px;background:#f8fafc;padding:10px}.activity-side-carousel b,.winners-mini b{font-size:13px}.activity-side-carousel small,.winners-mini small{display:block;color:#64748b;font-size:11px;font-weight:800}.activity-side-carousel strong{font-size:13px}.share-panel{background:radial-gradient(circle at 95% 0,rgba(255,184,0,.28),transparent 30%),linear-gradient(135deg,#061827,#0b3654)!important;color:#fff}.share-panel h3{font-size:22px;margin:12px 0 8px}.share-panel p{color:rgba(255,255,255,.82);font-weight:750;line-height:1.42}.share-panel .btn{width:100%;margin-top:5px}.winners-mini article{border-radius:14px;background:#f8fafc;padding:10px;margin-top:8px}.referral-share-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.referral-share-actions .btn{flex:1;min-width:120px}.referral-copy-box{margin-top:10px;border-radius:14px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.15);padding:11px;font-size:13px;font-weight:900;color:#fff;word-break:break-all}.referral-help{margin-top:10px;font-size:13px;line-height:1.35;color:rgba(255,255,255,.82)!important}.referral-card{padding:16px!important;border-radius:18px!important}.referral-card strong{font-size:21px!important}.phone-dashboard{max-width:430px;margin-left:auto;margin-right:auto}.app-grid-main{gap:10px}.app-tile{min-height:84px}.main .desktop-only{max-width:980px;margin-left:auto;margin-right:auto}.desktop-only .cards{max-width:980px}
@media(max-width:980px){.stw-page-ornament{display:none}.stw-prizes-v154{padding:24px 0 44px}.prize-world-hero{display:block;padding:32px 24px;border-radius:0 0 26px 26px}.prize-world-hero h1{font-size:38px;letter-spacing:-1px}.hero-orbit-card{margin-top:20px;max-width:220px}.prizes-compact-grid{grid-template-columns:1fr}.prize-live-side{position:static}.podium-row-v154{grid-template-columns:1fr}.raffle-ticket-v154{grid-template-columns:96px 1fr}.raffle-status{grid-column:2;padding:0 14px 14px;align-items:flex-start}.raffle-art{height:100%;min-height:112px}}
@media(max-width:560px){.container{padding-left:16px!important;padding-right:16px!important}.prize-world-hero{margin-left:-16px;margin-right:-16px;border-radius:0;padding:30px 22px}.prize-world-hero h1{font-size:34px}.prize-world-hero p{font-size:16px}.hero-actions .btn{width:100%}.prizes-content-card{padding:14px;border-radius:22px}.compact-title-row h2{font-size:25px}.raffle-ticket-v154{grid-template-columns:1fr}.raffle-art{height:92px}.raffle-info{padding:14px}.raffle-status{grid-column:auto;padding:0 14px 14px}.referral-share-actions{display:grid;grid-template-columns:1fr}}

/* v1.55 prizes: compact ScanToWin arena */
.stw-prizes-v155{position:relative;overflow:hidden;padding:28px 0 52px;background:linear-gradient(180deg,#f3fbff 0,#fbfaf6 50%,#fff 100%)}
.stw-prize-shell{max-width:1040px!important;margin:0 auto!important}.scan-lines{position:absolute;top:130px;bottom:80px;width:120px;opacity:.34;pointer-events:none;background:repeating-linear-gradient(135deg,rgba(255,184,0,.35) 0 2px,transparent 2px 18px)}.scan-lines.left{left:max(0px,calc(50% - 680px))}.scan-lines.right{right:max(0px,calc(50% - 680px));transform:scaleX(-1)}
.prize-hero-v155{position:relative;min-height:330px;border-radius:0 0 28px 28px;overflow:hidden;color:#fff;background:linear-gradient(90deg,rgba(6,24,39,.86),rgba(8,88,141,.42)),url('hero.jpg');background-size:cover;background-position:center;box-shadow:0 20px 55px rgba(6,24,39,.18);display:flex;align-items:center;justify-content:space-between;padding:38px 48px;margin-bottom:18px}.prize-hero-v155:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 6% 22%,rgba(255,184,0,.28),transparent 18%),radial-gradient(circle at 88% 50%,rgba(255,255,255,.18),transparent 18%);pointer-events:none}.hero-glass-v155,.reset-chip-v155{position:relative;z-index:1}.hero-kicker-v155{display:inline-flex;font-size:12px;font-weight:1000;letter-spacing:.7px}.hero-kicker-v155 b{color:#ffb800}.prize-hero-v155 h1{max-width:610px;margin:10px 0 12px;font-size:48px;line-height:.98;letter-spacing:-1.8px;font-weight:1000}.prize-hero-v155 p{max-width:600px;margin:0 0 22px;color:rgba(255,255,255,.9);font-size:17px;line-height:1.42;font-weight:800}.hero-actions-v155{display:flex;gap:12px;flex-wrap:wrap}.reset-chip-v155{min-width:176px;border-radius:22px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.28);backdrop-filter:blur(10px);padding:16px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.05)}.reset-chip-v155 small,.reset-chip-v155 span{display:block;color:rgba(255,255,255,.78);font-size:12px;font-weight:950}.reset-chip-v155 strong{display:block;font-size:25px;margin:4px 0;color:#fff}.prize-dashboard-v155{display:grid;grid-template-columns:230px minmax(0,1fr) 230px;gap:14px;align-items:start}.activity-card-v155,.arena-card-v155,.ref-card-v155,.winners-card-v155{background:rgba(255,255,255,.92);border:1px solid rgba(6,24,39,.08);box-shadow:0 14px 40px rgba(6,24,39,.08);backdrop-filter:blur(12px);border-radius:26px;overflow:hidden}.activity-card-v155,.winners-card-v155{padding:14px}.panel-head-v155{display:flex;align-items:center;gap:10px;margin-bottom:12px}.panel-head-v155>span,.ref-card-v155>span{width:40px;height:40px;border-radius:14px;background:#ffb800;color:#061827;display:grid;place-items:center}.panel-head-v155 b{display:block;font-size:14px}.panel-head-v155 small{display:block;color:#64748b;font-size:11px;font-weight:900}.activity-loop-v155{height:520px;overflow:hidden;display:flex;flex-direction:column;gap:8px;animation:verticalLoop 26s linear infinite}.activity-loop-v155:hover{animation-play-state:paused}.activity-loop-v155 article{display:grid;grid-template-columns:34px 1fr auto;gap:8px;align-items:center;background:#f8fafc;border-radius:16px;padding:9px;border:1px solid rgba(6,24,39,.04)}.activity-loop-v155 .bubble{width:34px;height:34px;border-radius:12px;background:#ffb800;color:#061827;display:grid;place-items:center}.activity-loop-v155 b{font-size:12px}.activity-loop-v155 small{display:block;font-size:10px;color:#64748b;font-weight:850;line-height:1.2}.activity-loop-v155 strong{font-size:12px;color:#061827}.arena-card-v155{padding:16px}.arena-title-v155{margin-bottom:14px}.arena-title-v155 h2{font-size:28px;line-height:1.05;letter-spacing:-.7px;margin:4px 0}.arena-title-v155 p{margin:0;color:#64748b;font-weight:800}.podium-arena-v155{display:grid;grid-template-columns:1fr 1.16fr 1fr;gap:12px;align-items:end;margin-bottom:18px}.rank-card-v155{position:relative;min-height:196px;border-radius:24px;padding:16px;border:1px solid rgba(6,24,39,.08);overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;background:linear-gradient(145deg,#fff,#f8fbff);box-shadow:0 10px 28px rgba(6,24,39,.07)}.rank-card-v155:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,184,0,.22),transparent 45%),radial-gradient(circle at 84% 8%,rgba(255,184,0,.28),transparent 22%);pointer-events:none}.rank-card-v155.first{min-height:240px;background:linear-gradient(145deg,#071827,#0a3858);color:#fff;transform:translateY(-8px);box-shadow:0 20px 42px rgba(6,24,39,.2)}.rank-card-v155.first:before{background:radial-gradient(circle at 78% 12%,rgba(255,184,0,.48),transparent 24%),linear-gradient(145deg,rgba(255,184,0,.16),transparent 46%)}.rank-card-v155.second:before{background:radial-gradient(circle at 82% 8%,rgba(206,222,236,.8),transparent 25%)}.rank-card-v155.third:before{background:radial-gradient(circle at 82% 8%,rgba(226,150,68,.44),transparent 25%)}.rank-medal{position:absolute;top:15px;left:15px;width:48px;height:48px;border-radius:16px;background:#061827;color:#fff;display:grid;place-items:center;font-size:18px;font-weight:1000;box-shadow:0 10px 25px rgba(6,24,39,.2)}.rank-card-v155.first .rank-medal{background:#ffb800;color:#061827}.crown{position:absolute;right:16px;top:14px;font-size:30px}.rank-card-v155 small{position:relative;z-index:1;color:#64748b;font-size:11px;font-weight:1000}.rank-card-v155.first small{color:rgba(255,255,255,.68)}.rank-card-v155 h3{position:relative;z-index:1;font-size:22px;margin:6px 0}.rank-card-v155 p{position:relative;z-index:1;color:#334155;font-size:13px;font-weight:800;line-height:1.35;margin:0}.rank-card-v155.first p{color:rgba(255,255,255,.78)}.rank-card-v155 a{position:relative;z-index:1;display:inline-flex;width:max-content;margin-top:14px;background:#061827;color:#fff;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:1000}.rank-card-v155.first a{background:#ffb800;color:#061827}.raffle-zone-v155{border-top:1px solid rgba(6,24,39,.08);padding-top:16px}.arena-title-v155.mini h2{font-size:24px}.raffle-grid-v155{display:grid;gap:10px}.raffle-card-v155{display:grid;grid-template-columns:110px 1fr auto;gap:14px;align-items:center;min-height:108px;border-radius:22px;background:#fff;border:1px solid rgba(6,24,39,.08);overflow:hidden;box-shadow:0 8px 22px rgba(6,24,39,.045)}.raffle-img-v155{height:108px;background:radial-gradient(circle at 20% 18%,rgba(255,184,0,.55),transparent 35%),linear-gradient(135deg,#061827,#1189d6);background-size:cover;background-position:center;display:grid;place-items:center;color:#fff}.raffle-img-v155 .svg-icon{width:34px;height:34px}.raffle-body-v155 span{font-size:11px;font-weight:1000;color:#64748b}.raffle-body-v155 h3{font-size:19px;margin:4px 0}.raffle-body-v155 p{margin:0;color:#334155;font-size:13px;font-weight:800;line-height:1.35}.raffle-foot-v155{padding-right:14px;display:flex;flex-direction:column;align-items:flex-end;gap:8px;white-space:nowrap}.raffle-foot-v155 b,.raffle-foot-v155 em{font-style:normal;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:1000}.raffle-foot-v155 b{background:#eef6ff;color:#0b4771}.raffle-foot-v155 em{background:#ffb800;color:#061827}.side-stack-v155{position:sticky;top:96px;display:grid;gap:14px}.ref-card-v155{padding:16px;background:radial-gradient(circle at 100% 0,rgba(255,184,0,.33),transparent 30%),linear-gradient(145deg,#061827,#0a3858);color:#fff}.ref-card-v155 h3{font-size:22px;margin:12px 0 8px}.ref-card-v155 p{color:rgba(255,255,255,.82);font-size:13px;font-weight:800;line-height:1.45}.ref-card-v155 .btn{width:100%;margin-top:5px}.winners-card-v155 article{background:#f8fafc;border-radius:14px;padding:10px;margin-top:8px}.winners-card-v155 article b{font-size:13px}.winners-card-v155 article small{display:block;color:#64748b;font-size:11px;font-weight:850}.muted{color:#64748b;font-weight:800;font-size:13px}
@media(max-width:1100px){.stw-prize-shell{max-width:940px!important}.prize-dashboard-v155{grid-template-columns:minmax(0,1fr) 250px}.activity-card-v155{grid-column:1 / -1}.activity-loop-v155{height:auto;max-height:160px;display:grid;grid-auto-flow:column;grid-auto-columns:240px;overflow:hidden;animation:none}.scan-lines{display:none}}
@media(max-width:820px){.stw-prizes-v155{padding-top:18px}.prize-hero-v155{display:block;padding:30px 22px;border-radius:0 0 24px 24px}.prize-hero-v155 h1{font-size:36px;letter-spacing:-1px}.prize-hero-v155 p{font-size:15px}.reset-chip-v155{margin-top:18px;max-width:210px}.prize-dashboard-v155{grid-template-columns:1fr}.side-stack-v155{position:static}.podium-arena-v155{grid-template-columns:1fr}.rank-card-v155.first{transform:none;min-height:210px}.raffle-card-v155{grid-template-columns:94px 1fr}.raffle-foot-v155{grid-column:2;align-items:flex-start;padding:0 14px 14px}.raffle-img-v155{height:100%;min-height:108px}}
@media(max-width:560px){.stw-prize-shell{padding-left:14px!important;padding-right:14px!important}.prize-hero-v155{margin-left:-14px;margin-right:-14px;border-radius:0;padding:28px 20px}.hero-actions-v155 .btn{width:100%}.arena-card-v155{padding:12px;border-radius:22px}.arena-title-v155 h2{font-size:25px}.raffle-card-v155{grid-template-columns:1fr}.raffle-img-v155{height:88px}.raffle-body-v155{padding:0 14px}.raffle-foot-v155{grid-column:auto;padding:0 14px 14px}}

/* v1.56 prizes ordenado y compacto */
.stw-prizes-v156{padding:26px 0 56px;background:linear-gradient(180deg,#f3fbff 0,#fffaf1 52%,#fff 100%)}
.stw-prizes-v156 .stw-prize-shell{max-width:1040px!important;margin:0 auto!important}
.prize-hero-v156{min-height:310px;border-radius:0 0 30px 30px;margin-bottom:16px;padding:34px 44px;background:linear-gradient(90deg,rgba(6,24,39,.80),rgba(9,84,134,.35)),url('hero.jpg');background-size:cover;background-position:center}
.prize-hero-v156 h1{font-size:46px;max-width:620px}.prize-hero-v156 p{font-size:16px;max-width:610px}
.activity-strip-v156,.prize-main-v156,.raffles-section-v156,.winners-strip-v156{background:rgba(255,255,255,.94);border:1px solid rgba(6,24,39,.08);border-radius:26px;box-shadow:0 16px 42px rgba(6,24,39,.075);overflow:hidden;margin-top:16px}
.activity-strip-v156{display:grid;grid-template-columns:210px minmax(0,1fr);align-items:center;padding:12px 14px;gap:12px}
.strip-title-v156{display:flex;align-items:center;gap:10px}.strip-title-v156>span{width:42px;height:42px;border-radius:15px;background:#ffb800;color:#061827;display:grid;place-items:center;flex:0 0 auto}.strip-title-v156 b{display:block;font-size:14px}.strip-title-v156 small{display:block;color:#64748b;font-size:11px;font-weight:900}
.activity-marquee-v156{overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent)}
.activity-track-v156{display:flex;gap:10px;width:max-content;animation:stwMarquee 34s linear infinite}.activity-track-v156:hover{animation-play-state:paused}
.activity-track-v156 article{width:230px;display:grid;grid-template-columns:38px 1fr auto;gap:9px;align-items:center;background:#f8fafc;border:1px solid rgba(6,24,39,.05);border-radius:17px;padding:9px 10px}.activity-track-v156 .bubble{width:38px;height:38px;border-radius:14px;background:#ffb800;color:#061827;display:grid;place-items:center}.activity-track-v156 b{font-size:12px}.activity-track-v156 small{display:block;font-size:10.5px;color:#64748b;font-weight:850;line-height:1.15}.activity-track-v156 strong{font-size:12px;color:#061827}
@keyframes stwMarquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.prize-main-v156,.raffles-section-v156{padding:22px}.section-head-v156{max-width:720px;margin-bottom:18px}.section-head-v156 h2{font-size:30px;line-height:1.05;letter-spacing:-.8px;margin:4px 0}.section-head-v156 p{margin:0;color:#64748b;font-weight:850;line-height:1.35}
.podium-row-v156{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:14px}.prize-tile-v156{position:relative;min-height:210px;border-radius:24px;padding:18px;border:1px solid rgba(6,24,39,.08);overflow:hidden;background:linear-gradient(145deg,#fff,#f8fbff);box-shadow:0 10px 28px rgba(6,24,39,.055);display:flex;flex-direction:column}.prize-tile-v156:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 88% 10%,rgba(255,184,0,.28),transparent 24%),linear-gradient(135deg,rgba(255,184,0,.12),transparent 45%);pointer-events:none}.prize-tile-v156.first{background:radial-gradient(circle at 88% 10%,rgba(255,184,0,.34),transparent 25%),linear-gradient(145deg,#061827,#0b4a73);color:#fff}.prize-tile-v156.second:before{background:radial-gradient(circle at 88% 10%,rgba(206,222,236,.75),transparent 25%)}.prize-tile-v156.third:before{background:radial-gradient(circle at 88% 10%,rgba(226,150,68,.38),transparent 25%)}.tile-top{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;margin-bottom:auto}.tile-top span{width:50px;height:50px;border-radius:17px;background:#061827;color:#fff;display:grid;place-items:center;font-size:18px;font-weight:1000}.prize-tile-v156.first .tile-top span{background:#ffb800;color:#061827}.tile-top em{font-style:normal;font-size:32px}.prize-tile-v156 small{position:relative;z-index:1;color:#64748b;font-size:11px;font-weight:1000;margin-top:18px}.prize-tile-v156.first small{color:rgba(255,255,255,.72)}.prize-tile-v156 h3{position:relative;z-index:1;font-size:23px;margin:6px 0}.prize-tile-v156 p{position:relative;z-index:1;color:#334155;font-size:13px;font-weight:800;line-height:1.35;margin:0}.prize-tile-v156.first p{color:rgba(255,255,255,.82)}.prize-tile-v156 a{position:relative;z-index:1;display:inline-flex;width:max-content;margin-top:16px;background:#061827;color:#fff;border-radius:999px;padding:9px 13px;font-size:12px;font-weight:1000}.prize-tile-v156.first a{background:#ffb800;color:#061827}
.referral-banner-v156{margin-top:16px;border-radius:26px;overflow:hidden;background:radial-gradient(circle at 92% 0,rgba(255,184,0,.35),transparent 23%),linear-gradient(135deg,#061827,#0a4167);color:#fff;box-shadow:0 16px 42px rgba(6,24,39,.12);display:grid;grid-template-columns:60px 1fr auto;gap:16px;align-items:center;padding:22px}.ref-icon-v156{width:56px;height:56px;border-radius:18px;background:#ffb800;color:#061827;display:grid;place-items:center}.referral-banner-v156 h2{font-size:28px;margin:3px 0 6px}.referral-banner-v156 p{margin:0;color:rgba(255,255,255,.82);font-weight:850;line-height:1.35}.referral-banner-v156 .btn{white-space:nowrap}
.raffle-grid-v156{display:grid;gap:12px}.raffle-card-v156{display:grid;grid-template-columns:120px 1fr auto;gap:14px;align-items:center;min-height:112px;border-radius:22px;background:#fff;border:1px solid rgba(6,24,39,.08);overflow:hidden;box-shadow:0 8px 22px rgba(6,24,39,.045)}.raffle-img-v156{height:112px;background:radial-gradient(circle at 18% 18%,rgba(255,184,0,.55),transparent 35%),linear-gradient(135deg,#061827,#1189d6);background-size:cover;background-position:center;display:grid;place-items:center;color:#fff}.raffle-body-v156 span{font-size:11px;font-weight:1000;color:#64748b}.raffle-body-v156 h3{font-size:20px;margin:4px 0}.raffle-body-v156 p{margin:0;color:#334155;font-size:13px;font-weight:800;line-height:1.35}.raffle-foot-v156{padding-right:14px;display:flex;flex-direction:column;align-items:flex-end;gap:8px;white-space:nowrap}.raffle-foot-v156 b,.raffle-foot-v156 em{font-style:normal;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:1000}.raffle-foot-v156 b{background:#eef6ff;color:#0b4771}.raffle-foot-v156 em{background:#ffb800;color:#061827}
.winners-strip-v156{padding:14px;display:grid;grid-template-columns:210px 1fr;gap:12px;align-items:center}.winner-list-v156{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.winner-list-v156 article{background:#f8fafc;border-radius:16px;padding:11px;border:1px solid rgba(6,24,39,.05)}.winner-list-v156 b{font-size:13px}.winner-list-v156 small{display:block;color:#64748b;font-size:11px;font-weight:850}
@media(max-width:1100px){.stw-prizes-v156 .stw-prize-shell{max-width:940px!important}.podium-row-v156{grid-template-columns:1fr 1fr 1fr}.activity-strip-v156,.winners-strip-v156{grid-template-columns:1fr}.scan-lines{display:none}}
@media(max-width:820px){.prize-hero-v156{display:block;padding:30px 22px;border-radius:0 0 24px 24px}.prize-hero-v156 h1{font-size:36px}.reset-chip-v155{margin-top:18px;max-width:210px}.podium-row-v156{grid-template-columns:1fr}.referral-banner-v156{grid-template-columns:1fr}.raffle-card-v156{grid-template-columns:96px 1fr}.raffle-foot-v156{grid-column:2;align-items:flex-start;padding:0 14px 14px}.raffle-img-v156{height:100%;min-height:108px}.winner-list-v156{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.stw-prizes-v156 .stw-prize-shell{padding-left:14px!important;padding-right:14px!important}.prize-hero-v156{margin-left:-14px;margin-right:-14px;border-radius:0;padding:28px 20px}.hero-actions-v155 .btn{width:100%}.activity-strip-v156,.prize-main-v156,.raffles-section-v156,.referral-banner-v156{border-radius:22px}.section-head-v156 h2{font-size:25px}.raffle-card-v156{grid-template-columns:1fr}.raffle-img-v156{height:88px}.raffle-body-v156{padding:0 14px}.raffle-foot-v156{grid-column:auto;padding:0 14px 14px}.winner-list-v156{grid-template-columns:1fr}}
/* v1.57 dashboard cleanup + referrals page */
.user-messages-preview{display:none!important}.referral-tile{background:linear-gradient(135deg,#061827,#0b4771)!important;color:#fff!important}.referral-tile .svg-icon{color:#ffb800!important}.referrals-phone{padding-bottom:18px}.referrals-hero{position:relative;overflow:hidden;margin-top:14px;border-radius:24px;padding:22px;background:radial-gradient(circle at 92% 8%,rgba(255,184,0,.30),transparent 24%),linear-gradient(135deg,#061827,#0b4771);color:#fff;box-shadow:0 18px 45px rgba(6,24,39,.18)}.referrals-hero:before{content:"";position:absolute;inset:auto -30px -55px auto;width:160px;height:160px;border-radius:50%;background:rgba(255,184,0,.13)}.referrals-hero>*{position:relative}.referrals-icon{width:54px;height:54px;border-radius:18px;background:#ffb800;color:#061827;display:grid;place-items:center;margin-bottom:12px}.referrals-icon .svg-icon{width:26px;height:26px}.referrals-hero small{display:block;color:#ffb800;font-weight:1000;letter-spacing:.5px}.referrals-hero h1{margin:7px 0 8px;font-size:30px;line-height:1.02;color:#fff}.referrals-hero p{margin:0;color:rgba(255,255,255,.86);font-weight:800;line-height:1.45}.referral-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0}.referral-stats article{background:#fff;border-radius:18px;padding:14px 10px;text-align:center;box-shadow:0 10px 26px rgba(7,25,39,.07);border:1px solid #eef2f7}.referral-stats b{display:block;font-size:22px;color:#061827}.referral-stats span{display:block;font-size:11px;font-weight:1000;color:#64748b;text-transform:uppercase}.referral-apply-card,.referral-list{background:#fff;border:1px solid #edf1f5;border-radius:22px;padding:18px;margin-top:14px;box-shadow:0 12px 32px rgba(7,25,39,.07)}.referral-apply-card h2{font-size:22px;margin:0 0 6px}.referral-apply-card p{margin:0 0 12px;color:#64748b;font-weight:850}.referral-list article{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:12px;border-radius:16px;background:#f8fafc;padding:11px;margin-top:9px}.referral-list article>span{width:42px;height:42px;border-radius:14px;background:#ffb800;color:#061827;display:grid;place-items:center}.referral-list b{display:block}.referral-list small{display:block;color:#64748b;font-weight:850}.referral-list strong{color:#0b4771}.referrals-phone .referral-copy-box{background:rgba(255,255,255,.12);color:#fff}.referrals-phone .referral-form{grid-template-columns:1fr}.referrals-phone .referral-form .btn{width:100%;justify-content:center}@media(min-width:760px){.referrals-phone{max-width:760px}.referrals-phone .referral-form{grid-template-columns:1fr auto}.referrals-phone .referral-form .btn{width:auto}.referrals-hero{padding:28px}.referrals-hero h1{font-size:38px}}

/* V1.56 Colecciones especiales automáticas */
.special-collections-panel{margin:18px 0 22px;padding:18px;border:1px solid rgba(246,198,16,.28);border-radius:24px;background:linear-gradient(135deg,rgba(20,20,20,.96),rgba(45,38,12,.92));box-shadow:0 18px 45px rgba(0,0,0,.18)}
.special-collections-panel .section-head p{margin:.25rem 0 0;color:rgba(255,255,255,.72);max-width:760px}
.special-collections-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-top:14px}
.special-collection-card{padding:15px;border-radius:20px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.10);color:#fff;position:relative;overflow:hidden}
.special-collection-card:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at top right,rgba(246,198,16,.18),transparent 46%);pointer-events:none}
.special-collection-card.completed{border-color:rgba(45,212,122,.55);background:linear-gradient(135deg,rgba(45,212,122,.18),rgba(255,255,255,.06))}
.special-collection-card.ready{border-color:rgba(246,198,16,.75);box-shadow:0 0 0 1px rgba(246,198,16,.18),0 18px 40px rgba(246,198,16,.08)}
.special-collection-top{display:flex;align-items:center;justify-content:space-between;gap:10px;position:relative;z-index:1}
.special-collection-top span{font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:rgba(255,255,255,.62)}
.special-collection-top strong{background:#f6c610;color:#111;padding:6px 10px;border-radius:999px;font-size:.78rem;white-space:nowrap}
.special-collection-card h3{margin:14px 0 6px;font-size:1.05rem;position:relative;z-index:1}
.special-collection-card p{margin:0 0 12px;color:rgba(255,255,255,.74);position:relative;z-index:1}
.special-collection-card small{display:block;margin-top:8px;color:rgba(255,255,255,.72);position:relative;z-index:1}
.special-collection-card .progress-line{height:9px;background:rgba(255,255,255,.14);border-radius:999px;overflow:hidden;position:relative;z-index:1}
.special-collection-card .progress-line span{display:block;height:100%;background:#f6c610;border-radius:999px}
@media(max-width:720px){.special-collections-panel{padding:14px;border-radius:20px}.special-collections-grid{grid-template-columns:1fr}.special-collection-top{align-items:flex-start;flex-direction:column}.special-collection-top strong{white-space:normal}}

/* V1.57 Colecciones compactas, desplegables y sin scroll largo */
.special-collections-compact{padding:14px!important;border-radius:24px!important;margin:14px 0 16px!important;background:linear-gradient(135deg,#101010,#2a2208)!important;color:#fff!important;overflow:hidden!important}
.special-collection-headline{display:flex;align-items:center;justify-content:space-between;gap:14px}
.special-collection-headline h2{margin:2px 0 4px;font-size:1.3rem;line-height:1.1;color:#fff}
.special-collection-headline p{margin:0;color:rgba(255,255,255,.72);font-size:.9rem;font-weight:700}
.collection-stat-stack{min-width:82px;text-align:center;background:#f6c610;color:#111;border-radius:20px;padding:10px 12px;box-shadow:0 14px 28px rgba(246,198,16,.18)}
.collection-stat-stack b{display:block;font-size:1.15rem;line-height:1;font-weight:1000}.collection-stat-stack small{display:block;margin-top:3px;font-size:.68rem;text-transform:uppercase;font-weight:1000;letter-spacing:.05em}
.collection-summary-row{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 0}.collection-summary-row span{background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.1);border-radius:999px;padding:7px 10px;font-size:.78rem;font-weight:900;color:rgba(255,255,255,.86)}
.collections-master{margin-top:12px}.collections-master>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-radius:17px;background:#f6c610;color:#111;font-weight:1000;box-shadow:0 12px 26px rgba(0,0,0,.16)}
.collections-master>summary::-webkit-details-marker,.special-collection-row>summary::-webkit-details-marker{display:none}.collections-master[open]>summary b{transform:rotate(180deg)}.collections-master>summary b{transition:.18s ease}
.special-collections-list{display:grid;grid-template-columns:1fr;gap:10px;margin-top:12px;max-height:62vh;overflow:auto;padding-right:3px}
.special-collection-row{background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.12);border-radius:18px;overflow:hidden}.special-collection-row.ready{border-color:rgba(246,198,16,.72)}.special-collection-row.completed{border-color:rgba(45,212,122,.6);background:rgba(45,212,122,.13)}
.special-collection-row>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;color:#fff}.collection-row-main{min-width:0;flex:1}.collection-row-main strong{display:block;font-size:.95rem;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.collection-type{display:block;color:rgba(255,255,255,.58);font-size:.68rem;text-transform:uppercase;letter-spacing:.07em;font-weight:1000;margin-bottom:4px}.collection-row-side{text-align:right;min-width:62px}.collection-row-side b{display:block;color:#f6c610;font-size:1rem}.collection-row-side small{display:block;color:rgba(255,255,255,.68);font-weight:900;font-size:.78rem}.collection-mini-bar{height:7px;border-radius:999px;background:rgba(255,255,255,.12);overflow:hidden;margin-top:8px}.collection-mini-bar i{display:block;height:100%;border-radius:999px;background:#f6c610}
.collection-place-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:9px;padding:0 12px 12px}.collection-place-mini{display:flex;align-items:center;gap:10px;background:rgba(0,0,0,.18);border:1px solid rgba(255,255,255,.08);border-radius:15px;padding:8px;min-width:0}.collection-place-mini.locked{opacity:.66}.mini-place-img{width:42px;height:42px;flex:0 0 42px;border-radius:13px;background:#202020 center/cover no-repeat;display:grid;place-items:center;color:#f6c610;overflow:hidden}.collection-place-mini strong{display:block;color:#fff;font-size:.85rem;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.collection-place-mini small{display:block;color:rgba(255,255,255,.62);font-size:.72rem;font-weight:800;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:720px){.special-collections-compact{margin-left:14px!important;margin-right:14px!important;padding:13px!important}.special-collection-headline{align-items:flex-start}.special-collection-headline h2{font-size:1.12rem}.special-collection-headline p{font-size:.8rem}.collection-stat-stack{min-width:68px;border-radius:16px;padding:9px 8px}.collection-summary-row span{font-size:.7rem;padding:6px 8px}.special-collections-list{max-height:55vh}.collection-place-list{grid-template-columns:1fr}.collection-row-main strong{font-size:.88rem}}

/* V1.59 - Generador automático de puntos */
.auto-generator-card{border:1px solid rgba(246,198,16,.45);background:linear-gradient(135deg,#fffdf2,#fff)}
.auto-generator-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
.auto-generator-head h3{margin:0 0 6px}
.auto-preview-list{display:grid;gap:10px;margin-top:16px}
.auto-preview-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}
.auto-preview-title small{display:block;color:#6b7280;margin-top:3px}
.auto-preview-item{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:12px;border:1px solid rgba(17,24,39,.1);border-radius:16px;background:#fff;cursor:pointer}
.auto-preview-item input{width:18px;height:18px}
.auto-preview-item b{display:block;color:#111827}
.auto-preview-item small{display:block;color:#6b7280;margin-top:3px}
.auto-preview-item em{font-style:normal;font-weight:800;background:#111827;color:#f6c610;border-radius:999px;padding:6px 10px;font-size:12px}
@media(max-width:720px){.auto-generator-head{display:block}.auto-preview-item{grid-template-columns:auto 1fr}.auto-preview-item em{grid-column:2;justify-self:start}}

/* V1.60 - negocios patrocinados separados de rareza */
.rf-dot.business{background:#f59e0b;box-shadow:0 0 0 3px rgba(245,158,11,.16)}
.rf-dot.tourism{background:#10b981;box-shadow:0 0 0 3px rgba(16,185,129,.16)}
.stw-marker-v2.sponsored-business-marker span{border:2px solid #f59e0b;box-shadow:0 16px 35px rgba(245,158,11,.28),0 0 0 6px rgba(245,158,11,.14)}
.stw-marker-v2 .biz-star{position:absolute;right:-7px;top:-7px;width:22px;height:22px;border-radius:999px;background:#ffb800;color:#111827;font-style:normal;font-size:13px;font-weight:900;display:grid;place-items:center;border:2px solid #fff;box-shadow:0 8px 18px rgba(0,0,0,.24);z-index:3}
.popup-sponsored{display:inline-flex;align-items:center;gap:6px;margin:10px 0 2px;padding:6px 10px;border-radius:999px;background:linear-gradient(135deg,#fff7cc,#ffe08a);color:#111827;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.02em}
.popup-consume{margin:8px 0!important;padding:8px 10px;border-radius:12px;background:#0f172a;color:#fff;font-weight:900;text-align:center}
.map-point-card.business-card{border-color:rgba(245,158,11,.45);background:linear-gradient(180deg,#fff,#fff8df)}
.map-point-card.business-card .point-badge{background:#ffb800;color:#111827;font-weight:900}
.map-point-card .sponsor-line{color:#92400e;font-weight:900;font-style:normal}
.business-plan-card.common,.plan-pill.common,.pricing-card.common{--plan:#f59e0b}
.business-plan-card.rare,.plan-pill.rare,.pricing-card.rare{--plan:#2563eb}
.business-plan-card.epic,.plan-pill.epic,.pricing-card.epic{--plan:#7c3aed}
.business-plan-card.legendary,.plan-pill.legendary,.pricing-card.legendary{--plan:#f59e0b}
.business-plan-card{border:1px solid color-mix(in srgb,var(--plan,#f59e0b) 42%,transparent);box-shadow:0 18px 45px rgba(15,23,42,.08)}
.business-reward-highlight{border:1px solid rgba(245,158,11,.35);background:linear-gradient(135deg,#fff7cc,#fff);border-radius:20px;padding:14px;display:flex;align-items:center;gap:12px;justify-content:space-between;margin:14px 0}
.business-reward-highlight .reward-icon{width:44px;height:44px;border-radius:15px;background:#ffb800;display:grid;place-items:center;color:#111827;flex:0 0 auto}
.business-reward-highlight strong{display:block;font-size:20px}.business-reward-highlight span{display:block;color:#64748b;font-size:13px}
.consumption-card{border:1px solid rgba(245,158,11,.28);box-shadow:0 18px 45px rgba(15,23,42,.06)}
.code-input{text-transform:uppercase;text-align:center;letter-spacing:.18em;font-weight:900;font-size:22px}

/* V1.61 - nearest scan points */
.nearest-map-link{margin-top:12px;width:100%;justify-content:center;}
.scan-section.muted .nearest-map-link{background:#fff;}


/* ScanToWin language selector fixes */
.sidebar-lang{margin:8px 0 14px}.sidebar-lang .lang-wrap{width:100%;justify-content:flex-start;background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.18);box-shadow:none;color:#fff}.sidebar-lang .lang-wrap .svg-icon{color:#ffb800}.sidebar-lang .lang-select{color:#fff}.sidebar-lang .lang-select option{color:#061827}.mobile-language-floating,.scan-language-floating{display:none}.lang-wrap.mobile-lang-select,.lang-wrap.scan-lang-select{border-radius:999px;background:rgba(255,255,255,.94);border:1px solid rgba(6,24,39,.10);box-shadow:0 12px 30px rgba(6,24,39,.10);backdrop-filter:blur(14px)}
@media(max-width:900px){.mobile-language-floating{display:block;position:fixed;top:12px;right:14px;z-index:80}.mobile-language-floating .lang-wrap{height:42px;padding:0 10px}.mobile-language-floating .lang-wrap .svg-icon{display:none}.mobile-language-floating .lang-select{min-width:58px;font-size:13px}.dashboard-topbar{padding-right:86px!important}.scan-language-floating{display:block;position:fixed;top:14px;right:14px;z-index:80}.scan-language-floating .lang-wrap{height:42px;padding:0 10px}.scan-language-floating .lang-wrap .svg-icon{display:none}.scan-language-floating .lang-select{min-width:58px;font-size:13px}}
@media(max-width:420px){.hello-card span{display:none}.dashboard-topbar{gap:8px!important}.mobile-language-floating{right:10px}.dashboard-topbar .round-btn{width:42px;height:42px;flex:0 0 42px}}

/* === V1.26 language selector + QR mobile polish === */
.lang-wrap{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:0;min-width:0;max-width:100%;overflow:hidden}
.lang-wrap .svg-icon{display:none!important}
.lang-select{appearance:auto;-webkit-appearance:auto;background:transparent!important;border:0!important;outline:0!important;font-weight:1000;color:inherit;cursor:pointer;max-width:100%}
.sidebar-lang .lang-wrap{height:46px;border-radius:16px;padding:0 10px;width:100%;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.18)}
.sidebar-lang .lang-select{width:100%;min-width:0;color:#fff;font-size:14px;text-overflow:ellipsis}
.sidebar-lang .lang-select option{color:#061827;background:#fff}
.dashboard-top-actions{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.dashboard-lang-select.lang-wrap{height:44px;min-width:112px;border-radius:999px;padding:0 10px;background:#fff;border:1px solid #e5e7eb;box-shadow:0 10px 24px rgba(6,24,39,.08)}
.dashboard-lang-select .lang-select{height:42px;width:100%;min-width:88px;font-size:14px;padding:0 4px!important;color:#061827;text-align:left}
@media(max-width:900px){
  .mobile-language-floating{display:none!important}
  .dashboard-topbar{padding-right:0!important;align-items:center}
  .dashboard-topbar .hello-card{min-width:0;flex:1 1 auto}
  .dashboard-topbar .hello-card>div:last-child{min-width:0}
  .dashboard-topbar .hello-card b{display:block;max-width:135px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .dashboard-top-actions{gap:8px;margin-left:8px}
  .dashboard-lang-select.lang-wrap{height:42px;min-width:58px;width:58px;padding:0 3px;border-radius:999px}
  .dashboard-lang-select .lang-select{height:40px;min-width:52px;width:52px;font-size:0!important;padding:0!important;text-align:center;color:transparent!important}
  .dashboard-lang-select .lang-select option{font-size:15px;color:#061827}
  .dashboard-lang-select:after{content:"🌐";position:absolute;inset:0;display:grid;place-items:center;font-size:20px;pointer-events:none}
}
@media(max-width:420px){
  .dashboard-topbar{gap:6px!important}
  .dashboard-topbar .round-btn{width:42px;height:42px;flex:0 0 42px}
  .dashboard-lang-select.lang-wrap{width:52px;min-width:52px}
}


/* ScanToWin language selector - flag based */
.lang-wrap.lang-flags{position:relative;display:inline-flex;align-items:center;justify-content:center;width:auto!important;min-width:0!important;height:auto!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;z-index:50}
.lang-flag-current{width:48px;height:48px;border-radius:999px;border:2px solid #e2e8f0;background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 10px 24px rgba(6,24,39,.08);transition:.18s;line-height:1;padding:0}
.lang-flag-current:hover{transform:translateY(-1px);border-color:var(--yellow);box-shadow:0 14px 30px rgba(6,24,39,.12)}
.lang-flag{font-size:23px;line-height:1;display:inline-flex;align-items:center;justify-content:center}
.lang-flag-menu{position:absolute;top:calc(100% + 10px);right:0;min-width:190px;background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:8px;box-shadow:0 24px 60px rgba(6,24,39,.18);display:none;z-index:9999}
.lang-wrap.lang-flags.open .lang-flag-menu{display:grid;gap:3px}
.lang-flag-option{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:13px;color:#061827!important;text-decoration:none!important;font-weight:900;white-space:nowrap;background:#fff}
.lang-flag-option:hover,.lang-flag-option.active{background:#f8fafc}.lang-flag-option.active{box-shadow:inset 3px 0 0 var(--yellow)}
.lang-flag-option .lang-name{font-size:14px}.nav-actions .lang-wrap.lang-flags{margin-right:2px}.sidebar .sidebar-lang{margin:8px 0 18px;display:flex;justify-content:center}.sidebar .lang-flag-current{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.22);box-shadow:none}.sidebar .lang-flag-menu{left:0;right:auto}.dashboard-top-actions{display:flex;align-items:center;gap:10px}.dashboard-lang-select.lang-wrap{width:auto!important;min-width:0!important;height:auto!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}.scan-language-floating .lang-wrap.lang-flags{display:flex}.scan-language-floating .lang-flag-current{width:50px;height:50px}
@media(max-width:760px){.lang-flag-current{width:44px;height:44px}.lang-flag{font-size:22px}.lang-flag-menu{right:0;min-width:180px}.nav-actions .lang-wrap.lang-flags{margin-right:0}.dashboard-top-actions .lang-flag-current{width:42px;height:42px}.sidebar .lang-flag-menu{left:50%;right:auto;transform:translateX(-50%)}}


/* === FINAL FIX: native flag language dropdown === */
.lang-wrap.lang-flags{position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:0!important;height:auto!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;z-index:999!important;line-height:1!important}
.lang-wrap.lang-flags summary{list-style:none!important}
.lang-wrap.lang-flags summary::-webkit-details-marker{display:none!important}
.lang-flag-current{width:48px!important;height:48px!important;border-radius:999px!important;border:2px solid #e2e8f0!important;background:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;box-shadow:0 10px 24px rgba(6,24,39,.08)!important;transition:.18s!important;line-height:1!important;padding:0!important;user-select:none!important}
.lang-flag-current:hover{transform:translateY(-1px)!important;border-color:var(--yellow)!important;box-shadow:0 14px 30px rgba(6,24,39,.12)!important}
.lang-flag{font-size:23px!important;line-height:1!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;height:auto!important;color:inherit!important}
.lang-flag-menu{position:absolute!important;top:calc(100% + 10px)!important;right:0!important;min-width:190px!important;background:#fff!important;border:1px solid #e5e7eb!important;border-radius:18px!important;padding:8px!important;box-shadow:0 24px 60px rgba(6,24,39,.22)!important;display:none!important;z-index:2147483647!important}
.lang-wrap.lang-flags[open] .lang-flag-menu{display:grid!important;gap:3px!important}
.lang-flag-option{display:flex!important;align-items:center!important;gap:10px!important;padding:10px 12px!important;border-radius:13px!important;color:#061827!important;text-decoration:none!important;font-weight:900!important;white-space:nowrap!important;background:#fff!important;text-align:left!important}
.lang-flag-option:hover,.lang-flag-option.active{background:#f8fafc!important}.lang-flag-option.active{box-shadow:inset 3px 0 0 var(--yellow)!important}
.lang-flag-option .lang-name{font-size:14px!important;display:inline!important;color:#061827!important}
.nav,.nav-inner,.nav-actions,.qr-campaign-nav,.qr-campaign-nav .container,.dashboard-top-actions,.mobile-topbar,.sidebar{overflow:visible!important}
.sidebar .sidebar-lang{display:flex!important;justify-content:center!important;margin:8px 0 18px!important;position:relative!important;z-index:1000!important}
.sidebar .lang-flag-current{background:rgba(255,255,255,.12)!important;border-color:rgba(255,255,255,.22)!important;box-shadow:none!important}
.sidebar .lang-flag-menu{left:50%!important;right:auto!important;transform:translateX(-50%)!important;top:calc(100% + 10px)!important}
.dashboard-lang-select.lang-wrap,.qr-lang-select.lang-wrap,.map-lang-select.lang-wrap,.scan-lang-select.lang-wrap,.sidebar-lang-select.lang-wrap{width:auto!important;min-width:0!important;height:auto!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.scan-language-floating{overflow:visible!important}.scan-language-floating .lang-flag-current{width:50px!important;height:50px!important}
@media(max-width:760px){.lang-flag-current{width:44px!important;height:44px!important}.lang-flag{font-size:22px!important}.lang-flag-menu{right:0!important;min-width:180px!important}.dashboard-top-actions .lang-flag-current{width:42px!important;height:42px!important}.sidebar .lang-flag-menu{left:50%!important;right:auto!important;transform:translateX(-50%)!important}.qr-campaign-nav .nav-actions .btn{display:none!important}.qr-campaign-nav .container{display:flex!important;align-items:center!important;justify-content:space-between!important}.qr-campaign-nav .nav-actions{display:flex!important;width:auto!important;margin-left:auto!important}}

/* === MOBILE FIX: keep language menu fully visible on screen === */
@media(max-width:760px){
  .lang-wrap.lang-flags .lang-flag-menu{
    position:fixed!important;
    top:62px!important;
    left:12px!important;
    right:12px!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    transform:none!important;
    border-radius:18px!important;
    padding:8px!important;
    z-index:2147483647!important;
  }
  .lang-wrap.lang-flags .lang-flag-option{
    min-height:44px!important;
    justify-content:flex-start!important;
  }
  .lang-wrap.lang-flags .lang-flag-option .lang-flag{
    width:34px!important;
    justify-content:center!important;
  }
  .qr-campaign-nav .lang-wrap.lang-flags .lang-flag-menu,
  .mobile-topbar .lang-wrap.lang-flags .lang-flag-menu,
  .scan-language-floating .lang-wrap.lang-flags .lang-flag-menu{
    top:64px!important;
  }
}

/* === V1.62 final language selector: desktop dropdown + mobile modal === */
.lang-wrap.lang-flags{position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;overflow:visible!important;z-index:1000!important}
.lang-wrap.lang-flags summary{list-style:none!important}
.lang-wrap.lang-flags summary::-webkit-details-marker{display:none!important}
.lang-flag-current{width:48px!important;height:48px!important;border-radius:999px!important;border:2px solid #e2e8f0!important;background:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;box-shadow:0 10px 24px rgba(6,24,39,.08)!important;padding:0!important;line-height:1!important}
.lang-flag-current .lang-flag,.lang-flag{font-size:23px!important;line-height:1!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
.lang-flag-menu{display:none!important;position:absolute!important;top:calc(100% + 10px)!important;right:0!important;left:auto!important;width:220px!important;min-width:220px!important;background:#fff!important;border:1px solid #e5e7eb!important;border-radius:18px!important;padding:8px!important;box-shadow:0 24px 60px rgba(6,24,39,.18)!important;z-index:2147483647!important;transform:none!important}
details.lang-wrap.lang-flags[open]>.lang-flag-menu{display:grid!important;gap:3px!important}
.lang-menu-title{display:none!important}
.lang-menu-close{appearance:none;border:0;background:#f1f5f9;color:#061827;width:38px;height:38px;border-radius:999px;font-size:28px;line-height:1;display:inline-flex;align-items:center;justify-content:center;font-weight:900;cursor:pointer}
.lang-flag-option{display:flex!important;align-items:center!important;gap:10px!important;width:100%!important;padding:10px 12px!important;border-radius:13px!important;color:#061827!important;text-decoration:none!important;font-weight:900!important;white-space:nowrap!important;background:#fff!important;box-sizing:border-box!important}
.lang-flag-option:hover,.lang-flag-option.active{background:#f8fafc!important}.lang-flag-option.active{box-shadow:inset 3px 0 0 var(--yellow)!important}.lang-flag-option .lang-name{font-size:14px!important;line-height:1.15!important}
.sidebar .lang-flag-menu{left:0!important;right:auto!important}.dashboard-top-actions{display:flex!important;align-items:center!important;gap:10px!important}
@media(max-width:760px){
  .lang-flag-current{width:44px!important;height:44px!important}
  .lang-flag-current .lang-flag,.lang-flag{font-size:22px!important}
  details.lang-wrap.lang-flags[open]>.lang-flag-menu{
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    min-width:100vw!important;
    height:100vh!important;
    max-height:100vh!important;
    overflow-y:auto!important;
    border:0!important;
    border-radius:0!important;
    padding:calc(env(safe-area-inset-top,0px) + 20px) 20px 24px!important;
    background:rgba(6,24,39,.58)!important;
    box-shadow:none!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    align-items:stretch!important;
    gap:10px!important;
  }
  details.lang-wrap.lang-flags[open]>.lang-flag-menu:before{
    content:"";
    position:fixed;
    left:18px;right:18px;top:50%;
    transform:translateY(-50%);
    height:auto;min-height:430px;max-height:calc(100vh - 56px);
    background:#fff;border-radius:26px;box-shadow:0 30px 90px rgba(0,0,0,.32);z-index:-1;
  }
  .lang-menu-title{display:flex!important;align-items:center!important;justify-content:space-between!important;margin:0 18px 8px!important;padding:0 4px 10px!important;color:#061827!important;font-weight:1000!important;font-size:20px!important;border-bottom:1px solid #e5e7eb!important}
  .lang-menu-close{display:inline-flex!important;flex:0 0 38px!important}
  .lang-flag-option{margin:0 18px!important;width:auto!important;min-height:50px!important;padding:11px 14px!important;border-radius:16px!important;background:#fff!important;font-size:16px!important}
  .lang-flag-option .lang-flag{width:38px!important;font-size:26px!important;justify-content:center!important}
  .lang-flag-option .lang-name{font-size:16px!important}
  .qr-campaign-nav .nav-actions .btn{display:none!important}
  .qr-campaign-nav .container{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}
  .qr-campaign-nav .logo{flex:1 1 auto!important;min-width:0!important}
  .qr-campaign-nav .nav-actions{flex:0 0 auto!important;margin-left:auto!important;width:auto!important;display:flex!important;align-items:center!important}
  body:has(details.lang-wrap.lang-flags[open]){overflow:hidden!important}
}

/* === V1.63 mobile language modal clean rebuild === */
.lang-menu-panel{display:contents}
@media(max-width:760px){
  details.lang-wrap.lang-flags[open]>.lang-flag-menu{
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    min-width:100vw!important;
    height:100vh!important;
    max-height:100vh!important;
    overflow-y:auto!important;
    border:0!important;
    border-radius:0!important;
    padding:18px!important;
    background:rgba(6,24,39,.62)!important;
    box-shadow:none!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    z-index:2147483647!important;
    box-sizing:border-box!important;
  }
  details.lang-wrap.lang-flags[open]>.lang-flag-menu:before{display:none!important;content:none!important}
  details.lang-wrap.lang-flags[open] .lang-menu-panel{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    max-width:360px!important;
    max-height:calc(100vh - 44px)!important;
    overflow-y:auto!important;
    background:#fff!important;
    border-radius:26px!important;
    padding:18px!important;
    box-shadow:0 30px 90px rgba(0,0,0,.32)!important;
    box-sizing:border-box!important;
    gap:10px!important;
  }
  details.lang-wrap.lang-flags[open] .lang-menu-title{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    margin:0 0 8px!important;
    padding:0 0 12px!important;
    color:#061827!important;
    font-weight:1000!important;
    font-size:20px!important;
    border-bottom:1px solid #e5e7eb!important;
    width:100%!important;
    box-sizing:border-box!important;
  }
  details.lang-wrap.lang-flags[open] .lang-menu-close{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 0 42px!important;
    width:42px!important;
    height:42px!important;
    border-radius:999px!important;
    background:#f1f5f9!important;
    color:#061827!important;
    border:0!important;
    font-size:30px!important;
    line-height:1!important;
    font-weight:900!important;
  }
  details.lang-wrap.lang-flags[open] .lang-flag-option{
    margin:0!important;
    width:100%!important;
    min-height:54px!important;
    padding:12px 14px!important;
    border-radius:16px!important;
    background:#f8fafc!important;
    color:#061827!important;
    font-size:16px!important;
    box-sizing:border-box!important;
  }
  details.lang-wrap.lang-flags[open] .lang-flag-option.active{background:#fff7d6!important;box-shadow:inset 4px 0 0 var(--yellow)!important}
  details.lang-wrap.lang-flags[open] .lang-flag-option .lang-flag{width:38px!important;font-size:26px!important;justify-content:center!important;flex:0 0 38px!important}
  details.lang-wrap.lang-flags[open] .lang-flag-option .lang-name{font-size:16px!important;line-height:1.15!important;display:inline!important;color:#061827!important}
}


/* === V1.64 ScanToWin mobile language modal polish === */
@media(max-width:760px){
  details.lang-wrap.lang-flags[open]{z-index:2147483646!important;position:relative!important}
  details.lang-wrap.lang-flags[open]::before{
    content:""!important;
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    height:100dvh!important;
    background:rgba(6,24,39,.50)!important;
    backdrop-filter:blur(8px)!important;
    -webkit-backdrop-filter:blur(8px)!important;
    z-index:2147483645!important;
  }
  details.lang-wrap.lang-flags[open]>.lang-flag-menu{
    display:block!important;
    position:fixed!important;
    left:50%!important;
    right:auto!important;
    top:50%!important;
    bottom:auto!important;
    transform:translate(-50%,-50%)!important;
    width:min(390px,92vw)!important;
    min-width:0!important;
    height:auto!important;
    max-height:min(640px,82dvh)!important;
    overflow:hidden!important;
    padding:0!important;
    border:0!important;
    border-radius:28px!important;
    background:#fff!important;
    box-shadow:0 30px 90px rgba(0,0,0,.35)!important;
    z-index:2147483647!important;
    box-sizing:border-box!important;
  }
  details.lang-wrap.lang-flags[open] .lang-menu-panel{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    max-width:none!important;
    max-height:min(640px,82dvh)!important;
    overflow-y:auto!important;
    background:#fff!important;
    border-radius:28px!important;
    padding:20px!important;
    box-shadow:none!important;
    box-sizing:border-box!important;
    gap:10px!important;
    -webkit-overflow-scrolling:touch!important;
  }
  details.lang-wrap.lang-flags[open] .lang-menu-title{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:14px!important;
    margin:0 0 8px!important;
    padding:0 0 14px!important;
    color:#061827!important;
    font-weight:1000!important;
    font-size:22px!important;
    line-height:1.08!important;
    border-bottom:1px solid #e5e7eb!important;
    width:100%!important;
    box-sizing:border-box!important;
  }
  details.lang-wrap.lang-flags[open] .lang-menu-title span{display:block!important;min-width:0!important}
  details.lang-wrap.lang-flags[open] .lang-menu-close{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 0 44px!important;
    width:44px!important;
    height:44px!important;
    border-radius:999px!important;
    background:#f1f5f9!important;
    color:#061827!important;
    border:0!important;
    font-size:32px!important;
    line-height:1!important;
    font-weight:1000!important;
    cursor:pointer!important;
    padding:0!important;
  }
  details.lang-wrap.lang-flags[open] .lang-flag-option{
    margin:0!important;
    width:100%!important;
    min-height:58px!important;
    padding:12px 16px!important;
    border-radius:18px!important;
    background:#f8fafc!important;
    color:#061827!important;
    font-size:17px!important;
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    gap:14px!important;
  }
  details.lang-wrap.lang-flags[open] .lang-flag-option.active{
    background:#fff7d6!important;
    box-shadow:inset 4px 0 0 var(--yellow)!important;
  }
  details.lang-wrap.lang-flags[open] .lang-flag-option .lang-flag{
    width:42px!important;
    min-width:42px!important;
    flex:0 0 42px!important;
    font-size:28px!important;
    justify-content:center!important;
  }
  details.lang-wrap.lang-flags[open] .lang-flag-option .lang-name{
    font-size:17px!important;
    line-height:1.15!important;
    display:inline!important;
    color:#061827!important;
    white-space:nowrap!important;
  }
  body:has(details.lang-wrap.lang-flags[open]){overflow:hidden!important}
  .qr-campaign-nav .nav-actions .btn{display:none!important}
}

/* === V1.67 final mobile language modal centering fix === */
@media (max-width:760px){
  details.lang-wrap.lang-flags[open]{
    position:static!important;
    z-index:2147483646!important;
  }
  details.lang-wrap.lang-flags[open]::before{
    content:""!important;
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    height:100dvh!important;
    background:rgba(6,24,39,.48)!important;
    backdrop-filter:blur(10px)!important;
    -webkit-backdrop-filter:blur(10px)!important;
    z-index:2147483645!important;
  }
  details.lang-wrap.lang-flags[open]>.lang-flag-menu{
    display:block!important;
    position:fixed!important;
    left:50vw!important;
    top:50dvh!important;
    right:auto!important;
    bottom:auto!important;
    transform:translate(-50%,-50%)!important;
    width:min(360px,calc(100vw - 32px))!important;
    min-width:0!important;
    max-width:calc(100vw - 32px)!important;
    height:auto!important;
    max-height:min(560px,calc(100dvh - 96px))!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    border:0!important;
    border-radius:26px!important;
    background:#fff!important;
    box-shadow:0 30px 90px rgba(0,0,0,.35)!important;
    z-index:2147483647!important;
    box-sizing:border-box!important;
  }
  details.lang-wrap.lang-flags[open] .lang-menu-panel{
    width:100%!important;
    max-width:none!important;
    max-height:min(560px,calc(100dvh - 96px))!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    padding:18px!important;
    border-radius:26px!important;
    background:#fff!important;
    box-sizing:border-box!important;
    display:flex!important;
    flex-direction:column!important;
    gap:10px!important;
    -webkit-overflow-scrolling:touch!important;
  }
  details.lang-wrap.lang-flags[open] .lang-menu-title{
    width:100%!important;
    margin:0 0 8px!important;
    padding:0 0 14px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    border-bottom:1px solid #e5e7eb!important;
    color:#061827!important;
    font-weight:1000!important;
    font-size:22px!important;
    line-height:1.08!important;
    box-sizing:border-box!important;
  }
  details.lang-wrap.lang-flags[open] .lang-menu-title span{
    min-width:0!important;
    flex:1 1 auto!important;
  }
  details.lang-wrap.lang-flags[open] .lang-menu-close{
    flex:0 0 44px!important;
    width:44px!important;
    height:44px!important;
    border-radius:999px!important;
    background:#f1f5f9!important;
    color:#061827!important;
    border:0!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:32px!important;
    line-height:1!important;
    font-weight:1000!important;
    padding:0!important;
  }
  details.lang-wrap.lang-flags[open] .lang-flag-option{
    width:100%!important;
    min-height:58px!important;
    margin:0!important;
    padding:12px 16px!important;
    border-radius:18px!important;
    background:#f8fafc!important;
    color:#061827!important;
    display:flex!important;
    align-items:center!important;
    gap:14px!important;
    box-sizing:border-box!important;
  }
  details.lang-wrap.lang-flags[open] .lang-flag-option.active{
    background:#fff7d6!important;
    box-shadow:inset 4px 0 0 var(--yellow)!important;
  }
  details.lang-wrap.lang-flags[open] .lang-flag-option .lang-flag{
    width:40px!important;
    min-width:40px!important;
    flex:0 0 40px!important;
    font-size:27px!important;
    line-height:1!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
  details.lang-wrap.lang-flags[open] .lang-flag-option .lang-name{
    color:#061827!important;
    display:block!important;
    font-size:17px!important;
    font-weight:1000!important;
    line-height:1.15!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body:has(details.lang-wrap.lang-flags[open]),
  html:has(details.lang-wrap.lang-flags[open]){
    overflow:hidden!important;
  }
}

/* === V1.68 definitive language selector rebuild: fixed centered mobile modal === */
.stw-lang-selector{position:relative;display:inline-flex;align-items:center;justify-content:center;z-index:1200;overflow:visible!important}
.stw-lang-button{width:48px;height:48px;border-radius:999px;border:2px solid #e2e8f0;background:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 10px 24px rgba(6,24,39,.08);padding:0;line-height:1}
.stw-lang-flag{font-size:24px;line-height:1;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}
.stw-lang-overlay{display:none}
.stw-lang-menu{display:none;position:absolute;top:calc(100% + 10px);right:0;width:220px;background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:8px;box-shadow:0 24px 60px rgba(6,24,39,.18);z-index:2147483647;box-sizing:border-box}
.stw-lang-selector.open .stw-lang-menu{display:block}
.stw-lang-panel{display:flex;flex-direction:column;gap:4px;width:100%;box-sizing:border-box}
.stw-lang-title{display:none}
.stw-lang-close{appearance:none;border:0;background:#f1f5f9;color:#061827;width:42px;height:42px;border-radius:999px;font-size:32px;line-height:1;font-weight:1000;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.stw-lang-option{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;border-radius:13px;color:#061827!important;text-decoration:none!important;font-weight:900;white-space:nowrap;background:#fff;box-sizing:border-box}
.stw-lang-option:hover,.stw-lang-option.active{background:#f8fafc}.stw-lang-option.active{box-shadow:inset 3px 0 0 var(--yellow)}
.stw-lang-option .stw-lang-name{font-size:14px;line-height:1.15;color:#061827!important}
.sidebar .stw-lang-selector{width:100%;justify-content:center}.dashboard-top-actions{display:flex;align-items:center;gap:10px}
@media(max-width:760px){
  .stw-lang-button{width:44px;height:44px}
  .stw-lang-flag{font-size:23px}
  .stw-lang-selector.open{position:static!important;z-index:2147483646!important}
  .stw-lang-selector.open .stw-lang-overlay{display:block!important;position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;background:rgba(6,24,39,.50)!important;backdrop-filter:blur(10px)!important;-webkit-backdrop-filter:blur(10px)!important;z-index:2147483645!important}
  .stw-lang-selector.open .stw-lang-menu{display:flex!important;position:fixed!important;left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%)!important;width:min(360px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important;min-width:0!important;height:auto!important;max-height:calc(100dvh - 96px)!important;margin:0!important;padding:0!important;overflow:hidden!important;border:0!important;border-radius:26px!important;background:#fff!important;box-shadow:0 30px 90px rgba(0,0,0,.35)!important;z-index:2147483647!important;box-sizing:border-box!important}
  .stw-lang-selector.open .stw-lang-panel{width:100%!important;max-height:calc(100dvh - 96px)!important;overflow-y:auto!important;overflow-x:hidden!important;padding:18px!important;border-radius:26px!important;background:#fff!important;box-sizing:border-box!important;display:flex!important;flex-direction:column!important;gap:10px!important;-webkit-overflow-scrolling:touch!important}
  .stw-lang-selector.open .stw-lang-title{width:100%!important;margin:0 0 8px!important;padding:0 0 14px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;border-bottom:1px solid #e5e7eb!important;color:#061827!important;font-weight:1000!important;font-size:22px!important;line-height:1.08!important;box-sizing:border-box!important}
  .stw-lang-selector.open .stw-lang-title span{min-width:0;flex:1 1 auto}
  .stw-lang-selector.open .stw-lang-option{width:100%!important;min-height:58px!important;margin:0!important;padding:12px 16px!important;border-radius:18px!important;background:#f8fafc!important;color:#061827!important;display:flex!important;align-items:center!important;gap:14px!important;box-sizing:border-box!important}
  .stw-lang-selector.open .stw-lang-option.active{background:#fff7d6!important;box-shadow:inset 4px 0 0 var(--yellow)!important}
  .stw-lang-selector.open .stw-lang-option .stw-lang-flag{width:40px!important;min-width:40px!important;flex:0 0 40px!important;font-size:27px!important;line-height:1!important}
  .stw-lang-selector.open .stw-lang-option .stw-lang-name{display:block!important;color:#061827!important;font-size:17px!important;font-weight:1000!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  html.stw-lang-open,body.stw-lang-open{overflow:hidden!important}
  .qr-campaign-nav .nav-actions .btn{display:none!important}
}

/* === V1.69 MOBILE LANGUAGE MODAL FINAL: centered, compact, clean === */
@media (max-width: 760px){
  html.stw-lang-open,
  body.stw-lang-open{
    overflow:hidden!important;
    position:relative!important;
  }

  .stw-lang-selector.open{
    position:static!important;
    z-index:2147483646!important;
  }

  .stw-lang-selector.open .stw-lang-overlay{
    display:block!important;
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    height:100vh!important;
    height:100dvh!important;
    background:rgba(6,24,39,.58)!important;
    backdrop-filter:blur(8px)!important;
    -webkit-backdrop-filter:blur(8px)!important;
    z-index:2147483645!important;
  }

  .stw-lang-selector.open .stw-lang-menu{
    display:block!important;
    position:fixed!important;
    left:50%!important;
    top:50%!important;
    right:auto!important;
    bottom:auto!important;
    transform:translate3d(-50%,-50%,0)!important;
    width:min(340px, calc(100vw - 42px))!important;
    max-width:calc(100vw - 42px)!important;
    min-width:0!important;
    height:auto!important;
    max-height:72vh!important;
    max-height:72dvh!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    border:0!important;
    border-radius:24px!important;
    background:#fff!important;
    box-shadow:0 28px 80px rgba(0,0,0,.35)!important;
    z-index:2147483647!important;
    box-sizing:border-box!important;
  }

  .stw-lang-selector.open .stw-lang-panel{
    width:100%!important;
    height:auto!important;
    max-height:72vh!important;
    max-height:72dvh!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    padding:16px!important;
    border-radius:24px!important;
    background:#fff!important;
    box-sizing:border-box!important;
    display:flex!important;
    flex-direction:column!important;
    gap:8px!important;
  }

  .stw-lang-selector.open .stw-lang-title{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    width:100%!important;
    margin:0 0 8px!important;
    padding:0 0 12px!important;
    border-bottom:1px solid #e5e7eb!important;
    color:#061827!important;
    font-size:20px!important;
    line-height:1.1!important;
    font-weight:1000!important;
    box-sizing:border-box!important;
  }

  .stw-lang-selector.open .stw-lang-title span{
    min-width:0!important;
    flex:1 1 auto!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }

  .stw-lang-selector.open .stw-lang-close{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    flex:0 0 42px!important;
    border-radius:999px!important;
    background:#f1f5f9!important;
    color:#061827!important;
    border:0!important;
    font-size:30px!important;
    line-height:1!important;
    font-weight:1000!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:0!important;
    cursor:pointer!important;
  }

  .stw-lang-selector.open .stw-lang-option{
    width:100%!important;
    min-height:50px!important;
    height:50px!important;
    margin:0!important;
    padding:9px 14px!important;
    border-radius:16px!important;
    background:#f8fafc!important;
    color:#061827!important;
    display:flex!important;
    align-items:center!important;
    gap:12px!important;
    box-sizing:border-box!important;
    text-decoration:none!important;
    font-weight:1000!important;
  }

  .stw-lang-selector.open .stw-lang-option.active{
    background:#fff7d6!important;
    box-shadow:inset 4px 0 0 var(--yellow)!important;
  }

  .stw-lang-selector.open .stw-lang-option .stw-lang-flag{
    width:38px!important;
    min-width:38px!important;
    flex:0 0 38px!important;
    font-size:26px!important;
    line-height:1!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }

  .stw-lang-selector.open .stw-lang-option .stw-lang-name{
    display:block!important;
    color:#061827!important;
    font-size:16px!important;
    font-weight:1000!important;
    line-height:1.1!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }

  .qr-campaign-nav .nav-actions .btn,
  .nav .nav-actions .btn{
    display:none!important;
  }
}

/* === FINAL FIX: mobile language modal lower, scrollable + restore index mobile auth buttons === */
@media (max-width: 760px){
  /* The normal website header must keep login/register buttons on mobile */
  .nav .nav-actions .btn{
    display:inline-flex!important;
  }
  /* Only the QR campaign/start header hides login/register upstairs on mobile */
  .qr-campaign-nav .nav-actions .btn{
    display:none!important;
  }

  html.stw-lang-open,
  body.stw-lang-open{
    overflow:hidden!important;
  }

  .stw-lang-selector.open .stw-lang-overlay{
    display:block!important;
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    height:100vh!important;
    height:100dvh!important;
    background:rgba(6,24,39,.52)!important;
    backdrop-filter:blur(8px)!important;
    -webkit-backdrop-filter:blur(8px)!important;
    z-index:2147483645!important;
  }

  .stw-lang-selector.open .stw-lang-menu{
    display:block!important;
    position:fixed!important;
    left:50%!important;
    top:58%!important;
    right:auto!important;
    bottom:auto!important;
    transform:translate(-50%,-50%)!important;
    width:min(340px, calc(100vw - 44px))!important;
    max-width:calc(100vw - 44px)!important;
    min-width:0!important;
    height:auto!important;
    max-height:60vh!important;
    max-height:60dvh!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    border:0!important;
    border-radius:24px!important;
    background:#fff!important;
    box-shadow:0 26px 75px rgba(0,0,0,.34)!important;
    z-index:2147483647!important;
    box-sizing:border-box!important;
  }

  .stw-lang-selector.open .stw-lang-panel{
    width:100%!important;
    height:auto!important;
    max-height:60vh!important;
    max-height:60dvh!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior:contain!important;
    padding:14px!important;
    border-radius:24px!important;
    background:#fff!important;
    box-sizing:border-box!important;
    display:flex!important;
    flex-direction:column!important;
    gap:7px!important;
  }

  .stw-lang-selector.open .stw-lang-title{
    position:sticky!important;
    top:0!important;
    z-index:2!important;
    background:#fff!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    width:100%!important;
    margin:0 0 8px!important;
    padding:0 0 12px!important;
    border-bottom:1px solid #e5e7eb!important;
    color:#061827!important;
    font-size:20px!important;
    line-height:1.1!important;
    font-weight:1000!important;
    box-sizing:border-box!important;
  }

  .stw-lang-selector.open .stw-lang-close{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    flex:0 0 40px!important;
    border-radius:999px!important;
    background:#f1f5f9!important;
    color:#061827!important;
    border:0!important;
    font-size:30px!important;
    line-height:1!important;
    font-weight:1000!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:0!important;
  }

  .stw-lang-selector.open .stw-lang-option{
    width:100%!important;
    min-height:46px!important;
    height:46px!important;
    margin:0!important;
    padding:8px 14px!important;
    border-radius:15px!important;
    background:#f8fafc!important;
    color:#061827!important;
    display:flex!important;
    align-items:center!important;
    gap:12px!important;
    box-sizing:border-box!important;
    text-decoration:none!important;
    font-weight:1000!important;
  }

  .stw-lang-selector.open .stw-lang-option.active{
    background:#fff7d6!important;
    box-shadow:inset 4px 0 0 var(--yellow)!important;
  }

  .stw-lang-selector.open .stw-lang-option .stw-lang-flag{
    width:36px!important;
    min-width:36px!important;
    flex:0 0 36px!important;
    font-size:25px!important;
    line-height:1!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }

  .stw-lang-selector.open .stw-lang-option .stw-lang-name{
    display:block!important;
    color:#061827!important;
    font-size:15px!important;
    font-weight:1000!important;
    line-height:1.1!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
}

/* === V1.70 FINAL MOBILE LANGUAGE MENU: always visible lower, full header + close === */
@media (max-width: 760px){
  /* Keep index login/register buttons visible, hide them only on QR/start campaign header */
  .nav .nav-actions .btn{display:inline-flex!important;}
  .qr-campaign-nav .nav-actions .btn{display:none!important;}

  .stw-lang-selector.open .stw-lang-overlay{
    display:block!important;
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    height:100vh!important;
    height:100dvh!important;
    background:rgba(6,24,39,.50)!important;
    backdrop-filter:blur(8px)!important;
    -webkit-backdrop-filter:blur(8px)!important;
    z-index:2147483645!important;
  }

  .stw-lang-selector.open .stw-lang-menu{
    display:block!important;
    position:fixed!important;
    left:50%!important;
    top:150px!important;
    right:auto!important;
    bottom:auto!important;
    transform:translateX(-50%)!important;
    width:min(330px, calc(100vw - 44px))!important;
    max-width:calc(100vw - 44px)!important;
    height:auto!important;
    max-height:calc(100dvh - 180px)!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    border:0!important;
    border-radius:22px!important;
    background:#fff!important;
    box-shadow:0 26px 75px rgba(0,0,0,.34)!important;
    z-index:2147483647!important;
    box-sizing:border-box!important;
  }

  .stw-lang-selector.open .stw-lang-panel{
    width:100%!important;
    max-height:calc(100dvh - 180px)!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior:contain!important;
    padding:12px!important;
    border-radius:22px!important;
    background:#fff!important;
    box-sizing:border-box!important;
    display:flex!important;
    flex-direction:column!important;
    gap:6px!important;
  }

  .stw-lang-selector.open .stw-lang-title{
    position:sticky!important;
    top:0!important;
    z-index:3!important;
    background:#fff!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    width:100%!important;
    margin:0 0 7px!important;
    padding:0 0 10px!important;
    border-bottom:1px solid #e5e7eb!important;
    color:#061827!important;
    font-size:19px!important;
    line-height:1.08!important;
    font-weight:1000!important;
    box-sizing:border-box!important;
  }

  .stw-lang-selector.open .stw-lang-close{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    flex:0 0 38px!important;
    border-radius:999px!important;
    background:#f1f5f9!important;
    color:#061827!important;
    border:0!important;
    font-size:28px!important;
    line-height:1!important;
    font-weight:1000!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:0!important;
  }

  .stw-lang-selector.open .stw-lang-option{
    width:100%!important;
    min-height:41px!important;
    height:41px!important;
    margin:0!important;
    padding:7px 12px!important;
    border-radius:14px!important;
    background:#f8fafc!important;
    color:#061827!important;
    display:flex!important;
    align-items:center!important;
    gap:11px!important;
    box-sizing:border-box!important;
    text-decoration:none!important;
    font-weight:1000!important;
  }

  .stw-lang-selector.open .stw-lang-option.active{
    background:#fff7d6!important;
    box-shadow:inset 4px 0 0 var(--yellow)!important;
  }

  .stw-lang-selector.open .stw-lang-option .stw-lang-flag{
    width:34px!important;
    min-width:34px!important;
    flex:0 0 34px!important;
    font-size:23px!important;
    line-height:1!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }

  .stw-lang-selector.open .stw-lang-option .stw-lang-name{
    display:block!important;
    color:#061827!important;
    font-size:14px!important;
    font-weight:1000!important;
    line-height:1.05!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
}

@media (max-width: 760px) and (max-height: 680px){
  .stw-lang-selector.open .stw-lang-menu{
    top:130px!important;
    max-height:calc(100dvh - 150px)!important;
  }
  .stw-lang-selector.open .stw-lang-panel{
    max-height:calc(100dvh - 150px)!important;
  }
  .stw-lang-selector.open .stw-lang-option{
    min-height:39px!important;
    height:39px!important;
  }
}

/* === V1.71 GEOLOCATION HELP MODAL === */
.geo-help-modal{display:none;position:fixed;inset:0;z-index:2147483647;align-items:center;justify-content:center;padding:20px;box-sizing:border-box}
.geo-help-modal.open{display:flex}
.geo-help-backdrop{position:absolute;inset:0;background:rgba(6,24,39,.62);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.geo-help-card{position:relative;width:min(430px,calc(100vw - 34px));background:#fff;border-radius:26px;padding:28px 22px 22px;box-shadow:0 30px 85px rgba(0,0,0,.36);text-align:center;color:#061827;box-sizing:border-box;overflow:hidden}
.geo-help-card:before{content:"";position:absolute;top:0;left:0;right:0;height:8px;background:linear-gradient(90deg,#ffb800,#ffd35c)}
.geo-help-x{position:absolute;top:14px;right:14px;width:42px;height:42px;border:0;border-radius:999px;background:#f1f5f9;color:#061827;font-size:32px;font-weight:1000;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer}
.geo-help-icon{width:62px;height:62px;border-radius:20px;background:#fff7d6;border:2px solid #ffb800;margin:0 auto 14px;display:flex;align-items:center;justify-content:center;color:#061827}
.geo-help-icon svg{width:32px;height:32px}
.geo-help-card h2{margin:0 42px 10px;font-size:28px;line-height:1.05;font-weight:1000;color:#061827}
.geo-help-card p{margin:0 auto 14px;font-size:16px;line-height:1.45;color:#334155;max-width:340px}
.geo-help-steps{background:#f8fafc;border:1px solid #e5e7eb;border-radius:18px;padding:12px 14px;margin:0 0 16px;text-align:left;font-size:13px;line-height:1.45;color:#475569;font-weight:800}
.geo-help-actions{display:grid;grid-template-columns:1fr;gap:10px}
.geo-help-actions .btn{width:100%;justify-content:center;min-height:52px}
@media (min-width:560px){.geo-help-actions{grid-template-columns:1fr 1fr}}
@media (max-width:380px){.geo-help-card{padding:24px 16px 18px}.geo-help-card h2{font-size:24px}.geo-help-card p{font-size:14px}.geo-help-steps{font-size:12px}.geo-help-actions .btn{min-height:48px;font-size:14px}}

/* === V1.66 MAP PERFORMANCE / SMART LOADING === */
.map-live-status{display:flex;align-items:center;gap:8px;margin:0 0 12px;padding:10px 14px;border-radius:16px;background:#fff7d6;border:1px solid rgba(255,184,0,.35);color:#061827;font-weight:900;font-size:13px;box-shadow:0 10px 24px rgba(6,24,39,.06)}
.map-live-status:before{content:"";width:9px;height:9px;border-radius:999px;background:#ffb800;box-shadow:0 0 0 4px rgba(255,184,0,.16)}
.marker-cluster-small,.marker-cluster-medium,.marker-cluster-large{background:rgba(255,184,0,.28)!important}
.marker-cluster-small div,.marker-cluster-medium div,.marker-cluster-large div{background:#ffb800!important;color:#061827!important;font-weight:1000!important;border:2px solid #061827!important;box-shadow:0 12px 28px rgba(6,24,39,.22)}
.map-point-grid p{margin:0;color:#64748b;font-weight:800}
@media (max-width:760px){.map-live-status{font-size:12px;padding:9px 12px;border-radius:14px}.leaflet-marker-icon.marker-cluster{transform-origin:center center}}

/* === V1.67 MAP POINT QUICK SHEET === */
.map-point-sheet-backdrop{position:fixed;inset:0;background:rgba(6,24,39,.42);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);opacity:0;transition:.2s;z-index:9998}.map-point-sheet-backdrop.open{opacity:1}.map-point-sheet{position:fixed;left:50%;bottom:22px;transform:translate(-50%,120%);width:min(430px,calc(100vw - 28px));background:#fff;border-radius:28px;box-shadow:0 28px 80px rgba(6,24,39,.32);overflow:hidden;z-index:9999;transition:transform .24s ease;color:#061827}.map-point-sheet.open{transform:translate(-50%,0)}.sheet-close{position:absolute;right:12px;top:12px;width:42px;height:42px;border:0;border-radius:999px;background:rgba(255,255,255,.92);color:#061827;font-size:30px;font-weight:1000;line-height:1;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 22px rgba(6,24,39,.18);cursor:pointer;z-index:2}.sheet-cover{height:170px;background:#f1f5f9 center/cover no-repeat}.sheet-body{padding:18px}.sheet-kicker{display:inline-flex;align-items:center;gap:6px;background:#fff7d6;border:1px solid rgba(255,184,0,.42);border-radius:999px;padding:7px 11px;font-size:12px;font-weight:1000;color:#061827;margin-bottom:10px}.sheet-body h2{margin:0 0 6px;font-size:24px;line-height:1.08;font-weight:1000}.sheet-location{margin:0 0 12px;color:#64748b;font-weight:800}.sheet-meta-row{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}.sheet-meta-row span{display:inline-flex;align-items:center;min-height:34px;padding:7px 10px;border-radius:999px;background:#f8fafc;border:1px solid #e5e7eb;font-weight:1000;font-size:13px}.sheet-meta-row #sheetRarity{border-color:color-mix(in srgb,var(--marker) 35%,#fff);color:#061827;box-shadow:inset 4px 0 0 var(--marker)}.sheet-meta-row #sheetStatus.done{background:#dcfce7;border-color:#86efac;color:#166534}.sheet-meta-row #sheetStatus.pending{background:#f8fafc;color:#475569}.sheet-business{display:none;margin:0 0 13px;padding:11px 12px;border-radius:16px;background:#eef6ff;border:1px solid #bfdbfe;color:#1e3a8a;font-weight:900;font-size:13px}.sheet-actions{display:grid;grid-template-columns:1.15fr .85fr;gap:10px}.sheet-actions .btn{width:100%;justify-content:center;min-height:50px}.sheet-actions .btn-yellow:before{content:'📍';margin-right:4px}@media(max-width:760px){.map-point-sheet{bottom:0;width:100%;border-radius:26px 26px 0 0}.sheet-cover{height:150px}.sheet-body{padding:16px 16px max(18px,env(safe-area-inset-bottom))}.sheet-body h2{font-size:22px}.sheet-actions{grid-template-columns:1fr 1fr}}

/* V1.68 - Mapa + escaneo integrado, diseño premium sin emojis */
.stw-marker-v2 .biz-svg{position:absolute;right:-8px;top:-8px;width:24px;height:24px;border-radius:999px;background:#ffb800;color:#061827;font-style:normal;display:grid;place-items:center;border:2px solid #fff;box-shadow:0 8px 18px rgba(0,0,0,.24);z-index:3}.stw-marker-v2 .biz-svg svg{width:14px;height:14px;fill:currentColor}.map-point-card .point-badge svg{width:18px;height:18px;fill:currentColor}.sheet-actions .btn-yellow:before{content:none!important}.map-point-sheet{background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);border:1px solid rgba(255,184,0,.18);box-shadow:0 34px 90px rgba(6,24,39,.38)}.map-point-sheet:before{content:"";position:absolute;inset:0 0 auto;height:7px;background:linear-gradient(90deg,#ffb800,#ffdf72,#061827);z-index:3}.sheet-cover{height:172px;position:relative;background-color:#061827}.sheet-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(6,24,39,0) 42%,rgba(6,24,39,.45));pointer-events:none}.sheet-close{font-size:0}.sheet-close:before,.sheet-close:after{content:"";position:absolute;width:17px;height:3px;border-radius:99px;background:currentColor}.sheet-close:before{transform:rotate(45deg)}.sheet-close:after{transform:rotate(-45deg)}.sheet-close.small{width:36px;height:36px;right:10px;top:10px;background:#fff}.sheet-kicker{background:#061827;color:#fff;border:1px solid rgba(255,184,0,.55);box-shadow:0 10px 24px rgba(6,24,39,.12);text-transform:uppercase;letter-spacing:.04em}.sheet-body h2{letter-spacing:-.03em;color:#061827}.sheet-location{color:#64748b}.sheet-meta-row span{background:#fff;border:1px solid rgba(6,24,39,.08);box-shadow:0 6px 18px rgba(6,24,39,.05)}.sheet-meta-row #sheetRarity{background:linear-gradient(90deg,color-mix(in srgb,var(--marker) 15%,#fff),#fff);box-shadow:inset 5px 0 0 var(--marker)}.sheet-actions .btn .svg-icon{margin-right:7px}.sheet-actions button.btn{border:0;cursor:pointer}.map-actions button.btn{cursor:pointer}.map-scan-dock{position:fixed;right:22px;bottom:22px;width:min(430px,calc(100vw - 28px));max-height:min(72vh,680px);overflow:auto;background:linear-gradient(180deg,#fff,#f8fafc);border:1px solid rgba(255,184,0,.18);border-radius:28px;box-shadow:0 30px 86px rgba(6,24,39,.35);z-index:9997;transform:translateY(120%);opacity:0;transition:.24s ease;color:#061827}.map-scan-dock.open{transform:translateY(0);opacity:1}.map-scan-dock-head{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding:17px 18px;background:rgba(255,255,255,.92);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid rgba(6,24,39,.08)}.map-scan-dock-head h3{margin:4px 46px 0 0;font-size:22px;line-height:1;font-weight:1000;letter-spacing:-.03em}.dock-kicker{display:inline-flex;border-radius:999px;background:#061827;color:#fff;padding:6px 10px;font-size:11px;font-weight:1000;letter-spacing:.06em;text-transform:uppercase}.map-scan-content{padding:14px 16px 18px}.map-scan-loading{display:grid;place-items:center;gap:8px;text-align:center;padding:28px 16px}.map-scan-loading .svg-icon{width:40px;height:40px;color:#ffb800}.map-scan-loading b{font-size:18px}.map-scan-loading span{color:#64748b;font-weight:800}.map-scan-alert{padding:16px;border-radius:18px;background:#fff7d6;border:1px solid rgba(255,184,0,.35);font-weight:900;color:#061827}.map-scan-section{display:grid;gap:10px}.map-scan-section+.map-scan-section{margin-top:16px}.map-scan-section h4{margin:0;font-size:17px;font-weight:1000}.map-scan-section p{margin:0;color:#64748b;font-size:13px;font-weight:800;line-height:1.4}.map-scan-place{display:grid;grid-template-columns:46px 1fr auto;gap:12px;align-items:center;background:#fff;border:1px solid rgba(6,24,39,.08);border-radius:18px;padding:10px;box-shadow:0 8px 20px rgba(6,24,39,.05)}.map-scan-place-icon{width:46px;height:46px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,var(--marker),color-mix(in srgb,var(--marker) 52%,#fff));color:#fff;box-shadow:0 10px 22px color-mix(in srgb,var(--marker) 26%,transparent)}.map-scan-place-icon svg{width:24px;height:24px;fill:currentColor}.map-scan-place b{display:block;font-size:14px;line-height:1.15}.map-scan-place small,.map-scan-place em{display:block;color:#64748b;font-size:12px;font-weight:900;font-style:normal;margin-top:3px}.map-scan-place .btn{min-height:38px;padding:8px 11px;font-size:12px;white-space:nowrap}.map-scan-place .btn .svg-icon{margin-right:6px}.map-discovery-card{overflow:hidden;border-radius:24px;background:#fff;box-shadow:0 12px 30px rgba(6,24,39,.08);border:1px solid rgba(6,24,39,.08)}.map-discovery-cover{height:150px;background:#061827 center/cover no-repeat}.map-discovery-body{padding:16px}.map-discovery-body span{display:inline-flex;border-radius:999px;background:#061827;color:#fff;padding:6px 10px;font-size:11px;font-weight:1000;text-transform:uppercase;letter-spacing:.05em}.map-discovery-body h3{font-size:24px;line-height:1.05;margin:10px 0 6px;color:#061827}.map-discovery-body p{margin:0;color:#64748b;font-weight:850}.map-discovery-body strong{display:inline-flex;margin-top:12px;border-radius:999px;background:#ffb800;color:#061827;padding:9px 13px;font-weight:1000}.map-scan-dock .btn-yellow,.map-scan-dock .btn-outline{display:inline-flex;align-items:center;justify-content:center;gap:0}.map-scan-dock .svg-icon svg,.sheet-actions .svg-icon svg{width:1em;height:1em;fill:currentColor}@media(max-width:760px){.map-scan-dock{right:0;left:0;bottom:0;width:100%;max-height:76vh;border-radius:26px 26px 0 0}.map-scan-place{grid-template-columns:42px 1fr}.map-scan-place .btn{grid-column:1/-1;width:100%}.map-scan-dock-head h3{font-size:20px}}

/* V1.69 - Corrección móvil mapa + escaneo integrado */
.map-mobile-scan-cta{display:none}
@media(max-width:760px){
  body.map-body{background:#eef3f7;padding-bottom:calc(92px + env(safe-area-inset-bottom));overflow-x:hidden}
  .map-body .nav{position:sticky;top:0;z-index:700;border-bottom:1px solid rgba(6,24,39,.08)}
  .map-body .nav-inner{padding:8px 0;grid-template-columns:1fr;gap:6px}
  .map-body .nav-actions{display:none!important}
  .map-body .logo{font-size:18px;line-height:.88}
  .map-body .logo-mark{width:36px;height:36px;border-radius:11px}
  .map-hero{padding:12px 0 10px!important;background:linear-gradient(135deg,#061827,#0b2a42)!important}
  .map-hero .container{display:block!important;padding:0 14px!important}
  .map-hero .eyebrow{font-size:10px;letter-spacing:.08em;color:#ffb800}
  .map-hero h1{font-size:22px!important;line-height:1.05!important;margin:4px 0 2px!important;letter-spacing:-.03em}
  .map-hero p{display:none!important}
  .map-stats{display:none!important}
  .map-shell{width:100%!important;max-width:none!important;margin:0!important;padding:8px 10px 0!important}
  .map-toolbar-pro{border-radius:18px!important;padding:10px!important;margin:0 0 8px!important;box-shadow:0 10px 24px rgba(6,24,39,.08)!important}
  .rarity-filters{display:flex!important;gap:7px!important;overflow-x:auto!important;scroll-snap-type:x proximity;padding-bottom:2px;-webkit-overflow-scrolling:touch}
  .rarity-filters::-webkit-scrollbar{display:none}
  .rarity-filter{height:38px!important;min-width:max-content!important;padding:0 12px!important;border-radius:999px!important;font-size:12px!important;scroll-snap-align:start;transform:none!important}
  .rarity-filter b{display:none}
  .rf-dot{width:10px!important;height:10px!important;box-shadow:0 0 0 3px rgba(148,163,184,.13)!important}
  .map-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:8px!important;margin-top:8px!important}
  .map-actions .btn{height:42px!important;min-height:42px!important;padding:0 10px!important;border-radius:14px!important;font-size:12px!important}
  .map-live-status{font-size:12px!important;border-radius:14px!important;padding:8px 10px!important;margin:0 0 8px!important;line-height:1.25}
  #stwMap{height:calc(100dvh - 245px)!important;min-height:360px!important;max-height:560px!important;border-radius:22px!important;border:5px solid #fff!important;box-shadow:0 16px 38px rgba(6,24,39,.16)!important}
  .map-mobile-scan-cta{display:grid;grid-template-columns:1fr;gap:5px;position:sticky;bottom:calc(82px + env(safe-area-inset-bottom));z-index:650;margin:-74px 12px 14px;padding:10px;border-radius:22px;background:rgba(255,255,255,.96);box-shadow:0 18px 44px rgba(6,24,39,.24);border:1px solid rgba(6,24,39,.08);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
  .map-mobile-scan-cta .btn{height:52px;border-radius:16px;font-size:15px;box-shadow:0 12px 28px rgba(255,184,0,.34)}
  .map-mobile-scan-cta small{text-align:center;color:#64748b;font-weight:900;font-size:11px;line-height:1.2}
  .pulse-scan{animation:stwPulseScan 1.15s ease-in-out 3}
  @keyframes stwPulseScan{0%,100%{transform:scale(1)}50%{transform:scale(1.035);box-shadow:0 0 0 8px rgba(255,184,0,.18),0 12px 28px rgba(255,184,0,.34)}}
  .map-list{display:none!important}
  .map-point-sheet-backdrop{z-index:2000;background:rgba(6,24,39,.35)}
  .map-point-sheet{left:0!important;right:0!important;bottom:calc(76px + env(safe-area-inset-bottom))!important;width:100%!important;max-width:none!important;max-height:calc(100dvh - 96px)!important;border-radius:28px 28px 0 0!important;transform:translateY(110%)!important;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 -18px 48px rgba(6,24,39,.28)!important}
  .map-point-sheet.open{transform:translateY(0)!important}
  .sheet-close{right:14px!important;top:12px!important;width:40px!important;height:40px!important;font-size:28px!important;background:#fff!important}
  .sheet-cover{height:clamp(130px,28vh,210px)!important;flex:0 0 auto;background-position:center!important}
  .sheet-body{padding:14px 16px 16px!important;overflow:auto;-webkit-overflow-scrolling:touch}
  .sheet-kicker{font-size:11px!important;padding:6px 10px!important;margin-bottom:9px!important}
  .sheet-body h2{font-size:24px!important;line-height:1.05!important;margin-bottom:5px!important}
  .sheet-location{font-size:14px!important;margin-bottom:10px!important}
  .sheet-meta-row{gap:6px!important;margin-bottom:10px!important}
  .sheet-meta-row span{min-height:31px!important;font-size:12px!important;padding:6px 9px!important}
  .sheet-business{font-size:12px!important;margin-bottom:10px!important;padding:9px 10px!important}
  .sheet-actions{position:sticky;bottom:0;background:linear-gradient(180deg,rgba(255,255,255,0),#fff 22%);padding-top:12px;margin-top:4px;display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}
  .sheet-actions .btn{height:52px!important;border-radius:15px!important;font-size:14px!important;padding:0 10px!important}
  .map-scan-dock{left:0!important;right:0!important;bottom:calc(76px + env(safe-area-inset-bottom))!important;width:100%!important;max-height:calc(100dvh - 96px)!important;border-radius:28px 28px 0 0!important;z-index:2100!important;box-shadow:0 -18px 48px rgba(6,24,39,.28)!important}
  .map-scan-dock.open{transform:translateY(0)!important}
  .map-scan-dock-head{padding:14px 16px 10px!important}
  .map-scan-content{max-height:calc(100dvh - 190px);overflow:auto;padding:10px 14px 16px!important;-webkit-overflow-scrolling:touch}
  .map-scan-place{grid-template-columns:42px 1fr!important;border-radius:16px!important;padding:9px!important}
  .map-scan-place .btn{grid-column:1/-1;width:100%;height:44px!important;border-radius:14px!important}
  .stw-mobile-nav{z-index:2500!important}
  .mobile-bottom .scan-fab{transform:translateY(-16px)!important}
}
@media(max-width:390px){
  #stwMap{height:calc(100dvh - 230px)!important;min-height:330px!important}
  .sheet-cover{height:126px!important}
  .sheet-body h2{font-size:21px!important}
  .sheet-actions .btn{font-size:13px!important}
}
.map-point-sheet[hidden],.map-scan-dock[hidden],.map-point-sheet-backdrop[hidden]{display:none!important}

/* === V1.70 MOBILE MAP UX FIX === */
.map-mobile-top-actions{display:none}
@media(max-width:760px){
  /* Cabecera móvil limpia: logo centrado e idioma en su sitio */
  .map-body .nav{height:74px!important;display:flex!important;align-items:center!important;background:#fff!important;box-shadow:0 1px 0 rgba(6,24,39,.08)!important}
  .map-body .nav-inner{width:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;position:relative!important;padding:8px 14px!important;gap:0!important;grid-template-columns:none!important}
  .map-body .nav-links,.map-body .nav-actions{display:none!important}
  .map-body .logo{justify-content:center!important;margin:0 auto!important;font-size:18px!important;line-height:.88!important;letter-spacing:-.03em!important}
  .map-body .logo-mark{width:42px!important;height:42px!important;border-radius:13px!important}
  .map-mobile-top-actions{display:flex!important;position:absolute!important;right:14px!important;top:50%!important;transform:translateY(-50%)!important;z-index:720!important;align-items:center!important;justify-content:center!important}
  .map-mobile-top-actions .stw-lang-button{width:42px!important;height:42px!important;box-shadow:0 8px 18px rgba(6,24,39,.10)!important;border-color:#e5e7eb!important}
  .map-mobile-top-actions .stw-lang-flag{font-size:22px!important}
  .map-lang-select{display:none!important}

  /* El mapa debe sentirse como pantalla principal, no como una página larga */
  .map-hero{display:none!important}
  .map-page{min-height:calc(100dvh - 74px)!important;background:#eef3f7!important}
  .map-shell{position:relative!important;width:100%!important;max-width:none!important;margin:0!important;padding:10px 10px calc(108px + env(safe-area-inset-bottom))!important;box-sizing:border-box!important}
  .map-toolbar-pro{border-radius:20px!important;padding:10px!important;margin:0 0 8px!important;background:rgba(255,255,255,.96)!important;box-shadow:0 10px 24px rgba(6,24,39,.08)!important;overflow:hidden!important}
  .rarity-filters{display:flex!important;gap:8px!important;overflow-x:auto!important;scroll-snap-type:x proximity!important;padding:0 0 2px!important;-webkit-overflow-scrolling:touch!important}
  .rarity-filters::-webkit-scrollbar{display:none!important}
  .rarity-filter{height:38px!important;min-width:max-content!important;padding:0 12px!important;border-radius:999px!important;font-size:12px!important;scroll-snap-align:start!important;transform:none!important;white-space:nowrap!important}
  .map-actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;margin-top:8px!important}
  .map-actions #locateBtn{height:48px!important;border-radius:16px!important;font-size:15px!important}
  .map-actions #mapScanBtn{display:none!important}
  .map-live-status{font-size:12px!important;border-radius:14px!important;padding:8px 10px!important;margin:0 0 8px!important;line-height:1.25!important}
  #stwMap{height:calc(100dvh - 250px)!important;min-height:430px!important;max-height:none!important;border-radius:24px!important;border:5px solid #fff!important;box-shadow:0 16px 38px rgba(6,24,39,.16)!important;outline:0!important}

  /* Botón de escaneo más arriba y más cómodo */
  .map-mobile-scan-cta{display:grid!important;grid-template-columns:1fr!important;gap:0!important;position:relative!important;bottom:auto!important;z-index:900!important;margin:-104px 16px 30px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
  .map-mobile-scan-cta .btn{height:62px!important;border-radius:20px!important;font-size:18px!important;font-weight:1000!important;box-shadow:0 18px 36px rgba(255,184,0,.38),0 4px 0 rgba(6,24,39,.16)!important;border:0!important}
  .map-mobile-scan-cta .btn .svg-icon{font-size:22px!important;margin-right:8px!important}
  .map-mobile-scan-cta small{display:none!important}

  /* Ficha del punto: se abre completa, por encima de la navegación inferior */
  .map-point-sheet-backdrop{z-index:5200!important;background:rgba(6,24,39,.48)!important;backdrop-filter:blur(6px)!important;-webkit-backdrop-filter:blur(6px)!important}
  .map-point-sheet{left:0!important;right:0!important;bottom:0!important;width:100%!important;max-width:none!important;height:auto!important;max-height:calc(100dvh - 78px)!important;border-radius:30px 30px 0 0!important;transform:translateY(110%)!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;z-index:5300!important;box-shadow:0 -18px 58px rgba(6,24,39,.36)!important}
  .map-point-sheet.open{transform:translateY(0)!important}
  .map-point-sheet:before{height:6px!important}
  .sheet-close{right:16px!important;top:14px!important;width:46px!important;height:46px!important;background:#fff!important;color:#061827!important;box-shadow:0 12px 28px rgba(6,24,39,.18)!important}
  .sheet-cover{height:clamp(145px,31dvh,245px)!important;flex:0 0 auto!important;background-position:center!important}
  .sheet-body{padding:16px 18px calc(18px + env(safe-area-inset-bottom))!important;overflow:auto!important;-webkit-overflow-scrolling:touch!important;flex:1 1 auto!important}
  .sheet-kicker{font-size:11px!important;padding:7px 11px!important;margin-bottom:10px!important}
  .sheet-body h2{font-size:27px!important;line-height:1.04!important;margin-bottom:6px!important;letter-spacing:-.04em!important}
  .sheet-location{font-size:15px!important;margin-bottom:12px!important}
  .sheet-meta-row{gap:8px!important;margin-bottom:12px!important}
  .sheet-meta-row span{min-height:35px!important;font-size:13px!important;padding:7px 11px!important}
  .sheet-business{font-size:13px!important;margin-bottom:12px!important;padding:10px 12px!important}
  .sheet-actions{position:sticky!important;bottom:0!important;background:linear-gradient(180deg,rgba(255,255,255,0),#fff 20%,#fff 100%)!important;padding:14px 0 0!important;margin:6px 0 0!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;z-index:2!important}
  .sheet-actions .btn{height:56px!important;border-radius:17px!important;font-size:15px!important;padding:0 10px!important;min-height:56px!important}

  /* Resultado de escaneo: también por encima del menú, abierto completo */
  .map-scan-dock{left:0!important;right:0!important;bottom:0!important;width:100%!important;max-width:none!important;height:auto!important;max-height:calc(100dvh - 78px)!important;border-radius:30px 30px 0 0!important;z-index:5400!important;box-shadow:0 -18px 58px rgba(6,24,39,.36)!important;overflow:hidden!important}
  .map-scan-dock.open{transform:translateY(0)!important;opacity:1!important}
  .map-scan-dock-head{padding:16px 18px 12px!important;background:rgba(255,255,255,.96)!important}
  .map-scan-dock-head h3{font-size:24px!important;line-height:1.05!important;margin:6px 48px 0 0!important}
  .dock-kicker{font-size:11px!important;padding:7px 11px!important}
  .map-scan-content{max-height:calc(100dvh - 170px)!important;overflow:auto!important;padding:12px 16px calc(18px + env(safe-area-inset-bottom))!important;-webkit-overflow-scrolling:touch!important}
  .map-scan-place{grid-template-columns:46px 1fr!important;border-radius:18px!important;padding:10px!important}
  .map-scan-place .btn{grid-column:1/-1!important;width:100%!important;height:48px!important;border-radius:15px!important;font-size:14px!important}
  .map-discovery-cover{height:clamp(145px,30dvh,220px)!important}
  .map-discovery-body h3{font-size:26px!important}

  /* La navegación inferior queda detrás de las fichas, pero normal cuando están cerradas */
  .stw-mobile-nav{z-index:2500!important}
  .mobile-bottom .scan-fab{transform:translateY(-14px)!important}
}
@media(max-width:390px){
  #stwMap{height:calc(100dvh - 238px)!important;min-height:390px!important}
  .map-mobile-scan-cta{margin-top:-96px!important;margin-bottom:24px!important}
  .sheet-cover{height:140px!important}
  .sheet-body h2{font-size:23px!important}
  .sheet-actions .btn{height:52px!important;font-size:14px!important}
  .map-scan-dock-head h3{font-size:21px!important}
}

/* === V1.71 MOBILE MAP NO-SCROLL + SHEETS ABOVE NAV === */
@media(max-width:760px){
  html:has(body.map-body){
    height:100%!important;
    overflow:hidden!important;
  }
  body.map-body{
    height:100dvh!important;
    min-height:100dvh!important;
    overflow:hidden!important;
    padding-bottom:0!important;
    overscroll-behavior:none!important;
    background:#eef3f7!important;
  }
  body.map-body.stw-sheet-open,
  body.map-body.stw-scan-open{
    overflow:hidden!important;
    touch-action:none;
  }
  .map-body .nav{
    height:74px!important;
    min-height:74px!important;
    flex:0 0 74px!important;
    position:relative!important;
    z-index:2147482500!important;
  }
  .map-page{
    height:calc(100dvh - 74px)!important;
    min-height:0!important;
    overflow:hidden!important;
    display:block!important;
  }
  .map-shell{
    height:100%!important;
    min-height:0!important;
    overflow:hidden!important;
    display:flex!important;
    flex-direction:column!important;
    padding:10px 10px calc(160px + env(safe-area-inset-bottom))!important;
  }
  .map-toolbar-pro,
  .map-live-status{
    flex:0 0 auto!important;
  }
  #stwMap{
    flex:1 1 auto!important;
    height:auto!important;
    min-height:260px!important;
    max-height:none!important;
    margin:0!important;
  }
  .map-list{
    display:none!important;
  }

  /* Botón principal siempre visible, fijo encima del botón central de ScanToWin */
  .map-mobile-scan-cta{
    display:grid!important;
    position:fixed!important;
    left:16px!important;
    right:16px!important;
    bottom:calc(102px + env(safe-area-inset-bottom))!important;
    z-index:2147482800!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    pointer-events:auto!important;
  }
  .map-mobile-scan-cta .btn{
    width:100%!important;
    max-width:520px!important;
    margin:0 auto!important;
    height:58px!important;
    min-height:58px!important;
    border-radius:20px!important;
    font-size:17px!important;
    font-weight:1000!important;
    box-shadow:0 18px 38px rgba(255,184,0,.42),0 4px 0 rgba(6,24,39,.16)!important;
  }
  body.map-body.stw-sheet-open .map-mobile-scan-cta,
  body.map-body.stw-scan-open .map-mobile-scan-cta{
    opacity:0!important;
    pointer-events:none!important;
  }

  /* Las fichas suben y terminan encima de la barra inferior, sin quedar tapadas */
  .map-point-sheet-backdrop{
    z-index:2147482600!important;
    background:rgba(6,24,39,.48)!important;
    backdrop-filter:blur(6px)!important;
    -webkit-backdrop-filter:blur(6px)!important;
  }
  .map-point-sheet{
    left:0!important;
    right:0!important;
    bottom:calc(92px + env(safe-area-inset-bottom))!important;
    width:100%!important;
    max-width:none!important;
    height:auto!important;
    max-height:calc(100dvh - 176px - env(safe-area-inset-bottom))!important;
    border-radius:28px 28px 0 0!important;
    transform:translateY(calc(100% + 110px))!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
    z-index:2147483200!important;
    box-shadow:0 -18px 58px rgba(6,24,39,.38)!important;
  }
  .map-point-sheet.open{
    transform:translateY(0)!important;
  }
  .sheet-cover{
    height:clamp(110px,22dvh,170px)!important;
    min-height:110px!important;
    flex:0 0 auto!important;
  }
  .sheet-body{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow:auto!important;
    -webkit-overflow-scrolling:touch!important;
    padding:14px 16px 14px!important;
  }
  .sheet-kicker{
    font-size:10px!important;
    padding:6px 10px!important;
    margin-bottom:8px!important;
  }
  .sheet-body h2{
    font-size:24px!important;
    line-height:1.04!important;
    margin:0 0 5px!important;
  }
  .sheet-location{
    font-size:14px!important;
    margin:0 0 10px!important;
  }
  .sheet-meta-row{
    gap:7px!important;
    margin-bottom:10px!important;
  }
  .sheet-meta-row span{
    min-height:32px!important;
    padding:6px 10px!important;
    font-size:12px!important;
  }
  .sheet-business{
    margin-bottom:10px!important;
    font-size:12px!important;
    padding:9px 10px!important;
  }
  .sheet-actions{
    position:sticky!important;
    bottom:0!important;
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:10px!important;
    margin:6px 0 0!important;
    padding:10px 0 0!important;
    background:linear-gradient(180deg,rgba(255,255,255,0),#fff 22%,#fff 100%)!important;
    z-index:4!important;
  }
  .sheet-actions .btn{
    height:52px!important;
    min-height:52px!important;
    border-radius:16px!important;
    font-size:14px!important;
    padding:0 8px!important;
  }

  /* Ventana de escaneo por encima de la barra inferior */
  .map-scan-dock{
    left:0!important;
    right:0!important;
    bottom:calc(92px + env(safe-area-inset-bottom))!important;
    width:100%!important;
    max-width:none!important;
    height:auto!important;
    max-height:calc(100dvh - 176px - env(safe-area-inset-bottom))!important;
    border-radius:28px 28px 0 0!important;
    transform:translateY(calc(100% + 110px))!important;
    z-index:2147483300!important;
    box-shadow:0 -18px 58px rgba(6,24,39,.38)!important;
    overflow:hidden!important;
  }
  .map-scan-dock.open{
    transform:translateY(0)!important;
    opacity:1!important;
  }
  .map-scan-dock-head{
    flex:0 0 auto!important;
    padding:14px 16px 10px!important;
  }
  .map-scan-dock-head h3{
    font-size:22px!important;
    line-height:1.05!important;
    margin:6px 48px 0 0!important;
  }
  .map-scan-content{
    max-height:calc(100dvh - 270px - env(safe-area-inset-bottom))!important;
    overflow:auto!important;
    -webkit-overflow-scrolling:touch!important;
    padding:10px 14px 14px!important;
  }
  .map-scan-place{
    grid-template-columns:42px 1fr!important;
    border-radius:16px!important;
    padding:9px!important;
  }
  .map-scan-place .btn{
    grid-column:1/-1!important;
    width:100%!important;
    height:46px!important;
    border-radius:14px!important;
  }
  .map-discovery-cover{
    height:clamp(110px,22dvh,165px)!important;
  }
  .map-discovery-body{
    padding:14px!important;
  }
  .map-discovery-body h3{
    font-size:23px!important;
  }
}
@media(max-width:390px){
  body.map-body .map-shell{
    padding-bottom:calc(150px + env(safe-area-inset-bottom))!important;
  }
  body.map-body #stwMap{
    min-height:235px!important;
  }
  body.map-body .map-mobile-scan-cta{
    bottom:calc(96px + env(safe-area-inset-bottom))!important;
  }
  body.map-body .map-mobile-scan-cta .btn{
    height:54px!important;
    min-height:54px!important;
    font-size:16px!important;
  }
  body.map-body .map-point-sheet,
  body.map-body .map-scan-dock{
    bottom:calc(86px + env(safe-area-inset-bottom))!important;
    max-height:calc(100dvh - 164px - env(safe-area-inset-bottom))!important;
  }
  body.map-body .sheet-cover,
  body.map-body .map-discovery-cover{
    height:108px!important;
  }
  body.map-body .sheet-body h2{
    font-size:21px!important;
  }
  body.map-body .sheet-actions .btn{
    height:48px!important;
    min-height:48px!important;
    font-size:13px!important;
  }
}

/* V1.74 — negocios separados y rutas diarias */
.daily-map-banner{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:12px 0;padding:14px 16px;border:1px solid rgba(255,184,0,.35);background:linear-gradient(135deg,#071b2b,#102f43);color:#fff;border-radius:18px;box-shadow:0 12px 28px rgba(3,24,39,.18)}
.daily-map-banner div{display:flex;flex-direction:column;gap:2px}.daily-map-banner b{font-size:15px}.daily-map-banner span{font-size:12px;color:#d6e3eb}.daily-map-banner a{color:#071827;background:#ffb800;border-radius:12px;padding:9px 12px;font-weight:800;text-decoration:none;white-space:nowrap}
.daily-page-phone{padding-bottom:120px}.daily-hero-card{display:flex;gap:16px;align-items:center;padding:20px;border-radius:24px;background:linear-gradient(145deg,#071b2b,#14364b);color:#fff;margin-bottom:16px;box-shadow:0 18px 35px rgba(5,25,39,.2)}
.daily-hero-card h1{margin:2px 0 6px;font-size:25px}.daily-hero-card p{margin:0;color:#d6e3eb;line-height:1.45}.daily-hero-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:18px;background:#ffb800;color:#071827;flex:0 0 auto}.daily-hero-icon svg{width:28px;height:28px}
.daily-route-list{display:grid;gap:16px}.daily-route-card{background:#fff;border:1px solid #e5ebef;border-radius:24px;padding:18px;box-shadow:0 16px 34px rgba(8,30,45,.09)}.daily-route-card.is-complete{border-color:#20b486;box-shadow:0 16px 34px rgba(32,180,134,.13)}
.daily-route-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.daily-route-card h2{margin:2px 0 4px;font-size:22px}.daily-route-card header small{color:#6b7b8c}.daily-route-city{display:inline-flex;padding:5px 9px;border-radius:999px;background:#edf3f7;color:#071827;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.daily-bonus-pill{min-width:82px;padding:10px 12px;border-radius:16px;background:#fff7d8;text-align:center;border:1px solid #ffe18a}.daily-bonus-pill small{display:block!important;color:#806100!important;font-weight:700}.daily-bonus-pill b{display:block;color:#071827;font-size:20px}
.daily-progress-head{display:flex;justify-content:space-between;margin:16px 0 7px;font-size:13px}.daily-progress{height:10px;background:#edf1f4;border-radius:999px;overflow:hidden}.daily-progress span{display:block;height:100%;background:linear-gradient(90deg,#ffb800,#ffd54d);border-radius:inherit}
.daily-place-list{display:grid;gap:8px;margin-top:16px}.daily-place-row{display:grid;grid-template-columns:40px 1fr auto;gap:11px;align-items:center;padding:11px;border:1px solid #e7edf1;border-radius:16px;background:#fbfcfd}.daily-place-row.done{background:#effbf6;border-color:#b8ead7}.daily-place-state{width:38px;height:38px;border-radius:13px;display:grid;place-items:center;background:#e9eff4;color:#587087}.daily-place-row.done .daily-place-state{background:#20b486;color:#fff}.daily-place-state svg{width:19px;height:19px}.daily-place-row b{display:block;font-size:14px}.daily-place-row small{display:block;color:#6d7c8a;font-size:12px;margin-top:2px}.daily-place-row>span:last-child{font-size:11px;font-weight:800;color:#68798a;text-align:right}
.daily-route-card footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px}.daily-reset-note{font-size:11px;color:#7b8995;max-width:45%;text-align:right}.daily-task-tile{position:relative}.daily-task-tile em{position:absolute;right:12px;top:9px;min-width:20px;height:20px;display:grid;place-items:center;border-radius:999px;background:#ffb800;color:#071827;font-size:11px;font-style:normal;font-weight:900}
@media(max-width:700px){.daily-route-card{padding:15px;border-radius:20px}.daily-place-row{grid-template-columns:38px 1fr}.daily-place-row>span:last-child{grid-column:2;text-align:left}.daily-route-card footer{align-items:stretch;flex-direction:column}.daily-route-card footer .btn{width:100%}.daily-reset-note{max-width:none;text-align:left}.daily-map-banner{margin:8px 0 10px}}

/* V1.74 refinements — city picker and sponsored business separation */
.daily-city-picker,.daily-city-single{margin:0 0 16px;padding:14px 16px;border:1px solid #e2e9ee;border-radius:18px;background:#fff;box-shadow:0 10px 24px rgba(8,30,45,.07)}
.daily-city-picker label{display:flex;align-items:center;justify-content:space-between;gap:12px}.daily-city-picker label span{font-weight:900;color:#071827}.daily-city-picker select{min-width:180px;border:1px solid #d9e2e8;border-radius:12px;padding:10px 34px 10px 12px;background:#f8fafb;color:#071827;font-weight:800}.daily-city-picker small{display:block;margin-top:8px;color:#71808c;line-height:1.35}.daily-city-single{display:flex;align-items:center;gap:12px}.daily-city-single>.svg-icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#fff3c4;color:#8d6800}.daily-city-single small,.daily-city-single b{display:block}.daily-city-single small{color:#72808c;font-size:11px}.daily-city-single b{font-size:16px}
.business-visit-reward{display:flex;align-items:center;gap:11px;margin:12px 0 4px;padding:11px 12px;border:1px solid rgba(255,184,0,.35);border-radius:15px;background:#fff8df}.business-visit-reward>span{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#ffb800;color:#071827}.business-visit-reward small,.business-visit-reward b{display:block}.business-visit-reward small{font-size:11px;color:#806100}.business-visit-reward b{font-size:17px;color:#071827}
.sponsor-admin-pill{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:#071b2b;color:#fff;font-size:12px;font-weight:850;white-space:nowrap}.sponsor-admin-pill .svg-icon,.sponsor-admin-pill svg{width:14px;height:14px}.reward-kind{display:block;margin-top:2px;color:#71808c;font-size:10px}.stw-rarity-select.is-business-ignored{opacity:.55;background:#f2f4f5}.stw-rarity-select.is-business-ignored+input{border-color:#ffcf3d;background:#fff9df}
.rarity-pill-business,.rarity-chip-business{background:#071b2b!important;color:#fff!important;border-color:#ffb800!important}
.map-scan-alert.success{border-color:#9fe1ca;background:#effbf6;color:#076149}
@media(max-width:700px){.daily-city-picker label{align-items:stretch;flex-direction:column}.daily-city-picker select{width:100%;min-width:0}.business-visit-reward{margin-top:10px}}

/* ScanToWin V1.78 - colección visual unificada */
.collection-page-v178{position:relative;isolation:isolate}
.collection-page-v178:before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(circle at 85% 4%,rgba(255,184,0,.14),transparent 25%),linear-gradient(180deg,#edf7fd 0,#f7fafc 260px,#f7fafc 100%)}
.collection-topbar-v178{position:relative;z-index:4}
.collection-hero-v178{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px;padding:28px;border-radius:32px;color:#fff;background:linear-gradient(135deg,#041725 0%,#082b43 58%,#0b3853 100%);box-shadow:0 24px 64px rgba(4,23,37,.22);border:1px solid rgba(255,255,255,.08)}
.collection-hero-v178:after{content:"";position:absolute;width:180px;height:180px;border:34px solid rgba(255,255,255,.035);border-radius:50%;right:-62px;top:-76px}
.collection-hero-glow-v178{position:absolute;inset:auto auto -110px -60px;width:270px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(255,184,0,.24),transparent 68%);pointer-events:none}
.collection-hero-copy-v178{position:relative;z-index:2;min-width:0}
.collection-kicker-v178{display:inline-flex;align-items:center;gap:8px;padding:7px 11px;border:1px solid rgba(255,184,0,.38);border-radius:999px;background:rgba(255,184,0,.1);color:#ffd047;font-size:11px;font-weight:1000;letter-spacing:.08em;text-transform:uppercase}
.collection-kicker-v178 .svg-icon{font-size:15px}
.collection-hero-v178 h1{margin:12px 0 8px;max-width:650px;font-size:clamp(29px,4.5vw,48px);line-height:.98;letter-spacing:-1.4px}
.collection-hero-v178 p{max-width:680px;margin:0;color:#cfe2ee;font-weight:750;line-height:1.48}
.collection-hero-stats-v178{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}
.collection-hero-stats-v178 span{display:flex;align-items:baseline;gap:5px;padding:8px 11px;border:1px solid rgba(255,255,255,.11);border-radius:13px;background:rgba(255,255,255,.065);color:#cfe2ee;font-size:11px;font-weight:900}
.collection-hero-stats-v178 b{color:#fff;font-size:16px}
.collection-ring-v178{--p:calc(var(--collection-progress) * 1%);position:relative;z-index:2;width:132px;height:132px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;background:conic-gradient(#ffb800 var(--p),rgba(255,255,255,.13) 0);box-shadow:0 16px 38px rgba(0,0,0,.2),0 0 0 8px rgba(255,255,255,.04)}
.collection-ring-v178:before{content:"";position:absolute;inset:10px;border-radius:50%;background:#08263b;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.collection-ring-v178>div{position:relative;text-align:center;display:grid;gap:2px}
.collection-ring-v178 strong{font-size:30px;line-height:1;color:#fff}
.collection-ring-v178 small{max-width:78px;color:#ffd047;font-size:9px;font-weight:1000;letter-spacing:.05em;text-transform:uppercase}

.collection-overview-v178,.collection-library-v178{margin-top:16px;padding:18px;border-radius:27px;background:#fff;border:1px solid rgba(6,24,39,.055);box-shadow:0 15px 40px rgba(7,25,39,.075)}
.collection-section-title-v178{display:flex;align-items:center;gap:11px;min-width:0}
.collection-section-title-v178>div{min-width:0}
.collection-section-title-v178 small{display:block;color:#64748b;font-size:10px;font-weight:1000;letter-spacing:.08em;text-transform:uppercase}
.collection-section-title-v178 h2{margin:2px 0 0;color:#061827;font-size:20px;line-height:1.1;letter-spacing:-.35px}
.collection-title-icon-v178{width:42px;height:42px;display:grid;place-items:center;flex:0 0 auto;border-radius:14px;background:#061827;color:#ffb800;box-shadow:0 10px 22px rgba(6,24,39,.15)}
.collection-title-icon-v178 .svg-icon{font-size:21px}
.collection-main-progress-v178{height:11px;margin:16px 0 14px;border-radius:999px;background:#e8eef4;overflow:hidden}
.collection-main-progress-v178 span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#ffb800,#ffd34d);box-shadow:0 0 16px rgba(255,184,0,.38)}
.rarity-progress-grid-v178{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:0}
.rarity-chip-v178{position:relative;overflow:hidden;min-height:96px;padding:12px;border-radius:18px;background:#fbfcfd;border:1px solid #e8edf2;box-shadow:none}
.rarity-chip-v178:after{content:"";position:absolute;width:64px;height:64px;right:-28px;bottom:-32px;border-radius:50%;background:currentColor;opacity:.055}
.rarity-chip-top-v178{display:flex;align-items:center;justify-content:space-between;gap:7px}
.rarity-chip-top-v178>span{font-size:10px;white-space:normal;line-height:1.1}
.rarity-chip-top-v178>b{padding:3px 6px;border-radius:999px;background:rgba(6,24,39,.055);color:#475569;font-size:9px}
.rarity-chip-top-v178 .svg-icon{font-size:17px;color:#f59e0b}
.rarity-chip-v178>strong{display:block;margin-top:11px;font-size:23px;letter-spacing:-.7px}
.rarity-chip-v178>strong small{display:inline;color:#94a3b8;font-size:12px}
.rarity-chip-bar-v178{height:5px;margin-top:9px;border-radius:999px;background:rgba(6,24,39,.08);overflow:hidden}
.rarity-chip-bar-v178 i{display:block;height:100%;border-radius:inherit;background:#94a3b8}
.rarity-chip-common .rarity-chip-bar-v178 i{background:#94a3b8}
.rarity-chip-rare .rarity-chip-bar-v178 i{background:#38bdf8}
.rarity-chip-epic .rarity-chip-bar-v178 i{background:#a855f7}
.rarity-chip-legendary .rarity-chip-bar-v178 i{background:#ffb800}
.rarity-chip-business .rarity-chip-bar-v178 i{background:#f59e0b}
.rarity-chip-business{border-color:#fed48a;background:linear-gradient(180deg,#fffaf0,#fff)}

.collection-page-v178 .special-collections-v178{position:relative;margin:16px 0!important;padding:18px!important;border-radius:28px!important;background:#fff!important;color:#061827!important;border:1px solid rgba(6,24,39,.06)!important;box-shadow:0 18px 46px rgba(7,25,39,.085)!important;overflow:hidden!important}
.collection-page-v178 .special-collections-v178:before{content:"";position:absolute;left:0;right:0;top:0;height:5px;background:linear-gradient(90deg,#ffb800,#ffd452,#ffb800)}
.special-collection-headline-v178{position:relative;z-index:1;align-items:center}
.special-collection-title-v178{display:flex;align-items:flex-start;gap:12px;min-width:0}
.special-collection-icon-v178{width:48px;height:48px;display:grid;place-items:center;flex:0 0 auto;border-radius:16px;background:#061827;color:#ffb800;box-shadow:0 12px 26px rgba(6,24,39,.16)}
.special-collection-icon-v178 .svg-icon{font-size:24px}
.special-collection-headline-v178 .eyebrow{color:#b77900!important;font-size:10px!important;letter-spacing:.11em}
.special-collection-headline-v178 h2{margin:2px 0 4px!important;color:#061827!important;font-size:22px!important;letter-spacing:-.4px}
.special-collection-headline-v178 p{max-width:610px!important;margin:0!important;color:#64748b!important;font-size:13px!important;line-height:1.38!important}
.collection-stat-stack-v178{min-width:88px!important;padding:11px 12px!important;border-radius:18px!important;background:#ffb800!important;color:#061827!important;box-shadow:0 13px 26px rgba(255,184,0,.24)!important}
.collection-stat-stack-v178 b{font-size:20px!important}
.collection-summary-row-v178{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px!important;margin-top:15px!important}
.collection-summary-row-v178 span{display:flex!important;align-items:center;justify-content:center;gap:5px;min-width:0;padding:9px 8px!important;border-radius:14px!important;background:#f6f8fa!important;border:1px solid #e8edf2!important;color:#475569!important;font-size:11px!important;text-align:center}
.collection-summary-row-v178 .svg-icon{flex:0 0 auto;color:#ffb800;font-size:14px}
.collection-summary-row-v178 b{color:#061827}
.collections-master-v178{margin-top:12px!important}
.collection-page-v178 .collections-master-v178>summary{min-height:52px;padding:13px 15px!important;border-radius:17px!important;background:#061827!important;color:#fff!important;box-shadow:0 12px 25px rgba(6,24,39,.18)!important}
.collections-master-v178>summary>span{display:flex;align-items:center;gap:9px}
.collections-master-v178>summary .svg-icon{color:#ffb800;font-size:19px}
.collection-chevron-v178{color:#ffb800;font-size:20px}
.collection-page-v178 .special-collections-list{max-height:58vh;margin-top:10px;padding:2px 2px 2px 0}
.collection-page-v178 .special-collection-row-v178{background:#f8fafc!important;border:1px solid #e5ebf0!important;border-radius:18px!important}
.collection-page-v178 .special-collection-row-v178.ready{border-color:#f5c842!important;background:#fffaf0!important}
.collection-page-v178 .special-collection-row-v178.completed{border-color:#7ddbb0!important;background:#f1fcf7!important}
.collection-page-v178 .special-collection-row-v178>summary{display:grid!important;grid-template-columns:38px minmax(0,1fr) auto;gap:10px!important;padding:11px!important;color:#061827!important}
.collection-row-status-v178{width:38px;height:38px;display:grid;place-items:center;border-radius:13px;background:#e9eef3;color:#64748b}
.collection-row-status-v178 .svg-icon{font-size:18px}
.special-collection-row-v178.ready .collection-row-status-v178{background:#fff0b7;color:#b77900}
.special-collection-row-v178.completed .collection-row-status-v178{background:#d9f8e8;color:#087a4b}
.collection-page-v178 .collection-type{color:#7b8b9d!important}
.collection-page-v178 .collection-row-main strong{color:#061827!important}
.collection-page-v178 .collection-row-side b{color:#b77900!important}
.collection-page-v178 .collection-row-side small{color:#64748b!important}
.collection-page-v178 .collection-mini-bar{background:#e1e8ee!important}
.collection-page-v178 .collection-mini-bar i{background:linear-gradient(90deg,#ffb800,#ffd452)!important}
.collection-page-v178 .collection-place-list{padding:0 11px 11px}
.collection-page-v178 .collection-place-mini{background:#fff!important;border:1px solid #e7edf2!important;color:#061827!important}
.collection-page-v178 .collection-place-mini.locked{opacity:.72}
.collection-page-v178 .mini-place-img{background-color:#edf2f6!important;color:#061827!important}
.collection-page-v178 .collection-place-mini strong{color:#061827!important}
.collection-page-v178 .collection-place-mini small{color:#64748b!important}
.collection-page-v178 .collections-master .form-hint{color:#718096!important;margin:10px 4px 0!important}

.collection-library-v178{padding-bottom:14px}
.collection-library-head-v178{display:flex;align-items:center;justify-content:space-between;gap:12px}
.collection-library-count-v178{min-width:45px;height:45px;display:grid;place-items:center;padding:0 11px;border-radius:15px;background:#ffb800;color:#061827;font-size:18px;font-weight:1000;box-shadow:0 10px 22px rgba(255,184,0,.22)}
.collection-tools-v178{display:grid;grid-template-columns:minmax(210px,1fr) auto;gap:10px;margin-top:15px}
.collection-search-v178{height:47px;display:flex;align-items:center;gap:9px;padding:0 13px;border:1px solid #dfe7ed;border-radius:15px;background:#f8fafc;color:#64748b;transition:.18s}
.collection-search-v178:focus-within{border-color:#ffb800;background:#fff;box-shadow:0 0 0 4px rgba(255,184,0,.11)}
.collection-search-v178 .svg-icon{font-size:18px;flex:0 0 auto}
.collection-search-v178 input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#061827;font:inherit;font-weight:850}
.collection-search-v178 input::placeholder{color:#94a3b8}
.collection-filters-v178{display:flex;gap:6px;padding:4px;border-radius:15px;background:#edf2f6;overflow-x:auto;scrollbar-width:none}
.collection-filters-v178::-webkit-scrollbar{display:none}
.collection-filters-v178 button{border:0;white-space:nowrap;padding:8px 11px;border-radius:11px;background:transparent;color:#64748b;font-size:11px;font-weight:1000;cursor:pointer}
.collection-filters-v178 button.active{background:#061827;color:#fff;box-shadow:0 7px 16px rgba(6,24,39,.14)}

.collection-page-v178 .collection-grid-v178{margin-top:13px!important;padding:0 0 120px!important;gap:14px!important}
.collection-page-v178 .collection-card-v178{position:relative;border:1px solid rgba(6,24,39,.07)!important;border-radius:23px!important;background:#fff!important;box-shadow:0 14px 34px rgba(7,25,39,.075)!important;transition:transform .18s ease,box-shadow .18s ease}
.collection-page-v178 .collection-card-v178:hover{transform:translateY(-2px);box-shadow:0 18px 40px rgba(7,25,39,.11)!important}
.collection-page-v178 .collection-card-v178[hidden]{display:none!important}
.collection-page-v178 .collection-cover-v178{height:148px!important;background-color:#dfe7ed!important}
.collection-page-v178 .collection-cover-v178:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(6,24,39,.18));pointer-events:none}
.collection-page-v178 .collection-card-v178.locked .collection-cover-v178{filter:none!important}
.collection-page-v178 .collection-card-v178.locked .collection-cover-v178:before{background:linear-gradient(135deg,rgba(6,24,39,.62),rgba(6,24,39,.38))}
.collection-page-v178 .collection-card-v178.locked .collection-cover-v178{background-blend-mode:luminosity}
.collection-page-v178 .collection-card-v178 .lock-layer{z-index:2;background:rgba(6,24,39,.42);backdrop-filter:blur(2px)}
.collection-page-v178 .collection-card-v178.open .lock-layer{display:none}
.collection-pill-v178{top:10px!important;left:10px!important;display:flex;align-items:center;gap:5px;max-width:calc(100% - 58px);padding:6px 8px!important;border:1px solid rgba(255,255,255,.65)!important;background:rgba(255,255,255,.94)!important;box-shadow:0 8px 18px rgba(6,24,39,.15)!important}
.collection-pill-v178 .svg-icon{font-size:12px;color:#f59e0b}
.collection-pill-v178 span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.collection-pill-v178 b{color:#061827}
.collection-card-state-v178{position:absolute;z-index:4;top:10px;right:10px;width:32px;height:32px;display:grid;place-items:center;border-radius:11px;background:#061827;color:#fff;box-shadow:0 8px 18px rgba(6,24,39,.25)}
.collection-card-v178.unlocked .collection-card-state-v178{background:#0db47b;color:#fff}
.collection-card-state-v178 .svg-icon{font-size:16px}
.collection-page-v178 .collection-info-v178{position:relative!important;display:block!important;padding:39px 13px 13px!important;min-height:154px!important}
.collection-page-v178 .collection-info-v178 .discover-logo{position:absolute!important;top:-29px!important;left:13px!important;width:58px!important;height:58px!important;margin:0!important;padding:5px!important;border:4px solid #fff!important;border-radius:18px!important;background:#fff!important;box-shadow:0 10px 24px rgba(7,25,39,.15)!important}
.collection-page-v178 .collection-info-v178 .discover-logo img{object-fit:contain!important;padding:0!important;border-radius:10px}
.collection-text-v178 h3{min-height:auto!important;margin:0 0 6px!important;color:#061827!important;font-size:16px!important;line-height:1.13!important;letter-spacing:-.25px!important}
.collection-text-v178 p{min-height:33px!important;margin:0!important;color:#64748b!important;font-size:12px!important;line-height:1.35!important}
.collection-card-meta-v178{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:10px;padding-top:9px;border-top:1px solid #edf1f4;color:#64748b;font-size:10px;font-weight:900}
.collection-card-meta-v178 span{display:flex;align-items:center;gap:4px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.collection-card-meta-v178 .svg-icon{flex:0 0 auto;color:#ffb800;font-size:13px}
.collection-card-meta-v178 b{flex:0 0 auto;color:#061827;font-size:9px;text-transform:uppercase}
.collection-business-v178{border-color:rgba(245,158,11,.42)!important}
.collection-business-v178:after{content:"";position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,#f59e0b,#ffcb4c);z-index:5}
.collection-empty-v178{margin:0 0 120px;padding:28px;display:grid;place-items:center;gap:7px;border:1px dashed #cbd5df;border-radius:22px;background:#fff;color:#64748b;text-align:center}
.collection-empty-v178[hidden]{display:none!important}
.collection-empty-v178 .svg-icon{font-size:28px;color:#ffb800}
.collection-empty-v178 strong{color:#061827}

@media(max-width:900px){
  .collection-page-v178{padding-top:14px!important}
  .collection-hero-v178{grid-template-columns:minmax(0,1fr) 104px;gap:12px;padding:20px;border-radius:28px}
  .collection-hero-v178 h1{font-size:30px}
  .collection-hero-v178 p{font-size:12.5px}
  .collection-ring-v178{width:100px;height:100px}
  .collection-ring-v178 strong{font-size:23px}
  .collection-ring-v178 small{font-size:8px}
  .collection-hero-stats-v178{gap:6px;margin-top:15px}
  .collection-hero-stats-v178 span{padding:6px 8px;font-size:9px}
  .collection-hero-stats-v178 b{font-size:13px}
  .collection-overview-v178,.collection-library-v178{padding:15px;border-radius:24px}
  .rarity-progress-grid-v178{display:flex!important;grid-template-columns:none!important;gap:9px!important;margin-left:-2px;margin-right:-2px;padding:2px 2px 5px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none}
  .rarity-progress-grid-v178::-webkit-scrollbar{display:none}
  .rarity-chip-v178{min-width:135px;scroll-snap-align:start}
  .collection-tools-v178{grid-template-columns:1fr}
  .collection-filters-v178{width:100%}
  .collection-filters-v178 button{flex:1}
  .collection-page-v178 .special-collections-v178{margin:16px 0!important;padding:15px!important;border-radius:25px!important}
  .special-collection-headline-v178{align-items:flex-start!important}
  .special-collection-icon-v178{width:44px;height:44px;border-radius:15px}
  .special-collection-headline-v178 h2{font-size:19px!important}
  .special-collection-headline-v178 p{font-size:11.5px!important}
  .collection-stat-stack-v178{min-width:71px!important;padding:9px 8px!important}
  .collection-stat-stack-v178 b{font-size:16px!important}
  .collection-summary-row-v178 span{display:grid!important;grid-template-columns:auto auto;justify-content:center;font-size:9px!important;line-height:1.1}
  .collection-summary-row-v178 span .svg-icon{grid-row:1 / span 2}
  .collection-page-v178 .special-collection-row-v178>summary{grid-template-columns:34px minmax(0,1fr) auto!important}
  .collection-row-status-v178{width:34px;height:34px;border-radius:11px}
  .collection-page-v178 .collection-grid-v178{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important;padding-left:0!important;padding-right:0!important}
  .collection-page-v178 .collection-cover-v178{height:118px!important}
  .collection-page-v178 .collection-info-v178{padding:35px 11px 11px!important;min-height:148px!important}
  .collection-page-v178 .collection-info-v178 .discover-logo{left:11px!important;width:51px!important;height:51px!important;border-radius:16px!important}
  .collection-text-v178 h3{font-size:13.5px!important}
  .collection-text-v178 p{font-size:10.8px!important;min-height:29px!important}
  .collection-card-meta-v178{font-size:9px}
  .collection-pill-v178{font-size:9.5px!important;padding:5px 7px!important}
  .collection-card-state-v178{width:29px;height:29px;border-radius:10px}
}
@media(max-width:390px){
  .collection-hero-v178{grid-template-columns:1fr;align-items:start}
  .collection-ring-v178{position:absolute;right:16px;top:16px;width:84px;height:84px}
  .collection-hero-copy-v178{padding-right:82px}
  .collection-hero-v178 h1{font-size:26px}
  .collection-hero-v178 p{padding-right:0}
  .collection-hero-stats-v178{margin-right:-75px}
  .collection-section-title-v178 h2{font-size:18px}
  .collection-page-v178 .collection-grid-v178{gap:9px!important}
  .collection-page-v178 .collection-cover-v178{height:106px!important}
  .collection-page-v178 .collection-info-v178{min-height:144px!important}
}

/* ScanToWin V1.79 - contraste y legibilidad de la colección */
.collection-page-v178 .rarity-chip-v178{
  color:#061827!important;
  background:#ffffff!important;
  border-color:#dfe7ed!important;
}
.collection-page-v178 .rarity-chip-v178 .rarity-chip-top-v178>span,
.collection-page-v178 .rarity-chip-v178>strong{
  color:#061827!important;
}
.collection-page-v178 .rarity-chip-v178>strong small{
  color:#66788a!important;
}
.collection-page-v178 .rarity-chip-v178 .rarity-chip-top-v178>b{
  color:#061827!important;
  background:#eef3f7!important;
}
.collection-page-v178 .rarity-chip-common{border-top:4px solid #94a3b8!important}
.collection-page-v178 .rarity-chip-rare{border-top:4px solid #38bdf8!important}
.collection-page-v178 .rarity-chip-epic{border-top:4px solid #a855f7!important}
.collection-page-v178 .rarity-chip-legendary{border-top:4px solid #ffb800!important}

/* El resumen de patrocinadores es oscuro: todo su contenido debe tener contraste alto. */
.collection-page-v178 .rarity-chip-business{
  color:#fff!important;
  border:2px solid #ffb800!important;
  border-top-width:4px!important;
  background:linear-gradient(145deg,#061827 0%,#0b2f46 100%)!important;
  box-shadow:0 12px 25px rgba(6,24,39,.16)!important;
}
.collection-page-v178 .rarity-chip-business .rarity-chip-top-v178>span,
.collection-page-v178 .rarity-chip-business>strong,
.collection-page-v178 .rarity-chip-business>strong small{
  color:#fff!important;
  opacity:1!important;
}
.collection-page-v178 .rarity-chip-business .rarity-chip-top-v178 .svg-icon,
.collection-page-v178 .rarity-chip-business .rarity-chip-top-v178 svg{
  color:#ffb800!important;
  fill:currentColor!important;
}
.collection-page-v178 .rarity-chip-business .rarity-chip-bar-v178{
  background:rgba(255,255,255,.2)!important;
}
.collection-page-v178 .rarity-chip-business .rarity-chip-bar-v178 i{
  background:linear-gradient(90deg,#ffb800,#ffd34d)!important;
  box-shadow:0 0 12px rgba(255,184,0,.45)!important;
}
.collection-page-v178 .rarity-chip-business:after{
  color:#ffb800!important;
  opacity:.09!important;
}

/* Resumen de colecciones especiales más nítido. */
.collection-page-v178 .collection-summary-row-v178 span{
  min-height:58px!important;
  color:#405368!important;
  background:#f7f9fb!important;
  border-color:#dce5ec!important;
  box-shadow:0 5px 14px rgba(6,24,39,.035)!important;
}
.collection-page-v178 .collection-summary-row-v178 span .svg-icon{
  width:25px!important;
  height:25px!important;
  display:grid!important;
  place-items:center!important;
  padding:5px!important;
  border-radius:9px!important;
  color:#ffb800!important;
  background:#061827!important;
  box-sizing:border-box!important;
}
.collection-page-v178 .collection-summary-row-v178 span b{
  color:#061827!important;
  font-weight:1000!important;
}
.collection-page-v178 .collection-stat-stack-v178,
.collection-page-v178 .collection-stat-stack-v178 b,
.collection-page-v178 .collection-stat-stack-v178 small{
  color:#061827!important;
  opacity:1!important;
}

/* Las etiquetas sobre fotografías no deben mezclarse con imágenes claras. */
.collection-page-v178 .collection-business-v178 .collection-pill-v178,
.collection-page-v178 .collection-card-v178[data-business="1"] .collection-pill-v178{
  color:#fff!important;
  background:rgba(6,24,39,.96)!important;
  border:1px solid #ffb800!important;
  box-shadow:0 9px 22px rgba(6,24,39,.32)!important;
  backdrop-filter:none!important;
}
.collection-page-v178 .collection-business-v178 .collection-pill-v178 span,
.collection-page-v178 .collection-card-v178[data-business="1"] .collection-pill-v178 span{
  color:#fff!important;
  text-shadow:none!important;
}
.collection-page-v178 .collection-business-v178 .collection-pill-v178 b,
.collection-page-v178 .collection-card-v178[data-business="1"] .collection-pill-v178 b,
.collection-page-v178 .collection-business-v178 .collection-pill-v178 .svg-icon,
.collection-page-v178 .collection-card-v178[data-business="1"] .collection-pill-v178 .svg-icon{
  color:#ffb800!important;
  opacity:1!important;
}

/* Etiquetas normales: blanco sólido y texto oscuro para cualquier fotografía. */
.collection-page-v178 .collection-card-v178:not(.collection-business-v178) .collection-pill-v178{
  color:#061827!important;
  background:#fff!important;
  border-color:rgba(6,24,39,.1)!important;
  backdrop-filter:none!important;
}
.collection-page-v178 .collection-card-v178:not(.collection-business-v178) .collection-pill-v178 span,
.collection-page-v178 .collection-card-v178:not(.collection-business-v178) .collection-pill-v178 b{
  color:#061827!important;
  opacity:1!important;
  text-shadow:none!important;
}

.collection-page-v178 .collection-card-v178 .lock-layer,
.collection-page-v178 .collection-card-v178 .lock-layer span,
.collection-page-v178 .collection-card-v178 .lock-layer .svg-icon{
  color:#fff!important;
  opacity:1!important;
  text-shadow:0 1px 3px rgba(0,0,0,.45)!important;
}
.collection-page-v178 .collection-card-v178.locked .collection-card-state-v178{
  color:#fff!important;
  background:#061827!important;
}

/* Texto secundario con contraste AA sobre blanco. */
.collection-page-v178 .collection-text-v178 p,
.collection-page-v178 .collection-card-meta-v178,
.collection-page-v178 .collection-place-mini small,
.collection-page-v178 .special-collection-headline-v178 p{
  color:#53677b!important;
}
.collection-page-v178 .collection-card-meta-v178 b,
.collection-page-v178 .collection-card-meta-v178 span{
  opacity:1!important;
}

@media(max-width:900px){
  .collection-page-v178 .rarity-chip-v178{min-width:145px!important}
  .collection-page-v178 .collection-summary-row-v178 span{min-height:64px!important;font-size:10px!important}
  .collection-page-v178 .collection-summary-row-v178 span .svg-icon{width:24px!important;height:24px!important}
  .collection-page-v178 .collection-pill-v178{max-width:calc(100% - 52px)!important}
}


/* V1.80 - Referidos pendientes hasta 5 check-ins distintos */
.referral-progress-card{margin:16px 0;padding:20px;border-radius:24px;background:linear-gradient(145deg,#071d2d,#0b3047);color:#fff;box-shadow:0 16px 38px rgba(5,24,39,.18)}
.referral-progress-top{display:flex;align-items:center;justify-content:space-between;gap:14px}.referral-progress-top small{display:block;color:#ffbf00;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.referral-progress-top h2{margin:4px 0 0;color:#fff}.referral-progress-top strong{font-size:28px;color:#ffbf00}.referral-progress-card p{color:#d9e5ec;margin:12px 0}.referral-progress-bar{height:10px;background:rgba(255,255,255,.15);border-radius:999px;overflow:hidden}.referral-progress-bar span{display:block;height:100%;background:#ffbf00;border-radius:inherit;transition:width .25s ease}.referral-list article.pending{border-color:#ffd35a;background:#fffaf0}.referral-list article.pending strong{font-size:12px;color:#8a6500;background:#fff0b7;padding:7px 10px;border-radius:999px}.referral-list article:not(.pending) strong{color:#07825e}

/* === V1.85 Premios alineado visualmente con Ranking / ScanToWin === */
.prizes-ranking-hero-v185{position:relative;overflow:hidden}
.prizes-ranking-hero-v185:after{content:"";position:absolute;right:-80px;top:-110px;width:360px;height:360px;border-radius:50%;background:rgba(255,184,0,.09);pointer-events:none}
.prizes-ranking-hero-v185 .ranking-hero-card{position:relative;z-index:1}
.prizes-ranking-hero-v185 .eyebrow{color:#ffcf42}
.prizes-ranking-hero-v185 .eyebrow b{color:#ffb800}
.prizes-hero-copy-v185{min-width:0}
.prizes-hero-actions-v185{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}
.prizes-stat-v185{padding:15px;width:180px;min-width:180px;height:145px}
.prizes-stat-v185 small{color:#dbeafe;line-height:1.25}
.prizes-page-v185{background:linear-gradient(180deg,#f4f8fb 0,#fff 46%);padding-bottom:58px}
.prizes-activity-v185{margin-top:0;margin-bottom:24px}
.prizes-activity-v185 .section-head span{color:#64748b;font-weight:900}
.prizes-panel-v185{margin-bottom:24px}
.prizes-section-head-v185{align-items:flex-end}
.prizes-section-head-v185>div{max-width:760px}
.prizes-section-head-v185 p{margin:7px 0 0;color:#64748b;font-weight:800;line-height:1.45}
.prizes-podium-v185{margin:28px 0 0}
.prize-podium-card-v185{justify-content:flex-start;min-height:300px}
.prize-podium-card-v185 .podium-medal{flex:0 0 auto}
.prize-podium-card-v185 .prize-position-v185{margin-top:2px}
.prize-podium-card-v185 h3{font-size:25px;line-height:1.08;margin:12px 0 8px}
.prize-podium-card-v185 p{margin:0;color:#475569;font-weight:800;line-height:1.42;font-size:14px}
.prize-podium-card-v185.rank-gold p{color:rgba(6,24,39,.78)}
.prize-ranking-link-v185{display:inline-flex;margin-top:auto;padding-top:18px;color:#061827!important;font-weight:1000;text-decoration:none}
.rank-gold .prize-ranking-link-v185{color:#061827!important}
.prizes-referral-v185{position:relative;overflow:hidden;margin:0 0 24px;border-radius:30px;padding:24px 26px;background:radial-gradient(circle at 92% 0,rgba(255,184,0,.34),transparent 25%),linear-gradient(135deg,#061827,#0b3654);color:#fff;box-shadow:0 22px 60px rgba(7,25,39,.17);display:grid;grid-template-columns:62px minmax(0,1fr) auto;gap:18px;align-items:center}
.prizes-referral-v185:after{content:"";position:absolute;right:-55px;bottom:-90px;width:210px;height:210px;border-radius:50%;background:rgba(255,255,255,.06)}
.prizes-referral-v185>*{position:relative;z-index:1}
.prizes-referral-icon-v185{width:58px;height:58px;border-radius:20px;background:#ffb800;color:#061827;display:grid;place-items:center;box-shadow:0 14px 30px rgba(0,0,0,.18)}
.prizes-referral-v185 .eyebrow{color:#ffcf42}
.prizes-referral-v185 h2{margin:4px 0 6px;color:#fff;font-size:29px;line-height:1.05}
.prizes-referral-v185 p{margin:0;color:#dbeafe;font-weight:800;line-height:1.42;max-width:760px}
.prizes-referral-v185 .btn{white-space:nowrap}
.prizes-raffle-grid-v185{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.prizes-raffle-card-v185{position:relative;overflow:hidden;min-width:0;border-radius:24px;background:#f8fafc;border:1px solid rgba(7,25,39,.07);display:grid;grid-template-columns:155px minmax(0,1fr);min-height:176px;transition:.18s;box-shadow:0 12px 32px rgba(7,25,39,.055)}
.prizes-raffle-card-v185:hover{transform:translateY(-3px);background:#fff;box-shadow:0 20px 46px rgba(7,25,39,.10)}
.prizes-raffle-card-v185.is-qualified{border-color:rgba(255,184,0,.72);box-shadow:0 16px 38px rgba(255,184,0,.13)}
.prizes-raffle-image-v185{position:relative;min-height:176px;background:radial-gradient(circle at 22% 18%,rgba(255,207,66,.65),transparent 32%),linear-gradient(145deg,#061827,#0a74b7);background-size:cover;background-position:center;display:grid;place-items:center;color:#fff}
.prizes-raffle-image-v185:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(6,24,39,.7));pointer-events:none}
.prizes-raffle-image-v185>.svg-icon{width:54px;height:54px;position:relative;z-index:1}
.prizes-raffle-image-v185>span{position:absolute;z-index:2;left:10px;right:10px;bottom:10px;border-radius:999px;background:#ffb800;color:#061827;padding:8px 10px;font-size:11px;font-weight:1000;text-align:center}
.prizes-raffle-copy-v185{min-width:0;padding:20px;display:flex;flex-direction:column}
.prizes-raffle-copy-v185 h3{font-size:23px;line-height:1.08;margin:0 0 9px;color:#061827}
.prizes-raffle-copy-v185 p{margin:0;color:#475569;font-weight:800;line-height:1.4;font-size:14px}
.prizes-raffle-meta-v185{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:auto;padding-top:18px}
.prizes-raffle-meta-v185 span,.prizes-raffle-meta-v185 strong{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:8px 10px;font-size:11px;font-weight:1000}
.prizes-raffle-meta-v185 span{background:#eaf3fa;color:#0b4771}
.prizes-raffle-meta-v185 span .svg-icon{width:14px;height:14px}
.prizes-raffle-meta-v185 strong{background:#061827;color:#fff}
.prizes-raffle-card-v185.is-qualified .prizes-raffle-meta-v185 strong{background:#ffb800;color:#061827}
.prizes-winners-v185{margin:2px 0 0}
.prizes-winners-v185 .section-head a{font-weight:1000;color:#0b4771}

@media(max-width:980px){
  .prizes-raffle-grid-v185{grid-template-columns:1fr}
  .prize-podium-card-v185{min-height:275px}
}
@media(max-width:760px){
  .prizes-ranking-hero-v185{padding-top:42px}
  .prizes-ranking-hero-v185 .ranking-hero-card{display:block}
  .prizes-ranking-hero-v185 h1{font-size:39px}
  .prizes-stat-v185{margin-top:22px;width:100%;min-width:0;height:auto;display:grid;grid-template-columns:auto 1fr;column-gap:14px;row-gap:3px;text-align:left;place-items:initial;align-items:center}
  .prizes-stat-v185 strong{grid-row:1/3;font-size:40px}
  .prizes-stat-v185 small{grid-column:1/-1;margin-top:8px}
  .prizes-section-head-v185{display:block}
  .prizes-section-head-v185 .btn{margin-top:16px;width:100%;justify-content:center}
  .prizes-podium-v185{grid-template-columns:1fr}
  .prize-podium-card-v185,.prize-podium-card-v185.podium-first{min-height:auto;transform:none}
  .prizes-referral-v185{grid-template-columns:58px 1fr}
  .prizes-referral-v185 .btn{grid-column:1/-1;width:100%;justify-content:center}
}
@media(max-width:560px){
  .prizes-ranking-hero-v185 h1{font-size:34px}
  .prizes-ranking-hero-v185 p{font-size:16px}
  .prizes-hero-actions-v185 .btn{width:100%;justify-content:center}
  .prizes-panel-v185{padding:18px;border-radius:24px}
  .prizes-section-head-v185 h2{font-size:28px}
  .prizes-referral-v185{grid-template-columns:1fr;padding:22px;border-radius:24px}
  .prizes-referral-icon-v185{width:54px;height:54px}
  .prizes-referral-v185 h2{font-size:26px}
  .prizes-raffle-card-v185{grid-template-columns:1fr}
  .prizes-raffle-image-v185{min-height:145px}
  .prizes-raffle-copy-v185{padding:17px}
  .prizes-raffle-meta-v185{align-items:flex-start;flex-direction:column}
}

/* === V1.86: puntos de colaboradores y eventos especiales === */
.special-point-panel{border:1px solid rgba(6,24,39,.10);border-radius:22px;background:linear-gradient(145deg,#fffdf1,#fff);padding:18px;display:grid;gap:14px}
.special-point-heading{display:flex;gap:12px;align-items:center}.special-point-heading>span{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:#061827;color:#ffb800}.special-point-heading .svg-icon{width:24px;height:24px}.special-point-heading b,.special-point-heading small{display:block}.special-point-heading small{color:#64748b;margin-top:3px}
.special-point-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.special-point-grid label{display:grid;gap:6px;font-weight:900;color:#334155}.special-point-grid label span{font-size:12px}.special-point-grid[hidden]{display:none!important}.is-business-ignored{opacity:.55}
.special-admin-pill{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:950}.special-admin-pill .svg-icon{width:15px;height:15px}.special-admin-pill.collaborator{background:#fff3b0;color:#061827}.special-admin-pill.event{background:#fee2e2;color:#991b1b}.admin-point-sub,.event-admin-period{display:block;color:#64748b;font-size:11px;margin-top:4px}.status.scheduled{background:#fff7cc;color:#8a5b00}
.rf-dot.collaborator{background:#ffb800;box-shadow:0 0 0 4px rgba(255,184,0,.18)}.rf-dot.event{background:#ef4444;box-shadow:0 0 0 4px rgba(239,68,68,.16)}
.stw-marker-v2.collaborator-marker span{background:linear-gradient(135deg,#ffdf72,#ffb800)!important;color:#061827;box-shadow:0 16px 35px rgba(255,184,0,.34),0 0 0 6px rgba(255,184,0,.14)}
.stw-marker-v2.special-event-marker span{background:linear-gradient(135deg,#ffb800,#ef4444)!important;box-shadow:0 16px 35px rgba(239,68,68,.30),0 0 0 6px rgba(239,68,68,.12)}
.map-point-card.special-collaborator{border-color:rgba(255,184,0,.4);background:linear-gradient(145deg,#fffdf1,#fff)}.map-point-card.special-event{border-color:rgba(239,68,68,.28);background:linear-gradient(145deg,#fff7ed,#fff)}.collaborator-line{color:#8a5b00!important}.event-line{color:#b91c1c!important}
.popup-sponsored.special-collaborator{background:#ffb800;color:#061827}.popup-sponsored.special-event{background:#ef4444;color:#fff}.popup-event-period{margin:8px 0 0;color:#7f1d1d;font-size:12px;font-weight:900}.popup-socials,.sheet-socials,.discovery-socials,.collection-social-links{display:flex;flex-wrap:wrap;gap:7px}.popup-socials{margin-top:10px}
.point-social-btn,.collection-social-links a{display:inline-flex;align-items:center;justify-content:center;min-height:34px;border-radius:999px;padding:7px 11px;background:#061827;color:#fff!important;text-decoration:none;font-size:12px;font-weight:950;border:1px solid rgba(255,255,255,.16)}.point-social-btn.compact{min-height:29px;padding:5px 9px;font-size:11px}.point-social-btn.instagram{background:linear-gradient(135deg,#7c3aed,#ec4899)}.point-social-btn.tiktok{background:#111827}.point-social-btn.youtube{background:#dc2626}.point-social-btn.website{background:#0f766e}
.sheet-special{margin:10px 0 0;padding:10px 12px;border-radius:14px;background:#fff7cc;color:#5b4300;font-weight:850;line-height:1.35}.sheet-socials{margin-top:12px}.sheet-socials[style*="display: none"]{margin-top:0}
.scan-place-card.special-collaborator:before{background:#ffb800}.scan-place-card.special-event:before{background:linear-gradient(180deg,#ffb800,#ef4444)}.scan-special-period{display:block;color:#8a5b00;font-style:normal;font-size:11px;font-weight:850;margin-top:3px}.discovery-card.special-event{box-shadow:0 18px 48px rgba(239,68,68,.18)}.discovery-card.special-collaborator{box-shadow:0 18px 48px rgba(255,184,0,.18)}.discovery-special-note{margin:10px 0;padding:10px 12px;border-radius:14px;background:#fff7cc;color:#5b4300;font-weight:900}.discovery-socials{margin:12px 0}
.rarity-chip-collaborator{background:linear-gradient(145deg,#fff7cc,#fff)!important}.rarity-chip-event{background:linear-gradient(145deg,#fee2e2,#fff)!important}.rarity-chip-collaborator .rarity-chip-bar-v178 i{background:#ffb800!important}.rarity-chip-event .rarity-chip-bar-v178 i{background:#ef4444!important}
.collection-special-collaborator{border-color:rgba(255,184,0,.28)!important}.collection-special-event{border-color:rgba(239,68,68,.24)!important}.rarity-pill-special-collaborator{background:#ffb800!important;color:#061827!important}.rarity-pill-special-event{background:#ef4444!important;color:#fff!important}.collection-event-period{display:block;color:#7f1d1d;font-weight:850;margin-top:8px}.collection-social-links{margin-top:10px}.collection-social-links a{min-height:30px;padding:5px 9px;font-size:11px}
@media(max-width:760px){.special-point-grid{grid-template-columns:1fr}.special-point-panel{padding:14px}.point-social-btn{flex:1 1 calc(50% - 8px)}.sheet-socials{display:grid!important;grid-template-columns:1fr 1fr}.collection-social-links a{flex:1 1 calc(50% - 8px)}}
/* V1.86 complemento: estados especiales dentro del escáner del mapa */
.map-scan-place.special-collaborator{border-color:rgba(255,184,0,.42);background:linear-gradient(145deg,#fffdf1,#fff)}
.map-scan-place.special-event{border-color:rgba(239,68,68,.3);background:linear-gradient(145deg,#fff7ed,#fff)}
.map-scan-place .scan-special-note{display:block;margin-top:3px;font-size:11px;line-height:1.25;font-weight:900;font-style:normal}
.map-scan-place .scan-special-note.collaborator{color:#8a5b00}.map-scan-place .scan-special-note.event{color:#b91c1c}
.map-discovery-card.special-collaborator{box-shadow:0 18px 48px rgba(255,184,0,.18)}
.map-discovery-card.special-event{box-shadow:0 18px 48px rgba(239,68,68,.18)}
.map-discovery-special{display:inline-flex!important;width:max-content;margin:0 0 8px;padding:6px 9px;border-radius:999px;font-size:11px!important;font-weight:1000;text-transform:uppercase;letter-spacing:.04em}
.map-discovery-special.collaborator{background:#ffb800;color:#061827}.map-discovery-special.event{background:#ef4444;color:#fff}
.map-discovery-period{margin:5px 0 9px!important;padding:8px 10px;border-radius:12px;background:#fff7cc;color:#5b4300!important;font-size:12px;font-weight:900}
.map-discovery-socials{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}
@media(max-width:560px){.map-discovery-socials .point-social-btn{flex:1 1 calc(50% - 8px)}}


/* V1.88 - generador masivo por ciudad */
.bulk-generator-hero{background:linear-gradient(135deg,#061827,#0c2c47);color:#fff;border:1px solid rgba(255,184,0,.35);overflow:hidden;position:relative}
.bulk-generator-hero:after{content:"";position:absolute;width:280px;height:280px;border-radius:50%;right:-110px;top:-130px;background:radial-gradient(circle,rgba(255,184,0,.25),transparent 68%);pointer-events:none}
.bulk-generator-copy{position:relative;z-index:1;margin-bottom:18px}.bulk-generator-copy h3{font-size:30px;margin:10px 0 7px}.bulk-generator-copy p{color:#d7e5ef;font-weight:800;max-width:850px;margin:0}
.generator-toolbar-v188{position:relative;z-index:1;grid-template-columns:1.25fr 1fr 1.1fr .75fr auto}.generator-toolbar-v188 .input,.generator-toolbar-v188 select{background:#fff;color:#061827}
.generator-filter-v188{display:grid;grid-template-columns:1.2fr 1fr .75fr auto;gap:10px}
.batch-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.batch-card{display:flex;flex-direction:column;gap:3px;background:#f8fafc;border:2px solid transparent;border-radius:18px;padding:14px;color:#061827;text-decoration:none}.batch-card:hover,.batch-card.active{border-color:#ffb800;background:#fff9db}.batch-card span,.batch-card small{color:#64748b;font-weight:800}.batch-card em{font-style:normal;font-size:11px;color:#94a3b8}
.candidate-toolbar-v188{position:sticky;top:0;z-index:4;background:#fff;border-bottom:1px solid #e2e8f0;padding:10px 0;margin-bottom:10px}.select-all-v188{display:inline-flex;align-items:center;gap:8px;font-weight:1000;background:#f1f5f9;border-radius:12px;padding:10px 12px}.candidate-table-v188{min-width:1280px}.candidate-name-input{min-width:260px;margin:0!important}.candidate-table-v188 select{min-width:145px;margin:0}.candidate-table-v188 td small{display:block;margin-top:5px;color:#64748b;font-weight:800}.candidate-badge.provisional{background:#fff3cd;color:#7a5200}.candidate-badge.real{background:#dbeafe;color:#1d4ed8}.candidate-table-v188 a{color:#0f172a;text-decoration:none}.candidate-table-v188 a:hover{color:#b77900}
@media(max-width:1050px){.generator-toolbar-v188,.generator-filter-v188{grid-template-columns:1fr 1fr}.generator-toolbar-v188 .btn,.generator-filter-v188 .btn{grid-column:1/-1}.batch-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.generator-toolbar-v188,.generator-filter-v188,.batch-grid{grid-template-columns:1fr}.bulk-generator-copy h3{font-size:24px}.candidate-toolbar-v188{display:grid;grid-template-columns:1fr 1fr}.candidate-toolbar-v188 .select-all-v188{grid-column:1/-1}}


/* V1.98 - reglas de premios y validación de referidos */
.prize-rules-wrap-v198{background:#f4f8fb;padding:0 0 24px}
.prize-rules-panel-v198{position:relative;overflow:hidden;background:linear-gradient(135deg,#061827,#0b3654);color:#fff;border-radius:30px;padding:26px;box-shadow:0 22px 60px rgba(7,25,39,.18)}
.prize-rules-panel-v198:after{content:"";position:absolute;right:-90px;top:-120px;width:300px;height:300px;border-radius:50%;background:radial-gradient(circle,rgba(255,184,0,.24),transparent 68%)}
.prize-rules-panel-v198>*{position:relative;z-index:1}
.prize-rules-intro-v198{max-width:850px;margin-bottom:20px}.prize-rules-intro-v198 .eyebrow{color:#ffcf42}.prize-rules-intro-v198 h2{margin:5px 0 9px;font-size:34px;line-height:1.05}.prize-rules-intro-v198 p{margin:0;color:#dbeafe;font-weight:800;line-height:1.48}
.prize-rules-grid-v198{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.prize-rules-grid-v198 article{display:grid;grid-template-columns:48px 1fr;gap:13px;align-items:start;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:20px;padding:16px;backdrop-filter:blur(8px)}
.prize-rules-grid-v198 article>span{width:46px;height:46px;border-radius:15px;background:#ffb800;color:#061827;display:grid;place-items:center;box-shadow:0 12px 25px rgba(0,0,0,.16)}
.prize-rules-grid-v198 article>span .svg-icon{width:24px;height:24px}.prize-rules-grid-v198 h3{margin:1px 0 6px;color:#fff;font-size:18px}.prize-rules-grid-v198 p{margin:0;color:#dbeafe;font-weight:750;line-height:1.42;font-size:14px}.prize-rules-grid-v198 p b{display:block;color:#ffcf42;margin-top:7px}
.referral-validation-v198{margin:14px 0;background:linear-gradient(135deg,#061827,#0b3654);color:#fff;border-radius:24px;padding:18px;box-shadow:0 16px 42px rgba(7,25,39,.16)}
.referral-validation-head-v198{display:flex;align-items:center;gap:12px}.referral-validation-head-v198>span{width:44px;height:44px;border-radius:14px;background:#ffb800;color:#061827;display:grid;place-items:center;flex:0 0 auto}.referral-validation-head-v198>span .svg-icon{width:23px;height:23px}.referral-validation-head-v198 small{display:block;color:#ffcf42;font-weight:1000;text-transform:uppercase;font-size:11px;letter-spacing:.05em}.referral-validation-head-v198 h2{margin:3px 0 0;color:#fff;font-size:22px;line-height:1.08}.referral-validation-v198>p{margin:13px 0;color:#dbeafe;font-weight:800;line-height:1.45}
.referral-validation-steps-v198{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.referral-validation-steps-v198 div{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);border-radius:15px;padding:11px;display:flex;align-items:center;gap:9px}.referral-validation-steps-v198 b{width:27px;height:27px;border-radius:9px;background:#ffb800;color:#061827;display:grid;place-items:center;flex:0 0 auto}.referral-validation-steps-v198 span{font-size:12px;font-weight:900;line-height:1.25;color:#fff}
@media(max-width:760px){.prize-rules-grid-v198{grid-template-columns:1fr}.prize-rules-panel-v198{padding:20px;border-radius:24px}.prize-rules-intro-v198 h2{font-size:28px}.referral-validation-steps-v198{grid-template-columns:1fr}.referral-validation-steps-v198 div{min-height:49px}}

/* V2.02 - Corrección visual de Colección / territorios / tarjetas */
.collection-page-v196{padding-bottom:132px!important;overflow-x:hidden!important}
.collection-page-v196 *{box-sizing:border-box}
.collection-cover-v196{position:relative!important;display:block!important;overflow:hidden!important;background:#dfe7ed!important}
.collection-cover-v196 .collection-cover-image-v196{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;display:block!important;z-index:0!important}
.collection-page-v196 .collection-cover-v178:before{z-index:1!important}
.collection-page-v196 .collection-pill-v178{position:absolute!important;z-index:4!important}
.collection-page-v196 .collection-card-state-v178{z-index:5!important}
.collection-page-v196 .collection-card-v178 .lock-layer{z-index:6!important}
.collection-page-v196 .collection-info-v178{background:#fff!important;z-index:2!important;color:#061827!important}
.collection-page-v196 .collection-business-v178 .collection-info-v178,
.collection-page-v196 .collection-card-v178[data-business="1"] .collection-info-v178{background:#fff!important;color:#061827!important}
.collection-page-v196 .collection-business-v178 .collection-text-v178 h3,
.collection-page-v196 .collection-business-v178 .collection-text-v178 p,
.collection-page-v196 .collection-business-v178 .collection-card-meta-v178,
.collection-page-v196 .collection-card-v178[data-business="1"] .collection-text-v178 h3,
.collection-page-v196 .collection-card-v178[data-business="1"] .collection-text-v178 p,
.collection-page-v196 .collection-card-v178[data-business="1"] .collection-card-meta-v178{color:inherit!important;text-shadow:none!important}
.collection-page-v196 .collection-card-v178[data-business="1"] .collection-card-meta-v178 span{color:#53677b!important}
.collection-page-v196 .collection-card-v178[data-business="1"] .collection-card-meta-v178 b{color:#061827!important}

.territory-progress-v196{margin-top:16px;padding:18px;border-radius:27px;background:#fff;border:1px solid rgba(6,24,39,.055);box-shadow:0 15px 40px rgba(7,25,39,.075);overflow:hidden}
.territory-head-v196{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:12px}
.territory-progress-v196>p{margin:0 0 14px;color:#53677b;font-size:14px;line-height:1.45;font-weight:800}
.territory-tabs-v196{display:inline-flex;align-items:center;gap:4px;padding:4px;border-radius:16px;background:#edf2f6;border:1px solid #e1e8ef;max-width:100%;overflow:auto;scrollbar-width:none}
.territory-tabs-v196::-webkit-scrollbar{display:none}
.territory-tabs-v196 button{appearance:none;border:0;border-radius:12px;background:transparent;color:#64748b;padding:9px 13px;font-size:12px;font-weight:1000;white-space:nowrap;cursor:pointer;line-height:1}
.territory-tabs-v196 button.active{background:#061827;color:#fff;box-shadow:0 8px 18px rgba(6,24,39,.16)}
.territory-panel-v196{display:none}
.territory-panel-v196.active{display:block}
.territory-track-v196{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:10px;max-height:520px;overflow:auto;padding:1px 3px 3px 1px;scrollbar-width:thin;scrollbar-color:#ffb800 #edf2f6}
.territory-card-v196{appearance:none;border:1px solid #e1e8ef;background:linear-gradient(145deg,#fff,#f8fafc);border-radius:18px;padding:12px;display:grid;grid-template-columns:42px minmax(0,1fr) 48px;gap:10px;align-items:center;width:100%;min-width:0;text-align:left;cursor:pointer;color:#061827;box-shadow:0 8px 18px rgba(7,25,39,.045);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease}
.territory-card-v196:hover{transform:translateY(-1px);border-color:#ffcf42;box-shadow:0 12px 26px rgba(7,25,39,.08)}
.territory-card-v196.active{border-color:#ffb800;background:linear-gradient(145deg,#fff9df,#fff);box-shadow:0 14px 30px rgba(255,184,0,.13)}
.territory-card-v196.completed{border-color:#89e0bf;background:linear-gradient(145deg,#effbf6,#fff)}
.territory-code-v196{width:42px;height:42px;border-radius:14px;background:#061827;color:#ffb800;display:grid;place-items:center;font-size:13px;font-weight:1000;line-height:1;letter-spacing:.02em;overflow:hidden}
.territory-code-v196 .svg-icon{width:18px;height:18px;color:#ffb800}
.territory-copy-v196{min-width:0;display:grid;gap:3px}
.territory-copy-v196 small{display:block;color:#64748b;font-size:10px;font-weight:1000;letter-spacing:.06em;text-transform:uppercase;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.territory-copy-v196 strong{display:block;color:#061827;font-size:15px;font-weight:1000;line-height:1.12;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.territory-copy-v196 em{display:block;color:#53677b;font-size:11px;font-style:normal;font-weight:900;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.territory-copy-v196 i{display:block;height:7px;margin-top:4px;border-radius:999px;background:#e6edf3;overflow:hidden}
.territory-copy-v196 i b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#ffb800,#ffd75a)}
.territory-percent-v196{display:grid;place-items:center;min-width:42px;min-height:34px;border-radius:999px;background:#f1f5f9;color:#061827;font-size:11px;font-weight:1000}
.territory-card-v196.completed .territory-percent-v196{background:#dcfce7;color:#166534}
.collection-empty-inline-v196{padding:16px;border-radius:18px;background:#f8fafc;color:#64748b;font-weight:900;text-align:center;border:1px dashed #cbd5df}

.special-collections-v196{margin:16px 0;padding:18px;border-radius:27px;background:#fff;border:1px solid rgba(6,24,39,.055);box-shadow:0 15px 40px rgba(7,25,39,.075);overflow:hidden}
.special-collections-head-v196{display:flex;align-items:flex-start;gap:12px;margin-bottom:14px}
.special-collections-head-v196 .special-collection-icon-v178{flex:0 0 auto}
.special-collections-head-v196 small{display:block;color:#64748b;font-size:10px;font-weight:1000;letter-spacing:.08em;text-transform:uppercase}
.special-collections-head-v196 h2{margin:2px 0 4px;color:#061827;font-size:20px;line-height:1.1;letter-spacing:-.35px}
.special-collections-head-v196 p{margin:0;color:#53677b;font-size:13px;line-height:1.35;font-weight:800}
.special-load-button-v196{width:100%;appearance:none;border:0;border-radius:18px;background:linear-gradient(135deg,#061827,#0b3654);color:#fff;display:flex;align-items:center;justify-content:center;gap:9px;padding:14px 16px;font-weight:1000;cursor:pointer;box-shadow:0 14px 30px rgba(6,24,39,.14)}
.special-load-button-v196 .svg-icon{color:#ffb800}
.special-load-button-v196:disabled{opacity:.72;cursor:progress}
#specialCollectionsContent{margin-top:14px}
.special-summary-v196{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:12px}
.special-summary-v196 span{display:grid;place-items:center;gap:2px;padding:12px;border-radius:17px;background:#f8fafc;border:1px solid #e5edf3;text-align:center}
.special-summary-v196 b{font-size:20px;color:#061827;line-height:1}.special-summary-v196 small{color:#64748b;font-size:10px;font-weight:1000;text-transform:uppercase;line-height:1.1}
.special-collection-list-v196{display:grid;gap:9px}
.special-collection-row-v196{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid #e1e8ef;border-radius:18px;background:#fff;padding:11px;box-shadow:0 8px 18px rgba(7,25,39,.045)}
.special-collection-row-v196.ready{border-color:#ffb800;background:#fffaf0}.special-collection-row-v196.completed{border-color:#89e0bf;background:#effbf6}
.special-collection-status-v196{width:42px;height:42px;border-radius:14px;background:#061827;color:#ffb800;display:grid;place-items:center}.special-collection-status-v196 .svg-icon{width:19px;height:19px}
.special-collection-copy-v196{min-width:0}.special-collection-copy-v196 small{display:block;color:#64748b;font-size:10px;font-weight:1000;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.special-collection-copy-v196 strong{display:block;color:#061827;font-size:14px;font-weight:1000;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.special-collection-copy-v196 span{display:block;color:#53677b;font-size:11px;font-weight:900;margin-top:3px}
.special-collection-side-v196{display:grid;justify-items:end;gap:3px}.special-collection-side-v196 b{color:#061827;font-size:16px}.special-collection-side-v196 small{color:#64748b;font-size:10px;font-weight:1000}.special-collection-open-v196{appearance:none;border:0;border-radius:999px;background:#ffb800;color:#061827;padding:7px 10px;font-size:10px;font-weight:1000;cursor:pointer}
.collection-active-area-v196{margin:13px 0 0;padding:12px;border-radius:18px;background:#fff7d6;border:1px solid #ffdf73;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#061827}
.collection-active-area-v196[hidden]{display:none!important}.collection-active-area-v196 small{display:block;color:#8a6500;font-size:10px;font-weight:1000;text-transform:uppercase}.collection-active-area-v196 strong{display:block;font-size:15px;line-height:1.15}.collection-active-area-v196 button{appearance:none;border:0;border-radius:999px;background:#061827;color:#fff;padding:8px 10px;font-size:11px;font-weight:1000;white-space:nowrap;cursor:pointer}
.collection-fast-note-v196{margin:12px 2px 0;display:flex;align-items:flex-start;gap:7px;color:#64748b;font-size:12px;font-weight:850;line-height:1.35}.collection-fast-note-v196 .svg-icon{color:#ffb800;flex:0 0 auto;margin-top:1px}
.collection-load-footer-v196{display:flex;justify-content:center;align-items:center;gap:10px;min-height:42px;margin:0 0 130px;color:#64748b;font-size:12px;font-weight:900;text-align:center}.collection-load-footer-v196 button,.collection-inline-retry-v196{appearance:none;border:0;border-radius:999px;background:#061827;color:#fff;padding:10px 14px;font-weight:1000;cursor:pointer}
.collection-skeleton-v196{height:280px;border-radius:23px;background:linear-gradient(90deg,#eef3f7,#f8fafc,#eef3f7);background-size:220% 100%;animation:stwSkeletonV196 1.1s linear infinite;box-shadow:0 14px 34px rgba(7,25,39,.055)}
@keyframes stwSkeletonV196{to{background-position:-220% 0}}

@media(max-width:900px){
  .territory-progress-v196,.special-collections-v196{padding:15px;border-radius:24px}
  .territory-head-v196{align-items:flex-start;gap:10px}
  .territory-tabs-v196{width:100%}
  .territory-tabs-v196 button{flex:1;padding:10px 12px}
  .territory-progress-v196>p{font-size:12.5px;margin-bottom:12px}
  .territory-track-v196{grid-template-columns:1fr;max-height:430px;gap:8px}
  .territory-card-v196{grid-template-columns:36px minmax(0,1fr) 42px;border-radius:16px;padding:10px;gap:9px}
  .territory-code-v196{width:36px;height:36px;border-radius:12px;font-size:11px}
  .territory-copy-v196 strong{font-size:14px}.territory-copy-v196 em{font-size:10.5px}.territory-percent-v196{min-width:38px;min-height:30px;font-size:10px}
  .special-summary-v196{grid-template-columns:1fr 1fr 1fr}.special-summary-v196 span{padding:10px 6px}.special-summary-v196 b{font-size:17px}.special-summary-v196 small{font-size:8.5px}
  .special-collection-row-v196{grid-template-columns:36px minmax(0,1fr);align-items:start}.special-collection-status-v196{width:36px;height:36px;border-radius:12px}.special-collection-side-v196{grid-column:2;justify-items:start;grid-auto-flow:column;align-items:center;gap:7px}.special-collection-open-v196{padding:7px 9px}
  .collection-active-area-v196{align-items:flex-start;flex-direction:column}.collection-active-area-v196 button{width:100%}
  .collection-skeleton-v196{height:242px}
}
@media(max-width:390px){
  .territory-card-v196{grid-template-columns:34px minmax(0,1fr) 38px;padding:9px}.territory-code-v196{width:34px;height:34px}.territory-copy-v196 strong{font-size:13.5px}.territory-copy-v196 small{font-size:9px}.territory-copy-v196 em{font-size:10px}.territory-percent-v196{font-size:9px;min-width:35px}
}


/* === V2.03: miniaturas del escaneo corregidas === */
.map-scan-place-icon.has-image,
.scan-place-logo{
  overflow:hidden!important;
  flex:0 0 auto!important;
}
.map-scan-place-icon.has-image{
  background:#fff7cc!important;
  border:1px solid rgba(255,184,0,.35)!important;
  box-shadow:0 10px 22px rgba(6,24,39,.08)!important;
}
.map-scan-place-icon.has-image img,
.scan-place-logo img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  border-radius:inherit!important;
  object-position:center!important;
}
.map-scan-place-icon.has-image img.is-logo,
.map-scan-place-icon.has-image img.is-placeholder,
.scan-place-logo img.scan-thumb-logo,
.scan-place-logo img.scan-thumb-placeholder{
  object-fit:contain!important;
  padding:6px!important;
  background:#fff!important;
}
.map-scan-place-icon.has-image img.is-cover,
.scan-place-logo img.scan-thumb-cover{
  object-fit:cover!important;
  padding:0!important;
  background:#fff7cc!important;
}
@media(max-width:760px){
  .map-scan-place-icon.has-image{width:42px!important;height:42px!important;border-radius:15px!important;}
  .map-scan-place-icon.has-image img.is-logo,
  .map-scan-place-icon.has-image img.is-placeholder{padding:5px!important;}
}

/* ScanToWin V2.07 - dashboard ranking around current user */
.dashboard-rank-nearby{background:#fff;border:1px solid rgba(6,24,39,.08);border-radius:22px;padding:16px;margin:14px 0;box-shadow:0 14px 36px rgba(6,24,39,.08);overflow:hidden}
.dashboard-rank-nearby .section-head{margin-bottom:10px}.dashboard-rank-nearby h2{margin:0;font-size:18px;line-height:1;color:#061827!important}.rank-nearby-list{display:grid;gap:8px}.rank-nearby-row{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid #e2e8f0;background:#f8fafc;border-radius:16px;padding:10px 12px;text-decoration:none;color:#061827!important;font-weight:900}.rank-nearby-row b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rank-nearby-row strong{font-size:13px;white-space:nowrap}.rank-nearby-pos{display:inline-grid;place-items:center;background:#e2e8f0;border-radius:999px;padding:6px 9px;font-weight:1000;color:#061827}.rank-nearby-row.is-me{background:linear-gradient(135deg,#ffb800,#ffd86b);border-color:#ffb800;box-shadow:0 12px 26px rgba(255,184,0,.24);transform:scale(1.01)}.rank-nearby-row.is-me .rank-nearby-pos{background:#061827;color:#fff}.rank-nearby-row.is-me strong{color:#061827}
@media(max-width:520px){.dashboard-rank-nearby{padding:14px;border-radius:20px}.rank-nearby-row{grid-template-columns:50px minmax(0,1fr);gap:8px}.rank-nearby-row strong{grid-column:2;justify-self:start;margin-top:-4px}.dashboard-rank-nearby h2{font-size:17px}}

/* V2.09 - premium password visibility buttons, Scan virtual travel and social missions */
.password-field{position:relative;margin-bottom:15px}.password-field .input{padding-right:48px}.password-toggle{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:36px;height:36px;border:0;border-radius:12px;background:rgba(17,24,39,.06);color:#111827;display:grid;place-items:center;cursor:pointer;transition:.18s ease}.password-toggle:hover{background:#111827;color:#fff}.password-toggle .svg-icon{width:20px;height:20px}.password-toggle svg{width:20px;height:20px;fill:currentColor}
.scan-trip-card,.scan-virtual-box{border:1px solid rgba(17,24,39,.08);background:linear-gradient(135deg,#fff,#fff8dc);border-radius:22px;padding:16px;box-shadow:0 12px 30px rgba(17,24,39,.08);margin:12px 0}.scan-trip-head{display:flex;gap:12px;align-items:center}.scan-trip-avatar{width:52px;height:52px;border-radius:18px;background:#111827;display:grid;place-items:center;flex:0 0 auto;box-shadow:0 10px 24px rgba(17,24,39,.18)}.scan-trip-avatar img{width:34px;height:34px;display:block}.scan-trip-head small{display:block;color:#6b7280;font-weight:800;margin-top:3px}.scan-trip-progress{height:9px;border-radius:999px;background:rgba(17,24,39,.1);overflow:hidden;margin:14px 0}.scan-trip-progress span{display:block;height:100%;background:linear-gradient(90deg,#111827,#f6c610);border-radius:inherit}.scan-trip-meta{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.scan-trip-meta span{font-size:12px;font-weight:900;background:#fff;border:1px solid rgba(17,24,39,.08);border-radius:999px;padding:7px 10px}.scan-virtual-hint{display:block;color:#6b7280;font-size:12px;margin-top:6px}.scan-status-ready{border-color:#f6c610!important;background:#fff7cf!important}.social-mission-wrap{display:grid;gap:8px;margin-top:12px}.social-mission-title{font-weight:950;color:#111827;font-size:14px}.social-mission-btn{border:1px solid rgba(17,24,39,.08);background:#fff;color:#111827;border-radius:14px;padding:10px 12px;font-weight:950;display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;text-decoration:none}.social-mission-btn:hover{border-color:#f6c610;box-shadow:0 8px 20px rgba(17,24,39,.08)}.social-mission-btn[disabled]{opacity:.62;cursor:not-allowed;background:#f3f4f6}.social-mission-btn b{display:flex;align-items:center;gap:8px}.social-mission-btn .svg-icon{width:18px;height:18px}.social-mission-btn small{font-weight:900;color:#111827;background:#f6c610;border-radius:999px;padding:4px 8px}.social-mission-btn.claimed small{background:#e5e7eb;color:#374151}.sheet-virtual-box{margin:12px 0;padding:12px;border-radius:16px;background:#fff9db;border:1px solid rgba(246,198,16,.45)}.sheet-virtual-box b{display:block}.sheet-virtual-box small{display:block;color:#6b7280;margin-top:4px}.map-scan-alert.success{background:#ecfdf5;border-color:#a7f3d0;color:#065f46}.map-discovery-card.virtual .map-discovery-body>span,.discovery-card.virtual .discovery-content>span{background:#111827;color:#fff;border-radius:999px;padding:6px 10px;display:inline-flex;width:max-content}


/* === V2.11 mobile app polish + clearer gameplay === */
:root{--app-bg:#eef3f7;--app-radius:24px;--app-shadow:0 18px 45px rgba(6,24,39,.10)}
.mode-grid{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:18px;align-items:stretch}.mode-card{background:#fff;border:1px solid rgba(6,24,39,.07);border-radius:28px;padding:24px;box-shadow:var(--app-shadow);display:flex;flex-direction:column;gap:12px}.mode-card.primary{background:linear-gradient(135deg,#061827,#0b2a42);color:#fff}.mode-card h2{margin:0;font-size:26px;line-height:1.05}.mode-card p{margin:0;color:#64748b;font-weight:850;line-height:1.45}.mode-card.primary p{color:#dbeafe}.mode-card .btn{margin-top:auto;width:max-content}.mode-icon{width:58px;height:58px;border-radius:20px;background:#fff7d6;color:#061827;display:grid;place-items:center;border:1px solid rgba(255,184,0,.35)}.mode-card.primary .mode-icon{background:#ffb800;border-color:#ffb800}.mode-icon .svg-icon{width:30px;height:30px}.mode-icon img{width:36px;height:36px;object-fit:contain}.point-social-btn span{font-weight:1000}.sheet-business:empty,.sheet-special:empty{display:none!important}.sheet-socials{margin:0 0 12px}.social-mission-title{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#64748b;font-weight:1000;margin:0 0 8px}.social-mission-wrap{display:grid;gap:8px}.social-mission-btn{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:48px;border:1px solid rgba(6,24,39,.08);background:#fff;border-radius:16px;padding:10px 12px;box-shadow:0 8px 18px rgba(6,24,39,.05);cursor:pointer;color:#061827}.social-mission-btn b{font-size:14px}.social-mission-btn small{font-size:12px;color:#ffb800;font-weight:1000}.social-mission-btn.claimed{background:#dcfce7;border-color:#86efac}.social-mission-btn:disabled{cursor:not-allowed;opacity:.78}.sheet-virtual-box{margin:0 0 12px;padding:12px;border-radius:18px;background:#fff7d6;border:1px solid rgba(255,184,0,.35);display:grid;gap:4px}.sheet-virtual-box b{font-size:14px}.sheet-virtual-box small{font-weight:850;color:#64748b}.btn-dark{background:#061827!important;color:#fff!important}.btn-dark .svg-icon{color:#ffb800!important}
@media(max-width:900px){.mode-grid{grid-template-columns:1fr}.mode-card .btn{width:100%}}
@media(max-width:760px){
  html{background:var(--app-bg)}body{background:var(--app-bg);-webkit-tap-highlight-color:transparent;padding-bottom:calc(78px + env(safe-area-inset-bottom))}.nav{height:66px!important;min-height:66px!important;background:rgba(255,255,255,.94)!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-bottom:1px solid rgba(6,24,39,.06)!important;position:sticky!important;top:0!important;z-index:900!important}.nav .container{padding:0 14px!important}.logo{font-size:18px!important;letter-spacing:-.02em}.logo-mark{width:38px!important;height:38px!important;border-radius:14px!important}.nav-links{display:none!important}.nav-actions{gap:8px!important}.nav-actions .btn{height:42px!important;padding:0 12px!important;border-radius:14px!important;font-size:13px!important}.nav-actions .btn-outline{display:none!important}.stw-lang-selector .stw-lang-button,.lang-select{height:42px!important;border-radius:14px!important}.hero{min-height:auto!important;border-radius:0 0 32px 32px!important;background:radial-gradient(circle at 90% 0,rgba(255,184,0,.28),transparent 28%),linear-gradient(135deg,#061827,#0b2a42)!important}.hero .container{display:block!important;min-height:0!important;padding:28px 18px 34px!important}.hero h1{font-size:34px!important;line-height:1.02!important;letter-spacing:-.045em!important;margin:0 0 12px!important}.hero p{font-size:16px!important;line-height:1.42!important;margin:0 0 18px!important;color:#e7f0f9}.hero-actions{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}.hero-actions .btn{height:54px!important;border-radius:18px!important;width:100%!important}.phone{display:none!important}.section{padding:22px 0!important}.section .container,.container{padding-left:14px!important;padding-right:14px!important}.section-title{text-align:left!important}.section h2,.section-title h2{font-size:28px!important;line-height:1.06!important;margin:5px 0 16px!important;letter-spacing:-.04em}.eyebrow{font-size:11px!important}.steps{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}.step{background:#fff!important;border:1px solid rgba(6,24,39,.06)!important;border-radius:24px!important;padding:18px!important;box-shadow:0 12px 30px rgba(6,24,39,.07)!important;text-align:left!important;display:grid!important;grid-template-columns:58px 1fr!important;column-gap:14px!important;align-items:center!important}.steps .step .icon{grid-row:1/3!important;width:58px!important;height:58px!important;margin:0!important;border-radius:20px!important}.steps .step .icon .svg-icon{width:30px!important;height:30px!important}.step h3{margin:0 0 5px!important;font-size:18px!important}.step p{margin:0!important;color:#64748b!important;font-weight:850!important;line-height:1.35!important}.prizes{grid-template-columns:1fr!important;border-radius:28px!important;padding:22px!important;gap:12px!important}.prize-card{min-height:132px!important;border-radius:22px!important}.cta{border-radius:28px!important;padding:22px!important;box-shadow:var(--app-shadow);align-items:stretch!important}.cta .btn{width:100%;margin:4px 0}.footer{display:none!important}.form-wrap{margin:18px 14px!important;padding:22px!important;border-radius:28px!important;box-shadow:var(--app-shadow)!important}.input,select,textarea{border-radius:16px!important;min-height:50px!important;background:#fff!important}.btn{border-radius:16px!important;min-height:46px!important}.home-play-modes{margin-top:-18px!important;position:relative;z-index:2}.mode-grid{gap:12px!important}.mode-card{border-radius:26px!important;padding:18px!important}.mode-card h2{font-size:22px!important}.mode-card p{font-size:14px!important}.mode-icon{width:54px;height:54px;border-radius:19px}.winner-carousel-large{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}.winner-card{border-radius:22px!important}.mobile-bottom.stw-mobile-nav{height:72px!important;padding:8px 10px calc(8px + env(safe-area-inset-bottom))!important;border-radius:24px 24px 0 0!important;box-shadow:0 -14px 34px rgba(6,24,39,.12)!important;border-top:1px solid rgba(6,24,39,.08)!important;background:rgba(255,255,255,.96)!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.mobile-bottom.stw-mobile-nav a{font-size:11px!important;color:#64748b!important;display:grid!important;gap:3px!important;place-items:center!important}.mobile-bottom.stw-mobile-nav a.active{color:#061827!important}.mobile-bottom.stw-mobile-nav .svg-icon{font-size:22px!important}.mobile-bottom .scan-fab{width:66px!important;height:66px!important;border-radius:24px!important;background:#ffb800!important;box-shadow:0 16px 34px rgba(255,184,0,.42)!important;transform:translateY(-20px)!important}.mobile-bottom .scan-fab img{width:44px!important;height:44px!important;object-fit:contain!important}
}
@media(max-width:760px){body.map-body{padding-bottom:0!important}.map-body .nav{height:64px!important;min-height:64px!important}.map-page{height:calc(100dvh - 64px)!important}.map-shell{padding:8px 8px calc(146px + env(safe-area-inset-bottom))!important}.map-toolbar-pro{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;padding:0!important;margin:0 0 8px!important}.rarity-filters{display:flex!important;gap:7px!important;overflow-x:auto!important;scroll-snap-type:x proximity!important;padding:2px 1px 8px!important;-webkit-overflow-scrolling:touch!important}.rarity-filters::-webkit-scrollbar{display:none}.rarity-filter{flex:0 0 auto!important;min-height:38px!important;border-radius:999px!important;padding:8px 11px!important;font-size:12px!important;scroll-snap-align:start!important;background:#fff!important}.map-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}.map-actions .btn{min-height:42px!important;height:42px!important;padding:0 9px!important;font-size:12px!important;border-radius:15px!important;box-shadow:0 8px 18px rgba(6,24,39,.07)!important}.map-actions #scanStatusBtn,.map-actions #toggleTodayDone{grid-column:auto!important}.map-live-status{margin:0 0 8px!important;border-radius:16px!important;font-size:11px!important;padding:8px 10px!important}.stw-map-stage{flex:1 1 auto!important;min-height:0!important}#stwMap{height:100%!important;min-height:250px!important;border-radius:28px!important;outline:0!important;box-shadow:0 18px 42px rgba(6,24,39,.16)!important}.leaflet-control-attribution{font-size:9px!important}.map-mobile-scan-cta{bottom:calc(94px + env(safe-area-inset-bottom))!important}.map-mobile-scan-cta .btn{height:56px!important;min-height:56px!important}.map-point-sheet,.map-scan-dock{bottom:calc(84px + env(safe-area-inset-bottom))!important;max-height:calc(100dvh - 150px - env(safe-area-inset-bottom))!important}.sheet-actions{grid-template-columns:1fr!important}.sheet-actions .btn{height:50px!important}.sheet-actions #sheetDirections{order:3}.sheet-cover{height:132px!important}.sheet-body{padding:13px 14px!important}.sheet-body h2{font-size:22px!important}.sheet-virtual-box{border-radius:16px!important;padding:10px!important}.social-mission-btn{min-height:45px!important;border-radius:15px!important}.scan-confirm-grid{grid-template-columns:1fr!important}.scan-trip-actions .btn,.scan-confirm-card .btn{width:100%!important}}


/* === V2.12 premium mobile app redesign === */
:root{--app-bg:#eef3f7;--app-card:#ffffff;--app-ink:#061827;--app-muted:#64748b;--app-line:rgba(6,24,39,.08);--app-shadow:0 18px 48px rgba(6,24,39,.12);--app-shadow-soft:0 10px 28px rgba(6,24,39,.08)}
.home-app-shell{background:linear-gradient(180deg,#eef3f7 0,#f8fafc 38%,#fbfaf7 100%)}
.stw-home-hero-grid{display:grid;grid-template-columns:1.02fr .98fr;align-items:center;gap:42px;min-height:640px!important}.stw-app-hero{min-height:640px!important;background:radial-gradient(circle at 84% 14%,rgba(255,184,0,.34),transparent 24%),radial-gradient(circle at 8% 22%,rgba(17,137,214,.26),transparent 24%),linear-gradient(135deg,#061827 0,#09233a 54%,#0b3658 100%)!important}.stw-trust-row{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 18px}.stw-trust-row span{display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 12px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);font-weight:1000;font-size:12px;color:#fff}.stw-trust-row .svg-icon{color:#ffb800}.stw-hero-actions .btn{box-shadow:0 18px 42px rgba(0,0,0,.18)}.stw-quick-rail{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:22px;max-width:560px}.stw-quick-rail a{display:grid;place-items:center;gap:7px;min-height:78px;border-radius:20px;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.14);color:#fff;font-weight:1000;font-size:12px;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}.stw-quick-rail .svg-icon{width:24px;height:24px;color:#ffb800}.stw-app-preview{display:grid;place-items:center}.stw-preview-phone{width:335px;max-width:100%;border-radius:42px;background:#071927;padding:14px;box-shadow:0 30px 80px rgba(0,0,0,.38),inset 0 0 0 1px rgba(255,255,255,.08);position:relative}.stw-preview-phone:before{content:"";position:absolute;top:9px;left:50%;transform:translateX(-50%);width:92px;height:6px;border-radius:999px;background:rgba(255,255,255,.18)}.stw-preview-status{height:48px;border-radius:30px 30px 16px 16px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 16px;margin-top:10px}.stw-preview-status span,.stw-preview-status em{display:block;width:32px;height:10px;border-radius:99px;background:#e5edf5}.stw-preview-status b{font-size:13px;color:#061827}.stw-preview-card{background:#fff;border-radius:24px;margin-top:10px;padding:18px;color:#061827}.stw-preview-balance{background:linear-gradient(135deg,#ffcf32,#ffb800);box-shadow:0 16px 34px rgba(255,184,0,.24)}.stw-preview-balance small{display:block;text-transform:uppercase;font-size:11px;font-weight:1000;opacity:.72}.stw-preview-balance strong{display:block;font-size:46px;line-height:.95;letter-spacing:-.06em}.stw-preview-balance span{font-size:12px;font-weight:1000}.stw-preview-map{height:220px;margin-top:10px;border-radius:28px;position:relative;overflow:hidden;background:linear-gradient(135deg,#dceafe,#f7fafc)}.stw-preview-map:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 31%,rgba(6,24,39,.06) 32%,transparent 33%),linear-gradient(0deg,transparent 31%,rgba(6,24,39,.06) 32%,transparent 33%);background-size:58px 58px}.stw-preview-map .pin{position:absolute;width:46px;height:46px;border-radius:18px;display:grid;place-items:center;background:#fff;box-shadow:0 12px 26px rgba(6,24,39,.14);color:#061827}.stw-preview-map .pin .svg-icon{width:23px;height:23px}.stw-preview-map .p1{left:34px;top:40px}.stw-preview-map .p2{right:42px;top:68px}.stw-preview-map .p3{left:126px;bottom:38px;background:#061827;color:#ffb800}.scan-avatar{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:78px;height:78px;border-radius:28px;background:#ffb800;border:5px solid #fff;display:grid;place-items:center;box-shadow:0 20px 46px rgba(255,184,0,.36)}.scan-avatar img{width:58px;height:58px;object-fit:contain}.stw-preview-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.stw-preview-actions span{display:flex;align-items:center;justify-content:center;gap:6px;height:48px;border-radius:18px;background:#fff;color:#061827;font-weight:1000;font-size:12px}.stw-preview-actions span:first-child{background:#ffb800}.stw-preview-nav{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin-top:10px;background:#fff;border-radius:24px;padding:9px}.stw-preview-nav i{height:42px;border-radius:16px;display:grid;place-items:center;color:#64748b}.stw-preview-nav i.active{background:#ffb800;color:#061827;transform:translateY(-8px);box-shadow:0 12px 25px rgba(255,184,0,.35)}.stw-preview-nav img{width:34px;height:34px}.home-install-strip-section{padding-top:0!important}.home-install-strip{display:grid;grid-template-columns:auto 1fr auto;gap:16px;align-items:center;background:#fff;border:1px solid var(--app-line);border-radius:26px;padding:16px 18px;box-shadow:var(--app-shadow-soft);margin-top:-34px;position:relative;z-index:4}.install-brand{width:58px;height:58px;border-radius:20px;background:#ffb800;display:grid;place-items:center;box-shadow:0 14px 30px rgba(255,184,0,.28)}.install-brand img{width:45px;height:45px}.home-install-strip b{display:block;font-size:18px;letter-spacing:-.02em}.home-install-strip span{display:block;color:#64748b;font-weight:850}.home-section-title p{max-width:680px;margin:-8px auto 28px;color:#64748b;font-weight:850;line-height:1.45}.home-final-cta{margin-bottom:20px}.home-final-cta .btn{box-shadow:0 10px 22px rgba(6,24,39,.10)}.stw-install-card{position:fixed;left:14px;right:14px;bottom:calc(88px + env(safe-area-inset-bottom));z-index:4200;display:grid;grid-template-columns:auto 1fr auto auto;gap:10px;align-items:center;background:rgba(255,255,255,.96);border:1px solid rgba(6,24,39,.08);border-radius:24px;padding:10px;box-shadow:0 22px 60px rgba(6,24,39,.22);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.stw-install-card[hidden]{display:none!important}.stw-install-icon{width:46px;height:46px;border-radius:16px;background:#ffb800;display:grid;place-items:center;box-shadow:0 10px 22px rgba(255,184,0,.26)}.stw-install-icon img{width:36px;height:36px}.stw-install-text b{display:block;font-size:14px;line-height:1.1}.stw-install-text span{display:block;font-size:12px;color:#64748b;font-weight:850;line-height:1.15}.stw-install-main{height:42px;border:0;border-radius:15px;background:#061827;color:#fff;font-weight:1000;padding:0 12px;display:inline-flex;align-items:center;gap:6px}.stw-install-main .svg-icon{color:#ffb800}.stw-install-close{width:34px;height:34px;border:0;border-radius:12px;background:#edf2f7;color:#061827;font-size:22px;line-height:1;cursor:pointer}.stw-install-modal[hidden]{display:none!important}.stw-install-modal{position:fixed;inset:0;z-index:5000;display:grid;place-items:end center;padding:18px}.stw-install-modal-backdrop{position:absolute;inset:0;background:rgba(6,24,39,.52);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.stw-install-modal-panel{position:relative;width:min(420px,100%);background:#fff;border-radius:30px;padding:28px 22px 22px;text-align:center;box-shadow:0 30px 80px rgba(0,0,0,.28)}.stw-install-icon.large{width:76px;height:76px;border-radius:26px;margin:0 auto 12px}.stw-install-icon.large img{width:58px;height:58px}.stw-install-modal-panel h2{margin:0 0 8px;font-size:28px;letter-spacing:-.04em}.stw-install-modal-panel p{margin:0 0 18px;color:#64748b;font-weight:850;line-height:1.45}.stw-install-modal-close{position:absolute;right:14px;top:14px;width:38px;height:38px;border:0;border-radius:14px;background:#edf2f7;font-size:24px;color:#061827}.stw-public-mobile-nav .public-play{background:#ffb800!important}.stw-public-mobile-nav .public-play:after{content:"Jugar";position:absolute;bottom:-17px;left:50%;transform:translateX(-50%);font-size:10px;font-weight:1000;color:#061827;background:#fff;border-radius:999px;padding:3px 8px;box-shadow:0 8px 18px rgba(6,24,39,.10)}
@media(min-width:901px){.stw-install-card{display:none!important}.stw-public-mobile-nav{display:none!important}.home-section-title p{margin-left:auto;margin-right:auto;text-align:center}.stw-app-hero .hero-copy{max-width:none}}
@media(max-width:900px){
  html{scroll-behavior:smooth;background:#eef3f7!important}body{background:#eef3f7!important;color:#061827!important;padding-bottom:calc(92px + env(safe-area-inset-bottom))!important;overflow-x:hidden}.container{width:100%!important;max-width:100%!important}.nav{height:68px!important;min-height:68px!important;background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(6,24,39,.06)!important;backdrop-filter:blur(20px)!important;-webkit-backdrop-filter:blur(20px)!important}.nav .container{padding:0 14px!important}.logo{font-size:17px!important;line-height:.86!important}.logo-mark{width:40px!important;height:40px!important;border-radius:15px!important;border-width:2px!important}.nav-actions{gap:8px!important}.nav-actions .btn{height:42px!important;min-height:42px!important;padding:0 12px!important;border-radius:15px!important;font-size:13px!important;box-shadow:0 8px 18px rgba(6,24,39,.08)!important}.nav-actions .btn-outline{display:none!important}.stw-lang-button{width:42px!important;height:42px!important;border-radius:15px!important}.page-index .nav{position:fixed!important;top:10px!important;left:12px!important;right:12px!important;width:auto!important;border-radius:24px!important;box-shadow:0 16px 38px rgba(6,24,39,.18)!important}.page-index .nav .container{padding:0 12px!important}.page-index .nav + .home-app-shell{padding-top:0}.stw-app-hero{min-height:auto!important;border-radius:0 0 36px 36px!important;padding-top:82px!important;overflow:hidden}.stw-home-hero-grid{display:block!important;min-height:0!important;padding:28px 16px 30px!important}.stw-home-copy h1{font-size:39px!important;line-height:.98!important;letter-spacing:-.065em!important;margin:0 0 12px!important;max-width:360px!important}.stw-home-copy p{font-size:16px!important;line-height:1.42!important;color:#dbeafe!important;margin:0 0 18px!important;max-width:360px!important}.stw-trust-row{gap:8px!important;margin-bottom:16px!important;overflow-x:auto!important;padding-bottom:2px!important;flex-wrap:nowrap!important;-webkit-overflow-scrolling:touch}.stw-trust-row::-webkit-scrollbar{display:none}.stw-trust-row span{height:34px!important;padding:0 11px!important;white-space:nowrap!important;font-size:11px!important}.stw-hero-actions{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}.stw-hero-actions .btn{height:56px!important;border-radius:20px!important;width:100%!important;font-size:16px!important}.stw-quick-rail{grid-template-columns:repeat(4,minmax(74px,1fr))!important;gap:8px!important;margin-top:16px!important;max-width:none!important}.stw-quick-rail a{min-height:72px!important;border-radius:20px!important;font-size:11px!important}.stw-quick-rail .svg-icon{width:23px!important;height:23px!important}.stw-app-preview{display:block!important;margin-top:22px!important}.stw-preview-phone{width:100%!important;max-width:380px!important;margin:0 auto!important;border-radius:34px!important;padding:12px!important}.stw-preview-status{height:44px!important;border-radius:24px 24px 16px 16px!important}.stw-preview-balance strong{font-size:42px!important}.stw-preview-map{height:190px!important}.stw-preview-actions span{height:45px!important}.stw-preview-nav{border-radius:22px!important}.home-install-strip-section{padding:0!important}.home-install-strip{grid-template-columns:auto 1fr!important;margin:-20px 0 0!important;border-radius:24px!important;padding:14px!important}.home-install-strip .btn{grid-column:1/-1!important;width:100%!important;height:50px!important;border-radius:18px!important}.install-brand{width:52px;height:52px;border-radius:19px}.install-brand img{width:40px;height:40px}.home-install-strip b{font-size:16px}.home-install-strip span{font-size:13px;line-height:1.25}.section{padding:24px 0!important}.section .container,.container{padding-left:14px!important;padding-right:14px!important}.home-section-title{text-align:left!important}.section-title.home-section-title h2,.section h2{font-size:28px!important;line-height:1.05!important;letter-spacing:-.04em!important;margin:5px 0 14px!important}.home-section-title p{margin:0 0 16px!important;text-align:left!important;font-size:14px!important}.mode-grid{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}.mode-card{border-radius:28px!important;padding:18px!important;box-shadow:0 14px 35px rgba(6,24,39,.09)!important;border:1px solid rgba(6,24,39,.06)!important}.mode-card h2{font-size:23px!important}.mode-card p{font-size:14px!important;line-height:1.42!important}.mode-card .btn{width:100%!important;height:50px!important;border-radius:18px!important}.mode-icon{width:56px!important;height:56px!important;border-radius:20px!important}.steps.stw-steps-pro{grid-template-columns:1fr!important;gap:12px!important}.steps.stw-steps-pro .step{display:grid!important;grid-template-columns:58px 1fr!important;gap:0 14px!important;background:#fff!important;border:1px solid rgba(6,24,39,.06)!important;border-radius:26px!important;padding:18px!important;box-shadow:0 14px 35px rgba(6,24,39,.08)!important;text-align:left!important}.steps.stw-steps-pro .icon{grid-row:1/3!important;width:58px!important;height:58px!important;border-radius:20px!important;margin:0!important}.steps.stw-steps-pro h3{font-size:18px!important;margin:0 0 5px!important}.steps.stw-steps-pro p{font-size:13px!important;margin:0!important;line-height:1.35!important}.prizes{border-radius:30px!important;padding:22px!important;gap:12px!important;box-shadow:0 20px 50px rgba(6,24,39,.22)!important}.prize-card{border-radius:23px!important;min-height:124px!important}.cta.home-final-cta{border-radius:30px!important;padding:22px!important;box-shadow:0 18px 48px rgba(255,184,0,.22)!important;align-items:stretch!important;margin-bottom:20px!important}.home-final-cta .btn{width:100%!important;margin:4px 0!important}.footer{display:none!important}.mobile-bottom.stw-mobile-nav{display:grid!important;grid-template-columns:repeat(5,1fr)!important;position:fixed!important;left:10px!important;right:10px!important;bottom:8px!important;width:auto!important;height:76px!important;padding:9px 8px calc(9px + env(safe-area-inset-bottom))!important;border-radius:28px!important;background:rgba(255,255,255,.95)!important;box-shadow:0 -10px 34px rgba(6,24,39,.16)!important;border:1px solid rgba(6,24,39,.08)!important;backdrop-filter:blur(20px)!important;-webkit-backdrop-filter:blur(20px)!important;z-index:4300!important}.mobile-bottom.stw-mobile-nav>a{min-width:0!important;text-align:center!important;display:grid!important;place-items:center!important;gap:3px!important;color:#64748b!important;font-size:10.5px!important;font-weight:1000!important;line-height:1!important;position:relative!important}.mobile-bottom.stw-mobile-nav>a.active:not(.scan-fab){color:#061827!important;background:#f1f5f9!important;border-radius:18px!important}.mobile-bottom.stw-mobile-nav>a .svg-icon{width:22px!important;height:22px!important}.mobile-bottom.stw-mobile-nav>a span{display:block!important;white-space:nowrap!important;max-width:58px!important;overflow:hidden!important;text-overflow:ellipsis!important}.mobile-bottom.stw-mobile-nav .scan-fab{width:68px!important;height:68px!important;place-self:center!important;border-radius:25px!important;transform:translateY(-20px)!important;background:#ffb800!important;border:5px solid rgba(255,255,255,.98)!important;box-shadow:0 18px 42px rgba(255,184,0,.45),0 10px 28px rgba(6,24,39,.18)!important}.mobile-bottom.stw-mobile-nav .scan-fab img{width:48px!important;height:48px!important;object-fit:contain!important}.form-wrap{border-radius:30px!important;box-shadow:0 18px 48px rgba(6,24,39,.10)!important;background:#fff!important}.input,select,textarea{border-radius:18px!important;border-color:rgba(6,24,39,.10)!important;min-height:52px!important}.btn{border-radius:18px!important}.alert{border-radius:18px!important}
}
@media(max-width:380px){.stw-home-copy h1{font-size:34px!important}.stw-quick-rail{grid-template-columns:repeat(2,1fr)!important}.stw-preview-map{height:170px!important}.mobile-bottom.stw-mobile-nav{left:7px!important;right:7px!important}.mobile-bottom.stw-mobile-nav>a span{font-size:9.5px!important}}
@media(max-width:760px){body.map-body{background:#eef3f7!important}.map-body .nav{position:fixed!important;top:8px!important;left:10px!important;right:10px!important;width:auto!important;border-radius:24px!important;height:60px!important;min-height:60px!important;box-shadow:0 12px 32px rgba(6,24,39,.14)!important}.map-page{padding-top:76px!important;height:100dvh!important}.map-hero{display:none!important}.map-shell{padding:8px 10px calc(118px + env(safe-area-inset-bottom))!important}.map-toolbar-pro{background:transparent!important;box-shadow:none!important;border:0!important}.rarity-filter{border-radius:999px!important;background:#fff!important;box-shadow:0 8px 18px rgba(6,24,39,.07)!important}.map-actions .btn{border-radius:17px!important;background:#fff!important}.map-actions .btn-yellow{background:#ffb800!important}.map-live-status{border-radius:18px!important;background:#fff!important;box-shadow:0 8px 18px rgba(6,24,39,.06)!important}#stwMap{border-radius:30px!important;box-shadow:0 18px 48px rgba(6,24,39,.18)!important}.map-point-sheet,.map-scan-dock{border-radius:30px 30px 0 0!important}.sheet-cover{border-radius:26px!important}.sheet-actions .btn{border-radius:18px!important}.map-mobile-scan-cta .btn{border-radius:22px!important}}


/* === V2.13: app móvil premium limpio + avisos cercanos === */
.stw-lang-code{display:inline-grid;place-items:center;min-width:30px;height:30px;border-radius:12px;background:linear-gradient(145deg,#fff,#eef3f7);border:1px solid rgba(6,24,39,.08);font-size:12px;font-weight:1000;color:#061827;letter-spacing:.02em}.stw-lang-option .stw-lang-code{margin-right:10px;flex:0 0 34px}.stw-lang-button .stw-lang-code{min-width:34px;height:34px}.stw-public-mobile-nav .public-play:after{display:none!important;content:none!important}
@media(max-width:900px){
  body{background:linear-gradient(180deg,#eef4f8 0%,#f8fafc 45%,#fffaf0 100%)!important}.page-index .nav{top:calc(8px + env(safe-area-inset-top))!important;left:14px!important;right:14px!important;height:58px!important;min-height:58px!important;border-radius:22px!important;background:rgba(255,255,255,.94)!important;box-shadow:0 14px 38px rgba(6,24,39,.14)!important}.page-index .nav-inner{height:58px!important;display:grid!important;grid-template-columns:1fr auto!important;align-items:center!important}.page-index .nav .logo{font-size:17px!important}.page-index .nav .logo-mark{width:38px!important;height:38px!important;border-radius:14px!important}.page-index .nav-actions{display:flex!important}.page-index .nav-actions>a.btn{display:none!important}.page-index .nav-actions .stw-lang-selector{display:block!important}.page-index .stw-app-hero{padding-top:calc(86px + env(safe-area-inset-top))!important;border-radius:0 0 30px 30px!important;background:radial-gradient(circle at 85% 8%,rgba(255,184,0,.34),transparent 28%),radial-gradient(circle at 10% 0,rgba(17,137,214,.20),transparent 24%),linear-gradient(145deg,#061827 0%,#09233a 54%,#0b385b 100%)!important}.page-index .stw-home-hero-grid{padding:22px 18px 28px!important}.stw-trust-row{margin-bottom:14px!important}.stw-trust-row span{background:rgba(255,255,255,.14)!important;border-color:rgba(255,255,255,.18)!important;box-shadow:none!important}.stw-home-copy h1{font-size:clamp(34px,10.6vw,44px)!important;max-width:430px!important;text-wrap:balance!important;letter-spacing:-.06em!important}.stw-home-copy p{max-width:420px!important;color:#e7f0f8!important;font-size:clamp(15px,4.2vw,17px)!important}.stw-hero-actions{grid-template-columns:1fr!important}.stw-hero-actions .btn{height:58px!important;border-radius:22px!important;box-shadow:0 14px 32px rgba(0,0,0,.16)!important}.stw-quick-rail{grid-template-columns:repeat(4,1fr)!important;margin-top:14px!important}.stw-quick-rail a{min-height:68px!important;border-radius:22px!important;background:rgba(255,255,255,.10)!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.10)!important}.stw-app-preview{display:none!important}.home-install-strip-section{padding:16px 0 0!important}.home-install-strip{margin:0!important;border-radius:28px!important;background:rgba(255,255,255,.96)!important;box-shadow:0 18px 44px rgba(6,24,39,.10)!important;border:1px solid rgba(6,24,39,.06)!important}.home-install-strip .btn{background:#061827!important;color:#fff!important}.home-play-modes{padding-top:28px!important}.section-title.home-section-title h2,.section h2{font-size:clamp(27px,8vw,34px)!important;text-wrap:balance!important}.mode-card{border-radius:30px!important;background:linear-gradient(180deg,#fff,#f9fbfd)!important}.mode-card.primary{background:radial-gradient(circle at 100% 0,rgba(255,184,0,.22),transparent 34%),linear-gradient(145deg,#061827,#0c2f4b)!important;color:#fff!important}.mode-card.primary p{color:#dce9f2!important}.mode-card.primary .mode-icon{background:#ffb800!important;color:#061827!important}.steps.stw-steps-pro .step{border-radius:30px!important}.steps.stw-steps-pro .icon{box-shadow:0 14px 30px rgba(255,184,0,.22)!important}.prizes{border-radius:30px!important}.prizes .prize-card{background:rgba(255,255,255,.06)!important}.home-winners-section .winner-card{border-radius:24px!important}.mobile-bottom.stw-mobile-nav{height:70px!important;left:12px!important;right:12px!important;bottom:8px!important;border-radius:24px!important;padding:8px 8px calc(8px + env(safe-area-inset-bottom))!important}.mobile-bottom.stw-mobile-nav .scan-fab{width:62px!important;height:62px!important;border-radius:23px!important;transform:translateY(-18px)!important}.mobile-bottom.stw-mobile-nav .scan-fab img{width:44px!important;height:44px!important}.mobile-bottom.stw-mobile-nav>a span{max-width:62px!important}.stw-install-card{left:14px!important;right:14px!important;bottom:calc(88px + env(safe-area-inset-bottom))!important;border-radius:24px!important;box-shadow:0 18px 50px rgba(6,24,39,.20)!important}.stw-install-main{border-radius:18px!important}
}
@media(max-width:760px){
  body.map-body{background:linear-gradient(180deg,#edf4f8,#f8fafc)!important}.map-body .nav{position:fixed!important;top:calc(8px + env(safe-area-inset-top))!important;left:12px!important;right:12px!important;height:58px!important;min-height:58px!important;border-radius:22px!important;background:rgba(255,255,255,.95)!important;box-shadow:0 14px 38px rgba(6,24,39,.14)!important;z-index:2147482500!important}.map-body .nav-inner{height:58px!important;display:grid!important;grid-template-columns:1fr auto!important;align-items:center!important;justify-content:stretch!important;padding:0 12px!important}.map-body .logo{justify-content:flex-start!important;margin:0!important;font-size:17px!important}.map-body .logo-mark{width:38px!important;height:38px!important;border-radius:14px!important}.map-mobile-top-actions{display:block!important;position:static!important;margin-left:auto!important}.map-page{padding-top:calc(76px + env(safe-area-inset-top))!important;height:100dvh!important;overflow:hidden!important}.map-shell{height:100%!important;padding:8px 12px calc(136px + env(safe-area-inset-bottom))!important;gap:8px!important}.map-toolbar-pro{display:grid!important;gap:8px!important;margin:0!important}.rarity-filters{display:flex!important;gap:8px!important;padding:2px 0 6px!important;overflow-x:auto!important}.rarity-filter{min-height:36px!important;padding:8px 12px!important;border-radius:999px!important;font-size:12px!important;background:rgba(255,255,255,.95)!important;border:1px solid rgba(6,24,39,.06)!important;box-shadow:0 8px 18px rgba(6,24,39,.06)!important}.map-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}.map-actions .btn{min-height:40px!important;height:40px!important;font-size:12px!important;padding:0 8px!important;border-radius:16px!important;background:#fff!important;box-shadow:0 8px 20px rgba(6,24,39,.07)!important;overflow:hidden!important}.map-actions .btn .svg-icon{width:16px!important;height:16px!important}.map-actions .btn-yellow{background:#ffb800!important}.map-live-status{margin:0!important;border-radius:16px!important;min-height:34px!important;padding:8px 12px!important;font-size:12px!important;background:#fff!important;border:1px solid rgba(255,184,0,.28)!important;box-shadow:0 8px 18px rgba(6,24,39,.05)!important}.stw-map-stage{min-height:0!important;flex:1 1 auto!important}body.map-body #stwMap{height:100%!important;min-height:330px!important;border:6px solid #fff!important;border-radius:28px!important;box-shadow:0 20px 50px rgba(6,24,39,.18)!important}.map-mobile-scan-cta{left:18px!important;right:18px!important;bottom:calc(88px + env(safe-area-inset-bottom))!important}.map-mobile-scan-cta .btn{height:56px!important;min-height:56px!important;border-radius:22px!important}.map-mobile-scan-cta small{display:none!important}.map-point-sheet,.map-scan-dock{left:0!important;right:0!important;width:100%!important;margin:0!important;bottom:calc(78px + env(safe-area-inset-bottom))!important;border-radius:28px 28px 0 0!important;max-height:calc(100dvh - 150px - env(safe-area-inset-bottom))!important}.map-point-sheet.open,.map-scan-dock.open{transform:translateY(0)!important}.sheet-actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}.sheet-actions .btn{height:48px!important;min-height:48px!important}.sheet-cover{height:132px!important}.sheet-body{padding:14px 16px!important}.sheet-body h2{font-size:22px!important;line-height:1.05!important}.sheet-meta-row{display:flex!important;flex-wrap:wrap!important;gap:7px!important}.leaflet-control-zoom{display:none!important}.leaflet-control-attribution{font-size:9px!important}.map-area-reload{top:12px!important;max-width:calc(100% - 28px)!important}
}
@media(max-width:380px){.stw-home-copy h1{font-size:32px!important}.stw-quick-rail{grid-template-columns:repeat(4,1fr)!important}.stw-quick-rail a span{font-size:10px!important}body.map-body #stwMap{min-height:295px!important}.map-actions .btn{font-size:11px!important}.map-body .nav .logo{font-size:15px!important}.mobile-bottom.stw-mobile-nav>a span{font-size:9.5px!important}}


/* === V2.14: app mobile refinements === */
@media(max-width:900px){
  body{font-size:15px!important;overflow-x:hidden!important}
  .container{padding-left:18px!important;padding-right:18px!important}
  .nav{height:64px!important;min-height:64px!important;z-index:1000!important;background:rgba(255,255,255,.96)!important;border-bottom:1px solid rgba(6,24,39,.06)!important;box-shadow:0 10px 28px rgba(6,24,39,.08)!important}
  .nav .logo{font-size:18px!important;letter-spacing:-.02em!important}
  .nav .logo-mark{width:40px!important;height:40px!important;border-radius:14px!important;border-width:2px!important}
  .nav-actions{gap:8px!important;align-items:center!important}
  .nav-actions>a.btn{display:none!important}
  .stw-lang-button{width:48px!important;height:48px!important;border-radius:18px!important;background:#fff!important;border:1px solid #dbe3eb!important;box-shadow:0 8px 22px rgba(6,24,39,.10)!important}
  .stw-lang-button .stw-lang-code{background:transparent!important;border:0!important;min-width:auto!important;height:auto!important;font-size:14px!important}
  .page-index .stw-app-hero{padding-top:calc(92px + env(safe-area-inset-top))!important;min-height:auto!important;border-radius:0 0 34px 34px!important}
  .page-index .stw-home-hero-grid{padding-top:18px!important;padding-bottom:26px!important}
  .stw-trust-row{display:none!important}
  .stw-home-copy h1{margin-top:0!important;margin-bottom:14px!important;font-size:clamp(35px,11vw,46px)!important;line-height:.98!important;letter-spacing:-.07em!important}
  .stw-home-copy p{margin-bottom:22px!important;line-height:1.48!important;color:#eaf3f8!important}
  .stw-hero-actions{display:grid!important;gap:12px!important}
  .stw-hero-actions .btn{width:100%!important;height:58px!important;border-radius:20px!important;font-size:16px!important}
  .stw-quick-rail{display:grid!important;grid-template-columns:repeat(2,1fr)!important;gap:10px!important;margin-top:14px!important}
  .stw-quick-rail a{min-height:58px!important;border-radius:18px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;padding:10px!important;background:rgba(255,255,255,.12)!important}
  .stw-quick-rail a svg{width:18px!important;height:18px!important}
  .stw-quick-rail a span{font-size:13px!important;max-width:none!important;white-space:nowrap!important}
  .home-install-strip{display:grid!important;grid-template-columns:54px 1fr!important;gap:14px!important;padding:16px!important}
  .home-install-strip .btn{grid-column:1/-1!important;width:100%!important;min-height:52px!important}
  .install-brand{width:54px!important;height:54px!important;border-radius:18px!important}
  .home-install-strip b{font-size:20px!important;line-height:1.08!important}
  .home-install-strip span{font-size:14px!important;line-height:1.3!important}
  .home-play-modes,.section{padding:42px 0!important}
  .mode-grid{grid-template-columns:1fr!important;gap:14px!important}
  .mode-card{padding:22px!important;border-radius:26px!important;box-shadow:0 14px 36px rgba(6,24,39,.08)!important}
  .mode-card h2{font-size:26px!important;margin:12px 0 8px!important}
  .mode-card p{font-size:15px!important;line-height:1.45!important}
  .steps{grid-template-columns:1fr!important;gap:14px!important}
  .steps.stw-steps-pro .step{display:grid!important;grid-template-columns:64px 1fr!important;text-align:left!important;align-items:center!important;gap:14px!important;padding:18px!important;border:0!important;border-radius:24px!important;background:#fff!important;box-shadow:0 12px 30px rgba(6,24,39,.07)!important}
  .steps.stw-steps-pro .icon{margin:0!important;width:58px!important;height:58px!important;border-radius:18px!important}
  .steps.stw-steps-pro h3{margin:0 0 4px!important;font-size:21px!important}
  .steps.stw-steps-pro p{margin:0!important;font-size:14px!important;line-height:1.35!important}
  .prizes{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;padding:24px!important;border-radius:28px!important}
  .prize-card{min-height:auto!important;padding:18px!important;border-radius:22px!important}
  .prize-card strong{font-size:34px!important}
  .home-final-cta{display:grid!important;border-radius:28px!important;padding:24px!important;gap:14px!important}
  .home-final-cta .btn{width:100%!important;margin:6px 0 0!important}
  .mobile-bottom.stw-mobile-nav{height:72px!important;left:12px!important;right:12px!important;bottom:8px!important;border-radius:26px!important;padding:8px 8px calc(8px + env(safe-area-inset-bottom))!important;box-shadow:0 18px 56px rgba(6,24,39,.18)!important}
  .mobile-bottom.stw-mobile-nav>a:not(.scan-fab){min-width:0!important;gap:4px!important}
  .mobile-bottom.stw-mobile-nav>a span{font-size:11px!important;line-height:1!important;max-width:64px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .mobile-bottom.stw-mobile-nav>a svg{width:22px!important;height:22px!important}
  .mobile-bottom.stw-mobile-nav .scan-fab{width:64px!important;height:64px!important;border-radius:22px!important;transform:translateY(-18px)!important}
  .footer{display:none!important}
  .page-login .nav,.page-register .nav{position:relative!important;top:auto!important;left:auto!important;right:auto!important;width:100%!important;height:76px!important;min-height:76px!important;border-radius:0!important;box-shadow:0 8px 24px rgba(6,24,39,.06)!important}
  .page-login .nav-inner,.page-register .nav-inner{display:flex!important;justify-content:space-between!important;height:76px!important;padding:0 18px!important}
  .page-login .nav-links,.page-register .nav-links{display:none!important}
  .page-login .form-wrap,.page-register .form-wrap{margin:26px 18px calc(112px + env(safe-area-inset-bottom))!important;max-width:none!important;padding:28px 24px!important;border-radius:30px!important;box-shadow:0 22px 54px rgba(6,24,39,.11)!important}
  .page-login .form-wrap h1,.page-register .form-wrap h1{font-size:42px!important;line-height:1!important;margin:0 0 22px!important;letter-spacing:-.055em!important}
  .page-login label,.page-register label{font-size:16px!important;font-weight:900!important;color:#061827!important;margin:18px 0 8px!important}
  .page-login .input,.page-register .input{height:58px!important;border-radius:22px!important;font-size:16px!important;background:#fff!important}
  .page-login .btn,.page-register .btn{height:58px!important;border-radius:22px!important;font-size:16px!important;margin-top:18px!important}
  .page-login .form-wrap p,.page-register .form-wrap p{font-size:16px!important;line-height:1.35!important}
}
@media(max-width:760px){
  .rarity-filter{color:#061827!important;overflow:visible!important;min-width:max-content!important;max-width:none!important}
  .rarity-filter.active{background:#061827!important;color:#fff!important;border-color:#061827!important}
  .rarity-filter[data-filter="all"]{min-width:82px!important;padding-left:13px!important;padding-right:15px!important}
  .rarity-filter .rf-dot{flex:0 0 13px!important}
  .map-actions .btn{white-space:nowrap!important;text-overflow:ellipsis!important;color:#061827!important}
  .map-actions .btn-yellow{color:#061827!important}
  .map-actions .btn.active{border-color:#061827!important}
  .map-mobile-top-actions .stw-lang-menu{right:0!important}
}
@media(max-width:380px){
  .stw-home-copy h1{font-size:34px!important}
  .stw-quick-rail a span{font-size:12px!important}
  .mobile-bottom.stw-mobile-nav>a span{font-size:10px!important;max-width:56px!important}
  .page-login .form-wrap h1,.page-register .form-wrap h1{font-size:38px!important}
}

/* === V2.15: mobile header rebuild + cleaner app layout === */
@media(max-width:900px){
  body{padding-bottom:calc(92px + env(safe-area-inset-bottom))!important;}

  /* Global visitor header: brand + language in one row, auth actions in a real row below. */
  .nav.nav-public,
  .nav.nav-user,
  .page-index .nav.nav-public,
  .page-ranking .nav.nav-public,
  .page-business .nav.nav-public,
  .page-prizes .nav.nav-public,
  .page-hall-of-fame .nav.nav-public{
    position:relative!important;
    top:auto!important;left:auto!important;right:auto!important;width:100%!important;
    height:auto!important;min-height:0!important;
    padding:calc(10px + env(safe-area-inset-top)) 16px 12px!important;
    border-radius:0!important;
    background:linear-gradient(180deg,#fff,#f9fbfd)!important;
    border:0!important;border-bottom:1px solid rgba(6,24,39,.06)!important;
    box-shadow:0 10px 28px rgba(6,24,39,.07)!important;
    z-index:4100!important;
    overflow:visible!important;
  }
  .nav.nav-public .nav-inner,
  .nav.nav-user .nav-inner{
    width:100%!important;max-width:720px!important;margin:0 auto!important;padding:0!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 58px!important;
    grid-template-rows:auto auto!important;
    align-items:center!important;justify-content:stretch!important;gap:10px 10px!important;
    height:auto!important;min-height:0!important;overflow:visible!important;
  }
  .nav .nav-links{display:none!important;}
  .nav.nav-public .logo,
  .nav.nav-user .logo{
    grid-column:1!important;grid-row:1!important;
    justify-self:center!important;align-self:center!important;
    margin-left:58px!important;min-width:0!important;
    font-size:20px!important;line-height:.84!important;letter-spacing:-.03em!important;
    color:#061827!important;text-shadow:none!important;
  }
  .nav.nav-public .logo-mark,
  .nav.nav-user .logo-mark{
    width:44px!important;height:44px!important;border-radius:16px!important;border-width:2.4px!important;background:#fff!important;
    box-shadow:0 8px 18px rgba(6,24,39,.06)!important;flex:0 0 auto!important;
  }
  .nav.nav-public .nav-actions,
  .nav.nav-user .nav-actions{display:contents!important;}
  .nav.nav-public .nav-actions .stw-lang-selector,
  .nav.nav-user .nav-actions .stw-lang-selector{
    grid-column:2!important;grid-row:1!important;justify-self:end!important;align-self:center!important;display:block!important;position:relative!important;margin:0!important;
  }
  .nav.nav-public .stw-lang-button,
  .nav.nav-user .stw-lang-button{
    width:54px!important;height:54px!important;border-radius:20px!important;background:#fff!important;border:1px solid #dce4ec!important;
    box-shadow:0 10px 24px rgba(6,24,39,.10)!important;color:#061827!important;
  }
  .nav.nav-public .stw-lang-button .stw-lang-code,
  .nav.nav-user .stw-lang-button .stw-lang-code{font-size:14px!important;font-weight:1000!important;color:#061827!important;}

  .nav.nav-public:not(.nav-auth-page) .nav-actions>a.btn{
    display:flex!important;grid-row:2!important;min-width:0!important;width:100%!important;height:52px!important;min-height:52px!important;margin:0!important;
    border-radius:18px!important;font-size:15px!important;padding:0 12px!important;box-shadow:0 9px 20px rgba(6,24,39,.08)!important;z-index:1!important;
  }
  .nav.nav-public:not(.nav-auth-page) .nav-actions>a.btn-outline{grid-column:1!important;background:#fff!important;border:1px solid #dce4ec!important;color:#061827!important;}
  .nav.nav-public:not(.nav-auth-page) .nav-actions>a.btn-yellow{grid-column:2!important;background:#ffb800!important;border-color:#ffb800!important;color:#061827!important;}

  /* Logged-in header: keep brand and language clean, hide desktop action pills on mobile. */
  .nav.nav-user .nav-actions>a.btn{display:none!important;}

  /* Auth pages: only logo + language, no floating buttons over the form. */
  .nav.nav-auth-page{padding-bottom:10px!important;}
  .nav.nav-auth-page .nav-inner{grid-template-rows:auto!important;}
  .nav.nav-auth-page .logo{margin-left:58px!important;}
  .page-login .form-wrap,.page-register .form-wrap{
    margin:24px 18px calc(108px + env(safe-area-inset-bottom))!important;
  }

  /* Home is no longer compensated for a floating header. */
  .page-index .stw-app-hero{
    padding-top:26px!important;
    border-radius:0 0 30px 30px!important;
  }
  .page-index .stw-home-hero-grid{padding-top:20px!important;}
  .page-index .stw-home-copy h1{margin-top:0!important;}

  /* Public content pages start naturally below the header instead of being covered by auth buttons. */
  .page-ranking .hero,.page-business .hero,.page-prizes .hero,.page-hall-of-fame .hero,
  .page-ranking .ranking-hero,.page-business .business-hero,.page-prizes .prizes-hero{
    margin-top:0!important;padding-top:32px!important;
  }

  /* Bottom navigation: shorter label and safer spacing. */
  .mobile-bottom.stw-mobile-nav{height:70px!important;left:12px!important;right:12px!important;bottom:8px!important;}
  .mobile-bottom.stw-mobile-nav>a span{max-width:68px!important;}

  /* PWA install card must not hide behind the bottom navigation. */
  .home-install-strip-section{padding-top:18px!important;}
  .home-install-strip{margin:0!important;}
}

@media(max-width:760px){
  /* Map keeps its compact header: logo + language only, no auth buttons. */
  body.map-body .nav{
    position:fixed!important;top:calc(8px + env(safe-area-inset-top))!important;left:12px!important;right:12px!important;width:auto!important;
    height:60px!important;min-height:60px!important;padding:0 12px!important;border-radius:24px!important;
    background:rgba(255,255,255,.96)!important;box-shadow:0 14px 38px rgba(6,24,39,.14)!important;z-index:2147482500!important;
  }
  body.map-body .nav-inner{height:60px!important;display:grid!important;grid-template-columns:minmax(0,1fr) 58px!important;align-items:center!important;padding:0!important;gap:8px!important;}
  body.map-body .nav .logo{justify-self:center!important;margin-left:58px!important;font-size:17px!important;color:#061827!important;}
  body.map-body .nav .logo-mark{width:40px!important;height:40px!important;border-radius:15px!important;}
  body.map-body .nav-actions{display:none!important;}
  body.map-body .map-mobile-top-actions{display:block!important;grid-column:2!important;justify-self:end!important;margin:0!important;}
  body.map-body .map-mobile-top-actions .stw-lang-button{width:52px!important;height:52px!important;border-radius:19px!important;}
  body.map-body .map-page{padding-top:calc(78px + env(safe-area-inset-top))!important;}

  /* Filter carousel: fully readable, no clipped Partner text. */
  .map-toolbar-pro{overflow:visible!important;padding:0!important;}
  .rarity-filters{
    display:flex!important;gap:8px!important;overflow-x:auto!important;overflow-y:visible!important;-webkit-overflow-scrolling:touch!important;
    padding:3px 16px 8px 0!important;scroll-padding-left:0!important;max-width:100%!important;
  }
  .rarity-filter{
    flex:0 0 auto!important;min-width:auto!important;max-width:none!important;min-height:40px!important;height:40px!important;
    padding:0 15px!important;border-radius:18px!important;white-space:nowrap!important;line-height:1!important;display:inline-flex!important;align-items:center!important;gap:8px!important;
    font-size:13px!important;font-weight:1000!important;overflow:visible!important;
  }
  .rarity-filter[data-filter="all"]{min-width:84px!important;}
  .rarity-filter .rf-dot{width:14px!important;height:14px!important;flex:0 0 14px!important;}

  /* Map action buttons stay legible. */
  .map-actions{grid-template-columns:1fr 1fr!important;gap:8px!important;}
  .map-actions .btn{font-size:12.5px!important;font-weight:1000!important;letter-spacing:-.01em!important;}

  /* Give ranking/business hero room now that header is not floating over it. */
  .page-ranking .hero,.page-business .hero{padding-top:34px!important;}
}

@media(max-width:380px){
  .nav.nav-public:not(.nav-auth-page) .nav-actions>a.btn{font-size:13.5px!important;padding:0 8px!important;}
  .nav.nav-public .logo,.nav.nav-user .logo{font-size:18px!important;}
  .nav.nav-public .logo-mark,.nav.nav-user .logo-mark{width:40px!important;height:40px!important;}
  .nav.nav-public .stw-lang-button,.nav.nav-user .stw-lang-button{width:50px!important;height:50px!important;}
}

/* === V2.15b: real mobile auth row, no overlap === */
.nav-mobile-auth{display:none;}
@media(max-width:900px){
  .nav.nav-public .nav-inner,
  .nav.nav-user .nav-inner{
    grid-template-columns:minmax(0,1fr) 58px!important;
    grid-template-rows:auto auto!important;
  }
  .nav.nav-public .nav-actions>a.btn,
  .nav.nav-user .nav-actions>a.btn{display:none!important;}
  .nav.nav-public:not(.nav-auth-page) .nav-mobile-auth{
    display:grid!important;grid-column:1 / -1!important;grid-row:2!important;grid-template-columns:1fr 1fr!important;gap:10px!important;width:100%!important;
  }
  .nav.nav-public:not(.nav-auth-page) .nav-mobile-auth .btn{
    display:flex!important;width:100%!important;height:52px!important;min-height:52px!important;border-radius:18px!important;margin:0!important;
    font-size:15px!important;padding:0 10px!important;box-shadow:0 9px 20px rgba(6,24,39,.08)!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important;
  }
  .nav.nav-public:not(.nav-auth-page) .nav-mobile-auth .btn-outline{background:#fff!important;border:1px solid #dce4ec!important;color:#061827!important;}
  .nav.nav-public:not(.nav-auth-page) .nav-mobile-auth .btn-yellow{background:#ffb800!important;border-color:#ffb800!important;color:#061827!important;}
  .nav.nav-auth-page .nav-mobile-auth{display:none!important;}
  body.map-body .nav-mobile-auth{display:none!important;}
}


/* === V2.16: final mobile header alignment + desktop PWA cleanup === */
@media (min-width:901px){
  .home-install-strip-section{display:none!important;}
}
@media (max-width:900px){
  /* Rebuild visitor header as a real app header: logo + language row, auth row below. */
  body:not(.map-body) .nav.nav-public:not(.nav-auth-page),
  body.page-index .nav.nav-public:not(.nav-auth-page),
  body.page-ranking .nav.nav-public:not(.nav-auth-page),
  body.page-business .nav.nav-public:not(.nav-auth-page),
  body.page-prizes .nav.nav-public:not(.nav-auth-page),
  body.page-hall-of-fame .nav.nav-public:not(.nav-auth-page){
    position:relative!important;
    inset:auto!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    padding:calc(10px + env(safe-area-inset-top)) 18px 14px!important;
    border-radius:0!important;
    background:#fff!important;
    border:0!important;
    border-bottom:1px solid rgba(6,24,39,.06)!important;
    box-shadow:0 10px 28px rgba(6,24,39,.07)!important;
    overflow:visible!important;
  }
  body:not(.map-body) .nav.nav-public:not(.nav-auth-page) .nav-inner,
  body.page-index .nav.nav-public:not(.nav-auth-page) .nav-inner{
    width:100%!important;
    max-width:720px!important;
    height:auto!important;
    min-height:0!important;
    margin:0 auto!important;
    padding:0!important;
    display:grid!important;
    grid-template-columns:1fr 54px!important;
    grid-template-rows:auto auto!important;
    gap:12px 10px!important;
    align-items:center!important;
    overflow:visible!important;
  }
  body:not(.map-body) .nav.nav-public:not(.nav-auth-page) .logo,
  body.page-index .nav.nav-public:not(.nav-auth-page) .logo{
    grid-column:1!important;
    grid-row:1!important;
    justify-self:center!important;
    margin:0 0 0 54px!important;
    font-size:19px!important;
    line-height:.86!important;
    letter-spacing:-.03em!important;
    color:#061827!important;
    text-shadow:none!important;
    min-width:0!important;
  }
  body:not(.map-body) .nav.nav-public:not(.nav-auth-page) .logo-mark,
  body.page-index .nav.nav-public:not(.nav-auth-page) .logo-mark{
    width:42px!important;
    height:42px!important;
    border-radius:15px!important;
    border-width:2.4px!important;
    background:#fff!important;
    box-shadow:none!important;
  }
  body:not(.map-body) .nav.nav-public:not(.nav-auth-page) .nav-actions,
  body.page-index .nav.nav-public:not(.nav-auth-page) .nav-actions{
    display:contents!important;
  }
  body:not(.map-body) .nav.nav-public:not(.nav-auth-page) .nav-actions>a.btn,
  body.page-index .nav.nav-public:not(.nav-auth-page) .nav-actions>a.btn{
    display:none!important;
  }
  body:not(.map-body) .nav.nav-public:not(.nav-auth-page) .nav-actions .stw-lang-selector,
  body.page-index .nav.nav-public:not(.nav-auth-page) .nav-actions .stw-lang-selector{
    display:flex!important;
    grid-column:2!important;
    grid-row:1!important;
    justify-self:end!important;
    align-self:center!important;
    width:50px!important;
    height:50px!important;
    margin:0!important;
    position:relative!important;
    z-index:5!important;
  }
  body:not(.map-body) .nav.nav-public:not(.nav-auth-page) .stw-lang-button,
  body.page-index .nav.nav-public:not(.nav-auth-page) .stw-lang-button{
    width:50px!important;
    height:50px!important;
    border-radius:18px!important;
    background:#fff!important;
    border:1px solid #dbe3eb!important;
    box-shadow:0 8px 22px rgba(6,24,39,.10)!important;
    transform:none!important;
  }
  body:not(.map-body) .nav.nav-public:not(.nav-auth-page) .nav-mobile-auth,
  body.page-index .nav.nav-public:not(.nav-auth-page) .nav-mobile-auth{
    display:flex!important;
    grid-column:1 / -1!important;
    grid-row:2!important;
    width:100%!important;
    max-width:100%!important;
    gap:8px!important;
    align-items:stretch!important;
    justify-content:stretch!important;
    overflow:hidden!important;
  }
  body:not(.map-body) .nav.nav-public:not(.nav-auth-page) .nav-mobile-auth .btn,
  body.page-index .nav.nav-public:not(.nav-auth-page) .nav-mobile-auth .btn{
    flex:1 1 0!important;
    min-width:0!important;
    width:auto!important;
    max-width:100%!important;
    height:50px!important;
    min-height:50px!important;
    padding:0 8px!important;
    border-radius:18px!important;
    font-size:clamp(12px,3.8vw,15px)!important;
    line-height:1.05!important;
    letter-spacing:-.02em!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    box-shadow:0 8px 18px rgba(6,24,39,.08)!important;
    position:static!important;
    transform:none!important;
  }
  body:not(.map-body) .nav.nav-public:not(.nav-auth-page) .nav-mobile-auth .btn-yellow,
  body.page-index .nav.nav-public:not(.nav-auth-page) .nav-mobile-auth .btn-yellow{
    flex:1.08 1 0!important;
  }
  body.page-index .stw-app-hero{
    padding-top:0!important;
  }
  body.page-index .stw-home-hero-grid{
    padding-top:28px!important;
  }

  /* Auth pages: only logo + language. The form starts below the header. */
  body.page-login .nav.nav-auth-page,
  body.page-register .nav.nav-auth-page{
    position:relative!important;
    inset:auto!important;
    height:auto!important;
    min-height:0!important;
    padding:calc(10px + env(safe-area-inset-top)) 18px 14px!important;
    background:#fff!important;
    box-shadow:0 8px 22px rgba(6,24,39,.06)!important;
  }
  body.page-login .nav.nav-auth-page .nav-inner,
  body.page-register .nav.nav-auth-page .nav-inner{
    display:grid!important;
    grid-template-columns:1fr 54px!important;
    grid-template-rows:auto!important;
    gap:10px!important;
    height:auto!important;
    padding:0!important;
    align-items:center!important;
  }
  body.page-login .nav.nav-auth-page .logo,
  body.page-register .nav.nav-auth-page .logo{
    justify-self:center!important;
    margin:0 0 0 54px!important;
  }
  body.page-login .nav.nav-auth-page .nav-actions,
  body.page-register .nav.nav-auth-page .nav-actions{display:contents!important;}
  body.page-login .nav.nav-auth-page .nav-actions .stw-lang-selector,
  body.page-register .nav.nav-auth-page .nav-actions .stw-lang-selector{grid-column:2!important;grid-row:1!important;justify-self:end!important;}
  body.page-login .form-wrap,body.page-register .form-wrap{margin-top:22px!important;}
}

@media (max-width:760px){
  /* Compact map header: language stays inside the white pill, aligned with logo. */
  body.map-body .nav{
    top:calc(10px + env(safe-area-inset-top))!important;
    left:14px!important;
    right:14px!important;
    height:58px!important;
    min-height:58px!important;
    padding:0 10px!important;
    border-radius:22px!important;
    overflow:visible!important;
  }
  body.map-body .nav-inner{
    height:58px!important;
    min-height:58px!important;
    display:grid!important;
    grid-template-columns:1fr 46px!important;
    gap:8px!important;
    align-items:center!important;
    padding:0!important;
  }
  body.map-body .nav .logo{
    grid-column:1!important;
    justify-self:center!important;
    margin:0 0 0 46px!important;
    font-size:17px!important;
    line-height:.86!important;
  }
  body.map-body .nav .logo-mark{width:38px!important;height:38px!important;border-radius:14px!important;}
  body.map-body .map-mobile-top-actions{
    grid-column:2!important;
    justify-self:end!important;
    align-self:center!important;
    display:flex!important;
    width:46px!important;
    height:46px!important;
    margin:0!important;
  }
  body.map-body .map-mobile-top-actions .stw-lang-selector{width:46px!important;height:46px!important;}
  body.map-body .map-mobile-top-actions .stw-lang-button{
    width:46px!important;
    height:46px!important;
    border-radius:17px!important;
    transform:none!important;
    box-shadow:0 8px 22px rgba(6,24,39,.10)!important;
  }
  body.map-body .map-page{padding-top:calc(80px + env(safe-area-inset-top))!important;}

  .rarity-filters{padding-right:22px!important;}
  .rarity-filter[data-filter="collaborator"]{margin-right:12px!important;}
}

@media (max-width:380px){
  body:not(.map-body) .nav.nav-public:not(.nav-auth-page) .nav-mobile-auth .btn,
  body.page-index .nav.nav-public:not(.nav-auth-page) .nav-mobile-auth .btn{font-size:12px!important;padding:0 6px!important;}
}


/* === V2.17: final header alignment + restore desktop phone preview === */
.stw-desktop-phone-preview .phone-tile{color:#061827!important;text-decoration:none!important;}
.stw-desktop-phone-preview .phone-tile:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(6,24,39,.10)}
@media (min-width:901px){
  .stw-desktop-phone-preview{display:block!important;}
  .page-index .stw-app-hero .container{grid-template-columns:1.05fr .95fr!important;}
}
@media (max-width:900px){
  .stw-desktop-phone-preview{display:none!important;}

  /* Public mobile header: real two-row layout, no overlap, no off-screen register button. */
  body:not(.map-body) .nav.nav-public:not(.nav-auth-page){
    overflow:visible!important;
  }
  body:not(.map-body) .nav.nav-public:not(.nav-auth-page) .nav-inner{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 50px!important;
    grid-template-rows:auto auto!important;
    gap:10px 10px!important;
    width:100%!important;
    max-width:620px!important;
    margin:0 auto!important;
    overflow:visible!important;
  }
  body:not(.map-body) .nav.nav-public:not(.nav-auth-page) .logo{
    grid-column:1!important;
    grid-row:1!important;
    justify-self:center!important;
    margin:0 0 0 50px!important;
    max-width:calc(100vw - 126px)!important;
  }
  body:not(.map-body) .nav.nav-public:not(.nav-auth-page) .nav-actions{
    display:contents!important;
  }
  body:not(.map-body) .nav.nav-public:not(.nav-auth-page) .nav-actions .stw-lang-selector{
    grid-column:2!important;
    grid-row:1!important;
    justify-self:end!important;
    align-self:center!important;
    width:50px!important;
    height:50px!important;
    display:flex!important;
    position:relative!important;
    margin:0!important;
  }
  body:not(.map-body) .nav.nav-public:not(.nav-auth-page) .nav-mobile-auth{
    display:grid!important;
    grid-column:1 / -1!important;
    grid-row:2!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:8px!important;
    width:100%!important;
    max-width:100%!important;
    overflow:visible!important;
    position:relative!important;
    left:auto!important;
    right:auto!important;
    transform:none!important;
    box-sizing:border-box!important;
  }
  body:not(.map-body) .nav.nav-public:not(.nav-auth-page) .nav-mobile-auth .btn{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    flex:none!important;
    box-sizing:border-box!important;
    height:50px!important;
    min-height:50px!important;
    padding:0 8px!important;
    font-size:clamp(11.5px,3.45vw,14px)!important;
    letter-spacing:-.03em!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body:not(.map-body) .nav.nav-public:not(.nav-auth-page) .nav-mobile-auth .btn-yellow{flex:none!important;}

  /* Auth pages keep only brand + language, correctly aligned. */
  body.page-login .nav.nav-auth-page .nav-inner,
  body.page-register .nav.nav-auth-page .nav-inner{
    grid-template-columns:minmax(0,1fr) 50px!important;
    max-width:620px!important;
    margin:0 auto!important;
  }
  body.page-login .nav.nav-auth-page .logo,
  body.page-register .nav.nav-auth-page .logo{margin:0 0 0 50px!important;}
}
@media (max-width:760px){
  /* Map header: keep language button inside the white header, vertically centered. */
  body.map-body .nav{
    top:calc(10px + env(safe-area-inset-top))!important;
    left:12px!important;
    right:12px!important;
    height:66px!important;
    min-height:66px!important;
    padding:0 12px!important;
    border-radius:24px!important;
    display:flex!important;
    align-items:center!important;
    overflow:visible!important;
  }
  body.map-body .nav-inner{
    height:66px!important;
    min-height:66px!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 48px!important;
    align-items:center!important;
    gap:8px!important;
    padding:0!important;
    width:100%!important;
  }
  body.map-body .nav .logo{
    grid-column:1!important;
    justify-self:center!important;
    align-self:center!important;
    margin:0 0 0 48px!important;
    line-height:.86!important;
  }
  body.map-body .map-mobile-top-actions{
    grid-column:2!important;
    justify-self:end!important;
    align-self:center!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:48px!important;
    height:48px!important;
    position:relative!important;
    top:auto!important;
    right:auto!important;
    margin:0!important;
    transform:none!important;
  }
  body.map-body .map-mobile-top-actions .stw-lang-selector,
  body.map-body .map-mobile-top-actions .stw-lang-button{
    width:48px!important;
    height:48px!important;
    min-width:48px!important;
    min-height:48px!important;
    margin:0!important;
    transform:none!important;
    position:relative!important;
    top:auto!important;
    right:auto!important;
  }
  body.map-body .map-mobile-top-actions .stw-lang-button{
    border-radius:18px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
  body.map-body .map-page{padding-top:calc(88px + env(safe-area-inset-top))!important;}
}
@media (max-width:380px){
  body:not(.map-body) .nav.nav-public:not(.nav-auth-page) .nav-mobile-auth .btn{font-size:11.2px!important;padding:0 6px!important;}
}

/* === V2.18: map spacing + desktop hero shortcuts polish === */
@media (max-width:760px){
  /* The fixed map header must not cover the category chips. */
  body.map-body .map-page{
    padding-top:calc(116px + env(safe-area-inset-top))!important;
  }
  body.map-body .map-shell{
    padding-top:6px!important;
  }
  body.map-body .rarity-filters{
    margin-top:0!important;
    padding-top:2px!important;
  }
}

@media (min-width:901px){
  /* Make the four desktop hero shortcut cards feel like real app actions. */
  .page-index .stw-quick-rail{
    gap:14px!important;
    margin-top:18px!important;
  }
  .page-index .stw-quick-rail a{
    min-height:78px!important;
    border-radius:18px!important;
    padding:14px 16px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:9px!important;
    font-size:14px!important;
    font-weight:1000!important;
  }
  .page-index .stw-quick-rail a .svg-icon,
  .page-index .stw-quick-rail a svg{
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
    min-height:24px!important;
    color:#ffb800!important;
  }
  .page-index .stw-quick-rail a span{
    font-size:14px!important;
    line-height:1.1!important;
  }
}

/* ScanToWin V2.19 - desktop user dashboard premium */
@media(min-width:901px){
  .app-mobile-native{background:#f3f7fb;}
  .app-mobile-native .main.app-main{padding:34px 34px 46px;max-width:1500px;}
  .desktop-dashboard-v219{display:block;max-width:1220px;margin:0 auto;}
  .desktop-hero-v219{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:26px;align-items:stretch;background:radial-gradient(circle at 12% 18%,rgba(255,184,0,.26),transparent 22%),radial-gradient(circle at 88% 8%,rgba(17,137,214,.24),transparent 25%),linear-gradient(135deg,#061827,#0b314f 68%,#0d4a6b);border-radius:34px;padding:32px;color:#fff;box-shadow:0 26px 70px rgba(6,24,39,.22);}
  .desktop-hero-v219:after{content:"";position:absolute;right:-90px;bottom:-120px;width:360px;height:360px;border-radius:50%;border:1px solid rgba(255,255,255,.14);pointer-events:none;}
  .desktop-hero-copy-v219,.desktop-score-card-v219{position:relative;z-index:1;}
  .desktop-hero-copy-v219 h1{font-size:46px;letter-spacing:-1.6px;line-height:1;margin:8px 0 12px;color:#fff;}
  .desktop-hero-copy-v219 p{max-width:660px;margin:0 0 24px;color:rgba(255,255,255,.82);font-size:17px;font-weight:800;line-height:1.5;}
  .desktop-hero-actions-v219{display:flex;flex-wrap:wrap;gap:12px;}
  .desktop-hero-actions-v219 .btn{height:54px;border-radius:17px;padding:0 22px;font-size:15px;}
  .desktop-score-card-v219{align-self:stretch;border:1px solid rgba(255,255,255,.18);background:linear-gradient(145deg,rgba(255,255,255,.15),rgba(255,255,255,.06));backdrop-filter:blur(14px);border-radius:28px;padding:24px;display:flex;flex-direction:column;justify-content:center;box-shadow:inset 0 1px 0 rgba(255,255,255,.16);}
  .desktop-score-card-v219 small{font-weight:1000;text-transform:uppercase;letter-spacing:.7px;color:#ffcf32;}
  .desktop-score-card-v219 strong{font-size:72px;line-height:.92;margin:9px 0;color:#fff;letter-spacing:-2px;}
  .desktop-score-card-v219 div{display:grid;gap:8px;color:rgba(255,255,255,.86);font-weight:1000;}
  .desktop-kpis-v219{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:18px 0;}
  .desktop-kpis-v219 article{position:relative;overflow:hidden;background:#fff;border:1px solid rgba(6,24,39,.08);border-radius:24px;padding:18px;box-shadow:0 16px 44px rgba(6,24,39,.07);min-height:124px;}
  .desktop-kpis-v219 article:after{content:"";position:absolute;right:-34px;top:-34px;width:90px;height:90px;border-radius:50%;background:rgba(255,184,0,.13);}
  .desktop-kpis-v219 span{width:50px;height:50px;border-radius:17px;background:linear-gradient(135deg,#ffcf32,#ffae00);display:grid;place-items:center;color:#061827;box-shadow:0 14px 30px rgba(255,184,0,.25);}
  .desktop-kpis-v219 .svg-icon{width:25px;height:25px;}
  .desktop-kpis-v219 small{display:block;margin-top:14px;color:#64748b;font-weight:1000;font-size:13px;}
  .desktop-kpis-v219 b{display:block;margin-top:4px;font-size:28px;line-height:1;color:#061827;letter-spacing:-.7px;}
  .desktop-dashboard-grid-v219{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:18px;align-items:start;}
  .desktop-dashboard-main-v219,.desktop-dashboard-side-v219{display:grid;gap:18px;}
  .desktop-dashboard-side-v219{position:sticky;top:22px;}
  .desktop-panel-v219{background:#fff;border:1px solid rgba(6,24,39,.08);border-radius:28px;padding:22px;box-shadow:0 18px 52px rgba(6,24,39,.07);}
  .desktop-panel-v219.compact{padding:18px;}
  .desktop-section-title-v219{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px;}
  .desktop-section-title-v219 h2{margin:3px 0 0;font-size:25px;line-height:1.06;letter-spacing:-.5px;color:#061827;}
  .desktop-link-v219{font-weight:1000;color:#061827;background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;padding:9px 13px;font-size:13px;white-space:nowrap;}
  .desktop-actions-grid-v219{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
  .desktop-actions-grid-v219 a{position:relative;overflow:hidden;min-height:132px;border-radius:23px;background:linear-gradient(180deg,#f8fafc,#fff);border:1px solid #e8eef5;padding:16px;color:#061827;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 10px 26px rgba(6,24,39,.04);transition:.18s;}
  .desktop-actions-grid-v219 a:hover{transform:translateY(-3px);box-shadow:0 18px 44px rgba(6,24,39,.09);border-color:#ffcf32;}
  .desktop-actions-grid-v219 a>.svg-icon{width:38px;height:38px;color:#ffb800;}
  .desktop-actions-grid-v219 b{font-size:18px;line-height:1.05;letter-spacing:-.2px;}
  .desktop-actions-grid-v219 small{display:block;margin-top:6px;color:#64748b;font-weight:850;line-height:1.35;}
  .desktop-actions-grid-v219 em{position:absolute;top:12px;right:12px;min-width:27px;height:27px;border-radius:999px;background:#061827;color:#fff;font-style:normal;font-size:12px;font-weight:1000;display:grid;place-items:center;}
  .desktop-actions-grid-v219 a.has-new{border-color:#ffb800;box-shadow:0 14px 38px rgba(255,184,0,.16);}
  .desktop-rank-list-v219{display:grid;gap:10px;}
  .desktop-rank-list-v219 a{display:grid;grid-template-columns:76px minmax(0,1fr) auto;gap:12px;align-items:center;border:1px solid #e2e8f0;background:#f8fafc;border-radius:18px;padding:13px 15px;color:#061827;}
  .desktop-rank-list-v219 span{height:40px;border-radius:999px;background:#e8eef5;display:grid;place-items:center;font-weight:1000;}
  .desktop-rank-list-v219 b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;}
  .desktop-rank-list-v219 strong{font-size:15px;white-space:nowrap;}
  .desktop-rank-list-v219 a.is-me{background:linear-gradient(135deg,#ffb800,#ffd86b);border-color:#ffb800;box-shadow:0 16px 36px rgba(255,184,0,.24);transform:scale(1.008);}
  .desktop-rank-list-v219 a.is-me span{background:#061827;color:#fff;}
  .desktop-activity-list-v219{display:grid;gap:10px;}
  .desktop-activity-list-v219 article{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:12px;align-items:center;background:#f8fafc;border:1px solid #e8eef5;border-radius:18px;padding:11px 13px;}
  .desktop-activity-list-v219 article>span{width:48px;height:48px;border-radius:16px;background:#fff;display:grid;place-items:center;color:#ffb800;box-shadow:0 10px 20px rgba(6,24,39,.05);}
  .desktop-activity-list-v219 b{display:block;color:#061827;}
  .desktop-activity-list-v219 small{display:block;color:#64748b;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:520px;}
  .desktop-activity-list-v219 strong{color:#061827;font-size:18px;}
  .desktop-code-card-v219{background:radial-gradient(circle at 88% 0,rgba(255,184,0,.35),transparent 28%),linear-gradient(145deg,#061827,#0b314f);color:#fff;border-radius:28px;padding:24px;box-shadow:0 22px 58px rgba(6,24,39,.18);}
  .desktop-code-card-v219 small{font-weight:1000;text-transform:uppercase;letter-spacing:.7px;color:#ffcf32;}
  .desktop-code-card-v219 strong{display:block;margin:12px 0 8px;font-size:46px;letter-spacing:3px;color:#fff;}
  .desktop-code-card-v219 p{margin:0;color:rgba(255,255,255,.82);font-weight:800;line-height:1.45;}
  .desktop-side-list-v219{display:grid;gap:10px;}
  .desktop-side-list-v219 a,.desktop-side-list-v219 article{display:grid;grid-template-columns:46px minmax(0,1fr);gap:11px;align-items:center;background:#f8fafc;border:1px solid #e8eef5;border-radius:17px;padding:11px;color:#061827;}
  .desktop-side-list-v219 span{width:46px;height:46px;border-radius:15px;background:#fff;display:grid;place-items:center;color:#ffb800;box-shadow:0 10px 20px rgba(6,24,39,.05);}
  .desktop-side-list-v219 b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .desktop-side-list-v219 small{display:block;color:#64748b;font-weight:850;line-height:1.25;}
}
@media(min-width:901px) and (max-width:1180px){
  .app-mobile-native .main.app-main{padding:24px 22px 38px;}
  .desktop-dashboard-grid-v219{grid-template-columns:1fr;}
  .desktop-dashboard-side-v219{position:static;grid-template-columns:repeat(2,minmax(0,1fr));}
  .desktop-code-card-v219{grid-column:1 / -1;}
  .desktop-actions-grid-v219{grid-template-columns:repeat(2,minmax(0,1fr));}
  .desktop-kpis-v219{grid-template-columns:repeat(2,minmax(0,1fr));}
}

/* === ScanToWin V2.20 - escritorio usuario más claro y navegación tipo app === */
@media (min-width:901px){
  /* Barra de regreso para páginas públicas vistas por un usuario conectado. */
  .user-pagebar-v220{position:sticky;top:88px;z-index:19;background:rgba(248,250,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid rgba(6,24,39,.07)}
  .user-pagebar-inner-v220{height:64px;display:flex;align-items:center;justify-content:space-between;gap:18px}
  .user-pagebar-back-v220,.user-pagebar-links-v220 a{display:inline-flex;align-items:center;gap:8px;border-radius:999px;font-weight:1000;color:#061827}
  .user-pagebar-back-v220{background:#061827;color:#fff;padding:11px 15px;box-shadow:0 12px 28px rgba(6,24,39,.14)}
  .user-pagebar-back-v220 .svg-icon{color:#ffb800}
  .user-pagebar-links-v220{display:flex;align-items:center;gap:8px;overflow-x:auto;padding:4px 0}
  .user-pagebar-links-v220 a{background:#fff;border:1px solid #e2e8f0;padding:10px 13px;white-space:nowrap;box-shadow:0 8px 20px rgba(6,24,39,.04)}
  .user-pagebar-links-v220 a:hover{border-color:#ffb800;transform:translateY(-1px)}
  .user-pagebar-links-v220 .svg-icon{width:18px;height:18px;color:#ffb800}

  /* Páginas de usuario que eran solo móviles: en escritorio ahora se ven en una tarjeta limpia. */
  body.user-app-page-v220{background:#f3f7fb}
  body.user-app-page-v220 .app-mobile-native .main.app-main{padding:34px;max-width:1180px;margin:0 auto}
  body.user-app-page-v220 .mobile-topbar{display:flex;max-width:980px;margin:0 auto 18px;background:#fff;border:1px solid rgba(6,24,39,.08);border-radius:24px;padding:14px 16px;box-shadow:0 14px 38px rgba(6,24,39,.06)}
  body.user-app-page-v220 .phone-dashboard{display:block!important;width:min(100%,980px)!important;max-width:980px!important;margin:0 auto 24px!important;border-radius:30px!important;background:#fff!important;box-shadow:0 22px 70px rgba(6,24,39,.09)!important;border:1px solid rgba(6,24,39,.06)!important;padding:26px!important;overflow:visible!important}
  body.user-app-page-v220 .brand-mini{display:none}
  body.user-app-page-v220 .referral-stats{grid-template-columns:repeat(3,1fr)}
  body.user-app-page-v220 .referral-list article,
  body.user-app-page-v220 .messages-list article,
  body.user-app-page-v220 .daily-task-card{max-width:100%}

  /* Dashboard: navegación superior tipo app, distribución más sencilla. */
  .desktop-dashboard-v220{max-width:1180px!important}
  .desktop-user-tabs-v220{display:flex;align-items:center;gap:10px;margin:0 0 18px;padding:10px;background:#fff;border:1px solid rgba(6,24,39,.08);border-radius:24px;box-shadow:0 16px 45px rgba(6,24,39,.06);overflow-x:auto}
  .desktop-user-tabs-v220 a{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 15px;border-radius:16px;color:#061827;font-weight:1000;white-space:nowrap;border:1px solid transparent}
  .desktop-user-tabs-v220 a.active,.desktop-user-tabs-v220 a:hover{background:#061827;color:#fff;border-color:#061827}
  .desktop-user-tabs-v220 a.active .svg-icon,.desktop-user-tabs-v220 a:hover .svg-icon{color:#ffb800}
  .desktop-user-tabs-v220 .svg-icon{width:20px;height:20px;color:#ffb800}
  .desktop-user-tabs-v220 em{position:absolute;top:2px;right:4px;min-width:20px;height:20px;border-radius:999px;background:#ffb800;color:#061827;font-style:normal;font-size:11px;display:grid;place-items:center}
  .desktop-dashboard-v220 .desktop-hero-v219{grid-template-columns:minmax(0,1fr) 280px;border-radius:30px;padding:28px;margin-bottom:18px;box-shadow:0 22px 60px rgba(6,24,39,.18)}
  .desktop-dashboard-v220 .desktop-hero-copy-v219 h1{font-size:40px;line-height:1.02;margin-bottom:10px}
  .desktop-dashboard-v220 .desktop-hero-copy-v219 p{font-size:16px;margin-bottom:18px;max-width:720px}
  .desktop-dashboard-v220 .desktop-score-card-v219{border-radius:24px;padding:22px}
  .desktop-dashboard-v220 .desktop-score-card-v219 strong{font-size:58px}
  .desktop-dashboard-v220 .desktop-kpis-v219{grid-template-columns:repeat(4,1fr);margin:18px 0;gap:14px}
  .desktop-dashboard-v220 .desktop-kpis-v219 article{min-height:auto;padding:16px;border-radius:22px}
  .desktop-dashboard-v220 .desktop-kpis-v219 span{width:46px;height:46px;border-radius:16px}
  .desktop-dashboard-v220 .desktop-kpis-v219 b{font-size:25px}
  .desktop-dashboard-v220 .desktop-dashboard-grid-v219{grid-template-columns:minmax(0,1fr);gap:18px}
  .desktop-dashboard-v220 .desktop-actions-grid-v219{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
  .desktop-dashboard-v220 .desktop-actions-grid-v219 a{min-height:112px;border-radius:22px;padding:15px}
  .desktop-dashboard-v220 .desktop-actions-grid-v219 a>.svg-icon{width:32px;height:32px}
  .desktop-dashboard-v220 .desktop-actions-grid-v219 b{font-size:17px}
  .desktop-dashboard-v220 .desktop-actions-grid-v219 small{font-size:12.5px;line-height:1.25}
  .desktop-dashboard-v220 .desktop-dashboard-side-v219{position:static;display:grid;grid-template-columns:1.05fr 1fr 1fr;gap:18px;align-items:stretch}
  .desktop-dashboard-v220 .desktop-code-card-v219{min-height:100%;display:flex;flex-direction:column;justify-content:center}
  .desktop-dashboard-v220 .desktop-panel-v219{border-radius:26px;padding:20px}
}
@media (min-width:901px) and (max-width:1180px){
  .desktop-dashboard-v220 .desktop-actions-grid-v219{grid-template-columns:repeat(3,minmax(0,1fr))}
  .desktop-dashboard-v220 .desktop-dashboard-side-v219{grid-template-columns:1fr}
  .desktop-dashboard-v220 .desktop-hero-v219{grid-template-columns:1fr}
}
@media (max-width:900px){
  .user-pagebar-v220{display:none!important}
}


/* === V2.21: iPhone PWA install modal fix === */
body.stw-install-open{
  overflow:hidden!important;
  touch-action:none!important;
}
body.stw-install-open .mobile-bottom.stw-mobile-nav{
  display:none!important;
  pointer-events:none!important;
}
.stw-install-modal{
  z-index:2147483600!important;
  place-items:center!important;
  padding:calc(18px + env(safe-area-inset-top)) 16px calc(18px + env(safe-area-inset-bottom))!important;
  overflow-y:auto!important;
  -webkit-overflow-scrolling:touch!important;
}
.stw-install-modal-backdrop{
  z-index:0!important;
}
.stw-install-modal-panel{
  z-index:1!important;
  width:min(430px,100%)!important;
  max-height:calc(100dvh - 36px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important;
  overflow-y:auto!important;
  -webkit-overflow-scrolling:touch!important;
  margin:auto!important;
  padding:24px 20px 20px!important;
  border-radius:28px!important;
}
.stw-install-modal-action{
  width:100%!important;
  min-height:54px!important;
  border-radius:18px!important;
}
@supports not (height:100dvh){
  .stw-install-modal-panel{max-height:calc(100vh - 36px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important;}
}
@media(max-width:560px){
  .stw-install-modal{align-items:center!important;}
  .stw-install-modal-panel h2{font-size:26px!important;line-height:1.05!important;}
  .stw-install-modal-panel p{font-size:15px!important;line-height:1.38!important;}
  .stw-install-icon.large{width:70px!important;height:70px!important;border-radius:24px!important;}
  .stw-install-icon.large img{width:52px!important;height:52px!important;}
}

/* V2.22 - puntos extra sociales: contraste alto en móvil y escritorio */
.social-mission-btn{
  border-color:rgba(255,184,0,.30)!important;
  background:linear-gradient(180deg,#fff,#fffdf4)!important;
}
.social-mission-btn small{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  white-space:nowrap!important;
  min-width:max-content!important;
  color:#061827!important;
  background:#ffb800!important;
  border:1px solid rgba(6,24,39,.10)!important;
  border-radius:999px!important;
  padding:5px 10px!important;
  font-weight:1000!important;
  box-shadow:0 5px 14px rgba(255,184,0,.26)!important;
}
.social-mission-btn:not(.claimed):not(:disabled):hover small{
  color:#fff!important;
  background:#061827!important;
  box-shadow:0 6px 16px rgba(6,24,39,.20)!important;
}
.social-mission-btn.claimed{
  background:#ecfdf5!important;
  border-color:#86efac!important;
}
.social-mission-btn.claimed small{
  color:#166534!important;
  background:#dcfce7!important;
  border-color:#86efac!important;
  box-shadow:none!important;
}
.social-mission-btn:disabled:not(.claimed){
  opacity:.86!important;
  background:#f8fafc!important;
}
.social-mission-btn:disabled:not(.claimed) small{
  color:#061827!important;
  background:#fff7d6!important;
  border-color:rgba(255,184,0,.45)!important;
  box-shadow:none!important;
}
.map-discovery-socials .social-mission-wrap,
.sheet-socials .social-mission-wrap{
  width:100%!important;
}
@media(max-width:760px){
  .social-mission-btn{gap:8px!important;padding:10px!important}
  .social-mission-btn b{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  .social-mission-btn small{font-size:12px!important;padding:5px 9px!important}
}

/* V2.23 - Viaje de Scan visual: progreso animado en móvil y escritorio */
.scan-trip-card{
  position:relative!important;
  overflow:hidden!important;
}
.scan-trip-card:before{
  content:"";
  position:absolute;
  inset:-45px -35px auto auto;
  width:160px;
  height:160px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(255,184,0,.20),transparent 68%);
  pointer-events:none;
}
.scan-trip-visual{
  position:relative;
  min-height:88px;
  border-radius:22px;
  border:1px solid rgba(6,24,39,.08);
  background:linear-gradient(135deg,#eef8ff 0%,#fff8dc 100%);
  overflow:hidden;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75);
}
.scan-trip-visual:before{
  content:"";
  position:absolute;
  left:24px;
  right:24px;
  top:50%;
  height:5px;
  border-radius:999px;
  background:rgba(6,24,39,.12);
  transform:translateY(-50%);
}
.scan-trip-fill{
  position:absolute;
  left:24px;
  top:50%;
  height:5px;
  width:calc((100% - 48px) * var(--progress,0) / 100);
  border-radius:999px;
  background:linear-gradient(90deg,#061827,#ffb800);
  transform:translateY(-50%);
  box-shadow:0 0 18px rgba(255,184,0,.32);
}
.scan-trip-dot{
  position:absolute;
  top:50%;
  width:18px;
  height:18px;
  border-radius:999px;
  background:#fff;
  border:4px solid #061827;
  transform:translateY(-50%);
  box-shadow:0 6px 16px rgba(6,24,39,.18);
}
.scan-trip-dot.start{left:16px;}
.scan-trip-dot.end{right:16px;border-color:#ffb800;background:#061827;}
.scan-trip-runner{
  position:absolute;
  left:calc(24px + (100% - 48px) * var(--progress,0) / 100);
  top:50%;
  width:48px;
  height:48px;
  border-radius:19px;
  display:grid;
  place-items:center;
  background:#fff;
  border:3px solid #ffb800;
  box-shadow:0 16px 32px rgba(6,24,39,.20),0 0 0 8px rgba(255,184,0,.16);
  transform:translate(-50%,-50%);
  animation:stwScanDrop 1.15s cubic-bezier(.33,.02,.26,1.35) infinite;
  z-index:2;
}
.scan-trip-runner img{width:36px;height:36px;object-fit:contain;display:block;}
.scan-trip-runner:after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-13px;
  width:18px;
  height:5px;
  border-radius:999px;
  background:rgba(6,24,39,.18);
  transform:translateX(-50%);
  filter:blur(.2px);
}
.scan-trip-card.arrived .scan-trip-runner{
  animation:stwScanArrived .9s ease-in-out infinite alternate;
  background:#ecfdf5;
  border-color:#22c55e;
  box-shadow:0 16px 32px rgba(6,24,39,.16),0 0 0 8px rgba(34,197,94,.16);
}
.scan-trip-status-line{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  font-weight:1000;
  color:#061827;
  font-size:13px;
}
.scan-trip-status-line b{font-size:15px;}
.scan-trip-status-line span{
  color:#64748b;
  font-size:12px;
  font-weight:900;
}
.scan-route-line{
  stroke-dasharray:9 11;
  animation:stwRouteDash 1.1s linear infinite;
}
.scan-runner-map-icon{
  width:46px;
  height:46px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:#fff;
  border:3px solid #ffb800;
  box-shadow:0 14px 34px rgba(6,24,39,.28),0 0 0 8px rgba(255,184,0,.18);
  animation:stwScanDrop 1.15s cubic-bezier(.33,.02,.26,1.35) infinite;
}
.scan-runner-map-icon img{width:34px;height:34px;object-fit:contain;}
.scan-runner-map-icon.arrived{border-color:#22c55e;box-shadow:0 14px 34px rgba(6,24,39,.20),0 0 0 8px rgba(34,197,94,.18);animation:stwScanArrived .9s ease-in-out infinite alternate;}
@keyframes stwScanDrop{
  0%,100%{transform:translate(-50%,-50%) translateY(0) scale(1);}
  42%{transform:translate(-50%,-50%) translateY(-14px) scale(1.04);}
  62%{transform:translate(-50%,-50%) translateY(3px) scale(.98);}
}
@keyframes stwScanArrived{
  from{transform:translate(-50%,-50%) scale(1);}
  to{transform:translate(-50%,-50%) scale(1.08);}
}
@keyframes stwRouteDash{to{stroke-dashoffset:-20;}}
@media(max-width:760px){
  .scan-trip-visual{min-height:82px;border-radius:20px;}
  .scan-trip-runner{width:44px;height:44px;border-radius:17px;}
  .scan-trip-runner img{width:33px;height:33px;}
  .scan-trip-status-line{display:grid;gap:2px;}
}

/* V2.23 - página completa de cómo funciona */
.page-how-it-works{background:linear-gradient(180deg,#f2f7fb 0%,#fffaf0 48%,#f8fafc 100%);}
.how-hero{position:relative;overflow:hidden;background:radial-gradient(circle at 88% 10%,rgba(255,184,0,.30),transparent 28%),radial-gradient(circle at 12% 4%,rgba(37,99,235,.18),transparent 25%),linear-gradient(145deg,#061827,#0b2f4c);color:#fff;border-radius:0 0 44px 44px;}
.how-hero .container{min-height:430px;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(280px,.8fr);gap:36px;align-items:center;padding-top:58px;padding-bottom:58px;}
.how-hero h1{font-size:clamp(42px,6vw,76px);line-height:.94;letter-spacing:-.07em;margin:12px 0 18px;text-wrap:balance;}
.how-hero p{font-size:18px;line-height:1.55;color:#e6eef7;font-weight:850;max-width:720px;}
.how-badges{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0 0;}
.how-badges span{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.10);border-radius:999px;padding:10px 13px;font-weight:1000;color:#fff;}
.how-visual-card{position:relative;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.16);border-radius:34px;padding:22px;box-shadow:0 26px 70px rgba(0,0,0,.26);backdrop-filter:blur(14px);}
.how-visual-map{height:280px;border-radius:26px;background:linear-gradient(135deg,#dbeafe,#fef3c7);position:relative;overflow:hidden;}
.how-visual-map:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,24,39,.08) 1px,transparent 1px),linear-gradient(0deg,rgba(6,24,39,.08) 1px,transparent 1px);background-size:42px 42px;opacity:.55;}
.how-pin{position:absolute;width:42px;height:42px;border-radius:50% 50% 50% 12px;background:#ffb800;border:5px solid #fff;box-shadow:0 14px 28px rgba(6,24,39,.20);transform:rotate(-45deg);}
.how-pin:after{content:"";position:absolute;inset:11px;border-radius:50%;background:#061827;}
.how-pin.one{left:16%;top:22%;}.how-pin.two{right:18%;top:34%;background:#2563eb}.how-pin.three{left:45%;bottom:16%;background:#7c3aed;}
.how-scan-avatar{position:absolute;left:14%;bottom:18%;width:62px;height:62px;border-radius:24px;background:#fff;border:4px solid #ffb800;display:grid;place-items:center;box-shadow:0 18px 38px rgba(6,24,39,.26);animation:howScanFloat 1.35s ease-in-out infinite;}
.how-scan-avatar img{width:46px;height:46px;object-fit:contain;}.how-path{position:absolute;left:20%;right:22%;bottom:32%;height:6px;border-radius:999px;background:linear-gradient(90deg,#061827,#ffb800);box-shadow:0 0 18px rgba(255,184,0,.34);}
@keyframes howScanFloat{0%,100%{transform:translateY(0)}45%{transform:translateY(-14px)}60%{transform:translateY(3px)}}
.how-section{padding:74px 0;}.how-section.compact{padding-top:26px;}
.how-section-title{text-align:center;max-width:820px;margin:0 auto 34px;}.how-section-title h2{font-size:clamp(32px,4.2vw,56px);line-height:1;letter-spacing:-.055em;margin:8px 0 12px;color:#061827;}.how-section-title p{color:#64748b;font-weight:850;font-size:17px;line-height:1.55;}
.how-flow{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;}.how-flow-card{position:relative;background:#fff;border:1px solid rgba(6,24,39,.07);border-radius:28px;padding:22px;box-shadow:0 18px 44px rgba(6,24,39,.08);overflow:hidden;}.how-flow-card:before{content:attr(data-step);position:absolute;right:18px;top:12px;font-size:54px;line-height:1;color:rgba(6,24,39,.06);font-weight:1000;}.how-flow-card .mode-icon{margin-bottom:14px;}.how-flow-card h3{font-size:22px;margin:0 0 9px;color:#061827;line-height:1.05;}.how-flow-card p{margin:0;color:#64748b;font-weight:850;line-height:1.45;}
.how-mode-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;}.how-mode-card{background:linear-gradient(180deg,#fff,#f9fbfd);border:1px solid rgba(6,24,39,.07);border-radius:30px;padding:26px;box-shadow:0 18px 44px rgba(6,24,39,.08);}.how-mode-card.featured{background:radial-gradient(circle at 100% 0,rgba(255,184,0,.22),transparent 34%),linear-gradient(145deg,#061827,#0c2f4b);color:#fff;}.how-mode-card h3{font-size:28px;line-height:1.04;margin:14px 0 10px;}.how-mode-card p{font-weight:850;line-height:1.5;color:#64748b;}.how-mode-card.featured p{color:#dce9f2;}.how-mode-card .how-points-pill{display:inline-flex;margin-top:14px;border-radius:999px;padding:8px 12px;background:#ffb800;color:#061827;font-weight:1000;}
.how-timeline{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:stretch;}.how-timeline-card{border-radius:30px;padding:28px;background:#fff;border:1px solid rgba(6,24,39,.07);box-shadow:0 18px 44px rgba(6,24,39,.08);}.how-timeline-card.dark{background:#061827;color:#fff;}.how-timeline-card h3{font-size:30px;line-height:1.04;margin:0 0 12px;}.how-timeline-card p{font-weight:850;line-height:1.5;color:#64748b;margin:0;}.how-timeline-card.dark p{color:#dbeafe;}.how-cta{border-radius:34px;padding:34px;background:linear-gradient(135deg,#ffb800,#ffe08a);display:flex;align-items:center;justify-content:space-between;gap:22px;box-shadow:0 22px 60px rgba(255,184,0,.28);}.how-cta h2{font-size:clamp(30px,4vw,48px);line-height:1;margin:0 0 8px;color:#061827;}.how-cta p{margin:0;color:#24364a;font-weight:900;}.how-cta-actions{display:flex;gap:10px;flex-wrap:wrap;}
.home-how-more{text-align:center;margin-top:20px;}
@media(max-width:900px){.how-hero .container{grid-template-columns:1fr;min-height:0;padding-top:42px;padding-bottom:42px}.how-visual-card{display:none}.how-flow,.how-mode-grid,.how-timeline{grid-template-columns:1fr}.how-section{padding:46px 0}.how-cta{display:grid}.how-cta-actions .btn{width:100%;justify-content:center}}

/* V2.24 - Scan como mascota viajera persistente */
.scan-trip-avatar.mascot,
.scan-confirm-avatar.mascot{
  overflow:hidden!important;
  background:linear-gradient(145deg,#061827,#0d2c45)!important;
  border:2px solid rgba(255,184,0,.55)!important;
}
.scan-trip-avatar.mascot img,
.scan-confirm-avatar.mascot img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
  transform:scale(1.12)!important;
}
.scan-confirm-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.scan-virtual-hint.long{
  color:#7c4a03!important;
  background:#fff7d6!important;
  border:1px solid rgba(255,184,0,.42)!important;
  border-radius:14px!important;
  padding:9px 10px!important;
  font-weight:900!important;
}
.scan-trip-runner.mascot{
  overflow:hidden!important;
  background:#061827!important;
}
.scan-trip-runner.mascot img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
  transform:scale(1.16)!important;
}
.scan-runner-map-icon{
  overflow:hidden!important;
  background:#061827!important;
}
.scan-runner-map-icon img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
  transform:scale(1.18)!important;
}
.scan-runner-map-icon.idle{
  border-color:#ffb800!important;
  box-shadow:0 14px 34px rgba(6,24,39,.24),0 0 0 8px rgba(255,184,0,.18)!important;
  animation:stwScanIdle 1.8s ease-in-out infinite!important;
}
.scan-route-line{
  stroke:#ffb800!important;
  stroke-width:5!important;
  stroke-opacity:.82!important;
  filter:drop-shadow(0 4px 8px rgba(6,24,39,.28));
}
.scan-trip-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.scan-trip-actions .btn{
  flex:1 1 145px;
}
@keyframes stwScanIdle{
  0%,100%{transform:translateY(0) scale(1);}
  50%{transform:translateY(-5px) scale(1.03);}
}
@media(max-width:760px){
  .scan-confirm-grid{grid-template-columns:1fr!important;}
  .scan-trip-actions{display:grid!important;grid-template-columns:1fr!important;}
}
.scan-runner-map-icon:not(.idle):not(.arrived){animation:stwMapScanBounce 1.15s cubic-bezier(.33,.02,.26,1.35) infinite!important;}
.scan-runner-map-icon.arrived{animation:stwMapScanArrived .9s ease-in-out infinite alternate!important;}
@keyframes stwMapScanBounce{0%,100%{transform:translateY(0) scale(1);}42%{transform:translateY(-10px) scale(1.04);}62%{transform:translateY(2px) scale(.98);}}
@keyframes stwMapScanArrived{from{transform:scale(1);}to{transform:scale(1.08);}}

/* V2.30 - Scan Coins, tienda, cuenta y acceso rápido */
.btn.full{width:100%;justify-content:center}
.btn-google{width:100%;justify-content:center;gap:10px;background:#fff!important;color:#152033!important;border:1px solid rgba(6,24,39,.16)!important;box-shadow:0 8px 22px rgba(6,24,39,.06)}
.btn-google:hover{transform:translateY(-1px);box-shadow:0 12px 28px rgba(6,24,39,.11)}
.google-g{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;font-weight:1000;font-size:15px;background:#f2f5f8;color:#1a73e8}
.auth-divider{display:flex;align-items:center;gap:12px;margin:16px 0;color:#718096;font-weight:900}.auth-divider:before,.auth-divider:after{content:"";height:1px;flex:1;background:rgba(6,24,39,.12)}.auth-divider span{font-size:12px;text-transform:uppercase}
.auth-forgot{text-align:right;margin:-2px 0 15px}.auth-forgot a{font-weight:900;text-decoration:none;color:#7b5700}
.auth-check,.setting-check{display:flex!important;align-items:flex-start;gap:10px;margin:14px 0!important;font-weight:750!important;line-height:1.35}.auth-check input,.setting-check input{width:18px;height:18px;flex:0 0 auto;margin-top:1px;accent-color:#ffb800}.field-help{display:block;margin:-7px 0 12px;color:#64748b;font-weight:700;line-height:1.4}

.store-page,.account-page{background:linear-gradient(180deg,#f4f7f9 0,#fff 48%)}
.narrow-container{max-width:1040px}
.store-hero,.account-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#061827;color:#fff;border-radius:30px;padding:28px;margin-bottom:22px;position:relative;overflow:hidden;box-shadow:0 22px 55px rgba(6,24,39,.18)}
.store-hero:after,.account-hero:after{content:"";position:absolute;width:220px;height:220px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,184,0,.12)}
.store-hero>*,.account-hero>*{position:relative;z-index:1}.store-hero h1,.account-hero h1{font-size:clamp(31px,5vw,52px);margin:4px 0 8px}.store-hero p,.account-hero p{max-width:650px;color:#d6e3eb;margin:0;line-height:1.55}.store-hero .eyebrow,.account-hero .eyebrow{color:#ffcf4a}
.wallet-hero,.coin-balance-mini{flex:0 0 auto;min-width:190px;padding:18px 20px;border-radius:22px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);text-align:center;backdrop-filter:blur(12px)}.wallet-hero small,.coin-balance-mini small{display:block;color:#cad9e3;font-weight:850}.wallet-hero strong,.coin-balance-mini strong{display:block;font-size:43px;color:#ffbd17;line-height:1.05;margin:5px 0}.wallet-hero span,.coin-balance-mini span{font-weight:950}
.verify-store-note{display:flex;align-items:center;gap:15px;padding:17px 18px;margin:0 0 20px;background:#fff7d6;border:1px solid rgba(255,184,0,.38);border-radius:20px}.verify-store-note>.svg-icon{width:28px;color:#8a6200}.verify-store-note div{flex:1}.verify-store-note p{margin:4px 0 0;color:#6b5221}
.reward-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0 26px}.reward-grid.public-preview{margin-top:14px}
.reward-card{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid rgba(6,24,39,.08);border-radius:24px;padding:18px;box-shadow:0 12px 35px rgba(6,24,39,.07)}.reward-card-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:17px;background:#fff3c4;color:#8a6100;margin-bottom:14px}.reward-card-icon .svg-icon{width:27px}.reward-card-body{display:flex;flex-direction:column;flex:1}.reward-card h2{font-size:20px;margin:0 0 7px}.reward-card p{color:#64748b;line-height:1.5;margin:0 0 15px;flex:1}.reward-price{display:flex;align-items:baseline;gap:7px;margin-top:auto}.reward-price strong{font-size:29px;line-height:1;color:#061827}.reward-price span{font-size:13px;font-weight:950;color:#8a6100}
.reward-redeem{margin-top:16px;border-top:1px solid rgba(6,24,39,.08);padding-top:14px}.reward-redeem summary{list-style:none;cursor:pointer;width:100%;justify-content:center}.reward-redeem summary::-webkit-details-marker{display:none}.reward-redeem summary.disabled{cursor:not-allowed;opacity:.58}.reward-redeem form{display:grid;gap:9px;margin-top:13px}.reward-redeem textarea{width:100%;min-height:90px;resize:vertical;border:1px solid rgba(6,24,39,.16);border-radius:14px;padding:11px 12px;font:inherit;box-sizing:border-box}.reward-redeem label:not(.setting-check){font-weight:900}
.store-bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.store-history-card,.account-card{background:#fff;border:1px solid rgba(6,24,39,.08);border-radius:24px;padding:19px;box-shadow:0 12px 34px rgba(6,24,39,.06)}.store-history-card h2,.account-card h2{margin:0}.simple-history,.coin-history{display:grid}.simple-history>div,.coin-history>div{display:grid;grid-template-columns:auto 1fr;gap:3px 10px;padding:12px 0;border-bottom:1px solid rgba(6,24,39,.08)}.simple-history>div:last-child,.coin-history>div:last-child{border-bottom:0}.simple-history b,.coin-history b{align-self:center}.simple-history small,.coin-history small{grid-column:2;color:#64748b}.redemption-status,.coin-movement{grid-row:1/3;align-self:center;display:inline-flex;justify-content:center;min-width:78px;padding:7px 9px;border-radius:999px;font-size:12px;font-weight:950}.status-pending{background:#fff3c4;color:#765200}.status-approved{background:#dbeafe;color:#1d4ed8}.status-completed{background:#dcfce7;color:#166534}.status-rejected{background:#fee2e2;color:#991b1b}.coin-movement.plus{background:#dcfce7;color:#166534}.coin-movement.minus{background:#fee2e2;color:#991b1b}

.account-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:16px}.account-card form{display:grid;gap:8px}.account-card label:not(.setting-check){font-weight:900}.account-card h3{font-size:16px;margin:18px 0 2px}.email-state{display:flex;align-items:center;gap:7px;width:max-content;max-width:100%;padding:8px 11px;border-radius:999px;font-size:13px;font-weight:950;margin:3px 0 4px}.email-state .svg-icon{width:16px}.email-state.verified{background:#dcfce7;color:#166534}.email-state.pending{background:#fff3c4;color:#765200}.resend-form{margin-top:10px}.wallet-big{text-align:center;padding:22px;border-radius:22px;background:#061827;color:#fff;margin:15px 0}.wallet-big strong{display:block;font-size:52px;line-height:1;color:#ffbd17}.wallet-big span{font-weight:950}.account-card>.btn{margin-top:9px}

.weekly-reward-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#061827;color:#fff;border-radius:22px;padding:18px 20px;margin-bottom:20px}.weekly-reward-bar b{display:block;font-size:20px}.weekly-reward-bar>div>span{color:#c9d7e0;font-size:14px}.reward-chips{display:flex;gap:7px;flex-wrap:wrap}.reward-chips>span{display:inline-flex;gap:5px;align-items:center;padding:8px 10px;border-radius:999px;background:rgba(255,184,0,.14);border:1px solid rgba(255,184,0,.25);font-size:13px;font-weight:850;white-space:nowrap}.reward-chips b{font-size:inherit;color:#ffbd17}.round-chip{display:inline-flex;margin-top:12px;padding:8px 12px;border-radius:999px;background:rgba(255,184,0,.14);color:#ffcf4a;font-weight:950}.podium-meta{margin-top:10px;padding-top:9px;border-top:1px solid rgba(6,24,39,.09);font-weight:900}.podium-meta b{color:#805900}.honest-counter-note{text-align:center;color:#64748b;font-size:13px;font-weight:750;margin:14px 0 0}
.coin-rules-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:32px}.coin-rules-grid article{background:#fff;border:1px solid rgba(6,24,39,.08);border-radius:24px;padding:21px;box-shadow:0 12px 34px rgba(6,24,39,.06)}.coin-rules-grid article>.svg-icon{width:34px;color:#aa7600}.coin-rules-grid h2{font-size:21px;margin:13px 0 8px}.coin-rules-grid p{color:#64748b;line-height:1.55}.big-coin{display:block;font-size:25px;color:#8a6100;margin-top:14px}

.scan-coin-dashboard-card{display:flex;align-items:center;justify-content:space-between;text-decoration:none;color:#fff;background:linear-gradient(135deg,#061827,#123b58);border-radius:20px;padding:15px 17px;margin:12px 0;box-shadow:0 14px 30px rgba(6,24,39,.16)}.scan-coin-dashboard-card small{display:block;color:#c7d7e1;font-weight:850}.scan-coin-dashboard-card strong{font-size:30px;color:#ffbd17;margin-right:6px}.scan-coin-dashboard-card span{font-weight:950}.scan-coin-arrow{font-size:26px}.dashboard-email-prompt{display:flex;align-items:center;gap:11px;text-decoration:none;color:#061827;background:#fff7d6;border:1px solid rgba(255,184,0,.38);border-radius:18px;padding:13px 14px;margin:10px 0}.dashboard-email-prompt>.svg-icon{width:24px;color:#8a6100}.dashboard-email-prompt div{flex:1}.dashboard-email-prompt b,.dashboard-email-prompt small{display:block}.dashboard-email-prompt small{color:#705a2e;margin-top:2px}.coin-store-tile{background:linear-gradient(145deg,#fff8db,#fff)!important;border-color:rgba(255,184,0,.3)!important}

@media(max-width:900px){.reward-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.coin-rules-grid{grid-template-columns:1fr 1fr}.account-grid{grid-template-columns:1fr}.weekly-reward-bar{align-items:flex-start;flex-direction:column}.store-bottom-grid{grid-template-columns:1fr}}
@media(max-width:620px){.store-hero,.account-hero{display:block;padding:21px;border-radius:24px}.wallet-hero,.coin-balance-mini{margin-top:17px;min-width:0}.reward-grid,.coin-rules-grid{grid-template-columns:1fr}.verify-store-note{align-items:flex-start;flex-wrap:wrap}.verify-store-note .btn{width:100%;justify-content:center}.reward-card{border-radius:21px}.store-page.section,.account-page.section{padding-top:18px}.simple-history>div,.coin-history>div{grid-template-columns:1fr}.simple-history small,.coin-history small{grid-column:1}.redemption-status,.coin-movement{grid-row:auto;width:max-content;min-width:0}.weekly-reward-bar{border-radius:19px;padding:16px}.reward-chips{width:100%}.reward-chips>span{flex:1;justify-content:center}}
.scan-coin-home-prizes{grid-template-columns:1.35fr repeat(3,minmax(0,1fr))}.scan-coin-home-prizes>div:first-child{grid-row:span 2}.scan-coin-home-prizes>div:first-child h2{margin-bottom:12px}.scan-coin-home-prizes>div:first-child p{color:#d8e4ec;line-height:1.55}.scan-coin-home-prizes>div:first-child .btn{margin-top:8px}.scan-coin-home-prizes .prize-card{min-height:150px;padding:18px}.scan-coin-home-prizes .prize-card strong{font-size:31px}
@media(max-width:900px){.scan-coin-home-prizes{grid-template-columns:repeat(2,minmax(0,1fr))}.scan-coin-home-prizes>div:first-child{grid-column:1/-1;grid-row:auto}}
@media(max-width:560px){.scan-coin-home-prizes{grid-template-columns:1fr}.scan-coin-home-prizes>div:first-child{grid-column:auto}}

/* =========================================================
   ScanToWin V2.31 · Premium identity, Google username flow
   ========================================================= */
:root{--stw-navy:#061827;--stw-navy-2:#0b2d47;--stw-gold:#ffb800;--stw-gold-2:#ffd866;--stw-sky:#1189d6;--stw-ice:#edf7ff;--stw-line:rgba(6,24,39,.1);--stw-shadow:0 24px 70px rgba(6,24,39,.14)}

/* Premium authentication */
.premium-auth-page{position:relative;isolation:isolate;overflow:hidden;min-height:calc(100vh - 88px);padding:64px 0 80px;background:radial-gradient(circle at 8% 12%,rgba(17,137,214,.15),transparent 28%),radial-gradient(circle at 88% 78%,rgba(255,184,0,.18),transparent 25%),linear-gradient(145deg,#f8fbff 0%,#fffaf0 100%)}
.premium-auth-page:before{content:"";position:absolute;inset:0;z-index:-2;background-image:linear-gradient(rgba(6,24,39,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(6,24,39,.025) 1px,transparent 1px);background-size:38px 38px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.8),transparent 88%)}
.premium-auth-orb{position:absolute;border-radius:999px;filter:blur(2px);z-index:-1;pointer-events:none}.premium-auth-orb.orb-one{width:280px;height:280px;left:-90px;top:120px;background:linear-gradient(145deg,rgba(17,137,214,.2),rgba(17,137,214,.03))}.premium-auth-orb.orb-two{width:230px;height:230px;right:-70px;bottom:20px;background:linear-gradient(145deg,rgba(255,184,0,.24),rgba(255,184,0,.04))}
.premium-auth-shell{display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,.78fr);gap:34px;align-items:stretch;max-width:1080px}
.premium-auth-story{position:relative;overflow:hidden;border-radius:34px;padding:52px;background:radial-gradient(circle at 100% 0,rgba(255,184,0,.24),transparent 25%),linear-gradient(145deg,#061827,#0b2d47 68%,#0c3b5f);color:#fff;box-shadow:0 30px 85px rgba(6,24,39,.26);display:flex;flex-direction:column;justify-content:center;min-height:650px}
.premium-auth-story:after{content:"";position:absolute;width:250px;height:250px;border:1px solid rgba(255,255,255,.12);border-radius:50%;right:-80px;bottom:-80px;box-shadow:0 0 0 40px rgba(255,255,255,.025),0 0 0 80px rgba(255,255,255,.02)}
.premium-auth-story .eyebrow{color:var(--stw-gold-2);margin-top:28px}.premium-auth-story h1{position:relative;z-index:1;font-size:52px;line-height:1.02;letter-spacing:-2px;margin:10px 0 18px;max-width:620px}.premium-auth-story>p{position:relative;z-index:1;color:#d8e8f3;font-size:18px;line-height:1.65;max-width:590px;margin:0}
.auth-brand-chip{position:absolute;left:38px;top:34px;display:inline-flex;align-items:center;gap:9px;border:1px solid rgba(255,255,255,.15);background:rgba(255,255,255,.08);backdrop-filter:blur(12px);border-radius:999px;padding:10px 15px;font-weight:950;letter-spacing:.3px}.auth-brand-chip .svg-icon{color:var(--stw-gold);width:18px}
.auth-story-points{position:relative;z-index:1;display:grid;gap:13px;margin:30px 0}.auth-story-points>div{display:flex;align-items:flex-start;gap:13px;padding:13px 15px;border-radius:17px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.09);color:#f5fbff;font-weight:800;line-height:1.4}.auth-story-points .svg-icon{width:22px;height:22px;color:var(--stw-gold);margin-top:1px}.auth-story-points span{flex:1}
.auth-mini-wallet{position:relative;z-index:1;width:max-content;max-width:100%;display:flex;align-items:center;gap:13px;padding:14px 18px;border-radius:20px;background:linear-gradient(135deg,var(--stw-gold),#ffd866);color:#061827;box-shadow:0 18px 45px rgba(255,184,0,.2)}.auth-mini-wallet small,.auth-mini-wallet b{display:block}.auth-mini-wallet small{font-weight:850;opacity:.72}.auth-mini-wallet b{font-size:18px;margin-top:2px}.coin-symbol{width:38px;height:38px;border-radius:50%;display:inline-grid;place-items:center;background:linear-gradient(145deg,#ffe78e,#ffae00);color:#5b3900;font-weight:1000;border:3px solid rgba(255,255,255,.72);box-shadow:0 8px 20px rgba(255,184,0,.28)}.coin-symbol.large{width:48px;height:48px;font-size:22px}
.auth-story-link{position:relative;z-index:1;display:inline-flex;align-items:center;gap:10px;width:max-content;color:#fff;font-weight:950;margin-top:6px}.auth-story-link span{color:var(--stw-gold);font-size:22px;transition:.2s}.auth-story-link:hover span{transform:translateX(5px)}
.premium-auth-card{align-self:center;background:rgba(255,255,255,.94);backdrop-filter:blur(18px);border:1px solid rgba(255,255,255,.75);border-radius:32px;padding:38px;box-shadow:var(--stw-shadow);position:relative}.premium-auth-card:before{content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;background:linear-gradient(140deg,rgba(255,184,0,.48),rgba(17,137,214,.12),transparent 55%);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}.premium-auth-card .eyebrow{margin-top:12px}.premium-auth-card h2{font-size:37px;line-height:1.08;letter-spacing:-1px;margin:8px 0 10px}.premium-auth-card>p{color:#64748b;line-height:1.55;margin:0 0 23px}.auth-card-top-icon{position:absolute;right:30px;top:28px;width:52px;height:52px;border-radius:18px;display:grid;place-items:center;background:#061827;color:var(--stw-gold);box-shadow:0 14px 30px rgba(6,24,39,.16)}.auth-card-top-icon .svg-icon{width:25px;height:25px}
.premium-auth-card form>label:not(.auth-check){display:block;font-weight:950;font-size:14px;margin:14px 0 7px;color:#13293a}.premium-input-wrap{position:relative;display:flex;align-items:center;border:1.5px solid #dce5ec;border-radius:15px;background:#f9fbfd;transition:.2s}.premium-input-wrap:focus-within{border-color:var(--stw-gold);background:#fff;box-shadow:0 0 0 4px rgba(255,184,0,.13)}.premium-input-wrap>.svg-icon{position:absolute;left:14px;width:19px;height:19px;color:#718293;z-index:1}.premium-input-wrap .input{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;margin:0!important;padding:15px 46px 15px 44px;border-radius:15px}.premium-input-wrap.password-field .password-toggle{right:8px;top:50%;transform:translateY(-50%)}.premium-input-wrap.password-field .password-toggle:hover{transform:translateY(-50%) scale(1.04)}
.field-help{display:block;margin:7px 2px 4px;color:#718293;font-size:12.5px;line-height:1.4}.premium-submit{width:100%;min-height:54px;border-radius:15px;margin-top:18px;box-shadow:0 15px 32px rgba(255,184,0,.25);font-size:15px}.premium-check{margin:15px 0 2px;padding:12px 13px;background:#f8fafc;border:1px solid #e6ecf1;border-radius:14px}.auth-switch{text-align:center;margin:23px 0 0!important}.auth-switch a{color:#0877bd}.auth-forgot{text-align:right;margin:10px 2px 0}.auth-forgot a{color:#0877bd;font-weight:900;font-size:13px}
.btn-google.premium-google{width:100%;min-height:57px;border-radius:15px;border:1.5px solid #dce3e9;background:#fff;color:#061827;display:grid;grid-template-columns:34px 1fr;grid-template-rows:auto auto;text-align:left;padding:9px 14px;box-shadow:0 9px 24px rgba(6,24,39,.06)}.btn-google.premium-google .google-g{grid-row:1/3}.btn-google.premium-google>span:nth-child(2){font-size:14.5px;font-weight:950;align-self:end}.btn-google.premium-google small{font-size:11px;color:#718293;font-weight:750;align-self:start}.google-g{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:#fff;color:#4285f4;border:1px solid #e2e7eb;font-family:Arial,sans-serif;font-size:19px;font-weight:1000;box-shadow:0 5px 14px rgba(6,24,39,.08)}.auth-divider{display:flex;align-items:center;gap:12px;color:#94a3b8;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.6px;margin:18px 0}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:#e2e8f0;flex:1}
.connected-email{display:grid;grid-template-columns:38px 1fr 24px;align-items:center;gap:11px;border-radius:16px;background:#effaf3;border:1px solid #ccebd7;padding:12px 13px;margin:18px 0}.connected-email small,.connected-email b{display:block}.connected-email small{color:#4b705a;font-weight:800;font-size:11px}.connected-email b{font-size:13px;overflow-wrap:anywhere}.connected-email>.svg-icon{color:#16a34a}.auth-privacy-note{display:flex!important;align-items:flex-start;gap:8px;font-size:12px!important;color:#718293!important;margin:16px 0 0!important}.auth-privacy-note .svg-icon{width:15px;flex:0 0 auto;margin-top:2px}.google-story-icon{position:absolute;right:42px;top:35px}.google-story-icon .google-g{width:56px;height:56px;font-size:29px;border-radius:18px}.google-username-page .premium-auth-story{min-height:560px}

/* Premium How it works */
.how-premium-page{background:#fbfcfe}.how-premium-hero{position:relative;overflow:hidden;padding:88px 0 90px;background:radial-gradient(circle at 12% 15%,rgba(17,137,214,.3),transparent 24%),radial-gradient(circle at 84% 78%,rgba(255,184,0,.22),transparent 28%),linear-gradient(135deg,#04131f,#082943 58%,#0c456c);color:#fff}.how-premium-hero:after{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:44px 44px;mask-image:linear-gradient(to bottom,black,transparent)}.how-hero-glow{position:absolute;border-radius:50%;filter:blur(1px);pointer-events:none}.how-hero-glow.glow-a{width:390px;height:390px;right:-120px;top:-120px;border:1px solid rgba(255,255,255,.12);box-shadow:0 0 0 70px rgba(255,255,255,.025),0 0 0 140px rgba(255,255,255,.018)}.how-hero-glow.glow-b{width:180px;height:180px;left:-70px;bottom:-60px;background:rgba(255,184,0,.08)}
.how-premium-hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:1.03fr .97fr;gap:66px;align-items:center}.how-premium-copy .eyebrow{color:var(--stw-gold-2)}.how-premium-copy h1{font-size:62px;line-height:1.02;letter-spacing:-2.3px;margin:11px 0 20px;max-width:680px}.how-premium-copy>p{font-size:19px;line-height:1.65;color:#d8e9f5;max-width:650px}.how-premium-copy .hero-actions{margin-top:28px}.how-premium-copy .btn{min-height:54px;border-radius:15px}
.how-premium-badges{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:31px}.how-premium-badges>span{display:grid;grid-template-columns:27px 1fr;grid-template-rows:auto auto;column-gap:9px;padding:14px;border-radius:17px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.07);backdrop-filter:blur(10px)}.how-premium-badges .svg-icon{grid-row:1/3;color:var(--stw-gold);width:24px;height:24px;align-self:center}.how-premium-badges b{font-size:22px;line-height:1}.how-premium-badges small{font-size:10px;text-transform:uppercase;letter-spacing:.45px;color:#c9dae5;font-weight:850;margin-top:4px}
.how-game-preview{position:relative;border-radius:38px;padding:23px;background:linear-gradient(160deg,rgba(255,255,255,.16),rgba(255,255,255,.07));border:1px solid rgba(255,255,255,.18);box-shadow:0 38px 90px rgba(0,0,0,.35);backdrop-filter:blur(18px);transform:rotate(1.2deg)}.how-game-preview:before{content:"";position:absolute;inset:9px;border-radius:31px;border:1px solid rgba(255,255,255,.08);pointer-events:none}.preview-topbar{display:flex;align-items:center;justify-content:space-between;margin:2px 3px 18px}.preview-logo{font-size:18px;font-weight:1000;line-height:.9}.preview-logo span{color:var(--stw-gold)}.preview-live-dot{width:10px;height:10px;border-radius:50%;background:#43e27d;box-shadow:0 0 0 6px rgba(67,226,125,.12)}
.preview-wallet-card{position:relative;overflow:hidden;padding:20px;border-radius:24px;background:linear-gradient(135deg,#ffca39,#ffaf00);color:#061827;box-shadow:0 20px 40px rgba(255,184,0,.22)}.preview-wallet-card:after{content:"S";position:absolute;right:-12px;top:-25px;font-size:130px;font-weight:1000;color:rgba(255,255,255,.24)}.preview-wallet-card>small{font-weight:950;text-transform:uppercase;letter-spacing:.5px;font-size:10px}.preview-wallet-card>div{position:relative;z-index:1;display:flex;align-items:center;gap:10px;margin:7px 0}.preview-wallet-card strong{font-size:40px;line-height:1}.preview-wallet-card em{font-style:normal;font-weight:950}.preview-progress{height:8px!important;border-radius:99px;background:rgba(6,24,39,.16);overflow:hidden;margin-top:13px!important}.preview-progress span{height:100%;display:block;border-radius:inherit;background:#061827}.preview-wallet-card p{position:relative;z-index:1;font-size:11px;font-weight:850;margin:9px 0 0}
.preview-ranking-card{margin-top:15px;padding:17px;border-radius:24px;background:#fff;color:#061827;box-shadow:0 18px 42px rgba(0,0,0,.2)}.preview-card-head{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-bottom:11px}.preview-card-head b{font-size:15px}.preview-card-head span{padding:5px 8px;border-radius:999px;background:#eef6fb;color:#33708f;font-weight:900}.preview-rank-row{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:9px;padding:10px 7px;border-top:1px solid #eef2f5}.preview-rank-row span{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:#eef3f7;font-weight:1000}.preview-rank-row i{font-style:normal;font-weight:900}.preview-rank-row strong{font-size:12px;color:#765100}.preview-rank-row.first span{background:var(--stw-gold)}.preview-floating-coin{position:absolute;width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#ffe58b,#ffae00);border:4px solid rgba(255,255,255,.75);color:#5d3a00;font-weight:1000;font-size:24px;box-shadow:0 15px 30px rgba(0,0,0,.2);animation:stwCoinFloat 4s ease-in-out infinite}.preview-floating-coin.coin-one{right:-28px;top:90px}.preview-floating-coin.coin-two{left:-24px;bottom:68px;animation-delay:-2s;width:44px;height:44px;font-size:18px}@keyframes stwCoinFloat{0%,100%{transform:translateY(0) rotate(-7deg)}50%{transform:translateY(-13px) rotate(6deg)}}
.how-section{padding:82px 0}.how-section.compact{padding:58px 0}.premium-title{max-width:760px;margin:0 auto 40px;text-align:center}.premium-title h2{font-size:43px;line-height:1.1;letter-spacing:-1.3px;margin:8px 0 13px}.premium-title p{font-size:17px;line-height:1.65;color:#64748b;margin:0}.light-title h2{color:#fff}.light-title p{color:#c7d9e6}
.premium-flow{position:relative;display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.premium-flow .how-flow-card{position:relative;overflow:hidden;padding:27px 24px 24px;border-radius:25px;background:#fff;border:1px solid rgba(6,24,39,.07);box-shadow:0 17px 42px rgba(6,24,39,.07);transition:.25s}.premium-flow .how-flow-card:hover{transform:translateY(-6px);box-shadow:0 24px 55px rgba(6,24,39,.12)}.premium-flow .how-flow-card:before{content:attr(data-step);position:absolute;right:16px;top:9px;font-size:54px;font-weight:1000;color:#edf2f6;line-height:1}.premium-flow .mode-icon{position:relative;z-index:1;width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(145deg,var(--stw-gold),#ffd55a);color:#061827;box-shadow:0 13px 25px rgba(255,184,0,.2);margin-bottom:20px}.premium-flow .mode-icon .svg-icon{width:27px;height:27px}.premium-flow h3{font-size:19px;margin:0 0 9px}.premium-flow p{color:#64748b;line-height:1.55;margin:0}.premium-flow .flow-line{position:absolute;width:18px;height:2px;background:#dce4ea;right:-18px;top:55px;z-index:4}
.how-account-section{background:linear-gradient(180deg,#fbfcfe,#f1f7fb)}.how-account-panel{display:grid;grid-template-columns:.82fr 1.18fr;gap:48px;align-items:center;padding:48px;border-radius:34px;background:#fff;border:1px solid rgba(6,24,39,.07);box-shadow:0 25px 70px rgba(6,24,39,.09)}.how-account-copy h2{font-size:41px;line-height:1.08;letter-spacing:-1.2px;margin:8px 0 15px}.how-account-copy p{color:#64748b;line-height:1.65;font-size:17px;margin:0 0 23px}.how-account-copy .btn{border-radius:14px}.how-account-features{display:grid;gap:14px}.how-account-features article{display:grid;grid-template-columns:58px 1fr;gap:16px;align-items:center;padding:17px;border-radius:20px;background:#f7fafc;border:1px solid #e7edf2;transition:.2s}.how-account-features article:hover{transform:translateX(5px);border-color:rgba(255,184,0,.45);background:#fffdf6}.account-feature-icon{width:54px;height:54px;border-radius:17px;background:#061827;color:var(--stw-gold);display:grid;place-items:center}.account-feature-icon .svg-icon{width:25px;height:25px}.account-feature-icon.google-feature{background:#fff;border:1px solid #e1e6ea;color:#4285f4;font-size:24px;box-shadow:0 8px 20px rgba(6,24,39,.06)}.how-account-features h3{font-size:17px;margin:0 0 5px}.how-account-features p{color:#64748b;line-height:1.5;margin:0;font-size:14px}
.how-reward-system{position:relative;overflow:hidden;background:radial-gradient(circle at 0 100%,rgba(17,137,214,.18),transparent 30%),linear-gradient(145deg,#061827,#0a2f4a);color:#fff}.how-reward-system:before{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.08) 1px,transparent 1px);background-size:23px 23px;mask-image:linear-gradient(90deg,transparent,black,transparent)}.how-reward-system .container{position:relative}.season-engine{padding:30px;border-radius:32px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);backdrop-filter:blur(13px);box-shadow:0 28px 75px rgba(0,0,0,.22)}.season-engine-top{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:7px 7px 24px}.season-engine-top small,.season-engine-top strong{display:block}.season-engine-top small{color:#9eb7c8;font-weight:900;text-transform:uppercase;font-size:11px;letter-spacing:.6px}.season-engine-top strong{font-size:26px;margin-top:4px}.season-total{display:flex;align-items:center;gap:10px}.season-total b{font-size:38px;color:var(--stw-gold)}.season-total em{font-style:normal;font-weight:950}.round-track{display:grid;grid-template-columns:repeat(5,1fr);gap:13px}.round-card{position:relative;min-height:150px;padding:21px;border-radius:22px;background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.1);display:flex;flex-direction:column;justify-content:center;transition:.22s}.round-card:hover{transform:translateY(-4px);background:rgba(255,255,255,.11)}.round-card>span{font-size:11px;color:#b9cfdd;font-weight:900;text-transform:uppercase}.round-card>b{font-size:42px;color:#fff;line-height:1;margin:9px 0 4px}.round-card>small{font-weight:900;color:var(--stw-gold)}.round-card>em{position:absolute;right:12px;top:12px;padding:5px 8px;border-radius:999px;background:var(--stw-gold);color:#061827;font-size:9px;font-style:normal;font-weight:1000;text-transform:uppercase}.round-card.active{background:linear-gradient(145deg,#ffcb3e,#ffad00);border-color:#ffdb6e;color:#061827;box-shadow:0 18px 38px rgba(255,184,0,.2)}.round-card.active>span,.round-card.active>small{color:#533500}.round-card.active>b{color:#061827}.round-card.raffle-round{background:linear-gradient(145deg,rgba(17,137,214,.34),rgba(17,137,214,.16))}.round-card.raffle-round>em{background:#fff;color:#1189d6;width:31px;height:31px;display:grid;place-items:center;padding:0}.round-card.raffle-round>em .svg-icon{width:17px}.top-five-payout{display:grid;grid-template-columns:.8fr 1.2fr;gap:22px;align-items:center;margin-top:22px;padding:23px;border-radius:24px;background:#fff;color:#061827}.top-five-payout h3{font-size:22px;margin:0 0 7px}.top-five-payout p{color:#64748b;line-height:1.5;margin:0}.payout-pills{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.payout-pills span{padding:11px 8px;text-align:center;border-radius:15px;background:#f2f6f9;border:1px solid #e2e9ee}.payout-pills small,.payout-pills b{display:block}.payout-pills small{font-size:9px;color:#7b8c99;font-weight:1000}.payout-pills b{font-size:19px;color:#825900;margin-top:3px}
.premium-mode-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.premium-mode-grid .how-mode-card{position:relative;overflow:hidden;border-radius:28px;padding:28px;background:#fff;border:1px solid rgba(6,24,39,.08);box-shadow:0 18px 48px rgba(6,24,39,.08);transition:.25s}.premium-mode-grid .how-mode-card:hover{transform:translateY(-6px);box-shadow:0 27px 65px rgba(6,24,39,.13)}.premium-mode-grid .how-mode-card.featured{background:radial-gradient(circle at 100% 0,rgba(255,184,0,.27),transparent 32%),#fff;border-color:rgba(255,184,0,.45)}.mode-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.premium-mode-grid .mode-icon{width:62px;height:62px;border-radius:20px;display:grid;place-items:center;background:#061827;color:var(--stw-gold)}.premium-mode-grid .mode-icon .svg-icon,.premium-mode-grid .mode-icon img{width:30px;height:30px}.mode-card-top>span{padding:7px 10px;border-radius:999px;background:#eef5f9;color:#4f7185;font-size:10px;font-weight:1000;text-transform:uppercase}.premium-mode-grid h3{font-size:22px;margin:21px 0 9px}.premium-mode-grid p{color:#64748b;line-height:1.6;margin:0 0 22px}.mode-card-footer{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:950;color:#315c72}.mode-card-footer .svg-icon{width:17px;color:var(--stw-gold)}
.how-store-section{background:linear-gradient(180deg,#fff,#f5f9fc)}.how-store-panel{display:grid;grid-template-columns:1fr 1fr;gap:58px;align-items:center;padding:52px;border-radius:36px;background:radial-gradient(circle at 0 100%,rgba(17,137,214,.18),transparent 32%),linear-gradient(145deg,#061827,#0b314d);color:#fff;box-shadow:0 30px 75px rgba(6,24,39,.2)}.how-store-visual{position:relative;min-height:370px}.store-demo-card{position:absolute;width:235px;padding:20px;border-radius:23px;background:#fff;color:#061827;box-shadow:0 22px 48px rgba(0,0,0,.28);display:grid;grid-template-columns:46px 1fr;grid-template-rows:auto auto;column-gap:12px}.store-demo-card>span{grid-row:1/3;width:45px;height:45px;border-radius:15px;display:grid;place-items:center;background:#061827;color:var(--stw-gold)}.store-demo-card b{font-size:16px;align-self:end}.store-demo-card small{color:#64748b;font-weight:850;align-self:start;margin-top:4px}.store-demo-card.paypal{left:5px;top:25px;transform:rotate(-5deg)}.store-demo-card.amazon{right:5px;top:118px;transform:rotate(5deg)}.store-demo-card.steam{left:40px;bottom:15px;transform:rotate(-1deg)}.store-demo-wallet{position:absolute;right:14px;bottom:5px;display:flex;align-items:center;gap:11px;padding:12px 16px;border-radius:18px;background:linear-gradient(135deg,var(--stw-gold),#ffd55e);color:#061827;box-shadow:0 16px 35px rgba(255,184,0,.24)}.store-demo-wallet small,.store-demo-wallet b{display:block}.store-demo-wallet small{font-size:10px;font-weight:850}.how-store-copy .eyebrow{color:var(--stw-gold-2)}.how-store-copy h2{font-size:43px;line-height:1.08;letter-spacing:-1.3px;margin:8px 0 15px}.how-store-copy>p{color:#cedee9;font-size:17px;line-height:1.65}.store-rules-list{display:grid;gap:11px;margin:23px 0}.store-rules-list>div{display:flex;align-items:flex-start;gap:10px;color:#f2f8fc;font-weight:800;line-height:1.45}.store-rules-list .svg-icon{width:20px;flex:0 0 auto;color:var(--stw-gold);margin-top:1px}.how-store-copy .btn{border-radius:14px;margin-top:5px}
.how-value-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.how-value-grid article{padding:27px;border-radius:25px;background:#fff;border:1px solid rgba(6,24,39,.07);box-shadow:0 16px 42px rgba(6,24,39,.07)}.how-value-grid article>span{width:52px;height:52px;border-radius:17px;display:grid;place-items:center;background:#fff3c5;color:#6e4a00}.how-value-grid article>span .svg-icon{width:25px}.how-value-grid h3{font-size:19px;margin:18px 0 8px}.how-value-grid p{color:#64748b;line-height:1.58;margin:0}.premium-how-cta{position:relative;overflow:hidden;border-radius:34px;padding:43px 46px;background:radial-gradient(circle at 90% 0,rgba(255,255,255,.34),transparent 26%),linear-gradient(135deg,#ffcb3d,#ffad00);color:#061827;box-shadow:0 25px 65px rgba(255,184,0,.22)}.premium-how-cta:after{content:"S";position:absolute;right:20px;bottom:-78px;font-size:230px;font-weight:1000;color:rgba(255,255,255,.22);pointer-events:none}.premium-how-cta>div{position:relative;z-index:1}.premium-how-cta .eyebrow{color:#684500}.premium-how-cta h2{font-size:39px;margin:8px 0}.premium-how-cta p{max-width:680px;font-weight:750;line-height:1.5}.premium-how-cta .btn-glass{background:#fff!important}

/* Premium polish for reward store, profile and ranking */
.store-page,.account-page,.ranking-page{background:linear-gradient(180deg,#f6f9fc,#fff)}.store-hero,.account-hero{position:relative;overflow:hidden;border-radius:32px!important;padding:34px 38px!important;background:radial-gradient(circle at 100% 0,rgba(255,184,0,.25),transparent 30%),linear-gradient(145deg,#061827,#0b314d)!important;color:#fff!important;box-shadow:0 25px 65px rgba(6,24,39,.2)!important}.store-hero:after,.account-hero:after{content:"S";position:absolute;right:22px;bottom:-86px;font-size:210px;font-weight:1000;color:rgba(255,255,255,.06)}.store-hero>*,.account-hero>*{position:relative;z-index:1}.store-hero h1,.account-hero h1{font-size:45px!important;letter-spacing:-1.4px!important}.store-hero p,.account-hero p{color:#cfe0eb!important}.store-hero .eyebrow,.account-hero .eyebrow{color:var(--stw-gold-2)!important}.wallet-hero,.coin-balance-mini{background:linear-gradient(145deg,#ffcd43,#ffad00)!important;color:#061827!important;border:0!important;box-shadow:0 16px 38px rgba(255,184,0,.24)!important}.wallet-hero small,.coin-balance-mini small,.wallet-hero span,.coin-balance-mini span{color:#5e4100!important}
.reward-grid{gap:22px!important}.reward-card{position:relative;overflow:hidden;border-radius:27px!important;border:1px solid rgba(6,24,39,.08)!important;box-shadow:0 18px 48px rgba(6,24,39,.08)!important;transition:.25s!important}.reward-card:after{content:"";position:absolute;right:-42px;top:-42px;width:120px;height:120px;border-radius:50%;background:rgba(255,184,0,.1)}.reward-card:hover{transform:translateY(-7px)!important;box-shadow:0 28px 65px rgba(6,24,39,.14)!important}.reward-card-icon{background:linear-gradient(145deg,#061827,#123c5a)!important;color:var(--stw-gold)!important;box-shadow:0 13px 28px rgba(6,24,39,.18)!important}.reward-price{border-radius:17px!important;background:linear-gradient(135deg,#fff6d5,#fff)!important;border:1px solid rgba(255,184,0,.28)!important}.reward-redeem summary{border-radius:14px!important}.verify-store-note,.store-history-card,.account-card{border-radius:25px!important;border:1px solid rgba(6,24,39,.08)!important;box-shadow:0 16px 42px rgba(6,24,39,.07)!important}.account-card{padding:28px!important}.wallet-big{position:relative;overflow:hidden;background:radial-gradient(circle at 100% 0,rgba(255,184,0,.18),transparent 30%),linear-gradient(145deg,#061827,#123b58)!important}.wallet-big:after{content:"S";position:absolute;right:-8px;bottom:-50px;font-size:145px;font-weight:1000;color:rgba(255,255,255,.06)}.wallet-big>*{position:relative;z-index:1}
.ranking-hero{position:relative;overflow:hidden;background:radial-gradient(circle at 82% 18%,rgba(255,184,0,.2),transparent 25%),linear-gradient(145deg,#061827,#0b314d)!important}.ranking-hero:after{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.08) 1px,transparent 1px);background-size:22px 22px;mask-image:linear-gradient(90deg,transparent,black,transparent)}.ranking-hero .container{position:relative;z-index:1}.ranking-stat{background:rgba(255,255,255,.09)!important;backdrop-filter:blur(12px);border-radius:25px!important}.weekly-reward-bar{border-radius:23px!important;box-shadow:0 16px 42px rgba(6,24,39,.08)!important}.podium-card{border-radius:30px!important}.leaderboard-card{border-radius:30px!important;box-shadow:0 24px 65px rgba(6,24,39,.1)!important}.leader-row{border-radius:17px!important;margin:8px 0!important;border:1px solid #edf1f4!important;transition:.2s}.leader-row:hover{transform:translateX(5px);border-color:rgba(255,184,0,.4)!important}.leader-avatar{background:linear-gradient(145deg,#061827,#17445f)!important;color:var(--stw-gold)!important}

@media(max-width:980px){
 .premium-auth-shell{grid-template-columns:1fr;max-width:720px}.premium-auth-story{min-height:470px;padding:46px}.premium-auth-story h1{font-size:45px}.premium-auth-card{max-width:620px;width:100%;margin:-70px auto 0;z-index:2}.how-premium-hero-grid{grid-template-columns:1fr;gap:48px}.how-premium-copy{text-align:center}.how-premium-copy>p{margin-left:auto;margin-right:auto}.how-premium-copy .hero-actions{justify-content:center}.how-game-preview{max-width:590px;width:100%;margin:auto;transform:none}.premium-flow{grid-template-columns:1fr 1fr}.premium-flow .how-flow-card:nth-child(2) .flow-line{display:none}.how-account-panel,.how-store-panel{grid-template-columns:1fr}.round-track{grid-template-columns:repeat(3,1fr)}.top-five-payout{grid-template-columns:1fr}.premium-mode-grid{grid-template-columns:1fr}.how-value-grid{grid-template-columns:1fr 1fr}.how-store-visual{max-width:590px;width:100%;margin:auto}
}
@media(max-width:680px){
 .premium-auth-page{padding:24px 0 48px;min-height:auto}.premium-auth-page .container{padding:0 14px}.premium-auth-story{min-height:390px;padding:82px 24px 95px;border-radius:26px}.premium-auth-story h1{font-size:36px;letter-spacing:-1.3px}.premium-auth-story>p{font-size:16px}.auth-brand-chip{left:22px;top:22px}.auth-story-points{gap:9px;margin:22px 0}.auth-story-points>div{padding:11px 12px;font-size:13px}.auth-mini-wallet{display:none}.premium-auth-card{margin:-70px 10px 0;width:auto;padding:26px 20px;border-radius:25px}.premium-auth-card h2{font-size:31px;padding-right:45px}.auth-card-top-icon{right:20px;top:20px;width:44px;height:44px}.google-story-icon{right:22px;top:22px}.google-story-icon .google-g{width:46px;height:46px}.how-premium-hero{padding:58px 0 64px}.how-premium-copy h1{font-size:40px;letter-spacing:-1.5px}.how-premium-copy>p{font-size:16px}.how-premium-badges{grid-template-columns:1fr}.how-game-preview{padding:15px;border-radius:28px}.preview-floating-coin{display:none}.premium-title h2{font-size:33px}.how-section{padding:58px 0}.how-section.compact{padding:42px 0}.premium-flow{grid-template-columns:1fr}.premium-flow .flow-line{display:none}.how-account-panel{padding:26px 20px;border-radius:26px}.how-account-copy h2{font-size:32px}.how-account-features article{grid-template-columns:48px 1fr;padding:14px}.account-feature-icon{width:46px;height:46px}.season-engine{padding:17px;border-radius:25px}.season-engine-top{align-items:flex-start;flex-direction:column}.round-track{grid-template-columns:1fr 1fr}.round-card{min-height:125px;padding:16px}.round-card>b{font-size:34px}.top-five-payout{padding:18px}.payout-pills{grid-template-columns:repeat(5,minmax(54px,1fr));overflow-x:auto;padding-bottom:5px}.premium-mode-grid .how-mode-card{padding:23px}.how-store-panel{padding:30px 20px;border-radius:27px;gap:34px}.how-store-visual{min-height:425px}.store-demo-card{width:215px}.store-demo-card.paypal{left:0}.store-demo-card.amazon{right:0;top:135px}.store-demo-card.steam{left:8px;bottom:40px}.store-demo-wallet{right:0;bottom:0}.how-store-copy h2{font-size:34px}.how-value-grid{grid-template-columns:1fr}.premium-how-cta{padding:30px 22px;border-radius:27px}.premium-how-cta h2{font-size:32px}.premium-how-cta .how-cta-actions{display:grid;width:100%}.premium-how-cta .btn{width:100%}.store-hero,.account-hero{padding:26px 22px!important;border-radius:25px!important}.store-hero h1,.account-hero h1{font-size:35px!important}.reward-grid{grid-template-columns:1fr!important}
}

/* ===== V2.32 contrast fixes ===== */
body, .card, .store-history-card, .account-card, .reward-card, .how-account-panel, .how-value-grid article{
  color:#061827;
}
.premium-auth-card,
.premium-auth-card h2,
.premium-auth-card label,
.premium-auth-card b,
.store-history-card h2,
.account-card h2,
.reward-card h2,
.how-account-copy h2,
.how-value-grid h3,
.section-head h2,
.section-head a{
  color:#061827!important;
}
.premium-auth-card>p,
.field-help,
.referral-mini-note,
.auth-switch,
.auth-switch span,
.auth-check span,
.setting-check span,
.verify-store-note p,
.reward-card p,
.simple-history small,
.coin-history small,
.store-hero p,
.account-hero p,
.how-account-copy p,
.how-account-features p,
.how-value-grid p,
.podium-meta,
.honest-counter-note,
.empty-state,
.empty-chat,
.empty-chat p{
  color:#43566a!important;
}
.premium-auth-story>p,
.auth-story-points>div,
.auth-story-link,
.how-store-copy>p,
.store-rules-list>div,
.raffle-head p,
.raffle-card p{
  color:#e7f1f8!important;
}
.premium-auth-story .eyebrow,
.premium-auth-card .eyebrow,
.store-hero .eyebrow,
.account-hero .eyebrow,
.how-store-copy .eyebrow{
  color:#ffcf4a!important;
}
.premium-input-wrap{
  background:#ffffff!important;
  border-color:#cfd9e3!important;
}
.premium-input-wrap>.svg-icon,
.field-help .svg-icon,
.password-toggle,
.reward-price span,
.wallet-hero small,
.coin-balance-mini small,
.wallet-hero span,
.coin-balance-mini span{
  color:#5b6d7f!important;
}
.premium-input-wrap .input,
.input,
select,
textarea{
  color:#061827!important;
}
.premium-input-wrap .input::placeholder,
.input::placeholder,
textarea::placeholder{
  color:#6f8192!important;
  opacity:1;
}
.password-toggle{
  background:#eef3f7!important;
}
.password-toggle:hover{
  background:#061827!important;
  color:#ffffff!important;
}
.btn-outline,
.reward-redeem summary.btn-outline,
.btn-google{
  color:#061827!important;
}
.verify-store-note,
.dashboard-email-prompt,
.premium-check,
.reward-price,
.status-pending,
.email-state.pending{
  color:#4e3a06!important;
}
.coin-history b,
.simple-history b,
.verify-store-note b,
.empty-chat b,
.empty-state b{
  color:#061827!important;
}
.store-demo-card small,
.wallet-big span,
.scan-coin-dashboard-card small,
.weekly-reward-bar>div>span{
  color:#d7e5ef!important;
}
.wallet-big,
.scan-coin-dashboard-card,
.weekly-reward-bar,
.store-hero,
.account-hero,
.ranking-hero,
.how-store-panel,
.premium-auth-story,
.messages-hero,
.raffle-section{
  color:#ffffff!important;
}
.store-hero p,
.account-hero p,
.ranking-hero p,
.weekly-reward-bar>div>span,
.wallet-big small,
.wallet-big span,
.scan-coin-dashboard-card small,
.scan-coin-dashboard-card span{
  color:#d7e5ef!important;
}
.wallet-hero small,
.coin-balance-mini small,
.wallet-hero span,
.coin-balance-mini span{
  color:#5e4100!important;
}

/* ===== V2.33 visible Scan Coins balance ===== */
.wallet-hero strong,
.coin-balance-mini strong{
  display:block!important;
  color:#061827!important;
  font-size:48px!important;
  line-height:1!important;
  font-weight:1000!important;
  margin:8px 0 7px!important;
  letter-spacing:-1.5px!important;
  text-shadow:0 1px 0 rgba(255,255,255,.28)!important;
  opacity:1!important;
  visibility:visible!important;
}
.wallet-hero{
  min-width:205px!important;
}
@media(max-width:680px){
  .wallet-hero strong,
  .coin-balance-mini strong{font-size:42px!important;}
}

/* ===== V2.34 mobile auth first + dashboard language code ===== */
/* The dashboard language control must show ES, EN, LT... without a globe overlay. */
.dashboard-lang-select::after,
.dashboard-lang-select:after{
  content:none!important;
  display:none!important;
}
.dashboard-lang-select .stw-lang-button{
  color:#061827!important;
}
.dashboard-lang-select .stw-lang-code{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#061827!important;
  font-size:14px!important;
  font-weight:1000!important;
  line-height:1!important;
  letter-spacing:.2px!important;
}

@media(max-width:680px){
  /* Login/register are action pages: show the form immediately. */
  body.page-login .premium-auth-story,
  body.page-register .premium-auth-story{
    display:none!important;
  }
  body.page-login .premium-auth-page,
  body.page-register .premium-auth-page{
    min-height:calc(100dvh - 94px)!important;
    padding:14px 0 28px!important;
    background:linear-gradient(180deg,#eef8ff 0,#f8fbfd 52%,#fff 100%)!important;
  }
  body.page-login .premium-auth-shell,
  body.page-register .premium-auth-shell{
    display:block!important;
    max-width:620px!important;
    padding:0 14px!important;
  }
  body.page-login .premium-auth-card,
  body.page-register .premium-auth-card{
    width:100%!important;
    max-width:none!important;
    margin:0 auto!important;
    padding:25px 20px 28px!important;
    border-radius:27px!important;
    box-shadow:0 18px 48px rgba(6,24,39,.12)!important;
  }
  body.page-login .premium-auth-card h2,
  body.page-register .premium-auth-card h2{
    font-size:34px!important;
    margin-top:7px!important;
  }
  body.page-login .premium-auth-card>p,
  body.page-register .premium-auth-card>p{
    margin-bottom:18px!important;
    font-size:15px!important;
  }
  body.page-login .auth-card-top-icon,
  body.page-register .auth-card-top-icon{
    width:46px!important;
    height:46px!important;
    right:18px!important;
    top:18px!important;
  }
  body.page-login .premium-google,
  body.page-register .premium-google{
    min-height:58px!important;
  }
  body.page-login .stw-public-mobile-nav,
  body.page-register .stw-public-mobile-nav{
    display:none!important;
  }
  body.page-login .footer,
  body.page-register .footer{
    display:none!important;
  }
  body.page-login,
  body.page-register{
    padding-bottom:0!important;
  }

  .dashboard-lang-select .stw-lang-button{
    width:58px!important;
    height:58px!important;
    border-radius:20px!important;
  }
  .dashboard-lang-select .stw-lang-code{
    font-size:16px!important;
  }
}


/* ===== V2.35 public prizes + reward images ===== */
.reward-media{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#eef3f7;color:#061827}
.reward-media.has-image{background:#fff}.reward-media.has-image img{width:100%;height:100%;object-fit:contain;display:block;padding:14px}
.reward-fallback{flex-direction:column;gap:4px;text-align:center}.reward-fallback b{font-size:24px;letter-spacing:-.5px}.reward-fallback small{font-size:11px;font-weight:900;letter-spacing:.7px;text-transform:uppercase;opacity:.72}.reward-brand-mark{width:55px;height:55px;border-radius:18px;display:grid;place-items:center;background:rgba(255,255,255,.9);font-size:30px;font-weight:1000;box-shadow:0 10px 25px rgba(6,24,39,.13)}
.reward-brand-paypal{background:linear-gradient(135deg,#e8f5ff,#b7ddff);color:#063b7a}.reward-brand-amazon{background:linear-gradient(135deg,#fff7e5,#ffd37c);color:#111827}.reward-brand-steam{background:linear-gradient(135deg,#173d5d,#071927);color:#fff}.reward-brand-bizum{background:linear-gradient(135deg,#e6fff9,#74ecd4);color:#083c37}.reward-brand-cash{background:linear-gradient(135deg,#e9fff0,#8ee3a7);color:#124e27}.reward-brand-experience{background:linear-gradient(135deg,#fff0fb,#dca6ff);color:#52216e}.reward-brand-gift-card{background:linear-gradient(135deg,#fff8dc,#ffca39);color:#5c3b00}.reward-brand-other{background:linear-gradient(135deg,#eaf7ff,#a7dff8);color:#06304a}
.reward-card.has-media{padding:0!important}.reward-card.has-media>.reward-media{height:175px;border-radius:26px 26px 0 0}.reward-card-content{display:flex;flex-direction:column;flex:1;padding:19px}.reward-card-content .reward-card-icon{display:none}.reward-card-content .reward-redeem{margin-top:15px}.reward-type-line{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.reward-type-line span{font-size:11px;font-weight:1000;text-transform:uppercase;letter-spacing:.6px;color:#7a5600}.reward-type-line small{font-weight:850;color:#64748b}
.prize-catalog-hero .ranking-hero-card{align-items:center}.prize-catalog-page{background:linear-gradient(180deg,#f6f9fc,#fff)}.prize-catalog-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin:8px 0 22px}.prize-catalog-heading h2{font-size:38px;margin:7px 0 8px;letter-spacing:-1px}.prize-catalog-heading p{max-width:720px;margin:0;color:#526577;font-weight:750;line-height:1.55}.catalog-wallet{min-width:175px;text-align:center;padding:15px 18px;border-radius:20px;background:#061827;color:#fff;box-shadow:0 14px 34px rgba(6,24,39,.15)}.catalog-wallet small,.catalog-wallet span{display:block;color:#d8e7f0;font-weight:850}.catalog-wallet strong{display:block;font-size:33px;color:#ffbd17;line-height:1.05;margin:3px 0}.prize-public-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.prize-public-grid .reward-card{min-height:430px}.prize-public-grid .reward-card-body{display:flex;flex-direction:column;flex:1}.prize-public-grid .reward-card-content>.btn{margin-top:18px}
@media(max-width:900px){.prize-public-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.prize-catalog-heading{align-items:stretch}.catalog-wallet{display:flex;align-items:center;justify-content:center;flex-direction:column}}
@media(max-width:620px){.prize-catalog-heading{display:block}.catalog-wallet{margin-top:16px}.prize-public-grid{grid-template-columns:1fr}.reward-card.has-media>.reward-media{height:190px}.prize-catalog-heading h2{font-size:31px}.prize-public-grid .reward-card{min-height:0}}

/* ===== V2.36 desktop auth story icon fix (login + register only) ===== */
@media (min-width:981px){
  .login-premium-page .auth-story-points>div,
  .register-premium-page .auth-story-points>div{
    align-items:center!important;
    gap:17px!important;
    min-height:76px;
    padding:14px 18px!important;
  }

  .login-premium-page .auth-story-points .svg-icon,
  .register-premium-page .auth-story-points .svg-icon{
    display:grid!important;
    place-items:center!important;
    flex:0 0 48px!important;
    width:48px!important;
    height:48px!important;
    margin:0!important;
    padding:12px!important;
    border-radius:15px!important;
    background:linear-gradient(145deg,#ffd34f,#ffb000)!important;
    color:#061827!important;
    box-shadow:0 12px 26px rgba(255,184,0,.22)!important;
  }

  .login-premium-page .auth-story-points .svg-icon svg,
  .register-premium-page .auth-story-points .svg-icon svg{
    width:25px!important;
    height:25px!important;
    fill:currentColor!important;
  }

  .login-premium-page .auth-story-points span,
  .register-premium-page .auth-story-points span{
    font-size:15px!important;
    line-height:1.42!important;
  }
}

/* ===== V2.37: misiones diarias + localizar a Scan ===== */
.map-actions{flex-wrap:wrap}
.rf-dot.daily{background:#16a34a!important;box-shadow:0 0 0 4px rgba(22,163,74,.18)!important}
.stw-marker-v2.daily-mission-marker span{
  border-color:#22c55e!important;
  box-shadow:0 16px 30px rgba(7,25,39,.28),0 0 0 7px rgba(34,197,94,.28)!important;
}
.stw-marker-v2.daily-mission-marker span:before{
  content:"";
  position:absolute;
  inset:-11px;
  border:3px solid rgba(34,197,94,.78);
  border-radius:25px 25px 25px 11px;
  animation:stwDailyMissionPulse 1.9s ease-out infinite;
  pointer-events:none;
}
@keyframes stwDailyMissionPulse{0%{transform:scale(.88);opacity:.95}100%{transform:scale(1.2);opacity:0}}
.stw-stable-cluster.daily-mission-cluster{
  border-color:#22c55e!important;
  box-shadow:0 0 0 7px rgba(34,197,94,.2),0 10px 26px rgba(6,24,39,.34)!important;
}
.map-point-card-pro.daily-mission-card{
  border-color:rgba(22,163,74,.4)!important;
  box-shadow:0 16px 38px rgba(22,163,74,.12)!important;
}
.map-point-card-pro.daily-mission-card:before{background:#16a34a!important}
.daily-mission-line{
  grid-column:2;
  display:inline-flex;
  width:max-content;
  max-width:100%;
  margin:2px 0 4px;
  padding:5px 9px;
  border-radius:999px;
  background:#dcfce7;
  color:#166534!important;
  font-size:11px!important;
  font-weight:1000!important;
  font-style:normal;
  text-transform:uppercase;
  letter-spacing:.035em;
}
.popup-daily-mission{
  display:inline-flex;
  margin:0 0 9px;
  padding:6px 10px;
  border-radius:999px;
  background:#dcfce7;
  color:#166534;
  font-size:11px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.04em;
}
#locateScanBtn{border-color:rgba(22,163,74,.48)!important}
#locateScanBtn .svg-icon{color:#16a34a!important}
#locateScanBtn:hover{background:#ecfdf5!important}
@media(max-width:760px){
  .map-actions{grid-template-columns:1fr 1fr!important}
  #locateBtn,#locateScanBtn{display:inline-flex!important}
  .stw-marker-v2.daily-mission-marker span{box-shadow:0 12px 24px rgba(7,25,39,.26),0 0 0 6px rgba(34,197,94,.28)!important}
}

/* === ScanToWin V2.38: unified user dashboard + cleaner logged-in home === */
.dashboard-body-v238{
  min-height:100vh;
  background:
    radial-gradient(circle at 8% 4%,rgba(17,137,214,.16),transparent 24%),
    radial-gradient(circle at 94% 8%,rgba(255,184,0,.14),transparent 22%),
    linear-gradient(180deg,#eef6fb 0,#f7f9fc 360px,#f7f9fc 100%);
}
.dashboard-app-v238{
  display:block!important;
  min-height:100vh;
  background:transparent!important;
}
.dashboard-app-v238 .main.app-main{
  width:100%;
  max-width:1240px!important;
  margin:0 auto!important;
  padding:28px 30px 58px!important;
}
.dashboard-topbar-v238{
  display:grid!important;
  grid-template-columns:auto minmax(300px,1fr) auto;
  align-items:center;
  gap:18px;
  margin:0 0 22px!important;
  padding:0!important;
}
.dashboard-brand-v238{
  display:flex;
  align-items:center;
  gap:10px;
  color:#061827;
  font-weight:1000;
  line-height:.92;
  letter-spacing:-.3px;
}
.dashboard-brand-v238 img{width:48px;height:48px;display:block}
.dashboard-brand-v238 b{font-size:20px}.dashboard-brand-v238 span{color:#ffb800}
.dashboard-topbar-v238 .hello-card{
  display:flex!important;
  align-items:center!important;
  gap:13px!important;
  min-width:0!important;
  max-width:620px;
  margin:0 auto;
  width:100%;
  background:rgba(255,255,255,.94)!important;
  border:1px solid rgba(6,24,39,.07)!important;
  border-radius:22px!important;
  padding:11px 14px!important;
  box-shadow:0 14px 40px rgba(6,24,39,.07)!important;
}
.dashboard-topbar-v238 .hello-avatar{
  width:48px;height:48px;border-radius:16px;display:grid;place-items:center;
  flex:0 0 48px;background:linear-gradient(135deg,#ffcf32,#ffae00);color:#061827;
  font-size:22px;font-weight:1000;box-shadow:0 12px 26px rgba(255,184,0,.24);
}
.dashboard-topbar-v238 .hello-card>div:last-child{min-width:0}
.dashboard-topbar-v238 .hello-card small,
.dashboard-topbar-v238 .hello-card b,
.dashboard-topbar-v238 .hello-card span{display:block}
.dashboard-topbar-v238 .hello-card small{font-size:12px;color:#64748b;font-weight:900}
.dashboard-topbar-v238 .hello-card b{font-size:19px;color:#061827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dashboard-topbar-v238 .hello-card span{font-size:12px;color:#64748b;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dashboard-topbar-v238 .dashboard-top-actions{display:flex!important;align-items:center!important;gap:10px!important}
.dashboard-topbar-v238 .round-btn{width:48px;height:48px;border-radius:16px}

.dashboard-app-v238 .phone-dashboard.dashboard-home-v238{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.dashboard-alert-v238{border-radius:18px!important;box-shadow:0 12px 30px rgba(6,24,39,.06)}
.dashboard-overview-v238{
  display:grid;
  grid-template-columns:1.18fr .91fr .91fr;
  gap:16px;
  margin-bottom:18px;
}
.dashboard-overview-card-v238{
  position:relative;
  overflow:hidden;
  min-height:178px;
  border-radius:28px;
  padding:22px;
  display:flex;
  flex-direction:column;
  color:#061827;
  border:1px solid rgba(6,24,39,.07);
  box-shadow:0 20px 52px rgba(6,24,39,.08);
  transition:.2s ease;
}
.dashboard-overview-card-v238:hover{transform:translateY(-3px);box-shadow:0 26px 60px rgba(6,24,39,.12)}
.dashboard-overview-card-v238:after{
  content:"";position:absolute;right:-42px;top:-48px;width:150px;height:150px;border-radius:50%;
  background:rgba(255,255,255,.24);pointer-events:none;
}
.dashboard-overview-card-v238 small{font-weight:1000;text-transform:uppercase;letter-spacing:.45px;font-size:12px;opacity:.72;margin-top:auto}
.dashboard-overview-card-v238 strong{font-size:48px;line-height:1;margin:7px 0 10px;letter-spacing:-1.4px}
.overview-icon-v238{width:50px;height:50px;border-radius:17px;display:grid;place-items:center;margin-bottom:18px;position:relative;z-index:1}
.overview-icon-v238 .svg-icon{width:25px;height:25px}
.overview-meta-v238{display:flex;align-items:center;justify-content:space-between;gap:10px;font-weight:1000;font-size:13px}
.points-summary-v238{background:linear-gradient(135deg,#ffca2f,#ffad00)}
.points-summary-v238 .overview-icon-v238{background:#061827;color:#ffbf18}
.wallet-summary-v238{background:radial-gradient(circle at 94% 0,rgba(255,184,0,.25),transparent 34%),linear-gradient(145deg,#061827,#0d3856);color:#fff}
.wallet-summary-v238 .overview-icon-v238{background:#ffb800;color:#061827}
.wallet-summary-v238 strong{color:#ffbf18}
.wallet-summary-v238 small,.wallet-summary-v238 .overview-meta-v238{color:#dce9f1;opacity:1}
.collection-summary-v238{background:#fff}
.collection-summary-v238 .overview-icon-v238{background:#fff3c9;color:#8a6100}
.collection-summary-v238 strong{font-size:31px;margin-bottom:16px}
.collection-summary-v238 .mini-progress{margin-top:auto;height:11px}
.dashboard-email-prompt-v238{margin:0 0 18px!important;border-radius:20px!important;box-shadow:0 14px 34px rgba(255,184,0,.11)}

.dashboard-panel-v238{
  background:rgba(255,255,255,.96);
  border:1px solid rgba(6,24,39,.07);
  border-radius:28px;
  padding:22px;
  box-shadow:0 18px 52px rgba(6,24,39,.07);
  margin-bottom:18px;
}
.dashboard-panel-head-v238{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:16px}
.dashboard-panel-head-v238 h2{margin:4px 0 0;font-size:27px;line-height:1.05;letter-spacing:-.7px;color:#061827}
.dashboard-panel-head-v238>a{display:inline-flex;align-items:center;border-radius:999px;padding:9px 13px;background:#f3f6f9;border:1px solid #e3e9ef;color:#061827;font-weight:1000;white-space:nowrap}
.dashboard-actions-grid-v238{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
  margin:0!important;
}
.dashboard-actions-grid-v238 .app-tile{
  position:relative;
  min-height:128px!important;
  height:auto!important;
  padding:17px!important;
  border-radius:22px!important;
  background:linear-gradient(180deg,#f8fafc,#fff)!important;
  border:1px solid #e6edf3!important;
  box-shadow:0 10px 26px rgba(6,24,39,.045)!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  text-align:left!important;
  gap:0!important;
  color:#061827!important;
  transition:.18s ease!important;
}
.dashboard-actions-grid-v238 .app-tile:hover{transform:translateY(-3px);border-color:#ffb800!important;box-shadow:0 18px 42px rgba(6,24,39,.09)!important}
.dashboard-actions-grid-v238 .app-tile>.svg-icon{width:34px!important;height:34px!important;color:#ffb800!important;margin:0 0 17px!important}
.dashboard-actions-grid-v238 .app-tile>span{display:block!important;margin:0!important;font-size:17px!important;line-height:1.08!important;font-weight:1000!important}
.dashboard-actions-grid-v238 .app-tile>small{display:block;margin-top:7px;color:#64748b;font-weight:800;font-size:12px;line-height:1.35}
.dashboard-actions-grid-v238 .app-tile em{position:absolute;top:12px;right:12px;min-width:27px;height:27px;border-radius:999px;background:#061827;color:#fff;font-style:normal;font-size:12px;font-weight:1000;display:grid;place-items:center}
.dashboard-actions-grid-v238 .primary-action-v238{background:linear-gradient(135deg,#ffcf32,#ffae00)!important;border-color:#ffb800!important}
.dashboard-actions-grid-v238 .primary-action-v238>.svg-icon{color:#061827!important}
.dashboard-actions-grid-v238 .primary-action-v238>small{color:#624500}
.dashboard-actions-grid-v238 .coin-store-tile{background:linear-gradient(145deg,#fff8d8,#fff)!important;border-color:rgba(255,184,0,.35)!important}
.dashboard-actions-grid-v238 .has-new{border-color:#ffb800!important;box-shadow:0 14px 36px rgba(255,184,0,.15)!important}

.dashboard-main-grid-v238{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.6fr);gap:18px;align-items:stretch}
.dashboard-main-grid-v238 .dashboard-panel-v238{margin-bottom:18px}
.dashboard-ranking-v238{min-width:0}
.dashboard-ranking-v238 .rank-nearby-list{gap:9px}
.dashboard-ranking-v238 .rank-nearby-row{grid-template-columns:62px minmax(0,1fr) auto;border-radius:17px;padding:11px 13px}
.dashboard-code-v238{
  margin:0 0 18px!important;
  min-height:100%;
  border-radius:28px!important;
  padding:24px!important;
  background:radial-gradient(circle at 95% 0,rgba(255,184,0,.28),transparent 34%),linear-gradient(145deg,#061827,#0e3a59)!important;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  text-align:left!important;
  box-shadow:0 22px 58px rgba(6,24,39,.18)!important;
}
.dashboard-code-v238 .overview-icon-v238{background:#ffb800;color:#061827;margin-bottom:20px}
.dashboard-code-v238 small{color:#ffcf32!important}
.dashboard-code-v238 strong{font-size:52px!important;margin:10px 0 8px!important;letter-spacing:4px!important}
.dashboard-code-v238 p{color:#dce8f0!important;max-width:320px}
.dashboard-home-v238 .winner-carousel,
.dashboard-home-v238 .activity-carousel,
.dashboard-home-v238 .dash-carousel{padding-bottom:5px}
.dashboard-home-v238 .winner-pill,
.dashboard-home-v238 .activity-card,
.dashboard-home-v238 .dash-raffle-card{box-shadow:0 10px 28px rgba(6,24,39,.06)}

@media(max-width:1100px) and (min-width:901px){
  .dashboard-topbar-v238{grid-template-columns:auto minmax(260px,1fr) auto}
  .dashboard-actions-grid-v238{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .dashboard-overview-v238{grid-template-columns:1.15fr 1fr;}
  .collection-summary-v238{grid-column:1/-1;min-height:140px}
  .dashboard-main-grid-v238{grid-template-columns:1fr}
  .dashboard-code-v238{min-height:230px}
}

@media(max-width:900px){
  .dashboard-body-v238{background:linear-gradient(180deg,#e7f5ff 0,#f8fafc 220px,#f8fafc 100%)}
  .dashboard-app-v238 .main.app-main{max-width:560px!important;padding:14px 14px 96px!important}
  .dashboard-topbar-v238{display:flex!important;grid-template-columns:none;gap:8px!important;margin:4px 0 14px!important}
  .dashboard-brand-v238{display:none!important}
  .dashboard-topbar-v238 .hello-card{margin:0!important;padding:9px 11px!important;border-radius:20px!important}
  .dashboard-topbar-v238 .hello-avatar{width:44px;height:44px;flex-basis:44px;border-radius:15px}
  .dashboard-topbar-v238 .hello-card b{font-size:17px;max-width:145px}
  .dashboard-topbar-v238 .hello-card span{font-size:11px;max-width:180px}
  .dashboard-topbar-v238 .round-btn{width:42px;height:42px;flex:0 0 42px}
  .dashboard-overview-v238{grid-template-columns:1fr;gap:12px;margin-bottom:14px}
  .dashboard-overview-card-v238{min-height:154px;border-radius:24px;padding:19px}
  .dashboard-overview-card-v238 strong{font-size:44px}
  .collection-summary-v238{min-height:135px}
  .collection-summary-v238 strong{font-size:27px}
  .dashboard-panel-v238{padding:17px;border-radius:24px;margin-bottom:14px}
  .dashboard-panel-head-v238{margin-bottom:13px}
  .dashboard-panel-head-v238 h2{font-size:23px}
  .dashboard-actions-grid-v238{grid-template-columns:1fr 1fr!important;gap:11px!important}
  .dashboard-actions-grid-v238 .app-tile{min-height:112px!important;padding:14px!important;border-radius:20px!important}
  .dashboard-actions-grid-v238 .app-tile>.svg-icon{width:29px!important;height:29px!important;margin-bottom:13px!important}
  .dashboard-actions-grid-v238 .app-tile>span{font-size:15px!important}
  .dashboard-actions-grid-v238 .app-tile>small{display:none!important}
  .dashboard-main-grid-v238{grid-template-columns:1fr;gap:0}
  .dashboard-ranking-v238 .rank-nearby-row{grid-template-columns:56px minmax(0,1fr) auto}
  .dashboard-code-v238{min-height:220px;border-radius:24px!important;margin-bottom:14px!important}
  .dashboard-code-v238 strong{font-size:46px!important}
  .dashboard-email-prompt-v238{margin-bottom:14px!important}
  .dashboard-home-v238 .dash-carousel-block{margin-top:0}
}

@media(max-width:390px){
  .dashboard-topbar-v238 .hello-card span{display:none!important}
  .dashboard-actions-grid-v238 .app-tile{min-height:104px!important}
  .dashboard-actions-grid-v238 .app-tile>span{font-size:14px!important}
  .overview-meta-v238{font-size:12px}
}


/* === V2.40: preserve unified dashboard + Scan Coin + prizes hero overflow fix === */
.scan-coin-badge{
  display:block;
  flex:0 0 auto;
  object-fit:contain;
  filter:drop-shadow(0 12px 22px rgba(255,184,0,.24));
}
.scan-coin-badge-overview{
  width:70px;
  height:70px;
  margin:0 0 18px;
  position:relative;
  z-index:2;
}
.scan-coin-badge-wallet{
  width:78px;
  height:78px;
  margin:0 auto 8px;
}
.scan-coin-badge-stat{
  width:70px;
  height:70px;
  margin:0 auto 7px;
}
.wallet-summary-v238 small{margin-top:auto}

/* The prize balance block must grow with its content and never create an inner scrollbar. */
.prize-catalog-hero,
.prize-catalog-hero .container,
.prize-catalog-hero .ranking-hero-card{
  overflow:visible!important;
  max-height:none!important;
}
.prize-catalog-hero .prizes-stat-v185{
  width:210px!important;
  min-width:210px!important;
  height:auto!important;
  min-height:250px!important;
  max-height:none!important;
  padding:20px 18px!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
}
.prize-catalog-hero .prizes-stat-v185 strong{
  margin:1px 0!important;
  line-height:1!important;
}
.prize-catalog-hero .prizes-stat-v185 span,
.prize-catalog-hero .prizes-stat-v185 small{
  display:block!important;
  width:100%!important;
  text-align:center!important;
  margin:0!important;
  line-height:1.25!important;
}

/* Force the V2.38 dashboard structure and prevent old sidebar rules from returning. */
.dashboard-body-v238 .sidebar,
.dashboard-body-v238 .desktop-only,
.dashboard-body-v238 .desktop-dashboard-v219,
.dashboard-body-v238 .desktop-dashboard-v220{
  display:none!important;
}
.dashboard-body-v238 .dashboard-app-v238{
  display:block!important;
  grid-template-columns:none!important;
}
.dashboard-body-v238 .dashboard-app-v238 .main.app-main{
  margin:0 auto!important;
}

@media(max-width:900px){
  .scan-coin-badge-overview{width:64px;height:64px;margin-bottom:15px}
  .scan-coin-badge-wallet{width:68px;height:68px}
  .scan-coin-badge-stat{width:62px;height:62px}
  .prize-catalog-hero .prizes-stat-v185{
    width:100%!important;
    min-width:0!important;
    min-height:0!important;
    padding:18px!important;
  }
}


/* ===== V2.41: premium Scan Coin price + compact mobile map ===== */
.scan-coin-price-card{
  position:relative;
  overflow:hidden;
  margin-top:auto;
  padding:15px;
  border-radius:21px;
  background:radial-gradient(circle at 100% 0,rgba(255,255,255,.7),transparent 30%),linear-gradient(145deg,#fff4bd,#fffaf0);
  border:1px solid rgba(255,184,0,.34);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 13px 30px rgba(255,184,0,.10);
}
.scan-coin-price-card:after{
  content:"";
  position:absolute;
  width:110px;
  height:110px;
  right:-42px;
  top:-48px;
  border-radius:50%;
  background:rgba(255,184,0,.11);
  pointer-events:none;
}
.scan-coin-price-main{display:flex;align-items:center;gap:13px;position:relative;z-index:1}
.scan-coin-price-main img{width:58px;height:58px;object-fit:contain;flex:0 0 auto;filter:drop-shadow(0 8px 13px rgba(113,68,0,.22))}
.scan-coin-price-main small{display:block;color:#6e5320;font-size:11px;font-weight:1000;text-transform:uppercase;letter-spacing:.055em}
.scan-coin-price-main strong{display:inline-block;margin-right:6px;color:#061827;font-size:35px;line-height:1;font-weight:1000}
.scan-coin-price-main span{color:#765200;font-size:13px;font-weight:1000}
.scan-coin-progress-meta{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:12px 1px 8px;font-size:12px;color:#526577}
.scan-coin-progress-meta span{font-weight:850}
.scan-coin-progress-meta strong{max-width:58%;text-align:right;color:#765200;font-weight:1000}
.scan-coin-cost-progress{height:9px;overflow:hidden;border-radius:999px;background:rgba(6,24,39,.10);box-shadow:inset 0 1px 2px rgba(6,24,39,.08)}
.scan-coin-cost-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#ffad00,#ffd85b);box-shadow:0 0 14px rgba(255,184,0,.42);transition:width .35s ease}
.scan-coin-price-card.is-ready{background:linear-gradient(145deg,#dcfce7,#f0fdf4);border-color:rgba(22,163,74,.30)}
.scan-coin-price-card.is-ready .scan-coin-progress-meta strong{color:#166534}
.scan-coin-price-card.is-ready .scan-coin-cost-progress span{background:linear-gradient(90deg,#16a34a,#4ade80)}
.reward-card.has-media .reward-card-body{gap:0}
.reward-card.has-media .reward-redeem{margin-top:15px}

.stw-map-stage{position:relative!important}
.stw-map-stage>.daily-map-banner{
  position:absolute;
  z-index:650;
  top:18px;
  left:18px;
  width:min(470px,calc(100% - 36px));
  margin:0!important;
  background:rgba(6,24,39,.92);
  backdrop-filter:blur(12px);
}
.stw-map-stage>.map-live-status{
  position:absolute;
  z-index:645;
  top:18px;
  right:18px;
  width:max-content;
  max-width:min(360px,calc(100% - 36px));
  margin:0!important;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(10px);
}
.map-more-btn{display:none!important}

@media(max-width:760px){
  body.map-body .map-page{padding-top:calc(82px + env(safe-area-inset-top))!important}
  body.map-body .map-shell{padding:4px 10px calc(112px + env(safe-area-inset-bottom))!important;gap:6px!important}
  body.map-body .map-toolbar-pro{gap:5px!important;margin:0!important}
  body.map-body .rarity-filters{padding:0 0 5px!important;gap:7px!important}
  body.map-body .rarity-filter{min-height:34px!important;height:34px!important;padding:6px 10px!important;font-size:11.5px!important}
  body.map-body .map-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important}
  body.map-body .map-actions .btn{height:38px!important;min-height:38px!important;border-radius:14px!important;font-size:11.5px!important;padding:0 8px!important}
  body.map-body .map-more-btn{display:inline-flex!important}
  body.map-body #mapScanBtn{display:none!important}
  body.map-body .map-action-secondary{display:none!important}
  body.map-body .map-actions.show-secondary .map-action-secondary:not(#mapScanBtn){display:inline-flex!important}
  body.map-body .map-actions.show-secondary #nearbyNotifyBtn,
  body.map-body .map-actions.show-secondary #toggleTodayDone{grid-column:auto!important}
  body.map-body .map-more-btn.active{background:#061827!important;color:#fff!important;border-color:#061827!important}
  body.map-body .map-more-btn.active .svg-icon{color:#ffb800!important}
  body.map-body .stw-map-stage{flex:1 1 auto!important;min-height:0!important}
  body.map-body #stwMap{height:100%!important;min-height:390px!important;border-width:5px!important;border-radius:27px!important}
  body.map-body .stw-map-stage>.daily-map-banner{
    top:10px;
    left:10px;
    width:calc(100% - 20px);
    min-height:0;
    padding:9px 10px!important;
    border-radius:15px!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:8px!important;
    align-items:center!important;
    box-shadow:0 10px 28px rgba(6,24,39,.23)!important;
  }
  body.map-body .daily-map-banner b{font-size:12.5px!important;line-height:1.15!important}
  body.map-body .daily-map-banner span{font-size:10.5px!important;line-height:1.2!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body.map-body .daily-map-banner a{padding:8px 9px!important;border-radius:11px!important;font-size:10.5px!important}
  body.map-body .stw-map-stage>.map-live-status{
    top:10px;
    right:10px;
    max-width:calc(100% - 20px);
    min-height:30px!important;
    padding:7px 10px!important;
    border-radius:13px!important;
    font-size:10.5px!important;
    box-shadow:0 8px 20px rgba(6,24,39,.10)!important;
  }
  body.map-body .stw-map-stage.has-daily-banner>.map-live-status{top:67px!important;left:10px!important;right:auto!important;width:max-content!important;max-width:calc(100% - 20px)!important}
  body.map-body .map-area-reload{top:auto!important;bottom:75px!important}
  body.map-body .map-mobile-scan-cta{bottom:calc(84px + env(safe-area-inset-bottom))!important}
}
@media(max-width:390px){
  body.map-body #stwMap{min-height:355px!important}
  body.map-body .map-actions .btn{font-size:10.8px!important}
  .scan-coin-progress-meta{display:grid;gap:4px}
  .scan-coin-progress-meta strong{max-width:none;text-align:left}
}


/* V2.42 navigation cleanup and unified player pages */
.user-pagebar-v220{display:none!important}
.user-modern-body-v242{background:linear-gradient(180deg,#eef6fb 0,#f7f9fc 280px,#f7f9fc 100%)}
.user-modern-body-v242 .sidebar{display:none!important}
.user-content-v242{min-height:calc(100vh - 88px);padding:38px 0 110px;overflow-x:hidden}
.user-page-container-v242{max-width:1120px;margin:0 auto}
.user-modern-body-v242 .phone-dashboard{display:block!important;width:100%!important;max-width:980px!important;margin:0 auto 28px!important;border-radius:30px!important;background:#fff!important;box-shadow:0 22px 70px rgba(6,24,39,.09)!important;border:1px solid rgba(6,24,39,.06)!important;padding:26px!important;overflow:visible!important}
.referrals-modern-page-v242 .referrals-phone{max-width:980px!important}
.daily-modern-page-v242 .daily-page-phone{max-width:980px!important;padding-bottom:28px!important}
.messages-modern-page-v242 .messages-phone{max-width:880px!important}
.collection-page-v196.user-content-v242{padding-bottom:110px!important}
.collection-page-v196.user-content-v242>.container{max-width:1180px}
.dashboard-actions-grid-v238{grid-template-columns:repeat(3,minmax(0,1fr))!important}
@media(max-width:900px){
  .user-content-v242{padding:18px 0 94px}
  .user-page-container-v242{padding:0 14px}
  .user-modern-body-v242 .phone-dashboard{width:100%!important;padding:18px 15px!important;border-radius:26px!important;margin-bottom:18px!important}
  .dashboard-actions-grid-v238{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* ===== V2.43: always-visible mobile categories + premium scan loading ===== */
.map-scan-loading{
  position:relative;
  min-height:210px;
  align-content:center;
  overflow:hidden;
}
.map-scan-loading:before,
.map-scan-loading:after{
  content:"";
  position:absolute;
  left:50%;
  top:48%;
  width:92px;
  height:92px;
  border-radius:50%;
  border:2px solid rgba(255,184,0,.38);
  transform:translate(-50%,-50%) scale(.55);
  opacity:0;
  animation:stwScanRadar 1.75s ease-out infinite;
}
.map-scan-loading:after{animation-delay:.7s}
.map-scan-loading .svg-icon{
  position:relative;
  z-index:2;
  width:62px!important;
  height:62px!important;
  padding:17px;
  border-radius:22px;
  color:#061827!important;
  background:linear-gradient(145deg,#ffd75b,#ffad00);
  box-shadow:0 16px 36px rgba(255,184,0,.34),inset 0 1px 0 rgba(255,255,255,.8);
  animation:stwScanCore 1.1s ease-in-out infinite;
}
.map-scan-loading b,.map-scan-loading span{position:relative;z-index:2}
.map-scan-loading b{font-size:20px!important}
@keyframes stwScanRadar{
  0%{transform:translate(-50%,-50%) scale(.55);opacity:.85}
  85%,100%{transform:translate(-50%,-50%) scale(1.7);opacity:0}
}
@keyframes stwScanCore{
  0%,100%{transform:scale(1) rotate(0)}
  50%{transform:scale(1.07) rotate(4deg)}
}
.map-live-status.is-loading:before{
  animation:stwStatusPulse 1s ease-in-out infinite;
}
.map-live-status.is-loading{
  background:linear-gradient(90deg,#fff7d6,#fff,#fff7d6)!important;
  background-size:220% 100%!important;
  animation:stwStatusShimmer 1.6s linear infinite;
}
@keyframes stwStatusPulse{0%,100%{transform:scale(.85);box-shadow:0 0 0 4px rgba(255,184,0,.14)}50%{transform:scale(1.18);box-shadow:0 0 0 8px rgba(255,184,0,.05)}}
@keyframes stwStatusShimmer{0%{background-position:100% 0}100%{background-position:-120% 0}}

.map-mobile-scan-cta .btn{
  overflow:hidden;
  isolation:isolate;
}
.map-mobile-scan-cta .btn:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(115deg,transparent 0,rgba(255,255,255,.52) 38%,transparent 67%);
  transform:translateX(-130%);
  animation:stwScanButtonShine 3.2s ease-in-out infinite;
}
.scan-cta-icon{
  position:relative;
  width:43px;
  height:43px;
  flex:0 0 43px;
  display:grid;
  place-items:center;
  border-radius:15px;
  background:#061827;
  color:#ffbd17;
  box-shadow:0 10px 22px rgba(6,24,39,.24);
}
.scan-cta-icon .svg-icon{width:22px!important;height:22px!important;margin:0!important}
.scan-cta-icon i{position:absolute;inset:-5px;border:2px solid rgba(6,24,39,.16);border-radius:19px;opacity:0}
.scan-cta-copy{display:flex;min-width:0;flex:1;flex-direction:column;align-items:flex-start;line-height:1.05;text-align:left}
.scan-cta-copy b{font-size:17px;white-space:nowrap}
.scan-cta-copy small{display:block!important;margin-top:4px;color:#5e4100!important;font-size:10.5px!important;font-weight:900!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.scan-cta-arrow{font-size:25px;font-weight:1000;color:#061827;transition:.2s}
.map-mobile-scan-cta .btn.is-scanning:before{animation-duration:1.05s}
.map-mobile-scan-cta .btn.is-scanning .scan-cta-icon{animation:stwScanButtonCore .85s ease-in-out infinite}
.map-mobile-scan-cta .btn.is-scanning .scan-cta-icon i{animation:stwScanButtonRing 1.25s ease-out infinite}
.map-mobile-scan-cta .btn.is-scanning .scan-cta-arrow{animation:stwScanArrow .8s ease-in-out infinite}
.map-mobile-scan-cta .btn:disabled{opacity:1!important;cursor:wait!important}
@keyframes stwScanButtonShine{0%,55%{transform:translateX(-130%)}80%,100%{transform:translateX(130%)}}
@keyframes stwScanButtonCore{0%,100%{transform:scale(1)}50%{transform:scale(1.08)}}
@keyframes stwScanButtonRing{0%{transform:scale(.75);opacity:.8}100%{transform:scale(1.45);opacity:0}}
@keyframes stwScanArrow{0%,100%{transform:translateX(0)}50%{transform:translateX(5px)}}

@media(max-width:760px){
  /* Categories are a permanent floating rail directly below the map header. */
  body.map-body .map-page{
    padding-top:calc(76px + env(safe-area-inset-top))!important;
  }
  body.map-body .rarity-filters{
    position:fixed!important;
    top:calc(74px + env(safe-area-inset-top))!important;
    left:12px!important;
    right:12px!important;
    width:auto!important;
    z-index:2147482450!important;
    display:flex!important;
    margin:0!important;
    padding:7px!important;
    gap:7px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    border:1px solid rgba(6,24,39,.07)!important;
    border-radius:18px!important;
    background:rgba(245,249,252,.96)!important;
    box-shadow:0 12px 30px rgba(6,24,39,.13)!important;
    backdrop-filter:blur(16px)!important;
    -webkit-backdrop-filter:blur(16px)!important;
    scrollbar-width:none!important;
  }
  body.map-body .rarity-filters::-webkit-scrollbar{display:none!important}
  body.map-body .rarity-filter{
    flex:0 0 auto!important;
    min-width:auto!important;
    height:38px!important;
    min-height:38px!important;
    padding:7px 13px!important;
    background:#fff!important;
    border-radius:999px!important;
    box-shadow:0 5px 13px rgba(6,24,39,.06)!important;
    scroll-snap-align:start!important;
  }
  body.map-body .rarity-filter.active{
    background:#061827!important;
    color:#fff!important;
    border-color:#061827!important;
  }
  /* Reserve the category rail space so the action buttons never sit behind it. */
  body.map-body .map-toolbar-pro{
    padding-top:53px!important;
    overflow:visible!important;
  }
  /* Lift the main scan action above the central bottom navigation button. */
  body.map-body .map-mobile-scan-cta{
    left:22px!important;
    right:22px!important;
    bottom:calc(132px + env(safe-area-inset-bottom))!important;
    z-index:2147482800!important;
  }
  body.map-body .map-mobile-scan-cta .btn{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:12px!important;
    width:min(100%,520px)!important;
    height:66px!important;
    min-height:66px!important;
    padding:10px 15px!important;
    border-radius:24px!important;
    background:linear-gradient(145deg,#ffd34c,#ffad00)!important;
    border:1px solid rgba(255,255,255,.74)!important;
    box-shadow:0 20px 42px rgba(255,184,0,.42),0 8px 20px rgba(6,24,39,.18)!important;
  }
  body.map-body .map-shell{
    padding-bottom:calc(182px + env(safe-area-inset-bottom))!important;
  }
}
@media(max-width:390px){
  body.map-body .map-mobile-scan-cta{
    left:16px!important;
    right:16px!important;
    bottom:calc(126px + env(safe-area-inset-bottom))!important;
  }
  body.map-body .map-mobile-scan-cta .btn{height:62px!important;min-height:62px!important;padding:9px 12px!important;gap:10px!important}
  .scan-cta-icon{width:40px;height:40px;flex-basis:40px}
  .scan-cta-copy b{font-size:15.5px}
  .scan-cta-copy small{font-size:9.5px!important}
  body.map-body .map-shell{padding-bottom:calc(172px + env(safe-area-inset-bottom))!important}
}


/* ===== V2.44: stable first render for mobile map filters ===== */
@media(max-width:760px){
  /* Keep the categories in the normal document flow. The previous fixed rail
     was rendered behind the floating header until the first scan forced a reflow. */
  body.map-body .rarity-filters{
    position:relative!important;
    top:auto!important;
    right:auto!important;
    bottom:auto!important;
    left:auto!important;
    width:100%!important;
    z-index:30!important;
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    transform:none!important;
    margin:0!important;
    padding:7px!important;
    gap:7px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    border:1px solid rgba(6,24,39,.07)!important;
    border-radius:18px!important;
    background:rgba(245,249,252,.96)!important;
    box-shadow:0 12px 30px rgba(6,24,39,.11)!important;
    backdrop-filter:blur(16px)!important;
    -webkit-backdrop-filter:blur(16px)!important;
    scrollbar-width:none!important;
  }
  body.map-body .rarity-filters::-webkit-scrollbar{display:none!important}
  body.map-body .map-toolbar-pro{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:8px!important;
    padding:0!important;
    margin:0 0 8px!important;
    overflow:visible!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
  }
  body.map-body .map-actions{
    position:relative!important;
    z-index:20!important;
    margin:0!important;
  }
  body.map-body .map-shell{
    overflow:visible!important;
  }
}

/* ===== V2.45 Map properties / Mis puntos ===== */
.property-summary-v245{background:linear-gradient(145deg,#eafff4,#fff)!important;border-color:rgba(23,176,102,.22)!important}
.property-summary-v245 .overview-icon-v238{background:linear-gradient(145deg,#14b86d,#0d8e53)!important;color:#fff!important}
.property-tile-v245{background:linear-gradient(145deg,#edfff6,#fff)!important;border-color:rgba(23,176,102,.25)!important}
.property-tile-v245>.svg-icon{color:#0ca45d!important}

.owned-point-marker>span{filter:drop-shadow(0 0 8px rgba(255,184,0,.85))}
.my-owned-point-marker>span{outline:4px solid rgba(31,196,113,.45);outline-offset:3px;border-radius:50%}
.popup-owner{margin:9px 0;padding:9px 11px;border-radius:12px;background:#eafff4;color:#075f3b;font-size:12px;font-weight:900}
.sheet-property{display:none;margin:16px 0 3px;padding:16px;border-radius:21px;border:1px solid rgba(6,24,39,.09);background:#f8fafc}
.sheet-property.owned{display:block;background:linear-gradient(145deg,#edfff6,#fff);border-color:rgba(23,176,102,.28)}
.sheet-property.owned.mine{background:radial-gradient(circle at 100% 0,rgba(255,184,0,.2),transparent 28%),linear-gradient(145deg,#061827,#0d3857);color:#fff;border-color:rgba(255,184,0,.36)}
.property-owner-row,.property-buy-head{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:12px}
.property-owner-row img,.property-buy-head img{width:56px;height:56px;object-fit:contain;filter:drop-shadow(0 8px 14px rgba(255,184,0,.25))}
.property-owner-row small,.property-owner-row b,.property-buy-head small,.property-buy-head b{display:block}
.property-owner-row small,.property-buy-head small{font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:.05em;color:#64748b}
.property-owner-row b,.property-buy-head b{font-size:18px;color:#061827}
.property-owner-row>strong,.property-buy-head>strong{padding:8px 10px;border-radius:999px;background:#dcfce7;color:#166534;font-size:12px;white-space:nowrap}
.sheet-property.mine .property-owner-row small{color:#ffcf4a}.sheet-property.mine .property-owner-row b{color:#fff}.sheet-property.mine .property-owner-row>strong{background:rgba(255,184,0,.16);color:#ffcf4a;border:1px solid rgba(255,184,0,.28)}
.sheet-property p{margin:11px 0 0;color:#526577;font-size:13px;font-weight:780;line-height:1.45}.sheet-property.mine p{color:#d9e8f1}
.sheet-property.buyable{display:block;background:linear-gradient(145deg,#fff9e4,#fff);border-color:rgba(255,184,0,.34)}
.property-buy-balance{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:12px 0 10px;padding:10px 12px;border-radius:14px;background:#fff;border:1px solid rgba(6,24,39,.08);font-size:12px;font-weight:850;color:#42566a}
.property-buy-balance b{color:#9a5f00}.property-buy-btn{width:100%;border-radius:14px}.property-buy-btn:disabled{opacity:.58;cursor:not-allowed}.property-buy-btn.loading{pointer-events:none;opacity:.75}

.property-page{min-height:100vh;background:linear-gradient(180deg,#eef7fc 0,#fff 42%);padding-top:36px}
.property-shell{max-width:1180px}
.property-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) 260px;align-items:center;gap:30px;padding:42px;border-radius:36px;background:radial-gradient(circle at 88% 18%,rgba(255,184,0,.23),transparent 24%),linear-gradient(145deg,#061827,#0b3857);color:#fff;box-shadow:0 28px 75px rgba(6,24,39,.2)}
.property-hero:after{content:"";position:absolute;width:330px;height:330px;right:-140px;bottom:-190px;border:1px solid rgba(255,255,255,.1);border-radius:50%;box-shadow:0 0 0 55px rgba(255,255,255,.035),0 0 0 110px rgba(255,255,255,.025)}
.property-hero>*{position:relative;z-index:1}.property-hero .eyebrow{color:#ffbf1f}.property-hero h1{margin:8px 0 13px;font-size:clamp(38px,5vw,64px);line-height:1;letter-spacing:-1.8px}.property-hero p{max-width:690px;margin:0;color:#d8e7f0;font-size:18px;line-height:1.55;font-weight:740}.property-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.property-hero-actions .btn{border-radius:15px}.property-hero-actions .btn img{width:28px;height:28px;object-fit:contain}.property-hero-coin{min-height:225px;border:1px solid rgba(255,255,255,.18);border-radius:30px;background:rgba(255,255,255,.09);backdrop-filter:blur(14px);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:22px}.property-hero-coin img{width:120px;height:120px;object-fit:contain;filter:drop-shadow(0 16px 24px rgba(255,184,0,.3))}.property-hero-coin span{font-size:42px;line-height:1;color:#ffbd17;font-weight:1000;margin-top:-8px}.property-hero-coin small{font-weight:900;color:#dceaf2}
.property-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:22px 0}.property-stats article{background:#fff;border:1px solid rgba(6,24,39,.07);border-radius:24px;padding:20px;box-shadow:0 14px 38px rgba(6,24,39,.07)}.property-stats article>span{width:50px;height:50px;border-radius:17px;display:grid;place-items:center;background:#061827;color:#ffb800;margin-bottom:14px}.property-stats small{display:block;color:#64748b;font-weight:900}.property-stats strong{display:block;font-size:32px;margin-top:5px}
.property-info-banner{display:flex;align-items:center;gap:18px;background:linear-gradient(135deg,#fff4bf,#fff);border:1px solid rgba(255,184,0,.28);border-radius:24px;padding:18px 22px;margin-bottom:24px}.property-info-banner img{width:74px;height:74px;object-fit:contain}.property-info-banner b{display:block;color:#061827;line-height:1.4}.property-info-banner p{margin:5px 0 0;color:#596b7d;font-weight:760;line-height:1.45}
.property-section{background:#fff;border:1px solid rgba(6,24,39,.07);border-radius:30px;padding:26px;box-shadow:0 18px 52px rgba(6,24,39,.07);margin-bottom:22px}.property-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:20px}.property-section-head h2{font-size:32px;margin:4px 0 0}.property-section-head a{font-weight:950;color:#0a78b7}.property-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.property-card{overflow:hidden;border:1px solid rgba(6,24,39,.08);border-radius:25px;background:#fff;box-shadow:0 13px 35px rgba(6,24,39,.07)}.property-card-media{height:185px;background-size:cover;background-position:center;position:relative;display:flex;align-items:flex-start;justify-content:space-between;padding:14px}.property-card-media:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(6,24,39,.08),rgba(6,24,39,.56))}.property-card-media span,.property-card-media b{position:relative;z-index:1;border-radius:999px;padding:8px 11px;font-size:12px;font-weight:950}.property-card-media span{background:#fff;color:#061827}.property-card-media b{background:#061827;color:#ffcf42}.property-card-body{padding:18px}.property-source{display:inline-flex;padding:7px 10px;border-radius:999px;background:#eafff4;color:#087748;font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:.04em}.property-card h3{font-size:22px;margin:12px 0 5px}.property-card-body>p{margin:0 0 14px;color:#64748b;font-weight:750}.property-card-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}.property-card-metrics div{padding:10px 8px;border-radius:14px;background:#f5f8fa;text-align:center}.property-card-metrics small{display:block;color:#64748b;font-size:10px;font-weight:900;line-height:1.15}.property-card-metrics strong{display:block;font-size:19px;margin-top:4px}.property-date{display:block;margin:10px 0 13px;color:#64748b;font-weight:800}.property-empty{text-align:center;padding:48px 20px;border:2px dashed #dbe3e9;border-radius:24px}.property-empty img{width:130px;height:130px;object-fit:contain}.property-empty h2{max-width:600px;margin:8px auto 20px;font-size:24px;line-height:1.35}
.property-income-list{display:grid}.property-income-list article{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:13px;padding:13px 0;border-bottom:1px solid #edf1f4}.property-income-list article:last-child{border-bottom:0}.property-income-icon{width:52px;height:52px;border-radius:17px;background:linear-gradient(145deg,#12b66a,#0a8b4f);color:#fff;display:grid;place-items:center;font-weight:1000}.property-income-list b,.property-income-list small{display:block}.property-income-list small{color:#64748b;margin-top:3px;font-weight:760}.property-income-list>article>strong{font-size:12px;border-radius:999px;background:#fff4c7;color:#765200;padding:8px 10px}

@media(max-width:900px){.property-hero{grid-template-columns:1fr}.property-hero-coin{display:none}.property-stats{grid-template-columns:1fr 1fr}.property-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.property-page{padding-top:18px}.property-page .container{padding:0 14px}.property-hero{padding:28px 22px;border-radius:27px}.property-hero h1{font-size:38px}.property-hero p{font-size:15px}.property-hero-actions{display:grid}.property-hero-actions .btn{width:100%}.property-stats{grid-template-columns:1fr 1fr;gap:10px}.property-stats article{padding:15px;border-radius:20px}.property-stats article>span{width:42px;height:42px}.property-stats strong{font-size:27px}.property-info-banner{align-items:flex-start;padding:15px}.property-info-banner img{width:56px;height:56px}.property-section{padding:18px 14px;border-radius:25px}.property-section-head{align-items:flex-start}.property-section-head h2{font-size:27px}.property-grid{grid-template-columns:1fr}.property-card-media{height:175px}.property-income-list article{grid-template-columns:50px minmax(0,1fr)}.property-income-list>article>strong{grid-column:2;width:max-content}.property-owner-row,.property-buy-head{grid-template-columns:52px minmax(0,1fr)}.property-owner-row img,.property-buy-head img{width:50px;height:50px}.property-owner-row>strong,.property-buy-head>strong{grid-column:2;width:max-content}.property-buy-balance{display:grid}}
