/* Goetschi Arcade · Play First · v1.0.003
   CI commit: a46921572b43ae8a3b737d32e7f354ceb0957890
   Product signature: real game artwork, a navigable play rail and an editorial launch stage.
   Loaded after brand.css on the Arcade landing and authenticated player portal only. */

.arcade-portal{
  --play-rule:color-mix(in srgb,var(--line-strong) 78%,transparent);
  --play-surface:color-mix(in srgb,var(--surface) 93%,var(--bg));
}

/* This is a game destination, not a SaaS workspace. No generic admin sidebar. */
@media (min-width:761px){
  .arcade-portal .app-shell{display:block;min-height:calc(100vh - 180px)}
  .arcade-portal .portal-sidebar{
    position:relative;top:auto;display:flex;flex-direction:row;flex-wrap:wrap;
    align-items:center;gap:3px 9px;min-height:0;padding:13px 0 14px;
    border-right:0;border-bottom:1px solid var(--play-rule);
  }
  .arcade-portal .portal-sidebar .sidebar-caption,
  .arcade-portal .portal-sidebar .sidebar-bottom{display:none}
  .arcade-portal .portal-nav-link{
    min-height:42px;padding:9px 12px;white-space:nowrap;
    font-size:12px;letter-spacing:.005em;border-radius:3px;
  }
  .arcade-portal .portal-nav-link.current{
    background:transparent;
    box-shadow:inset 0 -2px var(--accent);
  }
  .arcade-portal .portal-nav-link.current::before{display:none}
  .arcade-portal .portal-main{padding-top:32px}
}

/* Editorial first screen: the real game, then the choices, then supporting metadata. */
.arcade-portal .arcade-dashboard{
  display:flex;flex-direction:column;gap:0;padding-top:0;
}
.arcade-portal .arcade-dashboard>.dashboard-heading{order:0;margin-bottom:26px}
.arcade-portal .arcade-dashboard>.dashboard-duo{order:1;margin-bottom:8px}
.arcade-portal .arcade-dashboard>#recent-strip{order:2}
.arcade-portal .arcade-dashboard>#dashboard-favorites{order:3}
.arcade-portal .arcade-dashboard>#stats-grid{order:4;margin-top:28px;margin-bottom:0}
.arcade-portal .dashboard-heading{position:relative;display:flex;justify-content:space-between;gap:20px;align-items:flex-end}
.arcade-portal .dashboard-heading .section-kicker{margin:0 0 12px}
.arcade-portal .dashboard-heading h1{font-size:clamp(35px,4.8vw,64px);line-height:1.02;letter-spacing:-.045em;margin:0 0 12px;max-width:16ch}
.arcade-portal .dashboard-heading .section-description{font-size:clamp(13px,1.3vw,16px);max-width:54ch;margin:0}
.arcade-portal .dashboard-entry{
  display:inline-flex;align-items:center;gap:14px;flex:none;
  min-height:46px;padding:10px 15px;text-decoration:none;border-radius:3px;
  color:var(--accent-ink);background:var(--accent);font:600 13px/1.3 var(--font-display);
}
.arcade-portal .dashboard-entry:hover{background:color-mix(in srgb,var(--accent) 82%,white)}
.arcade-portal .dashboard-entry span{font-size:18px;line-height:1}

.arcade-portal .dashboard-duo{
  display:grid;grid-template-columns:minmax(0,1.55fr) minmax(255px,.62fr);
  align-items:start;gap:clamp(20px,3vw,42px);
}
.arcade-portal .dashboard-duo .spotlight{
  border:0;border-radius:0;box-shadow:none;background:transparent;
  overflow:visible;min-height:0;
}
.arcade-portal .dashboard-duo .spotlight img{
  width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:5px;
  border:1px solid var(--play-rule);
}
.arcade-portal .spotlight-inner{
  display:grid;grid-template-columns:minmax(0,1fr) auto;
  align-items:end;gap:0 20px;padding:17px 0 10px;
  border-bottom:1px solid var(--play-rule);
}
.arcade-portal .spotlight-inner .section-kicker{grid-column:1/-1;margin:0 0 6px;font-size:10px}
.arcade-portal .spotlight-inner h2{
  grid-column:1;margin:0 0 5px;font-size:clamp(24px,3vw,38px);
  line-height:1.1;overflow-wrap:anywhere;
}
.arcade-portal .spotlight-inner p:not(.section-kicker){
  grid-column:1;margin:0 0 9px;font-size:13px;max-width:52ch;
}
.arcade-portal .spotlight-inner .spotlight-link{
  grid-column:2;grid-row:2/span 2;align-self:center;
  display:inline-flex;align-items:center;justify-content:center;min-height:46px;
  padding:10px 18px;border:1px solid var(--accent);border-radius:3px;
  background:var(--accent);color:var(--accent-ink);text-decoration:none;
  font:600 13px var(--font-display);white-space:nowrap;
}
.arcade-portal .spotlight-inner .spotlight-link:hover{
  background:color-mix(in srgb,var(--accent) 84%,white);color:var(--accent-ink)
}
.arcade-portal .dashboard-links{
  counter-reset:play-route;display:flex;flex-direction:column;
  padding:2px 0 0;border:0;background:transparent;
}
.arcade-portal .dashboard-links h2{
  padding:0 0 17px;margin:0;font-size:17px;letter-spacing:-.02em;
  border-bottom:1px solid var(--play-rule);
}
.arcade-portal .dashboard-links a{
  counter-increment:play-route;position:relative;
  gap:11px;padding:17px 5px 17px 0;min-height:67px;
  border-top:0;border-bottom:1px solid var(--play-rule);
  color:var(--muted);
}
.arcade-portal .dashboard-links a::before{
  content:counter(play-route,decimal-leading-zero);
  font:500 10px var(--font-mono);color:var(--accent);
}
.arcade-portal .dashboard-links a>span,.arcade-portal .dashboard-links a>svg{
  display:none;
}
.arcade-portal .dashboard-links a>div strong{font-size:14px;color:var(--text)}
.arcade-portal .dashboard-links a>div small{font-size:11px}
.arcade-portal .dashboard-links a:hover{
  padding-left:7px;background:color-mix(in srgb,var(--accent) 5%,transparent);
}
.arcade-portal .arcade-dashboard>#stats-grid{
  border-top:1px solid var(--play-rule);border-bottom:0;opacity:.9;
}
.arcade-portal .arcade-dashboard .dash-stat{padding-top:14px;padding-bottom:14px}
.arcade-portal .arcade-dashboard .dash-stat strong{font-size:clamp(19px,2.6vw,27px)}
.arcade-portal .arcade-dashboard .dash-stat>span{font-size:10px}

/* Original artwork remains readable, never text stamped on top of the covers. */
.arcade-portal .landing-hero{
  grid-template-columns:minmax(0,.9fr) minmax(350px,1.1fr);
  align-items:center;gap:clamp(38px,6vw,110px);
}
.arcade-portal .landing-copy h1{
  font-size:clamp(44px,5.4vw,82px);line-height:1.015;
  letter-spacing:-.045em;max-width:13ch;
}
.arcade-portal .landing-showcase{
  padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;
}
.arcade-portal .landing-showcase::before{display:none}
.arcade-portal .showcase-heading{
  border-bottom:1px solid var(--play-rule);padding:0 0 12px;margin-bottom:12px;
}
.arcade-portal .showcase-feature img{border:1px solid var(--play-rule)}
.arcade-portal .showcase-feature>div{padding:15px 0 10px}
.arcade-portal .showcase-duo{margin-top:8px}
.arcade-portal .showcase-duo img{border:1px solid var(--play-rule)}

/* Smaller screens retain the native bottom game navigation. */
@media(max-width:1180px) and (min-width:761px){
  .arcade-portal .dashboard-duo{grid-template-columns:minmax(0,1.35fr) minmax(225px,.65fr);gap:20px}
  .arcade-portal .spotlight-inner{grid-template-columns:minmax(0,1fr)}
  .arcade-portal .spotlight-inner .spotlight-link{grid-column:1;grid-row:auto;justify-self:start;margin:8px 0 0}
  .arcade-portal .landing-hero{grid-template-columns:minmax(0,1fr) minmax(310px,1fr)}
}
@media(max-width:760px){
  .arcade-portal .arcade-dashboard>.dashboard-heading{margin-bottom:18px}
  .arcade-portal .dashboard-heading{align-items:flex-start;flex-direction:column;gap:16px}
  .arcade-portal .dashboard-heading h1{font-size:clamp(33px,9vw,45px)}
  .arcade-portal .dashboard-entry{width:100%;justify-content:space-between;min-height:46px}
  .arcade-portal .dashboard-duo{grid-template-columns:minmax(0,1fr);gap:23px}
  .arcade-portal .spotlight-inner{grid-template-columns:1fr;padding:15px 0}
  .arcade-portal .spotlight-inner .spotlight-link{grid-column:1;grid-row:auto;width:100%;margin-top:10px}
  .arcade-portal .dashboard-links a{min-height:59px;padding:12px 4px}
  .arcade-portal .arcade-dashboard>#stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .arcade-portal .arcade-dashboard .dash-stat:nth-child(odd){border-left:0;padding-left:0}
  .arcade-portal .arcade-dashboard .dash-stat:nth-child(n+3){border-top:1px solid var(--play-rule)}
  .arcade-portal .landing-hero{grid-template-columns:1fr;gap:28px}
  .arcade-portal .landing-copy h1{font-size:clamp(43px,11vw,63px)}
  .arcade-portal .landing-showcase{max-width:100%}
}
@media(prefers-reduced-motion:reduce){
  .arcade-portal .dashboard-entry,.arcade-portal .spotlight-link,.arcade-portal .dashboard-links a{
    transition:none!important;transform:none!important;
  }
}

/* v1.0.002 — keyboard focus and honest actual-game CTA. */
.arcade-portal .dashboard-entry:focus-visible,
.arcade-portal .spotlight-link:focus-visible{outline:3px solid var(--focus);outline-offset:4px}
.arcade-portal .dashboard-entry[hidden]{display:none!important}
.arcade-portal .dashboard-duo .spotlight img{background:var(--bg-elevated)}
@media(max-width:760px){
 .arcade-portal .dashboard-heading .section-description{max-width:50ch}
 .arcade-portal .dashboard-entry{font-size:14px}
}

/* Goetschi Arcade · Mobile play-stage correction v1.0.003
   Deliberately one primary game action, one-column mobile stage,
   no overlapping two-column editorial layout or repetitive explainer panels.
   Product-specific play stage retains real cover art and Goetschi light-axis rules. */
.arcade-portal #dashboard .dashboard-heading{margin-bottom:clamp(12px,1.8vw,20px);gap:9px}
.arcade-portal #dashboard .dashboard-heading h1{font-size:clamp(30px,4.4vw,52px);margin-bottom:0;max-width:none}
.arcade-portal #dashboard #dashboard-entry{display:none!important} /* Spotlight owns the one visible play CTA. */
.arcade-portal #dashboard #spotlight[hidden]{display:none!important}
.arcade-portal #dashboard .dashboard-duo{
  display:grid;grid-template-columns:minmax(0,1.55fr) minmax(215px,.65fr);
  gap:clamp(16px,2.6vw,30px);align-items:start;width:100%;min-width:0
}
.arcade-portal #dashboard .dashboard-duo>*{min-width:0;max-width:100%;width:100%}
.arcade-portal #dashboard #spotlight{min-height:0;overflow:hidden}
.arcade-portal #dashboard #spotlight img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.arcade-portal #dashboard .spotlight-inner{min-width:0}
.arcade-portal #dashboard .spotlight-link{min-height:44px}
.arcade-portal #dashboard .dashboard-links{min-width:0}
.arcade-portal #dashboard .dashboard-links h2{font-size:18px;margin-bottom:4px;line-height:1.25}
.arcade-portal #dashboard .dashboard-links a{min-width:0;padding-top:12px;padding-bottom:12px;min-height:50px}
.arcade-portal #dashboard .dashboard-links a>div{min-width:0}
.arcade-portal #dashboard .dashboard-links a>div strong{overflow-wrap:break-word}

/* Console browsing is a tool, not an explainer article. */
.arcade-portal .emulator-view>h1{font-size:clamp(29px,3.4vw,43px);margin:0 0 14px}
.arcade-portal .emulator-view>.section-kicker{margin:0 0 5px}
.arcade-portal .emulator-view>.section-description{display:none}
.arcade-portal .emulator-view .console-picker{margin:8px 0 12px;padding-bottom:8px;gap:8px}
.arcade-portal .emulator-view .console-choice{min-height:56px;padding:9px 12px;gap:0}
.arcade-portal .emulator-view .console-choice .console-symbol{display:none}
.arcade-portal .emulator-view .console-choice strong{font-size:13px}
.arcade-portal .emulator-view .console-choice small{font-size:9px}
.arcade-portal .emulator-view .console-stage{padding:clamp(12px,2.1vw,20px)}
.arcade-portal .emulator-view .console-stage-heading{align-items:center;gap:12px;margin-bottom:14px}
.arcade-portal .emulator-view .console-stage-heading .section-kicker,
.arcade-portal .emulator-view #console-description{display:none}
.arcade-portal .emulator-view .console-stage-heading h2{margin:0;font-size:clamp(20px,2.2vw,28px);line-height:1.15;overflow-wrap:anywhere}
.arcade-portal .emulator-view #console-count{flex:0 0 auto;margin:0;font-size:11px;white-space:nowrap}
.arcade-portal .emulator-view .console-discovery{
  display:grid;grid-template-columns:minmax(0,1fr) auto;
  align-items:center;gap:10px;margin:0 0 13px
}
.arcade-portal .emulator-view .console-discovery label{min-width:0;display:block}
.arcade-portal .emulator-view .console-discovery label span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.arcade-portal .emulator-view .console-discovery input{min-height:44px;width:100%;padding:9px 12px}
.arcade-portal .emulator-view .console-store-cta{min-height:44px;max-width:100%;padding:10px 13px;text-align:center;justify-content:center}
.arcade-portal .emulator-view .console-list-bar{padding:10px 0;letter-spacing:.035em}
.arcade-portal .emulator-view .console-games{padding-bottom:8px}

/* The old desktop grid must NEVER leak into the narrow player experience. */
@media(max-width:900px){
  .arcade-portal #dashboard .dashboard-duo{display:flex;flex-direction:column;align-items:stretch;gap:17px}
  .arcade-portal #dashboard #spotlight{order:0;flex:none}
  .arcade-portal #dashboard .dashboard-links{order:1;flex:none}
  .arcade-portal #dashboard .spotlight-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 10px;padding:12px 0}
  .arcade-portal #dashboard .spotlight-inner .section-kicker{grid-column:1/-1;font-size:9px;margin:0 0 5px}
  .arcade-portal #dashboard .spotlight-inner h2{grid-column:1;grid-row:2;margin:0 0 4px;font-size:clamp(20px,5vw,26px)}
  .arcade-portal #dashboard .spotlight-inner p:not(.section-kicker){grid-column:1;grid-row:3;margin:0;font-size:12px}
  .arcade-portal #dashboard .spotlight-inner .spotlight-link{grid-column:2;grid-row:2/span 2;align-self:center;margin:0;width:auto;min-width:110px;font-size:12px;padding:10px}
}
@media(max-width:600px){
  .arcade-portal .portal-main{padding-top:13px}
  .arcade-portal #dashboard .dashboard-heading{margin-bottom:13px}
  .arcade-portal #dashboard .dashboard-heading .section-kicker{display:none}
  .arcade-portal #dashboard .dashboard-heading h1{font-size:clamp(28px,8vw,37px)}
  .arcade-portal #dashboard .spotlight-inner .section-kicker{display:none}
  .arcade-portal #dashboard .spotlight-inner{padding:11px 0}
  .arcade-portal #dashboard .spotlight-inner h2{font-size:20px}
  .arcade-portal #dashboard .dashboard-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:8px;row-gap:8px}
  .arcade-portal #dashboard .dashboard-links h2{grid-column:1/-1;font-size:15px;margin:0;padding:0 0 6px}
  .arcade-portal #dashboard .dashboard-links a{display:flex;align-items:center;justify-content:center;text-align:center;
    min-width:0;min-height:53px;padding:9px 5px;border:1px solid var(--play-rule);font-size:0;border-radius:4px}
  .arcade-portal #dashboard .dashboard-links a::before{display:none}
  .arcade-portal #dashboard .dashboard-links a>div{display:block;flex:0 1 auto}
  .arcade-portal #dashboard .dashboard-links a>div strong{display:block;font-size:11px;line-height:1.3}
  .arcade-portal #dashboard .dashboard-links a>div small{display:none}
  .arcade-portal #dashboard .dashboard-links a:nth-of-type(2),
  .arcade-portal #dashboard .dashboard-links a:nth-of-type(4),
  .arcade-portal #dashboard .dashboard-links a:nth-of-type(5){display:none}
  .arcade-portal #dashboard #stats-grid{margin-top:18px}
  .arcade-portal .emulator-view>h1{font-size:29px;margin-bottom:10px}
  .arcade-portal .emulator-view>.section-kicker{display:none}
  .arcade-portal .emulator-view .console-picker{grid-auto-columns:minmax(112px,42%);gap:7px}
  .arcade-portal .emulator-view .console-choice{min-height:49px;padding:8px 10px}
  .arcade-portal .emulator-view .console-stage{padding:11px;border-radius:7px}
  .arcade-portal .emulator-view .console-stage-heading{margin-bottom:11px}
  .arcade-portal .emulator-view #console-count{font-size:10px;padding:7px 9px}
  .arcade-portal .emulator-view .console-discovery{grid-template-columns:minmax(0,1fr);gap:8px}
  .arcade-portal .emulator-view .console-store-cta{width:100%;font-size:12px}
  .arcade-portal .emulator-view .console-list-bar strong{font-size:10px}
  .arcade-portal .emulator-view .console-games{grid-auto-columns:minmax(170px,72%)}
}
@media(prefers-reduced-motion:reduce){
  .arcade-portal #dashboard .dashboard-duo,
  .arcade-portal .emulator-view .console-picker{scroll-behavior:auto}
}
