/* Game Hub — Design 01. Presentation only.
   Typography and brand tokens are inherited unchanged from the original files. */
body.design-one {
  --d1-gutter: clamp(20px, 3.5vw, 64px);
  --d1-width: 1540px;
}
.design-one main { overflow: clip; }
.design-one :is(a,button,input):focus-visible { outline: 2px solid var(--yellow); outline-offset: 5px; }
.design-one .d1-icon { display: block; width: 21px; height: 21px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.design-one .d1-skip { position: fixed; left: 20px; top: -100px; z-index: 500; padding: 14px 20px; background: var(--yellow); color: var(--bg); }
.design-one .d1-skip:focus { top: 12px; }
/* A quiet header with recognisable, unboxed utility controls. */
.design-one .site-header { height: 80px; padding-inline: var(--d1-gutter); gap: 24px; }
.design-one .site-header .brand { flex-shrink: 0; }
.design-one .nav { gap: clamp(16px, 2vw, 28px); }
.design-one .nav a { display: flex; align-items: center; min-height: 44px; }
.design-one .nav a.active { color: var(--text); }
.design-one .nav a.active:after { left: 25%; right: 25%; bottom: 2px; border-radius: 2px; }
.design-one .header-actions { gap: 6px; }
.design-one .site-header :is(.icon-btn,.account-menu-trigger,.header-notification-link) { width: 44px; height: 44px; min-height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--muted); }
.design-one .site-header :is(.icon-btn,.account-menu-trigger,.header-notification-link):hover,
.design-one .account-menu-trigger[aria-expanded=true] { color: var(--yellow); background: var(--surface-2); }
.design-one .header-actions [data-auth-out] { gap: 4px; margin-left: 4px; padding-left: 12px; border-left: 1px solid var(--line); }
.design-one .header-actions .btn.primary { min-width: 66px; border-radius: 8px; }
.design-one .profile-pill { border: 0; padding: 4px 9px 4px 4px; border-radius: 24px; background: var(--surface-2); }
.design-one .profile-pill-avatar { width: 34px; height: 34px; flex-shrink: 0; border: 2px solid var(--line); }
.design-one .account-menu-popover { width: 370px; border-color: var(--line); border-radius: 16px; background: var(--surface); padding: 12px; max-height: calc(100dvh - 110px); scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.design-one .account-menu-head { background: var(--surface-2); border: 0; border-radius: 10px; }
.design-one .account-menu-popover nav { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
.design-one .account-menu-popover nav a { min-width: 0; min-height: 60px; padding: 10px 12px; background: transparent; }
.design-one .account-menu-popover nav a:is(:hover,:focus-visible) { transform: none; background: var(--surface-2); border-color: var(--line); }
.design-one .account-menu-divider { grid-column: 1/-1; }
/* Original arena artwork and headline, with a wider text column and less dead space. */
.design-one .reference-home-hero { max-width: 1920px; margin-inline: auto; min-height: 660px; padding: 64px max(var(--d1-gutter),calc((100vw - var(--d1-width)) / 2)); grid-template-columns: minmax(0,1.5fr) minmax(330px,1fr); gap: clamp(30px,3.8vw,64px); border-bottom: 1px solid var(--line); }
.design-one .reference-home-hero:before { content: none; }
.design-one .reference-home-copy { max-width: none; min-width: 0; }
.design-one .reference-home-copy h1 { position: relative; }
.design-one .reference-home-copy>p:not(.eyebrow) { max-width: 580px; margin-block: 26px; }
.design-one .reference-home-copy .eyebrow { margin-bottom: 26px; }
.design-one .hero-actions { gap: 12px; }
.design-one .hero-actions .btn { border-radius: 9px; min-width: 130px; }
.design-one .hero-actions .btn.primary { box-shadow: 0 6px 28px color-mix(in srgb,var(--red) 14%,transparent); }
.design-one .reference-featured-event { width: 100%; max-width: none; min-height: 390px; padding: 32px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(150deg,color-mix(in srgb,var(--surface) 94%,transparent),color-mix(in srgb,var(--surface-2) 96%,transparent)); box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.design-one .reference-featured-event:before { top: -1px; left: 32px; width: 58px; height: 3px; }
.design-one .reference-featured-event:after { content: none; }
.design-one .reference-featured-event .next-event-kicker { position: static; align-self: flex-start; margin-bottom: 24px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 6px; }
.design-one .reference-featured-event h2 { overflow-wrap: anywhere; }
.design-one .reference-featured-event .event-meta { background: transparent; border: 0; border-block: 1px solid var(--line); gap: 8px; }
.design-one .event-meta>span { padding: 15px 0; min-width: 0; background: transparent; }
.design-one .event-meta b { overflow-wrap: anywhere; }
.design-one .reference-featured-event>.btn { border-radius: 8px; }
.design-one .reference-featured-event .empty-state { min-height: 290px; border: 0; padding: 20px 0; gap: 14px; }
.design-one .reference-featured-event .empty-state:before { content: ''; width: 56px; height: 56px; margin-bottom: 12px; background: var(--yellow); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1'%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M7 3v5m10-5v5M3 11h18m-14 4h3m4 0h3m-10 3h3'/%3E%3C/svg%3E") center/contain no-repeat; opacity: .75; }
.design-one .reference-featured-event .empty-state .btn { border-radius: 8px; margin-top: 7px; }
/* Existing three quick links, aligned to the same content grid. */
.design-one .command-strip { margin: 0 auto; width: min(calc(100% - var(--d1-gutter) * 2),var(--d1-width)); transform: none; border: 0; border-bottom: 1px solid var(--line); background: transparent; gap: 0; }
.design-one .command-strip>a { min-width: 0; min-height: 112px; padding: 22px 24px 22px 64px; background: transparent; border-right: 1px solid var(--line); overflow: visible; }
.design-one .command-strip>a:last-child { border-right: 0; }
.design-one .command-strip>a>.d1-icon { position: absolute; left: 24px; top: 44px; color: var(--yellow); width: 24px; height: 24px; }
.design-one .command-strip>a:before { display: none; }
.design-one .command-strip>a:hover { transform: none; background: var(--surface); }
.design-one .command-strip>a>b { overflow-wrap: anywhere; }
/* Same sections, using a consistent rhythm and restrained card treatment. */
.design-one main>.section { max-width: calc(var(--d1-width) + var(--d1-gutter) * 2); margin-inline: auto; padding: 56px var(--d1-gutter); }
.design-one .section-head { gap: 24px; margin-bottom: 26px; align-items: end; }
.design-one .section-head>div { min-width: 0; }
.design-one .section-head .eyebrow { margin-bottom: 14px; }
.design-one .section-head .text-link { flex-shrink: 0; min-height: 44px; display: flex; align-items: center; gap: 8px; }
.design-one .section-head h2 { overflow-wrap: break-word; }
.design-one .live-hub-section { border-bottom: 1px solid var(--line); }
.design-one .live-hub-section>.section-head { align-items: center; }
.design-one #refresh-home-announcements { width: 44px; height: 44px; min-width: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; display: grid; place-items: center; color: var(--muted); }
.design-one #refresh-home-announcements:hover { color: var(--yellow); background: var(--surface-2); }
.design-one [aria-busy=true]>.d1-icon { animation: d1-spin 1s linear infinite; }
@keyframes d1-spin { to { transform: rotate(360deg); } }
.design-one .live-hub-grid { grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 20px; }
.design-one :is(.live-announcement-board,.player-path-card) { border: 1px solid var(--line); border-radius: 14px; padding: 26px; box-shadow: none; }
.design-one .live-board-head { align-items: center; flex-wrap: wrap; padding-bottom: 18px; }
.design-one .live-announcement-list { padding-top: 6px; }
.design-one .live-announcement { border-radius: 9px; gap: 14px; }
.design-one .live-announcement p { overflow-wrap: anywhere; }
.design-one .player-path-card { background: linear-gradient(120deg,var(--surface),var(--surface-2)); border-top: 1px solid var(--line); }
.design-one .player-path-card h3 { margin-bottom: 24px; }
.design-one .player-path-card ol { background: transparent; gap: 0; margin-bottom: 22px; }
.design-one .player-path-card li { position: relative; grid-template-columns: 36px minmax(0,1fr); background: transparent; padding: 12px 0 16px; gap: 12px; }
.design-one .player-path-card li:not(:last-child):after { content: ''; position: absolute; left: 16px; top: 41px; bottom: -4px; width: 1px; background: var(--line); }
.design-one .player-path-card li>span { width: 34px; height: 34px; border: 1px solid var(--line); display: grid; place-items: center; border-radius: 50%; }
.design-one .player-path-card li div { padding-top: 3px; }
.design-one .player-path-card>.btn { border-radius: 8px; background: transparent; }
.design-one .home-updates { border-bottom: 1px solid var(--line); }
.design-one .news-tile { border-radius: 14px; min-height: 360px; box-shadow: none; }
.design-one .news-tile>img,.design-one .news-placeholder { height: 180px; }
.design-one .news-tile>div:last-child { padding: 22px; }
.design-one .news-tile:after { content: none; }
.design-one .news-tile:hover { transform: translateY(-3px); border-color: var(--muted); }
.design-one .reference-about { background: transparent; border: 0; gap: 48px; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); }
.design-one .reference-about>div:last-child { border-left: 2px solid var(--red); padding-left: 32px; }
.design-one .reference-about>div:last-child p { margin-bottom: 22px; }
.design-one .reference-about .btn { border-radius: 8px; }
.design-one main>.home-rankings { padding-top: 48px!important; border-top: 1px solid var(--line); }
.design-one .podium-grid { gap: 18px; }
.design-one .podium-card { min-height: 280px; border: 1px solid var(--line); border-radius: 14px; padding: 28px 20px; animation: none; box-shadow: none; }
.design-one .podium-card .podium-spark { border: 0; border-radius: inherit; box-shadow: none; }
.design-one .podium-card:after { inset: 0 20% auto; height: 2px; padding: 0; background: var(--medal); mask: none; -webkit-mask: none; filter: none; animation: none; opacity: .8; }
.design-one .podium-card img,.design-one .podium-avatar { width: 84px; height: 84px; border: 2px solid var(--medal); box-shadow: 0 0 0 6px color-mix(in srgb,var(--medal) 6%,transparent); }
.design-one .podium-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.15); border-color: var(--medal); }
.design-one .podium-card h3 { max-width: 100%; overflow-wrap: anywhere; }
.design-one .podium-rank { left: 22px; top: 18px; }
.design-one main>.reference-paths { margin: 0 auto 56px; width: min(calc(100% - var(--d1-gutter) * 2),var(--d1-width)); padding: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; gap: 1px; }
.design-one .reference-paths>a { position: relative; min-height: 280px; padding: 28px; }
.design-one .reference-paths>a>span { position: absolute; top: 20px; right: 24px; opacity: .35; }
.design-one .reference-paths small { margin-top: 22px; }
.design-one .reference-paths h3 { padding-right: 26px; }
.design-one .reference-paths p { max-width: 340px; }
.design-one .reference-paths b { margin-top: auto; min-height: 28px; display: flex; align-items: center; }
.design-one .empty-state { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); min-height: 148px; }
.design-one .empty-state.compact { border: 0; min-height: 130px; }
.design-one footer { padding: 30px var(--d1-gutter); gap: 24px; }
.design-one footer>div>a { min-height: 44px; display: flex; align-items: center; }
/* Search and account surfaces use the same radii and accessible focus treatment. */
.design-one :is(.modal-card,.search-card) { border-radius: 18px; border-color: var(--line); box-shadow: 0 24px 100px rgba(0,0,0,.5); }
.design-one .search-card { max-height: calc(100dvh - 48px); overflow: auto; }
.design-one :is(.auth-tabs,.auth-tab,.auth-view input) { border-radius: 8px; }
.design-one .auth-view .btn { border-radius: 8px; }
.design-one .modal-close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; }
.design-one .modal-close:hover { background: var(--surface-2); color: var(--yellow); }
.design-one .search-results>a { border-radius: 10px; margin: 4px 0; }
.design-one .search-avatar { border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.design-one .site-cursor-glow { display: none; }
@media(min-width:1600px) {
  .design-one .reference-home-hero { grid-template-columns: minmax(0,1.45fr) minmax(380px,1fr); }
}
@media(min-width:761px) and (max-width:1120px) {
  .design-one .site-header { gap: 14px; }
  .design-one .nav-toggle { display: block; border-radius: 8px; min-width: 44px; }
  .design-one .premium-header .nav { display: none; position: absolute; top: 80px; left: var(--d1-gutter); right: var(--d1-gutter); padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
  .design-one .premium-header .nav.open { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
  .design-one .premium-header .nav a { padding: 14px; }
}
@media(max-width:1100px) {
  .design-one .reference-home-hero { grid-template-columns: 1fr; min-height: 0; padding-block: 48px; gap: 36px; }
  .design-one .reference-home-copy { max-width: 850px; }
  .design-one .reference-featured-event { min-height: 0; padding: 28px; }
  .design-one .reference-featured-event .empty-state { min-height: 230px; }
  .design-one .reference-featured-event .event-meta { grid-template-columns: 1.5fr 1fr 1fr; }
  .design-one .command-strip>a { padding-left: 52px; padding-right: 14px; }
  .design-one .command-strip>a>.d1-icon { left: 16px; }
  .design-one .reference-about { gap: 30px; }
}
@media(max-width:760px) {
  body.design-one { --d1-gutter: 20px; }
  .design-one .site-header.premium-header { height: 66px; min-height: 66px; padding-inline: 14px; gap: 6px; }
  .design-one .premium-header .brand>span:last-child { display: flex; }
  .design-one .header-actions { gap: 2px; }
  .design-one .premium-header .header-actions :is(.icon-btn,.account-menu-trigger) { width: 40px; height: 44px; min-height: 44px; flex: 0 0 40px; }
  .design-one .premium-header #global-search { display: grid!important; }
  .design-one .account-menu-popover { width: auto; left: 12px; right: 12px; top: 74px; max-height: calc(100dvh - 160px); border-radius: 14px; }
  .design-one .account-menu-popover nav a { min-height: 60px; }
  .design-one .reference-home-hero { padding: 36px var(--d1-gutter) 28px; gap: 30px; background-position: 62% top; }
  .design-one .reference-home-copy .eyebrow { margin-bottom: 22px; max-width: 100%; }
  .design-one .reference-home-copy>p:not(.eyebrow) { margin-block: 22px; }
  .design-one .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .design-one .hero-actions .btn { min-width: 0; }
  .design-one .reference-featured-event { padding: 24px 20px; border-radius: 14px; }
  .design-one .reference-featured-event .empty-state { min-height: 210px; padding: 6px 0; gap: 12px; }
  .design-one .reference-featured-event .empty-state:before { width: 44px; height: 44px; margin-bottom: 4px; }
  .design-one .command-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .design-one .command-strip>a { min-height: 112px; padding: 18px 12px; align-content: start; border-right: 0; }
  .design-one .command-strip>a:first-child { grid-column: 1/-1; min-height: 90px; padding-left: 50px; border-bottom: 1px solid var(--line); }
  .design-one .command-strip>a:nth-child(2) { border-right: 1px solid var(--line); }
  .design-one .command-strip>a:not(:first-child)>.d1-icon { position: static; width: 19px; height: 19px; margin-bottom: 10px; }
  .design-one .command-strip>a:first-child>.d1-icon { left: 12px; top: 32px; }
  .design-one main>.section { padding: 36px var(--d1-gutter); }
  .design-one .section-head { align-items: flex-start; gap: 14px; margin-bottom: 24px; }
  .design-one .live-hub-section>.section-head { flex-direction: row; align-items: flex-start; gap: 8px; }
  .design-one .live-hub-section>.section-head>div { flex: 1; }
  .design-one #refresh-home-announcements { margin-top: -8px; }
  .design-one .live-hub-grid { grid-template-columns: 1fr; gap: 16px; }
  .design-one :is(.live-announcement-board,.player-path-card) { padding: 22px 18px; }
  .design-one .player-path-card li { padding-block: 12px; }
  .design-one .live-announcement { padding-inline: 0; }
  .design-one .reference-about { grid-template-columns: 1fr; gap: 24px; }
  .design-one .reference-about>div:last-child { padding-left: 18px; }
  .design-one .news-tile { min-height: 0; }
  .design-one .news-tile>img,.design-one .news-placeholder { height: 190px; }
  .design-one main>.home-rankings { padding-top: 36px!important; }
  .design-one .home-rankings .podium-card { min-height: 190px!important; padding-inline: 6px!important; }
  .design-one .home-rankings .podium-card:after { inset: 0 20% auto; opacity: .8!important; }
  .design-one main>.reference-paths { margin-bottom: 32px; grid-template-columns: 1fr; }
  .design-one .reference-paths>a { min-height: 220px; padding: 24px; }
  .design-one .reference-paths small { margin-top: 0; }
  .design-one .reference-paths h3 { padding-right: 30px; }
  .design-one footer { gap: 16px; padding-block: 28px; }
  .design-one footer>div { display: flex; flex-wrap: wrap; gap: 16px; }
  .design-one .mobile-app-dock { border-top-color: var(--line); background: var(--bg); box-shadow: 0 -8px 30px rgba(0,0,0,.18); }
  .design-one .mobile-app-dock>a { border-radius: 10px!important; }
  .design-one .mobile-app-dock>a.active { color: var(--yellow); background: color-mix(in srgb,var(--yellow) 7%,var(--surface)); }
  .design-one .modal,.design-one .search-modal { padding: 12px; }
  .design-one .modal-card { width: 100%; max-height: calc(100dvh - 24px); padding: 26px 20px; }
}
@media(max-width:360px) {
  body.design-one { --d1-gutter: 16px; }
  .design-one .premium-header .brand { gap: 7px; }
  .design-one .site-header.premium-header { padding-inline: 10px; }
  .design-one .header-actions { gap: 0; }
  .design-one .premium-header .header-actions :is(.icon-btn,.account-menu-trigger) { width: 36px; flex-basis: 36px; }
}
@media(prefers-reduced-motion:reduce) {
  .design-one *, .design-one *:before, .design-one *:after { animation: none!important; transition: none!important; scroll-behavior: auto!important; }
}
/* Never let responsive display rules reveal a hidden theme/account control. */
.design-one .site-header.premium-header .header-actions [hidden] { display: none!important; }
@media(max-width:360px) {
  .design-one .reference-home-copy h1 { overflow-wrap: anywhere; }
}
/* A single published update occupies the row, instead of leaving two empty columns. */
@media(min-width:761px) {
  .design-one #home-news>.news-tile:only-child { grid-column: 1/-1; grid-template-columns: minmax(250px,.8fr) minmax(0,1.2fr); min-height: 240px; }
  .design-one #home-news>.news-tile:only-child>img,
  .design-one #home-news>.news-tile:only-child>.news-placeholder { height: 100%; min-height: 240px; max-height: 300px; }
  .design-one #home-news>.news-tile:only-child>div:last-child { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 32px; }
  .design-one #home-news>.news-tile:only-child>div:last-child>span { margin-top: 16px; }
}
@media(min-width:1101px) {
  .design-one .reference-about { grid-template-columns: minmax(0,1.65fr) minmax(0,1fr); }
}
@media(max-width:760px) {
  .design-one .live-hub-section>.section-head { position: relative; }
  .design-one #refresh-home-announcements { position: absolute; right: 0; top: -10px; margin: 0; }
  .design-one .live-hub-section>.section-head>div { width: 100%; }
  .design-one .live-hub-section .section-head .eyebrow { padding-right: 40px; }
  .design-one .reference-about h2 { overflow-wrap: anywhere; }
}
.design-one main>.section.reference-paths { padding: 0; }
.design-one .reference-paths>a { min-width: 0; }
.design-one .reference-paths h3 { overflow-wrap: anywhere; }
@media(max-width:760px) {
  .design-one main>.section.reference-paths { grid-template-columns: minmax(0,1fr); }
}
/* Preserve the original typeface; fit the headline only on the narrowest phones. */
@media(max-width:360px) {
  .design-one .reference-home-copy h1 { font-size: clamp(48px,16vw,57.6px); overflow-wrap: normal; }
}
