@import url('./style-v13c.css');

:root{
  --medil-cyan:#6ee5ff;
  --medil-cyan-2:#3cbcff;
  --medil-panel:#0b1522;
  --medil-panel-2:#0f1d2d;
  --medil-line:rgba(109,193,255,.20);
  --medil-glow:0 18px 40px rgba(0,0,0,.28);
}
body{
  background:
    radial-gradient(circle at top left, rgba(56,165,255,.14), transparent 28%),
    radial-gradient(circle at top right, rgba(255,187,56,.08), transparent 24%),
    linear-gradient(180deg,#06111b,#050c14 42%,#040912 100%)!important;
}
.portal-shell,.portal-header,.portal-mainnav,.portal-left,.portal-right,.quick-item,.board-card,.provider-card,.user-panel,.bet-panel,.guest-panel,.side-banner,.sports-preview article{
  backdrop-filter: blur(10px);
}
.portal-header{
  border-bottom:1px solid rgba(90,150,220,.12)!important;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
}
.portal-topline{
  background:linear-gradient(180deg,rgba(4,11,18,.98),rgba(6,15,25,.95))!important;
}
.portal-mainnav{
  background:linear-gradient(180deg,#091423,#08121d)!important;
}
.portal-mainnav a{
  position:relative;
  border-bottom-width:3px!important;
}
.portal-mainnav a.active{
  background:linear-gradient(180deg,rgba(20,45,70,.95),rgba(10,23,37,.9))!important;
  box-shadow:inset 0 -3px 0 var(--medil-cyan),0 0 0 1px rgba(84,201,255,.08);
}
.portal-logo .brand-header-image{
  filter:drop-shadow(0 6px 18px rgba(75,196,255,.20));
}
.top-mini{
  border-radius:14px!important;
  box-shadow:0 8px 18px rgba(0,0,0,.18);
}
.top-balance.compact{
  box-shadow:0 12px 26px rgba(0,0,0,.20);
}

/* Premium home redesign */
.portal-hero.premium-home-hero{
  min-height:420px!important;
  background:#091423 url('./home-hero-premium-v15.png') center/cover no-repeat!important;
  border:1px solid rgba(86,174,255,.28)!important;
  box-shadow:0 24px 64px rgba(0,0,0,.28),0 0 0 1px rgba(120,225,255,.04) inset!important;
}
.portal-hero.premium-home-hero:before{
  background:
    linear-gradient(90deg,rgba(5,15,26,.94) 0%,rgba(5,15,26,.82) 28%,rgba(5,15,26,.48) 58%,rgba(5,15,26,.18) 74%,rgba(5,15,26,.06) 100%),
    linear-gradient(180deg,rgba(7,16,29,.12),rgba(7,16,29,.72) 100%)!important;
}
.portal-hero.premium-home-hero:after{
  border:1px solid rgba(114,228,255,.18)!important;
}
.portal-hero.premium-home-hero .hero-copy{
  max-width:560px!important;
  padding:46px 42px 44px!important;
}
.portal-hero.premium-home-hero .hero-kicker{
  font-size:12px!important;
  letter-spacing:4px!important;
  color:#7ae9ff!important;
}
.portal-hero.premium-home-hero .hero-copy h1{
  font-size:clamp(40px,4.7vw,68px)!important;
  line-height:1.04!important;
  margin:12px 0 18px!important;
}
.portal-hero.premium-home-hero .hero-copy p{
  font-size:15px!important;
  max-width:480px!important;
  color:#d7e8ff!important;
}
.portal-hero.premium-home-hero .hero-actions{
  margin-top:26px!important;
}
.portal-hero.premium-home-hero .hero-actions .button{
  min-width:132px;
  border-radius:14px!important;
  padding:14px 22px!important;
}
.portal-hero.premium-home-hero .hero-status{
  right:26px!important;
  bottom:22px!important;
  gap:6px!important;
}
.portal-hero.premium-home-hero .hero-status span,
.home-event-banner .event-pill,
.home-card .card-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  font-weight:800;
}
.portal-hero.premium-home-hero .hero-status b{
  color:#fff;
  font-size:14px;
  text-shadow:0 4px 18px rgba(0,0,0,.35);
}
.hero-status small{font-size:10px;color:#b8d7e8!important;text-shadow:0 2px 12px rgba(0,0,0,.4)}

.home-premium-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:14px 0 16px;
}
.home-card{
  position:relative;
  min-height:168px;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(85,160,220,.22);
  background:#0e1a29 center/cover no-repeat;
  box-shadow:var(--medil-glow);
  isolation:isolate;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,filter .2s ease;
}
.home-card:before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(7,16,28,.18) 0%,rgba(7,16,28,.50) 36%,rgba(7,16,28,.92) 100%);
  z-index:0;
}
.home-card:hover{
  transform:translateY(-3px);
  border-color:rgba(100,219,255,.5);
  box-shadow:0 22px 48px rgba(0,0,0,.32);
  filter:saturate(1.08);
}
.home-card>*{position:relative;z-index:1}
.home-card .card-inner{
  min-height:168px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:18px;
}
.home-card .card-icon{
  position:absolute;
  top:16px;
  left:16px;
  width:52px;
  height:52px;
  border-radius:16px;
  display:grid;
  place-items:center;
  font-size:24px;
  color:#74e6ff;
  background:rgba(8,20,34,.88);
  border:1px solid rgba(88,189,255,.28);
  box-shadow:0 8px 24px rgba(0,0,0,.24);
}
.home-card .card-count{
  position:absolute;
  top:16px;
  right:16px;
  min-width:42px;
  height:42px;
  padding:0 12px;
  font-size:18px;
  color:#79e6ff;
  background:rgba(7,18,31,.86);
  border:1px solid rgba(86,170,255,.24);
}
.home-card .card-label{
  font-size:11px;
  letter-spacing:3px;
  color:#79e8ff;
  font-weight:900;
  margin-bottom:8px;
}
.home-card h3{
  font-size:24px;
  margin:0 0 6px;
  line-height:1.2;
  letter-spacing:-.4px;
}
.home-card p{
  margin:0;
  font-size:12px;
  line-height:1.65;
  color:#d6e4f2;
  max-width:85%;
}
.home-card.sports{background-image:url('./home-card-sports-v15.png')}
.home-card.casino{background-image:url('./home-card-casino-v15.png')}
.home-card.slots{background-image:url('./home-card-slots-v15.png')}
.home-card.minigame{background-image:url('./home-card-minigame-v15.png')}
.home-card.events{background-image:url('./home-event-v15.webp')}

.home-event-banner{
  position:relative;
  min-height:172px;
  border-radius:20px;
  overflow:hidden;
  border:1px solid rgba(88,169,224,.22);
  background:#0f1a2a url('./home-card-event-v15.png') center/cover no-repeat;
  box-shadow:var(--medil-glow);
  margin:0 0 18px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:18px;
  align-items:center;
  padding:26px 26px;
}
.home-event-banner:before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(6,15,27,.90) 0%,rgba(6,15,27,.72) 42%,rgba(6,15,27,.22) 100%);
}
.home-event-banner>*{position:relative;z-index:1}
.home-event-banner .event-pill{
  width:max-content;
  padding:6px 12px;
  color:#7ef0ff;
  background:rgba(9,27,43,.85);
  border:1px solid rgba(95,202,255,.28);
  font-size:11px;
  letter-spacing:2px;
  margin-bottom:12px;
}
.home-event-banner h3{
  font-size:30px;
  line-height:1.15;
  margin:0 0 10px;
  letter-spacing:-.8px;
}
.home-event-banner p{
  margin:0;
  max-width:560px;
  font-size:14px;
  line-height:1.72;
  color:#d7e7f6;
}
.home-event-banner .event-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:146px;
  padding:14px 20px;
  border-radius:14px;
  background:linear-gradient(180deg,#4ea8ff,#3479ff);
  color:#fff;
  font-weight:800;
  border:1px solid rgba(122,215,255,.22);
  box-shadow:0 16px 36px rgba(41,113,255,.26);
}
.home-event-banner .event-action:hover{transform:translateY(-1px);filter:saturate(1.06)}

.premium-section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin:18px 0 10px;
}
.premium-section-head span{
  font-size:11px;
  letter-spacing:3px;
  color:#7be6ff;
  font-weight:900;
}
.premium-section-head h2{
  font-size:26px;
  margin:6px 0 0;
  letter-spacing:-.5px;
}
.premium-section-head a{
  color:#99ebff;
  font-size:13px;
}
.premium-info-grid{
  display:grid;
  grid-template-columns:1.15fr 1fr 1fr;
  gap:12px;
  margin-bottom:18px;
}
.premium-info-card{
  position:relative;
  min-height:188px;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(85,160,220,.22);
  background:#0f1a2a center/cover no-repeat;
  box-shadow:var(--medil-glow);
  display:flex;
  align-items:flex-end;
  padding:20px;
}
.premium-info-card:before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(6,14,25,.10),rgba(6,14,25,.88));
}
.premium-info-card>*{position:relative;z-index:1}
.premium-info-card h3{font-size:24px;line-height:1.2;margin:8px 0 8px}
.premium-info-card p{margin:0;color:#d4e6f7;font-size:12px;line-height:1.65;max-width:420px}
.premium-info-card .eyebrow{font-size:10px;letter-spacing:2px;color:#7ce6ff;font-weight:900}
.premium-info-card .inline-link{display:inline-flex;margin-top:14px;color:#fff;font-weight:800;font-size:12px;padding:8px 12px;border-radius:10px;background:rgba(9,27,43,.78);border:1px solid rgba(95,202,255,.18)}
.premium-info-card.casino{background-image:url('./home-card-casino-v15.png')}
.premium-info-card.sports{background-image:url('./home-card-sports-v15.png')}
.premium-info-card.slots{background-image:url('./home-card-slots-v15.png')}

.home-game-grid .home-game-card{
  border-radius:16px!important;
  border-color:rgba(84,156,214,.20)!important;
  background:linear-gradient(180deg,rgba(17,26,39,.98),rgba(9,16,25,.96))!important;
}
.home-game-grid .home-game-card:hover{
  border-color:rgba(92,211,255,.36)!important;
  box-shadow:0 16px 34px rgba(0,0,0,.24)!important;
}
.board-card{
  border-radius:16px!important;
  background:linear-gradient(180deg,rgba(14,23,35,.96),rgba(9,16,25,.96))!important;
}
.quick-item{
  border-radius:16px!important;
  background:linear-gradient(180deg,rgba(14,28,42,.96),rgba(10,20,31,.96))!important;
}
.quick-item.active,.quick-item:hover{
  box-shadow:0 16px 34px rgba(0,0,0,.22)!important;
}

@media (max-width: 1460px){
  .home-premium-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .premium-info-grid{grid-template-columns:1fr 1fr}
  .premium-info-card:first-child{grid-column:1/-1}
}
@media (max-width: 980px){
  .portal-hero.premium-home-hero{min-height:470px!important;background-position:64% center!important}
  .portal-hero.premium-home-hero .hero-copy{padding:30px 22px 88px!important;max-width:none!important}
  .portal-hero.premium-home-hero .hero-status{left:22px!important;right:auto!important;bottom:18px!important;justify-items:start!important}
  .home-premium-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .home-card .card-inner{min-height:156px;padding:16px}
  .home-card h3{font-size:20px}
  .home-card p{max-width:none;font-size:11px}
  .home-event-banner{grid-template-columns:1fr;padding:22px 18px;gap:14px}
  .premium-info-grid{grid-template-columns:1fr}
}
@media (max-width: 680px){
  .portal-logo .brand-header-image{max-width:136px!important;height:auto!important}
  .portal-topline{padding:10px 12px!important}
  .portal-mainnav a{min-width:auto!important;flex:1 0 auto!important}
  .portal-hero.premium-home-hero{min-height:540px!important;background-position:64% center!important}
  .portal-hero.premium-home-hero .hero-copy h1{font-size:clamp(34px,11vw,52px)!important}
  .portal-hero.premium-home-hero .hero-copy p{font-size:13px!important;max-width:280px!important}
  .portal-hero.premium-home-hero .hero-actions{flex-direction:row!important;flex-wrap:wrap!important}
  .portal-hero.premium-home-hero .hero-actions .button{padding:12px 14px!important;font-size:12px!important;min-width:0!important}
  .home-premium-grid{grid-template-columns:1fr 1fr;gap:9px}
  .home-card{min-height:164px;border-radius:16px}
  .home-card .card-icon{width:46px;height:46px;border-radius:14px;font-size:21px}
  .home-card .card-count{width:38px;height:38px;min-width:38px;font-size:16px;padding:0}
  .home-card .card-inner{min-height:164px;padding:16px 14px}
  .home-card .card-label{font-size:10px;letter-spacing:2px}
  .home-card h3{font-size:18px;margin-bottom:5px}
  .home-card p{font-size:11px;line-height:1.55;max-width:100%}
  .home-event-banner{border-radius:18px;padding:20px 16px;min-height:190px}
  .home-event-banner h3{font-size:24px}
  .home-event-banner p{font-size:12px;max-width:none}
  .premium-section-head h2{font-size:22px}
  .premium-info-card{min-height:210px;border-radius:16px;padding:18px}
  .premium-info-card h3{font-size:21px}
}


/* gv1 custom cleanup */
.portal-right.guest-right.simple-auth-only{gap:0}
.portal-right.guest-right.simple-auth-only .auth-only-card{min-height:140px;display:flex;align-items:center;justify-content:center;padding:26px}
.portal-right.guest-right.simple-auth-only .guest-actions{width:100%;display:flex;gap:14px;justify-content:center}
.portal-right.guest-right.simple-auth-only .guest-actions .button{flex:1;max-width:180px;text-align:center}
@media (max-width: 1080px){
  .portal-right.guest-right.simple-auth-only .guest-actions{flex-direction:column;align-items:stretch}
  .portal-right.guest-right.simple-auth-only .guest-actions .button{max-width:none}
}


/* screenshot-style home apply */
.portal-mainnav a{display:flex;align-items:center;justify-content:center;gap:10px}
.portal-mainnav a b{font-weight:800}
.portal-mainnav .mainnav-icon{display:inline-flex;align-items:center;justify-content:center;font-size:19px;line-height:1;color:#dce8ff;opacity:.95}

.screenshot-home-style{min-height:640px!important;border-radius:26px!important;background:#091423 url('./home-hero-premium-v15.png') 68% center/cover no-repeat!important;margin-top:10px}
.screenshot-home-style:before{background:linear-gradient(90deg,rgba(4,12,23,.95) 0%,rgba(5,15,26,.82) 30%,rgba(5,15,26,.42) 58%,rgba(5,15,26,.12) 100%),linear-gradient(180deg,rgba(5,15,26,.08),rgba(5,15,26,.50) 100%)!important}
.screenshot-home-style .hero-copy{padding:54px 36px 92px!important;max-width:560px!important}
.screenshot-home-style .hero-copy h1{font-size:clamp(50px,5.6vw,84px)!important;line-height:.98!important;letter-spacing:-1.6px!important}
.screenshot-home-style .hero-copy h1 em{display:inline-block;font-style:normal;background:linear-gradient(180deg,#eff7ff 5%,#9be8ff 35%,#4ea7ff 85%);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:0 0 22px rgba(74,172,255,.28)}
.screenshot-home-style .hero-copy p{font-size:16px!important;max-width:470px!important;line-height:1.6!important}
.screenshot-home-style .hero-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:28px!important}
.screenshot-home-style .hero-actions .button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:24px!important;min-width:230px;padding:20px 26px!important;font-size:18px!important;box-shadow:0 10px 26px rgba(0,0,0,.24)}
.screenshot-home-style .hero-actions .button.icon b{font-weight:800}
.screenshot-home-style .hero-actions .button.primary{background:linear-gradient(180deg,#58bdfd,#2d6dff)!important}
.screenshot-home-style .hero-actions .button.ghost{background:rgba(12,22,43,.64)!important;border:1px solid rgba(112,174,255,.22)!important}
.screenshot-home-style .hero-dots{display:flex;gap:10px;align-items:center;margin-top:18px;padding-left:8px}
.screenshot-home-style .hero-dots i{display:block;width:11px;height:11px;border-radius:50%;background:rgba(199,224,255,.42);box-shadow:0 0 0 1px rgba(120,182,255,.12)}
.screenshot-home-style .hero-dots i.active{background:#55dbff;box-shadow:0 0 0 4px rgba(85,219,255,.14)}
.screenshot-home-style .hero-live-badge{position:absolute;right:24px;bottom:24px;z-index:2;display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border-radius:999px;background:rgba(3,25,30,.74);border:1px solid rgba(47,214,180,.45);box-shadow:0 8px 22px rgba(0,0,0,.28)}
.screenshot-home-style .hero-live-badge span{color:#2fe6c0;font-size:12px}
.screenshot-home-style .hero-live-badge b{color:#7af7d4;font-size:15px;letter-spacing:.6px}

.screenshot-home-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}
.screenshot-home-grid .home-card{min-height:184px;border-radius:20px;background-position:center center;box-shadow:0 14px 30px rgba(0,0,0,.28)}
.screenshot-home-grid .home-card:before{background:linear-gradient(180deg,rgba(7,16,28,.06) 0%,rgba(7,16,28,.20) 30%,rgba(7,16,28,.86) 100%)}
.screenshot-home-grid .home-card .card-inner{min-height:184px;padding:18px;justify-content:flex-end}
.screenshot-home-grid .home-card h3{font-size:20px;margin:0 0 4px;line-height:1.15}
.screenshot-home-grid .home-card p{font-size:12px;line-height:1.45;color:#dbe9f9;max-width:100%}
.screenshot-home-grid .home-card .card-count{top:auto;bottom:18px;left:18px;right:auto;min-width:38px;height:38px;background:rgba(9,25,45,.88);font-size:16px;color:#6de4ff}
.screenshot-home-grid .home-card .card-arrow{position:absolute;right:18px;bottom:16px;width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:30px;color:#eaf3ff;background:rgba(10,25,45,.84);border:1px solid rgba(126,189,255,.22);z-index:2}
.screenshot-home-grid .home-card .card-icon,.screenshot-home-grid .home-card .card-label{display:none!important}
.screenshot-home-grid .home-card .card-inner{padding-bottom:56px}

.home-event-banner.compact-shot{min-height:126px;border-radius:20px;padding:22px 22px;background:#0f1a2a url('./home-card-event-v15.png') right center/cover no-repeat;grid-template-columns:minmax(0,1fr) auto;align-items:center}
.home-event-banner.compact-shot:before{background:linear-gradient(90deg,rgba(6,15,27,.92) 0%,rgba(6,15,27,.76) 38%,rgba(6,15,27,.24) 100%)}
.home-event-banner.compact-shot .event-pill{margin-bottom:8px}
.home-event-banner.compact-shot h3{font-size:21px;margin:0;line-height:1.25}
.home-event-banner.compact-shot p{display:none}
.home-event-banner.compact-shot .event-action{min-width:auto;padding:12px 18px;border-radius:16px;font-size:14px}

@media (max-width: 860px){
  .portal-mainnav{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));padding:0!important;gap:0!important}
  .portal-mainnav a{flex-direction:column;gap:6px;padding:12px 6px!important;min-height:74px;border-radius:0!important}
  .portal-mainnav .mainnav-icon{font-size:22px}
  .portal-mainnav a b{font-size:13px;line-height:1.2;white-space:nowrap}
  .portal-mainnav a.active{box-shadow:inset 0 -4px 0 var(--medil-cyan),0 0 0 1px rgba(84,201,255,.08)!important}
  .portal-topline{align-items:center!important}
  .portal-logo .brand-header-image{max-width:320px!important}
}
@media (max-width: 680px){
  .portal-shell{padding-bottom:92px!important}
  .portal-topline{padding:12px 14px!important}
  .portal-logo .brand-header-image{max-width:290px!important;height:auto!important}
  .header-action-cluster.guest{gap:8px!important}
  .top-mini{min-width:0!important;padding:14px 16px!important;border-radius:18px!important;font-weight:800!important}
  .mobile-menu-toggle{width:60px!important;height:60px!important;border-radius:18px!important;padding:0!important;display:grid!important;place-items:center!important}
  .mobile-menu-toggle b{display:none!important}
  .mobile-menu-toggle span{font-size:32px!important;line-height:1}
  .screenshot-home-style{min-height:698px!important;border-radius:24px!important;background-position:63% center!important}
  .screenshot-home-style .hero-copy{padding:48px 26px 94px!important}
  .screenshot-home-style .hero-kicker{font-size:10px!important;letter-spacing:5px!important}
  .screenshot-home-style .hero-copy h1{font-size:clamp(44px,12vw,74px)!important}
  .screenshot-home-style .hero-copy p{font-size:15px!important;max-width:300px!important}
  .screenshot-home-style .hero-actions{gap:12px;flex-wrap:nowrap;max-width:100%}
  .screenshot-home-style .hero-actions .button{min-width:0;flex:1;padding:18px 10px!important;font-size:15px!important;border-radius:22px!important}
  .screenshot-home-style .hero-dots{justify-content:center;padding-left:0;margin-top:20px}
  .screenshot-home-style .hero-live-badge{right:18px;bottom:18px;padding:8px 14px}
  .screenshot-home-grid{gap:12px}
  .screenshot-home-grid .home-card{min-height:162px;border-radius:18px}
  .screenshot-home-grid .home-card .card-inner{min-height:162px;padding:16px 14px 54px}
  .screenshot-home-grid .home-card h3{font-size:18px}
  .screenshot-home-grid .home-card p{font-size:11px}
  .screenshot-home-grid .home-card .card-count{left:14px;bottom:14px;width:36px;height:36px;min-width:36px;font-size:15px}
  .screenshot-home-grid .home-card .card-arrow{right:14px;bottom:12px;width:40px;height:40px;font-size:28px}
  .home-event-banner.compact-shot{min-height:106px;padding:18px 18px;border-radius:18px;gap:10px}
  .home-event-banner.compact-shot h3{font-size:18px}
  .home-event-banner.compact-shot .event-pill{font-size:10px;letter-spacing:3px}
}


/* v14.3 mobile reference match: compact header, visible labels, short hero, wide 2x2 cards */
@media (max-width:680px){
  .portal-topline.refined{
    grid-template-columns:minmax(104px,1fr) auto 48px!important;
    grid-template-rows:52px!important;
    min-height:62px!important;
    height:62px!important;
    gap:7px!important;
    padding:6px 10px!important;
    align-items:center!important;
    overflow:hidden!important;
  }
  .portal-logo{height:52px!important;overflow:visible!important;min-width:0!important}
  .portal-logo .brand-header-v14c{width:100%!important;height:52px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important}
  .portal-logo .brand-header-v14c .brand-header-image{
    width:118px!important;
    max-width:118px!important;
    height:auto!important;
    object-fit:contain!important;
    object-position:left center!important;
  }
  .portal-topline.refined .header-action-cluster.guest{
    display:flex!important;
    grid-column:2!important;
    grid-row:1!important;
    gap:5px!important;
    width:auto!important;
    min-width:0!important;
    align-items:center!important;
    justify-content:flex-end!important;
  }
  .portal-topline.refined .header-action-cluster.guest .top-mini{
    min-width:52px!important;
    width:auto!important;
    height:38px!important;
    padding:0 10px!important;
    border-radius:11px!important;
    font-size:11px!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  .mobile-menu-toggle{
    grid-column:3!important;
    grid-row:1!important;
    width:46px!important;
    min-width:46px!important;
    height:46px!important;
    border-radius:13px!important;
    padding:0!important;
  }
  .mobile-menu-toggle span{font-size:26px!important}

  .portal-mainnav{
    height:50px!important;
    min-height:50px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    align-items:stretch!important;
    overflow:hidden!important;
    padding:0!important;
    gap:0!important;
  }
  .portal-mainnav a{
    min-width:0!important;
    width:auto!important;
    height:50px!important;
    min-height:50px!important;
    padding:8px 2px 7px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:2px!important;
    border-right:1px solid rgba(88,145,210,.12)!important;
    border-bottom:3px solid transparent!important;
    overflow:visible!important;
  }
  .portal-mainnav a:last-child{border-right:0!important}
  .portal-mainnav .mainnav-icon{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    height:21px!important;
    font-size:19px!important;
    line-height:1!important;
    color:#dbe8ff!important;
    filter:grayscale(1) brightness(1.65)!important;
    opacity:.96!important;
  }
  .portal-mainnav a b{
    display:block!important;
    max-width:100%!important;
    font-size:10px!important;
    line-height:1!important;
    font-weight:800!important;
    letter-spacing:-.3px!important;
    white-space:nowrap!important;
    color:#c7d4e8!important;
  }
  .portal-mainnav a.active .mainnav-icon,.portal-mainnav a.active b{color:#67e4ff!important}
  .portal-mainnav a.active{background:linear-gradient(180deg,#10243a,#0b1728)!important;border-bottom-color:#55e0ff!important}

  .portal-grid{padding:12px 12px 158px!important}
  .portal-main{overflow:visible!important}

  .portal-hero.premium-home-hero.screenshot-home-style{
    width:100%!important;
    min-height:0!important;
    height:auto!important;
    aspect-ratio:1.36/1!important;
    border-radius:22px!important;
    margin:0!important;
    background-position:66% center!important;
    overflow:hidden!important;
  }
  .portal-hero.premium-home-hero.screenshot-home-style:before{
    background:linear-gradient(90deg,rgba(4,12,23,.94) 0%,rgba(4,12,23,.79) 34%,rgba(4,12,23,.35) 64%,rgba(4,12,23,.12) 100%),linear-gradient(180deg,rgba(4,12,23,.05),rgba(4,12,23,.38))!important;
  }
  .portal-hero.premium-home-hero.screenshot-home-style .hero-copy{
    width:63%!important;
    max-width:63%!important;
    height:100%!important;
    padding:28px 18px 22px!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:flex-start!important;
  }
  .screenshot-home-style .hero-kicker{font-size:8.5px!important;letter-spacing:3.2px!important;margin-bottom:9px!important}
  .portal-hero.premium-home-hero.screenshot-home-style .hero-copy h1{
    font-size:clamp(35px,10.8vw,46px)!important;
    line-height:.98!important;
    letter-spacing:-1.4px!important;
    margin:0 0 13px!important;
  }
  .portal-hero.premium-home-hero.screenshot-home-style .hero-copy p{
    font-size:10.5px!important;
    line-height:1.55!important;
    max-width:250px!important;
    margin:0!important;
  }
  .portal-hero.premium-home-hero.screenshot-home-style .hero-actions{
    margin-top:14px!important;
    gap:7px!important;
    display:flex!important;
    flex-wrap:nowrap!important;
    width:100%!important;
  }
  .portal-hero.premium-home-hero.screenshot-home-style .hero-actions .button{
    flex:1 1 0!important;
    min-width:0!important;
    height:42px!important;
    padding:0 9px!important;
    border-radius:16px!important;
    font-size:10.5px!important;
    gap:5px!important;
    white-space:nowrap!important;
  }
  .screenshot-home-style .hero-dots{position:absolute!important;left:50%!important;bottom:12px!important;transform:translateX(-50%)!important;margin:0!important;gap:7px!important}
  .screenshot-home-style .hero-dots i{width:7px!important;height:7px!important}
  .screenshot-home-style .hero-live-badge{right:12px!important;bottom:12px!important;padding:7px 10px!important;gap:5px!important}
  .screenshot-home-style .hero-live-badge b{font-size:11px!important}

  .home-premium-grid.screenshot-home-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
    margin:10px 0 10px!important;
  }
  .screenshot-home-grid .home-card{
    min-height:0!important;
    height:auto!important;
    aspect-ratio:2.52/1!important;
    border-radius:15px!important;
    background-position:center!important;
  }
  .screenshot-home-grid .home-card .card-inner{
    min-height:0!important;
    height:100%!important;
    padding:12px 10px 10px!important;
    justify-content:flex-start!important;
  }
  .screenshot-home-grid .home-card h3{font-size:13px!important;line-height:1.15!important;margin:0 0 3px!important;text-shadow:0 2px 7px #000}
  .screenshot-home-grid .home-card p{font-size:8.5px!important;line-height:1.3!important;color:#dce8f8!important;text-shadow:0 2px 7px #000}
  .screenshot-home-grid .home-card .card-count{
    left:10px!important;bottom:9px!important;top:auto!important;right:auto!important;
    min-width:29px!important;width:auto!important;height:25px!important;padding:0 8px!important;
    font-size:10px!important;
  }
  .screenshot-home-grid .home-card .card-arrow{
    right:9px!important;bottom:8px!important;width:29px!important;height:29px!important;font-size:20px!important;
  }

  .home-event-banner.compact-shot{
    min-height:0!important;
    height:auto!important;
    aspect-ratio:6.9/1!important;
    margin:0!important;
    padding:9px 12px!important;
    border-radius:14px!important;
    grid-template-columns:minmax(0,1fr) auto!important;
  }
  .home-event-banner.compact-shot .event-pill{font-size:7.5px!important;letter-spacing:2.5px!important;margin:0 0 3px!important;padding:0!important;background:none!important;border:0!important}
  .home-event-banner.compact-shot h3{font-size:11px!important;line-height:1.15!important;margin:0!important}
  .home-event-banner.compact-shot .event-action{font-size:9px!important;padding:7px 9px!important;border-radius:10px!important;background:rgba(13,28,50,.78)!important}

  .mobile-dock{
    display:grid!important;
    grid-template-columns:repeat(5,1fr)!important;
    left:12px!important;
    right:12px!important;
    bottom:58px!important;
    width:auto!important;
    height:54px!important;
    border:1px solid rgba(69,121,180,.34)!important;
    border-radius:24px!important;
    overflow:hidden!important;
    background:rgba(7,16,28,.96)!important;
    box-shadow:0 14px 38px rgba(0,0,0,.48)!important;
    z-index:500!important;
  }
  .mobile-dock a{gap:3px!important;border-right:1px solid rgba(74,125,185,.10)!important}
  .mobile-dock a:last-child{border-right:0!important}
  .mobile-dock a span{font-size:16px!important}
  .mobile-dock a b{font-size:9px!important}
  .mobile-dock a.active{background:linear-gradient(180deg,#164772,#0d2a49)!important;color:#71e6ff!important;box-shadow:inset 0 0 0 1px rgba(78,198,255,.36)!important}
}

@media (max-width:390px){
  .portal-topline.refined{grid-template-columns:minmax(96px,1fr) auto 44px!important;padding-left:8px!important;padding-right:8px!important}
  .portal-logo .brand-header-v14c .brand-header-image{width:108px!important;max-width:108px!important}
  .portal-topline.refined .header-action-cluster.guest .top-mini{min-width:48px!important;padding:0 7px!important;font-size:10px!important}
  .mobile-menu-toggle{width:42px!important;min-width:42px!important;height:44px!important}
  .portal-mainnav a b{font-size:9.5px!important}
  .portal-hero.premium-home-hero.screenshot-home-style .hero-copy{width:65%!important;max-width:65%!important;padding-left:16px!important;padding-right:10px!important}
  .portal-hero.premium-home-hero.screenshot-home-style .hero-copy h1{font-size:clamp(33px,10.6vw,42px)!important}
  .portal-hero.premium-home-hero.screenshot-home-style .hero-copy p{font-size:9.8px!important}
}


/* v14.4 closer match to reference image */
.nav-svg,.dock-svg,.btn-svg,.btn-arrow,.card-arrow-svg,.live-svg,.event-svg{display:block;width:100%;height:100%}
.portal-mainnav .mainnav-icon{width:22px;height:22px}
.mobile-dock a span{width:18px;height:18px;display:block}
.screenshot-home-style .hero-actions .button{position:relative}
.screenshot-home-style .hero-actions .button .btn-svg{width:19px;height:19px;flex:0 0 19px}
.screenshot-home-style .hero-actions .button .btn-arrow{width:14px;height:14px;flex:0 0 14px;margin-left:auto;opacity:.96}
.screenshot-home-style .hero-actions .button b{font-weight:800;letter-spacing:-.2px}
.screenshot-home-style .hero-live-badge .live-svg{width:18px;height:18px;color:#3ce8c3}
.screenshot-home-grid .home-card .card-arrow{display:flex;align-items:center;justify-content:center}
.screenshot-home-grid .home-card .card-arrow .card-arrow-svg{width:16px;height:16px}
.home-event-banner.enhanced-event{display:grid;grid-template-columns:54px minmax(0,1fr) 124px;gap:12px;align-items:center;background:#0f1a2a url('./home-card-event-v15.png') right center/cover no-repeat}
.home-event-banner.enhanced-event .event-symbol{position:relative;z-index:1;width:48px;height:48px;border-radius:14px;display:flex;align-items:center;justify-content:center;color:#efd69a}
.home-event-banner.enhanced-event .event-symbol .event-svg{width:32px;height:32px;filter:drop-shadow(0 2px 12px rgba(255,221,147,.2))}
.home-event-banner.enhanced-event .event-copy{position:relative;z-index:1}
.home-event-banner.enhanced-event .event-copy h3 span{opacity:.92}
.home-event-banner.enhanced-event .event-visual{position:relative;z-index:1;align-self:stretch;border-radius:14px;background:transparent}
.preserve-below{margin-top:18px}

@media (max-width:680px){
  .portal-mainnav{border-radius:0 0 22px 22px!important;border:1px solid rgba(78,121,180,.20)!important;border-top:0!important;background:rgba(8,17,29,.92)!important;box-shadow:0 10px 20px rgba(0,0,0,.18)!important}
  .portal-mainnav a{position:relative!important}
  .portal-mainnav a.active::after{content:'';position:absolute;left:12px;right:12px;bottom:4px;height:4px;border-radius:999px;background:linear-gradient(90deg,#56d9ff,#76f3ff)!important;box-shadow:0 0 12px rgba(106,228,255,.45)}
  .portal-mainnav .mainnav-icon{width:20px!important;height:20px!important;margin-bottom:2px}
  .portal-mainnav a b{font-size:9.8px!important}
  .portal-logo .brand-header-v14c .brand-header-image{width:134px!important;max-width:134px!important}
  .portal-topline.refined .header-action-cluster.guest .top-mini{height:40px!important;border-radius:14px!important;padding:0 12px!important;font-size:12px!important}
  .mobile-menu-toggle{border-radius:16px!important}

  .portal-grid{padding-bottom:340px!important}
  .portal-main > .portal-footer{padding-bottom:86px!important}

  .portal-hero.premium-home-hero.screenshot-home-style{
    aspect-ratio:1.205/1!important;
    background-position:63% center!important;
    box-shadow:0 18px 36px rgba(0,0,0,.30)!important;
  }
  .portal-hero.premium-home-hero.screenshot-home-style .hero-copy{width:56%!important;max-width:56%!important;padding:28px 18px 18px!important}
  .portal-hero.premium-home-hero.screenshot-home-style .hero-copy h1{font-size:clamp(37px,10.9vw,49px)!important;margin-bottom:14px!important}
  .portal-hero.premium-home-hero.screenshot-home-style .hero-copy h1 em{text-shadow:0 0 18px rgba(92,180,255,.42)!important}
  .portal-hero.premium-home-hero.screenshot-home-style .hero-copy p{font-size:9.9px!important;line-height:1.58!important;max-width:210px!important}
  .portal-hero.premium-home-hero.screenshot-home-style .hero-actions{margin-top:16px!important;gap:10px!important}
  .portal-hero.premium-home-hero.screenshot-home-style .hero-actions .button{height:49px!important;border-radius:18px!important;padding:0 14px!important;font-size:11.2px!important}
  .portal-hero.premium-home-hero.screenshot-home-style .hero-actions .button .btn-svg{width:18px;height:18px;flex-basis:18px}
  .portal-hero.premium-home-hero.screenshot-home-style .hero-actions .button .btn-arrow{width:14px;height:14px;flex-basis:14px}
  .screenshot-home-style .hero-dots{bottom:18px!important;gap:8px!important}
  .screenshot-home-style .hero-dots i{width:8px!important;height:8px!important}
  .screenshot-home-style .hero-live-badge{padding:9px 12px!important;border-radius:999px!important}
  .screenshot-home-style .hero-live-badge .live-svg{width:16px;height:16px}

  .home-premium-grid.screenshot-home-grid{gap:12px!important;margin-top:16px!important;margin-bottom:14px!important}
  .screenshot-home-grid .home-card{aspect-ratio:2.12/1!important;border-radius:18px!important}
  .screenshot-home-grid .home-card .card-inner{padding:18px 14px 14px!important}
  .screenshot-home-grid .home-card h3{font-size:18px!important;margin-bottom:4px!important}
  .screenshot-home-grid .home-card p{font-size:11px!important}
  .screenshot-home-grid .home-card .card-count{left:14px!important;bottom:13px!important;min-width:38px!important;height:31px!important;padding:0 11px!important;font-size:17px!important;border-radius:16px!important}
  .screenshot-home-grid .home-card .card-arrow{right:13px!important;bottom:11px!important;width:42px!important;height:42px!important}
  .screenshot-home-grid .home-card .card-arrow .card-arrow-svg{width:18px;height:18px}

  .home-event-banner.compact-shot.enhanced-event{grid-template-columns:44px minmax(0,1fr) 110px!important;min-height:92px!important;aspect-ratio:auto!important;padding:14px 14px!important;border-radius:18px!important}
  .home-event-banner.enhanced-event .event-symbol{width:38px;height:38px}
  .home-event-banner.enhanced-event .event-symbol .event-svg{width:28px;height:28px}
  .home-event-banner.enhanced-event .event-pill{font-size:9px!important;letter-spacing:4px!important}
  .home-event-banner.enhanced-event h3{font-size:15px!important;line-height:1.25!important}
  .home-event-banner.enhanced-event .event-copy h3 span{display:inline-block;margin-left:2px}

  .premium-section-head.preserve-below{margin-top:20px!important}
  .premium-section-head.preserve-below h2{font-size:20px!important}
  .premium-info-grid{gap:10px!important}
  .premium-info-card{min-height:168px!important;border-radius:16px!important;padding:16px!important}
  .premium-info-card h3{font-size:18px!important}
  .premium-info-card p{font-size:11px!important}
  .board-grid.preserve-below{gap:10px!important;margin-top:12px!important}
  .board-card{border-radius:16px!important}
  .board-card header h3{font-size:17px!important}
  .board-card ul li a{font-size:12px!important}
  .home-game-grid{gap:10px!important}
  .home-game-card{border-radius:16px!important;min-height:74px!important;padding:14px!important}
  .home-game-card strong{font-size:14px!important}
  .home-game-card small{font-size:11px!important}

  .mobile-dock{position:fixed!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;left:16px!important;right:16px!important;bottom:10px!important;height:72px!important;padding:6px!important;border-radius:28px!important;background:rgba(7,16,28,.98)!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 16px 40px rgba(0,0,0,.46)!important;z-index:800!important}
  .mobile-dock a{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:7px!important;border-right:0!important;border-radius:20px!important;color:#cfdaf0!important}
  .mobile-dock a span{width:20px!important;height:20px!important;color:inherit!important}
  .mobile-dock a b{font-size:10px!important;font-weight:800!important;color:inherit!important}
  .mobile-dock a.active{background:linear-gradient(180deg,#1f5f98,#10325a)!important;color:#76eaff!important;box-shadow:inset 0 0 0 1px rgba(100,216,255,.34)!important}
}
