:root {
  color-scheme: dark;
  --portal-viewport-height: 100vh;
  --portal-viewport-top: 0px;
  --bg: #08000f;
  --header: #0e021a;
  --panel: #160526;
  --panel-strong: #220737;
  --purple: #5428b4;
  --purple-light: #b339e2;
  --purple-hot: #9f22ff;
  --yellow: #ffbc0f;
  --text: #f4edf8;
  --muted: #a798b0;
  --line: rgba(179, 57, 226, .28);
  --green: #59d48d;
  --danger: #ff6d84;
}

@supports (height: 100dvh) {
  :root { --portal-viewport-height: 100dvh; }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -180px, rgba(110, 25, 175, .34), transparent 390px),
    linear-gradient(180deg, #090010 0, #0c0016 60%, #07000d 100%);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-text-size-adjust: 100%;
}

.platformHeader {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 64px;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 0 max(20px, calc((100vw - 1220px) / 2));
  background: rgba(9, 0, 17, .95);
  border-bottom: 1px solid rgba(179, 57, 226, .18);
  backdrop-filter: blur(16px);
}

.brand { display: inline-flex; align-items: center; gap: 9px; width: max-content; border: 0; padding: 0; color: inherit; background: transparent; text-decoration: none; font: inherit; cursor: pointer; }
.brandWordmark {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left center;
}
.platformHeader .brand { width: 146px; max-width: 146px; }
.headerBrandWordmark { width: 146px; }
.siteFooter .brand { width: 168px; max-width: 168px; }
.footerBrandWordmark { width: 168px; }
.brandMark {
  color: var(--purple-light);
  font-size: 27px;
  line-height: 1;
  filter: drop-shadow(0 0 10px rgba(179, 57, 226, .55));
}
.brandCopy { display: grid; line-height: 1; }
.brandCopy strong { text-transform: uppercase; font-size: 17px; letter-spacing: .03em; }
.brandCopy small { margin-top: 5px; color: #8d769a; font-size: 8px; letter-spacing: .18em; }

.desktopNav { display: flex; height: 100%; align-items: stretch; }
.desktopNav a, .desktopNav button {
  display: flex;
  align-items: center;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0 18px;
  color: #a696ae;
  background: transparent;
  text-decoration: none;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
.desktopNav a:hover, .desktopNav button:hover, .desktopNav .active { color: #fff; border-bottom-color: var(--purple-light); }
.appInstallBanner, .newsPanel { display: none !important; }
.headerActions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.accessButton, .installButton {
  min-width: 94px;
  height: 34px;
  border-radius: 18px;
  border: 1px solid var(--purple);
  color: #fff;
  background: linear-gradient(90deg, #5428b4, #a42ad0);
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}
.installButton { background: transparent; color: #bca9c6; }

.portalShell { width: min(1220px, calc(100% - 28px)); margin: 14px auto 0; }
.heroPlatform {
  isolation: isolate;
  position: relative;
  min-height: 390px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 52px clamp(28px, 7vw, 92px);
  border: 1px solid rgba(179, 57, 226, .34);
  border-radius: 8px;
  background:
    linear-gradient(100deg, rgba(12, 0, 22, .98) 4%, rgba(24, 3, 49, .91) 48%, rgba(49, 5, 85, .44) 100%),
    repeating-linear-gradient(120deg, transparent 0 42px, rgba(179, 57, 226, .055) 43px 44px),
    #130227;
  box-shadow: inset 0 -3px 0 rgba(255, 188, 15, .78), 0 22px 55px rgba(0, 0, 0, .34);
}
.heroPlatform::before {
  content: "♠";
  position: absolute;
  right: 9%;
  top: 50%;
  transform: translateY(-54%) rotate(-8deg);
  z-index: -1;
  color: rgba(179, 57, 226, .15);
  font-size: clamp(250px, 33vw, 430px);
  line-height: .7;
  text-shadow: 0 0 70px rgba(159, 34, 255, .35);
}
.heroGlow { position: absolute; z-index: -2; border-radius: 50%; filter: blur(55px); }
.heroGlowOne { width: 330px; height: 200px; right: 5%; top: -40px; background: rgba(126, 30, 255, .35); }
.heroGlowTwo { width: 280px; height: 200px; right: 24%; bottom: -100px; background: rgba(255, 188, 15, .12); }
.heroContent { position: relative; z-index: 2; max-width: 660px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: #d7c4df; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.eyebrow i { width: 27px; height: 2px; background: var(--yellow); }
.heroPlatform h1 { max-width: 720px; margin: 18px 0 14px; font-size: clamp(38px, 6vw, 68px); line-height: .98; letter-spacing: -.045em; text-transform: uppercase; }
.heroPlatform h1 em { color: var(--yellow); font-style: normal; }
.heroPlatform p { max-width: 540px; margin: 0; color: #c2b5c8; font-size: 16px; line-height: 1.55; }
.heroActions { display: flex; gap: 10px; margin-top: 28px; }
.heroBalance {
  width: max-content;
  min-width: 190px;
  display: grid;
  gap: 3px;
  margin-top: 18px;
  border-left: 2px solid var(--yellow);
  padding: 7px 11px;
  background: rgba(9, 0, 17, .44);
}
.heroBalance[hidden] { display: none; }
.heroBalance span { color: #a994b3; font-size: 8px; font-weight: 900; letter-spacing: .14em; }
.heroBalance strong { color: #fff; font-size: 22px; letter-spacing: -.02em; }
.heroBalance small { color: #7f7186; font-size: 8px; }
.homeBonusOffer { width: min(390px, 100%); display: grid; gap: 4px; margin-top: 10px; border: 1px solid rgba(255,198,49,.35); border-radius: 9px; padding: 12px 14px; text-align: left; color: #fff; background: linear-gradient(110deg, rgba(255,198,49,.12), rgba(129,40,191,.16)); cursor: pointer; }
.homeBonusOffer[hidden] { display: none; }
.homeBonusOffer span { color: var(--yellow); font-size: 8px; font-weight: 950; letter-spacing: .13em; }
.homeBonusOffer strong { font-size: 14px; }
.homeBonusOffer small { color: #c4b6c9; font-size: 10px; }
.homeBonusOffer b { justify-self: end; color: #e8c8f8; font-size: 8px; letter-spacing: .08em; }
.homeBonusOffer:disabled { cursor: wait; opacity: .7; }
.notificationOnboarding {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  border: 1px solid rgba(89, 212, 141, .32);
  border-radius: 9px;
  padding: 13px 15px;
  background: linear-gradient(105deg, rgba(18, 49, 42, .92), rgba(25, 6, 43, .96));
}
.notificationOnboarding[hidden] { display: none; }
.notificationBell { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(89, 212, 141, .13); font-size: 20px; }
.notificationOnboarding > div { min-width: 0; display: grid; gap: 3px; }
.notificationOnboarding small { color: var(--green); font-size: 8px; font-weight: 900; letter-spacing: .13em; }
.notificationOnboarding strong { font-size: 14px; }
.notificationOnboarding p { margin: 0; color: #b8aebd; font-size: 10px; line-height: 1.4; }
.notificationOnboarding button {
  min-width: 95px;
  height: 36px;
  border: 0;
  border-radius: 18px;
  padding: 0 14px;
  color: #07150f;
  background: var(--green);
  font-size: 9px;
  font-weight: 950;
  cursor: pointer;
}
.notificationOnboarding button:disabled { cursor: wait; opacity: .65; }
.playButton, .supportButton {
  height: 48px;
  border-radius: 6px;
  padding: 0 18px;
  border: 1px solid rgba(179, 57, 226, .52);
  color: #fff;
  background: rgba(29, 6, 48, .88);
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}
.playButton { min-width: 205px; display: flex; align-items: center; justify-content: space-between; border: 0; background: linear-gradient(90deg, #5e2ac1, #b62bd5); box-shadow: 0 10px 28px rgba(128, 32, 198, .27); }
.playButton b { color: var(--yellow); font-size: 24px; }
.playButton:hover, .accessButton:hover { filter: brightness(1.12); }
.statusDot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.heroBadge { position: absolute; right: 7%; bottom: 34px; display: grid; grid-template-columns: auto auto; align-items: end; color: rgba(255,255,255,.82); }
.heroBadge span { font-size: 54px; font-weight: 900; line-height: .8; }
.heroBadge b { color: var(--yellow); font-size: 22px; }
.heroBadge small { grid-column: 1 / -1; margin-top: 8px; text-align: center; color: #a88db5; font-size: 9px; letter-spacing: .3em; }

.quickAccess { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.quickCard {
  min-height: 86px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(179, 57, 226, .32);
  border-radius: 7px;
  padding: 13px 16px;
  color: #fff;
  background: linear-gradient(115deg, rgba(31, 7, 58, .94), rgba(50, 5, 72, .78));
  text-align: left;
  cursor: pointer;
}
.quickCard.featured { border-color: rgba(255, 188, 15, .48); }
.quickCard:hover { border-color: var(--purple-light); background: linear-gradient(115deg, #2b0b4b, #45085d); }
.quickIcon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: var(--yellow); background: rgba(179, 57, 226, .13); font-size: 23px; }
.quickCard > span:nth-child(2) { display: grid; gap: 5px; }
.quickCard small { color: #947f9e; font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.quickCard strong { font-size: 15px; }
.quickCard > b { padding: 8px 11px; border-radius: 14px; background: #5428b4; color: #f7eaff; font-size: 8px; }

.appInstallBanner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
  border: 1px solid rgba(255,188,15,.3);
  border-radius: 8px;
  padding: 15px 48px 15px 16px;
  background: linear-gradient(105deg, rgba(42,10,70,.96), rgba(20,4,34,.96));
}
.appInstallBanner[hidden] { display: none; }
.appInstallIcon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; color: var(--yellow); background: rgba(179,57,226,.18); font-size: 25px; }
.appInstallBanner > div { display: grid; gap: 4px; }
.appInstallBanner small { color: var(--yellow); font-size: 8px; font-weight: 900; letter-spacing: .13em; }
.appInstallBanner strong { font-size: 15px; }
.appInstallBanner p { margin: 0; color: #a998b0; font-size: 11px; line-height: 1.35; }
.appInstallBanner > button:not(.dismissInstallPortal) { min-width: 112px; height: 36px; border: 0; border-radius: 18px; color: #fff; background: linear-gradient(90deg, #5e2ac1, #b62bd5); font-size: 9px; font-weight: 900; cursor: pointer; }
.dismissInstallPortal { position: absolute; top: 7px; right: 8px; width: 28px; height: 28px; border: 0; color: #8d7d94; background: transparent; font-size: 20px; cursor: pointer; }

.newsPanel { padding: 58px 0 25px; }
.newsHeading span { color: var(--purple-light); font-size: 9px; font-weight: 900; letter-spacing: .15em; }
.newsHeading h2 { margin: 8px 0 19px; font-size: clamp(22px, 4vw, 34px); }
.announcement {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 90px;
  padding: 16px 18px;
  border: 1px solid rgba(179, 57, 226, .24);
  border-left: 3px solid var(--yellow);
  border-radius: 5px;
  background: rgba(31, 7, 58, .66);
}
.announcementIcon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 5px; background: rgba(84, 40, 180, .24); font-size: 22px; }
.announcement small { color: var(--yellow); font-size: 8px; font-weight: 900; letter-spacing: .15em; }
.announcement p { margin: 6px 0 0; color: #c7bacd; font-size: 13px; }
.announcement button, .supportStrip button { border: 1px solid var(--purple); border-radius: 4px; padding: 10px 14px; color: #fff; background: #5428b4; font-size: 9px; font-weight: 900; cursor: pointer; }

.supportStrip { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 12px 0 60px; padding: 16px 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.liveBadge { display: flex; align-items: center; gap: 9px; min-width: 0; color: #c9bdcf; font-size: 11px; }
.liveBadge i, .supportDrawer header small i { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.liveBadge b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.liveBadge.offline i { background: #817387; box-shadow: none; }
.liveBadge.busy i { background: var(--yellow); box-shadow: 0 0 8px var(--yellow); }
.supportStrip button { min-width: 132px; background: transparent; }
.supportStrip button span { color: var(--yellow); margin-left: 8px; font-size: 17px; }

.siteFooter { min-height: 95px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px max(20px, calc((100vw - 1220px) / 2)); border-top: 1px solid rgba(179, 57, 226, .16); background: #08000e; }
.brand.compact .brandMark { font-size: 22px; }
.brand.compact .brandCopy strong { font-size: 13px; }
.siteFooter p { color: #716579; font-size: 10px; }
.mobileNav { display: none; }

.supportLauncher {
  position: fixed;
  z-index: 39;
  right: 22px;
  bottom: 22px;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #6d28d9, #b21ad2);
  box-shadow: 0 16px 38px rgba(79, 12, 126, .5), 0 0 0 5px rgba(179, 57, 226, .12);
  cursor: pointer;
  transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease;
}
.supportLauncher:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 20px 44px rgba(79, 12, 126, .58), 0 0 0 6px rgba(179, 57, 226, .14); }
.supportLauncher svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.supportLauncherStatus { position: absolute; top: 2px; right: 3px; width: 13px; height: 13px; border: 3px solid #761eb2; border-radius: 50%; background: #43d98c; box-shadow: 0 0 10px rgba(67, 217, 140, .8); }
body.support-open .supportLauncher { opacity: 0; pointer-events: none; transform: translateY(12px) scale(.88); }

.chatBackdrop { position: fixed; inset: 0; z-index: 40; background: rgba(4, 0, 8, .62); backdrop-filter: blur(3px); }
.supportDrawer {
  position: fixed;
  z-index: 41;
  right: 16px;
  bottom: 16px;
  width: min(480px, calc(100vw - 24px));
  height: min(720px, calc(100vh - 32px));
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid rgba(85, 38, 109, .2);
  border-radius: 22px;
  color: #2f1a39;
  background: #f7f4f9;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .58), 0 0 32px rgba(139, 0, 201, .12);
  transform: translateY(24px) scale(.98);
  opacity: 0;
  pointer-events: none;
  transition: .18s ease;
}
.supportDrawer.open { transform: none; opacity: 1; pointer-events: auto; }
.supportDrawer > header { height: 74px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid #e4dae8; background: #fff; }
.supportDrawer > header > div { display: flex; align-items: center; gap: 10px; }
.drawerAvatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #6d28d9, #b21ad2); font-size: 20px; box-shadow: 0 8px 20px rgba(106, 33, 166, .25); }
.supportDrawer header strong { display: block; color: #2f1a39; font-size: 14px; }
.supportDrawer header small { display: flex; align-items: center; gap: 6px; margin-top: 4px; color: #75637d; font-size: 10px; }
.supportHeaderActions { display: flex; align-items: center; gap: 7px; }
.supportHeaderActions > button { width: 40px; height: 40px; border: 0; border-radius: 50%; color: #604d69; background: #f3edf5; font-size: 25px; cursor: pointer; }
.supportWhatsapp { width: 42px; min-width: 42px; height: 40px; display: grid; place-items: center; border-radius: 20px; color: #fff; background: #1fa86a; text-decoration: none; box-shadow: 0 7px 18px rgba(31,168,106,.24); }
.supportWhatsapp svg { width: 23px; height: 23px; fill: currentColor; }
.supportWhatsapp:hover { background: #24bd78; transform: translateY(-1px); }
.dialogAndroidDownload { min-height: 48px; display: grid; place-items: center; margin: 15px 0 8px; border-radius: 12px; color: #fff; background: linear-gradient(90deg, #6d31c8, #ba2fd7); font-size: 11px; font-weight: 950; letter-spacing: .035em; text-decoration: none; box-shadow: 0 12px 25px rgba(130,38,190,.25); }
.dialogAndroidDownload[hidden] { display: none; }
.chatWelcome { overflow: auto; padding: 34px 30px; }
.welcomeIcon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; color: var(--yellow); background: rgba(84, 40, 180, .35); font-size: 18px; }
.chatWelcome h2 { margin: 21px 0 10px; font-size: 27px; line-height: 1.16; }
.chatWelcome > p { max-width: 370px; margin: 0; color: #75637d; font-size: 15px; line-height: 1.55; }
.chatWelcome form { display: grid; gap: 16px; margin-top: 28px; }
.chatWelcome label { display: grid; gap: 9px; color: #4d3856; font-size: 13px; font-weight: 800; }
.chatWelcome input { width: 100%; height: 54px; outline: 0; border: 1px solid #dfd2e5; border-radius: 11px; padding: 0 15px; color: #2f1a39; background: #fff; font-size: 16px; }
.chatWelcome input:focus, .chatComposer textarea:focus { border-color: var(--purple-light); }
.chatWelcome form > button { height: 54px; display: flex; align-items: center; justify-content: space-between; border: 0; border-radius: 11px; padding: 0 17px; color: #fff; background: linear-gradient(90deg, #5428b4, #a42ad0); font-size: 13px; font-weight: 900; cursor: pointer; }
.chatWelcome form > button span { color: var(--yellow); font-size: 19px; }
.formError { min-height: 15px; color: var(--danger); font-size: 10px; }
.chatConversation { min-height: 0; display: grid; grid-template-rows: 1fr auto auto; background: linear-gradient(180deg, #fbf9fc, #f2edf5); }
.chatMessages { overflow: auto; display: flex; flex-direction: column; gap: 10px; padding: 18px 16px; }
.supportGreeting { align-self: stretch; display: flex; align-items: flex-end; gap: 9px; margin-bottom: 8px; }
.supportGreetingAvatar { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #6d28d9, #b21ad2); box-shadow: 0 7px 16px rgba(88, 26, 138, .22); }
.supportGreeting > div { max-width: calc(100% - 52px); border-radius: 15px 15px 15px 4px; padding: 12px 13px 10px; color: #fff; background: linear-gradient(135deg, #5d26c7, #a30fc9); box-shadow: 0 9px 22px rgba(87, 28, 132, .2); }
.supportGreeting strong { display: block; margin-bottom: 7px; font-size: 11px; }
.supportGreeting p { margin: 0; font-size: 14px; line-height: 1.5; }
.supportGreeting small { display: block; margin-top: 7px; color: rgba(255,255,255,.67); font-size: 9px; text-align: right; }
.message { align-self: flex-start; max-width: 84%; padding: 10px 12px 8px; border: 1px solid #e2d9e6; border-radius: 13px 13px 13px 4px; color: #2f1a39; background: #fff; box-shadow: 0 4px 14px rgba(42, 18, 53, .06); }
.message.outbound { align-self: flex-end; border-color: transparent; border-radius: 13px 13px 4px 13px; color: #fff; background: linear-gradient(135deg, #6425c8, #982bc1); }
.message.system { align-self: center; border: 0; box-shadow: none; color: #887691; background: transparent; font-size: 9px; }
.message strong { display: block; margin-bottom: 4px; color: #744286; font-size: 9px; }
.message.outbound strong { color: #f2dcff; }
.message p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.45; }
.message footer { display: flex; justify-content: flex-end; margin-top: 5px; color: #9989a0; font-size: 9px; }
.message.outbound footer { color: rgba(255,255,255,.65); }
.typingNotice { padding: 0 16px 6px; color: #807087; font-size: 10px; }
.chatComposer { min-height: 68px; display: flex; align-items: flex-end; gap: 8px; padding: 10px; border-top: 1px solid #e0d5e5; background: #fff; }
.chatComposer textarea { min-width: 0; flex: 1; min-height: 44px; max-height: 105px; resize: none; outline: 0; border: 1px solid #ded2e3; border-radius: 13px; padding: 11px 13px; color: #2f1a39; background: #f8f5f9; font-size: 14px; }
.chatComposer textarea::placeholder { color: #9b8aa2; }
.chatComposer button { width: 46px; height: 44px; border: 0; border-radius: 13px; color: #fff; background: linear-gradient(135deg, #6425c8, #b023d0); box-shadow: 0 7px 18px rgba(105, 36, 157, .26); cursor: pointer; }

.ageDialog { width: min(300px, calc(100vw - 32px)); border: 1px solid rgba(179, 57, 226, .5); border-radius: 13px; padding: 22px 26px 20px; color: #fff; background: #220737; text-align: center; box-shadow: 0 15px 50px #000, 0 0 24px rgba(179, 57, 226, .5); }
.ageDialog::backdrop { background: rgba(3, 0, 6, .76); backdrop-filter: blur(2px); }
.ageDialog h2 { margin: 0 0 24px; font-size: 18px; }
.ageDialog p { margin: 0 0 22px; font-size: 12px; }
.ageDialog p strong { color: var(--yellow); }
.ageActions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.ageDialog button { height: 30px; border: 0; border-radius: 16px; color: #fff; background: linear-gradient(90deg, #5f2ac4, #b82bd8); font-size: 9px; font-weight: 900; cursor: pointer; }
.ageDialog button.quiet { border: 1px solid var(--purple); background: transparent; }
.portalToast { position: fixed; z-index: 80; left: 50%; bottom: 22px; transform: translateX(-50%); border: 1px solid var(--line); border-radius: 5px; padding: 10px 14px; color: #fff; background: #2a0b40; font-size: 11px; font-weight: 700; box-shadow: 0 12px 40px #000; }
.portalToast[hidden] { display: none !important; }
.portalUpdate {
  position: fixed;
  z-index: 82;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255,188,15,.34);
  border-radius: 9px;
  padding: 11px 12px;
  color: #efe6f3;
  background: #1c082b;
  box-shadow: 0 18px 50px rgba(0,0,0,.65);
  font-size: 10px;
}
.portalUpdate[hidden] { display: none; }
.portalUpdate span { min-width: 0; flex: 1 1 auto; }
.portalUpdate button { border: 0; border-radius: 14px; padding: 7px 10px; color: #160526; background: var(--yellow); font-size: 8px; font-weight: 900; cursor: pointer; }

.transactionDialog {
  width: min(560px, calc(100vw - 28px));
  max-height: min(760px, calc(100dvh - 28px));
  overflow: hidden;
  border: 1px solid rgba(179, 57, 226, .48);
  border-radius: 12px;
  padding: 0;
  color: var(--text);
  background: #11031d;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .75), 0 0 45px rgba(126, 30, 255, .16);
}
.transactionDialog::backdrop { background: rgba(4, 0, 8, .82); backdrop-filter: blur(4px); }
.transactionDialog form { display: grid; grid-template-rows: auto minmax(0, 1fr); max-height: inherit; }
.transactionDialog header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 19px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(100deg, #210735, #160524);
}
.transactionDialog header span { color: var(--yellow); font-size: 8px; font-weight: 900; letter-spacing: .16em; }
.transactionDialog header h2 { margin: 5px 0 0; font-size: 21px; }
.transactionDialog header > div { min-width: 0; }
#transactionSubtitle {
  margin: 3px 0 0;
  overflow: hidden;
  color: #b8a9be;
  font-size: 10px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.transactionDialog header button { border: 0; color: #c9b9ce; background: transparent; font-size: 27px; cursor: pointer; }
.transactionBody { overflow: auto; display: grid; align-content: start; gap: 14px; padding: 19px; }
.transactionBody label { display: grid; gap: 7px; color: #d0c2d5; font-size: 10px; font-weight: 800; }
.transactionBody label small { color: #807286; font-weight: 400; }
.transactionBody input, .transactionBody textarea {
  width: 100%;
  border: 1px solid rgba(179, 57, 226, .28);
  border-radius: 6px;
  outline: 0;
  padding: 12px;
  color: #fff;
  background: #09010f;
}
.transactionBody input:focus, .transactionBody textarea:focus { border-color: var(--purple-light); box-shadow: 0 0 0 3px rgba(179, 57, 226, .08); }
.transactionBody textarea { resize: vertical; }
.transactionIdentity[hidden], .transactionFields[hidden] { display: none; }
.moneyInput { display: grid; grid-template-columns: 42px 1fr; align-items: center; overflow: hidden; border: 1px solid rgba(179, 57, 226, .28); border-radius: 6px; background: #09010f; }
.moneyInput:focus-within { border-color: var(--purple-light); box-shadow: 0 0 0 3px rgba(179, 57, 226, .08); }
.moneyInput span { display: grid; place-items: center; align-self: stretch; color: var(--yellow); background: rgba(84, 40, 180, .2); font-size: 16px; font-weight: 900; }
.moneyInput input { border: 0; box-shadow: none !important; }
.transactionFields { display: grid; gap: 14px; }
.transactionHint { border-left: 2px solid var(--yellow); padding: 8px 10px; color: #a99aae; background: rgba(255, 188, 15, .05); font-size: 10px; line-height: 1.45; }
.transactionSubmit { height: 46px; border: 0; border-radius: 6px; color: #fff; background: linear-gradient(90deg, #5e2ac1, #b62bd5); font-size: 10px; font-weight: 900; cursor: pointer; }
.transactionSubmit:disabled { opacity: .55; cursor: wait; }
.activeRequestSection {
  display: grid;
  gap: 11px;
  margin-top: 5px;
  border: 1px solid rgba(255, 168, 54, .34);
  border-radius: 12px;
  padding: 13px;
  background: linear-gradient(145deg, rgba(255, 139, 34, .09), rgba(72, 24, 78, .18));
}
.activeRequestSection[hidden] { display: none; }
.requestSectionHeading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.requestSectionHeading span { color: #ffb253; font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.requestSectionHeading small { color: #a895ae; font-size: 9px; text-align: right; }
.requestHistory { display: grid; gap: 10px; margin-top: 5px; padding-top: 18px; border-top: 1px solid var(--line); }
.requestHistory > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.requestHistory > div:first-child span { color: #c3aecb; font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.requestHistory > div:first-child button { border: 0; color: #bca8c4; background: transparent; font-size: 9px; cursor: pointer; }
.requestList { display: grid; gap: 9px; }
.requestList > p { margin: 5px 0; color: #847789; font-size: 11px; }
.requestItem {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 7px 11px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 10px;
  padding: 12px 13px 12px 16px;
  background: rgba(255,255,255,.035);
}
.requestItem::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: #ff9e3d; }
.requestItem.completed::before, .requestItem.approved::before { background: var(--green); }
.requestItem.rejected::before { background: var(--danger); }
.requestItem.cancelled::before { background: #766a7c; }
.requestItem.processing::before, .requestItem.matched::before { background: #59a9ff; }
.requestType { grid-row: 1 / 3; border-radius: 6px; padding: 6px 8px; color: #f0dcf7; background: rgba(111,47,202,.3); font-size: 8px; font-weight: 900; letter-spacing: .04em; }
.requestMain { min-width: 0; display: grid; gap: 4px; }
.requestMain strong { color: #fff; font-size: 15px; }
.requestMain small { overflow: hidden; color: #a99bad; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.requestStatus {
  justify-self: end;
  border: 1px solid rgba(255,158,61,.3);
  border-radius: 999px;
  padding: 5px 8px;
  color: #ffb45f;
  background: rgba(255,139,34,.09);
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}
.requestItem.completed .requestStatus, .requestItem.approved .requestStatus { border-color: rgba(54,214,132,.28); color: #62e5a2; background: rgba(54,214,132,.08); }
.requestItem.rejected .requestStatus { border-color: rgba(255,91,116,.32); color: #ff8b9d; background: rgba(255,91,116,.08); }
.requestItem.cancelled .requestStatus { border-color: rgba(151,136,160,.25); color: #aaa0ae; background: rgba(151,136,160,.07); }
.requestItem.processing .requestStatus, .requestItem.matched .requestStatus { border-color: rgba(89,169,255,.3); color: #8cc6ff; background: rgba(89,169,255,.08); }
.requestItem time { grid-column: 2 / 4; display: flex; align-items: center; gap: 6px; color: #a99bad; font-size: 9px; }
.requestItem time span { color: #746a79; font-size: 7px; font-weight: 900; letter-spacing: .08em; }
.requestItem time b { color: #d7cbdc; font-size: 10px; }
.activeRequestList .requestItem { border-color: rgba(255,168,54,.25); background: rgba(21,4,29,.5); }

@media (max-width: 820px) {
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .platformHeader { height: calc(58px + env(safe-area-inset-top)); grid-template-columns: 1fr auto; padding: env(safe-area-inset-top) max(15px, env(safe-area-inset-right)) 0 max(15px, env(safe-area-inset-left)); }
  .desktopNav { display: none; }
  .headerActions { gap: 6px; }
  .accessButton, .installButton { min-width: 76px; height: 31px; }
  .portalShell { width: calc(100% - 16px); margin-top: 8px; }
  .heroPlatform { min-height: 360px; padding: 42px 25px; }
  .heroPlatform::before { right: -8%; font-size: 300px; }
  .heroContent { max-width: 570px; }
  .heroBadge { display: none; }
  .quickAccess { grid-template-columns: 1fr; }
  .quickCard { min-height: 74px; }
  .newsPanel { padding-top: 40px; }
  .siteFooter { padding: 20px 16px; }
  .mobileNav { position: fixed; z-index: 19; left: 0; right: 0; bottom: 0; height: calc(58px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5, 1fr); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--line); background: rgba(13, 1, 23, .97); backdrop-filter: blur(12px); }
  .mobileNav a, .mobileNav button { display: grid; place-items: center; align-content: center; gap: 3px; border: 0; color: #aa99b1; background: transparent; text-decoration: none; font-size: 9px; font-weight: 700; cursor: pointer; }
  .mobileNav span { color: var(--purple-light); font-size: 17px; }
}

@media (max-width: 520px) {
  .brandCopy strong { max-width: 118px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
  .brandCopy small { display: none; }
  .brandMark { font-size: 23px; }
  .installButton { display: none !important; }
  .heroPlatform { min-height: 405px; align-items: flex-end; padding: 35px 20px 42px; }
  .heroPlatform::before { top: 29%; right: -24%; font-size: 270px; }
  .heroPlatform h1 { font-size: 39px; }
  .heroPlatform p { max-width: 330px; font-size: 14px; }
  .heroActions { display: grid; }
  .playButton, .supportButton { width: 100%; }
  .notificationOnboarding { grid-template-columns: auto 1fr; padding: 13px; }
  .notificationOnboarding button { grid-column: 1 / -1; width: 100%; }
  .appInstallBanner { grid-template-columns: auto 1fr; padding: 14px 42px 14px 14px; }
  .appInstallBanner > button:not(.dismissInstallPortal) { grid-column: 1 / -1; width: 100%; }
  .announcement { grid-template-columns: auto 1fr; }
  .announcement button { grid-column: 2; justify-self: start; }
  .supportStrip { align-items: flex-start; flex-direction: column; }
  .supportStrip button { width: 100%; }
  .siteFooter { align-items: flex-start; flex-direction: column; }
  .siteFooter p { margin: 0; }
  .supportDrawer { right: 0; bottom: 0; width: 100vw; height: 100dvh; padding-bottom: env(safe-area-inset-bottom); border: 0; border-radius: 0; }
  .transactionDialog { width: 100vw; max-width: none; height: 100dvh; max-height: none; border: 0; border-radius: 0; }
  .transactionBody { padding-bottom: max(19px, env(safe-area-inset-bottom)); }
  .portalUpdate { left: 10px; right: 10px; bottom: calc(68px + env(safe-area-inset-bottom)); justify-content: space-between; }
}

/* En móvil el acceso a soporte ya está fijo en la barra inferior y en Inicio. */
@media (max-width: 820px) {
  .supportLauncher { display: none; }
}

.depositAccountCard {
  display: grid;
  gap: 9px;
  border: 1px solid rgba(196, 113, 255, .32);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(126, 38, 183, .18), rgba(35, 8, 54, .72));
  padding: 15px;
}

.depositAccountCard small {
  color: #d4a8ef;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .11em;
}

.depositAccountCard strong { color: #fff; font-size: 16px; }
.depositAccountCard > span { color: #d8c9df; font-size: 13px; }
.depositAccountCard button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 43px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: rgba(0,0,0,.24);
  color: #fff;
  padding: 0 12px;
  cursor: pointer;
}
.depositAccountCard button[hidden] { display: none; }
.depositAccountCard button b { overflow-wrap: anywhere; text-align: left; }
.depositAccountCard button em { color: #d7a0f7; font-size: 11px; font-style: normal; font-weight: 800; white-space: nowrap; }
.depositAccountCard p { margin: 0; color: #ffb9c1; }

.requestItem footer {
  display: flex;
  gap: 7px;
  grid-column: 1 / -1;
  justify-content: flex-end;
}
.requestItem footer button {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  color: #e9dff0;
  padding: 7px 10px;
  cursor: pointer;
}

.portalAuthDialog {
  width: min(440px, calc(100vw - 28px));
  max-height: calc(100dvh - 28px);
  overflow: auto;
  border: 1px solid rgba(190, 93, 242, .34);
  border-radius: 18px;
  padding: 0;
  color: var(--text);
  background: transparent;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .72), 0 0 60px rgba(116, 34, 178, .18);
}
.portalAuthDialog::backdrop {
  background: rgba(4, 0, 9, .88);
  backdrop-filter: blur(10px);
}
.portalAuthCard {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 28px;
  background:
    radial-gradient(circle at 100% 0, rgba(149, 44, 213, .18), transparent 240px),
    linear-gradient(155deg, #180727, #0d0215 72%);
}
.authBrand { display: flex; align-items: center; gap: 11px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
.authBrandWordmark { width: 204px; max-width: min(204px, 72vw); }
.authBrand > span { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(145deg, #6b30c9, #bd34d5); font-size: 22px; }
.authBrand > div { display: grid; gap: 3px; }
.authBrand strong { font-size: 18px; text-transform: uppercase; }
.authBrand small, .authHeading > span { color: #c58ee5; font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.authHeading { display: grid; gap: 7px; }
.authHeading h1, .authHeading h2 { margin: 0; font-size: 28px; letter-spacing: -.03em; }
.authHeading p { margin: 0; color: #aa9aae; font-size: 13px; line-height: 1.5; }
.portalAuthCard > label { display: grid; gap: 7px; color: #cabdd0; font-size: 11px; font-weight: 800; }
.portalAuthCard input {
  width: 100%;
  height: 46px;
  border: 1px solid rgba(190, 93, 242, .25);
  border-radius: 10px;
  outline: 0;
  padding: 0 13px;
  color: #fff;
  background: rgba(4, 0, 9, .55);
}
.portalAuthCard input:focus { border-color: #bd48e4; box-shadow: 0 0 0 3px rgba(179,57,226,.1); }
.passwordField { position: relative; }
.passwordField input { padding-right: 58px; }
.passwordField button { position: absolute; top: 5px; right: 5px; bottom: 5px; border: 0; border-radius: 7px; padding: 0 10px; color: #c9a8db; background: rgba(255,255,255,.06); font-size: 9px; font-weight: 900; cursor: pointer; }
.authSubmit { height: 48px; border: 0; border-radius: 10px; color: #fff; background: linear-gradient(90deg, #6330c1, #b52ed1); font-size: 11px; font-weight: 900; letter-spacing: .06em; cursor: pointer; }
.authSubmit:disabled { opacity: .58; cursor: wait; }
.authSecondary { height: 44px; border: 1px solid rgba(190,93,242,.28); border-radius: 10px; color: #e0c9eb; background: rgba(255,255,255,.035); font-size: 10px; font-weight: 900; letter-spacing: .05em; cursor: pointer; }
.authSecondary:hover { border-color: rgba(190,93,242,.55); background: rgba(190,93,242,.08); }
.googleAuthSection { display: grid; gap: 10px; }
.authDivider { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; color: #89798f; font-size: 10px; }
.authDivider::before, .authDivider::after { content: ""; height: 1px; background: rgba(255,255,255,.1); }
.googleButtonHost { display: flex; min-height: 42px; align-items: center; justify-content: center; overflow: hidden; }
.googleButtonHost > div { max-width: 100%; }
.googleAuthStatus { min-height: 0; margin: 0; color: #b9a9c0; font-size: 10px; line-height: 1.4; text-align: center; }
.googleAuthStatus:empty { display: none; }
.googleLinkConfirmActions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.signupGoogleIdentity { display: grid; grid-template-columns: 1fr auto; gap: 3px 10px; align-items: center; border: 1px solid rgba(84, 213, 145, .24); border-radius: 11px; padding: 10px 12px; background: rgba(43, 156, 94, .09); }
.signupGoogleIdentity > strong { color: #85e6b1; font-size: 11px; }
.signupGoogleIdentity > span { grid-column: 1; overflow: hidden; color: #c5b9c9; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.signupGoogleIdentity > button { grid-column: 2; grid-row: 1 / 3; }
.authSupportActions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 8px;
}
.authSupportActions button {
  min-height: 38px;
  border: 0;
  border-radius: 9px;
  padding: 7px 9px;
  color: #d6bce3;
  background: rgba(255,255,255,.045);
  font-size: 9px;
  font-weight: 900;
  line-height: 1.25;
  cursor: pointer;
}
.authSupportActions button:hover,
.authSupportActions button:focus-visible {
  outline: 0;
  color: #fff;
  background: rgba(179,57,226,.14);
}
.authSupportActions #openGuestSupport {
  border: 1px solid rgba(89,212,141,.28);
  color: #a9ecc7;
}
.signupFields { display: grid; gap: 13px; }
.signupFields[hidden] { display: none; }
.signupFields > label { display: grid; gap: 7px; color: #cabdd0; font-size: 11px; font-weight: 800; }
.signupTurnstile {
  display: flex;
  min-height: 65px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.signupTurnstile[hidden] { display: none; }
.signupTurnstile > div { max-width: 100%; }
.signupCodeHint { margin: 0; color: #bbaabd; font-size: 11px; line-height: 1.45; }
.signupCreationStatus {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(189, 72, 228, .25);
  border-radius: 12px;
  padding: 11px 12px;
  background: rgba(103, 38, 130, .12);
}
.signupCreationStatus[hidden] { display: none; }
.signupCreationStatus strong { display: block; color: var(--text, #fff); font-size: 12px; }
.signupCreationStatus p { margin: 3px 0 0; color: #bbaabd; font-size: 10px; line-height: 1.4; }
.signupCreationStatus .authTextButton { margin-top: 8px; }
.signupCreationSpinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,.2);
  border-top-color: #c04cf0;
  border-radius: 50%;
  animation: signupCreationSpin .8s linear infinite;
}
.signupCreationStatus[data-terminal="true"] .signupCreationSpinner {
  border: 0;
  animation: none;
}
.signupCreationStatus[data-terminal="true"] .signupCreationSpinner::before {
  content: "✓";
  color: #66dfaa;
  font-size: 20px;
  font-weight: 900;
}
.signupCreationStatus[data-terminal="paused"] .signupCreationSpinner {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 204, 54, .45);
  color: #ffe17a;
  animation: none;
}
.signupCreationStatus[data-terminal="paused"] .signupCreationSpinner::before {
  content: "!";
  font-size: 13px;
  font-weight: 900;
}
@keyframes signupCreationSpin { to { transform: rotate(360deg); } }
.recoveryProgress {
  display: grid;
  justify-items: center;
  gap: 9px;
  border: 1px solid rgba(190,93,242,.25);
  border-radius: 12px;
  padding: 20px 14px;
  text-align: center;
  background: rgba(190,93,242,.06);
}
.recoveryProgress[hidden] { display: none; }
.recoveryProgress strong { font-size: 15px; }
.recoveryProgress p { margin: 0; color: #aa9aae; font-size: 11px; line-height: 1.45; }
.recoveryProgress.completed { border-color: rgba(89,212,141,.38); background: rgba(89,212,141,.08); }
.recoverySpinner {
  width: 29px;
  height: 29px;
  border: 3px solid rgba(255,255,255,.13);
  border-top-color: #c85df0;
  border-radius: 50%;
  animation: recoverySpin .8s linear infinite;
}
.recoveryProgress.completed .recoverySpinner {
  display: grid;
  place-items: center;
  border: 0;
  color: #59d48d;
  animation: none;
}
.recoveryProgress.completed .recoverySpinner::before { content: "✓"; font-size: 29px; font-weight: 900; }
@keyframes recoverySpin { to { transform: rotate(360deg); } }
.authTextButton { justify-self: start; border: 0; padding: 4px 0; color: #cf8bf0; background: transparent; font-size: 9px; font-weight: 900; cursor: pointer; }
.authHelp { margin: -2px 0 0; color: #776b7e; font-size: 10px; line-height: 1.45; text-align: center; }
.authClose { position: absolute; z-index: 2; top: 16px; right: 16px; width: 32px; height: 32px; border: 0; border-radius: 50%; color: #b9aabe; background: rgba(255,255,255,.06); font-size: 21px; cursor: pointer; }
.portalAuthDialog.compact .portalAuthCard { padding-top: 42px; }

.portalAccount { position: relative; }
.portalAccount > button {
  display: flex;
  height: 34px;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(179,57,226,.24);
  border-radius: 18px;
  padding: 3px 10px 3px 4px;
  color: #e9dff0;
  background: rgba(255,255,255,.04);
  cursor: pointer;
}
.portalAccount > button span { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #6530b9, #b12ec9); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.portalAccount > button b { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.portalAccount > button em { color: var(--yellow); font-size: 9px; font-style: normal; font-weight: 900; }
.portalAccount > button i { color: #8f7d98; font-size: 10px; font-style: normal; }
.portalAccountMenu {
  position: absolute;
  z-index: 60;
  top: calc(100% + 9px);
  right: 0;
  width: 215px;
  display: grid;
  gap: 4px;
  border: 1px solid rgba(179,57,226,.24);
  border-radius: 12px;
  padding: 13px;
  background: #160722;
  box-shadow: 0 18px 45px rgba(0,0,0,.55);
}
.portalAccountMenu[hidden] { display: none; }
.portalAccountMenu strong { font-size: 13px; overflow-wrap: anywhere; }
.portalAccountMenu small { margin-bottom: 8px; color: #85768d; font-size: 9px; }
.portalAccountMenu button { border: 0; border-radius: 8px; padding: 10px; color: #d8cbdc; background: rgba(255,255,255,.05); text-align: left; font-size: 10px; font-weight: 800; cursor: pointer; }
.portalAccountMenu button:hover { background: rgba(179,57,226,.15); }
.portalAccountMenu button.danger { color: #ff98a8; }
.accountBalance {
  display: grid;
  gap: 4px;
  margin: 1px 0 8px;
  border: 1px solid rgba(255,188,15,.2);
  border-radius: 9px;
  padding: 10px;
  background: rgba(255,188,15,.045);
}
.accountBalance > div { display: flex; align-items: center; justify-content: space-between; }
.accountBalance > div span { color: #a897b0; font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.portalAccountMenu .accountBalance button {
  width: auto;
  min-width: 78px;
  height: 28px;
  border: 0;
  border-radius: 14px;
  padding: 0 9px;
  color: var(--yellow);
  background: rgba(255,255,255,.06);
  text-align: center;
  font-size: 8px;
  white-space: nowrap;
}
.accountBalance > strong { color: #fff; font-size: 20px; }
.accountBalance > small { margin: 0; color: #b79ac3; font-size: 9px; }
.accountBalance > time { color: #6f6374; font-size: 8px; }

.homePendingRequest {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 12px;
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,188,15,.28);
  border-radius: 10px;
  padding: 11px 13px 11px 16px;
  color: #fff;
  background: rgba(39, 13, 48, .88);
  text-align: left;
  cursor: pointer;
}
.homePendingRequest[hidden] { display: none; }
.homePendingRequest::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--yellow); }
.homePendingRequest span { color: var(--yellow); font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.homePendingRequest strong { grid-column: 1; font-size: 14px; }
.homePendingRequest small { grid-column: 1; color: #aa9bae; font-size: 9px; }
.homePendingRequest b { grid-column: 2; grid-row: 1 / 4; align-self: center; color: #eadbf0; font-size: 9px; }

.withdrawalBalanceCard {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(255,188,15,.28);
  border-radius: 12px;
  padding: 14px;
  background: rgba(255,188,15,.07);
}
.withdrawalBalanceCard span { color: #d7bd73; font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.withdrawalBalanceCard strong { color: #fff; font-size: 26px; }
.withdrawalBalanceCard small { color: #a99aae; font-size: 11px; }
.withdrawalBalanceCard.insufficient { border-color: rgba(255,109,132,.4); background: rgba(255,109,132,.07); }
.withdrawalBalanceCard.insufficient strong { color: #ffb4c0; }
.withdrawalBalanceValue {
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 7px 11px;
}
.withdrawalBalanceValue > strong {
  min-width: 0;
  color: #fff;
  font-size: 26px;
  line-height: 1.08;
}
.withdrawalBalanceStatus {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 204, 54, .3);
  border-radius: 999px;
  margin-left: auto;
  padding: 6px 9px;
  color: #ffe17a !important;
  background: rgba(255, 204, 54, .09);
  font-size: 11px !important;
  font-weight: 900;
  letter-spacing: .02em !important;
  line-height: 1;
  white-space: nowrap;
}
.withdrawalBalanceStatus[hidden] { display: none; }
.withdrawalBalanceStatus i {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border: 2px solid rgba(255, 225, 122, .35);
  border-top-color: #ffe17a;
  border-radius: 50%;
  animation: withdrawalBalanceSpin .7s linear infinite;
}
.withdrawalBalanceCard.checking .withdrawalBalanceValue > strong { opacity: .72; }
@keyframes withdrawalBalanceSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .withdrawalBalanceStatus i { animation: none; }
}

.requestHistory > div:first-child button {
  min-height: 32px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 8px;
  padding: 0 10px;
  color: #e7d9ed;
  background: rgba(255,255,255,.055);
  font-weight: 900;
}

.simplePortalDialog {
  width: min(430px, calc(100vw - 28px));
  max-height: calc(100dvh - 28px);
  overflow: auto;
  border: 1px solid rgba(190,93,242,.4);
  border-radius: 18px;
  padding: 25px;
  color: #fff;
  background: linear-gradient(155deg, #1d082d, #0c0213);
  box-shadow: 0 28px 90px rgba(0,0,0,.72);
}
.simplePortalDialog::backdrop { background: rgba(4,0,9,.86); backdrop-filter: blur(8px); }
.simplePortalDialog > span { color: var(--yellow); font-size: 9px; font-weight: 900; letter-spacing: .15em; }
.simplePortalDialog h2 { margin: 9px 0 8px; font-size: 25px; }
.simplePortalDialog p { margin: 0; color: #b2a4b7; font-size: 13px; line-height: 1.5; }
.simplePortalDialog ol { display: grid; gap: 10px; margin: 20px 0; padding-left: 22px; color: #e7dce9; font-size: 14px; line-height: 1.4; }
.simplePortalDialog > small { display: block; margin-top: 12px; color: #827486; font-size: 10px; line-height: 1.45; }
.installGuideSteps {
  display: flex;
  align-items: stretch;
  gap: 7px;
  margin: 20px 0;
}
.installGuideSteps > span {
  min-width: 0;
  min-height: 78px;
  flex: 1 1 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 7px;
  border: 1px solid rgba(207,132,245,.22);
  border-radius: 13px;
  padding: 10px 7px;
  color: #f4eaf7;
  background: rgba(255,255,255,.055);
  text-align: center;
}
.installGuideSteps > span b {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #16031f;
  background: var(--yellow);
  font-size: 11px;
}
.installGuideSteps > span strong { font-size: 11px; line-height: 1.25; }
.installGuideSteps > i { align-self: center; color: #9f70b5; font-size: 22px; font-style: normal; }
.installChromeButton, #tryDirectInstall { width: 100%; margin-top: 4px; }
#installGuideDialog[data-platform="ios"] .installGuideSteps > span:first-child strong { font-size: 14px; letter-spacing: .08em; }
.dialogClose { position: absolute; top: 13px; right: 13px; width: 38px; height: 38px; border: 0; border-radius: 50%; color: #cbbbcf; background: rgba(255,255,255,.07); font-size: 25px; cursor: pointer; }
.dialogPrimary, .dialogSecondary { min-height: 48px; border: 0; border-radius: 10px; padding: 0 16px; font-size: 11px; font-weight: 900; cursor: pointer; }
.dialogPrimary { color: #fff; background: linear-gradient(90deg, #6330c1, #b52ed1); }
.dialogSecondary { border: 1px solid rgba(255,255,255,.15); color: #d4c7d8; background: rgba(255,255,255,.05); }
.dialogActions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 21px; }
.compactDialog { width: min(380px, calc(100vw - 28px)); }

.gameOverlay {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  color: #fff;
  background: #09000f;
}
.gameOverlay[hidden] { display: none; }
.gameOverlay > header {
  min-height: calc(58px + env(safe-area-inset-top));
  display: grid;
  grid-template-columns: 150px minmax(84px, 1fr) 96px;
  align-items: center;
  gap: 8px;
  padding: env(safe-area-inset-top) 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 8px 28px rgba(0,0,0,.26);
  background: linear-gradient(90deg, #170624, #21062f);
  contain: layout paint;
}
.gameOverlay header button { border: 0; color: #eee5f1; background: transparent; cursor: pointer; }
.gameBackButton {
  min-width: 0;
  min-height: 42px;
  display: flex;
  align-items: center;
  grid-column: 1;
  gap: 7px;
  border: 1px solid rgba(210,143,255,.34) !important;
  border-radius: 10px;
  padding: 3px 8px 3px 4px;
  background: rgba(255,255,255,.075) !important;
  text-align: left;
  touch-action: manipulation;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.gameBackButton:hover { border-color: rgba(225,177,255,.68) !important; background: rgba(255,255,255,.13) !important; }
.gameBackButton:active { transform: scale(.98); }
.gameBackIcon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(145deg, #a02ed2, #6425b2);
}
.gameBackIcon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.gameBackCopy { min-width: 0; display: grid; gap: 4px; line-height: 1; }
.gameBackCopy strong { color: #fff; font-size: 12px; line-height: 1; letter-spacing: .035em; white-space: nowrap; }
.gameBackCopy small { color: #eadff0; font-size: 8.5px; font-weight: 850; line-height: 1.15; letter-spacing: .025em; white-space: nowrap; }
.gameLobbyButton {
  width: min(100%, 102px);
  min-width: 0;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: 2;
  justify-self: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, .11) !important;
  border-radius: 10px;
  padding: 0 8px;
  background: rgba(255, 255, 255, .045) !important;
  touch-action: manipulation;
}
.gameLobbyButton:hover,
.gameLobbyButton:focus-visible { border-color: rgba(210, 143, 255, .55) !important; background: rgba(144, 47, 190, .16) !important; }
.gameLobbyButton svg { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: #d8a8ee; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gameLobbyButton strong { color: #fff; font-size: 12px; line-height: 1; letter-spacing: .045em; white-space: nowrap; }
#toggleGameFullscreen {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: 3;
  gap: 5px;
  border: 1px solid rgba(213,153,255,.42);
  border-radius: 10px;
  padding: 0 8px;
  color: #fff;
  background: rgba(118,43,175,.22);
  font-size: 9px;
  font-weight: 900;
  touch-action: manipulation;
}
#toggleGameFullscreen svg { width: 17px; height: 17px; flex: 0 0 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#toggleGameFullscreen span { line-height: 1; white-space: nowrap; }
#toggleGameFullscreen .gameCompressIcon { display: none; }
.gameOverlay.isFullscreen #toggleGameFullscreen .gameExpandIcon { display: none; }
.gameOverlay.isFullscreen #toggleGameFullscreen .gameCompressIcon { display: block; }
.gameOverlay iframe:fullscreen { width: 100vw; height: 100dvh; }
.gameOverlay iframe:-webkit-full-screen { width: 100vw; height: 100dvh; }
.gameOverlay::backdrop { background: #09000f; }
.gameViewport { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: #09000f; }
.gameOverlay iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
.gameLoading, .gameUnavailable {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 24px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 32%, rgba(138, 39, 190, .28), transparent 38%),
    linear-gradient(155deg, #160522, #09000f 70%);
}
.gameLoading[hidden], .gameUnavailable[hidden] { display: none; }
.gameLoadingSpinner {
  width: 42px;
  height: 42px;
  margin-bottom: 17px;
  border: 4px solid rgba(255,255,255,.14);
  border-top-color: #c83be5;
  border-radius: 50%;
  animation: gameSpin .8s linear infinite;
}
.gameLoading strong { font-size: 18px; }
.gameLoading small { margin-top: 7px; color: #b9a8c0; font-size: 12px; }
@keyframes gameSpin { to { transform: rotate(360deg); } }
.gameUnavailableCard {
  width: min(460px, calc(100vw - 34px));
  border: 1px solid rgba(212, 140, 255, .23);
  border-radius: 22px;
  padding: 28px;
  background: rgba(26, 7, 39, .94);
  box-shadow: 0 24px 70px rgba(0,0,0,.48);
}
.gameUnavailableIcon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin: 0 auto 17px;
  border: 1px solid rgba(255, 198, 49, .45);
  border-radius: 50%;
  color: #1a0823;
  background: #ffc631;
  font-size: 25px;
  font-weight: 950;
}
.gameUnavailableCard > small { color: #ffc631; font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.gameUnavailableCard h2 { margin: 9px 0; font-size: 25px; }
.gameUnavailableCard p { margin: 0; color: #c5b5cb; font-size: 14px; line-height: 1.5; }
.gameUnavailableActions { display: grid; gap: 9px; margin-top: 23px; }
.gameUnavailableActions button, .gameUnavailableActions a {
  min-height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 11px;
  padding: 0 14px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}
.gameRetryButton { border: 1px solid rgba(220, 171, 255, .3) !important; background: rgba(255,255,255,.07); }
.gameDirectButton { border: 1px solid rgba(255, 198, 49, .42) !important; color: #ffe39a !important; background: rgba(255, 198, 49, .08); }
.gameSupportButton { background: linear-gradient(90deg, #7330c8, #b931d3) !important; box-shadow: 0 10px 24px rgba(121,37,181,.25); }
.gameWhatsappButton { background: #197c52; }

@media (max-width: 520px) {
  .portalAuthCard { padding: 22px; }
  .authHeading h1, .authHeading h2 { font-size: 25px; }
  .portalAccount > button i { display: none; }
  .portalAccount > button b { display: block; max-width: 72px; font-size: 10px; }
  .portalAccount > button em { display: block; }
  .portalAccount > button { width: auto; min-width: 145px; height: 42px; justify-content: space-between; padding: 4px 10px 4px 4px; }
  .portalAccount > button span { width: 32px; height: 32px; font-size: 13px; }
  .portalAccount > button em { font-size: 11px; }
  .accessButton { min-width: 68px; }
}

.depositAccountHolder {
  display: grid;
  gap: 4px;
  margin: 4px 0;
  border: 1px solid rgba(255, 188, 15, .28);
  border-radius: 10px;
  padding: 12px;
  background: rgba(255, 188, 15, .07);
}
.depositAccountHolder[hidden] { display: none; }
.depositAccountHolder small { color: #d7bd73; font-size: 9px; }
.depositAccountHolder strong { color: #fff5c9; font-size: 19px; line-height: 1.2; overflow-wrap: anywhere; }

.mobileNav .navIcon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: currentColor;
}
.mobileNav .navIcon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mobileNav b { font: inherit; }
.mobileDialogNav { display: none; }

@media (max-width: 820px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .mobileNav {
    z-index: 70;
    height: calc(72px + env(safe-area-inset-bottom));
    padding: 4px max(4px, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(4px, env(safe-area-inset-left));
    border-top: 1px solid rgba(255,255,255,.1);
    background: rgba(15, 3, 25, .985);
    box-shadow: 0 -10px 30px rgba(0,0,0,.34);
  }
  .mobileNav a, .mobileNav button {
    min-width: 0;
    min-height: 62px;
    gap: 4px;
    border-radius: 12px;
    color: #b9aabf;
    font-size: 10px;
    font-weight: 800;
  }
  .mobileNav a:active, .mobileNav button:active { background: rgba(179,57,226,.14); }
  .mobileNav .current { color: #fff; }
  .mobileNav .current:not(.navHome) .navIcon { color: var(--yellow); }
  .mobileNav .navIcon { color: #c292de; }
  .mobileNav .navHome { color: #fff; }
  .mobileNav .navHome .navIcon {
    width: 42px;
    height: 42px;
    margin-top: -19px;
    border: 3px solid #160526;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, #6b31c8, #b832d6);
    box-shadow: 0 7px 20px rgba(126, 40, 190, .45);
  }
  .mobileNav .navHome .navIcon svg { width: 23px; height: 23px; }
}

@media (max-width: 520px) {
  body {
    min-height: 100dvh;
    overflow-x: hidden;
    background: radial-gradient(circle at 50% -90px, rgba(110,25,175,.38), transparent 320px), #09000f;
  }
  .platformHeader {
    height: calc(64px + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) 12px 0;
    gap: 8px;
  }
  .brand { gap: 7px; }
  .brandCopy strong { max-width: 124px; font-size: 14px; }
  .headerActions { min-width: 0; }
  .accessButton { height: 38px; border-radius: 10px; font-size: 10px; }
  .portalAccountMenu {
    width: min(290px, calc(100vw - 20px));
    max-height: calc(var(--portal-viewport-height) - 78px);
    overflow-y: auto;
  }

  .portalShell {
    width: calc(100% - 16px);
    min-height: calc(100dvh - 64px - 72px - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 16px);
    margin-top: 8px;
  }
  .heroPlatform {
    min-height: calc(100dvh - 64px - 72px - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 16px);
    align-items: center;
    padding: 24px 18px;
    border-radius: 16px;
    box-shadow: inset 0 -3px 0 rgba(255,188,15,.72), 0 18px 42px rgba(0,0,0,.35);
  }
  .heroPlatform::before { top: 24%; right: -25%; font-size: 250px; opacity: .65; }
  .heroContent { width: 100%; }
  .eyebrow { font-size: 9px; }
  .heroPlatform h1 { margin: 13px 0 10px; font-size: clamp(30px, 9vw, 38px); line-height: 1.02; }
  .heroPlatform p { max-width: 100%; font-size: 14px; line-height: 1.4; }
  .heroActions { display: grid; gap: 11px; margin-top: 21px; }
  .playButton, .supportButton { width: 100%; height: 58px; border-radius: 12px; font-size: 14px; }
  .playButton { min-width: 0; padding: 0 20px; box-shadow: 0 12px 28px rgba(128,32,198,.34); }
  .supportButton { background: rgba(30,7,47,.92); }
  .heroBalance {
    width: 100%;
    min-width: 0;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 3px 12px;
    margin-top: 14px;
    border: 1px solid rgba(255,188,15,.25);
    border-left: 4px solid var(--yellow);
    border-radius: 10px;
    padding: 11px 13px;
    background: rgba(9,0,17,.65);
  }
  .heroBalance strong { grid-column: 2; grid-row: 1 / 3; font-size: 24px; }
  .heroBalance small { font-size: 9px; }
  .homePendingRequest { margin-top: 9px; }

  .quickAccess, .newsPanel, .supportStrip, .siteFooter, .appInstallBanner { display: none !important; }

  .supportLauncher {
    display: none;
  }

  .chatBackdrop {
    z-index: 60;
    bottom: calc(72px + env(safe-area-inset-bottom));
  }
  .supportDrawer {
    z-index: 61;
    top: var(--portal-viewport-top);
    right: 0;
    bottom: auto;
    left: 0;
    width: 100vw;
    height: calc(var(--portal-viewport-height) - 72px - env(safe-area-inset-bottom));
    padding: env(safe-area-inset-top) 0 0;
    border: 0;
    border-radius: 0;
    transform: translateY(12px);
  }
  .supportDrawer > header {
    min-height: 68px;
    height: 68px;
    padding: 0 16px;
  }
  .supportDrawer header strong { font-size: 16px; }
  .supportDrawer header small { font-size: 11px; }
  .supportHeaderActions > button { width: 44px; height: 44px; font-size: 30px; }
  .chatMessages { padding: 16px 12px; }
  .message p { font-size: 15px; }
  .chatComposer { min-height: 66px; padding: 9px; }
  .chatComposer textarea { min-height: 46px; border-radius: 11px; font-size: 16px; }
  .chatComposer button { width: 48px; height: 46px; border-radius: 11px; font-size: 20px; }

  .transactionDialog {
    position: fixed;
    inset: 0;
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }
  .transactionDialog form { height: calc(100dvh - 72px - env(safe-area-inset-bottom)); }
  .transactionDialog header {
    min-height: calc(68px + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) 17px 0;
  }
  .transactionDialog header h2 { font-size: 24px; }
  .transactionDialog header button { width: 46px; height: 46px; font-size: 31px; }
  .transactionBody { gap: 16px; padding: 17px 15px 24px; }
  #depositFields { gap: 11px; }
  .transactionBody label { font-size: 14px; }
  .transactionBody input { min-height: 49px; border-radius: 10px; font-size: 16px; }
  .moneyInput { min-height: 51px; border-radius: 10px; }
  .moneyInput span { font-size: 20px; }
  .transactionSubmit { min-height: 52px; border-radius: 11px; font-size: 13px; }
  .transactionHint { font-size: 12px; }
  .depositAccountCard { gap: 11px; padding: 15px; }
  .depositAccountCard > strong { font-size: 17px; }
  .depositAccountCard button { min-height: 50px; font-size: 14px; }
  .depositAccountHolder strong { font-size: 20px; }
  .requestHistory > div:first-child span, .requestHistory > div:first-child button { font-size: 11px; }
  .requestSectionHeading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .requestSectionHeading span { font-size: 11px; }
  .requestSectionHeading small { font-size: 10px; text-align: left; }
  .requestItem { grid-template-columns: auto minmax(0,1fr); gap: 8px 10px; padding: 13px 12px 13px 16px; }
  .requestType { grid-row: 1 / 2; align-self: start; font-size: 9px; }
  .requestMain strong { font-size: 17px; }
  .requestMain small { font-size: 11px; }
  .requestStatus { grid-column: 1 / 3; justify-self: start; padding: 6px 9px; font-size: 10px; }
  .requestItem time { grid-column: 1 / 3; font-size: 11px; }
  .requestItem time span { font-size: 8px; }
  .requestItem time b { font-size: 12px; }
  .mobileDialogNav { display: grid; }

  .mobileNav {
    top: calc(var(--portal-viewport-top) + var(--portal-viewport-height) - 72px - env(safe-area-inset-bottom));
    bottom: auto;
  }
  .portalUpdate {
    right: 10px;
    bottom: auto;
    top: calc(var(--portal-viewport-top) + var(--portal-viewport-height) - 136px - env(safe-area-inset-bottom));
    max-width: calc(100vw - 20px);
    gap: 8px;
    padding: 10px;
    font-size: 9px;
  }
  .portalUpdate button { flex: 0 0 auto; max-width: 96px; overflow: hidden; padding: 7px 9px; text-overflow: ellipsis; white-space: nowrap; }
  .portalToast { bottom: auto; top: calc(var(--portal-viewport-top) + var(--portal-viewport-height) - 124px - env(safe-area-inset-bottom)); max-width: calc(100vw - 24px); font-size: 12px; text-align: center; }
  .simplePortalDialog { padding: 24px 20px; }
  .simplePortalDialog h2 { padding-right: 28px; font-size: 23px; }
  .simplePortalDialog ol { font-size: 15px; }
  #installGuideDialog[data-platform="ios"] { margin: auto auto max(14px, env(safe-area-inset-bottom)); }
  .installGuideSteps { gap: 5px; }
  .installGuideSteps > span { min-height: 72px; padding-inline: 5px; }
  .installGuideSteps > span strong { font-size: 10px; }
  .installGuideSteps > i { font-size: 18px; }
  .gameOverlay > header {
    min-height: calc(56px + env(safe-area-inset-top));
    grid-template-columns: 132px minmax(0, 1fr) 82px;
    gap: 6px;
    padding: env(safe-area-inset-top) 6px 0;
  }
  .gameBackButton { min-height: 42px; gap: 5px; padding: 3px 6px 3px 3px; }
  .gameBackIcon { width: 30px; height: 30px; flex-basis: 30px; }
  .gameBackIcon svg { width: 20px; height: 20px; }
  .gameBackCopy strong { font-size: 11px; }
  .gameBackCopy small { font-size: 8.2px; }
  .gameLobbyButton { min-height: 42px; gap: 5px; padding-inline: 6px; }
  .gameLobbyButton svg { width: 17px; height: 17px; flex-basis: 17px; }
  .gameLobbyButton strong { font-size: 11px; }
  #toggleGameFullscreen { min-height: 42px; gap: 4px; padding: 0 6px; font-size: 8.5px; }
  #toggleGameFullscreen svg { width: 16px; height: 16px; flex-basis: 16px; }
}

@media (max-width: 380px) {
  .gameOverlay > header { grid-template-columns: 126px minmax(0, 1fr) 80px; gap: 5px; padding-right: 5px; padding-left: 5px; }
  .gameBackCopy small { font-size: 8px; }
  .gameLobbyButton { width: min(100%, 84px); padding-inline: 4px; }
  .gameLobbyButton svg { width: 16px; height: 16px; flex-basis: 16px; }
  .gameLobbyButton strong { font-size: 10.5px; }
  #toggleGameFullscreen { padding-inline: 5px; font-size: 8.2px; }
}

@media (max-width: 340px) {
  .gameOverlay > header { grid-template-columns: 122px minmax(0, 1fr) 76px; }
  .gameBackIcon { width: 28px; height: 28px; flex-basis: 28px; }
  .gameBackCopy strong { font-size: 10.8px; }
  .gameBackCopy small { font-size: 8px; }
  .gameLobbyButton { width: min(100%, 68px); }
  .gameLobbyButton svg { display: none; }
  #toggleGameFullscreen { gap: 3px; padding-inline: 4px; font-size: 8px; }
  #toggleGameFullscreen svg { width: 15px; height: 15px; flex-basis: 15px; }
}

/* Portal v31: lectura clara, controles táctiles y jerarquía móvil. */
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(255, 198, 49, .82);
  outline-offset: 2px;
}

.heroBalance {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 18px;
}
.heroBalanceMeta { min-width: 0; display: grid; gap: 4px; }
.heroBalanceMeta span {
  overflow: hidden;
  color: #fff;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.heroBalanceMeta small {
  color: #b7a5c0;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
}
.heroBalance > strong { grid-column: 2; grid-row: 1 / 3; }
.heroBalance > time {
  grid-column: 1;
  color: #95869c;
  font-size: 9px;
}

.dangerAction {
  border-color: rgba(255, 109, 132, .45);
  color: #ffc2cc;
  background: rgba(255, 109, 132, .1);
}
.dangerAction:disabled { opacity: .58; cursor: wait; }

.requestMain small { line-height: 1.35; }
.requestItem.submitted,
.requestItem.reviewing {
  border-color: rgba(255, 158, 61, .24);
  background: linear-gradient(105deg, rgba(255, 158, 61, .07), rgba(255,255,255,.025));
}

@media (max-width: 820px) {
  .mobileNav a,
  .mobileNav button { touch-action: manipulation; }
  .portalAccountMenu button,
  .transactionSubmit,
  .requestItem footer button { min-height: 44px; }
}

@media (max-width: 520px) {
  .platformHeader {
    height: calc(68px + env(safe-area-inset-top));
    padding-inline: 14px;
  }
  .brandCopy strong { max-width: 112px; font-size: 15px; }
  .portalAccount > button {
    min-width: 154px;
    height: 46px;
    border-radius: 23px;
  }
  .portalAccount > button b { max-width: 76px; font-size: 11px; }
  .portalAccount > button em { font-size: 12px; }
  .portalAccountMenu {
    position: fixed;
    top: calc(var(--portal-viewport-top) + env(safe-area-inset-top) + 62px);
    right: 10px;
    bottom: calc(82px + env(safe-area-inset-bottom));
    width: min(330px, calc(100vw - 20px));
    max-height: none;
    align-content: start;
    overflow-y: auto;
    border-radius: 16px;
    padding: 16px;
  }
  .portalAccountMenu > strong { font-size: 16px; }
  .portalAccountMenu > small { font-size: 11px; }
  .portalAccountMenu button { padding: 12px; font-size: 12px; }
  .accountBalance { gap: 7px; padding: 13px; }
  .accountBalance > div span { font-size: 9px; }
  .accountBalance > strong { font-size: 25px; }
  .accountBalance > time { font-size: 10px; }

  .portalShell {
    min-height: calc(100dvh - 68px - 72px - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 16px);
  }
  .heroPlatform {
    min-height: calc(100dvh - 68px - 72px - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 16px);
    padding: 22px 17px;
  }
  .eyebrow { font-size: 10px; }
  .heroPlatform h1 { font-size: clamp(29px, 8.7vw, 37px); }
  .heroPlatform p { color: #d1c5d6; font-size: 15px; }
  .heroActions { margin-top: 18px; }
  .playButton,
  .supportButton {
    min-height: 56px;
    font-size: 14px;
  }
  .heroBalance {
    min-height: 70px;
    padding: 12px 14px;
  }
  .heroBalanceMeta span { font-size: 13px; }
  .heroBalanceMeta small { font-size: 9px; }
  .heroBalance > strong { font-size: clamp(22px, 7vw, 29px); }
  .heroBalance > time { font-size: 10px; }
  .homePendingRequest,
  .homeBonusOffer { min-height: 72px; }
  .homePendingRequest span,
  .homeBonusOffer span { font-size: 9px; }
  .homePendingRequest strong,
  .homeBonusOffer strong { font-size: 15px; }
  .homePendingRequest small,
  .homeBonusOffer small { font-size: 11px; }

  .transactionDialog header span { font-size: 10px; }
  .transactionBody { gap: 13px; }
  .transactionFields { gap: 12px; }
  .transactionBody label { gap: 8px; color: #eee4f2; font-size: 15px; }
  .transactionHint { color: #c7b9cd; font-size: 13px; }
  .depositAccountCard small,
  .withdrawalBalanceCard span { font-size: 10px; }
  .depositAccountCard > strong { font-size: 18px; }
  .depositAccountHolder strong { font-size: 22px; }
  .depositAccountCard button { font-size: 15px; }
  .depositAccountCard button em { font-size: 12px; }
  .withdrawalBalanceCard strong { font-size: 30px; }
  .withdrawalBalanceCard small { font-size: 13px; }
  .formError { min-height: 18px; font-size: 12px; line-height: 1.4; }

  .activeRequestSection,
  .requestHistory { gap: 12px; }
  .requestItem {
    border-radius: 12px;
    padding-block: 14px;
  }
  .requestMain small {
    overflow: visible;
    font-size: 12px;
    text-overflow: clip;
    white-space: normal;
  }
  .requestStatus { font-size: 11px; }
  .requestItem time { flex-wrap: wrap; }
  .requestItem footer { justify-content: stretch; }
  .requestItem footer button { flex: 1; font-size: 12px; }

  .supportGreeting p,
  .message p { font-size: 16px; }
  .supportGreeting strong,
  .message strong { font-size: 11px; }
  .message footer { font-size: 11px; }
  .chatComposer textarea { line-height: 1.35; }
  .portalToast { min-height: 44px; line-height: 1.35; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Portal v33: carga inmediata, formularios compactos y ayudas claras. */
.formError:empty { display: none; min-height: 0; }
.fieldHelp {
  display: block;
  color: #9e8ca6 !important;
  font-size: 10px;
  font-weight: 500 !important;
  line-height: 1.4;
}
.transactionAmountField,
.transactionSenderField { gap: 6px !important; }
.transactionHint {
  border-left-width: 3px;
  border-radius: 0 9px 9px 0;
  padding: 10px 12px;
}
.transactionHint strong { color: #f5d982; }

.recentSenderSection {
  display: grid;
  gap: 9px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 11px;
  padding: 11px;
  background: rgba(255,255,255,.025);
}
.recentSenderSection[hidden] { display: none; }
.recentSenderSection > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.recentSenderSection > div:first-child small {
  color: #c9a0df;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .1em;
}
.recentSenderSection > div:first-child span { color: #8d7c96; font-size: 9px; }
.recentSenderSuggestions { display: flex; flex-wrap: wrap; gap: 7px; }
.recentSenderSuggestions button {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(192,112,235,.24);
  border-radius: 999px;
  padding: 7px 10px;
  color: #e9ddec;
  background: rgba(107,40,155,.13);
  cursor: pointer;
}
.recentSenderSuggestions button:hover,
.recentSenderSuggestions button.mostRecent {
  border-color: rgba(255,188,15,.34);
  background: rgba(255,188,15,.07);
}
.recentSenderSuggestions button span {
  max-width: 230px;
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recentSenderSuggestions button small { color: #bd9bc9; font-size: 7px; font-weight: 900; }
.depositAccountFreshness {
  justify-self: end;
  color: #79daa5;
  font-size: 9px;
  font-weight: 700;
}

.requestItem.compact {
  gap: 3px 9px;
  border-radius: 8px;
  padding: 8px 10px 8px 13px;
}
.requestItem.compact::before { width: 3px; }
.requestItem.compact .requestType {
  grid-row: 1 / 3;
  padding: 4px 6px;
  font-size: 7px;
}
.requestItem.compact .requestMain { display: flex; align-items: baseline; gap: 8px; }
.requestItem.compact .requestMain strong { flex: 0 0 auto; font-size: 13px; }
.requestItem.compact .requestMain small { font-size: 8px; }
.requestItem.compact .requestStatus { padding: 4px 7px; font-size: 7px; }
.requestItem.compact time { grid-column: 2 / 4; gap: 5px; font-size: 8px; }
.requestItem.compact time span { color: #887491; font-size: 10px; }
.requestItem.compact time b { font-size: 9px; }
.requestItem.compact footer { margin-top: 4px; }

.portalAccountMenu {
  width: 270px;
  max-height: min(620px, calc(100dvh - 88px));
  overflow-y: auto;
  overscroll-behavior: contain;
}
.portalAccountMenu #notificationSettings.enabled {
  color: #83e4ad;
  background: rgba(62,190,117,.1);
}
.accountAdvancedSettings { margin: -1px 0 3px; }
.accountAdvancedSettings summary {
  padding: 6px 9px;
  color: #817489;
  font-size: 8px;
  list-style: none;
  cursor: pointer;
}
.accountAdvancedSettings summary::-webkit-details-marker { display: none; }
.portalAccountMenu .accountAdvancedSettings button {
  width: 100%;
  color: #b99fc3;
  background: rgba(255,255,255,.025);
  font-size: 9px;
}

.gameUnavailable {
  overflow-y: auto;
  place-content: start center;
  padding-block: clamp(18px, 5vh, 54px);
}
.gameUnavailableCard { width: min(500px, calc(100vw - 26px)); }
.gameAccountGuide {
  display: grid;
  gap: 7px;
  margin-top: 16px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 11px;
  padding: 12px 13px;
  text-align: left;
  background: rgba(255,255,255,.035);
}
.gameAccountGuide > strong { color: #f2e8f5; font-size: 11px; }
.gameAccountGuide ol { display: grid; gap: 5px; margin: 0; padding-left: 19px; color: #bfaec5; font-size: 11px; line-height: 1.4; }
.gameAccountGuide b { color: #fff0ac; }
.gameUnavailableActions { grid-template-columns: 1fr 1fr; }
.gameUnavailableActions .gameDirectButton {
  grid-column: 1 / -1;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 9px;
  justify-items: start;
  padding: 10px 14px;
  text-align: left;
}
.gameDirectButton > span { grid-row: 1 / 3; font-size: 22px; }
.gameDirectButton strong { font-size: 11px; }
.gameDirectButton small { color: #c8ad75; font-size: 9px; font-weight: 600; }
.gameRetryButton span,
.gameSupportButton span { margin-right: 5px; }
#installGuideDialog[data-platform="notifications"] .installGuideSteps { margin-bottom: 10px; }
.notificationOnboarding {
  box-shadow: 0 10px 30px rgba(19,67,48,.17);
}

@media (max-width: 520px) {
  .portalAccountMenu {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    bottom: auto;
    width: min(330px, calc(100vw - 20px));
    max-height: calc(var(--portal-viewport-height) - 68px - 82px - env(safe-area-inset-bottom));
    padding: 15px;
  }
  .notificationOnboarding {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px;
    padding: 11px 12px;
  }
  .notificationBell { display: none; }
  .notificationOnboarding strong { font-size: 12px; }
  .notificationOnboarding p { font-size: 9px; }
  .notificationOnboarding button {
    grid-column: 2;
    grid-row: 1;
    min-width: 104px;
    max-width: 124px;
    height: 42px;
    align-self: center;
    padding: 0 10px;
    font-size: 8px;
  }
  .transactionBody { row-gap: 12px; }
  .fieldHelp { font-size: 11px; }
  .recentSenderSection > div:first-child { align-items: flex-start; flex-direction: column; gap: 3px; }
  .recentSenderSection > div:first-child small { font-size: 9px; }
  .recentSenderSection > div:first-child span { display: none; }
  .recentSenderSuggestions {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
  }
  .recentSenderSuggestions button {
    min-height: 39px;
    flex: 0 0 auto;
    justify-content: space-between;
    border-radius: 10px;
    scroll-snap-align: start;
  }
  .recentSenderSuggestions button span { max-width: min(230px, calc(100vw - 115px)); font-size: 12px; }
  .requestItem.compact {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 3px 8px;
    padding: 9px 9px 9px 13px;
  }
  .requestItem.compact .requestType { grid-row: 1 / 3; font-size: 8px; }
  .requestItem.compact .requestMain {
    min-width: 0;
    display: grid;
    gap: 2px;
  }
  .requestItem.compact .requestMain strong { font-size: 14px; }
  .requestItem.compact .requestMain small {
    overflow: hidden;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .requestItem.compact .requestStatus {
    grid-column: 3;
    justify-self: end;
    padding: 4px 6px;
    font-size: 8px;
  }
  .requestItem.compact time {
    grid-column: 2 / 4;
    flex-wrap: nowrap;
    font-size: 9px;
  }
  .requestItem.compact time b { font-size: 10px; }
  .gameUnavailableCard { padding: 20px 16px; }
  .gameUnavailableCard h2 { font-size: 22px; }
  .gameUnavailableCard p { font-size: 13px; }
  .gameUnavailableActions { grid-template-columns: 1fr; }
  .gameUnavailableActions .gameDirectButton { grid-column: auto; }
  .gameAccountGuide ol { font-size: 11px; }
  .installGuideSteps { display: grid; grid-template-columns: 1fr; gap: 5px; }
  .installGuideSteps > span { min-height: 58px; grid-template-columns: auto 1fr; justify-items: start; padding: 9px 11px; text-align: left; }
  .installGuideSteps > span strong { font-size: 12px; }
  .installGuideSteps > i { display: none; }
  #installGuideDialog[data-platform="ios"] .installGuideSteps > span:first-child strong { font-size: 12px; letter-spacing: 0; }
}

/* Teléfonos angostos y bajos: conservar las acciones esenciales en una sola vista. */
@media (max-width: 380px) and (max-height: 620px) {
  .heroPlatform {
    align-items: flex-start;
    padding: 12px 14px 10px;
  }
  .eyebrow { font-size: 8px; }
  .heroPlatform h1 {
    margin: 7px 0 6px;
    font-size: 25px;
  }
  .heroPlatform p {
    font-size: 11px;
    line-height: 1.28;
  }
  .heroActions {
    gap: 6px;
    margin-top: 9px;
  }
  .playButton,
  .supportButton {
    height: 43px;
    font-size: 11px;
  }
  .heroBalance {
    margin-top: 6px;
    padding: 7px 10px;
  }
  .heroBalance strong { font-size: 19px; }
  .notificationOnboarding {
    gap: 7px;
    margin-top: 6px;
    padding: 8px 9px;
  }
  .notificationOnboarding strong { font-size: 10px; }
  .notificationOnboarding p { font-size: 8px; }
  .notificationOnboarding button {
    min-width: 92px;
    max-width: 104px;
    height: 36px;
    font-size: 7px;
  }
}

/* Portal v34: avisos claros y solicitudes simples en pantallas pequeñas. */
.notificationOnboarding {
  border-color: rgba(255, 196, 49, .5);
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 198, 49, .17), transparent 34%),
    linear-gradient(112deg, rgba(55, 18, 77, .98), rgba(21, 48, 43, .98));
  box-shadow: 0 12px 34px rgba(13, 2, 22, .34), inset 3px 0 0 var(--yellow);
}
.notificationOnboarding small { color: #ffd65e; }
.notificationOnboarding strong { color: #fff; font-size: 15px; }
.notificationOnboarding p { color: #ddd0e1; font-size: 11px; }
.notificationOnboarding button {
  min-width: 126px;
  color: #160520;
  background: linear-gradient(90deg, #ffd44f, #f0b720);
  box-shadow: 0 6px 18px rgba(240, 183, 32, .2);
}
.notificationOnboarding[data-permission="denied"] {
  border-color: rgba(255, 116, 128, .52);
  background: linear-gradient(112deg, rgba(82, 23, 43, .98), rgba(42, 11, 57, .98));
  box-shadow: 0 12px 34px rgba(13, 2, 22, .34), inset 3px 0 0 #ff7a87;
}
.notificationOnboarding[data-permission="denied"] small { color: #ffb0b8; }
.notificationOnboarding[data-permission="denied"] button {
  color: #fff;
  background: linear-gradient(90deg, #e64965, #b52f6f);
}

.notificationConsentDialog ul {
  display: grid;
  gap: 8px;
  margin: 2px 0 16px;
  padding-left: 22px;
  color: #e6dbe9;
  font-size: 13px;
  line-height: 1.4;
}
.notificationConsentDialog li::marker { color: #75e2a8; }
.notificationConsentDialog > small {
  display: block;
  margin-top: 12px;
  color: #9a899f;
  font-size: 10px;
  text-align: center;
}
.nativePermissionPreview {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 211, 78, .3);
  border-radius: 11px;
  padding: 11px 12px;
  color: #eee3f1;
  background: rgba(255, 204, 51, .07);
}
.nativePermissionPreview > span { font-size: 20px; }
.nativePermissionPreview p { margin: 0; font-size: 12px; }
.nativePermissionPreview strong { color: #ffe174; }

.portalAccountMenu { gap: 7px; }
.portalAccountMenu > small { margin-bottom: 1px; }
.accountBalance {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px 10px;
  padding: 10px 11px;
}
.accountBalance > div { grid-column: 1 / -1; }
.accountBalance > strong {
  grid-column: 1;
  grid-row: 2 / 4;
  align-self: center;
  font-size: 21px;
}
.accountBalance > small,
.accountBalance > time {
  grid-column: 2;
  justify-self: end;
  margin: 0;
}
.portalAccountMenu .notificationSettingToggle {
  position: relative;
  padding-right: 46px;
}
.portalAccountMenu .notificationSettingToggle::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 11px;
  width: 28px;
  height: 16px;
  border-radius: 999px;
  background: #514657;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  transform: translateY(-50%);
}
.portalAccountMenu .notificationSettingToggle::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 24px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c7bdca;
  transform: translateY(-50%);
  transition: right .18s ease, background .18s ease;
}
.portalAccountMenu .notificationSettingToggle.enabled::after { background: #27885a; }
.portalAccountMenu .notificationSettingToggle.enabled::before {
  right: 13px;
  background: #e5fff0;
}
.portalAccountMenu .notificationTestButton {
  border-color: rgba(89, 212, 141, .28);
  color: #a9f0c7;
  background: rgba(39, 136, 90, .1);
}
.portalAccountMenu .notificationTestButton:disabled { cursor: wait; opacity: .62; }
.portalAccountMenu #installPortalMenu.installed:disabled {
  cursor: default;
  border-color: rgba(89, 212, 141, .2);
  color: #a9f0c7;
  opacity: 1;
}
.accountAdvancedSettings p {
  margin: 0 8px 6px;
  color: #8e8094;
  font-size: 9px;
  line-height: 1.35;
}

.transactionBody {
  gap: 10px;
  padding: 14px 16px 18px;
}
.transactionFields { gap: 9px; }
.transactionBody label { gap: 5px; }
.transactionAmountField .fieldHelp[hidden] { display: none; }
.recentSenderSection {
  display: block;
  padding: 0;
  background: transparent;
}
.recentSenderSection[hidden] { display: none; }
.recentSenderSection summary {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(192, 112, 235, .18);
  border-radius: 9px;
  padding: 8px 11px;
  color: #cdbfd2;
  background: rgba(255,255,255,.025);
  font-size: 10px;
  font-weight: 750;
  list-style: none;
  cursor: pointer;
}
.recentSenderSection summary::-webkit-details-marker { display: none; }
.recentSenderSection summary small {
  color: #c997df;
  font-size: 8px;
  font-weight: 900;
}
.recentSenderSection[open] summary { border-radius: 9px 9px 0 0; }
.recentSenderSuggestions {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(192, 112, 235, .18);
  border-top: 0;
  border-radius: 0 0 9px 9px;
  padding: 7px;
}
.recentSenderSuggestions button {
  width: 100%;
  min-height: 34px;
  justify-content: space-between;
  border-radius: 7px;
  padding: 6px 9px;
}
.depositAccountCard {
  gap: 7px;
  padding: 11px 12px;
  border-color: rgba(255, 200, 62, .25);
  background: linear-gradient(145deg, rgba(255, 191, 46, .075), rgba(67, 18, 87, .18));
}
.depositAccountCard > strong { font-size: 15px; }
.depositAccountHolder {
  gap: 2px;
  padding: 7px 9px;
}
.depositAccountHolder strong { font-size: 17px; }
.depositAccountCard button {
  min-height: 40px;
  padding: 8px 10px;
}
.depositAccountFreshness { font-size: 8px; }
.depositExactHint {
  margin: 1px 0 0 !important;
  border-radius: 7px;
  padding: 7px 9px;
  color: #ddcfb1 !important;
  background: rgba(255, 196, 55, .07);
  font-size: 9px;
  line-height: 1.35;
}
.depositExactHint strong { color: #ffe070; }
.transactionSubmit {
  position: sticky;
  z-index: 2;
  top: 0;
  bottom: -1px;
  min-height: 48px;
  box-shadow: 0 -8px 18px #11031d, 0 8px 22px rgba(105, 31, 166, .28);
}
.requestHistory {
  gap: 7px;
  margin-top: 0;
  padding-top: 11px;
}
.requestHistory > div:first-child button {
  min-height: 32px;
  border: 1px solid rgba(190, 131, 219, .22);
  border-radius: 999px;
  padding: 0 11px;
  color: #d8bee3;
  background: rgba(119, 53, 152, .12);
  font-weight: 850;
}
.requestList[hidden] { display: none; }
.requestList { max-height: 310px; overflow-y: auto; overscroll-behavior: contain; }
.requestItem.compact { padding-block: 7px; }

.portalAuthDialog.compact {
  max-height: calc(var(--portal-viewport-height) - 20px);
  overflow: hidden;
}
.portalAuthDialog.compact .portalAuthCard {
  max-height: calc(var(--portal-viewport-height) - 20px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-padding-bottom: 18px;
}
#passwordDialog input { scroll-margin-block: 62px 76px; }

@media (max-width: 520px) {
  .portalAccountMenu {
    top: calc(var(--portal-viewport-top) + env(safe-area-inset-top) + 58px);
    bottom: auto;
    width: min(300px, calc(100vw - 16px));
    max-height: calc(var(--portal-viewport-height) - 148px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    gap: 6px;
    padding: 11px;
  }
  .portalAccountMenu > strong { font-size: 14px; }
  .portalAccountMenu > small { font-size: 9px; }
  .portalAccountMenu button { min-height: 40px; padding: 9px 10px; font-size: 10px; }
  .accountBalance { min-height: 72px; padding: 9px 10px; }
  .accountBalance > strong { font-size: 21px; }
  .accountBalance > time { font-size: 8px; }

  .notificationOnboarding {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
    padding: 12px 13px;
  }
  .notificationOnboarding > div { gap: 4px; }
  .notificationOnboarding strong { font-size: 14px; line-height: 1.2; }
  .notificationOnboarding p { font-size: 10px; line-height: 1.35; }
  .notificationOnboarding button {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    max-width: none;
    min-height: 40px;
  }

  .transactionDialog header {
    min-height: calc(58px + env(safe-area-inset-top));
    padding-inline: 13px;
  }
  .transactionDialog header h2 { margin-top: 2px; font-size: 20px; }
  .transactionDialog header span { font-size: 8px; }
  .transactionDialog form { height: calc(100dvh - 72px - env(safe-area-inset-bottom)); }
  .transactionBody { gap: 8px; padding: 10px 10px 74px; }
  .transactionFields,
  #depositFields { gap: 7px; }
  .transactionBody label { gap: 4px; font-size: 12px; }
  .transactionBody input { min-height: 42px; padding: 9px 10px; font-size: 15px; }
  .moneyInput { min-height: 43px; }
  .moneyInput span { font-size: 17px; }
  .recentSenderSection summary { min-height: 34px; }
  .recentSenderSuggestions {
    max-height: 124px;
    overflow-y: auto;
    padding: 5px;
  }
  .recentSenderSuggestions button { min-height: 34px; flex: none; }
  .depositAccountCard { gap: 6px; padding: 9px 10px; }
  .depositAccountCard small { font-size: 8px; }
  .depositAccountCard > strong { font-size: 14px; }
  .depositAccountHolder { padding: 6px 8px; }
  .depositAccountHolder strong { font-size: 15px; }
  .depositAccountCard button { min-height: 38px; padding: 7px 9px; font-size: 12px; }
  .depositAccountCard button em { font-size: 9px; }
  .depositExactHint { padding: 6px 8px; font-size: 9px; }
  .transactionSubmit {
    position: fixed;
    top: auto;
    right: 10px;
    bottom: calc(80px + env(safe-area-inset-bottom));
    left: 10px;
    min-height: 46px;
    font-size: 12px;
  }
  .activeRequestSection { padding: 9px; }
  .requestHistory > div:first-child span,
  .requestHistory > div:first-child button { font-size: 9px; }
  .requestItem.compact { padding-block: 7px; }

  .portalAuthDialog.compact {
    width: calc(100vw - 16px);
    max-height: calc(var(--portal-viewport-height) - 16px);
  }
  .portalAuthDialog.compact .portalAuthCard {
    max-height: calc(var(--portal-viewport-height) - 16px);
    padding: 40px 16px 16px;
  }
  .portalAuthDialog.compact .authHeading { margin-bottom: 5px; }
  .portalAuthDialog.compact .authHeading h2 { font-size: 21px; }
  .portalAuthDialog.compact .authHeading p { font-size: 11px; }
  .portalAuthDialog.compact .portalAuthCard > label { gap: 4px; }
  .portalAuthDialog.compact .portalAuthCard input { min-height: 42px; padding: 10px; }

  .notificationConsentDialog { padding: 22px 18px; }
  .notificationConsentDialog h2 { font-size: 22px; }
  .notificationConsentDialog ul { font-size: 12px; }
}

@media (max-width: 520px) and (max-height: 720px) {
  .notificationOnboarding {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 9px 10px;
  }
  .notificationBell { display: none; }
  .notificationOnboarding strong { font-size: 12px; }
  .notificationOnboarding p { font-size: 9px; }
  .notificationOnboarding button {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    min-width: 108px;
    min-height: 38px;
    padding-inline: 9px;
    font-size: 8px;
  }
}

@media (max-width: 380px) and (max-height: 620px) {
  .notificationOnboarding {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 8px 9px;
  }
  .notificationOnboarding strong { font-size: 11px; }
  .notificationOnboarding p { font-size: 8px; }
  .notificationOnboarding button {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    min-width: 96px;
    min-height: 36px;
    padding-inline: 8px;
    font-size: 7px;
  }
}

/* Portal v36: formularios legibles, scroll natural y teclado móvil estable. */
html,
body {
  overscroll-behavior-x: none;
  overscroll-behavior-y: none;
}

body:has(.transactionDialog[open]) {
  overflow: hidden;
  overscroll-behavior: none;
}

.transactionDialog form {
  min-height: 0;
}

.transactionBody {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scroll-padding-block: 78px 92px;
  scrollbar-color: rgba(180, 119, 214, .62) rgba(255, 255, 255, .055);
  scrollbar-width: thin;
}

.transactionBody::-webkit-scrollbar { width: 6px; }
.transactionBody::-webkit-scrollbar-track { background: rgba(255, 255, 255, .045); }
.transactionBody::-webkit-scrollbar-thumb {
  border: 1px solid #160821;
  border-radius: 999px;
  background: rgba(180, 119, 214, .66);
}

.transactionBody label {
  gap: 7px;
  color: #eee6f1;
  font-size: 14px;
  line-height: 1.25;
}

.transactionBody input,
.transactionBody textarea {
  min-height: 50px;
  border-color: rgba(184, 119, 218, .32);
  border-radius: 10px;
  padding: 12px 13px;
  background: rgba(7, 2, 11, .76);
  font-size: 16px;
  line-height: 1.25;
  scroll-margin-block: 76px 104px;
}

.moneyInput {
  min-height: 50px;
  grid-template-columns: 48px minmax(0, 1fr);
  border-color: rgba(184, 119, 218, .32);
  border-radius: 10px;
  background: rgba(7, 2, 11, .76);
}

.moneyInput span {
  color: #f1c94f;
  background: rgba(117, 65, 145, .16);
  font-size: 20px;
}

.transactionFields,
#depositFields {
  gap: 13px;
}

/* La cuenta receptora conserva jerarquía sin resplandores amarillos. */
.depositAccountCard {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px 12px;
  border-color: rgba(170, 132, 190, .27);
  padding: 13px 14px;
  background:
    linear-gradient(145deg, rgba(52, 35, 63, .72), rgba(25, 15, 32, .92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.depositAccountCard > small {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  color: #b8a9c0;
  font-size: 9px;
  letter-spacing: .12em;
}

.depositAccountHeader {
  grid-column: 1 / -1;
  grid-row: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.depositAccountHeader > small {
  min-width: 0;
  color: #b8a9c0;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
}

.depositAccountFreshness {
  flex: 0 0 auto;
  color: #82d9aa;
  font-size: 9px;
  white-space: nowrap;
}

.depositAccountCard > strong {
  grid-column: 1 / -1;
  grid-row: 2;
  color: #f6eff8;
  font-size: 18px;
}

.depositAccountCard > :not(small):not(.depositAccountFreshness):not(strong) {
  grid-column: 1 / -1;
}

.depositAccountHolder {
  gap: 3px;
  border-color: rgba(194, 167, 207, .19);
  padding: 9px 11px;
  background: rgba(255, 255, 255, .045);
}

.depositAccountHolder small {
  color: #a99caf;
  font-size: 9px;
}

.depositAccountHolder strong {
  color: #f7f2f8;
  font-size: 19px;
  line-height: 1.25;
}

.depositAccountCard button {
  min-height: 46px;
  border-color: rgba(194, 167, 207, .18);
  padding: 9px 11px;
  background: rgba(4, 1, 7, .38);
  font-size: 14px;
}

.depositAccountCard button em {
  color: #cba7dc;
  font-size: 11px;
}

.depositExactHint {
  margin-top: 1px !important;
  border: 1px solid rgba(194, 167, 207, .14);
  border-left: 3px solid rgba(174, 132, 194, .58);
  border-radius: 8px;
  padding: 8px 10px;
  color: #c9becd !important;
  background: rgba(255, 255, 255, .035);
  font-size: 11px;
  line-height: 1.4;
}

.depositExactHint strong {
  color: #eee6f1;
}

.withdrawalBalanceCard {
  gap: 5px;
  border-color: rgba(171, 132, 191, .25);
  padding: 13px 14px;
  background: linear-gradient(145deg, rgba(74, 46, 87, .38), rgba(26, 15, 33, .72));
}

.withdrawalBalanceCard span { color: #b9a7c1; }

.transactionSubmit {
  min-height: 52px;
  border-radius: 11px;
  font-size: 13px;
  box-shadow: 0 10px 24px rgba(105, 31, 166, .25);
}

/* El historial usa el scroll principal: sin una segunda lista angosta. */
.requestList {
  max-height: none;
  overflow: visible;
}

.requestItem.compact {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 7px 10px;
  border-radius: 11px;
  padding: 12px 13px 12px 16px;
}

.requestItem.compact::before { width: 4px; }
.requestItem.compact .requestType {
  grid-row: 1 / 3;
  padding: 6px 8px;
  font-size: 9px;
}

.requestItem.compact .requestMain {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.requestItem.compact .requestMain strong {
  font-size: 16px;
}

.requestItem.compact .requestMain small {
  overflow: visible;
  font-size: 11px;
  line-height: 1.35;
  text-overflow: clip;
  white-space: normal;
}

.requestItem.compact .requestStatus {
  padding: 6px 9px;
  font-size: 9px;
}

.requestItem.compact time {
  grid-column: 2 / 4;
  gap: 6px;
  font-size: 10px;
}

.requestItem.compact time span { font-size: 8px; }
.requestItem.compact time b { font-size: 11px; }

/* Barra propia a la derecha, igual que en el resto de los navegadores. */
.transactionScrollIndicator {
  position: absolute;
  z-index: 8;
  top: 82px;
  bottom: 20px;
  right: 3px;
  left: auto;
  width: 4px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  background: rgba(255, 255, 255, .075);
  transition: opacity .18s ease;
}

.transactionScrollIndicator > span {
  position: absolute;
  top: var(--transaction-scroll-offset, 0px);
  left: 0;
  width: 100%;
  height: var(--transaction-scroll-size, 42px);
  border-radius: inherit;
  background: #b575d6;
  box-shadow: 0 0 8px rgba(181, 117, 214, .38);
  transition: top .08s linear, height .08s linear;
}

.transactionScrollIndicator.visible { opacity: 1; }

.portalAuthDialog.compact .portalAuthCard {
  scroll-padding-block: 68px 96px;
}

#passwordDialog input {
  scroll-margin-block: 68px 112px;
}

@media (max-width: 520px) {
  .transactionDialog {
    top: var(--portal-viewport-top);
    bottom: auto;
    height: var(--portal-viewport-height);
    max-height: var(--portal-viewport-height);
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
    overscroll-behavior: none;
  }

  .transactionDialog form {
    width: 100%;
    height: 100%;
    max-height: none;
  }

  .transactionDialog header {
    min-height: calc(66px + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) 15px 0;
  }

  .transactionDialog header h2 {
    margin-top: 3px;
    font-size: 24px;
    line-height: 1.08;
  }

  .transactionDialog header span { font-size: 9px; }

  .transactionBody {
    gap: 13px;
    padding: 14px 13px 24px;
    scroll-padding-block: 76px 100px;
    scrollbar-width: none;
  }

  .transactionBody::-webkit-scrollbar { width: 0; height: 0; }

  .transactionFields,
  #depositFields { gap: 12px; }

  .transactionBody label {
    gap: 7px;
    font-size: 15px;
  }

  .transactionBody input {
    min-height: 50px;
    padding: 12px 13px;
    font-size: 16px;
  }

  .moneyInput { min-height: 50px; }
  .recentSenderSection summary { min-height: 42px; font-size: 11px; }

  .depositAccountCard {
    gap: 9px 11px;
    padding: 13px;
  }

  .depositAccountCard > small,
  .depositAccountHeader > small,
  .depositAccountFreshness { font-size: 9px; }
  .depositAccountCard > strong { font-size: 17px; }
  .depositAccountHolder { padding: 9px 10px; }
  .depositAccountHolder strong { font-size: 19px; }
  .depositAccountCard button { min-height: 46px; font-size: 14px; }
  .depositAccountCard button em { font-size: 11px; }
  .depositExactHint { padding: 8px 9px; font-size: 11px; }

  .transactionSubmit {
    position: sticky;
    z-index: 3;
    top: auto;
    right: auto;
    bottom: 0;
    left: auto;
    min-height: 54px;
    font-size: 13px;
    box-shadow: 0 -10px 20px #11031d, 0 9px 24px rgba(105, 31, 166, .3);
  }

  .requestHistory {
    gap: 10px;
    padding-top: 15px;
  }

  .requestHistory > div:first-child span,
  .requestHistory > div:first-child button { font-size: 11px; }

  .requestItem.compact {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 7px 10px;
    padding: 13px 12px 13px 16px;
  }

  .requestItem.compact .requestType {
    grid-row: 1;
    align-self: start;
    font-size: 9px;
  }

  .requestItem.compact .requestMain strong { font-size: 16px; }
  .requestItem.compact .requestMain small { font-size: 11px; }
  .requestItem.compact .requestStatus {
    grid-column: 1 / 3;
    justify-self: start;
    padding: 6px 9px;
    font-size: 10px;
  }

  .requestItem.compact time {
    grid-column: 1 / 3;
    flex-wrap: wrap;
    font-size: 10px;
  }

  .transactionScrollIndicator {
    top: calc(72px + env(safe-area-inset-top));
    bottom: calc(80px + env(safe-area-inset-bottom));
  }

  body.portal-keyboard-open .mobileDialogNav {
    display: none !important;
  }

  body.portal-keyboard-open .transactionDialog {
    top: var(--portal-viewport-top);
    height: var(--portal-viewport-height);
    max-height: var(--portal-viewport-height);
    padding-bottom: 0;
  }

  body.portal-keyboard-open .transactionDialog form {
    height: var(--portal-viewport-height);
  }

  body.portal-keyboard-open .transactionDialog header {
    min-height: 58px;
    padding-top: 0;
  }

  body.portal-keyboard-open .transactionBody {
    padding-bottom: 18px;
    scroll-padding-block: 62px 96px;
  }

  body.portal-keyboard-open .transactionBody input {
    scroll-margin-block: 62px 104px;
  }

  body.portal-keyboard-open .transactionSubmit {
    position: sticky;
    bottom: 0;
  }

  body.portal-keyboard-open .transactionScrollIndicator {
    top: 62px;
    bottom: 10px;
  }

  body.portal-keyboard-open .portalAuthDialog.compact {
    position: fixed;
    inset: auto 8px auto;
    top: calc(var(--portal-viewport-top) + 8px);
    width: calc(100vw - 16px);
    height: calc(var(--portal-viewport-height) - 16px);
    max-height: calc(var(--portal-viewport-height) - 16px);
    margin: 0 auto;
    overflow: hidden;
  }

  body.portal-keyboard-open .portalAuthDialog.compact .portalAuthCard {
    height: 100%;
    max-height: none;
    overflow-y: auto;
    padding: 40px 16px 22px;
    scroll-padding-block: 58px 112px;
  }

  body.portal-keyboard-open .portalAuthDialog.compact .portalAuthCard input {
    min-height: 48px;
    scroll-margin-block: 58px 118px;
  }

  body.portal-keyboard-open .portalAuthDialog.compact .authSubmit {
    position: static;
  }
}

@media (min-width: 521px) {
  .transactionDialog header h2 { font-size: 23px; }
  .transactionBody { gap: 14px; padding: 19px; }
  .transactionSubmit { min-height: 52px; }
  .transactionScrollIndicator { display: none; }
}

/* Portal v37: el CTA vive fuera del scroll y los cambios de vista esperan al teclado. */
.transactionDialog form {
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.transactionActionBar {
  position: relative;
  z-index: 5;
  display: grid;
  gap: 7px;
  border-top: 1px solid rgba(184, 119, 218, .2);
  padding: 10px 16px 14px;
  background:
    linear-gradient(180deg, rgba(22, 5, 38, .97), rgba(12, 2, 21, .99));
  box-shadow: 0 -8px 22px rgba(7, 1, 12, .36);
}

.transactionActionBar .formError {
  margin: 0;
  padding: 7px 9px;
  font-size: 11px;
  line-height: 1.3;
}

.transactionActionBar .formError:empty { display: none; }

.transactionActionBar .transactionSubmit {
  position: static;
  inset: auto;
  width: 100%;
  margin: 0;
  box-shadow: 0 8px 22px rgba(105, 31, 166, .28);
}

body.portal-view-transition .supportDrawer,
body.portal-view-transition .transactionDialog {
  transition: none !important;
}

@media (max-width: 520px) {
  .transactionBody {
    padding-bottom: 16px;
    scroll-padding-block: 68px 38px;
  }

  .transactionActionBar {
    padding: 9px 13px max(11px, env(safe-area-inset-bottom));
  }

  .transactionActionBar .transactionSubmit {
    min-height: 52px;
  }

  .transactionScrollIndicator {
    bottom: calc(146px + env(safe-area-inset-bottom));
  }

  body.portal-keyboard-open .mobileNav {
    visibility: hidden;
    pointer-events: none;
  }

  body.portal-keyboard-open .supportDrawer,
  body.portal-view-transition .supportDrawer.open {
    height: var(--portal-viewport-height);
  }

  body.portal-keyboard-open .chatBackdrop,
  body.portal-view-transition .chatBackdrop {
    bottom: 0;
  }

  body.portal-keyboard-open .transactionBody {
    padding-bottom: 12px;
    scroll-padding-block: 58px 34px;
  }

  body.portal-keyboard-open .transactionActionBar {
    padding: 7px 11px max(8px, env(safe-area-inset-bottom));
  }

  body.portal-keyboard-open .transactionActionBar .transactionSubmit {
    min-height: 48px;
  }

  body.portal-keyboard-open .transactionScrollIndicator {
    bottom: 66px;
  }
}

/* Centro de avisos interno: independiente de las notificaciones del sistema. */
.portalNotificationCenter { position: relative; }
.portalNotificationToggle {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(206, 151, 230, .23);
  border-radius: 13px;
  color: #f2e8f6;
  background: rgba(255, 255, 255, .055);
  cursor: pointer;
}
.portalNotificationToggle:hover,
.portalNotificationToggle[aria-expanded="true"] {
  border-color: rgba(190, 91, 236, .6);
  background: rgba(151, 46, 199, .18);
}
.portalNotificationToggle svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.portalNotificationToggle > span {
  position: absolute;
  top: -6px;
  right: -7px;
  display: grid;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  place-items: center;
  border: 2px solid #160522;
  border-radius: 999px;
  color: #fff;
  background: #ed4968;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(237, 73, 104, .35);
}
.portalNotificationPanel {
  position: absolute;
  z-index: 120;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  width: min(380px, calc(100vw - 24px));
  max-height: min(560px, calc(100vh - 90px));
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(203, 137, 231, .24);
  border-radius: 18px;
  color: #f7eff9;
  background: #160b1d;
  box-shadow: 0 24px 70px rgba(3, 0, 6, .65);
}
.portalNotificationPanel > header {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  border-bottom: 1px solid rgba(212, 165, 229, .13);
  background: linear-gradient(135deg, rgba(112, 38, 145, .19), transparent);
}
.portalNotificationPanel > header small {
  display: block;
  color: #cf83ec;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .14em;
}
.portalNotificationPanel > header h2 {
  margin: 3px 0 0;
  font-size: 18px;
}
.portalNotificationPanel > header button {
  border: 0;
  padding: 8px 5px;
  color: #d79de9;
  background: transparent;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
.portalNotificationList {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #76458a transparent;
}
.portalNotificationItem {
  position: relative;
  display: grid;
  width: 100%;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  border: 0;
  border-bottom: 1px solid rgba(210, 169, 224, .1);
  padding: 13px 14px;
  color: inherit;
  text-align: left;
  background: transparent;
  cursor: pointer;
}
.portalNotificationItem.unread { background: rgba(130, 49, 164, .13); }
.portalNotificationItem:hover { background: rgba(255, 255, 255, .055); }
.portalNotificationItemIcon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(188, 103, 222, .28);
  border-radius: 12px;
  color: #e6bcf5;
  background: rgba(137, 48, 173, .16);
  font-size: 15px;
  font-weight: 900;
}
.portalNotificationItem[data-notification-kind="request_completed"] .portalNotificationItemIcon {
  border-color: rgba(85, 220, 145, .32);
  color: #71e5a7;
  background: rgba(45, 160, 96, .13);
}
.portalNotificationItem[data-notification-kind="request_rejected"] .portalNotificationItemIcon,
.portalNotificationItem[data-notification-kind="request_cancelled"] .portalNotificationItemIcon {
  border-color: rgba(255, 98, 121, .32);
  color: #ff879a;
  background: rgba(184, 43, 66, .13);
}
.portalNotificationItemCopy { min-width: 0; display: grid; gap: 4px; }
.portalNotificationItemCopy strong { font-size: 13px; line-height: 1.25; }
.portalNotificationItem.read .portalNotificationItemCopy strong { color: #cbbdce; }
.portalNotificationItemCopy p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #aa9daf;
  font-size: 10px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.portalNotificationItemCopy time { color: #766c79; font-size: 9px; }
.portalNotificationItem > i {
  width: 7px;
  height: 7px;
  margin-top: 5px;
  border-radius: 50%;
  background: #d25df0;
  box-shadow: 0 0 9px rgba(210, 93, 240, .65);
}
.portalNotificationEmpty {
  display: grid;
  min-height: 210px;
  place-content: center;
  justify-items: center;
  gap: 7px;
  padding: 28px;
  color: #a89cac;
  text-align: center;
}
.portalNotificationEmpty span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #6fe2a4;
  background: rgba(64, 182, 115, .12);
  font-weight: 900;
}
.portalNotificationEmpty strong { color: #eee4f1; font-size: 14px; }
.portalNotificationEmpty p { max-width: 230px; margin: 0; font-size: 10px; line-height: 1.45; }
.portalNotificationPanel > footer {
  padding: 9px 14px;
  color: #746879;
  background: rgba(255, 255, 255, .025);
  font-size: 9px;
  text-align: center;
}

@media (max-width: 520px) {
  .portalNotificationToggle { width: 39px; height: 39px; border-radius: 12px; }
  .portalNotificationPanel {
    position: fixed;
    top: calc(62px + env(safe-area-inset-top));
    right: 8px;
    left: 8px;
    width: auto;
    max-height: min(600px, calc(var(--portal-viewport-height) - 78px - env(safe-area-inset-top)));
    border-radius: 16px;
  }
  .portalNotificationItem { min-height: 70px; padding: 12px; }
  .portalNotificationPanel > footer { padding-bottom: max(10px, env(safe-area-inset-bottom)); }
}

/* Portal v45: cierre responsive para telefonos angostos y teclado en pantalla. */
@media (max-width: 520px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
  }

  .platformHeader {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    overflow: visible;
  }

  .platformHeader .brand,
  .headerActions,
  .portalAccount,
  .heroPlatform,
  .heroContent,
  .heroPlatform h1,
  .heroPlatform p {
    min-width: 0;
    max-width: 100%;
  }

  .platformHeader .brand {
    overflow: hidden;
  }

  .brandCopy {
    min-width: 0;
  }

  .brandCopy strong {
    max-width: 76px;
  }

  body:not(.portal-authenticated) .platformHeader .brandCopy strong {
    max-width: 112px;
  }

  .headerActions {
    max-width: 211px;
  }

  .portalAccount > button {
    width: 166px;
    min-width: 0;
    max-width: 166px;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    grid-template-rows: 1fr 1fr;
    column-gap: 8px;
    row-gap: 0;
    justify-content: stretch;
    padding: 4px 9px 4px 4px;
    text-align: left;
  }

  .portalAccount > button span {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .portalAccount > button b,
  .portalAccount > button em {
    grid-column: 2;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .portalAccount > button b {
    grid-row: 1;
    align-self: end;
  }

  .portalAccount > button em {
    grid-row: 2;
    align-self: start;
  }

  .portalAccount > button i {
    display: none;
  }

  .portalAccountMenu {
    right: 0;
    left: auto;
    width: min(300px, calc(100vw - 16px));
    max-width: calc(100vw - 16px);
    overscroll-behavior: contain;
  }

  .portalNotificationPanel {
    max-width: calc(100vw - 16px);
  }

  .heroPlatform h1,
  .heroPlatform p {
    overflow-wrap: normal;
    word-break: normal;
  }

  .mobileNav {
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: visible;
  }

  .mobileNav a,
  .mobileNav button {
    width: auto;
    min-width: 0;
    max-width: none;
    padding-inline: 1px;
    overflow: visible;
  }

  .mobileNav b {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .supportDrawer,
  .transactionDialog,
  .transactionDialog form,
  .transactionBody,
  .transactionFields,
  .simplePortalDialog,
  .portalAuthDialog,
  .portalAuthCard {
    min-width: 0;
    max-width: 100%;
  }

  .supportDrawer > header > div,
  .supportDrawer > header > div > div,
  .chatConversation,
  .chatComposer,
  .chatComposer textarea {
    min-width: 0;
  }

  .supportDrawer header strong {
    display: block;
    max-width: calc(100vw - 116px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .chatWelcome {
    padding: 26px 18px;
  }

  .transactionBody input,
  .transactionBody textarea,
  .moneyInput,
  .depositAccountCard,
  .withdrawalBalanceCard {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .simplePortalDialog,
  .portalAuthDialog {
    width: calc(100vw - 16px);
    max-width: calc(100vw - 16px);
    max-height: calc(var(--portal-viewport-height) - 16px);
  }

  .simplePortalDialog {
    padding: 22px 16px;
  }

  .simplePortalDialog h2,
  .portalAuthCard h1,
  .portalAuthCard h2 {
    overflow-wrap: anywhere;
  }

  .dialogActions {
    min-width: 0;
  }
}

@media (max-width: 375px) {
  .platformHeader {
    padding-inline: 10px;
  }

  .brandCopy strong {
    max-width: 68px;
    font-size: 13px;
  }

  body:not(.portal-authenticated) .platformHeader .brandCopy strong {
    max-width: 104px;
  }

  .headerActions {
    max-width: 205px;
    gap: 5px;
  }

  .portalNotificationToggle {
    width: 38px;
    height: 38px;
  }

  .portalAccount > button {
    width: 162px;
    max-width: 162px;
  }

  .mobileNav a,
  .mobileNav button {
    font-size: 9px;
  }
}

@media (max-width: 360px) {
  .platformHeader {
    padding-inline: 8px;
  }

  .brandMark {
    font-size: 21px;
  }

  .brandCopy strong {
    max-width: 64px;
    font-size: 12px;
  }

  body:not(.portal-authenticated) .platformHeader .brandCopy strong {
    max-width: 96px;
  }

  .headerActions {
    max-width: 201px;
    gap: 4px;
  }

  .portalNotificationToggle {
    width: 37px;
    height: 37px;
  }

  .portalAccount > button {
    width: 160px;
    max-width: 160px;
  }

  .mobileNav {
    padding-inline: 2px;
  }

  .mobileNav .navIcon {
    width: 26px;
    height: 26px;
  }

  .mobileNav .navIcon svg {
    width: 23px;
    height: 23px;
  }

  .mobileNav .navHome .navIcon {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 520px) {
  body.portal-keyboard-open .portalAuthDialog[open],
  body.portal-keyboard-open .simplePortalDialog[open] {
    position: fixed;
    inset: auto 8px auto;
    top: calc(var(--portal-viewport-top) + 8px);
    width: calc(100vw - 16px);
    height: auto;
    max-height: calc(var(--portal-viewport-height) - 16px);
    margin: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  body.portal-keyboard-open .portalAuthDialog[open] .portalAuthCard {
    width: 100%;
    min-height: 0;
    max-height: calc(var(--portal-viewport-height) - 16px);
    overflow-y: auto;
  }
}

/* Solicitudes y soporte: confirmaciones claras, adjuntos y navegación estable. */
.recentRequestResultSection {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(95, 220, 153, .28);
  border-radius: 12px;
  padding: 12px;
  background: linear-gradient(145deg, rgba(45, 154, 99, .11), rgba(31, 18, 39, .42));
}
.recentRequestResultSection[hidden] { display: none; }
.recentRequestResultSection .requestSectionHeading span { color: #75e4aa; }
.recentRequestResultSection[data-status="rejected"] {
  border-color: rgba(255, 91, 116, .3);
  background: linear-gradient(145deg, rgba(177, 46, 68, .11), rgba(31, 18, 39, .42));
}
.recentRequestResultSection[data-status="rejected"] .requestSectionHeading span { color: #ff9cac; }
.recentRequestResultSection[data-status="cancelled"] {
  border-color: rgba(151, 136, 160, .25);
  background: rgba(255, 255, 255, .025);
}
.recentRequestResultList .requestItem { background: rgba(4, 17, 11, .25); }

@keyframes requestFocusPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 188, 15, 0); }
  35% { box-shadow: 0 0 0 4px rgba(255, 188, 15, .22); }
}
.requestItem.requestFocusPulse { animation: requestFocusPulse .9s ease 2; }

.depositAccountCard button.copied {
  border-color: rgba(71, 218, 142, .58);
  background: rgba(38, 166, 100, .13);
}
.depositAccountCard button.copied em { color: #72e3a8; }
.depositAccountCard button.copyFailed {
  border-color: rgba(255, 91, 116, .52);
  background: rgba(190, 45, 67, .11);
}
.depositAccountCard button.copyFailed em { color: #ff91a3; }

.chatConversation { grid-template-rows: minmax(0, 1fr) auto auto auto; }
.supportAttachmentPreview {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #e3d9e7;
  padding: 8px 10px;
  color: #432b4e;
  background: #fff;
}
.supportAttachmentPreview[hidden] { display: none; }
.supportAttachmentPreview > span {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 2px;
}
.supportAttachmentPreview strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.supportAttachmentPreview small { color: #86738e; font-size: 10px; }
.supportAttachmentPreview > button {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  color: #66516f;
  background: #f0e9f3;
  font-size: 22px;
  cursor: pointer;
}
.supportAttachmentThumb {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(145deg, #6425c8, #a42ad0);
  font-size: 12px;
  font-weight: 900;
}
.supportAttachmentThumb img { width: 100%; height: 100%; object-fit: cover; }

.chatComposer { position: relative; }
.chatComposer .composerTool,
.chatComposer .composerSend {
  width: 44px;
  min-width: 44px;
  height: 44px;
  flex: 0 0 auto;
}
.chatComposer .composerTool {
  display: grid;
  place-items: center;
  border: 1px solid #dfd3e4;
  border-radius: 12px;
  color: #66516f;
  background: #f6f1f7;
  box-shadow: none;
  font-size: 22px;
}
.chatComposer .composerTool:hover,
.chatComposer .composerTool[aria-expanded="true"] {
  border-color: #af72c7;
  color: #7e2ca6;
  background: #f1e5f5;
}
.chatComposer .composerTool svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chatComposer .composerTool:focus-visible {
  outline: 2px solid #8a36b1;
  outline-offset: 2px;
}
.supportEmojiPicker {
  position: absolute;
  z-index: 5;
  right: 8px;
  bottom: calc(100% + 8px);
  left: 8px;
  max-height: min(290px, 42vh);
  overflow-y: auto;
  border: 1px solid #dfd2e4;
  border-radius: 15px;
  padding: 12px;
  color: #42294d;
  background: #fff;
  box-shadow: 0 18px 48px rgba(42, 18, 53, .22);
}
.supportEmojiPicker[hidden] { display: none; }
.supportEmojiPicker > strong {
  display: block;
  margin: 0 0 8px 3px;
  color: #75547f;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.supportEmojiRecent,
.supportEmojiList {
  display: grid;
  grid-template-columns: repeat(8, minmax(34px, 1fr));
  gap: 3px;
}
.supportEmojiRecent {
  margin-bottom: 9px;
  border-bottom: 1px solid #eee7f0;
  padding-bottom: 8px;
}
.supportEmojiRecent[hidden] { display: none; }
.supportEmojiPicker button {
  min-width: 34px;
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: transparent;
  box-shadow: none;
  font-size: 22px;
  cursor: pointer;
}
.supportEmojiPicker button:hover { background: #f2eaf5; }

.message:has(.supportMedia) { width: min(84%, 330px); }
.supportMedia { display: block; max-width: 100%; }
.supportImage,
.supportVideo {
  overflow: hidden;
  border-radius: 9px;
  background: rgba(20, 7, 27, .12);
}
.supportImage img {
  width: 100%;
  max-height: 310px;
  display: block;
  object-fit: contain;
}
.supportVideo { width: 100%; max-height: 310px; }
.supportAudio { width: min(290px, 100%); height: 42px; }
.supportDocument {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 2px 9px;
  border-radius: 9px;
  padding: 9px;
  color: inherit;
  background: rgba(117, 71, 138, .11);
  text-decoration: none;
}
.supportDocument > span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: #8a36b0;
  font-size: 10px;
  font-weight: 900;
}
.supportDocument b { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.supportDocument small { color: currentColor; font-size: 9px; opacity: .66; }
.message .supportMedia + p { margin-top: 8px; }

/* Más contenido visible, manteniendo controles táctiles de al menos 44 px. */
.transactionFields,
#depositFields { gap: 10px; }
.depositAccountCard { gap: 7px 10px; padding: 11px 12px; }
.depositAccountHolder { padding-block: 8px; }
.depositAccountCard button { min-height: 44px; }
.depositExactHint { padding-block: 7px; }

/* Portal v49: pasos breves y reutilización segura de una cuenta de retiro previa. */
.transactionStepTitle,
.transactionStepLine {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.transactionStepTitle > span,
.transactionStepLine > span {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(219, 160, 240, .34);
  border-radius: 50%;
  color: #f3dcfb;
  background: rgba(151, 54, 185, .16);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}
.transactionStepTitle > small {
  color: #cbbbd1;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .1em;
}
.transactionStepLine {
  min-height: 28px;
  margin: 1px 1px -2px;
  color: #e9dfea;
}
.transactionStepLine > strong {
  min-width: 0;
  font-size: 12px;
  line-height: 1.25;
}

.recentWithdrawalSection {
  overflow: hidden;
  border: 1px solid rgba(187, 129, 212, .22);
  border-radius: 10px;
  background: rgba(255, 255, 255, .025);
}
.recentWithdrawalSection[hidden] { display: none; }
.recentWithdrawalSection summary {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 11px;
  color: #d8cadf;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.recentWithdrawalSection summary::-webkit-details-marker { display: none; }
.recentWithdrawalSection summary small {
  color: #c686df;
  font-size: 9px;
  letter-spacing: .08em;
}
.recentWithdrawalSuggestions {
  display: grid;
  gap: 1px;
  border-top: 1px solid rgba(187, 129, 212, .18);
}
.recentWithdrawalSuggestions button {
  min-width: 0;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 0;
  border-radius: 0;
  padding: 8px 11px;
  color: #f1e9f3;
  background: rgba(13, 5, 18, .62);
  box-shadow: none;
  text-align: left;
  cursor: pointer;
}
.recentWithdrawalSuggestions button + button { border-top: 1px solid rgba(187, 129, 212, .13); }
.recentWithdrawalSuggestions button:hover { background: rgba(131, 55, 160, .14); }
.recentWithdrawalSuggestions button > span {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.recentWithdrawalSuggestions strong,
.recentWithdrawalSuggestions small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recentWithdrawalSuggestions strong { font-size: 12px; }
.recentWithdrawalSuggestions small { color: #ad9db4; font-size: 10px; }
.recentWithdrawalSuggestions em {
  flex: 0 0 auto;
  color: #ca8be1;
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .07em;
}

@media (max-width: 520px) {
  .recentRequestResultSection { padding: 11px; }
  .chatComposer {
    gap: 5px;
    padding: 8px;
  }
  .chatComposer .composerTool,
  .chatComposer .composerSend {
    width: 44px;
    min-width: 44px;
    height: 46px;
  }
  .supportEmojiList,
  .supportEmojiRecent { grid-template-columns: repeat(7, minmax(34px, 1fr)); }
  .message:has(.supportMedia) { width: min(88%, 330px); }
  .depositAccountCard { padding: 11px; }
}

@media (max-width: 380px) {
  .supportEmojiList,
  .supportEmojiRecent { grid-template-columns: repeat(6, minmax(34px, 1fr)); }
}

@media (max-width: 820px) {
  .mobileNav {
    position: fixed;
    top: auto;
    bottom: 0;
  }
}

/* Portal v48: avisos útiles, actualización silenciosa y perfil estable. */
.portalNotificationPanel > header #markAllPortalNotificationsRead {
  min-height: 34px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(211, 132, 237, .32);
  border-radius: 999px;
  padding: 7px 11px;
  color: #f0d8f8;
  background: rgba(151, 54, 185, .16);
  font-size: 9px;
  font-weight: 850;
  line-height: 1.15;
  white-space: nowrap;
}
.portalNotificationPanel > header #markAllPortalNotificationsRead:hover {
  border-color: rgba(224, 157, 247, .52);
  background: rgba(173, 65, 210, .25);
}
.portalNotificationPanel > header #markAllPortalNotificationsRead:disabled {
  cursor: wait;
  opacity: .55;
}
.portalNotificationPanel > header #markAllPortalNotificationsRead[hidden] { display: none; }

[data-open-support]:not(.supportLauncher) { position: relative; }
.supportUnreadBadge {
  position: absolute;
  z-index: 2;
  top: 5px;
  left: calc(50% + 7px);
  display: grid !important;
  min-width: 18px;
  height: 18px;
  place-items: center;
  border: 2px solid #0e0217;
  border-radius: 999px;
  padding: 0 4px;
  color: #fff !important;
  background: #ed4968;
  font-size: 9px !important;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 4px 13px rgba(237, 73, 104, .38);
}
.supportUnreadBadge[hidden] { display: none !important; }
.mobileNav [data-open-support].hasSupportUnread { color: #fff; }
.mobileNav [data-open-support].hasSupportUnread .navIcon { color: #f0b3ff; }

.accountBalance {
  width: 100%;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px 9px;
  box-sizing: border-box;
}
.accountBalance > div {
  min-width: 0;
  grid-column: 1 / -1;
  gap: 8px;
}
.accountBalance > div span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.accountBalance > strong {
  min-width: 0;
  max-width: 100%;
  grid-column: 1 / -1;
  grid-row: auto;
  overflow: hidden;
  font-size: clamp(21px, 7vw, 27px);
  font-variant-numeric: tabular-nums;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.accountBalance > small,
.accountBalance > time {
  min-width: 0;
  max-width: 100%;
  grid-column: 1 / -1;
  justify-self: start;
  overflow: hidden;
  margin: 0;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.accountBalance > time[data-state="stale"] { color: #cbaa75; }

/* Las nuevas versiones se aplican en silencio cuando no hay un formulario en curso. */
.portalUpdate { display: none !important; }
.portalToast {
  top: auto;
  right: auto;
  bottom: max(18px, env(safe-area-inset-bottom));
  max-width: min(420px, calc(100vw - 24px));
  contain: layout paint;
}

/* Portal v52: acceso a Juegos verificable, operaciones legibles y sin fugas visuales. */
body.portal-games-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

body.portal-games-open > .mobileNav,
body.portal-games-open > .supportLauncher {
  visibility: hidden !important;
  pointer-events: none !important;
}

.gameOverlay,
.gameViewport,
.gameUnavailable {
  overscroll-behavior: none;
}

.gameOverlay { isolation: isolate; }
.gameViewport { contain: layout paint; }
.gameUnavailable {
  overflow: hidden;
  place-content: center;
  padding: clamp(12px, 2.4vh, 24px);
}

.gameUnavailableCard {
  width: min(520px, calc(100vw - 28px));
  max-height: calc(var(--portal-viewport-height) - 118px);
  overflow-y: auto;
  overscroll-behavior: contain;
  box-sizing: border-box;
  padding: clamp(20px, 3vh, 28px);
  scrollbar-width: thin;
}

.gameUnavailableCard > small {
  display: block;
  font-size: 10px;
  line-height: 1.35;
}

.gameUnavailableCard h2 {
  margin: 8px 0 7px;
  font-size: clamp(25px, 5vw, 30px);
  line-height: 1.08;
}

.gameUnavailableCard > p {
  color: #ded1e3;
  font-size: 15px;
  line-height: 1.48;
}

.gameAccountGuide {
  gap: 6px;
  margin-top: 14px;
  border-color: rgba(255, 209, 72, .23);
  padding: 13px 14px;
  background: rgba(255, 201, 53, .055);
}

.gameAccountGuide > strong {
  color: #dfd2e4;
  font-size: 13px;
}

.gameAccountGuide > b {
  overflow-wrap: anywhere;
  color: #ffe277;
  font-size: 20px;
  line-height: 1.15;
}

.gameAccountGuide > p {
  color: #f1e7f4;
  font-size: 14px;
  line-height: 1.45;
}

.gameUnavailableActions {
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 16px;
}

.gameUnavailableActions .gameDirectButton {
  grid-column: 1 / -1;
  min-height: 58px;
  border-color: rgba(255, 218, 67, .9) !important;
  color: #201204 !important;
  background: linear-gradient(100deg, #ffd739, #ffb817) !important;
  box-shadow: 0 12px 30px rgba(255, 187, 24, .22);
}

.gameDirectButton > span,
.gameDirectButton strong,
.gameDirectButton small { color: inherit; }
.gameDirectButton strong { font-size: 13px; }
.gameDirectButton small { color: #533300; font-size: 10px; }
.gameRetryButton,
.gameSupportButton {
  min-height: 48px;
  font-size: 10px !important;
}
.gameRetryButton { background: rgba(255, 255, 255, .08) !important; }
.gameSupportButton {
  border: 1px solid rgba(192, 114, 226, .38) !important;
  background: rgba(121, 48, 159, .24) !important;
  box-shadow: none !important;
}

.activeRequestSection {
  gap: 12px;
  margin-top: 0;
  padding: 15px;
}

.activeRequestSection[data-type="deposit"] {
  border-color: rgba(255, 178, 67, .42);
  background: linear-gradient(145deg, rgba(255, 151, 35, .12), rgba(57, 22, 66, .25));
}

.activeRequestSection[data-type="withdrawal"] {
  border-color: rgba(90, 177, 255, .42);
  background: linear-gradient(145deg, rgba(50, 142, 224, .13), rgba(41, 23, 72, .27));
}

.activeRequestSection[data-type="withdrawal"] .requestSectionHeading span {
  color: #8dccff;
}

.requestSectionHeading span { font-size: 11px; }
.requestSectionHeading small {
  color: #c7b8cc;
  font-size: 11px;
  line-height: 1.3;
}

.requestItem.deposit .requestType {
  color: #ffd99c;
  background: rgba(197, 111, 20, .28);
}

.requestItem.withdrawal .requestType {
  color: #bfe2ff;
  background: rgba(37, 119, 190, .28);
}

.requestItem.deposit::before { background: #ffab43; }
.requestItem.withdrawal::before { background: #5cb4ff; }
.requestItem .requestMain small { color: #c1b2c6; }
.requestItem time,
.requestItem.compact time { color: #c1b2c6; font-size: 11px; }
.requestItem time span,
.requestItem.compact time span { color: #97869e; font-size: 9px; }
.requestItem time b,
.requestItem.compact time b { color: #e3d8e7; font-size: 11px; }

.activeRequestGuidance {
  display: grid;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 12px;
}

.activeRequestGuidance p {
  margin: 0;
  color: #ece0ef;
  font-size: 13px;
  line-height: 1.5;
}

.activeRequestGuidance button {
  min-height: 42px;
  border: 1px solid rgba(209, 155, 233, .3);
  border-radius: 9px;
  color: #f3e9f6;
  background: rgba(255, 255, 255, .055);
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.transactionActionBar .formError {
  border: 1px solid rgba(255, 106, 132, .28);
  border-radius: 8px;
  color: #ffb6c2;
  background: rgba(255, 71, 105, .08);
  font-size: 13px;
  line-height: 1.42;
}

.accountBalance > time {
  color: #aa98b0;
  font-size: 11px;
}

.portalAccountMenu > strong {
  margin-bottom: 3px;
  font-size: 16px;
}

@media (max-width: 520px) {
  .gameOverlay > header {
    min-height: calc(56px + env(safe-area-inset-top));
  }

  .gameUnavailableCard {
    max-height: calc(var(--portal-viewport-height) - 92px);
    border-radius: 17px;
    padding: 18px 16px;
  }

  .gameUnavailableIcon {
    width: 40px;
    height: 40px;
    margin-bottom: 11px;
    font-size: 21px;
  }

  .gameUnavailableCard > small { font-size: 9px; }
  .gameUnavailableCard h2 { font-size: 25px; }
  .gameUnavailableCard > p { font-size: 14px; }
  .gameAccountGuide > strong { font-size: 12px; }
  .gameAccountGuide > b { font-size: 19px; }
  .gameAccountGuide > p { font-size: 13px; }
  .gameUnavailableActions { gap: 8px; }
  .gameRetryButton,
  .gameSupportButton { padding-inline: 8px !important; font-size: 9px !important; }

  .activeRequestSection { padding: 13px; }
  .requestSectionHeading {
    align-items: start;
    flex-direction: column;
    gap: 4px;
  }
  .requestSectionHeading span { font-size: 12px; }
  .requestSectionHeading small { text-align: left; }
  .activeRequestGuidance p { font-size: 13px; }

  .portalAccount > button {
    width: auto;
    min-width: 0;
    max-width: min(210px, calc(100vw - 125px));
  }
  .portalAccount > button b { max-width: 84px; }
  .accountBalance > time { font-size: 11px; }
}

@media (max-height: 620px) {
  .gameUnavailableCard {
    max-height: calc(var(--portal-viewport-height) - 78px);
    padding-block: 13px;
  }
  .gameUnavailableIcon { display: none; }
  .gameUnavailableCard h2 { font-size: 22px; }
  .gameAccountGuide { margin-top: 9px; padding-block: 9px; }
  .gameUnavailableActions { margin-top: 10px; }
}

@media (max-width: 820px) {
  .mobileNav {
    top: auto !important;
    bottom: 0 !important;
    transform: translateZ(0);
  }
  .portalToast {
    top: auto !important;
    bottom: calc(78px + env(safe-area-inset-bottom));
  }
  body.portal-keyboard-open .portalToast { bottom: 12px; }
}

@media (max-width: 380px) {
  .portalNotificationPanel > header #markAllPortalNotificationsRead {
    max-width: 132px;
    padding-inline: 9px;
    white-space: normal;
  }
  .portalAccountMenu {
    width: calc(100vw - 12px);
    max-width: calc(100vw - 12px);
    padding: 11px;
  }
  .accountBalance > strong { font-size: 23px; }
}

/* Portal v49: acceso claro, recuperación determinista y controles móviles legibles. */
body:not(.portal-authenticated) .desktopNav,
body:not(.portal-authenticated) .mobileNav,
body:not(.portal-authenticated) .supportLauncher,
body:not(.portal-authenticated) > .platformHeader,
body:not(.portal-authenticated) > #inicio,
body:not(.portal-authenticated) > .siteFooter,
body:not(.portal-authenticated) > .mobileNav,
body:not(.portal-authenticated) > .supportLauncher {
  display: none !important;
}

body:not(.portal-authenticated) {
  min-height: var(--portal-viewport-height, 100svh);
  padding: 0 !important;
}

body:not(.portal-authenticated) .platformHeader .brandCopy strong {
  max-width: none !important;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

.portalAuthDialog .passwordField {
  width: 100%;
  min-width: 0;
}

.portalAuthDialog .passwordField input {
  width: 100%;
  padding-right: 76px;
}

.portalAuthDialog .passwordField button {
  min-width: 62px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.portalAuthDialog .passwordField button[aria-pressed="true"] {
  color: #fff;
  background: rgba(179, 57, 226, .2);
}

#recoveryDialog[data-mode="support"] #recoveryIdentityFields {
  gap: 9px;
}

#recoveryDialog[data-mode="support"] #recoverySubmit {
  background: linear-gradient(90deg, #5830a9, #9b32bd);
}

@media (max-width: 820px) {
  body:not(.portal-authenticated) {
    padding-bottom: 0 !important;
  }
}

@media (max-width: 520px) {
  .platformHeader .brand {
    overflow: visible;
  }

  .platformHeader .brandCopy strong {
    max-width: none !important;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
  }

  body:not(.portal-authenticated) .platformHeader {
    padding-inline: 12px;
  }

  body:not(.portal-authenticated) .platformHeader .brand {
    overflow: visible;
  }

  body:not(.portal-authenticated) .platformHeader .brandCopy strong {
    font-size: 14px;
  }

  .portalAuthDialog {
    width: calc(100vw - 16px);
    max-width: calc(100vw - 16px);
    max-height: calc(var(--portal-viewport-height) - 16px);
    border-radius: 16px;
  }

  .portalAuthCard,
  .portalAuthDialog.compact .portalAuthCard {
    gap: 13px;
    padding: 22px 17px 18px;
  }

  .portalAuthDialog.compact .portalAuthCard {
    padding-top: 42px;
  }

  .authBrand {
    gap: 10px;
    padding-bottom: 14px;
  }

  .authBrand > div {
    min-width: 0;
  }

  .authBrand strong {
    display: block;
    max-width: none;
    overflow: visible;
    font-size: 17px;
    text-overflow: clip;
    white-space: nowrap;
  }

  .authHeading h1,
  .authHeading h2,
  .portalAuthDialog.compact .authHeading h2 {
    font-size: 24px;
    line-height: 1.08;
  }

  .authHeading p,
  .portalAuthDialog.compact .authHeading p {
    font-size: 12px;
    line-height: 1.45;
  }

  .portalAuthCard > label,
  .signupFields > label {
    gap: 6px;
    font-size: 12px;
  }

  .portalAuthCard input,
  .portalAuthDialog.compact .portalAuthCard input {
    min-height: 50px;
    height: 50px;
    border-radius: 11px;
    padding-block: 0;
    font-size: 16px;
  }

  .portalAuthDialog .passwordField input {
    padding-right: 76px;
  }

  .authSubmit {
    min-height: 50px;
    height: auto;
    padding: 12px 14px;
    font-size: 11px;
    line-height: 1.25;
  }

  .authSupportActions button {
    min-height: 44px;
    font-size: 10px;
  }
}

@media (max-width: 420px) {
  .authSupportActions {
    grid-template-columns: 1fr;
    gap: 7px;
  }
}

@media (max-width: 360px) {
  .platformHeader .brandCopy small {
    display: none;
  }
}

/* Portal v51: navegación por capas, avisos cerrables y solicitudes sin ambigüedad. */
.portalNotificationHeaderActions {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.portalNotificationPanel > header .closePortalNotifications {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(220, 178, 235, .16);
  border-radius: 10px;
  padding: 0;
  color: #d8cddd;
  background: rgba(255, 255, 255, .055);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.portalNotificationPanel > header .closePortalNotifications:hover {
  color: #fff;
  background: rgba(190, 91, 236, .16);
}

.portalToast {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
}

.portalToast > span { min-width: 0; }

.portalToast > button {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  padding: 0;
  color: inherit;
  background: rgba(255, 255, 255, .09);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}

.portalToast[data-tone="success"] {
  border-color: rgba(91, 224, 154, .42);
  background: #123829;
}

.portalToast[data-tone="danger"] {
  border-color: rgba(255, 111, 134, .42);
  background: #421725;
}

@media (max-width: 520px) {
  .headerActions {
    max-width: calc(100vw - 116px);
  }

  .portalAccount > button {
    width: fit-content;
    min-width: 132px;
    max-width: 154px;
    grid-template-columns: 32px minmax(72px, 1fr);
  }

  .portalNotificationPanel > header {
    padding-right: 10px;
  }

  .portalNotificationPanel > header #markAllPortalNotificationsRead {
    min-height: 34px;
  }
}

@media (max-width: 375px) {
  .portalAccount > button {
    width: fit-content;
    min-width: 126px;
    max-width: 148px;
  }
}

@media (max-width: 340px) {
  .headerActions { max-width: calc(100vw - 62px); }
  .platformHeader .brandCopy small { display: none; }
  .platformHeader .brandCopy strong { font-size: 12px; }
}

/* Portal v69: identidad vectorial Red Tokyo, legible también a 320 px. */
@media (max-width: 520px) {
  .platformHeader .brand {
    width: 110px;
    max-width: 110px;
    flex: 0 1 110px;
    overflow: visible;
  }

  .headerBrandWordmark { width: 110px; }

  body:not(.portal-authenticated) .platformHeader .brand {
    width: 138px;
    max-width: 138px;
    flex-basis: 138px;
  }

  body:not(.portal-authenticated) .headerBrandWordmark { width: 138px; }
  .authBrandWordmark { width: 190px; max-width: min(190px, 72vw); }
}

@media (max-width: 375px) {
  .platformHeader .brand {
    width: 98px;
    max-width: 98px;
    flex-basis: 98px;
  }

  .headerBrandWordmark { width: 98px; }

  body:not(.portal-authenticated) .platformHeader .brand {
    width: 130px;
    max-width: 130px;
    flex-basis: 130px;
  }

  body:not(.portal-authenticated) .headerBrandWordmark { width: 130px; }
}

@media (max-width: 340px) {
  .platformHeader .brand {
    width: 90px;
    max-width: 90px;
    flex-basis: 90px;
  }

  .headerBrandWordmark { width: 90px; }

  body:not(.portal-authenticated) .platformHeader .brand {
    width: 122px;
    max-width: 122px;
    flex-basis: 122px;
  }

  body:not(.portal-authenticated) .headerBrandWordmark { width: 122px; }
}

/* Portal v53: estados semánticos, perfil compacto y adjuntos sin permisos accidentales. */
.transactionBootstrap {
  min-height: 210px;
  place-content: center;
  justify-items: center;
  gap: 12px;
  border: 1px solid rgba(190, 126, 219, .2);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  background: rgba(255, 255, 255, .035);
}

.transactionBootstrap:not([hidden]) { display: grid; }

.transactionBootstrapSpinner {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(215, 177, 232, .2);
  border-top-color: #c46ee9;
  border-radius: 50%;
  animation: portalSpin .75s linear infinite;
}

@keyframes portalSpin { to { transform: rotate(360deg); } }

.transactionBootstrap.error .transactionBootstrapSpinner { display: none; }

.transactionBootstrap strong {
  color: #f6edf8;
  font-size: 17px;
}

.transactionBootstrap p {
  max-width: 360px;
  margin: 0;
  color: #c9bace;
  font-size: 13px;
  line-height: 1.5;
}

.transactionBootstrap button {
  min-height: 42px;
  border: 1px solid rgba(207, 130, 239, .34);
  border-radius: 10px;
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(110deg, #6d2bc1, #9d32ce);
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.requestItem {
  --request-accent: #e3a43a;
  --request-border: rgba(227, 164, 58, .28);
  --request-surface: rgba(117, 74, 20, .09);
  border-color: var(--request-border);
  background: linear-gradient(145deg, var(--request-surface), rgba(22, 10, 28, .5));
}

.requestItem::before,
.requestItem.deposit::before,
.requestItem.withdrawal::before {
  background: var(--request-accent);
}

.requestItem.submitted {
  --request-accent: #edae42;
  --request-border: rgba(237, 174, 66, .3);
  --request-surface: rgba(143, 91, 21, .1);
}

.requestItem.matched,
.requestItem.reviewing,
.requestItem.approved,
.requestItem.processing {
  --request-accent: #58aef5;
  --request-border: rgba(88, 174, 245, .3);
  --request-surface: rgba(34, 105, 165, .11);
}

.requestItem.completed {
  --request-accent: #4bd48e;
  --request-border: rgba(75, 212, 142, .3);
  --request-surface: rgba(31, 139, 87, .105);
}

.requestItem.rejected {
  --request-accent: #ff657e;
  --request-border: rgba(255, 101, 126, .34);
  --request-surface: rgba(157, 41, 61, .115);
}

.requestItem.cancelled {
  --request-accent: #cf6c7c;
  --request-border: rgba(207, 108, 124, .26);
  --request-surface: rgba(112, 47, 59, .085);
}

.requestItem.submitted .requestStatus {
  border-color: rgba(237, 174, 66, .3);
  color: #f3c874;
  background: rgba(151, 96, 23, .12);
}

.requestItem.matched .requestStatus,
.requestItem.reviewing .requestStatus,
.requestItem.approved .requestStatus,
.requestItem.processing .requestStatus {
  border-color: rgba(88, 174, 245, .32);
  color: #9ed1fb;
  background: rgba(37, 116, 181, .13);
}

.requestItem.completed .requestStatus {
  border-color: rgba(75, 212, 142, .32);
  color: #83e8b3;
  background: rgba(35, 150, 92, .13);
}

.requestItem.rejected .requestStatus,
.requestItem.cancelled .requestStatus {
  border-color: rgba(255, 101, 126, .31);
  color: #ff9cac;
  background: rgba(166, 47, 67, .12);
}

.activeRequestList .requestItem {
  border-color: var(--request-border);
  background: linear-gradient(145deg, var(--request-surface), rgba(20, 8, 27, .52));
}

.portalAccountMenu {
  width: 258px;
  gap: 6px;
  border-radius: 15px;
  padding: 10px;
}

.portalAccountMenu > strong {
  margin: 0;
  padding: 2px 3px 1px;
  font-size: 14px;
  line-height: 1.25;
}

.accountBalance {
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 8px;
  margin: 0 0 2px;
  border-radius: 10px;
  padding: 9px 10px;
}

.accountBalance > div {
  grid-column: 1 / -1;
  gap: 8px;
}

.accountBalance > div span {
  color: #c7b7cc;
  font-size: 10px;
  letter-spacing: .075em;
}

.portalAccountMenu .accountBalance button {
  min-width: 82px;
  height: 30px;
  border: 1px solid rgba(255, 211, 74, .24);
  border-radius: 8px;
  padding: 0 9px;
  color: #ffe073;
  background: rgba(255, 204, 54, .08);
  font-size: 9px;
}

.accountBalance > strong {
  grid-column: 1 / -1;
  grid-row: auto;
  font-size: 22px;
  line-height: 1.05;
}

.accountBalance > small,
.accountBalance > time {
  grid-column: 1 / -1;
  justify-self: start;
  font-size: 10px;
  line-height: 1.25;
}

.portalAccountMenu > button {
  min-height: 38px;
  padding: 9px 10px;
  font-size: 11px;
}

.portalAccountMenu .notificationSettingToggle {
  padding-right: 48px;
}

.portalNotificationItem {
  min-height: 76px;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 11px;
  padding: 14px;
}

.portalNotificationItemIcon {
  width: 38px;
  height: 38px;
  font-size: 18px;
}

.portalNotificationItemCopy {
  gap: 5px;
}

.portalNotificationItemCopy strong {
  color: #f5ecf7;
  font-size: 14px;
  line-height: 1.3;
}

.portalNotificationItemCopy p {
  color: #c4b7c8;
  font-size: 12px;
  line-height: 1.42;
}

.portalNotificationItemCopy time {
  color: #9b8ca1;
  font-size: 10px;
}

.supportAttachmentMenu {
  position: absolute;
  z-index: 7;
  right: 8px;
  bottom: calc(100% + 8px);
  left: 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  border: 1px solid #dfd2e4;
  border-radius: 15px;
  padding: 12px;
  color: #42294d;
  background: #fff;
  box-shadow: 0 18px 48px rgba(42, 18, 53, .22);
}

.supportAttachmentMenu[hidden] { display: none; }

.supportAttachmentMenu > strong {
  grid-column: 1 / -1;
  margin: 0 0 2px 3px;
  color: #75547f;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.supportAttachmentMenu > button {
  width: 100%;
  height: auto;
  min-height: 60px;
  min-width: 0;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  grid-template-rows: auto;
  column-gap: 10px;
  align-items: center;
  border: 1px solid #e8dfea;
  border-radius: 11px;
  padding: 9px 10px;
  color: #442c4d;
  text-align: left;
  background: #faf7fb;
  box-shadow: none;
  cursor: pointer;
  touch-action: manipulation;
}

.supportAttachmentMenu > button:hover {
  border-color: #c99bd9;
  background: #f4eaf7;
}

.supportAttachmentMenu > button span {
  grid-row: 1;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(145deg, #6425c8, #a42ad0);
  font-size: 11px;
  font-weight: 900;
}

.supportAttachmentMenu > button span svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.supportAttachmentMenu > button b {
  align-self: center;
  font-size: 13px;
  line-height: 1.2;
}

.supportAttachmentMenu > button small {
  align-self: start;
  color: #8b7b91;
  font-size: 10px;
  line-height: 1.25;
}

@media (max-width: 520px) {
  .supportAttachmentMenu {
    right: 9px;
    left: 9px;
    max-height: min(150px, 30vh);
  }

  .supportAttachmentMenu > button { min-height: 58px; padding: 8px; }
}

@media (max-width: 520px) {
  .portalAccountMenu {
    width: min(258px, calc(100vw - 16px));
    max-width: min(258px, calc(100vw - 16px));
    gap: 5px;
    padding: 9px;
  }

  .portalAccountMenu > strong { font-size: 14px; }
  .portalAccountMenu > button {
    min-height: 38px;
    padding-block: 8px;
    font-size: 11px;
  }
  .accountBalance { min-height: 0; padding: 9px; }
  .accountBalance > strong { font-size: 22px; }
  .accountBalance > time { font-size: 10px; }

  .portalNotificationItem {
    min-height: 78px;
    padding: 13px 12px;
  }
  .portalNotificationItemCopy strong { font-size: 14px; }
  .portalNotificationItemCopy p { font-size: 12px; }
  .portalNotificationItemCopy time { font-size: 10px; }
}

/* Interfaz Híbrido Tokyo: panel financiero, contenido y soporte en una sola portada. */
:root {
  --hybrid-bg: #09050f;
  --hybrid-surface: #181020;
  --hybrid-surface-2: #22132e;
  --hybrid-surface-3: #2c183a;
  --hybrid-line: rgba(190, 119, 242, .22);
  --hybrid-line-strong: rgba(190, 119, 242, .42);
  --hybrid-text: #faf6fc;
  --hybrid-muted: #c9bdd0;
  --hybrid-muted-2: #a697ad;
  --hybrid-primary: #8534da;
  --hybrid-primary-2: #b846e7;
  --hybrid-accent: #f3c64e;
  --hybrid-success: #59d899;
  --hybrid-shadow: 0 18px 52px rgba(2, 0, 6, .32);
}

.portalShell {
  width: min(1120px, calc(100% - 32px));
  margin-top: 22px;
}

.heroPlatform {
  min-height: 0;
  display: block;
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.heroPlatform::before,
.heroGlow,
.heroBadge { display: none; }

.heroContent {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 12px;
}

.hybridWelcome {
  grid-column: 1 / -1;
  padding: 4px 2px 2px;
}

body.portal-authenticated .hybridWelcome { display: none; }

.hybridWelcome .eyebrow { color: var(--hybrid-accent); font-size: 13px; }
.hybridWelcome h1,
.heroPlatform .hybridWelcome h1 {
  margin: 9px 0 6px;
  color: var(--hybrid-text);
  font-size: clamp(31px, 4vw, 47px);
  line-height: 1.04;
  text-transform: none;
}
.heroPlatform .hybridWelcome p {
  max-width: 650px;
  color: var(--hybrid-muted);
  font-size: 15px;
  line-height: 1.5;
}

.heroBalance {
  position: relative;
  isolation: isolate;
  width: auto;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 0;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--hybrid-line-strong);
  border-radius: 21px;
  padding: 19px;
  background: linear-gradient(145deg, var(--hybrid-surface-2), var(--hybrid-surface));
  background:
    radial-gradient(circle at 102% -8%, color-mix(in srgb, var(--hybrid-primary) 26%, transparent), transparent 43%),
    linear-gradient(145deg, var(--hybrid-surface-2), var(--hybrid-surface));
  box-shadow: var(--hybrid-shadow);
}

.heroBalance::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 170px;
  height: 170px;
  top: -94px;
  right: -78px;
  border: 25px solid color-mix(in srgb, var(--hybrid-primary) 14%, transparent);
  border-radius: 50%;
}

.hybridWalletTop {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.heroBalanceMeta { display: grid; gap: 4px; }
.heroBalanceMeta small {
  color: var(--hybrid-muted);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .07em;
}
.heroBalanceMeta span {
  max-width: 220px;
  color: var(--hybrid-muted-2);
  font-size: 13px;
  font-weight: 700;
}
.heroBalanceMeta span[hidden] { display: none; }

.hybridWalletTop > time {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  max-width: 180px;
  color: var(--hybrid-success);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
  text-align: right;
}

.hybridWalletTop > time::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 11px currentColor;
}

.heroBalance > strong,
.heroBalance #heroBalanceAmount {
  grid-column: auto;
  grid-row: auto;
  margin-top: 9px;
  color: var(--hybrid-text);
  font-size: clamp(35px, 5vw, 44px);
  line-height: 1;
  letter-spacing: -.05em;
}

.hybridWalletActions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
  padding-top: 0;
}

.hybridActionButton {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--hybrid-line);
  border-radius: 14px;
  color: var(--hybrid-text);
  background: rgba(42, 22, 55, .78);
  background: color-mix(in srgb, var(--hybrid-surface-3) 78%, transparent);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.hybridActionButton.primary {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(120deg, var(--hybrid-primary), var(--hybrid-primary-2));
  box-shadow: 0 10px 28px color-mix(in srgb, var(--hybrid-primary) 29%, transparent);
}
.hybridActionButton svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hybridRequestSection {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--hybrid-line);
  border-radius: 21px;
  padding: 12px 14px 14px;
  background: var(--hybrid-surface);
  background: color-mix(in srgb, var(--hybrid-surface) 96%, transparent);
}

.hybridSectionHeading {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hybridSectionHeading h2 {
  margin: 0;
  color: var(--hybrid-text);
  font-size: 17px;
  letter-spacing: -.02em;
}
.hybridSectionHeading > button {
  min-height: 38px;
  border: 0;
  padding: 0 7px;
  color: var(--hybrid-accent);
  background: transparent;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.hybridRequestSection .homePendingRequest {
  flex: none;
  min-height: 72px;
  align-content: center;
  gap: 3px 12px;
  margin: 4px 0 0;
  border-color: color-mix(in srgb, var(--hybrid-accent) 33%, transparent);
  border-radius: 17px;
  padding: 11px 13px 11px 17px;
  background: linear-gradient(120deg, var(--hybrid-surface-2), var(--hybrid-surface));
  background: linear-gradient(120deg, color-mix(in srgb, var(--hybrid-accent) 9%, var(--hybrid-surface-2)), var(--hybrid-surface));
}
.hybridRequestSection .homePendingRequest span { color: var(--hybrid-accent); font-size: 11px; }
.hybridRequestSection .homePendingRequest strong { font-size: 15px; }
.hybridRequestSection .homePendingRequest small {
  max-width: 330px;
  color: var(--hybrid-muted);
  font-size: 12px;
  line-height: 1.3;
  white-space: normal;
}
.hybridRequestSection .homePendingRequest b {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--hybrid-text);
  font-size: 11px;
}

.hybridRequestEmpty {
  flex: none;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 4px;
  border: 1px solid var(--hybrid-line);
  border-radius: 17px;
  padding: 9px 11px;
  background: var(--hybrid-surface-2);
  background: color-mix(in srgb, var(--hybrid-surface-2) 72%, transparent);
}
.homePendingRequest:not([hidden]) + .hybridRequestEmpty { display: none; }
.hybridRequestEmptyIcon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--hybrid-success);
  background: color-mix(in srgb, var(--hybrid-success) 12%, transparent);
  font-size: 17px;
  font-weight: 950;
}
.hybridRequestEmpty > div { display: grid; gap: 2px; }
.hybridRequestEmpty strong { color: var(--hybrid-text); font-size: 14px; }
.hybridRequestEmpty small { color: var(--hybrid-muted); font-size: 12px; }

.heroContent > .notificationOnboarding,
.heroContent > .homeBonusOffer { grid-column: 1 / -1; width: 100%; margin: 0; }
.heroContent > .notificationOnboarding { border-radius: 18px; }
.heroContent > .notificationOnboarding small,
.heroContent > .notificationOnboarding p { font-size: 13px; }
.heroContent > .notificationOnboarding strong { font-size: 16px; }
.heroContent > .homeBonusOffer {
  min-height: 84px;
  grid-template-columns: minmax(0, 1fr) auto;
  border-radius: 18px;
  padding: 15px 17px;
}
.heroContent > .homeBonusOffer span,
.heroContent > .homeBonusOffer strong,
.heroContent > .homeBonusOffer small { grid-column: 1; }
.heroContent > .homeBonusOffer span,
.heroContent > .homeBonusOffer small,
.heroContent > .homeBonusOffer b { font-size: 13px; }
.heroContent > .homeBonusOffer strong { font-size: 16px; }
.heroContent > .homeBonusOffer b { grid-column: 2; grid-row: 1 / 4; align-self: center; }

.hybridCasinoCard {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 196px;
  overflow: hidden;
  border: 1px solid rgba(224, 161, 255, .21);
  border-radius: 21px;
  padding: 20px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 12%, rgba(237, 91, 255, .34), transparent 32%),
    radial-gradient(circle at 76% 90%, rgba(243, 198, 78, .19), transparent 30%),
    linear-gradient(126deg, #130724 0%, #2a0f50 53%, #13111f 100%);
  box-shadow: 0 18px 44px rgba(8, 1, 16, .34);
}
.hybridCasinoCard::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 5, 27, .98) 0%, rgba(24, 8, 48, .9) 49%, rgba(24, 8, 48, .28) 76%, transparent);
}
.hybridCasinoCopy { position: relative; z-index: 2; width: 68%; }
.hybridCasinoCopy small { color: #f6ce67; font-size: 13px; font-weight: 950; letter-spacing: .11em; }
.heroPlatform .hybridCasinoCopy h2 {
  max-width: 300px;
  margin: 8px 0 0;
  font-size: 25px;
  line-height: 1.05;
  letter-spacing: -.04em;
  text-transform: none;
}
.heroPlatform .hybridCasinoCopy p {
  max-width: 290px;
  margin-top: 8px;
  color: rgba(255, 255, 255, .8);
  font-size: 14px;
  line-height: 1.4;
}
.hybridCasinoCopy button {
  min-height: 44px;
  margin-top: 12px;
  border: 0;
  border-radius: 999px;
  padding: 0 17px;
  color: #251039;
  background: #fff;
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
}
.hybridCasinoDecor { position: absolute; z-index: 0; inset: 0; pointer-events: none; }
.hybridCasinoSpade {
  position: absolute;
  right: 19px;
  top: 20px;
  color: rgba(235, 180, 255, .34);
  font-size: 148px;
  line-height: .8;
  filter: drop-shadow(0 0 26px rgba(190, 70, 231, .28));
  transform: rotate(8deg);
}
.hybridCasinoChip {
  position: absolute;
  width: 65px;
  height: 65px;
  border: 8px dashed rgba(255, 255, 255, .42);
  border-radius: 50%;
  background: color-mix(in srgb, var(--hybrid-primary-2) 76%, #3a143e);
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.12), 0 12px 30px rgba(0,0,0,.34);
}
.hybridCasinoChip::after { content: "♠"; display: grid; height: 100%; place-items: center; color: #fff; font-size: 24px; }
.hybridCasinoChip.chipOne { right: 46px; bottom: -13px; transform: rotate(19deg); }
.hybridCasinoChip.chipTwo { right: 112px; bottom: 29px; width: 51px; height: 51px; border-width: 6px; opacity: .72; transform: rotate(-13deg); }

.hybridShowcase {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--hybrid-line);
  border-radius: 21px;
  padding: 14px;
  background: var(--hybrid-surface);
}
.hybridFeaturedRail {
  display: flex;
  gap: 11px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 5px 1px 4px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--hybrid-line-strong) transparent;
}
.hybridFeatureCard {
  position: relative;
  isolation: isolate;
  flex: 0 0 min(77%, 310px);
  min-height: 154px;
  display: grid;
  align-content: end;
  justify-items: start;
  gap: 5px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 18px;
  padding: 14px;
  color: #fff;
  text-align: left;
  scroll-snap-align: start;
  background: linear-gradient(140deg, #20102e, #4c1c69);
  cursor: pointer;
}
.hybridFeatureCard::before {
  content: "♠";
  position: absolute;
  z-index: -1;
  right: -10px;
  top: -24px;
  color: rgba(255,255,255,.15);
  font-size: 120px;
  line-height: 1;
  transform: rotate(9deg);
}
.hybridFeatureCard::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 36% 0 0;
  background: linear-gradient(transparent, rgba(6, 2, 11, .82));
}
.hybridFeatureCard.featureGames { background: radial-gradient(circle at 76% 15%, #c956eb, transparent 32%), linear-gradient(135deg, #34155c, #151022); }
.hybridFeatureCard.featureNews { background: radial-gradient(circle at 78% 14%, #54a5d8, transparent 34%), linear-gradient(135deg, #163b58, #111827); }
.hybridFeatureCard.featureNews::before { content: "i"; top: 0; right: 29px; font-size: 92px; font-weight: 950; }
.hybridFeatureCard.featureBenefits { background: radial-gradient(circle at 78% 14%, #f0bd4e, transparent 34%), linear-gradient(135deg, #644014, #23180f); }
.hybridFeatureCard.featureBenefits::before { content: "%"; top: -4px; right: 9px; font-size: 94px; font-weight: 950; }
.hybridFeatureTag { color: #f6ce67; font-size: 13px; font-weight: 950; letter-spacing: .09em; }
.hybridFeatureCard > strong { max-width: 250px; font-size: 18px; line-height: 1.12; }
.hybridFeatureCard > small { max-width: 260px; color: rgba(255,255,255,.76); font-size: 12px; line-height: 1.3; }
.hybridFeatureCard > b { margin-top: 4px; color: #fff; font-size: 13px; }
.hybridRailHint { display: flex; justify-content: center; gap: 5px; padding-top: 5px; }
.hybridRailHint i { width: 7px; height: 7px; border-radius: 99px; background: var(--hybrid-line-strong); transition: width 180ms ease, background 180ms ease; }
.hybridRailHint i.active { width: 19px; background: var(--hybrid-primary-2); }

.hybridSupportCard {
  grid-column: 1 / -1;
  min-height: 76px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--hybrid-line);
  border-radius: 19px;
  padding: 13px 16px;
  color: var(--hybrid-text);
  text-align: left;
  background: var(--hybrid-surface);
  cursor: pointer;
}
.hybridSupportIcon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(145deg, var(--hybrid-primary), var(--hybrid-primary-2));
}
.hybridSupportIcon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hybridSupportCard > span:nth-child(2) { min-width: 0; display: grid; gap: 4px; }
.hybridSupportCard strong { font-size: 16px; }
.hybridSupportCard small { overflow: hidden; color: var(--hybrid-muted); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.hybridSupportCard > b { color: var(--hybrid-muted); font-size: 25px; }

@media (max-width: 820px) {
  .portalShell { width: calc(100% - 22px); margin-top: 12px; }
  .heroContent { grid-template-columns: 1fr; gap: 9px; }
  .hybridWelcome,
  .heroContent > .notificationOnboarding,
  .heroContent > .homeBonusOffer,
  .hybridSupportCard { grid-column: auto; }
  .heroBalance,
  .hybridRequestSection { min-height: 0; }
  .hybridCasinoCard { min-height: 174px; }
  .siteFooter { margin-top: 34px; }
}

@media (max-width: 520px) {
  body {
    background: var(--hybrid-bg);
    background:
      radial-gradient(circle at 92% 1%, color-mix(in srgb, var(--hybrid-primary) 19%, transparent), transparent 29%),
      radial-gradient(circle at 0 72%, color-mix(in srgb, var(--hybrid-accent) 6%, transparent), transparent 30%),
      var(--hybrid-bg);
  }
  .portalShell {
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 8px 10px 20px;
  }
  .heroPlatform { min-height: 0; padding: 0; }
  .heroContent { display: grid; gap: 8px; }
  .hybridWelcome { padding: 5px 2px; }
  .hybridWelcome h1,
  .heroPlatform .hybridWelcome h1 { font-size: 31px; }
  .heroBalance {
    min-height: 0;
    border-radius: 18px;
    padding: 14px;
  }
  .heroBalanceMeta span { max-width: 168px; }
  .heroBalance > strong,
  .heroBalance #heroBalanceAmount { margin-top: 7px; font-size: clamp(32px, 10vw, 39px); }
  .hybridWalletActions { margin-top: 11px; padding-top: 0; }
  .hybridActionButton { min-height: 44px; border-radius: 12px; }
  .hybridRequestSection {
    min-height: 0;
    border-radius: 18px;
    padding: 8px 10px 10px;
  }
  .hybridRequestSection .homePendingRequest,
  .hybridRequestEmpty { min-height: 52px; }
  .hybridRequestSection .homePendingRequest { padding: 9px 10px 9px 15px; }
  .hybridRequestSection .homePendingRequest b { grid-column: 2; grid-row: 1 / 4; margin-top: 0; }
  .heroContent > .notificationOnboarding {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 11px;
    padding: 13px;
  }
  .heroContent > .notificationOnboarding button { min-height: 44px; }
  .heroContent > .homeBonusOffer {
    min-height: 0;
    grid-template-columns: 1fr;
  }
  .heroContent > .homeBonusOffer b { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 5px; }
  .hybridCasinoCard {
    min-height: 136px;
    border-radius: 18px;
    padding: 14px;
  }
  .hybridCasinoCopy { width: 72%; }
  .hybridCasinoCopy small { font-size: 10px; }
  .heroPlatform .hybridCasinoCopy h2 { max-width: 225px; margin-top: 5px; font-size: 21px; }
  .heroPlatform .hybridCasinoCopy p { max-width: 220px; margin-top: 4px; font-size: 12px; line-height: 1.25; }
  .hybridCasinoCopy button { min-height: 40px; margin-top: 8px; }
  .hybridCasinoSpade { right: 2px; top: 12px; font-size: 108px; }
  .hybridCasinoChip.chipOne { right: 23px; }
  .hybridCasinoChip.chipTwo { right: 79px; bottom: 35px; }
  .hybridShowcase { border-radius: 18px; padding: 9px 10px 8px; }
  .hybridShowcase .hybridSectionHeading { min-height: 34px; }
  .hybridFeaturedRail { margin-inline: -10px; padding: 3px 10px; }
  .hybridFeatureCard { flex-basis: min(84vw, 306px); min-height: 124px; padding: 12px; }
  .hybridFeatureTag { font-size: 10px; }
  .hybridFeatureCard > strong { font-size: 15px; }
  .hybridFeatureCard > small,
  .hybridFeatureCard > b { font-size: 11px; }
  .hybridRailHint { padding-top: 3px; }
  .hybridSupportCard { min-height: 78px; border-radius: 18px; padding: 13px; }
  .siteFooter { display: none; }
  .mobileNav a,
  .mobileNav button { min-height: 62px; font-size: 11px; }
}

@media (max-width: 349px) {
  .portalShell { padding-inline: 10px; }
  .hybridWalletTop { gap: 8px; }
  .heroBalanceMeta small,
  .heroBalanceMeta span,
  .hybridWalletTop > time { font-size: 12px; }
  .heroBalance { padding: 13px; }
  .heroBalance > strong,
  .heroBalance #heroBalanceAmount { font-size: 34px; }
  .hybridActionButton { gap: 6px; font-size: 13px; }
  .hybridSectionHeading h2 { font-size: 16px; }
  .hybridSectionHeading > button { font-size: 12px; }
  .hybridCasinoCopy { width: 76%; }
  .hybridCasinoSpade { right: -12px; opacity: .74; }
  .hybridCasinoChip.chipTwo { display: none; }
  .hybridFeatureCard { flex-basis: calc(100vw - 48px); }
}

/* Mis datos: edición breve y segura desde el perfil superior. */
.portalProfileDialog { width: min(430px, calc(100vw - 24px)); }
.portalProfileDialog .portalAuthCard { gap: 11px; padding: 40px 22px 20px; }
.portalProfileDialog .authHeading { gap: 5px; }
.portalProfileDialog .authHeading h2 { font-size: 24px; }
.portalProfileDialog .authHeading p { font-size: 12px; }
.profileIdentity {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(190, 93, 242, .18);
  border-radius: 10px;
  padding: 9px 11px;
  background: rgba(255,255,255,.035);
}
.profileIdentity > span,
.profilePhone > div > span:first-child {
  color: #bcaac3;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .1em;
}
.profileIdentity > strong {
  min-width: 0;
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profileGoogleSection { display: grid; gap: 9px; border: 1px solid rgba(190, 93, 242, .2); border-radius: 12px; padding: 11px; background: rgba(255,255,255,.025); }
.profileGoogleSection > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.profileGoogleSection strong { color: #f0e6f4; font-size: 12px; }
.profileGoogleSection span { overflow: hidden; color: #aa9aae; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
:root[data-theme="light"] .profileGoogleSection { border-color: rgba(100, 43, 126, .18); background: rgba(103, 47, 125, .035); }
:root[data-theme="light"] .profileGoogleSection strong { color: #35233e; }

@media (max-width: 340px) {
  .googleButtonHost { transform: scale(.92); transform-origin: center; }
  .signupGoogleIdentity { grid-template-columns: minmax(0, 1fr); }
  .signupGoogleIdentity > button { grid-column: 1; grid-row: auto; justify-self: start; }
  .profileGoogleSection > div:first-child { align-items: flex-start; flex-direction: column; gap: 3px; }
}
.profileFields {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  border: 0;
  padding: 0;
}
.profileFields:disabled { opacity: .58; }
.profileFields > label {
  min-width: 0;
  display: grid;
  gap: 5px;
  color: #cabdd0;
  font-size: 12px;
  font-weight: 800;
}
.profileFields > label:last-child { grid-column: 1 / -1; }
.profileFields > label > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.profileFields > label small { color: #8f8096; font-size: 10px; font-weight: 700; }
.portalAuthCard .profileFields input { height: 43px; }
.profilePhone {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(190, 93, 242, .2);
  border-radius: 11px;
  padding: 10px 11px;
  background: rgba(105, 40, 145, .08);
}
.profilePhone > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.profilePhone > strong { font-size: 15px; letter-spacing: .025em; }
.profilePhone > p { margin: 0; color: #a99bae; font-size: 11.5px; line-height: 1.4; }
.profilePhoneStatus {
  border-radius: 999px;
  padding: 4px 7px;
  color: #d8c8df;
  background: rgba(255,255,255,.07);
  font-size: 10px;
  font-weight: 900;
}
.profilePhoneStatus[data-status="verified"] { color: #9eebc0; background: rgba(45, 160, 99, .16); }
.profilePhoneStatus[data-status="verification_pending"] { color: #ffe08b; background: rgba(202, 143, 24, .15); }
.profilePhoneVerification {
  display: grid;
  gap: 9px;
  border: 1px solid rgba(190, 93, 242, .22);
  border-radius: 11px;
  padding: 10px 11px;
  background: rgba(105, 40, 145, .08);
}
.profilePhoneVerification[hidden],
.profilePhoneVerificationCode[hidden] { display: none; }
.profilePhoneVerification > button,
.profilePhoneVerificationCode > div > button {
  min-height: 38px;
  border: 1px solid rgba(190, 93, 242, .28);
  border-radius: 10px;
  padding: 0 13px;
  color: #fff;
  background: rgba(132, 51, 181, .2);
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}
.profilePhoneVerification > button { justify-self: start; }
.profilePhoneVerification button:disabled { opacity: .58; cursor: wait; }
.profilePhoneVerificationCode { display: grid; gap: 7px; }
.profilePhoneVerificationCode > label { color: #cabdd0; font-size: 12px; font-weight: 850; }
.portalAuthCard .profilePhoneVerificationCode > input { height: 43px; letter-spacing: .12em; }
.profilePhoneVerificationCode > p { margin: 0; color: #a99bae; font-size: 11px; line-height: 1.4; }
.profilePhoneVerificationCode > div { display: flex; flex-wrap: wrap; gap: 7px; }
.profilePhoneVerificationCode > div > button:first-child { background: linear-gradient(90deg, #7130cb, #b630d5); }
.profilePhoneVerificationCode > div > button:last-child { color: #c7b8cc; background: transparent; }
:root[data-theme="light"] .profilePhoneVerification {
  border-color: rgba(111, 45, 189, .16);
  background: #f8f3fa;
}
:root[data-theme="light"] .profilePhoneVerificationCode > label { color: #514356; }
:root[data-theme="light"] .profilePhoneVerificationCode > p { color: #76697b; }
:root[data-theme="light"] .profilePhoneVerification > button,
:root[data-theme="light"] .profilePhoneVerificationCode > div > button { color: #4e1f68; }
:root[data-theme="light"] .profilePhoneVerificationCode > div > button:first-child { color: #fff; }
.profilePhone > button {
  justify-self: start;
  min-height: 36px;
  border: 0;
  padding: 7px 0;
  color: #cf91ed;
  background: transparent;
  font-size: 11.5px;
  font-weight: 900;
  cursor: pointer;
}
.profilePhone > button:hover,
.profilePhone > button:focus-visible { color: #fff; }
.profileSavedNote {
  color: #7de0a7;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}
.profileSavedNote:empty { display: none; }
.portalProfileDialog .formError { line-height: 1.35; }

@media (max-width: 520px) {
  .portalProfileDialog {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
  }
  .portalProfileDialog .portalAuthCard { gap: 10px; padding: 40px 15px 16px; }
  .profileFields { grid-template-columns: 1fr; }
  .profileFields > label:last-child { grid-column: auto; }
  .portalProfileDialog .authHeading h2 { font-size: 23px; }
}

@media (max-width: 340px) {
  .portalProfileDialog { width: calc(100vw - 10px); }
  .portalProfileDialog .portalAuthCard { padding-inline: 12px; }
  .profilePhone { padding-inline: 9px; }
}

/* Portal v74: acciones centradas, movimientos separados y avisos discretos. */
.hybridActionButton {
  position: relative;
  display: grid;
  place-items: center;
  padding-inline: 45px;
  text-align: center;
}
.hybridActionButton > svg {
  position: absolute;
  left: 16px;
}
.hybridActionButton > span {
  grid-area: 1 / 1;
  justify-self: center;
}

.movementsDialog {
  width: min(680px, calc(100vw - 28px));
  max-height: min(780px, calc(100dvh - 28px));
  overflow: hidden;
  border: 1px solid rgba(179, 57, 226, .42);
  border-radius: 18px;
  padding: 0;
  color: var(--text);
  background: #11031d;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .75), 0 0 45px rgba(126, 30, 255, .14);
}
.movementsDialog::backdrop {
  background: rgba(4, 0, 8, .82);
  backdrop-filter: blur(5px);
}
.movementsSurface {
  min-height: 0;
  max-height: inherit;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}
.movementsSurface > header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 15px 19px;
  background: linear-gradient(105deg, #24083a, #160524);
}
.movementsSurface > header > div { min-width: 0; }
.movementsSurface > header span {
  color: var(--yellow);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .15em;
}
.movementsSurface > header h2 { margin: 5px 0 0; font-size: 23px; }
.movementsSurface > header p {
  margin: 3px 0 0;
  color: #b8a9be;
  font-size: 11px;
  line-height: 1.3;
}
.movementsSurface > header > button {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 0;
  border-radius: 50%;
  color: #c9b9ce;
  background: rgba(255, 255, 255, .055);
  font-size: 29px;
  cursor: pointer;
}
.movementsBody {
  min-height: 0;
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 13px;
  padding: 16px 18px 20px;
  overscroll-behavior: contain;
  scrollbar-color: rgba(180, 119, 214, .62) rgba(255, 255, 255, .055);
  scrollbar-width: thin;
}
.movementsFilters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px;
  padding: 5px;
  background: rgba(255,255,255,.035);
}
.movementsFilters button {
  min-height: 40px;
  border: 0;
  border-radius: 9px;
  color: #a99bad;
  background: transparent;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}
.movementsFilters button.active,
.movementsFilters button[aria-pressed="true"] {
  color: #fff;
  background: linear-gradient(120deg, #622bbd, #9e35cc);
  box-shadow: 0 7px 18px rgba(101, 40, 169, .24);
}
.movementsToolbar {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.movementsToolbar > span { color: #a99bad; font-size: 11px; }
.movementsToolbar > button {
  min-height: 36px;
  border: 1px solid rgba(190, 131, 219, .22);
  border-radius: 999px;
  padding: 0 12px;
  color: #e2d1e9;
  background: rgba(119, 53, 152, .12);
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}
.movementsToolbar > button:disabled { opacity: .6; cursor: wait; }
.movementsList { gap: 10px; }
.movementsList > p {
  border: 1px dashed rgba(190, 131, 219, .2);
  border-radius: 13px;
  padding: 24px 14px;
  text-align: center;
}

.heroContent > .notificationOnboarding {
  min-height: 0;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: calc(100% - 8px);
  margin: 2px 4px 0;
  border: 0;
  border-top: 1px solid var(--hybrid-line);
  border-radius: 0;
  padding: 10px 2px 3px;
  background: transparent;
  box-shadow: none;
}
.heroContent > .notificationOnboarding .notificationBell {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--hybrid-primary-2) 13%, transparent);
  font-size: 15px;
}
.heroContent > .notificationOnboarding > div { gap: 2px; }
.heroContent > .notificationOnboarding small { display: none; }
.heroContent > .notificationOnboarding strong { color: var(--hybrid-text); font-size: 13px; }
.heroContent > .notificationOnboarding p {
  overflow: hidden;
  color: var(--hybrid-muted);
  font-size: 10px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.heroContent > .notificationOnboarding button {
  width: auto;
  min-width: 76px;
  max-width: 118px;
  min-height: 38px;
  height: 38px;
  border: 1px solid color-mix(in srgb, var(--hybrid-primary-2) 38%, transparent);
  border-radius: 999px;
  padding: 0 11px;
  color: #fff;
  background: color-mix(in srgb, var(--hybrid-primary) 72%, #281139);
  box-shadow: none;
  font-size: 10px;
}
.heroContent > .notificationOnboarding[data-permission="denied"] {
  border-top-color: rgba(255, 116, 128, .28);
  background: transparent;
  box-shadow: none;
}

@media (max-width: 520px) {
  .hybridActionButton { padding-inline: 39px; }
  .hybridActionButton > svg { left: 13px; }

  .movementsDialog {
    position: fixed;
    inset: 0;
    top: var(--portal-viewport-top);
    width: 100vw;
    max-width: none;
    height: var(--portal-viewport-height);
    max-height: var(--portal-viewport-height);
    margin: 0;
    border: 0;
    border-radius: 0;
  }
  .movementsSurface { width: 100%; height: 100%; max-height: none; }
  .movementsSurface > header {
    min-height: calc(72px + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) 14px 0;
  }
  .movementsSurface > header h2 { font-size: 21px; }
  .movementsSurface > header p { max-width: 255px; font-size: 10px; }
  .movementsBody { gap: 11px; padding: 13px 11px max(18px, env(safe-area-inset-bottom)); }
  .movementsFilters button { min-height: 42px; font-size: 11px; }
  .movementsToolbar > span { font-size: 10px; }
  .movementsToolbar > button { min-height: 38px; }
  .movementsList .requestItem { border-radius: 13px; }

  .heroContent > .notificationOnboarding {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 9px 1px 2px;
  }
  .heroContent > .notificationOnboarding .notificationBell { display: none; }
  .heroContent > .notificationOnboarding > div { grid-column: 1; }
  .heroContent > .notificationOnboarding strong { font-size: 13px; }
  .heroContent > .notificationOnboarding p { display: none; }
  .heroContent > .notificationOnboarding button {
    grid-column: 2;
    grid-row: 1;
    min-width: 82px;
    max-width: 112px;
    min-height: 42px;
    height: 42px;
    padding-inline: 11px;
    font-size: 10.5px;
  }
}

@media (max-width: 349px) {
  .hybridActionButton { padding-inline: 35px; }
  .hybridActionButton > svg { left: 11px; width: 19px; height: 19px; }
  .movementsSurface > header p { max-width: 220px; }
  .movementsToolbar { gap: 6px; }
  .movementsToolbar > button { padding-inline: 9px; font-size: 9px; }
}

/* Portal v74: shell movil inspirado en Hibrido Tokyo y superficies estables.
   En movil el documento deja de competir con las barras del navegador: Inicio
   es el unico scroller y las barras se anclan al visualViewport real. */
@media (max-width: 820px) {
  body.portal-authenticated {
    width: 100%;
    height: var(--portal-viewport-height);
    min-height: var(--portal-viewport-height);
    overflow: hidden;
    padding: 0;
    overscroll-behavior: none;
  }

  body.portal-authenticated > .platformHeader {
    position: fixed;
    top: var(--portal-viewport-top);
    right: 0;
    left: 0;
    width: 100%;
    height: calc(64px + env(safe-area-inset-top));
    padding-top: env(safe-area-inset-top);
    transform: translateZ(0);
  }

  body.portal-authenticated > .portalShell {
    position: fixed;
    z-index: 1;
    top: calc(var(--portal-viewport-top) + 64px + env(safe-area-inset-top));
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: calc(var(--portal-viewport-height) - 136px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    min-height: 0;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
    padding: 11px 12px 22px;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    scrollbar-color: rgba(183, 105, 226, .58) transparent;
    scrollbar-width: thin;
  }

  body.portal-authenticated > .portalShell::-webkit-scrollbar { width: 4px; }
  body.portal-authenticated > .portalShell::-webkit-scrollbar-track { background: transparent; }
  body.portal-authenticated > .portalShell::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(183, 105, 226, .58);
  }

  body.portal-authenticated > .mobileNav,
  .mobileDialogNav {
    top: calc(var(--portal-viewport-top) + var(--portal-viewport-height) - 72px - env(safe-area-inset-bottom)) !important;
    bottom: auto !important;
    height: calc(72px + env(safe-area-inset-bottom));
    transform: translateZ(0);
  }

  .chatBackdrop {
    top: var(--portal-viewport-top);
    right: 0;
    bottom: auto;
    left: 0;
    height: calc(var(--portal-viewport-height) - 72px - env(safe-area-inset-bottom));
    overscroll-behavior: none;
    touch-action: none;
  }

  .supportDrawer,
  body.portal-keyboard-open .supportDrawer,
  body.portal-view-transition .supportDrawer.open {
    top: var(--portal-viewport-top);
    right: 0;
    bottom: auto;
    left: 0;
    width: 100vw;
    height: calc(var(--portal-viewport-height) - 72px - env(safe-area-inset-bottom));
    max-height: calc(var(--portal-viewport-height) - 72px - env(safe-area-inset-bottom));
    overflow: hidden;
    padding: env(safe-area-inset-top) 0 0;
    overscroll-behavior: none;
    transform: translateY(10px);
  }

  .supportDrawer.open,
  body.portal-keyboard-open .supportDrawer.open,
  body.portal-view-transition .supportDrawer.open { transform: translateZ(0); }

  body.portal-keyboard-open .chatBackdrop,
  body.portal-keyboard-open .supportDrawer,
  body.portal-keyboard-open .supportDrawer.open {
    height: var(--portal-viewport-height);
    max-height: var(--portal-viewport-height);
  }

  .supportDrawer > header,
  .chatConversation { min-height: 0; }
  .chatConversation { overflow: hidden; }
  .chatWelcome,
  .chatMessages {
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }
  .chatComposer { touch-action: manipulation; }
  body.portal-keyboard-open .supportEmojiPicker {
    max-height: calc(var(--portal-viewport-height) - 158px - env(safe-area-inset-top));
  }

  .gameOverlay {
    inset: auto 0;
    top: var(--portal-viewport-top);
    width: 100vw;
    height: var(--portal-viewport-height);
    min-height: 0;
    max-height: var(--portal-viewport-height);
    overflow: hidden;
    transform: translateZ(0);
  }
  .gameOverlay > header { flex: none; }
  .gameViewport { min-height: 0; }
}

html:has(body.support-open),
body.support-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.supportDrawer {
  transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease;
}

.gameOverlay iframe:fullscreen,
.gameOverlay iframe:-webkit-full-screen {
  position: fixed;
  inset: 0;
  width: 100vw !important;
  max-width: none !important;
  height: 100vh !important;
  height: 100lvh !important;
  max-height: none !important;
  margin: 0;
  border: 0;
  padding: 0;
  background: #050208;
}

/* El fondo promocional cambia sin alterar el texto ni provocar saltos. */
.hybridCasinoVisuals {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hybridCasinoVisual {
  position: absolute;
  top: 7%;
  right: -3%;
  width: 49%;
  height: 88%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px;
  opacity: 0;
  box-shadow: -15px 14px 38px rgba(0, 0, 0, .38);
  transform: translate3d(10px, 0, 0) rotate(4deg) scale(.96);
  transition: opacity .55s ease, transform .65s ease;
}
.hybridCasinoVisual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(.96) contrast(1.03) brightness(.86);
}
.hybridCasinoVisual.active,
.hybridCasinoCard[data-casino-slide="0"] [data-casino-art="0"],
.hybridCasinoCard[data-casino-slide="1"] [data-casino-art="1"],
.hybridCasinoCard[data-casino-slide="2"] [data-casino-art="2"] {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(4deg) scale(1);
}
.hybridCasinoCard::after {
  z-index: 1;
  background: linear-gradient(90deg, rgba(10, 3, 20, .99) 0%, rgba(21, 7, 42, .96) 48%, rgba(20, 7, 39, .62) 71%, rgba(16, 5, 30, .2));
}
.hybridCasinoDecor { z-index: 2; }
.hybridCasinoCopy { z-index: 3; }

.hybridFeatureCard.featureGames {
  background:
    linear-gradient(180deg, rgba(15, 5, 25, .08) 8%, rgba(12, 3, 20, .93) 100%),
    url("/portal-media/sugar-rush.webp") center 43% / cover no-repeat,
    #261138;
}
.hybridFeatureCard.featureNews {
  background:
    linear-gradient(180deg, rgba(15, 5, 25, .06) 8%, rgba(12, 3, 20, .94) 100%),
    url("/portal-media/jokers-jewels.webp") center 42% / cover no-repeat,
    #201129;
}
.hybridFeatureCard.featureGames::before,
.hybridFeatureCard.featureNews::before { content: none; }

@media (max-width: 520px) {
  body.portal-authenticated > .portalShell { padding: 10px 14px 22px; }
  .heroContent { gap: 12px; }

  .heroBalance {
    border-color: var(--hybrid-line-strong);
    border-radius: 22px;
    padding: 17px 18px 18px;
    box-shadow: 0 14px 34px rgba(2, 0, 6, .3), inset 0 1px rgba(255, 255, 255, .025);
  }
  .heroBalanceMeta small { font-size: 14px; letter-spacing: 0; }
  .heroBalance > strong,
  .heroBalance #heroBalanceAmount { margin-top: 9px; font-size: clamp(35px, 10.5vw, 42px); }
  .hybridWalletActions { gap: 10px; margin-top: 14px; }
  .hybridActionButton { min-height: 49px; border-radius: 14px; }

  .hybridRequestSection {
    min-height: 0;
    border: 0;
    border-radius: 0;
    padding: 2px 2px 0;
    background: transparent;
    box-shadow: none;
  }
  .hybridRequestSection .hybridSectionHeading { min-height: 42px; }
  .hybridRequestSection .homePendingRequest,
  .hybridRequestEmpty {
    min-height: 62px;
    margin-top: 2px;
    border-radius: 18px;
    box-shadow: 0 11px 28px rgba(2, 0, 6, .2);
  }
  .hybridRequestSection .homePendingRequest { padding: 11px 12px 11px 16px; }

  .hybridCasinoCard {
    min-height: 158px;
    border-radius: 22px;
    padding: 17px 18px;
    box-shadow: 0 15px 34px rgba(2, 0, 6, .28);
  }
  .hybridCasinoCopy { width: 66%; }
  .heroPlatform .hybridCasinoCopy h2 { max-width: 205px; font-size: 23px; }
  .heroPlatform .hybridCasinoCopy p { max-width: 185px; font-size: 12px; line-height: 1.35; }
  .hybridCasinoVisual { right: -4%; width: 47%; }
  .hybridCasinoSpade,
  .hybridCasinoChip { display: none; }

  .hybridShowcase {
    overflow: visible;
    border: 0;
    border-radius: 0;
    padding: 1px 2px 0;
    background: transparent;
    box-shadow: none;
  }
  .hybridShowcase .hybridSectionHeading { min-height: 42px; }
  .hybridFeaturedRail {
    margin-inline: -2px;
    padding: 3px 2px 5px;
    scrollbar-width: none;
  }
  .hybridFeaturedRail::-webkit-scrollbar { display: none; }
  .hybridFeatureCard {
    flex-basis: min(78vw, 304px);
    min-height: 164px;
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 13px 30px rgba(2, 0, 6, .25);
  }
  .hybridFeatureTag { font-size: 10px; }
  .hybridFeatureCard > strong { font-size: 17px; }

  .hybridSupportCard {
    min-height: 74px;
    border-radius: 20px;
    padding: 12px 14px;
    box-shadow: 0 11px 28px rgba(2, 0, 6, .2);
  }

  .heroContent > .appInstallBanner:not([hidden]) {
    width: 100%;
    min-height: 64px;
    display: grid !important;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 10px;
    margin: 0;
    border: 1px solid var(--hybrid-line);
    border-radius: 18px;
    padding: 10px 38px 10px 11px;
    color: var(--hybrid-text);
    background: var(--hybrid-surface);
    box-shadow: 0 10px 26px rgba(2, 0, 6, .18);
  }
  .heroContent > .appInstallBanner .appInstallIcon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(145deg, var(--hybrid-primary), var(--hybrid-primary-2));
    font-size: 19px;
  }
  .heroContent > .appInstallBanner > div { min-width: 0; gap: 2px; }
  .heroContent > .appInstallBanner small { display: none; }
  .heroContent > .appInstallBanner strong { font-size: 13px; }
  .heroContent > .appInstallBanner p {
    overflow: hidden;
    color: var(--hybrid-muted);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .heroContent > .appInstallBanner > button:not(.dismissInstallPortal) {
    grid-column: 3;
    width: auto;
    min-width: 72px;
    height: 38px;
    border-radius: 999px;
  }
  .heroContent > .appInstallBanner .dismissInstallPortal {
    top: 1px;
    right: 2px;
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 349px) {
  body.portal-authenticated > .portalShell { padding-inline: 9px; }
  .heroBalance { padding-inline: 14px; }
  .heroBalanceMeta small,
  .hybridWalletTop > time { font-size: 12px; }
  .heroBalance > strong,
  .heroBalance #heroBalanceAmount { font-size: 34px; }
  .hybridSectionHeading h2 { font-size: 16px; }
  .hybridSectionHeading > button { font-size: 11px; }
  .hybridCasinoCopy { width: 69%; }
  .heroPlatform .hybridCasinoCopy h2 { font-size: 21px; }
  .hybridFeatureCard { flex-basis: 80vw; }
  .heroContent > .appInstallBanner:not([hidden]) {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 7px;
    padding-left: 9px;
  }
  .heroContent > .appInstallBanner > button:not(.dismissInstallPortal) {
    min-width: 65px;
    padding-inline: 8px;
    font-size: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hybridCasinoVisual { transition: none; }
}

/* Registro en dos pasos: fieldset neutral y encabezados que no se concatenan. */
#signupAccountFields {
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.signupStepLabel {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin: 0 0 1px;
}
.signupStepLabel > b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(205, 137, 239, .25);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #6d2bc5, #a83adb);
  font-size: 12px;
  font-weight: 950;
}
.signupStepLabel > span {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.signupStepLabel strong {
  display: block;
  color: #f4edf7;
  font-size: 13px;
  line-height: 1.2;
}
.signupStepLabel small {
  display: block;
  color: #aa9aae;
  font-size: 10px;
  line-height: 1.35;
}
#signupAccountFields:disabled { opacity: .58; }
#signupPreviewNotice {
  border: 1px solid rgba(243, 198, 78, .22);
  border-radius: 10px;
  padding: 9px 11px;
  color: #ecd68f;
  background: rgba(243, 198, 78, .065);
  font-size: 10px;
  line-height: 1.4;
}

/* Portal v85: el WebView mantiene medidas tactiles aunque el telefono rote y
   supere temporalmente el breakpoint movil. Chrome movil conserva la misma
   mejora dentro de su viewport habitual. */
html.is-native-app {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html.is-native-app .portalNotificationToggle,
html.is-native-app .portalNotificationPanel > header .closePortalNotifications,
html.is-native-app .authClose {
  min-width: 44px;
  min-height: 44px;
}

html.is-native-app .portalAccountMenu > button,
html.is-native-app .hybridSectionHeading > button {
  min-height: 44px;
}

@media (max-width: 520px) {
  .portalNotificationToggle,
  .portalNotificationPanel > header .closePortalNotifications,
  .authClose {
    min-width: 44px;
    min-height: 44px;
  }

  .portalAccountMenu > button,
  .hybridSectionHeading > button {
    min-height: 44px;
  }
}

/* Portal v87: composicion de escritorio amplia y sin accesos duplicados.
   Mobile conserva el shell tactil dedicado que vive por debajo de 820 px. */
@media (min-width: 821px) {
  body.portal-authenticated {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    background:
      radial-gradient(circle at 50% -240px, rgba(118, 38, 174, .24), transparent 560px),
      linear-gradient(180deg, #09050f 0%, #07030b 100%);
  }

  body.portal-authenticated > .platformHeader {
    flex: 0 0 64px;
    grid-template-columns: minmax(170px, 1fr) auto minmax(270px, 1fr);
    padding-inline: max(28px, calc((100vw - 1540px) / 2));
  }

  body.portal-authenticated > .portalShell {
    width: min(1540px, calc(100% - clamp(48px, 4vw, 72px)));
    flex: 1 0 auto;
    margin-top: 22px;
    padding-bottom: 26px;
  }

  body.portal-authenticated .heroContent {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 16px;
  }

  body.portal-authenticated .heroBalance,
  body.portal-authenticated .hybridRequestSection,
  body.portal-authenticated .hybridCasinoCard,
  body.portal-authenticated .hybridShowcase {
    border-radius: 22px;
  }

  body.portal-authenticated .heroBalance {
    padding: clamp(20px, 1.55vw, 26px);
  }

  body.portal-authenticated .hybridRequestSection,
  body.portal-authenticated .hybridShowcase {
    padding: clamp(16px, 1.35vw, 22px);
  }

  body.portal-authenticated .hybridCasinoCard {
    min-height: 232px;
    padding: clamp(22px, 1.7vw, 30px);
  }

  body.portal-authenticated .hybridFeaturedRail {
    gap: 14px;
    overflow: visible;
  }

  body.portal-authenticated .hybridFeatureCard {
    min-width: 0;
    min-height: 168px;
    flex: 1 1 0;
  }

  body.portal-authenticated .hybridRailHint {
    display: none;
  }

  body.portal-authenticated .hybridSupportCard {
    min-height: 82px;
    padding-inline: 20px;
  }

  /* El menu y la tarjeta ya ofrecen Soporte; la burbuja era un tercer acceso
     y una regla generica podia dejarla recortada contra el borde izquierdo. */
  body.portal-authenticated > .supportLauncher {
    display: none !important;
  }

  body.portal-authenticated > .siteFooter {
    min-height: 72px;
    flex: 0 0 auto;
    justify-content: center;
    padding: 18px max(28px, calc((100vw - 1540px) / 2));
    background: rgba(8, 3, 12, .78);
  }

  body.portal-authenticated > .siteFooter .brand {
    display: none;
  }

  body.portal-authenticated > .siteFooter p {
    margin: 0;
    color: #8d8193;
    font-size: 11px;
    text-align: center;
  }
}

@media (min-width: 821px) and (max-width: 1120px) {
  body.portal-authenticated > .platformHeader {
    grid-template-columns: minmax(145px, 1fr) auto minmax(235px, 1fr);
    gap: 12px;
    padding-inline: 20px;
  }

  body.portal-authenticated .desktopNav a,
  body.portal-authenticated .desktopNav button {
    padding-inline: 11px;
  }

  body.portal-authenticated > .portalShell {
    width: calc(100% - 32px);
  }
}

/* Portal v87: el landscape angosto conserva todas las acciones del header
   sin hacer competir SOPORTE con INSTALAR. La reduccion es solo de aire
   interno; las etiquetas, la campana y la cuenta permanecen visibles. */
@media (min-width: 821px) and (max-width: 959px) {
  body.portal-authenticated > .platformHeader {
    grid-template-columns: minmax(145px, 1fr) auto minmax(258px, 1fr);
    gap: 10px;
    padding-inline: 16px;
  }

  body.portal-authenticated .desktopNav a,
  body.portal-authenticated .desktopNav button {
    padding-inline: 4px;
  }

  body.portal-authenticated .headerActions { gap: 5px; }
  body.portal-authenticated .installButton { min-width: 80px; }
}

/* Portal v87: operaciones principales sin pictogramas ambiguos y copia de la
   cuenta receptora claramente priorizada. */
.transactionDialog form {
  grid-template-columns: minmax(0, 1fr);
}

.transactionDialog form > header,
.transactionBody,
.transactionActionBar {
  min-width: 0;
  width: 100%;
}

.hybridActionButton {
  padding-inline: 18px;
  font-size: 17px;
  letter-spacing: .01em;
}

.hybridActionButton > span {
  min-width: 0;
  justify-self: center;
}

.mobileNav .transactionNavAction {
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .01em;
}

.depositAccountCard button.preferred {
  border-color: rgba(206, 132, 244, .48);
  background: linear-gradient(120deg, rgba(109, 42, 154, .3), rgba(33, 13, 45, .68));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.depositAccountCard button.preferred em { color: #e7b9fa; }
.depositAccountCard button.preferred.copied {
  border-color: rgba(71, 218, 142, .58);
  background: rgba(38, 166, 100, .13);
}
.depositAccountCard button.preferred.copied em { color: #72e3a8; }
.depositAccountCard button.preferred.copyFailed {
  border-color: rgba(255, 91, 116, .52);
  background: rgba(190, 45, 67, .11);
}
.depositAccountCard button.preferred.copyFailed em { color: #ff91a3; }

.depositAccountCard.monitorOffline {
  border-color: rgba(255, 193, 77, .48);
  background: linear-gradient(150deg, rgba(74, 44, 17, .3), rgba(24, 8, 31, .92));
}

.depositAccountCard.monitorOffline .depositAccountFreshness {
  color: #ffd47a;
}

.depositAccountCard.monitorOffline button:disabled {
  border-color: rgba(255, 255, 255, .1);
  opacity: .58;
  background: rgba(255, 255, 255, .035);
  box-shadow: none;
  cursor: not-allowed;
}

.depositAccountCard.monitorOffline .depositExactHint {
  border-color: rgba(255, 193, 77, .3);
  color: #ffe0a0;
  background: rgba(124, 77, 17, .16);
}

.depositTransferHint {
  grid-column: 1 / -1;
  overflow-wrap: anywhere;
}
.depositTransferHint[hidden] { display: none; }

#transactionDestinationHelp {
  overflow-wrap: anywhere;
}

@media (max-width: 520px) {
  .hybridActionButton {
    min-height: 52px;
    padding-inline: 14px;
    font-size: 17px;
  }

  .depositTransferHint { font-size: 10.5px; }
}

@media (max-width: 349px) {
  .hybridActionButton {
    padding-inline: 11px;
    font-size: 16px;
  }
}
