/* V32 final mobile and notification polish. */
@keyframes announcementMarquee{to{transform:translateX(-50%)}}
.announcement-track{display:flex;align-items:center;min-width:0}.announcement-content{display:inline-flex;align-items:center;justify-content:center;gap:15px}.announcement-copy{display:none}.calendar-mobile-agenda{display:none}

.player-profile-actions #edit-profile-toggle{border-color:var(--red);background:var(--red);color:#fff;box-shadow:0 10px 25px color-mix(in srgb,var(--red) 20%,transparent)}
.player-profile-actions [data-jump="verify"]{border-color:color-mix(in srgb,var(--yellow) 70%,var(--line));background:var(--yellow);color:#111}
.player-profile-actions #view-public-profile{border-color:color-mix(in srgb,var(--green) 55%,var(--line));background:color-mix(in srgb,var(--green) 8%,var(--surface));color:color-mix(in srgb,var(--green) 75%,var(--text))}
.player-profile-actions #edit-profile-toggle::before{content:"✦"}.player-profile-actions [data-jump="verify"]::before{content:"✓"}.player-profile-actions #view-public-profile::before{content:"↗"}
#support-ticket-form .form-actions .btn{border-radius:10px;box-shadow:0 12px 28px color-mix(in srgb,var(--red) 22%,transparent)}
#refresh-history,#mark-all-notifications{border-radius:9px}

:root[data-theme="light"] body{background-image:linear-gradient(180deg,rgba(255,255,255,.26),transparent 42%)}
:root[data-theme="light"] .panel,:root[data-theme="light"] .card,:root[data-theme="light"] .event-tile,:root[data-theme="light"] .news-tile,:root[data-theme="light"] .market-tile,:root[data-theme="light"] .liquid-panel{border-color:#cec7b8;box-shadow:0 14px 40px rgba(65,48,18,.08)}
:root[data-theme="light"] .btn.ghost,:root[data-theme="light"] .mini-btn{background:#fffdf7;border-color:#c9c1b0;color:#24211c}
:root[data-theme="light"] .page-sub,:root[data-theme="light"] .lead,:root[data-theme="light"] .event-tile>p:not(.eyebrow){color:#5d574d}

@media(max-width:760px){
  .announcement-strip{min-height:38px;padding:0;overflow:hidden!important;white-space:nowrap;touch-action:auto!important}.announcement-track{width:max-content;will-change:transform;animation:announcementMarquee 18s linear infinite}.announcement-content{flex:0 0 auto;min-width:max-content;padding:9px 24px;justify-content:flex-start}.announcement-copy{display:inline-flex}.announcement-content::after{content:"◆";margin-left:9px;font-size:7px}

  body[data-page="events"] .calendar-shell{margin:20px 0 36px;overflow:hidden!important;border-radius:15px}body[data-page="events"] .calendar-head{padding:15px 13px;align-items:stretch}body[data-page="events"] .calendar-head h2{font-size:20px}body[data-page="events"] .calendar-grid{min-width:0!important;grid-template-columns:repeat(7,minmax(0,1fr))}body[data-page="events"] .calendar-weekday{padding:8px 0;text-align:center;font-size:6px;letter-spacing:.04em}body[data-page="events"] .calendar-day{min-width:0;min-height:51px;padding:6px 2px;text-align:center;overflow:hidden}body[data-page="events"] .calendar-day>b{margin-inline:auto;font-size:9px}body[data-page="events"] .calendar-day.today>b{width:24px;height:24px}body[data-page="events"] .calendar-day a{display:inline-grid;width:8px;height:8px;margin:6px 1px 0;padding:0;border-radius:50%;background:var(--yellow);vertical-align:top}body[data-page="events"] .calendar-day a:nth-of-type(2){background:var(--red)}body[data-page="events"] .calendar-day a:nth-of-type(3){background:var(--green)}body[data-page="events"] .calendar-day a i,body[data-page="events"] .calendar-day a span,body[data-page="events"] .calendar-day a small,body[data-page="events"] .calendar-day>small{display:none}body[data-page="events"] .calendar-mobile-agenda{display:grid;padding:4px 13px 13px;background:var(--surface)}body[data-page="events"] .calendar-agenda-row{min-width:0;display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:9px;align-items:center;padding:11px 0;border-top:1px solid var(--line)}body[data-page="events"] .calendar-agenda-row time{font-family:Impact,"Arial Black",sans-serif;font-size:15px;color:var(--yellow)}body[data-page="events"] .calendar-agenda-row span{display:grid;gap:3px;min-width:0}body[data-page="events"] .calendar-agenda-row b,body[data-page="events"] .calendar-agenda-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body[data-page="events"] .calendar-agenda-row b{font-size:10px}body[data-page="events"] .calendar-agenda-row small{color:var(--muted);font-size:8px}body[data-page="events"] .calendar-agenda-row em{color:var(--yellow);font-size:8px;font-style:normal;font-weight:900;text-transform:uppercase}body[data-page="events"] .calendar-agenda-empty{padding:17px 4px 7px;color:var(--muted);font-size:9px;text-align:center}

  body[data-page="events"] .compact-head{margin-top:0;margin-bottom:15px}body[data-page="events"] .compact-head h2{font-size:38px}body[data-page="events"] #events-page-grid{gap:12px}body[data-page="events"] .event-tile{min-height:0;padding:16px;border-radius:14px}body[data-page="events"] .event-tile .eyebrow{margin:12px 0 4px}body[data-page="events"] .event-tile h3{margin:5px 0 7px;font-size:22px}body[data-page="events"] .event-tile>p:not(.eyebrow){display:-webkit-box;margin:0 0 9px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}body[data-page="events"] .event-countdown.small{margin:8px 0;padding:10px;font-size:24px}body[data-page="events"] .event-tile .facts{margin:10px 0;gap:6px}body[data-page="events"] .event-tile .facts div{padding-top:7px}body[data-page="events"] .event-tile .facts dd{font-size:8px;line-height:1.35}body[data-page="events"] .event-tile .btn{margin-top:8px}

  body[data-page="rankings"] .portal-hero{text-align:center}body[data-page="rankings"] .portal-hero>p:last-child{margin-inline:auto}body[data-page="rankings"] .ranking-controls{align-items:center!important;text-align:center}body[data-page="rankings"] .ranking-controls .filter-pills{width:auto;max-width:100%;justify-content:center}body[data-page="rankings"] .leaderboard-panel .panel-head,body[data-page="rankings"] .hall-panel .panel-head{justify-content:center;text-align:center}body[data-page="rankings"] .rank-table th,body[data-page="rankings"] .rank-table td{text-align:center}body[data-page="rankings"] .player-cell{justify-content:center;text-align:left}

  .app-view[data-view="notifications"]>.page-head{text-align:center;align-items:center}.app-view[data-view="notifications"]>.page-head .btn{width:100%}.competition-alert-panel .panel-head,.notification-message-head{justify-content:center;text-align:center;align-items:center}.competition-alert-panel .panel-head>div,.notification-message-head>div{width:100%}.competition-alert-panel .panel-head .mini-btn,.notification-message-head .mini-btn{width:100%;flex-basis:100%}.competition-alert{text-align:center}.competition-alert .row-actions{grid-template-columns:1fr!important}.notification-control{text-align:center;align-items:center!important}.notification-control>div{width:100%}

  .player-profile-actions{display:grid!important;grid-template-columns:1fr 1fr;width:100%}.player-profile-actions #edit-profile-toggle{grid-column:1/-1}.player-profile-actions>.btn{min-width:0!important;width:100%}.app-view[data-view="history"]>.page-head{text-align:center;align-items:center}.app-view[data-view="history"] .dispute-guide{text-align:center;align-items:center}.app-view[data-view="history"] .panel>.panel-title{text-align:center}
}

@media(max-width:390px){body[data-page="events"] .calendar-agenda-row{grid-template-columns:42px minmax(0,1fr)}body[data-page="events"] .calendar-agenda-row em{grid-column:2}.player-profile-actions{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.announcement-track{max-width:100%;overflow:hidden;animation:none}.announcement-copy{display:none}}

/* V32.1 mobile events hotfix — compact cards and calendar on real phone widths. */
@media(max-width:760px){
  body[data-page="events"] .portal-section{width:100%;max-width:100%;padding-left:12px!important;padding-right:12px!important;box-sizing:border-box;overflow:hidden}
  body[data-page="events"] .toolbar,
  body[data-page="events"] .event-filter-groups,
  body[data-page="events"] #events-page-grid,
  body[data-page="events"] .calendar-shell,
  body[data-page="events"] .compact-head{min-width:0;max-width:100%;box-sizing:border-box}

  body[data-page="events"] #events-page-grid{
    width:100%;
    grid-template-columns:minmax(0,1fr)!important;
    gap:10px!important;
  }

  body[data-page="events"] .event-tile{
    width:100%;
    max-width:100%;
    min-width:0;
    min-height:0!important;
    padding:12px!important;
    border-radius:12px;
    box-sizing:border-box;
    overflow:hidden;
  }
  body[data-page="events"] .event-tile-top{gap:8px;min-width:0}
  body[data-page="events"] .event-tile-top .tag,
  body[data-page="events"] .event-tile-top .status{font-size:7px;padding:5px 7px;white-space:nowrap}
  body[data-page="events"] .event-tile .eyebrow{margin:8px 0 2px!important;font-size:7px}
  body[data-page="events"] .event-tile h3{margin:3px 0 5px!important;font-size:18px!important;line-height:1.05;overflow-wrap:anywhere}
  body[data-page="events"] .event-tile>p:not(.eyebrow){margin:0 0 6px!important;font-size:9px!important;line-height:1.35!important;-webkit-line-clamp:1!important;line-clamp:1!important}
  body[data-page="events"] .event-countdown.small{margin:6px 0!important;padding:7px 8px!important;min-height:0;font-size:18px!important;line-height:1!important}
  body[data-page="events"] .event-tile .facts{grid-template-columns:1.45fr .8fr .75fr!important;gap:5px!important;margin:7px 0!important}
  body[data-page="events"] .event-tile .facts div{min-width:0;padding-top:5px!important}
  body[data-page="events"] .event-tile .facts dt{font-size:6px;line-height:1.15}
  body[data-page="events"] .event-tile .facts dd{margin-top:3px!important;font-size:7px!important;line-height:1.25!important;overflow-wrap:anywhere}
  body[data-page="events"] .event-tile .btn{width:100%;min-height:38px;margin-top:6px!important;padding:8px 10px!important;font-size:8px}

  body[data-page="events"] .compact-head{margin:0 0 10px!important}
  body[data-page="events"] .compact-head h2{font-size:30px!important;line-height:.95}

  body[data-page="events"] .calendar-shell{width:100%;margin:14px 0 24px!important;border-radius:12px!important}
  body[data-page="events"] .calendar-head{padding:10px!important;gap:8px!important}
  body[data-page="events"] .calendar-head .eyebrow{font-size:7px}
  body[data-page="events"] .calendar-head h2{font-size:17px!important;margin:2px 0!important}
  body[data-page="events"] .calendar-controls{grid-template-columns:38px minmax(0,1fr) 38px!important;gap:5px!important}
  body[data-page="events"] .calendar-controls .mini-btn{min-height:36px;padding:0 6px;font-size:7px}
  body[data-page="events"] .calendar-grid{width:100%;min-width:0!important;grid-template-columns:repeat(7,minmax(0,1fr))!important}
  body[data-page="events"] .calendar-weekday{min-width:0;padding:6px 0!important;font-size:5px!important;letter-spacing:0!important}
  body[data-page="events"] .calendar-day{min-width:0!important;min-height:43px!important;padding:4px 1px!important}
  body[data-page="events"] .calendar-day>b{font-size:8px!important}
  body[data-page="events"] .calendar-day.today>b{width:21px!important;height:21px!important}
  body[data-page="events"] .calendar-day a{width:6px!important;height:6px!important;margin:5px 1px 0!important}
  body[data-page="events"] .calendar-mobile-agenda{padding:2px 10px 9px!important}
  body[data-page="events"] .calendar-agenda-row{grid-template-columns:40px minmax(0,1fr) auto!important;gap:7px!important;padding:8px 0!important}
  body[data-page="events"] .calendar-agenda-row time{font-size:13px!important}
  body[data-page="events"] .calendar-agenda-row b{font-size:9px!important}
  body[data-page="events"] .calendar-agenda-row small,
  body[data-page="events"] .calendar-agenda-row em{font-size:7px!important}
}

@media(max-width:430px){
  body[data-page="events"] .portal-section{padding-left:10px!important;padding-right:10px!important}
  body[data-page="events"] .event-tile{padding:10px!important}
  body[data-page="events"] .event-tile h3{font-size:17px!important}
  body[data-page="events"] .event-tile>p:not(.eyebrow){display:none!important}
  body[data-page="events"] .event-countdown.small{font-size:16px!important;padding:6px 7px!important}
  body[data-page="events"] .event-tile .facts{margin:6px 0!important}
  body[data-page="events"] .event-tile .btn{min-height:36px!important}
  body[data-page="events"] .calendar-day{min-height:39px!important}
  body[data-page="events"] .calendar-agenda-row{grid-template-columns:38px minmax(0,1fr)!important}
  body[data-page="events"] .calendar-agenda-row em{grid-column:2!important}
}

@media(max-width:360px){
  body[data-page="events"] .compact-head h2{font-size:27px!important}
  body[data-page="events"] .event-tile .facts{grid-template-columns:1.25fr .8fr .7fr!important}
  body[data-page="events"] .calendar-day{min-height:36px!important}
  body[data-page="events"] .calendar-controls{grid-template-columns:34px minmax(0,1fr) 34px!important}
}

/* V32.4 profile polish; theme availability is controlled by site.js and Platform Settings. */

/* Keep the signed-in profile smooth without changing other feature layouts. */
.player-profile-view .panel,
.player-profile-view .player-profile-hero,
.player-profile-view .profile-completion,
.player-profile-view .stat{
  border-radius:16px;
  overflow:hidden;
}
.player-profile-view .player-profile-actions .btn,
.player-profile-view .mini-btn,
.player-profile-view .btn.full,
.player-profile-view .profile-quick-actions .btn,
.player-profile-view .profile-quick-actions a{
  border-radius:12px;
}
.player-profile-view .player-profile-actions .btn{
  min-height:44px;
}
.player-profile-view .player-id-card>.btn.full,
.player-profile-view .player-account-card>.mini-btn{
  width:100%;
  justify-content:center;
}
.player-profile-view .profile-account-lines{
  gap:8px;
  margin-top:4px;
  padding:0;
  border:0;
  background:transparent;
}
.player-profile-view .profile-account-lines>div{
  padding:13px 14px;
  border:1px solid var(--line);
  border-radius:11px;
  background:linear-gradient(135deg,color-mix(in srgb,var(--surface-2) 94%,var(--yellow) 6%),var(--surface-2));
}
.player-profile-view .profile-achievement{
  border-radius:12px;
}
.player-profile-view .profile-facts>div,
.player-profile-view .profile-switch,
.player-profile-view .profile-media-editor>div{
  border-radius:12px;
}

/* The Achievements/Rankings control belongs in the visual centre of its card. */
.player-profile-view .profile-home-grid>.panel:last-child>.panel-head{
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
}
.player-profile-view .profile-home-grid>.panel:last-child>.panel-head .panel-title{
  width:100%;
  text-align:center;
}
.player-profile-view .profile-home-grid>.panel:last-child>.panel-head .mini-btn{
  flex:0 0 auto;
  align-self:center;
  min-width:128px;
  text-align:center;
  justify-content:center;
}

@media(max-width:760px){
  .player-profile-view .panel{border-radius:14px}
  .player-profile-view .player-profile-actions .btn,
  .player-profile-view .mini-btn,
  .player-profile-view .btn.full{border-radius:12px}
  .player-profile-view .profile-home-grid>.panel:last-child>.panel-head .mini-btn{
    width:min(190px,100%);
    flex-basis:auto;
  }
}


/* V32.4 PWA install guide */
.pwa-install-panel .panel-head{align-items:flex-start;gap:16px}
.pwa-install-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}
.pwa-install-grid article{border:1px solid var(--line);background:var(--surface-2);border-radius:14px;padding:16px;min-width:0}
.pwa-install-grid article>span{display:block;color:var(--yellow);font-size:11px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;margin-bottom:4px}
.pwa-install-grid article>b{display:block;margin-bottom:10px}
.pwa-install-grid ol{margin:0;padding-left:20px;color:var(--muted)}
.pwa-install-grid li+li{margin-top:6px}
.pwa-install-note{margin:14px 0 0;color:var(--muted);font-size:13px}
@media(max-width:760px){.pwa-install-grid{grid-template-columns:1fr}.pwa-install-panel .panel-head{align-items:stretch}.pwa-install-panel #install-gamehub{width:100%}}


/* V32.6 mobile navigation + profile edit + competition-alert alignment */
@media(max-width:760px){
  /* Avoid the blank/black first-paint flash that the old page fade caused on
     slower Android and iPhone navigation. In-page panels still animate. */
  .page-enter main{animation:none!important}
  .mobile-app-dock{
    grid-template-columns:repeat(8,minmax(0,1fr))!important;
    gap:2px!important;
    padding-inline:max(4px,env(safe-area-inset-left)) max(4px,env(safe-area-inset-right))!important;
  }
  .mobile-app-dock>a{
    min-height:52px!important;
    padding:5px 1px!important;
    gap:2px!important;
    border-radius:10px!important;
    font-size:6.25px!important;
    letter-spacing:0!important;
    overflow:hidden;
  }
  .mobile-app-dock>a span{
    width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    text-align:center;
  }
  .mobile-app-dock svg{width:18px!important;height:18px!important}
  .mobile-app-dock [data-notification-count]{top:2px!important;left:calc(50% + 5px)!important}

  /* Keep the recruitment switch visually centred inside Profile Settings. */
  .player-profile-view .profile-settings-form .profile-switch{
    width:calc(100% - 16px)!important;
    max-width:560px!important;
    margin-inline:auto!important;
    padding:14px 16px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:12px!important;
    text-align:left!important;
  }
  .player-profile-view .profile-settings-form .profile-switch input{
    flex:0 0 auto!important;
    margin:0!important;
  }
  .player-profile-view .profile-settings-form .profile-switch span{
    flex:0 1 auto!important;
    min-width:0!important;
    width:auto!important;
    max-width:420px!important;
  }

  /* My Events belongs directly under the Competition Alerts heading. */
  .app-view[data-view="notifications"] .competition-alert-panel .panel-head{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    gap:10px!important;
  }
  .app-view[data-view="notifications"] .competition-alert-panel .panel-head>div{
    width:100%!important;
    text-align:center!important;
  }
  .app-view[data-view="notifications"] .competition-alert-panel .panel-head>a.mini-btn{
    width:min(210px,100%)!important;
    flex:0 0 auto!important;
    align-self:center!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    margin:0 auto!important;
    text-align:center!important;
  }
}

@media(max-width:360px){
  .mobile-app-dock>a{font-size:6px!important}
  .mobile-app-dock svg{width:17px!important;height:17px!important}
}


/* V32.7 stability pass: touch scrolling, refresh control, profile alignment. */
.page-refresh-btn{font-size:21px!important;line-height:1;display:grid;place-items:center}
.page-refresh-btn:disabled{opacity:.65}

.player-profile-view .profile-achievements-panel>.panel-head{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  width:100%!important;
}
.player-profile-view .profile-achievements-panel>.panel-head .panel-title{
  width:100%!important;
  margin-inline:auto!important;
  text-align:center!important;
}
.player-profile-view .profile-achievements-panel .profile-rankings-link{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:center!important;
  margin-inline:auto!important;
  min-width:132px!important;
  text-align:center!important;
}

@media(max-width:760px){
  /* The calendar already fits the phone. Do not leave it as an obsolete nested horizontal scroller. */
  body[data-page="events"] .calendar-shell{
    overflow:hidden!important;
    touch-action:pan-y!important;
    overscroll-behavior-x:none!important;
  }
  body[data-page="events"] #events-page-grid,
  body[data-page="events"] .event-tile,
  body[data-page="events"] .calendar-mobile-agenda{touch-action:pan-y!important}
  body[data-page="events"] .event-tile{
    content-visibility:auto;
    contain-intrinsic-size:230px;
  }
  /* Glass blur on every card is expensive while the phone is scrolling. */
  body[data-page="events"] .event-tile.liquid-panel{
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
    background:var(--surface)!important;
    box-shadow:0 10px 28px rgba(0,0,0,.14)!important;
  }
  body[data-page="events"] .site-header{
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
    background:var(--bg)!important;
  }
  body[data-page="events"] .announcement-track{will-change:auto!important}

  .player-profile-view .profile-achievements-panel>.panel-head{padding-inline:0!important}
  .player-profile-view .profile-achievements-panel .profile-rankings-link{
    width:min(190px,100%)!important;
    min-height:38px!important;
  }
}


/* V32.8 mobile motion + dock-route stability + compact Top Players */
body.gh-page-leaving main,body.gh-page-leaving .account-page{
  opacity:0;
  transform:translateY(5px) scale(.997);
  transition:opacity .14s ease,transform .14s ease;
}
body.gh-page-leaving .mobile-app-dock{pointer-events:none}
.app-view.active{view-transition-name:gamehub-account-panel}
::view-transition-old(gamehub-account-panel){animation:ghAccountOut .13s ease both}
::view-transition-new(gamehub-account-panel){animation:ghAccountIn .2s cubic-bezier(.2,.75,.25,1) both}
@keyframes ghAccountOut{to{opacity:0;transform:translateX(-5px)}}
@keyframes ghAccountIn{from{opacity:0;transform:translateX(8px)}to{opacity:1;transform:none}}

@media(max-width:760px){
  /* Eight destinations remain available, but every cell owns its exact touch
     area so Alerts/Profile cannot overlap or inherit a neighbouring hit box. */
  .mobile-app-dock>a{
    width:100%!important;
    max-width:none!important;
    touch-action:manipulation!important;
    -webkit-tap-highlight-color:transparent;
  }
  .mobile-app-dock>a[data-dock-key=alerts]{border-left:1px solid color-mix(in srgb,var(--line) 72%,transparent)}
  .mobile-app-dock>a[data-dock-key=profile]{border-left:1px solid color-mix(in srgb,var(--line) 72%,transparent)}

  /* Home Top Players: all three podium cards fit across a phone instead of
     becoming three full-width blocks. Rankings page itself stays unchanged. */
  .home-rankings{padding-top:52px!important}
  .home-rankings .section-head{margin-bottom:14px}
  .home-rankings .podium-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:7px!important;
    width:100%;
  }
  .home-rankings .podium-card{
    min-width:0!important;
    min-height:176px!important;
    padding:20px 5px 11px!important;
    border-radius:12px!important;
    justify-content:center!important;
  }
  .home-rankings .podium-card img,
  .home-rankings .podium-avatar{
    width:52px!important;
    height:52px!important;
    border-width:2px!important;
    font-size:12px!important;
  }
  .home-rankings .podium-rank{top:7px!important;left:8px!important;font-size:17px!important}
  .home-rankings .podium-card h3{
    width:100%;
    margin:8px 0 2px!important;
    font-size:12px!important;
    line-height:1.1;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .home-rankings .podium-card p{display:none!important}
  .home-rankings .podium-card strong{width:100%;font-size:10px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .home-rankings .podium-card small{width:100%;margin-top:5px!important;font-size:5.5px!important;letter-spacing:.06em!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .home-rankings .podium-card::after{opacity:.16!important}
}

@media(max-width:360px){
  /* Very narrow phones get two dock rows so each destination has a proper
     touch target instead of squeezing Alerts and Profile together. */
  .mobile-app-dock{
    height:calc(108px + env(safe-area-inset-bottom))!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    grid-template-rows:repeat(2,48px)!important;
    gap:2px 4px!important;
  }
  body{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  .mobile-app-dock>a{min-height:48px!important;font-size:6.5px!important}
  .home-rankings .podium-grid{gap:5px!important}
  .home-rankings .podium-card{min-height:164px!important;padding-inline:3px!important}
  .home-rankings .podium-card img,.home-rankings .podium-avatar{width:46px!important;height:46px!important}
  .home-rankings .podium-card h3{font-size:10.5px!important}
  .home-rankings .podium-card strong{font-size:9px!important}
}

@media(prefers-reduced-motion:reduce){
  body.gh-page-leaving main,body.gh-page-leaving .account-page{transition:none;transform:none}
  ::view-transition-old(gamehub-account-panel),::view-transition-new(gamehub-account-panel){animation:none}
}


/* V32.9 mobile dock simplification baseline. V32.10 swaps Market into the dock; Rankings + Community stay in the 3-dot menu. */
@media(max-width:760px){
  .mobile-app-dock{
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    grid-template-rows:1fr!important;
    height:calc(64px + env(safe-area-inset-bottom))!important;
    gap:4px!important;
    padding:6px max(7px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(7px,env(safe-area-inset-left))!important;
  }
  .mobile-app-dock>a{
    min-height:52px!important;
    padding:5px 2px!important;
    border-radius:12px!important;
    font-size:7.5px!important;
    letter-spacing:.01em!important;
    overflow:visible!important;
  }
  .mobile-app-dock svg{width:20px!important;height:20px!important}
  .mobile-app-dock>a[data-dock-key=alerts],
  .mobile-app-dock>a[data-dock-key=profile]{border-left:0!important}
  body{padding-bottom:calc(72px + env(safe-area-inset-bottom))!important}
}
@media(max-width:360px){
  .mobile-app-dock{
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    grid-template-rows:1fr!important;
    height:calc(64px + env(safe-area-inset-bottom))!important;
    gap:2px!important;
  }
  .mobile-app-dock>a{min-height:52px!important;font-size:6.5px!important}
  .mobile-app-dock svg{width:18px!important;height:18px!important}
  body{padding-bottom:calc(72px + env(safe-area-inset-bottom))!important}
}

/* V32.10: mobile dock now uses Market instead of Rankings; Rankings + Community remain in the 3-dot menu. */
