/* BostonPlay Arena Premium: the same warm ivory, white and gold as the games. */
*,*::before,*::after{box-sizing:border-box}
:root{
  --theme-bg:#faf6ed;
  --theme-surface:#fff;
  --theme-surface-alt:#fffaf1;
  --theme-text:#111;
  --theme-muted:#323b46;
  --theme-border:#dcccae;
  --premium-heading:#8a5c0c;
  --premium-shadow:0 10px 32px rgba(32,40,52,.07);
}
:root[data-theme-mode="dark"]{
  --theme-bg:#0d1729;
  --theme-surface:#172943;
  --theme-surface-alt:#1b304c;
  --theme-text:#f3f6fc;
  --theme-muted:#d2dceb;
  --theme-border:#536681;
  --premium-heading:#f0c66a;
  --premium-shadow:0 10px 32px rgba(0,0,0,.22);
}
html{background:var(--theme-bg)}
body{min-width:0;min-height:100vh;margin:0;background:var(--theme-bg)!important;color:var(--theme-text)!important;font:16px/1.6 system-ui,-apple-system,"Segoe UI",sans-serif}
a{color:var(--premium-heading);text-underline-offset:3px}
a:hover{color:var(--theme-text)}
a:focus-visible,button:focus-visible{outline:3px solid var(--theme-accent);outline-offset:3px}
.premium-header{background:var(--theme-bg);border-bottom:1px solid var(--theme-border)}
.premium-header nav{max-width:1120px;margin:auto;padding:16px clamp(18px,3vw,32px);display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 22px}
.premium-header .logo{font-weight:850;letter-spacing:-.02em;font-size:1.15rem;color:var(--premium-heading);text-decoration:none}
.premium-header .links{display:flex;flex-wrap:wrap;gap:12px 22px;align-items:center}
.premium-header .links a{color:var(--theme-text);font-weight:700;text-decoration:none}
.premium-header .links a[aria-current="page"]{color:var(--premium-heading);text-decoration:underline;text-decoration-thickness:2px}
.premium-header .links a:hover{color:var(--premium-heading)}
.premium-header .theme-controls{margin-left:auto}
.skip-link{position:absolute;left:12px;top:-100px;z-index:10001}
.skip-link:focus{top:10px}
main{width:min(100%,1120px);max-width:1120px;margin:0 auto;padding:clamp(20px,4vw,45px) clamp(18px,3vw,32px) 60px}
.premium-back{margin:0 0 24px;font-size:.94rem}
.premium-intro{max-width:800px;margin-bottom:28px}
.premium-kicker{display:inline-block;color:var(--premium-heading);font-size:.8rem;letter-spacing:.15em;font-weight:800;text-transform:uppercase}
h1{color:var(--theme-text);font-size:clamp(2rem,4.5vw,3.6rem);letter-spacing:-.035em;line-height:1.13;margin:12px 0 18px}
h2{color:var(--premium-heading)}
h3{color:var(--theme-text)}
main p{color:var(--theme-text);line-height:1.7}
.premium-intro p{font-size:clamp(1rem,1.3vw,1.15rem);margin:12px 0;overflow-wrap:anywhere}
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:26px 0 30px}
.cards .card{min-width:0;min-height:245px;display:flex;flex-direction:column;align-items:stretch;padding:clamp(20px,2.5vw,29px);border-radius:19px;background:var(--theme-surface);color:var(--theme-text);border:1px solid var(--theme-border);box-shadow:var(--premium-shadow)}
.cards .card h2{font-size:1.35rem;letter-spacing:-.02em;margin:0 0 4px}
.cards .card h3{font-size:clamp(1.45rem,2.6vw,2rem);letter-spacing:-.025em;margin:0 0 9px}
.cards .card p{margin:0 0 22px;color:var(--theme-muted)}
.cards .card button{margin-top:auto}
.cards .card:nth-child(3){border:2px solid var(--theme-accent)}
button{border:1px solid var(--theme-accent);background:var(--theme-accent);color:var(--theme-on-accent);border-radius:10px;min-height:46px;padding:12px 17px;font:750 1rem system-ui,sans-serif;cursor:pointer}
button:hover:not(:disabled){filter:brightness(.94)}
button:disabled{opacity:.55;cursor:not-allowed}
.premium-account{background:var(--theme-surface);border:1px solid var(--theme-border);border-radius:18px;padding:clamp(18px,3vw,28px);box-shadow:var(--premium-shadow);margin-top:26px}
.premium-account h2{margin:0 0 10px;font-size:1.4rem}
.premium-account p{margin:9px 0;overflow-wrap:anywhere}
.premium-account #portal{margin:14px 0}
.premium-account #notice{min-height:28px;font-weight:700;color:var(--premium-heading)}
.premium-legal{margin-top:25px;padding:16px 20px;border-left:4px solid var(--theme-accent);background:var(--theme-surface-alt);border-radius:0 11px 11px 0}
.premium-legal small{color:var(--theme-muted);font-size:.88rem;line-height:1.8}
footer{margin-top:34px;padding-top:20px;border-top:1px solid var(--theme-border);color:var(--theme-muted);font-size:.94rem}
footer a{color:var(--premium-heading)}
/* Preferences controls already use the homepage's accessible theme dialog. */
.theme-icon-button,.theme-preferences-button{min-height:44px;background:var(--theme-surface);border-color:var(--theme-border);color:var(--theme-text)}
.theme-dialog h2{color:var(--theme-text)}
@media(max-width:820px){
  .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cards .card:first-child{grid-column:1 / -1;min-height:unset}
  .premium-header .theme-controls{margin-left:0}
}
@media(max-width:560px){
  .cards{grid-template-columns:minmax(0,1fr)}
  .cards .card:first-child{grid-column:auto}
  .cards .card{min-height:0}
  .premium-header nav{align-items:flex-start}
  .premium-header .links{gap:10px 16px}
  .premium-header .theme-controls{width:100%;justify-content:flex-start}
  main{padding-top:22px}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
