:root{
  --bg:#080b16;--panel:#101525;--panel2:#151b31;--line:rgba(255,255,255,.09);
  --text:#f7f8fc;--muted:#929ab2;--blue:#4b7cff;--purple:#7b5cff;--cyan:#56d5ff;
  --success:#33d18f;--radius:22px;--shadow:0 20px 55px rgba(0,0,0,.35)
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:radial-gradient(circle at 75% 0%,#192246 0,transparent 34%),var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;min-height:100vh}
button,input{font:inherit}
button{cursor:pointer}
.noise{position:fixed;inset:0;pointer-events:none;opacity:.025;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E")}
.topbar{height:78px;display:flex;align-items:center;justify-content:space-between;padding:0 max(20px,calc((100vw - 1180px)/2));position:sticky;top:0;z-index:30;background:rgba(8,11,22,.78);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}
.brand,.profile-btn,.icon-btn{border:0;background:transparent;color:var(--text)}
.brand{display:flex;align-items:center;gap:11px;padding:0}
.brand-mark{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;font-weight:950;font-size:22px;background:linear-gradient(135deg,var(--blue),var(--purple));box-shadow:0 8px 28px rgba(75,124,255,.3);overflow:hidden}.brand-mark img{width:100%;height:100%;object-fit:cover;display:block}
.brand strong{display:block;font-size:16px;letter-spacing:.8px;text-align:left}.brand small{display:block;color:var(--muted);font-size:11px;text-align:left;margin-top:1px}
.top-actions{display:flex;align-items:center;gap:8px}.icon-btn{width:42px;height:42px;border:1px solid var(--line);border-radius:13px;background:rgba(255,255,255,.035)}
.profile-btn{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:15px;padding:6px 10px 6px 6px;background:rgba(255,255,255,.035)}
.avatar{width:34px;height:34px;border-radius:11px;background:linear-gradient(135deg,#1f2a51,#324884);display:grid;place-items:center;font-size:11px;font-weight:800}.profile-copy{text-align:left}.profile-copy strong{display:block;font-size:12px}.profile-copy small{color:var(--muted);font-size:10px}
main{max-width:1180px;margin:auto;padding:26px 20px 130px}.page{display:none;animation:fade .25s ease}.page.active{display:block}@keyframes fade{from{opacity:.5;transform:translateY(6px)}to{opacity:1;transform:none}}
.hero{position:relative;min-height:490px;border:1px solid var(--line);border-radius:32px;overflow:hidden;box-shadow:var(--shadow)}
.hero-bg{position:absolute;inset:0;overflow:hidden;background:#0a0f20}
.hero-bg::before{content:"";position:absolute;inset:-8%;background:url('assets/gamedin.webp') center/cover no-repeat;filter:blur(18px) brightness(.55) saturate(1.1);transform:scale(1.12);opacity:.72}
.hero-bg::after{content:"";position:absolute;inset:0;background:url('assets/gamedin.webp') center center/cover no-repeat;transform-origin:center center;will-change:transform;animation:heroBreathWide 9s ease-in-out infinite alternate}
@keyframes heroBreathWide{from{transform:scale(1)}to{transform:scale(1.055)}}
@keyframes heroBreathMobile{from{transform:scale(1)}to{transform:scale(1.08)}}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,8,16,.97) 0%,rgba(5,8,16,.78) 44%,rgba(5,8,16,.22) 75%,rgba(5,8,16,.08) 100%),linear-gradient(0deg,rgba(8,11,22,.68),transparent 45%)}
.hero-content{position:relative;z-index:1;max-width:600px;padding:68px 58px}.pill{display:inline-flex;padding:8px 12px;border-radius:999px;background:rgba(86,213,255,.1);border:1px solid rgba(86,213,255,.2);color:#a9eaff;font-size:12px;font-weight:800;letter-spacing:.35px}
.hero h1{font-size:clamp(38px,6vw,66px);line-height:.98;letter-spacing:-2.5px;margin:21px 0 16px}.hero h1 span{background:linear-gradient(90deg,#7da0ff,#9f8aff,#70dcff);-webkit-background-clip:text;background-clip:text;color:transparent}.hero p{color:#b2b9cc;line-height:1.65;max-width:520px;font-size:15px}
.hero-actions{display:flex;gap:10px;margin-top:27px;flex-wrap:wrap}.primary,.secondary,.text-btn{border:0;font-weight:800}.primary{padding:14px 18px;border-radius:14px;color:white;background:linear-gradient(135deg,var(--blue),var(--purple));box-shadow:0 10px 28px rgba(75,124,255,.24)}.primary:hover{filter:brightness(1.08);transform:translateY(-1px)}.secondary{padding:13px 18px;border-radius:14px;color:white;border:1px solid var(--line);background:rgba(255,255,255,.07)}.wide{width:100%}
.wallet-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0 36px}.wallet-card{background:linear-gradient(145deg,var(--panel2),var(--panel));border:1px solid var(--line);padding:18px 20px;border-radius:18px;display:flex;justify-content:space-between;align-items:center}.wallet-card small{display:block;color:var(--muted);margin-bottom:6px}.wallet-card strong{font-size:20px}.wallet-card>span{font-size:25px}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;margin:34px 0 15px}.eyebrow{font-size:11px;letter-spacing:1.8px;font-weight:900;color:#7ea1ff}.section-head h2,.page-title h1{margin:5px 0 0;font-size:28px;letter-spacing:-.7px}.text-btn{background:transparent;color:#9eb5ff}
.games-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.games-grid.compact{grid-template-columns:repeat(3,1fr)}
.game-card{position:relative;border:1px solid var(--line);border-radius:20px;padding:10px;background:#101525;color:white;text-align:left;display:flex;flex-direction:column;gap:8px;overflow:visible}
.game-card-head{padding:0 42px 0 2px;min-height:20px}
.game-card-title{display:block;font-size:15px;font-weight:800;line-height:1.2;color:#f4f7ff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.game-open{position:relative;display:block;width:100%;aspect-ratio:1.5/1;overflow:hidden;border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:0;background:#0c1222}
.game-open img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:.35s transform}
.game-open::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,7,15,.08) 0%,rgba(4,7,15,.14) 100%)}
.game-card:hover .game-open img{transform:scale(1.045)}
.game-info{display:none}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.steps article{border:1px solid var(--line);background:rgba(255,255,255,.025);border-radius:18px;padding:20px}.steps span{color:#7698ff;font-weight:950;font-size:12px}.steps h3{margin:18px 0 7px}.steps p{margin:0;color:var(--muted);line-height:1.5;font-size:13px}
.page-title{padding:18px 0 26px}.page-title p{color:var(--muted);margin:8px 0 0;max-width:640px;line-height:1.55}.panel{max-width:620px;border:1px solid var(--line);background:linear-gradient(150deg,var(--panel2),var(--panel));border-radius:22px;padding:24px}.panel label,.modal-card label{display:block;font-size:12px;font-weight:800;color:#cbd1de;margin:18px 0 8px}.choice-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.choice{padding:14px;border-radius:13px;border:1px solid var(--line);background:#11182c;color:white;font-weight:800}.choice.active{border-color:#668bff;background:#16234b}.field{display:flex;align-items:center;border:1px solid var(--line);background:#0d1221;border-radius:13px;padding:0 13px}.field input{width:100%;border:0;outline:0;color:white;background:transparent;padding:14px;font-size:16px}.upload-box{width:100%;min-height:105px;border:1px dashed #435273;background:#0d1221;color:#d5dbeb;border-radius:15px;display:flex;gap:8px;align-items:center;justify-content:center;flex-direction:column}.upload-box small{color:var(--muted)}.panel .primary{margin-top:18px}
.empty-state{border:1px solid var(--line);border-radius:24px;background:rgba(255,255,255,.025);padding:55px 25px;text-align:center}.empty-icon{font-size:42px}.empty-state h3{margin:12px 0 7px}.empty-state p{color:var(--muted);max-width:440px;margin:0 auto 22px;line-height:1.55}
.bottom-nav{display:none;position:fixed;z-index:25;left:12px;right:12px;bottom:12px;height:66px;background:rgba(13,17,31,.92);backdrop-filter:blur(18px);border:1px solid var(--line);border-radius:20px;padding:5px;grid-template-columns:repeat(4,1fr);box-shadow:var(--shadow)}.nav-item{border:0;background:transparent;color:#778097;border-radius:15px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}.nav-item span{font-size:20px}.nav-item small{font-size:10px;font-weight:800}.nav-item.active{color:white;background:#1a2443}
.support{position:fixed;right:24px;bottom:24px;z-index:24;display:flex;align-items:center;gap:9px;border:1px solid rgba(49,211,143,.26);background:rgba(11,27,24,.94);color:white;padding:8px 11px 8px 8px;border-radius:18px;box-shadow:var(--shadow);backdrop-filter:blur(14px)}.robot{width:40px;height:40px;display:grid;place-items:center;border-radius:13px;background:#152d29;font-size:22px}.support-copy{text-align:left}.support-copy strong{font-size:11px;display:block}.support-copy small{font-size:9px;color:#93b7ae}.wa{color:#4ce5a3;font-size:17px}
.modal{display:none;position:fixed;z-index:80;inset:0}.modal.open{display:block}.modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.7);backdrop-filter:blur(7px)}.modal-card{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(92vw,520px);max-height:88vh;overflow:auto;background:#0f1527;border:1px solid var(--line);border-radius:24px;padding:22px;box-shadow:0 30px 90px rgba(0,0,0,.65)}.modal-close{position:absolute;right:15px;top:13px;width:34px;height:34px;border:1px solid var(--line);background:#151c30;color:white;border-radius:11px;font-size:20px}.modal-game-head{display:flex;gap:14px;align-items:center;padding-right:40px}.modal-game-head img{width:88px;height:65px;object-fit:cover;border-radius:14px}.modal-game-head small{color:#7fa0ff;font-size:10px;font-weight:900;letter-spacing:1.3px}.modal-game-head h2{margin:4px 0 0;font-size:22px}.modal-input{width:100%;padding:13px 14px;border-radius:12px;border:1px solid var(--line);background:#0a1020;color:white;outline:none}.packages{display:grid;grid-template-columns:1fr 1fr;gap:8px}.package{border:1px solid var(--line);background:#121a2f;color:white;border-radius:12px;padding:12px;text-align:left}.package strong{display:block}.package small{color:var(--muted)}.package.active{border-color:#6587ff;background:#18264e}.modal-card .primary{margin-top:17px}.demo-note{font-size:10px;color:var(--muted);text-align:center;line-height:1.5}.profile-modal{text-align:center}.big-avatar{width:72px;height:72px;border-radius:23px;background:linear-gradient(135deg,var(--blue),var(--purple));display:grid;place-items:center;margin:9px auto 12px;font-size:20px;font-weight:900}.profile-modal p{color:var(--muted);line-height:1.55}.profile-modal .secondary{margin-top:9px}
.toast{position:fixed;z-index:100;left:50%;bottom:25px;transform:translate(-50%,25px);opacity:0;background:#151d34;border:1px solid var(--line);color:white;padding:12px 16px;border-radius:13px;transition:.25s;pointer-events:none;box-shadow:var(--shadow);font-size:13px}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:760px){
  .topbar{height:66px;padding:0 14px}.profile-copy{display:none}.profile-btn{padding:5px}.brand-mark{width:36px;height:36px}.brand strong{font-size:14px}
  main{padding:14px 12px 108px}.hero{min-height:500px;border-radius:24px}.hero-bg::after{background-position:center top;background-size:contain;transform-origin:center top;animation:heroBreathMobile 8s ease-in-out infinite alternate}.hero-bg::before{filter:blur(14px) brightness(.5) saturate(1.08)}.hero-overlay{background:linear-gradient(0deg,rgba(5,8,16,.98) 0%,rgba(5,8,16,.82) 52%,rgba(5,8,16,.24) 100%)}.hero-content{padding:205px 22px 28px}.hero h1{font-size:40px;letter-spacing:-1.6px}.hero p{font-size:13px}.hero-actions{display:grid;grid-template-columns:1fr}.hero-actions button{width:100%}
  .wallet-grid{gap:9px;margin:11px 0 28px}.wallet-card{padding:14px 13px}.wallet-card strong{font-size:15px}.wallet-card>span{font-size:20px}
  .games-grid,.games-grid.compact{grid-template-columns:1fr 1fr;gap:10px}.game-card{border-radius:16px;padding:8px;gap:7px}.game-card-head{padding-right:40px;min-height:18px}.game-card-title{font-size:13px}.game-open{aspect-ratio:1.1/1;border-radius:14px}
  .steps{grid-template-columns:1fr}.section-head h2,.page-title h1{font-size:24px}.bottom-nav{display:grid}.support{right:15px;bottom:90px}.support-copy{display:none}.support{padding:7px}.wa{display:none}.packages{grid-template-columns:1fr 1fr}
}
@media(max-width:390px){.games-grid,.games-grid.compact{grid-template-columns:1fr}.game-open{aspect-ratio:1.6/1}.hero h1{font-size:36px}}

.brand{cursor:pointer}
.brand-mark{border-radius:50%;background:transparent;box-shadow:0 8px 28px rgba(75,124,255,.2)}
.brand-mark img{object-fit:contain}

.logo-modal-wrap .modal-backdrop{background:rgba(2,5,14,.82);backdrop-filter:blur(8px)}
.logo-viewer{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:min(92vw,900px);max-height:86vh;padding:12px;
  display:flex;align-items:center;justify-content:center;
}
.logo-viewer img{
  display:block;max-width:100%;max-height:82vh;width:auto;height:auto;
  object-fit:contain;border-radius:20px;
  box-shadow:0 28px 90px rgba(0,0,0,.65);
}
.logo-close{
  right:2px;top:2px;z-index:2;
  background:rgba(8,11,22,.9);
}
@media(max-width:760px){
  .logo-viewer{width:96vw;padding:8px}
  .logo-viewer img{max-height:78vh;border-radius:16px}
  .logo-close{right:4px;top:4px}
}


/* V2.0 — marca superior y visor del logo */
.brand-wrap{display:flex;align-items:center;gap:11px}
.brand-logo-button{
  width:40px;height:40px;padding:2px;border:0;border-radius:12px;
  background:rgba(255,255,255,.035);display:grid;place-items:center;
  overflow:hidden;box-shadow:0 8px 28px rgba(75,124,255,.18);
  cursor:pointer;flex:0 0 auto
}
.brand-logo-button img{width:100%;height:100%;object-fit:contain;display:block}
.brand-copy{
  border:0;background:transparent;color:var(--text);padding:0;cursor:pointer
}
.brand-copy strong{display:block;font-size:16px;letter-spacing:.8px;text-align:left}
.brand-copy small{display:block;color:var(--muted);font-size:11px;text-align:left;margin-top:1px}

.brand-image-modal{display:none;position:fixed;inset:0;z-index:150;align-items:center;justify-content:center;padding:18px}
.brand-image-modal.open{display:flex}
.brand-image-backdrop{
  position:absolute;inset:0;width:100%;height:100%;border:0;padding:0;
  background:rgba(2,5,14,.84);backdrop-filter:blur(8px);cursor:default
}
.brand-image-dialog{
  position:relative;z-index:1;width:min(92vw,820px);max-height:88vh;
  display:flex;align-items:center;justify-content:center
}
.brand-image-dialog img{
  display:block;max-width:100%;max-height:82vh;width:auto;height:auto;
  object-fit:contain;filter:drop-shadow(0 26px 55px rgba(0,0,0,.55))
}
.brand-image-close{
  position:absolute;right:2px;top:-4px;z-index:2;width:42px;height:42px;
  border-radius:50%;border:1px solid rgba(255,255,255,.16);
  background:rgba(10,14,27,.94);color:#fff;font-size:28px;line-height:1;
  display:grid;place-items:center;box-shadow:0 8px 28px rgba(0,0,0,.4)
}
@media(max-width:760px){
  .brand-logo-button{width:38px;height:38px}
  .brand-copy strong{font-size:14px}
  .brand-image-modal{padding:12px}
  .brand-image-dialog{width:96vw}
  .brand-image-dialog img{max-height:78vh}
  .brand-image-close{right:4px;top:-8px}
}


/* V2.1 — soporte WhatsApp */
.support-wrap{position:fixed;right:24px;bottom:24px;z-index:40}
.support-wrap .support{position:relative;right:auto;bottom:auto}
.support-bubble{
  position:absolute;right:0;bottom:66px;width:290px;
  padding:14px 15px;border-radius:18px;
  background:rgba(14,19,34,.97);border:1px solid rgba(255,255,255,.1);
  box-shadow:0 18px 55px rgba(0,0,0,.42);backdrop-filter:blur(14px);
  opacity:0;transform:translateY(10px) scale(.98);pointer-events:none;
  transition:.25s ease
}
.support-bubble.show{opacity:1;transform:translateY(0) scale(1);pointer-events:auto}
.support-bubble::after{
  content:"";position:absolute;right:18px;bottom:-7px;width:14px;height:14px;
  background:rgba(14,19,34,.97);border-right:1px solid rgba(255,255,255,.1);
  border-bottom:1px solid rgba(255,255,255,.1);transform:rotate(45deg)
}
.typing{height:34px;display:flex;align-items:center;gap:5px}
.typing span{
  width:7px;height:7px;border-radius:50%;background:#8da0c8;
  animation:typingDot 1s infinite ease-in-out
}
.typing span:nth-child(2){animation-delay:.15s}
.typing span:nth-child(3){animation-delay:.3s}
@keyframes typingDot{
  0%,60%,100%{transform:translateY(0);opacity:.45}
  30%{transform:translateY(-4px);opacity:1}
}
.support-message{display:none}
.support-message.visible{display:block}
.support-message strong{display:block;font-size:13px;margin-bottom:6px}
.support-message p{margin:0 0 11px;color:#aeb7cb;font-size:12px;line-height:1.45}
.support-message a{
  display:inline-flex;align-items:center;justify-content:center;
  width:100%;padding:10px 12px;border-radius:12px;text-decoration:none;
  background:#1fbd6a;color:white;font-size:12px;font-weight:850
}
@media(max-width:760px){
  .support-wrap{right:15px;bottom:90px}
  .support-bubble{width:min(280px,calc(100vw - 30px));right:0;bottom:60px}
}


/* V2.2 — CEO Aladdin Gamer */
.ceo-section{margin-top:38px}
.ceo-card{
  width:100%;display:flex;align-items:center;gap:16px;text-align:left;
  padding:16px 18px;border-radius:20px;border:1px solid var(--line);
  background:linear-gradient(145deg,rgba(25,32,58,.96),rgba(12,17,31,.96));
  color:var(--text);box-shadow:0 14px 38px rgba(0,0,0,.22);
  transition:.22s ease
}
.ceo-card:hover{transform:translateY(-2px);border-color:rgba(126,161,255,.38)}
.ceo-card img{
  width:72px;height:72px;object-fit:contain;border-radius:50%;
  background:#111827;flex:0 0 auto
}
.ceo-card-copy{display:block;min-width:0}
.ceo-card-copy strong{display:block;font-size:18px}
.ceo-card-copy small{display:block;color:var(--muted);font-size:12px;margin-top:3px}
.ceo-card-copy em{
  display:block;color:#8facff;font-size:11px;font-style:normal;
  font-weight:800;margin-top:9px
}

.ceo-modal{display:none;position:fixed;inset:0;z-index:155;align-items:center;justify-content:center;padding:18px}
.ceo-modal.open{display:flex}
.ceo-modal-backdrop{
  position:absolute;inset:0;border:0;background:rgba(2,5,14,.84);
  backdrop-filter:blur(8px)
}
.ceo-modal-dialog{
  position:relative;z-index:1;width:min(92vw,520px);max-height:88vh;overflow:auto;
  border-radius:24px;border:1px solid var(--line);
  background:linear-gradient(155deg,#151c32,#0d1222);
  padding:25px;text-align:center;box-shadow:0 30px 90px rgba(0,0,0,.6)
}
.ceo-modal-dialog img{
  width:112px;height:112px;object-fit:contain;border-radius:50%;
  margin:0 auto 14px;background:#10172a
}
.ceo-modal-dialog h2{margin:6px 0 16px;font-size:27px}
.ceo-modal-dialog p{color:#b1b9cc;font-size:13px;line-height:1.6;text-align:left}
.ceo-modal-dialog p strong{color:#f3f5fb}
.ceo-modal-close{
  position:absolute;right:13px;top:13px;width:38px;height:38px;border-radius:50%;
  border:1px solid var(--line);background:#151d32;color:#fff;font-size:25px
}

/* V2.2 — el globo de soporte desaparece más rápido */
.support-bubble{transition:.22s ease}

@media(max-width:760px){
  .ceo-card{padding:13px 14px;gap:12px}
  .ceo-card img{width:60px;height:60px}
  .ceo-card-copy strong{font-size:16px}
  .ceo-modal{padding:12px}
  .ceo-modal-dialog{padding:22px 18px}
}


/* V2.3 — Redes y canales */
.social-section{margin-top:38px}
.social-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.social-card{
  display:flex;align-items:flex-start;gap:14px;padding:17px;
  border:1px solid var(--line);border-radius:20px;
  background:linear-gradient(145deg,rgba(19,25,45,.96),rgba(11,16,29,.96));
  color:var(--text);text-decoration:none;transition:.22s ease;
  min-height:132px
}
.social-card:hover{transform:translateY(-2px);border-color:rgba(126,161,255,.35)}
.social-icon{
  width:46px;height:46px;border-radius:14px;display:grid;place-items:center;
  flex:0 0 auto;font-size:20px;font-weight:900;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08)
}
.social-copy{min-width:0}
.social-copy strong{display:block;font-size:15px;margin-bottom:5px}
.social-copy small{display:block;color:var(--muted);font-size:11px;line-height:1.5}
.social-copy em{display:block;margin-top:10px;font-size:11px;font-style:normal;font-weight:800;color:#8facff}
.social-card.instagram .social-icon{background:linear-gradient(135deg,#8b5cf6,#ec4899)}
.social-card.facebook .social-icon{background:linear-gradient(135deg,#2563eb,#60a5fa)}
.social-card.youtube .social-icon{background:linear-gradient(135deg,#ef4444,#b91c1c)}
.social-card.telegram .social-icon{background:linear-gradient(135deg,#0ea5e9,#38bdf8)}
@media(max-width:760px){
  .social-grid{grid-template-columns:1fr}
  .social-card{min-height:auto;padding:14px}
}


/* V2.4 — logos reales de redes */
.social-icon img{
  width:25px;
  height:25px;
  display:block;
  object-fit:contain;
  filter:brightness(0) invert(1);
}
.social-card.facebook .social-icon img{width:27px;height:27px}
.social-card.youtube .social-icon img{width:27px;height:27px}
.social-card.telegram .social-icon img{width:26px;height:26px}


/* V2.5 — redes compactas 2x2 */
.social-grid{grid-template-columns:repeat(2,1fr)!important;gap:12px}
.social-card{
  min-height:92px!important;
  align-items:center!important;
  padding:14px 16px!important;
}
.social-copy.compact strong{
  margin:0!important;
  font-size:14px;
  line-height:1.25;
}
.social-copy.compact small,
.social-copy.compact em{display:none!important}

@media(max-width:760px){
  .social-grid{grid-template-columns:repeat(2,1fr)!important;gap:10px}
  .social-card{
    min-height:82px!important;
    padding:12px!important;
    gap:10px!important;
  }
  .social-icon{
    width:40px!important;
    height:40px!important;
    border-radius:12px!important;
  }
  .social-icon img{width:22px!important;height:22px!important}
  .social-card.facebook .social-icon img,
  .social-card.youtube .social-icon img,
  .social-card.telegram .social-icon img{width:23px!important;height:23px!important}
  .social-copy.compact strong{font-size:12px}
}


/* V2.6 — descripciones cortas dentro del formato 2x2 */
.social-copy.compact small{
  display:block!important;
  margin-top:4px;
  color:var(--muted);
  font-size:10px;
  line-height:1.35;
}
.social-copy.compact em{display:none!important}
@media(max-width:760px){
  .social-card{
    align-items:flex-start!important;
    min-height:96px!important;
  }
  .social-copy.compact strong{
    font-size:12px!important;
  }
  .social-copy.compact small{
    font-size:9.5px!important;
    line-height:1.3;
  }
}


/* V2.7 — portada adaptada a horizontal y escritorio */
@media (orientation: landscape) and (max-height: 620px){
  .hero{min-height:430px}
  .hero-bg::after{
    background-size:cover;
    background-position:center center;
    transform-origin:center center;
    animation:heroBreathWide 9s ease-in-out infinite alternate;
  }
  .hero-content{
    padding-top:48px;
    padding-bottom:38px;
  }
}


/* V2.8 — redes más compactas y logo Instagram más fiel */
.social-grid{
  gap:10px!important;
}
.social-card{
  min-height:0!important;
  padding:10px 12px!important;
  gap:10px!important;
  align-items:center!important;
  border-radius:16px!important;
}
.social-icon{
  width:40px!important;
  height:40px!important;
  border-radius:11px!important;
  flex:0 0 40px!important;
}
.social-icon img{
  width:22px!important;
  height:22px!important;
}
.social-card.instagram .social-icon{
  background:transparent!important;
  border:0!important;
  padding:0!important;
}
.social-card.instagram .social-icon img{
  width:40px!important;
  height:40px!important;
  filter:none!important;
}
.social-copy.compact strong{
  font-size:13px!important;
  line-height:1.2!important;
}
.social-copy.compact small{
  font-size:9.5px!important;
  line-height:1.25!important;
  margin-top:3px!important;
}
@media(max-width:760px){
  .social-grid{gap:8px!important}
  .social-card{
    min-height:0!important;
    padding:9px 10px!important;
    gap:8px!important;
    border-radius:14px!important;
  }
  .social-icon{
    width:36px!important;
    height:36px!important;
    flex-basis:36px!important;
  }
  .social-icon img{
    width:20px!important;
    height:20px!important;
  }
  .social-card.instagram .social-icon img{
    width:36px!important;
    height:36px!important;
  }
  .social-copy.compact strong{
    font-size:11.5px!important;
  }
  .social-copy.compact small{
    font-size:8.8px!important;
    line-height:1.2!important;
  }
}


/* =========================================================
   V2.9 — Ajustes + Mi cuenta + foto CEO ampliable
   ========================================================= */

/* Botón superior de ajustes */
.settings-top-btn span{
  display:block;
  font-size:18px;
  line-height:1;
  transition:transform .25s ease;
}
.settings-top-btn:hover span{transform:rotate(28deg)}

/* Ajustes */
.settings-modal{text-align:left}
.settings-heading{
  display:flex;
  align-items:center;
  gap:12px;
  padding-right:38px;
  margin-bottom:18px;
}
.settings-heading-icon{
  width:50px;height:50px;border-radius:15px;
  display:grid;place-items:center;
  background:linear-gradient(135deg,#202b50,#17203a);
  border:1px solid var(--line);
  font-size:22px;
}
.settings-heading h2{margin:3px 0 0;font-size:25px}
.settings-list{
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:17px;
  background:rgba(255,255,255,.025);
}
.setting-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  padding:16px;
}
.setting-row + .setting-row{border-top:1px solid var(--line)}
.setting-row strong{display:block;font-size:13px}
.setting-row small{
  display:block;
  margin-top:4px;
  max-width:310px;
  color:var(--muted);
  font-size:10.5px;
  line-height:1.4;
}
.switch{
  width:48px;height:28px;flex:0 0 48px;
  padding:3px;border:0;border-radius:999px;
  background:#293149;
  transition:.22s ease;
}
.switch span{
  display:block;width:22px;height:22px;
  border-radius:50%;background:white;
  box-shadow:0 3px 10px rgba(0,0,0,.3);
  transition:.22s ease;
}
.switch.active{background:linear-gradient(135deg,var(--blue),var(--purple))}
.switch.active span{transform:translateX(20px)}
.settings-footnote{
  margin:13px 2px 0;
  color:var(--muted);
  font-size:10px;
  text-align:center;
}

/* Mi cuenta */
.account-modal{text-align:left}
.account-head{
  display:flex;
  align-items:center;
  gap:14px;
  padding-right:34px;
}
.account-avatar{
  width:66px;height:66px;border-radius:20px;
  display:grid;place-items:center;flex:0 0 66px;
  background:linear-gradient(135deg,var(--blue),var(--purple));
  font-size:18px;font-weight:950;
  box-shadow:0 12px 30px rgba(75,124,255,.24);
}
.account-status{
  display:block;
  color:#6ee7b7;
  font-size:9px;
  font-weight:900;
  letter-spacing:1.2px;
}
.account-head h2{margin:3px 0 1px;font-size:24px}
.account-head p{margin:0;color:var(--muted);font-size:11px}
.account-balance-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
  margin:19px 0 12px;
}
.account-balance{
  padding:13px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#0c1222;
}
.account-balance small{display:block;color:var(--muted);font-size:10px}
.account-balance strong{display:block;margin-top:5px;font-size:14px}
.account-note{
  margin-bottom:14px;
  padding:11px 12px;
  border-radius:13px;
  background:rgba(126,161,255,.07);
  border:1px solid rgba(126,161,255,.12);
  color:#aeb8ce;
  font-size:10.5px;
  line-height:1.45;
}
.account-modal .secondary{margin-top:9px}

/* Imagen del CEO cliqueable */
.ceo-photo-button{
  position:relative;
  width:112px;height:112px;
  margin:0 auto 14px;
  padding:0;border:0;border-radius:50%;
  background:#10172a;
  display:block;
  cursor:zoom-in;
  overflow:hidden;
}
.ceo-photo-button img{
  width:100%!important;height:100%!important;
  margin:0!important;
  object-fit:contain!important;
  border-radius:50%!important;
  transition:transform .22s ease;
}
.ceo-photo-button:hover img{transform:scale(1.035)}
.ceo-photo-zoom{
  position:absolute;
  right:5px;bottom:5px;
  width:28px;height:28px;border-radius:50%;
  display:grid;place-items:center;
  background:rgba(8,12,23,.88);
  color:#fff;
  border:1px solid rgba(255,255,255,.15);
  font-size:18px;
  line-height:1;
}

.ceo-image-viewer{
  display:none;
  position:fixed;inset:0;z-index:175;
  align-items:center;justify-content:center;
  padding:18px;
}
.ceo-image-viewer.open{display:flex}
.ceo-image-viewer-backdrop{
  position:absolute;inset:0;
  width:100%;height:100%;
  padding:0;border:0;
  background:rgba(2,5,14,.9);
  backdrop-filter:blur(9px);
}
.ceo-image-viewer-dialog{
  position:relative;z-index:1;
  width:min(92vw,760px);
  max-height:88vh;
  display:flex;align-items:center;justify-content:center;
}
.ceo-image-viewer-dialog img{
  display:block;
  max-width:100%;
  max-height:82vh;
  width:auto;height:auto;
  object-fit:contain;
  border-radius:50%;
  clip-path:circle(49.35% at 50% 50%);
  filter:drop-shadow(0 28px 65px rgba(0,0,0,.58));
}
.ceo-image-viewer-close{
  position:absolute;right:0;top:-8px;z-index:2;
  width:42px;height:42px;border-radius:50%;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(10,14,27,.95);
  color:white;font-size:28px;
  display:grid;place-items:center;
}

/* Reducir movimiento desde Ajustes */
body.reduce-motion .hero-bg::after{animation:none!important;transform:none!important}
body.reduce-motion .game-card img,
body.reduce-motion .ceo-card,
body.reduce-motion .settings-top-btn span{transition:none!important}
body.reduce-motion .typing span{animation:none!important}

@media(max-width:760px){
  .settings-heading-icon{width:45px;height:45px}
  .setting-row{padding:14px 12px}
  .setting-row small{max-width:220px}
  .account-avatar{width:58px;height:58px;flex-basis:58px;border-radius:18px}
  .account-balance-grid{gap:7px}
  .ceo-photo-button{width:104px;height:104px}
  .ceo-image-viewer{padding:12px}
  .ceo-image-viewer-dialog{width:96vw}
  .ceo-image-viewer-dialog img{max-height:78vh;border-radius:18px}
}


/* =========================================================
   V3.0 — Ayuda + navegación + CEO limpio
   ========================================================= */

/* CEO: sin indicador circular encima de la imagen */
.ceo-photo-zoom{display:none!important}

/* Acciones dentro de Ajustes */
.setting-action-row{min-height:68px}
.setting-action-btn{
  min-width:66px;
  padding:9px 12px;
  border-radius:11px;
  border:1px solid rgba(126,161,255,.18);
  background:rgba(126,161,255,.08);
  color:#a9baff;
  font-size:11px;
  font-weight:850;
}
.setting-action-btn:hover{background:rgba(126,161,255,.14)}
.setting-action-btn.logout{
  color:#ff9b9b;
  border-color:rgba(255,111,111,.18);
  background:rgba(255,92,92,.07);
}
.setting-action-btn.logout:hover{background:rgba(255,92,92,.12)}

/* Centro de Ayuda */
.help-modal{text-align:left}
.help-heading{
  display:flex;
  align-items:center;
  gap:12px;
  padding-right:36px;
  margin-bottom:18px;
}
.help-heading-icon{
  width:48px;height:48px;
  border-radius:15px;
  display:grid;place-items:center;
  background:linear-gradient(135deg,var(--blue),var(--purple));
  color:white;
  font-size:22px;
  font-weight:950;
}
.help-heading h2{margin:3px 0 0;font-size:25px}
.help-steps{
  display:grid;
  gap:9px;
}
.help-steps article{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:13px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(255,255,255,.025);
}
.help-steps article>span{
  width:31px;height:31px;
  border-radius:10px;
  flex:0 0 31px;
  display:grid;place-items:center;
  background:rgba(75,124,255,.12);
  color:#8eabff;
  font-size:10px;
  font-weight:950;
}
.help-steps h3{
  margin:1px 0 4px;
  font-size:13px;
}
.help-steps p{
  margin:0;
  color:var(--muted);
  font-size:10.5px;
  line-height:1.4;
}
.help-support-note{
  margin-top:12px;
  padding:11px 12px;
  border-radius:13px;
  border:1px solid rgba(51,209,143,.13);
  background:rgba(51,209,143,.06);
  color:#a8cfc1;
  font-size:10.5px;
  line-height:1.45;
}

@media(max-width:760px){
  .setting-action-btn{min-width:58px;padding:8px 10px}
  .help-heading-icon{width:44px;height:44px}
  .help-steps article{padding:11px}
}


/* =========================================================
   V3.2 — Inicio + carrusel compacto + CEO transparente
   ========================================================= */

/* Icono Inicio */
.nav-svg{
  width:21px;
  height:21px;
  display:grid;
  place-items:center;
}
.nav-svg svg{
  width:21px;
  height:21px;
  display:block;
}

/* Carrusel de juegos destacados: 2 visibles, 4 en total */
.featured-carousel{
  position:relative;
  width:100%;
}
.featured-viewport{
  overflow:hidden;
  width:100%;
  border-radius:20px;
}
.featured-track{
  display:flex;
  gap:12px;
  transition:transform .48s cubic-bezier(.22,.8,.3,1);
  will-change:transform;
}
.featured-track .game-card{
  flex:0 0 calc((100% - 12px)/2);
  min-width:calc((100% - 12px)/2);
}
.featured-dots{
  display:flex;
  justify-content:center;
  gap:6px;
  margin-top:11px;
}
.featured-dot{
  width:6px;
  height:6px;
  padding:0;
  border:0;
  border-radius:999px;
  background:#3a4258;
  transition:.2s ease;
}
.featured-dot.active{
  width:18px;
  background:#7f9cff;
}

/* Visor foto CEO: más transparente, sin bloque negro pesado */
.ceo-image-viewer-backdrop{
  background:rgba(3,6,15,.48)!important;
  backdrop-filter:blur(5px)!important;
}
.ceo-image-viewer-dialog img{
  filter:drop-shadow(0 24px 52px rgba(0,0,0,.42))!important;
}

@media(max-width:760px){
  .featured-track{gap:8px}
  .featured-track .game-card{
    flex-basis:calc((100% - 8px)/2);
    min-width:calc((100% - 8px)/2);
  }
}

@media(max-width:390px){
  /* Incluso en teléfonos estrechos se mantienen 2 juegos visibles */
  .featured-track .game-card{
    flex-basis:calc((100% - 8px)/2);
    min-width:calc((100% - 8px)/2);
  }
}


/* =========================================================
   V4.0 — Autenticación real con Supabase
   ========================================================= */

.auth-modal-card{
  width:min(92vw,480px);
  text-align:left;
}
.register-card{max-height:90vh}
.auth-heading{
  display:flex;
  align-items:center;
  gap:12px;
  padding-right:36px;
  margin-bottom:18px;
}
.auth-heading-icon{
  width:48px;height:48px;
  border-radius:15px;
  display:grid;place-items:center;
  flex:0 0 48px;
  font-size:21px;
  background:linear-gradient(135deg,#202b50,#17203a);
  border:1px solid var(--line);
}
.auth-heading h2{margin:3px 0 0;font-size:25px}
.auth-form label{
  display:block;
  margin:12px 0 6px;
  color:#cbd1de;
  font-size:11px;
  font-weight:800;
}
.auth-form>input,
.password-field input,
.phone-field input,
.phone-field select{
  width:100%;
  border:1px solid var(--line);
  outline:none;
  border-radius:12px;
  background:#0a1020;
  color:#fff;
  padding:12px 13px;
}
.auth-form input:focus,
.phone-field select:focus{
  border-color:#668bff;
  box-shadow:0 0 0 3px rgba(102,139,255,.09);
}
.auth-field-hint{
  display:block;
  margin:6px 2px 0;
  color:var(--muted);
  font-size:9.5px;
  line-height:1.4;
}
.auth-field-hint strong{color:#cbd8ff}
.gamedin-turnstile{
  min-height:65px;
  margin-top:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.gamedin-turnstile:empty::before{
  content:"Cargando verificación de seguridad…";
  color:var(--muted);
  font-size:9.5px;
}
.gamedin-turnstile iframe{max-width:100%}
.password-field{
  display:flex;
  align-items:center;
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
  background:#0a1020;
}
.password-field:focus-within{
  border-color:#668bff;
  box-shadow:0 0 0 3px rgba(102,139,255,.09);
}
.password-field input{
  border:0!important;
  border-radius:0;
  box-shadow:none!important;
}
.password-toggle{
  border:0;
  background:transparent;
  color:#8ea8ff;
  font-size:10px;
  font-weight:850;
  padding:0 12px;
}
.phone-field{
  display:grid;
  grid-template-columns:112px 1fr;
  gap:8px;
}
.phone-field select{appearance:auto}
.auth-submit{margin-top:16px!important}
.auth-submit[disabled]{opacity:.62;cursor:not-allowed;transform:none}
.auth-switch{
  margin:15px 0 0;
  color:var(--muted);
  font-size:11px;
  text-align:center;
}
.auth-switch button{
  border:0;background:transparent;padding:0;
  color:#8eabff;font-weight:850;
}
.auth-error{
  margin-top:12px;
  padding:10px 11px;
  border-radius:11px;
  border:1px solid rgba(255,102,102,.18);
  background:rgba(255,72,72,.08);
  color:#ffb0b0;
  font-size:10.5px;
  line-height:1.4;
}
.verify-card{text-align:center}
.verify-icon{font-size:42px;margin-bottom:10px}
.verify-card h2{margin:6px 0 8px}
.verify-card p{
  margin:0 auto 18px;
  max-width:350px;
  color:var(--muted);
  font-size:12px;
  line-height:1.55;
}

.account-user-details{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin:16px 0 0;
}
.account-user-details>div{
  min-width:0;
  padding:11px 12px;
  border:1px solid var(--line);
  border-radius:13px;
  background:#0c1222;
}
.account-user-details small{
  display:block;color:var(--muted);font-size:9px;margin-bottom:4px
}
.account-user-details strong{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:11px;
}
.account-active-badge{
  padding:11px 12px;
  border-radius:13px;
  border:1px solid rgba(51,209,143,.15);
  background:rgba(51,209,143,.07);
  color:#8de0bb;
  font-size:11px;
  font-weight:800;
  text-align:center;
}
.account-status.logged{color:#66e1ad}

.auth-required-toast{
  position:fixed;
  z-index:130;
  left:50%;
  top:90px;
  width:min(90vw,420px);
  transform:translate(-50%,-12px);
  opacity:0;
  pointer-events:none;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(126,161,255,.18);
  background:rgba(14,20,36,.96);
  color:#dbe2f4;
  box-shadow:0 16px 46px rgba(0,0,0,.35);
  transition:.22s ease;
  font-size:11px;
  text-align:center;
}
.auth-required-toast.show{
  opacity:1;
  transform:translate(-50%,0);
}

@media(max-width:760px){
  .auth-modal-card{width:94vw}
  .register-card{max-height:88vh}
  .phone-field{grid-template-columns:105px 1fr}
  .account-user-details{grid-template-columns:1fr}
}


/* V4.1 — seguridad y recuperación de cuenta */
.toast.success{
  background:rgba(10,54,39,.97);
  border-color:rgba(64,222,151,.35);
  color:#eafff5;
  padding:13px 18px;
  font-weight:850;
  box-shadow:0 16px 48px rgba(0,0,0,.42),0 0 0 1px rgba(65,220,151,.06);
}
.toast.success::before{
  content:"✓";
  display:inline-grid;place-items:center;
  width:22px;height:22px;margin-right:8px;border-radius:50%;
  background:#2dd58b;color:#08251a;font-size:13px;font-weight:950;
  vertical-align:middle;
}
.forgot-row{display:flex;justify-content:flex-end;margin-top:8px}
.forgot-row button{
  border:0;background:transparent;padding:0;color:#8ea8ff;
  font-size:10px;font-weight:800
}
.forgot-nudge{
  margin-top:11px;display:grid;grid-template-columns:auto 1fr auto;
  align-items:center;gap:9px;padding:10px;border-radius:13px;
  border:1px solid rgba(126,161,255,.16);background:rgba(126,161,255,.07)
}
.forgot-nudge[hidden]{display:none!important}
.forgot-nudge>span{font-size:19px}
.forgot-nudge strong{display:block;font-size:10.5px}
.forgot-nudge small{display:block;margin-top:2px;color:var(--muted);font-size:9px;line-height:1.3}
.forgot-nudge button{
  border:0;border-radius:9px;padding:7px 8px;background:#25345e;
  color:#a9bcff;font-size:9px;font-weight:850
}
.recovery-form{text-align:left}
.success-lock{
  width:54px;height:54px;margin:0 auto 12px;display:grid;place-items:center;
  border-radius:50%;background:#2dd58b;color:#08251a;font-size:27px;font-weight:950
}
.reset-password-card .verify-icon.success-lock{font-size:27px}
.logout-confirm-card{text-align:center}
.logout-confirm-icon{
  width:58px;height:58px;margin:0 auto 12px;border-radius:18px;
  display:grid;place-items:center;background:rgba(255,111,111,.08);
  border:1px solid rgba(255,111,111,.15);color:#ff9d9d;font-size:30px
}
.logout-confirm-card h2{margin:6px 0 8px}
.logout-confirm-card p{
  margin:0 auto 17px;max-width:340px;color:var(--muted);
  font-size:11px;line-height:1.5
}
.logout-confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.danger-btn{
  border:1px solid rgba(255,102,102,.2);border-radius:14px;padding:13px 15px;
  background:linear-gradient(135deg,#d84f5b,#b93648);color:#fff;font-weight:850
}
@media(max-width:760px){
  .forgot-nudge{grid-template-columns:auto 1fr}
  .forgot-nudge button{grid-column:1/-1;width:100%}
  .logout-confirm-actions{grid-template-columns:1fr}
}


/* =========================================================
   V4.2 — Editar cuenta + Seguridad
   ========================================================= */

.account-action-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:9px;
}
.account-action-grid .secondary{margin:0!important}
.account-edit-btn,.account-security-btn{font-size:10.5px!important}

.avatar-editor{
  display:grid;
  grid-template-columns:92px 1fr;
  gap:15px;
  align-items:center;
  padding:13px;
  margin-bottom:14px;
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(255,255,255,.025);
}
.avatar-preview{
  position:relative;
  width:84px;height:84px;
  padding:0;border:0;border-radius:50%;
  overflow:hidden;
  display:grid;place-items:center;
  background:linear-gradient(135deg,var(--blue),var(--purple));
  background-size:cover;
  background-position:center;
  color:#fff;
  font-weight:950;
  font-size:20px;
}
.avatar-camera{
  position:absolute;
  right:2px;bottom:3px;
  width:28px;height:28px;
  display:grid;place-items:center;
  border-radius:50%;
  background:#111827;
  border:2px solid #1b2338;
  font-size:12px;
}
.avatar-editor strong{display:block;font-size:13px}
.avatar-editor small{
  display:block;
  margin:4px 0 8px;
  color:var(--muted);
  font-size:9.5px;
  line-height:1.35;
}
.mini-action-btn{
  border:1px solid rgba(126,161,255,.16);
  border-radius:9px;
  background:rgba(126,161,255,.08);
  color:#aebeff;
  padding:7px 9px;
  font-size:9px;
  font-weight:850;
}
.mini-action-btn + .mini-action-btn{margin-left:4px}
.mini-action-btn.danger-soft{
  color:#ffaaaa;
  border-color:rgba(255,100,100,.14);
  background:rgba(255,90,90,.06);
}

.account-avatar.has-photo,
#topAvatar.has-photo{
  color:transparent;
  background-size:cover!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
}

.security-account-card{
  max-height:90vh;
  overflow:auto;
}
.security-panel{
  padding:14px;
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(255,255,255,.025);
}
.security-panel + .security-panel{margin-top:10px}
.security-panel-title strong{display:block;font-size:13px}
.security-panel-title small{
  display:block;
  margin-top:3px;
  color:var(--muted);
  font-size:9.5px;
  line-height:1.4;
}
.compact-auth-form label{margin-top:10px}
.security-submit{
  margin-top:13px!important;
  font-size:11px!important;
}
.security-note{
  margin-top:11px;
  padding:10px 11px;
  border-radius:12px;
  background:rgba(51,209,143,.06);
  border:1px solid rgba(51,209,143,.12);
  color:#a8d7c4;
  font-size:9.5px;
  line-height:1.4;
}

@media(max-width:760px){
  .account-action-grid{grid-template-columns:1fr}
  .avatar-editor{
    grid-template-columns:76px 1fr;
    gap:11px;
  }
  .avatar-preview{width:70px;height:70px}
}


/* =========================================================
   V5.0 — SALDOS · DEPÓSITOS · PEDIDOS · NOTIFICACIONES
   ========================================================= */

/* Bell */
.notification-top-btn{position:relative}
.notification-top-btn>span{font-size:17px}
.notification-badge{
  position:absolute;right:-4px;top:-5px;
  min-width:18px;height:18px;padding:0 5px;
  display:grid;place-items:center;
  border-radius:999px;background:#ef334f;color:#fff;
  border:2px solid #0b1020;font-size:9px;font-weight:950;
  box-shadow:0 5px 15px rgba(239,51,79,.35)
}
.notification-badge[hidden]{display:none!important}

/* Deposit */
.deposit-shell{
  width:min(100%,720px);margin:0 auto;
  padding:18px;border:1px solid var(--line);border-radius:23px;
  background:linear-gradient(145deg,rgba(18,24,44,.98),rgba(9,14,27,.98));
  box-shadow:0 18px 50px rgba(0,0,0,.22)
}
.deposit-type-row{margin-bottom:15px}
.deposit-type-row .choice{flex:1}
.deposit-destination{
  padding:16px;border:1px solid rgba(126,161,255,.14);
  border-radius:18px;background:rgba(126,161,255,.045);
  margin-bottom:17px
}
.deposit-destination[hidden]{display:none!important}
.deposit-kicker{
  display:block;margin-bottom:8px;color:#809eff;
  font-size:9px;font-weight:950;letter-spacing:1.4px
}
.copy-value-box{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:13px 14px;border:1px solid var(--line);
  border-radius:14px;background:#080e1d
}
.copy-value-box strong{
  font-size:clamp(17px,3.5vw,23px);letter-spacing:1.6px;
  white-space:nowrap
}
.copy-value-btn{
  width:40px;height:40px;flex:0 0 40px;padding:9px;
  border:1px solid rgba(126,161,255,.18);border-radius:11px;
  background:rgba(126,161,255,.08);color:#9eb2ff
}
.copy-value-btn svg{
  width:100%;height:100%;fill:none;stroke:currentColor;
  stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round
}
.deposit-caption{
  margin:10px 2px 0;color:var(--muted);font-size:10.5px;line-height:1.45
}
.deposit-caption strong{color:#dce3f2}
.deposit-help{
  margin-top:11px;border-top:1px solid var(--line);padding-top:10px
}
.deposit-help summary{
  list-style:none;cursor:pointer;color:#aabaff;
  font-size:10.5px;font-weight:800
}
.deposit-help summary::-webkit-details-marker{display:none}
.deposit-help p{margin:8px 0 0;color:var(--muted);font-size:10px;line-height:1.5}
.deposit-form label{display:block;margin:13px 0 6px;font-size:11px;font-weight:800}
.deposit-form label small{color:var(--muted);font-weight:500}
.deposit-amount-field{margin:0}
.real-upload{width:100%;min-height:84px}
.receipt-preview{
  display:flex;align-items:center;gap:10px;
  margin-top:9px;padding:9px;border-radius:12px;
  border:1px solid var(--line);background:#0a1020
}
.receipt-preview[hidden]{display:none!important}
.receipt-preview img{
  width:54px;height:54px;object-fit:cover;border-radius:9px
}
.receipt-preview span{
  min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  color:var(--muted);font-size:10px
}

/* Game modal real */
.game-modal-card{max-height:90vh;overflow:auto}
.mlbb-warning{
  margin:0 0 13px;padding:10px 11px;border-radius:12px;
  border:1px solid rgba(255,78,78,.2);background:rgba(255,55,55,.075);
  color:#ffaaaa;font-size:10.5px;line-height:1.4
}
.mlbb-warning[hidden]{display:none!important}
.order-wallet-choice .choice{flex:1}
.selected-price-line{
  display:flex;align-items:center;justify-content:space-between;
  margin:12px 0;padding:11px 12px;border:1px solid var(--line);
  border-radius:13px;background:#0a1020
}
.selected-price-line span{color:var(--muted);font-size:10px}
.selected-price-line strong{font-size:12px}
.packages .package small{line-height:1.25}
.confirm-order-card{width:min(92vw,500px)}
.confirm-order-card h2{margin:5px 0 16px}
.confirm-order-list{
  overflow:hidden;border:1px solid var(--line);
  border-radius:16px;background:rgba(255,255,255,.02)
}
.confirm-order-list>div{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:11px 13px
}
.confirm-order-list>div+div{border-top:1px solid var(--line)}
.confirm-order-list span{color:var(--muted);font-size:10px}
.confirm-order-list strong{text-align:right;font-size:11px}
.confirm-order-list .confirm-after{
  background:rgba(85,124,255,.07)
}
#goDepositFromOrder{margin-top:9px}

/* Notifications */
.notifications-modal{width:min(92vw,560px);max-height:82vh;overflow:auto}
.notification-heading{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding-right:36px;margin-bottom:15px
}
.notification-heading h2{margin:3px 0 0}
.notifications-list{display:grid;gap:8px}
.notification-item{
  display:grid;grid-template-columns:9px 1fr;gap:10px;
  padding:12px;border:1px solid var(--line);border-radius:14px;
  background:rgba(255,255,255,.025)
}
.notification-item.unread{
  border-color:rgba(94,137,255,.24);
  background:rgba(94,137,255,.065)
}
.notification-dot{
  width:7px;height:7px;border-radius:50%;margin-top:5px;background:#414a60
}
.notification-item.unread .notification-dot{background:#ff3f5d;box-shadow:0 0 0 4px rgba(255,63,93,.08)}
.notification-item strong{display:block;font-size:11.5px}
.notification-item p{margin:4px 0;color:#aeb7ca;font-size:10px;line-height:1.45}
.notification-item.type-public_announcement .notification-content p{
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}
.notification-item small{color:#68738a;font-size:8.5px}

/* Activity */
.activity-filters{
  display:flex;gap:7px;overflow:auto;padding:2px 1px 11px;
  scrollbar-width:none
}
.activity-filters::-webkit-scrollbar{display:none}
.activity-filter{
  flex:0 0 auto;border:1px solid var(--line);border-radius:999px;
  padding:8px 11px;background:#0d1425;color:#8e98ae;
  font-size:9.5px;font-weight:800
}
.activity-filter.active{
  background:rgba(75,124,255,.13);border-color:rgba(75,124,255,.28);color:#b8c7ff
}
.activity-list{display:grid;gap:9px}
.activity-card{
  display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:11px;
  align-items:center;padding:13px;border:1px solid var(--line);
  border-radius:16px;background:linear-gradient(145deg,#11182b,#0b1120)
}
.activity-icon{
  width:40px;height:40px;border-radius:12px;display:grid;place-items:center;
  background:rgba(255,255,255,.045);font-size:18px
}
.activity-main{min-width:0}
.activity-title{
  display:flex;align-items:center;gap:7px;flex-wrap:wrap
}
.activity-title strong{
  max-width:100%;overflow:hidden;text-overflow:ellipsis;
  font-size:11px
}
.activity-main p{margin:4px 0;color:var(--muted);font-size:9.5px;line-height:1.35}
.activity-main>small{color:#68738a;font-size:8.5px}
.status{
  display:inline-flex;padding:3px 6px;border-radius:999px;
  font-size:7.5px;font-weight:900;text-transform:uppercase;letter-spacing:.3px
}
.status.pending{background:rgba(250,185,55,.1);color:#ffd077}
.status.approved,.status.completed{background:rgba(45,213,139,.1);color:#77e9b5}
.status.rejected{background:rgba(255,75,88,.1);color:#ff9ca4}
.activity-amount{
  text-align:right;color:#e3e7f0;font-size:11px;font-weight:900;white-space:nowrap
}
.activity-amount small{display:block;margin-top:2px;color:#68738a;font-size:7.5px}
.activity-amount.positive{color:#62dca5}
.activity-amount.negative{color:#ff9caa}
.compact-empty{padding:25px 15px!important}
.admin-link-btn{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}

/* Desktop */
@media(min-width:761px){
  .deposit-shell{padding:22px}
}

/* Mobile */
@media(max-width:760px){
  .notification-top-btn{width:39px;height:39px}
  .copy-value-box strong{font-size:15px;letter-spacing:.8px}
  .copy-value-btn{width:37px;height:37px;flex-basis:37px}
  .deposit-shell{padding:13px;border-radius:19px}
  .deposit-destination{padding:13px}
  .activity-card{
    grid-template-columns:36px minmax(0,1fr) auto;
    padding:11px;gap:9px
  }
  .activity-icon{width:36px;height:36px}
  .activity-amount{font-size:10px}
}


/* =========================================================
   V5.1 — limpieza visual + asistente por palabras clave
   ========================================================= */

/* Ya no existe un enlace público al panel administrador */
.admin-link-btn{display:none!important}

/* Botón de la burbuja automática */
.support-message button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  padding:10px 12px;
  border:0;
  border-radius:12px;
  background:linear-gradient(135deg,#466cff,#755cff);
  color:white;
  font-size:12px;
  font-weight:850;
}

/* Chat del asistente */
.support-chat-shell{z-index:165}
.support-chat-card{
  position:relative;
  z-index:1;
  width:min(94vw,540px);
  height:min(80vh,660px);
  display:grid;
  grid-template-rows:auto 1fr auto auto auto;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.1);
  border-radius:24px;
  background:#eef2f7;
  box-shadow:0 30px 90px rgba(0,0,0,.6);
}
.support-chat-header{
  min-height:70px;
  display:flex;
  align-items:center;
  gap:11px;
  padding:12px 15px;
  background:linear-gradient(135deg,#111a2d,#0d1626);
  color:#fff;
}
.support-chat-avatar{
  width:45px;height:45px;
  flex:0 0 45px;
  display:grid;place-items:center;
  border-radius:14px;
  background:#15342d;
  font-size:23px;
}
.support-chat-header strong{display:block;font-size:13px}
.support-chat-header small{display:block;margin-top:2px;color:#8ed5ba;font-size:9px}
.support-chat-close{
  margin-left:auto;
  width:37px;height:37px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:50%;
  background:rgba(255,255,255,.06);
  color:#fff;
  font-size:24px;
}
.support-chat-messages{
  min-height:0;
  overflow:auto;
  padding:16px 13px;
  background:
    radial-gradient(circle at 10% 20%,rgba(85,111,160,.05),transparent 25%),
    #e9edf3;
}
.support-chat-message{
  display:flex;
  margin:0 0 9px;
}
.support-chat-message.user{justify-content:flex-end}
.support-chat-message-bubble{
  max-width:84%;
  padding:10px 12px;
  border-radius:14px 14px 14px 4px;
  background:#fff;
  color:#20283a;
  box-shadow:0 2px 8px rgba(18,28,50,.08);
  font-size:11px;
  line-height:1.45;
  white-space:pre-wrap;
}
.support-chat-message.user .support-chat-message-bubble{
  border-radius:14px 14px 4px 14px;
  background:#d7f7e5;
  color:#153727;
}
.support-chat-copy-row{margin-top:-4px}.support-chat-copy{padding:8px 10px;border:1px solid #b9d7c7;border-radius:10px;background:#f5fff9;color:#167047;font-size:9px;font-weight:850;cursor:pointer}
.support-chat-typing .support-chat-message-bubble{
  display:flex;
  gap:4px;
  align-items:center;
  min-width:52px;
}
.support-chat-typing span{
  width:6px;height:6px;border-radius:50%;
  background:#8190a9;
  animation:typingDot 1s infinite ease-in-out;
}
.support-chat-typing span:nth-child(2){animation-delay:.15s}
.support-chat-typing span:nth-child(3){animation-delay:.3s}
.support-quick-questions{
  display:flex;
  gap:6px;
  overflow:auto;
  padding:8px 10px;
  background:#f4f6f9;
  border-top:1px solid #dce2eb;
  scrollbar-width:none;
}
.support-quick-questions::-webkit-scrollbar{display:none}
.support-quick-questions button{
  flex:0 0 auto;
  padding:7px 9px;
  border:1px solid #d4dbe6;
  border-radius:999px;
  background:#fff;
  color:#42506a;
  font-size:9px;
  font-weight:800;
}
.support-human-link{
  margin:0 10px 8px;
  padding:9px 11px;
  border-radius:11px;
  background:#1fbd6a;
  color:#fff;
  text-decoration:none;
  text-align:center;
  font-size:10px;
  font-weight:850;
}
.support-human-link[hidden]{display:none!important}
.support-chat-form{
  display:grid;
  grid-template-columns:1fr 44px;
  gap:7px;
  padding:9px 10px 11px;
  background:#f4f6f9;
  border-top:1px solid #dce2eb;
}
.support-chat-form input{
  width:100%;
  border:1px solid #d2d9e4;
  border-radius:999px;
  outline:none;
  background:#fff;
  color:#1c2536;
  padding:11px 14px;
  font-size:11px;
}
.support-chat-form input:focus{
  border-color:#7c98ff;
  box-shadow:0 0 0 3px rgba(82,116,255,.08);
}
.support-chat-form button{
  width:44px;height:44px;
  border:0;
  border-radius:50%;
  background:linear-gradient(135deg,#4b7cff,#725aff);
  color:#fff;
  font-size:17px;
  font-weight:900;
}

/* Depósitos más compactos */
#mobileDestination .deposit-help{margin-top:0}

@media(max-width:760px){
  .support-chat-card{
    width:calc(100vw - 18px);
    height:min(78vh,620px);
    border-radius:20px;
  }
}


/* =========================================================
   Portada compacta — regla final consolidada
   ========================================================= */
.hero{min-height:0!important}
.hero-content{
  padding-bottom:10px!important;
}
.hero p{
  margin-bottom:0!important;
}
@media(max-width:760px){
  .hero-content{
    padding-bottom:8px!important;
  }
  .hero p{
    margin-bottom:0!important;
  }
}
@media (orientation:landscape) and (max-height:620px){
  .hero-content{
    padding-bottom:8px!important;
  }
}


/* =========================================================
   V5.5 — Carrusel destacado infinito y continuo
   ========================================================= */
.featured-track.featured-no-transition{
  transition:none!important;
}


/* =========================================================
   V5.7 — paquetes completos + doble precio visible
   ========================================================= */
.packages .package{
  display:flex;
  flex-direction:column;
  gap:7px;
  min-height:93px;
}
.packages .package>strong{
  font-size:12px;
  line-height:1.25;
}
.package-dual-prices{
  display:flex;
  flex-direction:column;
  gap:2px;
  margin-top:auto;
}
.package-dual-prices small{
  display:block;
  font-size:9.5px;
  line-height:1.25;
  color:var(--muted);
}
.package-dual-prices em{
  font-size:8px;
  font-style:normal;
  color:#66738e;
}
.package-dual-prices .wallet-price-selected{
  color:#dce4ff;
  font-weight:850;
}
.package-dual-prices .price-unconfigured{
  color:#727d92;
}
.package.active .package-dual-prices .wallet-price-selected{
  color:#a9c0ff;
}
@media(max-width:420px){
  .packages{gap:7px}
  .packages .package{padding:10px;min-height:92px}
  .packages .package>strong{font-size:11px}
  .package-dual-prices small{font-size:9px}
}


/* =========================================================
   V5.9 — elegir forma de pago primero
   ========================================================= */
.payment-first-block{
  margin:14px 0 16px;
  padding:12px;
  border:1px solid var(--line);
  border-radius:15px;
  background:linear-gradient(145deg,rgba(30,43,80,.75),rgba(10,16,32,.88));
}
.payment-first-block>label{
  display:block;
  margin:0 0 8px;
  font-size:11px;
  font-weight:850;
  color:#dce5ff;
}
.order-wallet-choice{
  display:grid!important;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
.order-wallet-choice .choice{
  min-height:46px;
  padding:10px 12px;
  border-radius:12px;
  font-size:11.5px;
  font-weight:850;
}
.order-wallet-choice .choice.active{
  border-color:#6d8cff;
  background:linear-gradient(135deg,rgba(76,111,255,.24),rgba(116,86,255,.18));
  box-shadow:0 0 0 1px rgba(106,139,255,.14) inset;
}
.payment-hint{
  display:block;
  margin-top:7px;
  color:#7f8ca5;
  font-size:9px;
  text-align:center;
}

/* Un solo precio grande por paquete */
.packages .package{
  min-height:78px!important;
  padding:12px!important;
  gap:8px!important;
  justify-content:space-between;
}
.packages .package>strong{
  font-size:12px!important;
  line-height:1.25;
}
.package-current-price{
  display:block;
  margin-top:auto;
  color:#cbd8ff;
  font-size:11.5px;
  line-height:1.25;
  font-weight:850;
}
.package.active .package-current-price{
  color:#ffffff;
}
.package-current-price.price-unconfigured{
  color:#727d92;
}

/* Las reglas antiguas de doble precio quedan anuladas */
.package-dual-prices{
  display:none!important;
}

@media(max-width:420px){
  .payment-first-block{
    padding:10px;
    margin-top:12px;
  }
  .order-wallet-choice .choice{
    min-height:44px;
    padding:9px 8px;
    font-size:10.5px;
  }
  .packages .package{
    min-height:76px!important;
    padding:11px!important;
  }
  .packages .package>strong{
    font-size:11.5px!important;
  }
  .package-current-price{
    font-size:10.5px;
  }
}


/* =========================================================
   V6.0 — Tipografía numérica Gamedin
   ========================================================= */

/*
  Los ceros se mantienen normales, sin barra/tachado. "tnum" usa
  cifras tabulares para que precios, balances, fechas e IDs se vean
  uniformes entre dispositivos.
*/
html,
body,
button,
input,
select,
textarea{
  font-variant-numeric:tabular-nums slashed-zero;
  font-feature-settings:"zero" 1,"tnum" 1;
}

/* Datos numéricos: un poco más definidos sin cambiar la identidad */
.wallet-card strong,
.account-balance strong,
.copy-value-box strong,
.package-current-price,
.selected-price-line strong,
.confirm-order-list strong,
.activity-main p,
.activity-main>small,
.activity-amount,
.notification-item small,
.notification-badge,
.deposit-amount-field input{
  font-variant-numeric:tabular-nums slashed-zero;
  font-feature-settings:"zero" 1,"tnum" 1;
}

/* IDs, fechas y horas con un ritmo más técnico */
.activity-main p,
.activity-main>small,
.notification-item small{
  letter-spacing:.12px;
}


/* =========================================================
   V6.1 — Números técnicos + modal de juegos más legible
   ========================================================= */

/*
  Para cifras usamos la fuente monoespaciada nativa del dispositivo:
  iOS/macOS -> SF Mono / Menlo
  Windows   -> Consolas
  Android   -> monospace del sistema
  No descarga ninguna fuente externa.
*/
.wallet-card strong,
.account-balance strong,
.package-current-price,
.selected-price-line strong,
.confirm-order-list strong,
.activity-amount,
.activity-main p,
.activity-main>small,
.notification-item small,
.notification-badge,
.copy-value-box strong,
.deposit-amount-field input,
.modal-input[inputmode="numeric"]{
  font-family:ui-monospace,"SFMono-Regular",Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace!important;
  font-variant-numeric:tabular-nums slashed-zero;
  font-feature-settings:"zero" 1,"tnum" 1;
  font-synthesis:none;
}

/* Balances principales con más presencia */
.wallet-card strong{
  font-size:17px!important;
  letter-spacing:-.2px;
}
.account-balance strong{
  font-size:15px!important;
}

/* ---------------------------------------------------------
   Modal de recarga: ligeramente más grande, no exagerado
   --------------------------------------------------------- */
.game-modal-card{
  width:min(94vw,580px)!important;
  max-height:90vh!important;
  padding:26px!important;
  border-radius:26px!important;
}
.game-modal-card .modal-game-head{
  gap:16px;
}
.game-modal-card .modal-game-head img{
  width:102px!important;
  height:76px!important;
  border-radius:15px!important;
}
.game-modal-card .modal-game-head small{
  font-size:11px!important;
  letter-spacing:1.45px;
}
.game-modal-card .modal-game-head h2{
  margin-top:5px!important;
  font-size:25px!important;
}
.game-modal-card>label,
.game-modal-card #serverField>label{
  margin-top:20px!important;
  margin-bottom:9px!important;
  font-size:13px!important;
}
.game-modal-card .modal-input{
  min-height:48px;
  padding:14px 15px!important;
  font-size:15px!important;
}
.game-modal-card .payment-first-block{
  margin:17px 0 19px!important;
  padding:14px!important;
  border-radius:16px!important;
}
.game-modal-card .payment-first-block>label{
  font-size:12.5px!important;
  margin-bottom:9px!important;
}
.game-modal-card .order-wallet-choice{
  gap:9px!important;
}
.game-modal-card .order-wallet-choice .choice{
  min-height:50px!important;
  padding:11px 13px!important;
  font-size:13px!important;
}
.game-modal-card .payment-hint{
  margin-top:8px!important;
  font-size:10px!important;
}
.game-modal-card .packages{
  gap:10px!important;
}
.game-modal-card .packages .package{
  min-height:88px!important;
  padding:14px!important;
  border-radius:14px!important;
}
.game-modal-card .packages .package>strong{
  font-size:13.5px!important;
  line-height:1.28!important;
}
.game-modal-card .package-current-price{
  font-size:13px!important;
  line-height:1.3!important;
}
.game-modal-card .selected-price-line{
  margin-top:13px!important;
  padding:12px 13px!important;
}
.game-modal-card .selected-price-line span{
  font-size:11px!important;
}
.game-modal-card .selected-price-line strong{
  font-size:13.5px!important;
}
.game-modal-card #continueBtn{
  min-height:49px;
  font-size:13px;
}

/* Confirmación también un poco más legible */
.confirm-order-card{
  width:min(94vw,560px)!important;
}
.confirm-order-list strong{
  font-size:12.5px!important;
}

@media(max-width:760px){
  .game-modal-card{
    width:calc(100vw - 18px)!important;
    padding:18px!important;
    border-radius:22px!important;
  }
  .game-modal-card .modal-game-head{
    gap:12px;
  }
  .game-modal-card .modal-game-head img{
    width:94px!important;
    height:70px!important;
  }
  .game-modal-card .modal-game-head h2{
    font-size:23px!important;
  }
  .game-modal-card>label,
  .game-modal-card #serverField>label{
    font-size:12.5px!important;
  }
  .game-modal-card .order-wallet-choice .choice{
    min-height:48px!important;
    font-size:12px!important;
  }
  .game-modal-card .packages .package{
    min-height:84px!important;
    padding:12px!important;
  }
  .game-modal-card .packages .package>strong{
    font-size:12.5px!important;
  }
  .game-modal-card .package-current-price{
    font-size:12px!important;
  }
}

@media(max-width:380px){
  .game-modal-card{
    padding:15px!important;
  }
  .game-modal-card .modal-game-head img{
    width:84px!important;
    height:64px!important;
  }
  .game-modal-card .modal-game-head h2{
    font-size:21px!important;
  }
}


/* =========================================================
   V6.2 — PULIDO PROFESIONAL
   ========================================================= */

/* Iconos vectoriales: mismo grosor, tamaño y color en todos los equipos */
.ui-icon{
  width:22px;
  height:22px;
  display:block;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.top-actions .icon-btn .ui-icon{
  width:22px;
  height:22px;
}
.bottom-nav .nav-item .nav-svg{
  width:22px;
  height:22px;
}
.bottom-nav .nav-item{
  gap:4px;
}
.bottom-nav .nav-item small{
  font-size:10px;
}
.bottom-nav .nav-item.active .ui-icon{
  stroke-width:2.05;
}

/* Información y confianza, deliberadamente fuera de Inicio */
.setting-copy-with-icon{
  display:flex;
  align-items:center;
  gap:11px;
  min-width:0;
}
.setting-inline-icon{
  width:36px;
  height:36px;
  flex:0 0 36px;
  display:grid;
  place-items:center;
  border:1px solid rgba(116,139,255,.14);
  border-radius:11px;
  background:rgba(93,117,229,.08);
  color:#91a7ff;
}
.setting-inline-icon .trust-icon{
  width:19px;
  height:19px;
}
.trust-modal{
  width:min(92vw,560px);
  max-height:86vh;
  overflow:auto;
}
.trust-heading{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin-bottom:18px;
}
.trust-heading-icon{
  width:45px;
  height:45px;
  flex:0 0 45px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:rgba(83,112,255,.1);
  color:#9aafff;
}
.trust-heading-icon .ui-icon{
  width:24px;
  height:24px;
}
.trust-heading h2{
  margin:2px 0 5px;
}
.trust-heading p{
  margin:0;
  color:#8e99ae;
  font-size:10.5px;
  line-height:1.45;
}
.trust-list{
  display:grid;
  gap:8px;
}
.trust-list details{
  border:1px solid var(--line);
  border-radius:13px;
  background:rgba(255,255,255,.018);
  overflow:hidden;
}
.trust-list summary{
  cursor:pointer;
  padding:12px 14px;
  color:#e9edfa;
  font-size:11px;
  font-weight:850;
  list-style:none;
}
.trust-list summary::-webkit-details-marker{display:none}
.trust-list summary::after{
  content:"+";
  float:right;
  color:#8298ff;
  font-size:16px;
  line-height:12px;
}
.trust-list details[open] summary::after{content:"–"}
.trust-list p{
  margin:0;
  padding:0 14px 13px;
  color:#929db2;
  font-size:10.5px;
  line-height:1.55;
}

/* Bot: sugerencia más pequeña y menos invasiva */
.support-bubble{
  width:245px!important;
}
.support-message strong{
  font-size:12px!important;
}
.support-message p{
  margin-bottom:9px!important;
  font-size:10.5px!important;
}
.support-message button{
  min-height:36px;
  padding:8px 10px!important;
  font-size:10.5px!important;
}

/* ---------------------------------------------------------
   Juegos: más legible, pero sin hueco excesivo paquete/precio
   --------------------------------------------------------- */
.game-modal-card{
  width:min(95vw,610px)!important;
  padding:28px!important;
}
.game-modal-card .modal-game-head h2{
  font-size:27px!important;
}
.game-modal-card .modal-game-head small{
  font-size:11.5px!important;
}
.game-modal-card>label,
.game-modal-card #serverField>label{
  font-size:13.5px!important;
}
.game-modal-card .modal-input{
  min-height:51px!important;
  font-size:15.5px!important;
}
.game-modal-card .payment-first-block{
  padding:15px!important;
}
.game-modal-card .payment-first-block>label{
  font-size:13px!important;
}
.game-modal-card .order-wallet-choice .choice{
  min-height:52px!important;
  font-size:13.5px!important;
}
.game-modal-card .payment-hint{
  font-size:10.5px!important;
}

/* La tarjeta se hace más legible, no más alta */
.game-modal-card .packages .package{
  min-height:76px!important;
  padding:12px 13px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:5px!important;
}
.game-modal-card .packages .package>strong{
  margin:0!important;
  font-size:14px!important;
  line-height:1.2!important;
}
.game-modal-card .package-current-price{
  margin:0!important;
  font-size:13.5px!important;
  line-height:1.2!important;
}
.game-modal-card .selected-price-line{
  padding:13px 14px!important;
}
.game-modal-card .selected-price-line span{
  font-size:11.5px!important;
}
.game-modal-card .selected-price-line strong{
  font-size:14px!important;
}
.game-modal-card #continueBtn{
  min-height:51px!important;
  font-size:13.5px!important;
}

/* Confirmación: lectura cómoda */
.confirm-order-card{
  width:min(95vw,580px)!important;
}
.confirm-order-list>div{
  min-height:42px;
}
.confirm-order-list span{
  font-size:10.5px!important;
}
.confirm-order-list strong{
  font-size:13px!important;
}

@media(max-width:760px){
  .support-bubble{
    width:min(235px,calc(100vw - 30px))!important;
  }

  .game-modal-card{
    width:calc(100vw - 12px)!important;
    padding:19px!important;
  }
  .game-modal-card .modal-game-head h2{
    font-size:24.5px!important;
  }
  .game-modal-card .modal-game-head small{
    font-size:11px!important;
  }
  .game-modal-card>label,
  .game-modal-card #serverField>label{
    font-size:13px!important;
  }
  .game-modal-card .modal-input{
    min-height:49px!important;
    font-size:15px!important;
  }
  .game-modal-card .order-wallet-choice .choice{
    min-height:50px!important;
    font-size:12.5px!important;
  }
  .game-modal-card .packages{
    gap:8px!important;
  }
  .game-modal-card .packages .package{
    min-height:74px!important;
    padding:11px 12px!important;
    gap:4px!important;
  }
  .game-modal-card .packages .package>strong{
    font-size:13.5px!important;
  }
  .game-modal-card .package-current-price{
    font-size:13px!important;
  }

  .trust-modal{
    width:calc(100vw - 18px);
    padding:19px;
  }
}


/* =========================================================
   V6.3 — PULIDO VISUAL FINAL
   ========================================================= */

/* ---------------------------------------------------------
   Header: iconos perfectamente centrados
   --------------------------------------------------------- */
.top-actions .icon-btn{
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  line-height:0!important;
}
.top-actions .icon-btn .ui-icon{
  width:25px!important;
  height:25px!important;
  margin:0!important;
  transform:none!important;
}
.settings-top-btn:hover .ui-icon{
  transform:rotate(24deg)!important;
  transition:transform .22s ease;
}
.notification-top-btn .ui-icon{
  width:24px!important;
  height:24px!important;
}

/* ---------------------------------------------------------
   Saldos del Inicio ahora funcionan como accesos rápidos
   --------------------------------------------------------- */
.wallet-shortcut{
  width:100%;
  appearance:none;
  -webkit-appearance:none;
  color:var(--text);
  font:inherit;
  text-align:left;
  cursor:pointer;
  transition:border-color .18s ease,transform .18s ease,background .18s ease;
}
.wallet-shortcut:hover{
  border-color:rgba(111,139,255,.32);
  background:linear-gradient(145deg,#171f39,#11182b);
}
.wallet-shortcut:active{
  transform:scale(.985);
}
.wallet-shortcut em{
  display:block;
  margin-top:6px;
  color:#7188cd;
  font-size:9px;
  font-style:normal;
  font-weight:800;
}
.wallet-shortcut:hover em{
  color:#9eafff;
}

/* ---------------------------------------------------------
   Pantallas secundarias de Ajustes
   --------------------------------------------------------- */
.modal-back-btn{
  position:absolute;
  right:15px;
  top:13px;
  min-height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  padding:0 10px;
  border:1px solid var(--line);
  border-radius:11px;
  background:#151c30;
  color:#e9edff;
  font-size:10px;
  font-weight:850;
}
.modal-back-btn span{
  line-height:1;
}

/* Ayuda un poco más cómoda */
.help-modal{
  width:min(94vw,590px)!important;
}
.help-heading{
  padding-right:82px!important;
}
.help-heading h2{
  font-size:27px!important;
}
.help-steps article{
  padding:14px!important;
}
.help-steps h3{
  font-size:12.5px!important;
}
.help-steps p{
  font-size:11px!important;
  line-height:1.5!important;
}

/* Información y confianza más legible */
.trust-modal{
  width:min(94vw,610px)!important;
  padding:26px!important;
}
.trust-heading{
  padding-right:82px;
  gap:14px!important;
}
.trust-heading-icon{
  width:50px!important;
  height:50px!important;
  flex-basis:50px!important;
}
.trust-heading h2{
  font-size:27px!important;
}
.trust-heading p{
  font-size:11.5px!important;
  line-height:1.5!important;
}
.trust-list{
  gap:9px!important;
}
.trust-list summary{
  padding:14px 15px!important;
  font-size:12.5px!important;
}
.trust-list p{
  padding:0 15px 14px!important;
  font-size:11.5px!important;
  line-height:1.58!important;
}

/* ---------------------------------------------------------
   Interior de los juegos: un último aumento de legibilidad
   --------------------------------------------------------- */
.game-modal-card{
  width:min(96vw,635px)!important;
}
.game-modal-card .modal-game-head h2{
  font-size:28px!important;
}
.game-modal-card .modal-game-head small{
  font-size:12px!important;
}
.game-modal-card>label,
.game-modal-card #serverField>label{
  font-size:14px!important;
}
.game-modal-card .modal-input{
  font-size:16px!important;
}
.game-modal-card .payment-first-block>label{
  font-size:13.5px!important;
}
.game-modal-card .order-wallet-choice .choice{
  font-size:14px!important;
  min-height:54px!important;
}
.game-modal-card .payment-hint{
  font-size:11px!important;
}

/*
  Paquete + precio visualmente unidos.
  Más grandes, pero SIN aumentar el hueco.
*/
.game-modal-card .packages .package{
  min-height:76px!important;
  padding:12px 14px!important;
  gap:3px!important;
}
.game-modal-card .packages .package>strong{
  font-size:14.5px!important;
  line-height:1.16!important;
}
.game-modal-card .package-current-price{
  font-size:14px!important;
  line-height:1.18!important;
}
.game-modal-card .selected-price-line span{
  font-size:12px!important;
}
.game-modal-card .selected-price-line strong{
  font-size:14.5px!important;
}

@media(max-width:760px){
  .top-actions .icon-btn .ui-icon{
    width:24px!important;
    height:24px!important;
  }

  .wallet-shortcut em{
    font-size:8.5px;
  }

  .help-modal,
  .trust-modal{
    width:calc(100vw - 14px)!important;
    padding:18px!important;
  }
  .help-heading,
  .trust-heading{
    padding-right:74px!important;
  }
  .help-heading h2,
  .trust-heading h2{
    font-size:24.5px!important;
  }
  .trust-list summary{
    font-size:12px!important;
  }
  .trust-list p,
  .help-steps p{
    font-size:11px!important;
  }

  .game-modal-card{
    width:calc(100vw - 8px)!important;
    padding:19px!important;
  }
  .game-modal-card .modal-game-head h2{
    font-size:25.5px!important;
  }
  .game-modal-card>label,
  .game-modal-card #serverField>label{
    font-size:13.5px!important;
  }
  .game-modal-card .modal-input{
    font-size:15.5px!important;
  }
  .game-modal-card .order-wallet-choice .choice{
    font-size:13px!important;
    min-height:52px!important;
  }
  .game-modal-card .packages .package{
    min-height:74px!important;
    padding:11px 12px!important;
    gap:3px!important;
  }
  .game-modal-card .packages .package>strong{
    font-size:14px!important;
  }
  .game-modal-card .package-current-price{
    font-size:13.5px!important;
  }
}

@media(max-width:380px){
  .modal-back-btn span{
    display:none;
  }
  .modal-back-btn{
    width:36px;
    padding:0;
    font-size:16px;
  }
  .help-heading,
  .trust-heading{
    padding-right:42px!important;
  }
}


/* =========================================================
   V6.4 — GOOGLE · AVATARES · PAQUETES ALINEADOS
   ========================================================= */

/* Google */
.google-auth-btn{
  width:100%;
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin:4px 0 12px;
  border:1px solid #d8dce5;
  border-radius:13px;
  background:#fff;
  color:#252a34;
  font-size:12px;
  font-weight:800;
  box-shadow:0 4px 14px rgba(0,0,0,.12);
}
.google-auth-btn:hover{background:#f8f9fb}
.google-auth-btn:active{transform:scale(.99)}
.google-g{width:20px;height:20px;flex:0 0 20px}
.google-auth-btn[hidden],
.google-auth-ui[hidden]{display:none!important}
.auth-provider-divider{
  display:flex;
  align-items:center;
  gap:10px;
  margin:5px 0 12px;
  color:#707c94;
  font-size:9px;
}
.auth-provider-divider::before,
.auth-provider-divider::after{
  content:"";
  flex:1;
  height:1px;
  background:var(--line);
}

/* Avatar editor */
.avatar-edit-icon{
  position:absolute;
  right:2px;
  bottom:3px;
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border:2px solid #1b2338;
  border-radius:50%;
  background:#111827;
  color:#fff;
}
.avatar-edit-icon svg{
  width:14px;height:14px;
  fill:none;stroke:currentColor;stroke-width:2;
  stroke-linecap:round;stroke-linejoin:round;
}
.avatar-picker-card{
  width:min(94vw,620px)!important;
  max-height:88vh;
  overflow:auto;
  padding:24px!important;
}
.avatar-picker-heading{padding-right:76px}
.avatar-picker-copy{
  margin:-3px 0 15px;
  color:var(--muted);
  font-size:10.5px;
  line-height:1.45;
}
.avatar-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:9px;
}
.avatar-choice{
  min-width:0;
  padding:7px 5px 8px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(255,255,255,.025);
  color:#dfe5f8;
  text-align:center;
  transition:transform .15s ease,border-color .15s ease,background .15s ease;
}
.avatar-choice:hover{
  transform:translateY(-2px);
  border-color:rgba(112,139,255,.4);
  background:rgba(89,111,224,.08);
}
.avatar-choice img{
  width:100%;
  aspect-ratio:1;
  display:block;
  object-fit:cover;
  border-radius:11px;
}
.avatar-choice span{
  display:block;
  margin-top:5px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:8.5px;
  font-weight:800;
}
.google-security-note{
  margin-top:10px;
  padding:10px 11px;
  border:1px solid rgba(74,222,128,.13);
  border-radius:11px;
  background:rgba(74,222,128,.05);
  color:#9cdab2;
  font-size:9.5px;
  line-height:1.45;
}

/* ---------------------------------------------------------
   Paquetes: nombre + precio realmente alineados
   --------------------------------------------------------- */
.game-modal-card .packages .package{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-rows:auto!important;
  align-items:center!important;
  column-gap:10px!important;
  row-gap:3px!important;
  min-height:66px!important;
  padding:11px 13px!important;
}
.game-modal-card .packages .package>strong{
  min-width:0;
  margin:0!important;
  font-size:14.5px!important;
  line-height:1.18!important;
  text-align:left;
}
.game-modal-card .package-current-price{
  margin:0!important;
  justify-self:end;
  white-space:nowrap;
  font-size:14.5px!important;
  line-height:1.18!important;
  color:#d8e1ff;
}
.game-modal-card .package.active .package-current-price{
  color:#fff;
}

/* Nombres largos bajan el precio; los cortos quedan perfectamente en una línea */
.game-modal-card .packages .package.package-long{
  grid-template-columns:1fr!important;
  align-items:start!important;
  min-height:76px!important;
}
.game-modal-card .package-long .package-current-price{
  justify-self:start!important;
  margin-top:2px!important;
}

/* Ya no se necesita icono de teléfono/tarjeta dentro de cada precio */
.package-current-price{
  font-family:ui-monospace,"SFMono-Regular",Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace!important;
}

@media(max-width:760px){
  .avatar-grid{grid-template-columns:repeat(4,1fr);gap:7px}
  .avatar-picker-card{
    width:calc(100vw - 12px)!important;
    padding:18px!important;
  }

  .game-modal-card .packages .package{
    min-height:64px!important;
    padding:10px 11px!important;
    column-gap:7px!important;
  }
  .game-modal-card .packages .package>strong{
    font-size:14px!important;
  }
  .game-modal-card .package-current-price{
    font-size:13.5px!important;
  }
}

@media(max-width:380px){
  .avatar-grid{grid-template-columns:repeat(4,1fr)}
  .avatar-choice span{font-size:7.7px}

  .game-modal-card .packages .package{
    grid-template-columns:minmax(0,1fr) auto!important;
  }
  .game-modal-card .packages .package>strong{
    font-size:13.5px!important;
  }
  .game-modal-card .package-current-price{
    font-size:13px!important;
  }
}


/* =========================================================
   V6.5 — PAQUETES LARGOS Y AVATARES
   ========================================================= */

/* Ya no existe la franja inferior redundante */
.selected-price-line{
  display:none!important;
}

/* Paquetes cortos: nombre + precio lado a lado */
.game-modal-card .packages .package{
  min-height:68px!important;
  grid-template-columns:minmax(0,1fr) max-content!important;
  column-gap:14px!important;
  row-gap:6px!important;
  padding:12px 14px!important;
}

/* Paquetes largos SIEMPRE llevan precio debajo */
.game-modal-card .packages .package.package-long{
  grid-template-columns:1fr!important;
  grid-template-rows:auto auto!important;
  align-content:center!important;
  justify-items:start!important;
  min-height:82px!important;
  padding:13px 14px!important;
  row-gap:8px!important;
}
.game-modal-card .package-long>strong{
  width:100%;
  font-size:14px!important;
  line-height:1.25!important;
}
.game-modal-card .package-long .package-current-price{
  justify-self:start!important;
  margin:0!important;
  padding-top:0!important;
  white-space:nowrap!important;
  font-size:13.5px!important;
}

/* En ningún tamaño dejamos que el precio invada el nombre */
.game-modal-card .package-current-price{
  flex-shrink:0;
}
.game-modal-card .packages .package>strong{
  overflow-wrap:anywhere;
}

/* Avatares nuevos: un poco más protagonistas */
.avatar-picker-card{
  width:min(95vw,650px)!important;
}
.avatar-grid{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:10px!important;
}
.avatar-choice{
  padding:7px!important;
  border-radius:15px!important;
}
.avatar-choice img{
  border-radius:12px!important;
  box-shadow:0 5px 13px rgba(0,0,0,.22);
}
.avatar-choice span{
  margin-top:6px!important;
  font-size:9px!important;
}

@media(max-width:760px){
  .game-modal-card .packages .package{
    column-gap:10px!important;
    padding:11px 12px!important;
  }
  .game-modal-card .packages .package.package-long{
    min-height:80px!important;
    row-gap:7px!important;
  }
  .avatar-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:8px!important;
  }
}


/* =========================================================
   V6.6 — TODOS LOS PAQUETES CENTRADOS
   ========================================================= */

/*
  Regla única para todos los juegos:
  - paquete/cantidad arriba
  - precio abajo
  - ambos centrados
  Esto elimina diferencias causadas por el largo del texto.
*/
.game-modal-card .packages .package,
.game-modal-card .packages .package.package-long{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  grid-template-columns:none!important;
  grid-template-rows:none!important;
  min-height:88px!important;
  padding:12px 10px!important;
  gap:8px!important;
  text-align:center!important;
}

.game-modal-card .packages .package>strong,
.game-modal-card .packages .package.package-long>strong{
  width:100%!important;
  margin:0!important;
  padding:0!important;
  text-align:center!important;
  font-size:14.5px!important;
  line-height:1.22!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}

.game-modal-card .package-current-price,
.game-modal-card .package-long .package-current-price{
  width:100%!important;
  margin:0!important;
  padding:0!important;
  justify-self:auto!important;
  text-align:center!important;
  white-space:nowrap!important;
  font-size:14px!important;
  line-height:1.18!important;
}

/* Membresías/pases pueden usar dos líneas arriba sin pegarse al precio. */
.game-modal-card .packages .package.package-long{
  min-height:94px!important;
}

/* Si el nombre corto es cantidad + emoji, nunca separar el emoji. */
.game-modal-card .packages .package>strong{
  white-space:normal!important;
}

@media(max-width:760px){
  .game-modal-card .packages .package,
  .game-modal-card .packages .package.package-long{
    min-height:86px!important;
    padding:11px 8px!important;
    gap:7px!important;
  }

  .game-modal-card .packages .package.package-long{
    min-height:92px!important;
  }

  .game-modal-card .packages .package>strong,
  .game-modal-card .packages .package.package-long>strong{
    font-size:14px!important;
  }

  .game-modal-card .package-current-price,
  .game-modal-card .package-long .package-current-price{
    font-size:13.5px!important;
  }
}


/* =========================================================
   V6.7 — auditoría: historial más claro
   ========================================================= */
.activity-amount.refunded{
  color:#aebdff!important;
}
.activity-note{
  display:block;
  margin-top:3px;
  color:#d0a7ff;
  font-size:9px;
  line-height:1.35;
}


/* =========================================================
   V6.8 — confirmación de pedido
   ========================================================= */

/* El display:flex del resumen anulaba el atributo hidden. */
.confirm-order-list > [hidden]{
  display:none!important;
}

/* Botón desactivado debe verse realmente desactivado. */
#confirmOrderBtn:disabled{
  opacity:.42!important;
  filter:saturate(.35)!important;
  cursor:not-allowed!important;
  pointer-events:none!important;
  box-shadow:none!important;
}


/* =========================================================
   V6.9 — MODALES SUPERIORES UNIFICADOS
   Mi cuenta · Notificaciones · Ajustes
   ========================================================= */

/* Mismo ancho y presencia visual */
.account-modal,
.notifications-modal,
.settings-modal{
  width:min(94vw,580px)!important;
  padding:25px!important;
  border-radius:25px!important;
}

/* ---------------------------------------------------------
   MI CUENTA — apenas más grande internamente
   --------------------------------------------------------- */
.account-head{
  gap:15px!important;
  margin-bottom:2px;
}
.account-avatar{
  width:70px!important;
  height:70px!important;
  flex-basis:70px!important;
  border-radius:21px!important;
  font-size:19px!important;
}
.account-head h2{
  font-size:26px!important;
}
.account-head p{
  font-size:11.5px!important;
}
.account-status{
  font-size:9.5px!important;
}
.account-user-details{
  margin-top:18px!important;
}
.account-balance-grid{
  gap:10px!important;
  margin-top:20px!important;
}
.account-balance{
  padding:14px!important;
}
.account-balance small{
  font-size:10.5px!important;
}
.account-balance strong{
  font-size:15.5px!important;
}

/* ---------------------------------------------------------
   NOTIFICACIONES — mantener el tamaño bonito, alineado
   --------------------------------------------------------- */
.notification-heading{
  margin-bottom:18px!important;
}
.notification-heading h2{
  font-size:26px!important;
}
.notifications-list{
  gap:9px!important;
}
.notification-item{
  padding:14px!important;
  border-radius:15px!important;
}
.notification-item strong{
  font-size:12px!important;
}
.notification-item p{
  font-size:10.5px!important;
}
.notification-item small{
  font-size:9px!important;
}

/* ---------------------------------------------------------
   AJUSTES — subirlo al mismo nivel visual
   --------------------------------------------------------- */
.settings-heading{
  gap:14px!important;
  margin-bottom:20px!important;
}
.settings-heading-icon{
  width:55px!important;
  height:55px!important;
  border-radius:16px!important;
  font-size:24px!important;
}
.settings-heading h2{
  font-size:26px!important;
}
.settings-list{
  border-radius:18px!important;
}
.setting-row{
  min-height:76px;
  padding:18px!important;
  gap:18px!important;
}
.setting-row strong{
  font-size:13.5px!important;
}
.setting-row small{
  max-width:340px!important;
  font-size:11px!important;
  line-height:1.45!important;
}
.setting-action-btn{
  min-height:38px;
  padding:0 13px!important;
  font-size:10.5px!important;
}
.settings-footnote{
  margin-top:15px!important;
  font-size:10.5px!important;
}

/* Cierres consistentes */
.account-modal .modal-close,
.notifications-modal .modal-close,
.settings-modal .modal-close{
  width:36px!important;
  height:36px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  font-size:21px!important;
}

/* Móvil: mismo ancho real en los tres */
@media(max-width:760px){
  .account-modal,
  .notifications-modal,
  .settings-modal{
    width:calc(100vw - 16px)!important;
    padding:20px!important;
    border-radius:23px!important;
  }

  .account-avatar{
    width:68px!important;
    height:68px!important;
    flex-basis:68px!important;
  }
  .account-head h2,
  .notification-heading h2,
  .settings-heading h2{
    font-size:25px!important;
  }

  .settings-heading-icon{
    width:52px!important;
    height:52px!important;
  }

  .setting-row{
    min-height:72px;
    padding:16px!important;
  }
}


/* =========================================================
   V6.10 — Notificaciones por estado + lectura individual
   ========================================================= */
.notification-item{
  --notification-accent:#6d7a95;
  position:relative;
  cursor:default;
  transition:
    border-color .16s ease,
    background .16s ease,
    transform .16s ease,
    opacity .16s ease;
}

.notification-item.unread{
  cursor:pointer;
}

.notification-item.unread:active{
  transform:scale(.992);
}

/* El color representa el ESTADO, no simplemente "no leído". */
.notification-item .notification-dot{
  background:var(--notification-accent)!important;
  box-shadow:0 0 0 4px color-mix(in srgb,var(--notification-accent) 13%,transparent)!important;
}

.notification-item.unread{
  border-color:color-mix(in srgb,var(--notification-accent) 34%,var(--line))!important;
  background:color-mix(in srgb,var(--notification-accent) 7%,rgba(255,255,255,.025))!important;
}

.notification-item:not(.unread){
  opacity:.83;
}

/* Pendiente / en proceso = naranja */
.notification-item.type-deposit_pending,
.notification-item.type-order_pending{
  --notification-accent:#f59e0b;
}

/* Aprobado / completado = verde */
.notification-item.type-deposit_approved,
.notification-item.type-order_completed{
  --notification-accent:#22c55e;
}

/* Rechazado / reembolsado = rojo */
.notification-item.type-deposit_rejected,
.notification-item.type-order_rejected{
  --notification-accent:#ef4444;
}

/* Mensajes y ajustes = azul/violeta */
.notification-item.type-admin_message,
.notification-item.type-balance_adjustment{
  --notification-accent:#6f8cff;
}

.notification-content{
  min-width:0;
}

.notification-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:7px;
}

.notification-meta small{
  margin:0!important;
}

.notification-read-action,
.notification-read-state{
  flex:0 0 auto;
  font-size:8.5px;
  font-weight:850;
}

.notification-read-action{
  color:var(--notification-accent);
}

.notification-read-state{
  color:#69758d;
}

#markNotificationsRead:disabled{
  opacity:.45;
  cursor:default;
  pointer-events:none;
}

@media(max-width:420px){
  .notification-meta{
    align-items:flex-end;
  }
  .notification-read-action,
  .notification-read-state{
    font-size:8px;
  }
}


/* =========================================================
   V6.11 — CIERRES · NAVEGACIÓN · REEMBOLSOS
   ========================================================= */

/* ---------------------------------------------------------
   TODOS LOS BOTONES X: círculo perfecto y X centrada
   --------------------------------------------------------- */
.modal-close,
.ceo-modal-close,
.logo-close{
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  min-height:40px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  margin:0!important;
  border-radius:50%!important;
  line-height:1!important;
  text-align:center!important;
  font-size:22px!important;
  font-weight:400!important;
  box-sizing:border-box!important;
  color:#fff!important;
  background:#151c30!important;
  border:1px solid rgba(255,255,255,.10)!important;
}

.modal-close{
  right:16px!important;
  top:16px!important;
}

.ceo-modal-close{
  right:16px!important;
  top:16px!important;
  z-index:5!important;
}

.logo-close{
  right:12px!important;
  top:12px!important;
  z-index:5!important;
}

/* Evita que la X herede altura o baseline rara del navegador. */
.modal-close,
.ceo-modal-close,
.logo-close{
  font-family:Arial,Helvetica,sans-serif!important;
}

/* ---------------------------------------------------------
   NAVEGACIÓN INFERIOR: siempre visible
   PC · móvil vertical · móvil horizontal
   --------------------------------------------------------- */
.bottom-nav{
  display:grid!important;
  left:50%!important;
  right:auto!important;
  bottom:14px!important;
  width:min(620px,calc(100vw - 24px))!important;
  height:68px!important;
  transform:translateX(-50%)!important;
  grid-template-columns:repeat(4,1fr)!important;
  z-index:40!important;
}

/* Dejamos espacio real para que nunca tape el contenido final. */
main{
  padding-bottom:125px!important;
}

/* El asistente queda por encima de la navegación. */
.support{
  bottom:96px!important;
}

/* En PC, navegación compacta tipo app en el centro. */
@media(min-width:761px){
  .bottom-nav{
    width:min(620px,calc(100vw - 40px))!important;
    border-radius:21px!important;
  }

  .bottom-nav .nav-item{
    flex-direction:row!important;
    gap:8px!important;
  }

  .bottom-nav .nav-item .nav-svg{
    width:20px!important;
    height:20px!important;
  }

  .bottom-nav .nav-item small{
    font-size:11px!important;
  }
}

/* Horizontal de teléfonos/tablets: baja altura sin desaparecer. */
@media(max-height:520px){
  .bottom-nav{
    height:58px!important;
    bottom:8px!important;
  }

  .bottom-nav .nav-item{
    flex-direction:row!important;
    gap:6px!important;
  }

  .bottom-nav .nav-item .nav-svg{
    width:18px!important;
    height:18px!important;
  }

  .bottom-nav .nav-item small{
    font-size:9.5px!important;
  }

  .support{
    bottom:76px!important;
  }

  main{
    padding-bottom:100px!important;
  }
}

/* ---------------------------------------------------------
   REEMBOLSO = VIOLETA
   Rojo queda reservado para rechazo/error real.
   --------------------------------------------------------- */
.notification-item.type-order_refunded{
  --notification-accent:#a78bfa!important;
}

.status.refunded{
  background:rgba(167,139,250,.12)!important;
  color:#c4b5fd!important;
}

.activity-amount.refunded{
  color:#c4b5fd!important;
}


/* =========================================================
   V6.12 — Alertas push para administradores
   ========================================================= */
.admin-push-row{
  border-color:rgba(34,197,94,.11)!important;
  background:linear-gradient(145deg,rgba(34,197,94,.025),rgba(255,255,255,.012));
}

.admin-push-icon{
  color:#8fb0ff!important;
}

.admin-push-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:7px;
  flex-wrap:wrap;
}

.admin-push-actions .setting-action-btn{
  min-width:72px;
}

.admin-push-help-modal .trust-heading{
  margin-bottom:16px!important;
}

@media(max-width:520px){
  .admin-push-row{
    align-items:flex-start!important;
  }

  .admin-push-actions{
    width:100%;
    justify-content:flex-start;
    padding-left:47px;
  }
}

/* V6.12.3: las alertas push de administrador nunca deben mostrarse cuando llevan hidden. */
.admin-push-row[hidden],
.admin-push-actions [hidden]{
  display:none !important;
}


/* =========================================================
   V6.12.6 — ajustes finales móvil
   1) Asistente: globo correctamente separado del robot.
   2) Historial/Pedidos: tarjetas y textos más grandes.
   3) Logo superior: el HTML usa la versión original azul.
   ========================================================= */

/* El contenedor, no el botón, es quien queda sobre la barra inferior. */
.support-wrap{
  bottom:96px!important;
}
.support-wrap .support{
  position:relative!important;
  right:auto!important;
  bottom:auto!important;
}
.support-wrap .support-bubble{
  right:0!important;
  bottom:68px!important;
  width:min(285px,calc(100vw - 30px))!important;
  padding:15px 16px!important;
}
.support-wrap .support-message strong{
  font-size:13px!important;
}
.support-wrap .support-message p{
  font-size:11.5px!important;
  line-height:1.5!important;
  margin:0 0 11px!important;
}
.support-wrap .support-message button{
  width:100%!important;
  min-height:40px!important;
  padding:10px 12px!important;
  font-size:11.5px!important;
  border:0!important;
  border-radius:12px!important;
  color:#fff!important;
  background:linear-gradient(135deg,#4b7cff,#725aff)!important;
  font-weight:850!important;
}

/* Logo del encabezado: que se lea como el icono azul original. */
.brand-logo-button{
  background:#65bce3!important;
}
.brand-logo-button img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}

@media(max-width:760px){
  /* Historial/Pedidos más cómodo de leer y tocar. */
  .activity-filters{
    gap:9px!important;
    padding-bottom:14px!important;
  }
  .activity-filter{
    padding:10px 14px!important;
    font-size:11px!important;
  }
  .activity-list{
    gap:12px!important;
  }
  .activity-card{
    grid-template-columns:48px minmax(0,1fr) auto!important;
    gap:13px!important;
    min-height:102px!important;
    padding:17px 15px!important;
    border-radius:19px!important;
  }
  .activity-icon{
    width:48px!important;
    height:48px!important;
    border-radius:14px!important;
    font-size:22px!important;
  }
  .activity-title{
    gap:8px!important;
  }
  .activity-title strong{
    font-size:14px!important;
    line-height:1.25!important;
  }
  .status{
    padding:4px 7px!important;
    font-size:8.5px!important;
    letter-spacing:.35px!important;
  }
  .activity-main p{
    margin:6px 0!important;
    font-size:11.5px!important;
    line-height:1.4!important;
  }
  .activity-main>small{
    font-size:10px!important;
  }
  .activity-amount{
    font-size:13.5px!important;
  }
  .activity-amount small{
    margin-top:3px!important;
    font-size:9px!important;
  }

  /* El globo del asistente queda encima, sin ser atravesado por el botón. */
  .support-wrap{
    right:15px!important;
    bottom:94px!important;
  }
  .support-wrap .support-bubble{
    right:0!important;
    bottom:66px!important;
    width:min(285px,calc(100vw - 30px))!important;
  }
}

/* =========================================================
   V6.13 — Optimización Cuba + catálogo limpio + comunidad
   ========================================================= */

/* Catálogo: imagen simple, logo reconocible y favorito real. */
.game-card{
  position:relative!important;
  aspect-ratio:1.5/1;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:20px;
  padding:0!important;
  background:#0c1222!important;
  color:white;
  text-align:left;
  isolation:isolate;
}
.game-open{
  position:absolute;inset:0;width:100%;height:100%;
  padding:0;border:0;background:transparent;color:inherit;text-align:left;
  cursor:pointer;
}
.game-open img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  transition:.28s transform,.28s filter;
}
.game-card::after{
  content:"";position:absolute;inset:auto 0 0;height:46%;pointer-events:none;z-index:1;
  background:linear-gradient(0deg,rgba(4,7,15,.93),rgba(4,7,15,0));
}
.game-card:hover .game-open img{transform:scale(1.025);filter:brightness(1.05)}
.game-card.is-favorite{border-color:rgba(126,161,255,.58);box-shadow:0 0 0 1px rgba(91,128,255,.08) inset}
.game-info{z-index:2!important;pointer-events:none}
.game-favorite{
  position:absolute;z-index:4;top:10px;right:10px;
  width:34px;height:34px;border-radius:11px;
  display:grid;place-items:center;padding:0;
  border:1px solid rgba(255,255,255,.15);
  background:rgba(7,11,24,.72);backdrop-filter:blur(8px);
  color:#a5aec2;font-size:18px;line-height:1;cursor:pointer;
  box-shadow:0 7px 22px rgba(0,0,0,.18);
}
.game-favorite.active{color:#ffd86b;border-color:rgba(255,216,107,.42);background:rgba(38,31,12,.78)}
.game-favorite:active{transform:scale(.94)}

/* Mobile Legends: el aviso ya no queda pegado al encabezado. */
.mlbb-warning{
  margin:17px 0 15px!important;
  padding:11px 12px!important;
  text-align:center;
}

/* Paquete destacado sin inventar ventas: recomendado al inicio, más pedido con datos reales. */
.package{position:relative;overflow:hidden;padding-top:14px!important}
.package-badge{
  display:inline-flex;align-items:center;justify-content:center;
  width:max-content;max-width:100%;
  margin:0 auto 8px;padding:4px 7px;border-radius:999px;
  font-size:8.5px;font-weight:900;letter-spacing:.22px;white-space:nowrap;
}
.package-badge.recommended{background:rgba(91,124,255,.13);border:1px solid rgba(114,148,255,.25);color:#b8c8ff}
.package-badge.most-ordered{background:rgba(255,113,54,.12);border:1px solid rgba(255,129,65,.26);color:#ffb182}

/* Los números usan características OpenType y una pila monospace local; no descarga fuentes. */
.wallet-card strong,
.account-balance strong,
.package-current-price,
.selected-price-line strong,
.confirm-order-list strong,
.activity-amount,
.activity-main p,
.activity-main>small,
.notification-item small,
.notification-badge,
.copy-value-box strong,
.deposit-amount-field input,
.modal-input[inputmode="numeric"],
.phone-field input{
  font-family:ui-monospace,"SFMono-Regular",Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace!important;
  font-variant-numeric:tabular-nums slashed-zero!important;
  font-feature-settings:"zero" 1,"tnum" 1!important;
}

/* Opiniones */
.reviews-section{margin-top:42px}
.reviews-heading{align-items:center}
.reviews-score{
  display:grid;grid-template-columns:auto auto;align-items:center;gap:2px 5px;
  min-width:105px;padding:10px 12px;border:1px solid var(--line);border-radius:14px;
  background:rgba(255,255,255,.025);text-align:right;
}
.reviews-score strong{font-size:20px;line-height:1}
.reviews-score>span{color:#ffd56a;font-size:17px;line-height:1}
.reviews-score small{grid-column:1/-1;color:var(--muted);font-size:8.5px}
.review-compose{
  border:1px solid var(--line);border-radius:20px;padding:17px;
  background:linear-gradient(145deg,rgba(19,27,49,.76),rgba(11,16,30,.78));
}
.review-compose-copy{display:flex;flex-direction:column;gap:4px}
.review-compose-copy strong{font-size:14px}
.review-compose-copy small{color:var(--muted);font-size:10.5px;line-height:1.45}
.review-stars-input{display:flex;gap:3px;margin:13px 0 10px}
.review-stars-input button{
  border:0;background:transparent;padding:1px 2px;color:#4d566c;font-size:25px;cursor:pointer;
  transition:.15s transform,.15s color;
}
.review-stars-input button.active{color:#ffd56a}
.review-stars-input button:not(:disabled):hover{transform:translateY(-1px)}
.review-stars-input button:disabled{opacity:.5;cursor:default}
.review-compose textarea{
  width:100%;resize:vertical;min-height:78px;max-height:150px;padding:12px 13px;
  border-radius:13px;border:1px solid var(--line);outline:0;background:#0a1020;color:white;
  font:inherit;font-size:12px;line-height:1.45;
}
.review-compose textarea:focus{border-color:#5c7eff}
.review-compose textarea:disabled{opacity:.55}
.review-compose-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}
.review-compose-actions small{color:var(--muted);font-size:9.5px;line-height:1.35}
.review-compose-actions .secondary{padding:10px 13px;font-size:10.5px;white-space:nowrap}
.reviews-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.review-card{
  border:1px solid var(--line);border-radius:17px;padding:14px;background:rgba(255,255,255,.02);
}
.review-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.review-card-head>div{display:flex;flex-direction:column;gap:3px}
.review-card strong{font-size:11.5px}
.review-stars{color:#ffd56a;font-size:11px;letter-spacing:1px}
.verified-review{color:#63dca6;background:rgba(67,211,145,.08);border:1px solid rgba(67,211,145,.16);padding:3px 6px;border-radius:999px;font-size:7.5px;white-space:nowrap}
.review-card p{margin:10px 0;color:#c8cfde;font-size:10.5px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.review-card>small{color:#667087;font-size:8.5px}
.reviews-empty{margin-top:12px;padding:19px;border:1px dashed #2b354b;border-radius:16px;color:var(--muted);text-align:center;font-size:10px}
.reviews-empty[hidden]{display:none!important}

.reviews-more-row{
  display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;
  padding:11px 13px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.018);
}
.reviews-more-row[hidden]{display:none!important}
.reviews-more-row>small{color:var(--muted);font-size:9.5px}
.reviews-more-actions{display:flex;align-items:center;gap:10px}
.reviews-more-btn{padding:9px 13px;font-size:10px;white-space:nowrap}
.reviews-collapse-btn{font-size:9.5px}
@media(max-width:520px){
  .reviews-more-row{align-items:stretch;flex-direction:column}
  .reviews-more-actions{width:100%;justify-content:flex-end}
  .reviews-more-btn{flex:1}
}

/* Footer profesional y liviano. */
.site-footer{
  margin-top:46px;padding:24px 0 8px;border-top:1px solid var(--line);
  color:#9aa4ba;
}
.footer-story{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(260px,1.3fr);gap:25px;align-items:start}
.footer-brand{display:flex;align-items:center;gap:10px}
.footer-brand img{width:40px;height:40px;border-radius:13px;object-fit:cover}
.footer-brand strong{display:block;color:white;font-size:13px;letter-spacing:.4px}
.footer-brand small{font-size:8.5px;color:#7f899e}
.footer-story p{margin:0;font-size:10.5px;line-height:1.65}
.footer-links{display:flex;gap:16px;flex-wrap:wrap;margin:21px 0 18px}
.footer-links button{padding:0;border:0;background:transparent;color:#b9c2d5;font-size:9.5px;font-weight:800;cursor:pointer}
.footer-links button:hover{color:white}
.footer-bottom{display:flex;justify-content:space-between;gap:18px;padding-top:14px;border-top:1px solid rgba(255,255,255,.055)}
.footer-bottom span{font-size:9px;color:#778198}
.footer-bottom small{max-width:510px;text-align:right;font-size:7.8px;line-height:1.45;color:#59637a}
.legal-modal-card{width:min(92vw,560px)}
.legal-modal-card h2{margin:5px 0 15px}
.legal-copy{color:#b9c2d3;font-size:11px;line-height:1.65}
.legal-copy p{margin:0 0 12px}

/* Contenido lejano al primer viewport se renderiza cuando se acerca. */
.ceo-section,.social-section,.reviews-section,.site-footer{
  content-visibility:auto;
  contain-intrinsic-size:auto 420px;
}

@media(max-width:760px){
  .game-card{aspect-ratio:1.22/1!important;border-radius:16px!important}
  .game-favorite{top:8px;right:8px;width:32px;height:32px;border-radius:10px;font-size:17px}
  .featured-track .game-card{aspect-ratio:1.22/1!important}
  .reviews-heading{align-items:flex-end!important}
  .reviews-score{min-width:92px;padding:8px 10px}
  .reviews-score strong{font-size:17px}
  .review-compose{padding:14px}
  .reviews-list{grid-template-columns:1fr}
  .review-compose-actions{align-items:flex-end}
  .footer-story{grid-template-columns:1fr;gap:14px}
  .footer-links{gap:13px}
  .footer-bottom{flex-direction:column;gap:7px}
  .footer-bottom small{text-align:left;max-width:none}
}

@media(max-width:390px){
  .game-card{aspect-ratio:1.55/1!important}
  .review-compose-actions{flex-direction:column;align-items:stretch}
  .review-compose-actions .secondary{width:100%}
}

/* ==========================================================
   V6.13.1 — Cuenta clara, ayuda real, IDs guardados y 2FA
   ========================================================== */
.help-info-modal .settings-heading-icon{
  font-size:24px;font-weight:900;line-height:1;
}
.help-info-modal .settings-footnote strong{color:#d8e0ff}

/* La cuenta muestra información, no campos editables */
.account-info-list{
  display:grid!important;
  grid-template-columns:1fr;
  gap:0!important;
  margin:16px 0 0!important;
  border:1px solid rgba(151,166,201,.14);
  border-radius:16px;
  overflow:hidden;
  background:rgba(255,255,255,.018)!important;
}
.account-info-list>div{
  padding:12px 14px!important;
  border:0!important;
  border-bottom:1px solid rgba(151,166,201,.11)!important;
  border-radius:0!important;
  background:transparent!important;
}
.account-info-list>div:last-child{border-bottom:0!important}
.account-info-list small{display:block;color:#78839a;font-size:10px;margin-bottom:4px}
.account-info-list strong{display:block;font-size:12px;color:#eef2fb;overflow-wrap:anywhere}
.account-wallet-heading{display:grid;gap:2px;margin:17px 2px 8px}
.account-wallet-heading span{font-size:8px;font-weight:950;letter-spacing:1.5px;color:#728cff}
.account-wallet-heading strong{font-size:13px;color:#f4f6fb}
.account-note{margin-top:12px!important}
.account-logout-btn{
  margin-top:10px;height:43px;border:1px solid rgba(255,89,106,.2);border-radius:12px;
  background:rgba(255,89,106,.07);color:#ff9ca7;font-weight:850;font-size:11px;
}
.account-admin-push{margin-top:12px!important;border-radius:14px!important}

/* Editor de perfil: muchas funciones por dentro, simple por fuera */
.profile-editor-card{width:min(94vw,610px)!important;max-height:min(88vh,820px)!important;overflow:auto!important}
.profile-edit-section{
  margin-top:14px;padding:14px;border:1px solid rgba(151,166,201,.13);border-radius:16px;
  background:rgba(255,255,255,.018)
}
.profile-edit-title{display:grid;gap:3px;margin-bottom:10px}
.profile-edit-title strong{font-size:12px;color:#f1f4fb}
.profile-edit-title small{font-size:9.5px;line-height:1.45;color:#7e899e}
.profile-edit-section .auth-form{margin-top:0!important}
.profile-edit-section .security-submit{margin-top:3px}
.google-password-profile{opacity:.9}
.saved-game-ids-form{display:grid;gap:8px}
.saved-game-id-row{
  display:grid;grid-template-columns:minmax(125px,.85fr) minmax(0,1.2fr);align-items:center;gap:10px;
  padding:10px;border:1px solid rgba(151,166,201,.11);border-radius:12px;background:#090f1d
}
.saved-game-id-row>div:first-child{display:grid;gap:2px}
.saved-game-id-row strong{font-size:10.5px;color:#dfe5f1}
.saved-game-id-row small{font-size:8px;color:#6f7a91}
.saved-game-id-row input{
  width:100%;min-width:0;padding:10px 11px;border:1px solid rgba(151,166,201,.14);border-radius:10px;
  background:#070d19;color:#fff;outline:0;font:inherit;font-size:11px
}
.saved-game-id-row input:focus{border-color:rgba(84,124,255,.55)}
.saved-id-double{display:grid!important;grid-template-columns:1.4fr .8fr;gap:6px!important}
.saved-id-hint{margin:6px 2px 0;color:#a6b8ff;font-size:9px;line-height:1.35}
.order-deposit-shortcut{margin-top:8px}

/* Confirmación: volver no es lo mismo que cancelar */
.confirm-order-card{padding-top:54px!important}
.confirm-order-back{position:absolute!important;left:15px!important;top:14px!important;margin:0!important}
.confirm-order-eyebrow{display:block;margin-top:2px}
.confirm-order-card .modal-close{
  width:34px!important;height:34px!important;right:14px!important;top:13px!important;font-size:23px!important;line-height:30px!important
}

/* 2FA */
.mfa-security-card{width:min(94vw,520px)!important}
.mfa-panel{margin-top:10px}
.mfa-panel .security-panel-title{align-items:center;gap:10px}
.mfa-status-pill{flex:0 0 auto;padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.05);color:#9ca6ba;font-size:8px;font-weight:900;text-transform:uppercase}
.mfa-status-pill.active{background:rgba(48,213,140,.1);color:#72e8b3}
.mfa-explainer{margin:10px 0 12px;color:#8e99ae;font-size:10px;line-height:1.55}
.mfa-actions{display:grid;gap:7px}
.mfa-setup{margin-top:12px;padding:12px;border:1px solid rgba(84,124,255,.18);border-radius:14px;background:rgba(84,124,255,.04)}
.mfa-setup p{color:#aeb8ca;font-size:9.5px;line-height:1.45}
.mfa-setup img{display:block;width:min(220px,80%);aspect-ratio:1;margin:10px auto;padding:8px;border-radius:12px;background:#fff}
.mfa-setup details{margin:8px 0;color:#8995aa;font-size:9px}
.mfa-setup code{display:block;margin-top:7px;padding:9px;border-radius:9px;background:#070d18;color:#cdd7ff;overflow-wrap:anywhere;font-size:9px}
.mfa-code-input{text-align:center!important;letter-spacing:5px!important;font-size:18px!important;font-family:ui-monospace,"SFMono-Regular",Menlo,Monaco,Consolas,monospace!important}
.mfa-challenge-card{text-align:center}
.mfa-challenge-card .secondary{margin-top:8px}

@media(max-width:600px){
  .saved-game-id-row{grid-template-columns:1fr;gap:7px}
  .profile-editor-card{width:calc(100vw - 18px)!important;max-height:90vh!important}
  .account-info-list strong{font-size:11.5px}
}

/* Gamedin Island — acceso desde Inicio y espera de depósitos */
.island-home-card{
  position:relative;overflow:hidden;margin:26px 0 38px;padding:24px;
  display:grid;grid-template-columns:minmax(230px,.85fr) 1.15fr;gap:28px;align-items:center;
  border:1px solid rgba(91,227,139,.2);border-radius:25px;
  background:linear-gradient(135deg,rgba(11,35,41,.98),rgba(13,22,39,.98) 64%,rgba(31,28,45,.98));
  box-shadow:0 22px 60px rgba(1,10,22,.27),inset 0 1px rgba(255,255,255,.04)
}
.island-home-card:after{display:none}
.island-home-art{position:relative;min-height:210px;border-radius:20px;overflow:hidden;background:linear-gradient(#52bce0 0 46%,#f2cf74 46% 55%,#62a84f 55%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.13);image-rendering:pixelated}
.island-home-art:before{content:"";position:absolute;left:-10%;right:-10%;bottom:-18px;height:70px;background:repeating-linear-gradient(90deg,#4e8d3f 0 18px,#589b45 18px 36px);clip-path:polygon(0 18%,8% 7%,16% 20%,25% 5%,34% 24%,43% 9%,52% 17%,62% 2%,72% 19%,82% 7%,92% 22%,100% 9%,100% 100%,0 100%)}
.island-sun{position:absolute;right:24px;top:20px;width:38px;height:38px;border-radius:50%;background:#ffe267;box-shadow:0 0 28px rgba(255,226,103,.6)}
.island-cloud{position:absolute;width:56px;height:14px;border-radius:20px;background:rgba(255,255,255,.84)}
.island-cloud:before,.island-cloud:after{content:"";position:absolute;border-radius:50%;background:inherit}
.island-cloud:before{width:22px;height:22px;left:9px;bottom:2px}.island-cloud:after{width:28px;height:28px;right:8px;bottom:1px}
.island-cloud-one{left:20px;top:28px}.island-cloud-two{right:65px;top:77px;transform:scale(.72)}
.island-palm,.island-chest,.island-fire{position:absolute;z-index:2;filter:drop-shadow(0 5px 2px rgba(0,0,0,.2))}
.island-palm{left:22px;bottom:30px;font-size:76px}.island-chest{left:48%;bottom:27px;font-size:48px}.island-fire{right:28px;bottom:22px;font-size:31px;animation:islandFirePulse 1.1s ease-in-out infinite alternate}
@keyframes islandFirePulse{to{transform:translateY(-3px) scale(1.07)}}
.island-home-copy{position:relative;z-index:1}.island-home-copy h2{margin:5px 0 8px;font-size:clamp(28px,4vw,43px);letter-spacing:-1.2px;color:#f4f7fb}.island-home-copy p{max-width:590px;margin:0 0 19px;color:#a9b5c7;line-height:1.65;font-size:13px}
.island-play-button{min-width:180px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;background:linear-gradient(135deg,#37c878,#139c60);box-shadow:0 10px 24px rgba(25,179,104,.2)}
.island-entry-link{display:flex;align-items:center;justify-content:center;text-decoration:none}
[data-island-play]{touch-action:manipulation;-webkit-tap-highlight-color:rgba(83,221,143,.2)}
[data-island-play].is-opening{pointer-events:none;opacity:.78;filter:saturate(.72);transform:none!important}
.island-offer-card{text-align:center;max-width:440px}.island-offer-card h2{margin:7px 0 8px}.island-offer-card>p{color:#9ca8bb;line-height:1.6;margin:0 0 18px}.island-offer-scene{min-height:112px;margin:-5px 0 18px;border-radius:17px;background:linear-gradient(#5dc5e5 0 50%,#f0cc76 50% 59%,#609f4b 59%);display:flex;align-items:flex-end;justify-content:center;gap:28px;padding:18px;font-size:45px;overflow:hidden}.island-offer-card .secondary{margin-top:9px}
@media(max-width:700px){.island-home-card{grid-template-columns:1fr;padding:15px;gap:17px;border-radius:21px}.island-home-art{min-height:180px}.island-home-copy{padding:0 5px 7px}.island-home-copy h2{font-size:30px}.island-home-copy p{font-size:11.5px}.island-play-button{width:100%}}

/* ==========================================================
   V6.13.2 — Pulido visual, cuenta y IDs favoritos
   ========================================================== */
.wallet-grid[hidden]{display:none!important}

/* Catálogo blanco: branding reconocible + personaje, sin exceso de color. */
.game-card{background:#fafafa!important;border-color:rgba(116,128,160,.24)!important}
.game-open img{object-fit:cover!important;filter:none!important}
.game-card::after{height:34%!important;background:linear-gradient(0deg,rgba(5,8,16,.82),rgba(5,8,16,0))!important}
.game-card:hover .game-open img{filter:none!important}
.game-info{left:12px!important;right:auto!important;bottom:10px!important;padding:7px 9px!important;border-radius:10px!important;background:rgba(6,10,19,.72)!important;backdrop-filter:blur(5px)!important;max-width:72%!important}
.game-info strong{font-size:13px!important;color:#fff!important}
.game-info small{font-size:9px!important;color:#cfd6e6!important}

/* Mi cuenta: jerarquía más clara y texto más cómodo. */
.account-modal{font-size:13px!important}
.account-head h2{font-size:20px!important}
.account-head p{font-size:11.5px!important}
.account-info-list small{font-size:11.5px!important}
.account-info-list strong{font-size:13.5px!important}
.account-wallet-heading{margin:20px 2px 9px!important}
.account-wallet-heading strong{font-size:17px!important;color:#f5f7fb!important}
.account-balance small{font-size:10.5px!important}
.account-balance strong{font-size:15px!important}
.account-note{font-size:10.5px!important;line-height:1.5!important}
.account-action-grid button,.account-logout-btn{font-size:12.5px!important}

/* Ayuda: legible y con acceso real a Mi cuenta. */
.help-info-modal .settings-heading h2{font-size:20px!important}
.help-info-modal .setting-row strong{font-size:13.5px!important}
.help-info-modal .setting-row small{font-size:11px!important;line-height:1.5!important}
.help-info-modal .setting-action-btn{font-size:11px!important;min-height:38px!important}
.help-info-modal .settings-footnote{font-size:11px!important;line-height:1.55!important}
.settings-account-link{border:0;background:transparent;padding:0;color:#9eb2ff;font:inherit;font-weight:900;text-decoration:underline;text-underline-offset:2px;cursor:pointer}

/* Editor de perfil: más grande y menos aspecto de formulario diminuto. */
.profile-editor-card .auth-heading h2{font-size:20px!important}
.profile-editor-card .avatar-editor strong{font-size:13px!important}
.profile-editor-card .avatar-editor small{font-size:10.5px!important}
.profile-edit-title strong{font-size:14px!important}
.profile-edit-title small{font-size:10.5px!important;line-height:1.5!important}
.profile-edit-section label{font-size:10.5px!important}
.profile-edit-section input,.profile-edit-section select{font-size:12.5px!important;min-height:42px!important}
.profile-edit-section .secondary,.profile-edit-section .primary{font-size:12px!important;min-height:42px!important}

/* ID favorito: un juego una sola vez, con alta/edición/eliminación. */
.saved-id-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.saved-id-section-head .profile-edit-title{margin-bottom:0;min-width:0}
.saved-id-add-toggle{flex:0 0 auto;width:36px;height:36px;border-radius:50%;border:1px solid rgba(126,150,255,.38);background:linear-gradient(135deg,#586cff,#7b48e7);color:#fff;font-size:24px;line-height:1;display:grid;place-items:center;cursor:pointer}
.saved-id-editor{display:grid;gap:7px;margin-top:12px;padding:12px;border:1px solid rgba(126,150,255,.18);border-radius:13px;background:#090f1d}
.saved-id-editor[hidden]{display:none!important}
.saved-game-ids-list{display:grid;gap:8px;margin-top:12px}
.saved-id-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 12px;border:1px solid rgba(151,166,201,.13);border-radius:12px;background:#090f1d}
.saved-id-card-copy{display:grid;gap:2px;min-width:0}
.saved-id-card-copy strong{font-size:12.5px;color:#eef2f9}
.saved-id-card-copy span,.saved-id-card-copy small{font-size:10px;color:#8d99af;overflow-wrap:anywhere}
.saved-id-card-actions{display:flex;gap:6px}
.saved-id-card-actions button{width:32px;height:32px;border-radius:9px;border:1px solid rgba(151,166,201,.15);background:#10182a;color:#cfd7e8;cursor:pointer;font-size:15px}
.saved-id-card-actions button.danger{color:#ff8f9a;border-color:rgba(255,99,115,.2);background:rgba(255,70,90,.06)}
.saved-id-empty{margin-top:10px;padding:11px;border:1px dashed rgba(151,166,201,.16);border-radius:11px;color:#748097;font-size:10.5px;line-height:1.45}
.saved-id-empty[hidden]{display:none!important}

/* Depósitos: el estado se reconoce también por el color de la tarjeta. */
.activity-card.deposit-activity{border-left:3px solid rgba(245,158,11,.72)!important}
.activity-card.deposit-activity.pending{background:linear-gradient(145deg,rgba(245,158,11,.055),#0b1120)!important}
.activity-card.deposit-activity.approved{border-left-color:#22c55e!important;background:linear-gradient(145deg,rgba(34,197,94,.055),#0b1120)!important}
.activity-card.deposit-activity.rejected{border-left-color:#ef4444!important;background:linear-gradient(145deg,rgba(239,68,68,.055),#0b1120)!important}

/* V7.12.15 — Pedidos: el color de la tarjeta acompaña al estado, igual que depósitos. */
.activity-card.order-activity{border-left:3px solid rgba(245,158,11,.72)!important}
.activity-card.order-activity.pending{background:linear-gradient(145deg,rgba(245,158,11,.045),#0b1120)!important}
.activity-card.order-activity.completed{border-left-color:#22c55e!important;background:linear-gradient(145deg,rgba(34,197,94,.055),#0b1120)!important}
.activity-card.order-activity.rejected{border-left-color:#ef4444!important;background:linear-gradient(145deg,rgba(239,68,68,.055),#0b1120)!important}
.activity-card.order-activity.refunded{border-left-color:#a78bfa!important;background:linear-gradient(145deg,rgba(167,139,250,.065),#0b1120)!important}

/* Footer sin repetir el logo y con mejor legibilidad. */
.site-footer{padding-top:24px!important}
.footer-story{display:block!important}
.footer-story p{max-width:760px!important;font-size:12px!important;line-height:1.7!important;color:#aeb7ca!important}
.footer-story p strong{color:#f2f4f9;font-size:13px}
.footer-links{gap:18px!important;margin:20px 0 17px!important}
.footer-links button{font-size:11px!important}
.footer-bottom span{font-size:10.5px!important}
.footer-bottom small{font-size:9.5px!important;line-height:1.55!important}

@media(max-width:600px){
  .account-modal{width:calc(100vw - 18px)!important}
  .account-head h2{font-size:19px!important}
  .account-info-list strong{font-size:13px!important}
  .help-info-modal .setting-row{padding:14px 12px!important}
  .help-info-modal .setting-row strong{font-size:13px!important}
  .help-info-modal .setting-row small{font-size:10.5px!important}
  .profile-edit-section{padding:15px!important}
  .profile-edit-title strong{font-size:13.5px!important}
  .profile-edit-title small{font-size:10.5px!important}
  .footer-story p{font-size:11.5px!important}
  .footer-links button{font-size:10.5px!important}
  .footer-bottom span{font-size:10px!important}
  .footer-bottom small{font-size:9px!important}
}
/* Más legibilidad dentro del Centro de ayuda e Información y confianza. */
.help-steps h3{font-size:14px!important}
.help-steps p{font-size:12px!important;line-height:1.58!important}
.help-support-note{font-size:11.5px!important;line-height:1.55!important}
.trust-list summary{font-size:12.5px!important;padding:14px 15px!important}
.trust-list p{font-size:11.5px!important;line-height:1.6!important;padding:0 15px 14px!important}
.trust-heading p{font-size:12px!important}
@media(max-width:600px){
  .help-steps h3{font-size:13.5px!important}
  .help-steps p{font-size:11.5px!important}
  .trust-list summary{font-size:12px!important}
  .trust-list p{font-size:11px!important}
}

/* ==========================================================
   V6.13.6 — Tarjetas de juegos claras y bien asociadas
   Cada nombre queda visualmente unido a SU imagen.
   ========================================================== */
.games-grid,
.games-grid.compact{
  row-gap:16px!important;
  column-gap:12px!important;
}
.games-grid .game-card,
.featured-track .game-card{
  position:relative!important;
  aspect-ratio:auto!important;
  overflow:visible!important;
  border:1px solid rgba(126,161,255,.16)!important;
  border-radius:18px!important;
  padding:8px!important;
  background:linear-gradient(180deg,rgba(12,18,34,.78),rgba(10,15,28,.62))!important;
  box-shadow:0 10px 24px rgba(0,0,0,.14)!important;
  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
}
.games-grid .game-card::after,
.featured-track .game-card::after{display:none!important}
.game-card .game-card-head{
  display:flex!important;
  align-items:center!important;
  min-height:24px!important;
  padding:0 40px 0 0!important;
  margin:0!important;
}
.game-card .game-card-title{
  display:inline-flex!important;
  align-items:center!important;
  max-width:100%!important;
  min-height:24px!important;
  padding:0 10px!important;
  border-radius:10px!important;
  background:rgba(18,26,47,.92)!important;
  border:1px solid rgba(255,255,255,.08)!important;
  color:#f5f7ff!important;
  font-size:13px!important;
  font-weight:850!important;
  line-height:1!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.game-card .game-open{
  position:relative!important;
  inset:auto!important;
  display:block!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:1.08/1!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.10)!important;
  border-radius:16px!important;
  padding:0!important;
  background:#0c1222!important;
  box-shadow:none!important;
}
.game-card .game-open::after{display:none!important}
.game-card .game-open img{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  filter:none!important;
}
.game-card .game-info{display:none!important}
.game-card .game-favorite{
  top:40px!important;
  right:14px!important;
  width:32px!important;
  height:32px!important;
  border-radius:10px!important;
}
@media(max-width:760px){
  .games-grid,
  .games-grid.compact{row-gap:14px!important;column-gap:10px!important}
  .games-grid .game-card,
  .featured-track .game-card{padding:8px!important;gap:8px!important}
  .game-card .game-card-head{min-height:24px!important;padding-right:40px!important}
  .game-card .game-card-title{font-size:12.5px!important;min-height:24px!important;padding:0 9px!important}
  .game-card .game-open{aspect-ratio:1.03/1!important}
  .game-card .game-favorite{top:40px!important;right:13px!important}
}
@media(max-width:390px){
  .games-grid .game-card .game-open{aspect-ratio:1.5/1!important}
  .featured-track .game-card .game-open{aspect-ratio:1.05/1!important}
}


/* =========================================================
   V6.14 — Notificaciones del teléfono
   ========================================================= */
.phone-push-card{
  margin:4px 0 14px;padding:14px;border-radius:16px;
  border:1px solid rgba(126,161,255,.18);
  background:linear-gradient(145deg,rgba(21,31,57,.92),rgba(12,19,36,.92));
  transition:.25s ease;
}
.phone-push-copy{display:flex;align-items:flex-start;gap:11px}.phone-push-icon{flex:0 0 auto;width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:rgba(91,128,255,.12);font-size:19px}.phone-push-copy strong{display:block;font-size:13px}.phone-push-copy small{display:block;margin-top:4px;color:var(--muted);font-size:10.5px;line-height:1.5}.phone-push-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.phone-push-actions button{border-radius:11px;padding:10px 12px;font-size:10px;font-weight:900}.phone-push-enable{border:0;color:#fff;background:linear-gradient(135deg,var(--blue),var(--purple))}.phone-push-test{border:1px solid rgba(91,128,255,.25);background:rgba(91,128,255,.1);color:#bcccff}.phone-push-disable{border:1px solid rgba(255,89,106,.25);background:rgba(255,89,106,.09);color:#ff9ea8}.phone-push-note{margin:10px 0 0;color:#77829a;font-size:9.5px;line-height:1.45}.phone-push-actions [hidden]{display:none!important}
.notification-top-btn.push-needs-attention{border-color:rgba(117,151,255,.52);box-shadow:0 0 0 0 rgba(91,128,255,.42);animation:gamedinBellPulse 1.65s ease-out infinite}.notification-top-btn.push-needs-attention>span{display:inline-block;transform-origin:50% 10%;animation:gamedinBellWiggle 1.65s ease-in-out infinite}.phone-push-card.needs-attention{border-color:rgba(91,128,255,.42);box-shadow:0 0 0 1px rgba(91,128,255,.08) inset;animation:gamedinCardGlow 2s ease-in-out infinite}.phone-push-card.needs-attention .phone-push-icon{animation:gamedinBellWiggle 1.65s ease-in-out infinite}
@keyframes gamedinBellPulse{0%{box-shadow:0 0 0 0 rgba(91,128,255,.45)}70%,100%{box-shadow:0 0 0 9px rgba(91,128,255,0)}}
@keyframes gamedinBellWiggle{0%,38%,100%{transform:rotate(0)}8%{transform:rotate(10deg)}16%{transform:rotate(-9deg)}24%{transform:rotate(7deg)}32%{transform:rotate(-5deg)}}
@keyframes gamedinCardGlow{0%,100%{box-shadow:0 0 0 1px rgba(91,128,255,.06) inset,0 0 0 rgba(91,128,255,0)}50%{box-shadow:0 0 0 1px rgba(91,128,255,.13) inset,0 0 24px rgba(91,128,255,.09)}}
@media(max-width:520px){.phone-push-card{padding:12px}.phone-push-actions{display:grid;grid-template-columns:1fr 1fr}.phone-push-enable{grid-column:1/-1}.phone-push-actions button{width:100%}}
@media(prefers-reduced-motion:reduce){.notification-top-btn.push-needs-attention,.notification-top-btn.push-needs-attention>span,.phone-push-card.needs-attention,.phone-push-card.needs-attention .phone-push-icon{animation:none!important}}
body.reduce-motion .notification-top-btn.push-needs-attention,body.reduce-motion .notification-top-btn.push-needs-attention>span,body.reduce-motion .phone-push-card.needs-attention,body.reduce-motion .phone-push-card.needs-attention .phone-push-icon{animation:none!important}


/* =========================================================
   V6.14.2 — Campana push más visible para clientes
   ========================================================= */
.phone-push-card[hidden]{display:none!important}
.notification-top-btn.push-needs-attention{
  overflow:visible!important;
  border-color:rgba(117,151,255,.72)!important;
  background:rgba(30,42,76,.82)!important;
  box-shadow:0 0 0 0 rgba(91,128,255,.48)!important;
  animation:gamedinBellButtonBounce 1.55s ease-in-out infinite!important;
}
.notification-top-btn.push-needs-attention>.ui-icon{
  transform-origin:50% 12%;
  animation:gamedinBellIconAlert 1.55s ease-in-out infinite!important;
}
.notification-top-btn.push-needs-attention::before,
.notification-top-btn.push-needs-attention::after{
  content:"";
  position:absolute;
  inset:-5px;
  border:2px solid rgba(111,145,255,.68);
  border-radius:50%;
  pointer-events:none;
  opacity:0;
  animation:gamedinBellWave 1.55s ease-out infinite!important;
}
.notification-top-btn.push-needs-attention::after{animation-delay:.48s!important}
.phone-push-card.needs-attention{
  border-color:rgba(91,128,255,.56)!important;
  box-shadow:0 0 0 1px rgba(91,128,255,.11) inset,0 0 22px rgba(91,128,255,.10)!important;
  animation:gamedinPushCardNudge 2s ease-in-out infinite!important;
}
.phone-push-card.needs-attention .phone-push-icon{
  animation:gamedinBellIconAlert 1.55s ease-in-out infinite!important;
}
.phone-push-card.needs-attention .phone-push-enable{
  box-shadow:0 0 0 0 rgba(91,128,255,.48);
  animation:gamedinPushCtaPulse 1.65s ease-out infinite!important;
}
@keyframes gamedinBellButtonBounce{
  0%,58%,100%{transform:translateY(0) scale(1)}
  8%{transform:translateY(-3px) scale(1.04)}
  16%{transform:translateY(1px) scale(1)}
  24%{transform:translateY(-2px) scale(1.03)}
  34%{transform:translateY(0) scale(1)}
}
@keyframes gamedinBellIconAlert{
  0%,42%,100%{transform:rotate(0deg) scale(1)}
  7%{transform:rotate(14deg) scale(1.08)}
  14%{transform:rotate(-13deg) scale(1.08)}
  21%{transform:rotate(10deg) scale(1.05)}
  28%{transform:rotate(-8deg) scale(1.04)}
  35%{transform:rotate(5deg) scale(1.02)}
}
@keyframes gamedinBellWave{
  0%{opacity:.78;transform:scale(.78)}
  72%,100%{opacity:0;transform:scale(1.48)}
}
@keyframes gamedinPushCardNudge{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-1px)}
}
@keyframes gamedinPushCtaPulse{
  0%{box-shadow:0 0 0 0 rgba(91,128,255,.5)}
  72%,100%{box-shadow:0 0 0 8px rgba(91,128,255,0)}
}


/* =========================================================
   V6.14.3 — Activación push táctil + caché de imágenes
   ========================================================= */
.phone-push-card{position:relative!important;z-index:1!important}
.phone-push-actions{position:relative!important;z-index:4!important;pointer-events:auto!important}
.phone-push-enable,
.phone-push-disable{
  position:relative!important;
  z-index:5!important;
  pointer-events:auto!important;
  touch-action:manipulation!important;
  -webkit-tap-highlight-color:rgba(126,161,255,.18);
  cursor:pointer!important;
  user-select:none;
  -webkit-user-select:none;
}
.phone-push-enable:not(:disabled):active,
.phone-push-disable:not(:disabled):active{transform:scale(.98)}
.phone-push-enable:disabled{cursor:wait!important;opacity:.72}


/* ==========================================================
   V6.14.4 — Guía visible para activar Web Push en iPhone
   ========================================================== */
.ios-push-install-modal{
  width:min(92vw,480px)!important;
  text-align:center;
  padding:26px 22px 22px!important;
}
.ios-push-install-icon{
  width:58px;height:58px;margin:2px auto 12px;border-radius:18px;
  display:grid;place-items:center;font-size:28px;
  background:linear-gradient(145deg,rgba(91,128,255,.22),rgba(126,82,255,.15));
  border:1px solid rgba(126,161,255,.28);
  box-shadow:0 12px 34px rgba(35,67,170,.20);
}
.ios-push-install-modal h2{margin:6px 28px 8px;font-size:22px;line-height:1.12}
.ios-push-install-intro{
  margin:0 auto 17px;color:var(--muted);font-size:12px;line-height:1.55;max-width:390px;
}
.ios-push-install-steps{display:grid;gap:9px;text-align:left;margin:0 0 14px}
.ios-push-install-steps>div{
  display:grid;grid-template-columns:32px 1fr;gap:10px;align-items:center;
  padding:11px 12px;border-radius:14px;background:#0c1325;border:1px solid var(--line);
}
.ios-push-install-steps b{
  width:30px;height:30px;border-radius:10px;display:grid;place-items:center;
  background:linear-gradient(135deg,var(--blue),var(--purple));color:white;font-size:13px;
}
.ios-push-install-steps span{font-size:12px;line-height:1.45;color:#dce3f2}
.ios-push-install-steps em{font-style:normal}
.ios-push-install-note{
  margin:0 0 14px;padding:10px 12px;border-radius:12px;
  color:#bfd0ff;background:rgba(91,128,255,.08);border:1px solid rgba(126,161,255,.18);
  font-size:11px;line-height:1.5;
}
.ios-push-install-modal .primary{margin-top:0!important}
@media(max-width:390px){
  .ios-push-install-modal{padding:22px 16px 17px!important}
  .ios-push-install-modal h2{font-size:20px}
  .ios-push-install-steps>div{padding:10px}
}


/* ==========================================================
   V6.14.5 — Comprobante: vista previa clara + quitar imagen
   ========================================================== */
.receipt-preview{position:relative!important;padding-right:48px!important}
.receipt-preview-copy{display:flex!important;flex-direction:column!important;gap:3px!important;flex:1!important;min-width:0!important}
.receipt-preview-copy strong{display:block!important;color:#eef3ff!important;font-size:11px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.receipt-preview-copy small{display:block!important;color:var(--muted)!important;font-size:9px!important;line-height:1.35!important}
.receipt-remove-btn{position:absolute;right:9px;top:50%;transform:translateY(-50%);width:32px;height:32px;border-radius:10px;border:1px solid rgba(255,95,95,.36);background:rgba(91,20,27,.46);color:#ff9a9f;font-size:22px;line-height:1;display:grid;place-items:center;padding:0;cursor:pointer;z-index:2}
.receipt-remove-btn:active{transform:translateY(-50%) scale(.94)}


/* ==========================================================
   V6.14.8 — Mi cuenta: monedero compacto + confianza
   ========================================================== */
.account-wallet-heading{
  margin:12px 2px 5px!important;
}
.account-wallet-heading strong{
  font-size:15px!important;
  line-height:1.15!important;
  color:#f5f7fb!important;
}
.account-balance-grid{
  margin:0 0 10px!important;
  gap:8px!important;
}
.account-note{
  margin-top:8px!important;
  margin-bottom:13px!important;
  padding:11px 12px!important;
  border-color:rgba(126,161,255,.16)!important;
  background:rgba(126,161,255,.065)!important;
  color:#b8c3d9!important;
  font-size:10.5px!important;
  line-height:1.5!important;
}

/* ==========================================================
   V6.14.10 — Mi cuenta: "TU MONEDERO" en mayúsculas
   ========================================================== */
.account-wallet-heading{
  margin:22px 2px 8px!important;
}
.account-wallet-heading strong{
  font-size:20px!important;
  line-height:1.12!important;
  font-weight:900!important;
  letter-spacing:-.35px!important;
  color:#f7f9ff!important;
}
@media(max-width:600px){
  .account-wallet-heading{
    margin-top:21px!important;
    margin-bottom:8px!important;
  }
  .account-wallet-heading strong{
    font-size:19px!important;
  }
}


/* =========================================================
   V6.14.20 — Notificaciones accionables + foco en el pedido
   ========================================================= */
.notification-item{cursor:pointer!important}
.notification-item:active{transform:scale(.992)}
.notification-item:focus-visible{
  outline:2px solid color-mix(in srgb,var(--notification-accent) 72%,#fff);
  outline-offset:2px;
}
.activity-card.notification-target{
  animation:gamedinNotificationTarget 2.5s ease both;
}
@keyframes gamedinNotificationTarget{
  0%,100%{box-shadow:0 0 0 0 rgba(111,140,255,0)}
  18%,72%{box-shadow:0 0 0 3px rgba(111,140,255,.42),0 12px 34px rgba(70,100,255,.16)}
}


/* V6.14.21 — elección de ID habitual o solo esta compra */
.saved-id-hint.unsaved{
  border-color:rgba(114,145,255,.28);
  background:rgba(87,108,196,.10);
  color:#c8d2ff;
}
.save-id-choice-card{width:min(92vw,500px);padding-top:58px}
.save-id-choice-card h2{margin:7px 0 10px;font-size:24px}
.save-id-choice-intro{margin:0 0 16px;color:var(--muted);font-size:13px;line-height:1.55}
.save-id-choice-preview{border:1px solid rgba(108,137,255,.25);background:linear-gradient(145deg,rgba(39,51,92,.75),rgba(17,24,44,.86));border-radius:16px;padding:14px 15px;margin:12px 0 15px;display:grid;gap:5px}
.save-id-choice-preview>span{color:#8fa8ff;font-size:11px;font-weight:900;letter-spacing:.7px;text-transform:uppercase}
.save-id-choice-preview>strong{font-size:18px;color:#fff}
.save-id-choice-preview>strong b{font:inherit}
.save-id-choice-preview>small{color:#b8c0d5;font-size:12px}.save-id-choice-preview>small b{color:#fff}
.save-id-choice-help{display:grid;grid-template-columns:auto 1fr;gap:8px 10px;border:1px solid var(--line);background:#0b1120;border-radius:15px;padding:13px 14px}
.save-id-choice-help strong{color:#f2f5ff;font-size:12px;white-space:nowrap}
.save-id-choice-help span{color:var(--muted);font-size:11px;line-height:1.45}
.save-id-choice-note{color:#8791aa;font-size:10px;line-height:1.5;margin:13px 2px 0}
.save-id-choice-card .secondary{margin-top:9px}
@media(max-width:520px){
  .save-id-choice-card{width:94vw;padding:55px 18px 18px}
  .save-id-choice-card h2{font-size:21px}
  .save-id-choice-help{grid-template-columns:1fr;gap:4px}
  .save-id-choice-help span{margin-bottom:5px}
}


/* =========================================================
   V6.14.22 — Monedero visible y nomenclatura consistente
   ========================================================= */
.home-wallet-heading{
  grid-column:1 / -1;
  text-align:center;
  margin:2px 0 2px;
}
.home-wallet-heading strong{
  display:block;
  color:#f7f9ff;
  font-size:20px;
  line-height:1.12;
  font-weight:900;
  letter-spacing:-.35px;
}
/* Deja aire entre el hero, el título del monedero y las dos tarjetas. */
#homeWalletSection.wallet-grid{
  margin-top:24px;
  row-gap:12px;
}
@media(max-width:760px){
  #homeWalletSection.wallet-grid{
    margin-top:19px;
    row-gap:9px;
  }
  .home-wallet-heading{
    margin-bottom:2px;
  }
  .home-wallet-heading strong{
    font-size:19px;
  }
}


/* ==========================================================
   V6.14.24 FINAL — Enlace directo para editar el ID habitual
   ========================================================== */
.saved-id-account-link,
.saved-id-inline-link{
  appearance:none;
  border:0;
  padding:0;
  margin:0 0 0 3px;
  background:transparent;
  color:#f4f7ff;
  font:inherit;
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:2px;
  cursor:pointer;
}
.saved-id-account-link span{color:#fff}
.saved-id-account-link:hover,
.saved-id-inline-link:hover{color:#fff}
.saved-id-account-link:focus-visible,
.saved-id-inline-link:focus-visible{outline:2px solid rgba(133,164,255,.85);outline-offset:3px;border-radius:4px}
.saved-ids-section.saved-id-focus{
  border-color:rgba(118,148,255,.48)!important;
  box-shadow:0 0 0 2px rgba(91,112,255,.12),0 0 26px rgba(91,112,255,.08);
}


/* V6.14.25 — acceso al panel solo para cuentas admin */
.admin-panel-entry{
  width:100%;margin-top:12px;padding:13px 14px;border:1px solid rgba(114,140,255,.28);border-radius:14px;
  background:linear-gradient(135deg,rgba(100,120,255,.11),rgba(139,91,255,.08));color:#eef2ff;
  display:grid;grid-template-columns:auto 1fr auto;gap:11px;align-items:center;text-align:left;cursor:pointer;
}
.admin-panel-entry[hidden]{display:none!important}
.admin-panel-entry-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:rgba(111,132,255,.14);font-size:18px}
.admin-panel-entry-copy{display:grid;gap:3px;min-width:0}
.admin-panel-entry-copy strong{font-size:12.5px;color:#f5f7ff}
.admin-panel-entry-copy small{font-size:9.5px;line-height:1.4;color:#8f9ab1}
.admin-panel-entry-arrow{font-size:26px;line-height:1;color:#8095ff}
.admin-panel-entry:active{transform:scale(.992)}

/* ==========================================================
   V6.14.33 — Sobre Gamedin + cierre institucional
   ========================================================== */
.about-gamedin-section{
  margin-top:42px;
  padding:30px 24px 28px;
  border:1px solid rgba(151,166,201,.12);
  border-radius:24px;
  background:
    radial-gradient(circle at 12% 8%,rgba(77,124,255,.12),transparent 28%),
    radial-gradient(circle at 88% 18%,rgba(126,74,231,.10),transparent 26%),
    linear-gradient(145deg,#0d1425,#0a1020);
  overflow:hidden;
}
.about-gamedin-heading{text-align:center;max-width:760px;margin:0 auto 24px}
.about-gamedin-pill{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:30px;padding:0 17px;margin-bottom:14px;border-radius:999px;
  background:rgba(112,91,255,.12);border:1px solid rgba(126,111,255,.16);
  color:#b8b1ff;font-size:10px;font-weight:800;letter-spacing:.16em
}
.about-gamedin-heading h2{margin:6px 0 10px;font-size:clamp(26px,4vw,40px);line-height:1.08;color:#f5f7fb}
.about-gamedin-heading p{margin:0 auto;color:#9ca8bd;font-size:13px;line-height:1.7;max-width:650px}
.about-gamedin-web{
  max-width:760px;margin:0 auto 16px;padding:14px 16px;border-radius:16px;
  border:1px solid rgba(112,145,255,.16);background:rgba(44,75,151,.10);
  display:flex;align-items:center;justify-content:center;gap:12px;text-align:left
}
.about-gamedin-web-icon{font-size:25px;line-height:1;flex:0 0 auto}
.about-gamedin-web-copy{display:grid;gap:3px}
.about-gamedin-web-copy strong{font-size:13px;color:#eef3ff}
.about-gamedin-web-copy small{font-size:10.5px;line-height:1.55;color:#96a4bd}
.about-gamedin-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.about-gamedin-stat{
  min-height:150px;padding:18px 16px;border-radius:18px;
  border:1px solid rgba(151,166,201,.12);background:rgba(9,15,29,.74);
  display:flex;flex-direction:column;align-items:flex-start;gap:8px;
  box-shadow:0 14px 34px rgba(0,0,0,.12)
}
.about-gamedin-stat>span{font-size:25px;line-height:1}
.about-gamedin-stat strong{font-size:13px;color:#f0f3f9}
.about-gamedin-stat small{font-size:10.5px;line-height:1.55;color:#8e9ab0}
.about-gamedin-story{
  margin-top:18px;padding:22px;border-radius:18px;
  border:1px solid rgba(151,166,201,.12);background:rgba(7,12,24,.58)
}
.about-gamedin-story h3{margin:7px 0 9px;font-size:18px;line-height:1.35;color:#eef2f8}
.about-gamedin-story p{margin:0;color:#9ca7bb;font-size:12px;line-height:1.7}
.about-gamedin-story p strong{color:#f0f3f8}
.site-footer{margin-top:20px!important}
.footer-bottom{justify-content:center!important}
.footer-bottom span{text-align:center}

@media(max-width:850px){
  .about-gamedin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  .about-gamedin-section{margin-top:34px;padding:24px 15px 22px;border-radius:20px}
  .about-gamedin-heading{margin-bottom:18px}
  .about-gamedin-heading h2{font-size:28px}
  .about-gamedin-heading p{font-size:11.5px;line-height:1.65}
  .about-gamedin-web{margin-bottom:12px;padding:13px 14px;align-items:flex-start}
  .about-gamedin-web-icon{font-size:22px}
  .about-gamedin-web-copy strong{font-size:11.5px}
  .about-gamedin-web-copy small{font-size:9.5px;line-height:1.5}
  .about-gamedin-grid{gap:9px}
  .about-gamedin-stat{min-height:138px;padding:15px 13px;border-radius:15px}
  .about-gamedin-stat>span{font-size:22px}
  .about-gamedin-stat strong{font-size:11.5px}
  .about-gamedin-stat small{font-size:9.5px;line-height:1.5}
  .about-gamedin-story{margin-top:12px;padding:17px 15px;border-radius:15px}
  .about-gamedin-story h3{font-size:15px}
  .about-gamedin-story p{font-size:10.5px;line-height:1.65}
}

/* ==========================================================
   V7.3 — legibilidad, accesos rápidos y operaciones detalladas
   ========================================================== */
.page p,.modal-card p,.activity-main p,.review-card p,.site-footer,.setting-row small,.help-steps p{font-size:13px;line-height:1.6}
input,textarea,select{font-size:14px}
.primary,.secondary,.text-btn,.nav-item small{font-size:12px}
body.auth-resolving .profile-copy small{opacity:.72}
.review-login-prompt{
  display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px;
  padding:16px;border:1px solid rgba(126,145,255,.18);border-radius:17px;
  background:rgba(23,32,61,.55);margin-bottom:16px
}
.review-login-prompt[hidden]{display:none!important}
.review-login-prompt>span{font-size:24px}.review-login-prompt div{display:grid;gap:4px}
.review-login-prompt strong{font-size:13px;color:#f4f6fb}.review-login-prompt small{font-size:11.5px;line-height:1.5;color:#9da8bc}


.notification-audience-copy{margin:0 0 12px;color:#9ba7bc;font-size:12px;line-height:1.5}
.notification-heading-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.notification-heading-actions .text-btn{font-size:10.5px}
.notification-item.type-public_announcement{border-left-color:#9c7cff;background:linear-gradient(145deg,rgba(122,91,255,.08),rgba(14,21,38,.95))}
.notification-item.type-security_event,.notification-item.type-profile_event,.notification-item.type-push_event{border-left-color:#49b7ff}

.activity-detail-modal{width:min(94vw,560px)}
.activity-card{cursor:pointer}.activity-card .activity-detail-link{margin-top:8px;border:0;background:transparent;color:#90a9ff;font-size:11px;font-weight:800;padding:0}
.activity-live-status{display:inline-flex;align-items:center;gap:7px;width:max-content;max-width:100%;margin:7px 0 5px;padding:6px 9px;border:1px solid rgba(139,112,255,.26);border-radius:999px;background:rgba(113,83,230,.11);color:#bdaeff;font-size:10.5px;font-weight:850;line-height:1.25}
.activity-live-status i{flex:0 0 auto;width:8px;height:8px;border-radius:50%;background:#8d75ff;box-shadow:0 0 0 0 rgba(141,117,255,.5)}
.activity-live-status.pending i,.activity-live-status.reviewing i{animation:gamedinDepositProgress 1.45s ease-out infinite}
.activity-live-status.reviewing{border-color:rgba(125,103,255,.38);background:rgba(104,80,225,.16);color:#d1c8ff}
.activity-live-status.approved{border-color:rgba(54,211,142,.25);background:rgba(42,184,119,.10);color:#76dfae}
.activity-live-status.approved i{background:#45d398}
.activity-live-status.rejected{border-color:rgba(255,92,107,.24);background:rgba(220,66,83,.10);color:#ff9eaa}
.activity-live-status.rejected i{background:#ff6677}
@keyframes gamedinDepositProgress{70%{box-shadow:0 0 0 7px rgba(141,117,255,0)}100%{box-shadow:0 0 0 0 rgba(141,117,255,0)}}
.activity-detail-modal h2{margin-bottom:15px}.operation-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.operation-detail-grid div{padding:11px;border:1px solid rgba(151,166,201,.12);border-radius:12px;background:rgba(13,20,38,.72);display:grid;gap:4px}
.operation-detail-grid small{font-size:10px;color:#8f9bb1}.operation-detail-grid strong{font-size:12.5px;color:#eef2fa;word-break:break-word}
.operation-timeline{margin-top:17px;padding-left:4px}.operation-timeline h3{font-size:13px;margin:0 0 12px}
.operation-timeline-item{position:relative;padding:0 0 15px 25px;color:#9faabd;font-size:11.5px;line-height:1.45}
.operation-timeline-item:before{content:"";position:absolute;left:5px;top:4px;width:9px;height:9px;border-radius:50%;background:#6e8cff;box-shadow:0 0 0 4px rgba(110,140,255,.12)}
.operation-timeline-item:after{content:"";position:absolute;left:9px;top:15px;bottom:0;width:1px;background:rgba(126,145,255,.2)}
.operation-timeline-item:last-child:after{display:none}.operation-timeline-item strong{display:block;color:#eef2fa;font-size:12px}.operation-timeline-item small{font-size:10px;color:#7f8ba2}

/* El chat es hijo directo del modal: en escritorio necesita su propia rejilla centrada. */
.support-chat-shell.open{display:grid!important;place-items:center;padding:22px}
.support-chat-shell>.modal-backdrop{position:absolute;inset:0}
.support-human-link{font-size:11.5px!important}
.support-chat-message-bubble,.support-quick-questions button,.support-chat-form input{font-size:12.5px!important}

/* Aumentos selectivos: se conserva el diseño, pero se eliminan textos de 9 px difíciles de leer. */
.about-gamedin-web-copy small,.about-gamedin-stat small,.activity-main p,.activity-main small,.review-card p,.review-card>small,.phone-push-note{font-size:11px}

@media(max-width:760px){
  .support-chat-shell.open{padding:10px}.support-chat-card{width:100%;height:min(88dvh,720px);border-radius:20px}
}
@media(max-width:520px){
  .operation-detail-grid{grid-template-columns:1fr}
  .review-login-prompt{grid-template-columns:auto 1fr}.review-login-prompt button{grid-column:1/-1;width:100%}
  .about-gamedin-heading p{font-size:12.5px}.about-gamedin-web-copy small,.about-gamedin-stat small{font-size:11px}
}
@media(max-width:390px){
  }

/* V7.3.2 — mensajes del asistente legibles y direcciones largas seguras */
.support-chat-message-bubble{overflow-wrap:anywhere;word-break:normal}
.support-wallet-message{max-width:88%;line-height:1.55;overflow-wrap:anywhere;word-break:break-word}
@media(max-width:520px){
  .support-chat-message-bubble{font-size:12px!important;line-height:1.5}
  .support-wallet-message{max-width:92%;font-size:11.5px!important}
  .support-chat-copy{font-size:10.5px}
}

/* V7.4 — explicación de Island y prevención de depósitos repetidos */
.island-info-button{
  position:absolute;right:0;top:0;z-index:2;width:38px;height:38px;
  border:1px solid rgba(112,226,157,.34);border-radius:50%;
  background:rgba(21,125,79,.15);color:#8ee8b2;font-size:19px;font-weight:950;
  cursor:pointer;box-shadow:inset 0 0 0 1px rgba(255,255,255,.02)
}
.island-info-button:hover{background:rgba(41,181,108,.22);color:#d9ffe8}
.island-home-copy>.eyebrow{display:block;padding-right:48px}
.island-info-card{width:min(94vw,570px)}
.island-info-card h2{margin:6px 0 9px;padding-right:38px;font-size:26px}
.island-info-card>p{margin:0;color:#a9b5c8;line-height:1.6}
.island-info-icon{width:58px;height:58px;display:grid;place-items:center;margin-bottom:13px;border-radius:18px;background:linear-gradient(145deg,rgba(40,185,107,.2),rgba(32,87,121,.16));font-size:31px}
.island-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:18px 0}
.island-info-grid article{display:grid;grid-template-columns:auto 1fr;gap:10px;padding:12px;border:1px solid rgba(125,158,188,.14);border-radius:14px;background:rgba(8,16,29,.62)}
.island-info-grid article>span{font-size:24px}.island-info-grid article>div{display:grid;gap:4px}
.island-info-grid strong{font-size:12px;color:#eff5f5}.island-info-grid small{font-size:10.5px;line-height:1.45;color:#8fa1b2}
.island-info-note{padding:11px 12px;border-left:3px solid #40c97b;border-radius:9px;background:rgba(39,150,91,.08);font-size:10.5px!important;color:#9db8a9!important}

.pending-deposit-warning{
  display:grid;grid-template-columns:auto 1fr;gap:11px;align-items:start;margin-top:13px;padding:14px;
  border:1px solid rgba(246,190,80,.34);border-radius:15px;background:linear-gradient(145deg,rgba(111,77,20,.2),rgba(34,27,22,.48))
}
.pending-deposit-warning[hidden]{display:none!important}.pending-deposit-warning>span{font-size:25px}
.pending-deposit-warning strong{display:block;color:#ffe2a1;font-size:13px}
.pending-deposit-warning p{margin:5px 0 0;color:#c7bda8;font-size:11.5px;line-height:1.5}
.pending-deposit-warning-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:11px}
.pending-deposit-warning-actions button{min-height:39px;margin:0!important;padding:9px 12px;border-radius:11px;font-size:10.5px;font-weight:850;cursor:pointer}
.pending-deposit-continue{border:1px solid rgba(246,190,80,.28);background:rgba(246,190,80,.09);color:#f4cf84}

@media(max-width:560px){
  .island-info-grid{grid-template-columns:1fr}
  .island-info-card h2{font-size:23px}
  .pending-deposit-warning-actions{display:grid;grid-template-columns:1fr}
  .pending-deposit-warning-actions button{width:100%}
}


/* ==========================================================
   V7.12.10 — interfaz compacta, Island y actividad
   ========================================================== */

.about-gamedin-heading{margin-bottom:13px!important}
.about-gamedin-toggle{display:flex;align-items:center;justify-content:center;gap:9px;width:min(100%,430px);margin:0 auto;padding:10px 14px;border:1px solid rgba(126,145,255,.16);border-radius:12px;background:rgba(63,80,150,.09);color:#b8c6e7;font-size:10.5px;font-weight:850;cursor:pointer}
.about-gamedin-toggle b{font-size:17px;line-height:1;transition:transform .2s ease}
.about-gamedin-toggle[aria-expanded="true"] b{transform:rotate(180deg)}
.about-gamedin-details{margin-top:13px}
.about-gamedin-details[hidden]{display:none!important}
.about-gamedin-details .about-gamedin-web{margin-bottom:10px}

.island-home-card{grid-template-columns:minmax(190px,.7fr) 1.3fr!important;padding:20px!important;gap:22px!important}
.island-home-art{min-height:170px!important}
.island-palm{font-size:64px!important}.island-chest{font-size:42px!important}.island-fire{font-size:27px!important}

.ceo-image-viewer-dialog img{clip-path:circle(47.6% at 50% 50%)!important;border-radius:50%!important;filter:drop-shadow(0 20px 42px rgba(0,0,0,.38))!important}

.activity-card.island-reward-activity{border-left:3px solid #46c97d;background:linear-gradient(145deg,rgba(29,143,85,.09),#0b1120)}
.activity-island-logo{width:34px;height:34px;display:block;border-radius:10px;box-shadow:0 5px 16px rgba(0,0,0,.2)}
.activity-card.island-reward-activity .activity-amount{color:#70e3a0}

@media(max-width:700px){
  .island-home-card{grid-template-columns:1fr!important;padding:13px!important;gap:13px!important}.island-home-art{min-height:142px!important}
}
@media(max-width:520px){
  .about-gamedin-section{padding-bottom:17px!important}.about-gamedin-toggle{font-size:10px;padding:9px 11px}
}

/* V7.12.10 — Asistente: una sola pulsación en móvil/PC */
#supportBtn,.support-wrap .support{touch-action:manipulation;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none;cursor:pointer;}

/* V7.12.10 — cabecera limpia: saldo retirado del encabezado; queda en Inicio y Mi cuenta. */


/* =========================================================
   V7.12.10 — Instalación PWA + cero tachado uniforme
   ========================================================= */
.gamedin-install-card{
  margin:18px 0 4px;padding:13px 14px;border:1px solid rgba(105,139,255,.26);
  border-radius:18px;background:linear-gradient(135deg,rgba(20,31,58,.78),rgba(10,17,34,.9));
  display:flex;align-items:center;gap:12px;box-shadow:0 12px 32px rgba(0,0,0,.12)
}
.gamedin-install-card[hidden]{display:none!important}
.gamedin-install-icon{
  width:42px;height:42px;flex:0 0 42px;border-radius:13px;display:grid;place-items:center;
  background:rgba(67,112,255,.15);border:1px solid rgba(117,150,255,.25);font-size:22px
}
.gamedin-install-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}
.gamedin-install-copy strong{font-size:12.5px;color:#f5f7ff}
.gamedin-install-copy small{font-size:9.5px;line-height:1.35;color:var(--muted)}
.gamedin-install-card .primary{min-height:38px;padding:0 13px;border-radius:12px;font-size:9.5px;white-space:nowrap}
.install-gamedin-modal{max-width:430px!important;text-align:center}
.install-gamedin-logo{
  width:64px;height:64px;margin:0 auto 10px;border-radius:18px;display:block;object-fit:cover;
  box-shadow:0 12px 28px rgba(28,89,255,.22)
}
.install-gamedin-modal h2{margin:5px 28px 7px}
.install-gamedin-modal>p{margin:0 0 14px;color:#c5cedf;font-size:12px;line-height:1.5}
.install-gamedin-steps{display:grid;gap:8px;margin:0 0 14px;text-align:left}
.install-gamedin-steps>div{
  display:flex;align-items:flex-start;gap:9px;padding:10px 11px;border-radius:13px;
  border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.025)
}
.install-gamedin-steps b{
  width:22px;height:22px;flex:0 0 22px;border-radius:8px;display:grid;place-items:center;
  background:rgba(87,126,255,.15);color:#b9c9ff;font-size:10px
}
.install-gamedin-steps span{font-size:11px;line-height:1.45;color:#e2e7f1}
.install-gamedin-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.install-gamedin-actions.single{grid-template-columns:1fr}
.install-gamedin-actions .wide{margin:0!important}
@media(max-width:640px){
  .gamedin-install-card{margin:14px 0 2px;padding:11px 12px;gap:10px}
  .gamedin-install-icon{width:38px;height:38px;flex-basis:38px;border-radius:12px;font-size:20px}
  .gamedin-install-copy strong{font-size:11.5px}
  .gamedin-install-copy small{font-size:9px}
  .gamedin-install-card .primary{min-height:36px;padding:0 11px;font-size:9px}
  .install-gamedin-modal{padding:22px 16px 17px!important}
  .install-gamedin-actions{grid-template-columns:1fr}
}


/* =========================================================
   V7.12.10 — identidad numérica y badges consistentes
   ========================================================= */
/*
  PC/iPhone usan el cero tachado OpenType cuando la fuente lo soporta.
  Android añade un respaldo Unicode desde JavaScript; en ese caso desactivamos
  la variante OpenType para evitar un doble tachado.
*/
html,body,button,input,select,textarea{
  font-variant-numeric:tabular-nums slashed-zero!important;
  font-feature-settings:"tnum" 1,"zero" 1!important;
}
html.android-normal-zero,html.android-normal-zero body,html.android-normal-zero button,html.android-normal-zero input,html.android-normal-zero select,html.android-normal-zero textarea{
  font-variant-numeric:tabular-nums!important;
  font-feature-settings:"tnum" 1,"zero" 0!important;
}

/* Recomendado/Más pedido flota sobre la esquina sin ocupar altura del paquete. */
.game-modal-card .packages{overflow:visible!important}
.game-modal-card .packages .package.has-badge{position:relative!important;overflow:visible!important}
.game-modal-card .packages .package.has-badge>.package-badge{
  position:absolute!important;top:-7px!important;right:7px!important;left:auto!important;
  margin:0!important;z-index:4!important;max-width:calc(100% - 14px)!important;
  padding:3px 7px!important;font-size:7.8px!important;line-height:1.15!important;
  pointer-events:none!important;white-space:nowrap!important;
  box-shadow:0 4px 12px rgba(0,0,0,.24)!important;
}
.activity-load-more{
  display:block;width:min(100%,300px);margin:14px auto 2px!important;min-height:42px;
}
.activity-load-more[hidden]{display:none!important}
@media(max-width:760px){
  /* En móvil la insignia queda COMPLETAMENTE dentro de la tarjeta.
     No ocupa flujo ni mueve nombre/precio; PC conserva la posición anterior. */
  .game-modal-card .packages .package.has-badge>.package-badge{
    top:7px!important;right:7px!important;left:auto!important;
    padding:2px 6px!important;font-size:7.1px!important;line-height:1.1!important;
    max-width:calc(100% - 14px)!important;
  }
}

/* =========================================================
   V7.12.15 — Android: catálogo 2x3, ceros y formularios
   ========================================================= */
/* La página Recargar conserva dos juegos por fila incluso en Android estrecho.
   Sobrescribe la antigua regla <=390 px que pasaba el catálogo a una columna. */
@media(max-width:520px){
  .games-grid,
  .games-grid.compact{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    column-gap:9px!important;
    row-gap:12px!important;
  }
  .games-grid .game-card{
    min-width:0!important;
    padding:7px!important;
    gap:7px!important;
  }
  .games-grid .game-card .game-card-head{
    min-width:0!important;
    padding-right:35px!important;
  }
  .games-grid .game-card .game-card-title{
    min-width:0!important;
    max-width:100%!important;
    font-size:11.5px!important;
    padding:0 7px!important;
  }
  .games-grid .game-card .game-open{
    aspect-ratio:1.03/1!important;
  }
  .games-grid .game-card .game-favorite{
    top:38px!important;
    right:11px!important;
    width:29px!important;
    height:29px!important;
  }
}
@media(max-width:340px){
  .games-grid,.games-grid.compact{column-gap:7px!important}
  .games-grid .game-card{padding:6px!important}
  .games-grid .game-card .game-card-title{font-size:10.5px!important;padding:0 6px!important}
  .games-grid .game-card .game-favorite{width:27px!important;height:27px!important;right:9px!important}
}

/* V7.12.18: Android mantiene ceros normales para respetar la fuente elegida por el dispositivo. */


/* V7.12.15 — campana visible y estados completos */
.notification-badge{right:-6px!important;top:-7px!important;min-width:21px!important;height:21px!important;padding:0 6px!important;font-size:10px!important;border-width:2px!important;box-shadow:0 0 0 2px rgba(239,51,79,.12),0 6px 18px rgba(239,51,79,.5)!important}
.notification-item.type-order_refunded{--notification-accent:#a78bfa!important}
.notification-item.type-deposit_rejected,.notification-item.type-order_rejected{--notification-accent:#ef4444!important}
.notification-item.type-deposit_approved,.notification-item.type-order_completed{--notification-accent:#22c55e!important}
.notification-item.type-admin_message,.notification-item.type-balance_adjustment,.notification-item.type-public_announcement{--notification-accent:#6f8cff!important}

/* =========================================================
   V7.12.22 — desplazamiento más fluido en teléfonos
   ========================================================= */
@media(max-width:760px){
  /* La segunda copia desenfocada de la portada y su animación continua eran
     los efectos más costosos para Safari móvil. El degradado conserva la
     misma lectura y apariencia sin mantener la GPU trabajando todo el tiempo. */
  .hero-bg::before{display:none!important}
  .hero-bg::after{
    animation:none!important;
    transform:none!important;
    will-change:auto!important;
  }
  .topbar{
    background:rgba(8,11,22,.96)!important;
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
  }
  .bottom-nav{
    background:rgba(13,17,31,.97)!important;
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
  }
  .support{
    background:rgba(11,27,24,.98)!important;
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
  }
}

@media(prefers-reduced-motion:reduce){
  .hero-bg::after,
  .island-fire,
  .notification-top-btn.push-needs-attention,
  .notification-top-btn.push-needs-attention>span,
  .phone-push-card.needs-attention,
  .phone-push-card.needs-attention .phone-push-icon{
    animation:none!important;
  }
}

/* V7.12.29 — vista informativa para juegos anunciados sin precios todavía */
.game-modal-card.game-coming-soon>label,
.game-modal-card.game-coming-soon>.modal-input,
.game-modal-card.game-coming-soon>#savedIdHint,
.game-modal-card.game-coming-soon>#serverField,
.game-modal-card.game-coming-soon>.payment-first-block,
.game-modal-card.game-coming-soon>#gameOrderError,
.game-modal-card.game-coming-soon>#continueBtn{
  display:none!important;
}
.game-modal-card.game-coming-soon>#packages{
  display:block!important;
  margin-top:22px!important;
}
.game-coming-soon-message{
  display:flex!important;
  min-height:156px!important;
  padding:30px 24px!important;
  border:1px solid rgba(111,140,255,.32)!important;
  border-radius:22px!important;
  background:linear-gradient(145deg,rgba(70,91,190,.18),rgba(123,82,255,.1))!important;
  align-items:center!important;
  justify-content:center!important;
  flex-direction:column!important;
  gap:10px!important;
  text-align:center!important;
}
.game-coming-soon-message strong{
  color:#f5f7ff!important;
  font-size:27px!important;
  line-height:1.1!important;
}
.game-coming-soon-message span{
  max-width:340px!important;
  color:#aeb7d2!important;
  font-size:14px!important;
  line-height:1.55!important;
}

/* V2.0.1 — acceso principal y visible a la solicitud privada de soporte */
.support-ticket-link{width:calc(100% - 28px);min-height:50px;margin:10px 14px 2px;padding:13px 16px;border:1px solid rgba(53,103,255,.72);border-radius:14px;background:linear-gradient(135deg,#2868e9,#6055ed);box-shadow:0 10px 24px rgba(45,91,220,.24);color:#fff;font-size:14px;font-weight:950;letter-spacing:.1px}
.support-ticket-link:hover{filter:brightness(1.07)}.support-ticket-link:focus-visible{outline:3px solid rgba(73,126,255,.3);outline-offset:2px}.support-ticket-link[hidden]{display:none}
.support-ticket-card{width:min(620px,calc(100vw - 24px));max-height:min(90dvh,820px);overflow:auto}.support-ticket-card>p{color:var(--muted);line-height:1.5}.support-ticket-card form{display:grid;gap:8px}.support-ticket-card label{margin-top:7px;color:#dce3f8;font-size:13px;font-weight:850}.support-ticket-card input,.support-ticket-card textarea{width:100%;border:1px solid rgba(130,149,205,.24);border-radius:14px;background:#090f1e;color:#f5f7ff;padding:13px 14px;font:inherit}.support-ticket-card textarea{resize:vertical;min-height:118px}
.support-ticket-history{margin-top:20px;padding-top:16px;border-top:1px solid rgba(137,151,193,.16)}.support-ticket-history>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px}.support-ticket-history>div:first-child button{border:1px solid rgba(120,142,211,.24);border-radius:10px;background:rgba(82,104,171,.1);color:#cbd5f1;padding:7px 10px;font-weight:800}
#supportTicketList{display:grid;gap:10px;margin-top:11px}.support-ticket-item{padding:13px;border:1px solid rgba(126,145,203,.2);border-radius:14px;background:rgba(8,14,28,.72)}.support-ticket-item>div:first-child{display:flex;justify-content:space-between;gap:10px;align-items:start}.support-ticket-item small,.support-ticket-empty{color:#8f9ab1}.support-ticket-item>p{margin:8px 0;white-space:pre-wrap;line-height:1.45}.support-ticket-status{flex:0 0 auto;padding:4px 7px;border-radius:999px;background:rgba(92,118,207,.14);color:#aebfff;font-size:10px;font-weight:900}.support-ticket-reply{margin-top:10px;padding:10px;border-radius:11px;background:rgba(35,134,96,.12);border:1px solid rgba(73,207,153,.2)}.support-ticket-reply strong{color:#77e2b7}.support-ticket-reply p{margin:5px 0 0;white-space:pre-wrap}.support-ticket-whatsapp{margin-top:14px}

/* V2.0.5 — personaje, agua y animación de fauna corregidos */
.support-ticket-item{transition:border-color .2s ease,box-shadow .2s ease}.support-ticket-item.notification-target{border-color:#6f86ff;box-shadow:0 0 0 3px rgba(91,114,255,.18),0 14px 32px rgba(0,0,0,.2)}
.support-ticket-title{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.support-ticket-thread{display:grid;gap:8px;margin-top:12px}.support-ticket-bubble{max-width:92%;padding:10px 11px;border-radius:13px}.support-ticket-bubble strong{display:block;margin-bottom:4px;font-size:12px}.support-ticket-bubble p{margin:0;white-space:pre-wrap;line-height:1.45}.support-ticket-bubble small{display:block;margin-top:6px;font-size:10px}.support-ticket-bubble.user{justify-self:end;background:rgba(70,92,177,.18);border:1px solid rgba(111,137,234,.2)}.support-ticket-bubble.user strong{color:#b9c7ff}.support-ticket-bubble.admin{justify-self:start;background:rgba(35,134,96,.13);border:1px solid rgba(73,207,153,.22)}.support-ticket-bubble.admin strong{color:#77e2b7}
.support-ticket-conversation-form{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px!important;margin-top:11px}.support-ticket-conversation-form textarea{min-height:58px!important;resize:vertical}.support-ticket-conversation-form button{min-height:46px;padding:10px 13px;border:0;border-radius:12px;background:linear-gradient(135deg,#2f70ed,#6558ef);color:#fff;font-weight:900}.support-ticket-conversation-form button:disabled{opacity:.65}.support-ticket-closed-copy{margin:11px 0 0!important;padding:9px 10px;border-radius:10px;background:rgba(99,111,151,.1);color:#a8b1c8;font-size:12px}
@media(max-width:520px){.support-ticket-conversation-form{grid-template-columns:1fr}.support-ticket-conversation-form button{width:100%}.support-ticket-bubble{max-width:96%}}

/* V7.12.30 — explicación visible de la compra vinculada al depósito */
.linked-recharge-card{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;margin:0 0 16px;padding:15px;border:1px solid rgba(83,221,159,.3);border-radius:16px;background:linear-gradient(135deg,rgba(28,112,82,.22),rgba(43,72,142,.17));box-shadow:0 12px 32px rgba(0,0,0,.14)}
.linked-recharge-card[hidden]{display:none}.linked-recharge-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:rgba(65,205,143,.14);font-size:22px}.linked-recharge-card strong{display:block;color:#eafff7;font-size:15px}.linked-recharge-card p{margin:6px 0;color:#d8e9e3;line-height:1.45}.linked-recharge-card small{display:block;color:#9fb5ad;line-height:1.4}.linked-recharge-card button{grid-column:1/-1;width:100%;padding:10px 12px;border:1px solid rgba(243,123,139,.25);border-radius:12px;background:rgba(149,51,70,.14);color:#ffc6cf;font-weight:850}
