/* FXSCC POLISH PASS 2026-10-03 — shared presentation only */
:root{
  --fx-polish-gold:#d7b46a;
  --fx-polish-gold-soft:rgba(215,180,106,.16);
  --fx-polish-line:rgba(167,190,208,.13);
  --fx-polish-line-strong:rgba(215,180,106,.25);
  --fx-polish-panel:rgba(7,16,24,.88);
  --fx-polish-panel-deep:rgba(3,9,14,.95);
  --fx-polish-shadow:0 22px 70px rgba(0,0,0,.34);
}
html{scrollbar-color:#394b59 #050a0f}
body{background-image:radial-gradient(circle at 50% -18%,rgba(215,180,106,.045),transparent 34rem)}
::selection{background:rgba(215,180,106,.26);color:#fff7e6}
:focus-visible{outline:1px solid rgba(240,207,134,.86);outline-offset:3px}
button,a,input,select{transition:border-color .16s ease,background-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease,opacity .16s ease}
button:not(:disabled):active,.button:active{transform:translateY(1px)}

/* Public foyer */
body[data-fxscc-design="ARENA_FOYER_V2"] .topbar{
  box-shadow:0 12px 34px rgba(0,0,0,.18);
}
body[data-fxscc-design="ARENA_FOYER_V2"] .nav-button{
  position:relative;overflow:hidden;
}
body[data-fxscc-design="ARENA_FOYER_V2"] .nav-button:after{
  content:"";position:absolute;left:14px;right:14px;bottom:4px;height:1px;
  background:linear-gradient(90deg,transparent,var(--fx-polish-gold),transparent);
  opacity:0;transform:scaleX(.55);transition:.16s ease;
}
body[data-fxscc-design="ARENA_FOYER_V2"] .nav-button:hover:after,
body[data-fxscc-design="ARENA_FOYER_V2"] .nav-button:focus-visible:after{opacity:.6;transform:scaleX(1)}
body[data-fxscc-design="ARENA_FOYER_V2"] .gateway-card{
  outline:1px solid rgba(255,255,255,.02);outline-offset:-5px;
}
body[data-fxscc-design="ARENA_FOYER_V2"] .championship-visual{
  box-shadow:0 26px 70px rgba(0,0,0,.46),0 0 42px rgba(215,180,106,.035),inset 0 1px 0 rgba(255,240,201,.08);
}
body[data-fxscc-design="ARENA_FOYER_V2"] .practice-access-card,
body[data-fxscc-design="ARENA_FOYER_V2"] .lock-state{
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}
body[data-fxscc-design="ARENA_FOYER_V2"] .journey-step{transition:.18s ease}
body[data-fxscc-design="ARENA_FOYER_V2"] .journey-step:hover{background:rgba(215,180,106,.035)}

/* Practice Arena — competition-grade finish */
body[data-fxscc-page="PRACTICE_ARENA_V5"] .arena-header{
  backdrop-filter:blur(18px) saturate(115%);
  box-shadow:0 12px 36px rgba(0,0,0,.24),inset 0 -1px 0 rgba(215,180,106,.08);
}
body[data-fxscc-page="PRACTICE_ARENA_V5"] .arena-brand .crest{
  box-shadow:0 0 0 1px rgba(215,180,106,.08),0 10px 30px rgba(0,0,0,.28);
}
body[data-fxscc-page="PRACTICE_ARENA_V5"] .runtime-pill.ready{
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 0 24px rgba(88,201,139,.035);
}
body[data-fxscc-page="PRACTICE_ARENA_V5"] .arrival-gate,
body[data-fxscc-page="PRACTICE_ARENA_V5"] .pre-event{
  box-shadow:var(--fx-polish-shadow),inset 0 1px 0 rgba(255,255,255,.025);
}
body[data-fxscc-page="PRACTICE_ARENA_V5"] .arrival-gate{
  border-color:rgba(215,180,106,.22);
}
body[data-fxscc-page="PRACTICE_ARENA_V5"] .gate-field{
  box-shadow:inset 16px 0 40px rgba(0,0,0,.12);
}
body[data-fxscc-page="PRACTICE_ARENA_V5"] .gate-roster>*,
body[data-fxscc-page="PRACTICE_ARENA_V5"] .field-overview>span,
body[data-fxscc-page="PRACTICE_ARENA_V5"] .arrival-status-rail>span{
  transition:.16s ease;
}

body[data-fxscc-page="PRACTICE_ARENA_V5"] .gate-roster>*:hover,
body[data-fxscc-page="PRACTICE_ARENA_V5"] .field-overview>span:hover{
  border-color:rgba(215,180,106,.20);background-color:rgba(215,180,106,.025);
}
body[data-fxscc-page="PRACTICE_ARENA_V5"] .enter-arena,
body[data-fxscc-page="PRACTICE_ARENA_V5"] .trade-button{
  box-shadow:0 12px 34px rgba(214,179,106,.12),inset 0 1px 0 rgba(255,255,255,.15);
}
body[data-fxscc-page="PRACTICE_ARENA_V5"] .enter-arena:hover,
body[data-fxscc-page="PRACTICE_ARENA_V5"] .trade-button:hover{
  box-shadow:0 16px 42px rgba(214,179,106,.18),inset 0 1px 0 rgba(255,255,255,.18);
}
body[data-fxscc-page="PRACTICE_ARENA_V5"] .competition-hud,
body[data-fxscc-page="PRACTICE_ARENA_V5"] .event-scoreboard,
body[data-fxscc-page="PRACTICE_ARENA_V5"] .competition-controls{
  border-color:var(--fx-polish-line);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.018),0 14px 40px rgba(0,0,0,.14);
}
body[data-fxscc-page="PRACTICE_ARENA_V5"] .competition-hud>div:first-child{
  background:linear-gradient(180deg,rgba(215,180,106,.04),transparent);
}
body[data-fxscc-page="PRACTICE_ARENA_V5"] .competition-feed{
  scrollbar-color:#344958 #071019;
}
body[data-fxscc-page="PRACTICE_ARENA_V5"] iframe.meridian-frame{
  filter:saturate(.98) contrast(1.015);
}

/* Shared governed surfaces */
.fx-platform-nav{
  border-bottom-color:rgba(215,180,106,.13)!important;
  box-shadow:0 10px 30px rgba(0,0,0,.2);
}
.fx-platform-links a{border-radius:2px}
.fx-platform-links a:hover,.fx-platform-links a[aria-current="page"]{
  border-color:rgba(215,180,106,.18)!important;
  background:linear-gradient(180deg,rgba(215,180,106,.055),rgba(10,21,31,.78))!important;
}
.fx-platform-mode{background:rgba(215,180,106,.035)}
.fx-context-bar{
  border-color:var(--fx-polish-line-strong)!important;
  box-shadow:0 15px 42px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.02);
}
.fx-context-actions a,.fx-context-actions button{border-radius:2px}
.fx-context-actions a:hover,.fx-context-actions button:hover{
  border-color:rgba(215,180,106,.28);background:#0d1a25;color:#f1e8d5;
}
body:not([data-fxscc-page]):not([data-fxscc-design]) main>section,
body:not([data-fxscc-page]):not([data-fxscc-design]) main>.grid,
body:not([data-fxscc-page]):not([data-fxscc-design]) main>.controls{
  box-shadow:inset 0 1px 0 rgba(255,255,255,.018);
}
.fx-action-hint{
  border-left-color:var(--fx-polish-gold)!important;
  background:linear-gradient(90deg,rgba(215,180,106,.055),rgba(10,19,28,.92))!important;
}

@media(max-width:820px){
  body[data-fxscc-page="PRACTICE_ARENA_V5"] .arena-header{backdrop-filter:blur(14px)}
  body[data-fxscc-page="PRACTICE_ARENA_V5"] .arena-shell{padding-left:12px;padding-right:12px}
  .fx-platform-nav{box-shadow:0 8px 24px rgba(0,0,0,.18)}
}
@media(max-width:520px){
  body[data-fxscc-design="ARENA_FOYER_V2"] .gateway-card{outline-offset:-3px}
  body[data-fxscc-page="PRACTICE_ARENA_V5"] .arena-shell{padding-left:8px;padding-right:8px}
  body[data-fxscc-page="PRACTICE_ARENA_V5"] .runtime-pill{letter-spacing:.08em}
}
@media(prefers-reduced-motion:reduce){
  *{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
}

/* Public footer belongs to the document flow; never obscure the foyer */
body[data-fxscc-design="ARENA_FOYER_V2"] .site-footer{
  position:relative!important;left:auto;right:auto;bottom:auto;
  width:100%;margin-top:0;
  padding:12px max(24px,calc((100vw - var(--max))/2));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.018);
}
