.site-design-panel{padding:24px;margin:24px 0;max-width:920px}
.site-design-options{border:0;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.site-design-options legend{padding:0;margin-bottom:16px}
.site-design-option{display:flex;flex-direction:row;align-items:flex-start;gap:12px;padding:18px;border:1px solid var(--border);background:var(--surface);border-radius:10px;cursor:pointer}
.site-design-option:has(input:checked){border-color:var(--gold);box-shadow:inset 0 0 0 1px var(--gold)}
.site-design-option input{margin:4px 0 0;min-width:18px;width:18px;height:18px;min-height:18px;accent-color:var(--gold);flex:none}
.site-design-option>span{display:flex;flex-direction:column;gap:10px;min-width:0}
.site-design-option strong{font-size:18px;line-height:1.3}
.site-design-option strong small{font-size:11px;border:1px solid currentColor;border-radius:4px;padding:2px 5px;margin-left:5px;color:var(--gold)}
.site-design-option span>span{font-size:13px;line-height:1.55;color:var(--muted);font-weight:400}
.site-design-swatches{display:block;width:92px;height:22px;border-radius:5px;border:1px solid #7d8a9388;background:linear-gradient(90deg,#08131b 0 33%,#16303f 33% 66%,#ffc13b 66%)}
.site-design-swatches.arena{background:linear-gradient(90deg,#08131d 0 33%,#183345 33% 66%,#ffc23d 66%)}
.site-design-swatches.studio{background:linear-gradient(90deg,#ffffff 0 33%,#edf5f2 33% 66%,#176b57 66%)}
.site-design-swatches.neon{background:linear-gradient(90deg,#100f1d 0 33%,#27213a 33% 66%,#3edbee 66%)}
@media(max-width:600px){.site-design-panel{padding:18px}.site-design-options{grid-template-columns:1fr}.site-design-panel .detail-actions{align-items:stretch;flex-direction:column}.site-design-panel .detail-actions>*{width:100%}}

html[data-site-design="arena"]{color-scheme:dark;--background:#08131d;--surface:#102531;--text:#f4f7fa;--muted:#b6ccd9;--gold:#ffc23d;--border:#36566b;--design-input:#081722;--design-soft:#183345;--design-head:#0a1c29;--design-shadow:0 12px 32px #0003;--design-good:#80e8b4;--design-bad:#ffb5ad}
html[data-site-design="studio"]{color-scheme:light;--background:#fff;--surface:#f4f7f9;--text:#142534;--muted:#4c625b;--gold:#176b57;--border:#b9cbc6;--heading:Inter,Arial,sans-serif;--design-input:#fff;--design-soft:#edf5f2;--design-head:#fff;--design-shadow:0 7px 24px #1425340c;--design-good:#11673f;--design-bad:#a13228}
html[data-site-design="neon"]{color-scheme:dark;--background:#100f1d;--surface:#1a1829;--text:#f6f5ff;--muted:#c2bad5;--gold:#3edbee;--border:#514764;--design-input:#12101f;--design-soft:#27213a;--design-head:#171425;--design-shadow:0 0 22px #9f7aea12;--design-good:#85e8c0;--design-bad:#ffb5bd}
html[data-site-design]:not([data-site-design="original"]) :is(.site-header,.site-footer){background:var(--design-head);border-color:var(--border)}
html[data-site-design]:not([data-site-design="original"]) :is(.features-section,.modes-section,.platform-section,.screenshots-section,.download-section,.join-section,.desktop-section,.android-section){background:var(--background);border-color:var(--border)}
html[data-site-design]:not([data-site-design="original"]) :is(.panel,.tournament-card,.registration-card,.auth-panel,.account-bar,.admin-access,dialog,.download-release,.download-status,.license-code-box,.license-card,.account-link-panel,.site-design-option,.preview-stage,.screenshot-image,.announcement-fieldset){background:var(--surface);border-color:var(--border);color:var(--text);box-shadow:var(--design-shadow)}
html[data-site-design]:not([data-site-design="original"]) :is(input,select,textarea){background:var(--design-input);color:var(--text);border-color:var(--border)}
html[data-site-design]:not([data-site-design="original"]) :is(.button-primary,.legal-main .download-release .button-primary){background:var(--gold);border-color:var(--gold);color:#08131b;box-shadow:none}
html[data-site-design="studio"]:not([data-site-design="original"]) :is(.button-primary,.legal-main .download-release .button-primary){color:#fff}
html[data-site-design]:not([data-site-design="original"]) .button-primary:hover{filter:brightness(1.08)}
html[data-site-design]:not([data-site-design="original"]) .button-secondary{border-color:var(--border);background:transparent;color:var(--text)}
html[data-site-design]:not([data-site-design="original"]) :is(.button-secondary:hover,.quiet-button:hover,.feature-row:hover,.mode-item:hover){background:var(--design-soft)}
html[data-site-design]:not([data-site-design="original"]) :is(.site-account,.site-account.is-signed-in,.account-avatar,.badge,.prize-note,.feedback,.site-design-option:has(input:checked)){background:var(--design-soft);border-color:var(--border)}
html[data-site-design]:not([data-site-design="original"]) :is(.site-account,.site-account.is-signed-in,.account-name,.account-details,.account-action){color:var(--text)}
html[data-site-design]:not([data-site-design="original"]) :is(.feedback.error,.danger,.blocked-badge){color:var(--design-bad);border-color:var(--design-bad)}
html[data-site-design]:not([data-site-design="original"]) :is(.account-state,.account-dot){color:var(--design-good)}
html[data-site-design="studio"] :is(h1,.portal-heading h1){font-size:clamp(38px,5.5vw,78px);letter-spacing:-.055em;line-height:1.08;white-space:normal}
html[data-site-design="studio"] :is(.section-heading h2,.group-heading h3,.portal-heading h1,.legal-main h1){letter-spacing:-.035em}
html[data-site-design="studio"] .brand{font-size:clamp(23px,2.7vw,32px);letter-spacing:-.04em}
html[data-site-design="studio"] .hero{min-height:650px}
html[data-site-design="studio"] .group-heading h3{font-size:30px;line-height:1.2}
html[data-site-design="studio"] .mode-item summary{font-size:16px;line-height:1.4}
html[data-site-design="studio"] .button{font-size:16px;font-family:var(--body);font-weight:600}
html[data-site-design="studio"] .tournament-card h3{font-size:25px;line-height:1.2}
html[data-site-design="arena"] .site-header{border-bottom-color:#c5943288}
html[data-site-design="arena"] .hero-copy h1 span{text-shadow:0 0 30px #ffc23d16}
html[data-site-design="neon"] .site-header{border-bottom-color:#9f7aea66}
html[data-site-design="neon"] .hero-copy h1 span{text-shadow:0 0 24px #3edbee19}
html[data-site-design="neon"] .button-primary{box-shadow:0 0 20px #3edbee16}
html[data-site-design="neon"] .feature-filters button[aria-pressed=true]{text-shadow:0 0 18px #3edbee22}
@media(max-width:760px){html[data-site-design="studio"] .hero{min-height:0}html[data-site-design="studio"] .site-header .brand{font-size:24px}html[data-site-design="studio"] .tabs :is(button,.portal-tab-link){font-size:17px}}
/* The concept hero is rendered only for an explicitly selected alternative. */
.concept-hero{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:center;position:relative;min-height:560px;padding-block:35px;gap:0}
.concept-hero .hero-copy{position:relative;z-index:1;padding:0}
.concept-hero h1{font-size:clamp(54px,5.9vw,87px);line-height:.99;letter-spacing:-1.5px;white-space:normal;margin:0 0 24px}
.concept-hero .hero-description{font-size:20px;line-height:1.5;margin:0 0 28px;color:var(--text)}
.concept-hero .hero-actions{display:flex;gap:14px;margin:0;flex-wrap:wrap}
.concept-hero .button{padding:13px 23px;min-height:50px;gap:10px;font-size:18px;border-radius:7px}
.concept-hero .button svg{width:22px;height:22px;flex:none}
.concept-download{display:inline-flex;align-items:center;gap:16px;margin-top:23px;font-size:14px;line-height:1.5}
.concept-download strong{font-weight:600;display:block}
.concept-download small{font-size:12px;color:var(--muted);display:block}
.concept-platforms{color:var(--gold);font-weight:600;border:1px solid var(--border);padding:8px;border-radius:5px;font-size:12px}
.concept-platforms{display:flex;align-items:center;gap:10px;border:0;padding:0}
.concept-platforms svg{width:27px;height:27px}
.concept-platforms .gold-icon{width:27px;height:27px}
.concept-download>svg{width:17px;height:17px;margin-left:8px}
.concept-download>span:last-child{font-size:26px;line-height:1;margin-left:8px}
.concept-hero-art{position:relative;margin:0 -28px 0 0;min-width:0}
.concept-artwork{width:100%;height:530px;object-fit:cover;object-position:65% center;mask-image:linear-gradient(90deg,transparent,#000 12%,#000 85%,transparent);}
.concept-feature-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:22px 0 26px;border-top:1px solid var(--border);border-bottom:1px solid var(--border);gap:30px;margin-bottom:35px}
.concept-feature-strip article{display:flex;align-items:center;gap:20px;min-width:0}
.concept-feature-strip article+article{border-left:1px solid var(--border);padding-left:30px}
.concept-feature-strip svg{width:42px;height:42px;color:var(--gold);flex:none}
.concept-feature-strip .gold-icon{width:42px;height:42px}
.concept-feature-strip h2{font-size:23px;line-height:1.3;margin:0 0 8px}
.concept-feature-strip p{font-size:13px;color:var(--muted);line-height:1.65;margin:0}
html[data-site-design="studio"] .concept-hero{min-height:560px;padding-block:28px}
html[data-site-design="studio"] .concept-hero h1{color:#075644;font-size:clamp(49px,5.7vw,78px);font-weight:700;letter-spacing:-.055em;line-height:1.02}
html[data-site-design="studio"] .concept-hero h1 span{color:#075644}
html[data-site-design="studio"] .concept-hero-art{align-self:end;height:500px;margin-left:5px}
html[data-site-design="studio"] .concept-artwork{mask-image:none;height:500px;border:4px solid #176b57;border-radius:55% 55% 0 0;object-position:45% center;object-fit:cover}
html[data-site-design="studio"] .concept-artwork{transform:scaleX(-1)}
.concept-phone{position:absolute;right:0;bottom:14px;width:31%;min-width:155px;padding:9px 7px 6px;border:3px solid #142534;border-radius:22px;background:#fff;box-shadow:0 7px 24px #14253455;color:#142534;overflow:hidden}
.concept-phone img{border-radius:13px;width:100%;height:315px;object-fit:cover;object-position:top}
.concept-phone span{display:block;font-size:9px;padding:6px 0 2px}
html[data-site-design="studio"] .concept-feature-strip{padding:25px 12px;margin-top:22px}
html[data-site-design="studio"] .concept-feature-strip svg{background:#e0f1eb;border-radius:50%;width:63px;height:63px;padding:15px}
html[data-site-design="studio"] .concept-feature-strip .gold-icon{background:#e0f1eb;border-radius:50%;width:63px;height:63px;padding:15px}
html[data-site-design="studio"] .concept-feature-strip h2{font-size:18px;letter-spacing:-.025em}
html[data-site-design="neon"] .concept-hero h1{font-size:clamp(58px,6.5vw,94px)}
html[data-site-design="neon"] .concept-hero .button-secondary{border-color:#9273bb;background:#322442}
html[data-site-design="neon"] .concept-feature-strip{border-color:#695279}
html[data-site-design="neon"] .concept-hero-art{margin-right:-42px}
@media(max-width:1100px){.concept-hero h1{font-size:65px}.concept-hero .hero-description{font-size:18px}.concept-hero .button{padding:12px 16px;font-size:16px}.concept-artwork{height:460px}.concept-feature-strip{gap:18px}.concept-feature-strip article{gap:12px}.concept-feature-strip article+article{padding-left:18px}.concept-feature-strip h2{font-size:20px}.concept-feature-strip p{font-size:12px}html[data-site-design="studio"] .concept-hero-art,html[data-site-design="studio"] .concept-artwork{height:440px}.concept-phone{min-width:142px}.concept-phone img{height:270px}}
@media(max-width:760px){.concept-hero{grid-template-columns:1fr;padding-top:35px;min-height:0;gap:20px}.concept-hero .hero-copy{padding:0}.concept-hero h1,html[data-site-design="studio"] .concept-hero h1,html[data-site-design="neon"] .concept-hero h1{font-size:clamp(49px,10vw,70px)}.concept-hero-art,html[data-site-design="neon"] .concept-hero-art{margin:0;max-width:600px}.concept-artwork{height:340px;object-fit:contain}.concept-feature-strip{grid-template-columns:1fr;gap:22px}.concept-feature-strip article+article{border:0;padding:0}.concept-feature-strip article{gap:22px}.concept-feature-strip p br{display:none}.concept-phone{width:155px}.concept-phone img{height:275px}html[data-site-design="studio"] .concept-hero-art,html[data-site-design="studio"] .concept-artwork{height:365px;margin:0}.concept-hero .hero-actions{flex-direction:row}.concept-hero .button{font-size:15px;min-height:48px}}
.concept-phone img{height:auto;object-fit:contain}
html:is([data-site-design="arena"],[data-site-design="neon"]) .concept-artwork{mask-image:linear-gradient(90deg,transparent,#000 12%,#000 85%,transparent),linear-gradient(0deg,transparent,#000 9%,#000 91%,transparent);mask-composite:intersect}

/* Goldglas: the original stays the default; the administrator explicitly selects this variant. */
html[data-site-design="goldglas"] {
  color-scheme:dark;
  --background:#07151e; --surface:#0d202be0; --text:#f3f6f8; --muted:#b7cdda;
  --gold:#ffbf32; --border:#7198a756; --design-input:#071720ed;
  --design-soft:#193746c7; --design-head:#0b202bd6;
  --design-shadow:0 16px 36px #0004,inset 0 1px #e6f6ff24;
  --design-good:#6eebbb; --design-bad:#ffb5ad;
  --goldglas-background-size:max(100%, 1440px) max(62.5vw, 900px);
  --goldglas-background-tint:transparent;
}
html[data-site-design="goldglas"] body {
  background:linear-gradient(180deg,var(--goldglas-background-tint) 70%,var(--background)) right top / var(--goldglas-background-size) no-repeat,url('/assets/goldglas-dartboard-v2.webp') right top / var(--goldglas-background-size) no-repeat,var(--background);
}
html[data-site-design="goldglas"]:not([data-site-design="original"]) .site-header {
  width:min(1440px,calc(100% - 40px)); margin:20px auto 0;
  border:1px solid var(--border); border-radius:18px;
  background:linear-gradient(115deg,#bfe6fa0b,transparent 68%),var(--design-head);
  box-shadow:var(--design-shadow);
  -webkit-backdrop-filter:blur(18px); backdrop-filter:blur(18px);
}
html[data-site-design="goldglas"] .site-header .header-inner { width:calc(100% - 40px); min-height:84px; }
html[data-site-design="goldglas"]:not([data-site-design="original"]) :is(.features-section,.modes-section,.platform-section,.screenshots-section,.download-section,.join-section,.desktop-section,.android-section) { background:transparent; }
html[data-site-design="goldglas"]:not([data-site-design="original"]) :is(.panel,.tournament-card,.registration-card,.auth-panel,.account-bar,.admin-access,dialog,.download-release,.license-card,.admin-sidebar,.portal-sidebar,.admin-stats>article) {
  border-radius:14px; border-color:var(--border);
  background:linear-gradient(125deg,#badbea0c,transparent 42%),var(--surface);
  box-shadow:var(--design-shadow);
  -webkit-backdrop-filter:blur(16px); backdrop-filter:blur(16px);
}
html[data-site-design="goldglas"]:not([data-site-design="original"]) .button-primary {
  background:linear-gradient(125deg,#ffd16a,#ffbf32 65%,#efa91e); border-color:#ffd16a; color:#101b22;
  box-shadow:0 4px 16px #ffbf3226,inset 0 1px #fff0b38c; border-radius:8px;
}
html[data-site-design="goldglas"]:not([data-site-design="original"]) .button-secondary {
  background:linear-gradient(135deg,#bfe6fa0d,transparent),var(--design-soft);
  border-radius:8px; box-shadow:inset 0 1px #d9f2ff1c;
}
html[data-site-design="goldglas"]:not([data-site-design="original"]) :is(input,select,textarea) { border-radius:7px; }
html[data-site-design="goldglas"] .goldglas-hero { grid-template-columns:43% 57%; min-height:570px; padding-block:40px 18px; }
.goldglas-eyebrow { margin:0 0 18px; color:var(--gold); font-size:12px; font-weight:700; letter-spacing:.12em; }
html[data-site-design="goldglas"] .goldglas-hero h1 { font-size:clamp(56px,6.4vw,90px); line-height:1.02; white-space:normal; letter-spacing:-.025em; }
html[data-site-design="goldglas"] .goldglas-hero .hero-description { font-size:20px; line-height:1.6; margin:24px 0; }
.goldglas-hero .hero-actions .gold-icon { width:17px; height:17px; }
.goldglas-trial { margin:20px 0 0; font-size:13px; color:var(--muted); }
.goldglas-product { position:relative; padding-right:46px; }
html[data-site-design="goldglas"] .hero-laptop { mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent),linear-gradient(0deg,transparent,#000 10%,#000 88%,transparent); mask-composite:intersect; }
.goldglas-hero .hero-actions .button { display:inline-flex; align-items:center; gap:12px; }
.goldglas-phone { position:absolute; right:0; bottom:12%; width:20%; min-width:110px; padding:8px; border:2px solid #577989; border-radius:24px; background:#06141e; box-shadow:0 18px 35px #0008,inset 0 1px #b6d4e65c; }
.goldglas-phone img { width:100%; height:auto; border-radius:15px; }
.goldglas-phone>span { display:flex; align-items:center; justify-content:center; gap:6px; margin-top:8px; color:var(--muted); font-size:9px; line-height:1.5; }
.goldglas-phone .gold-icon { width:18px; height:18px; flex:none; }
.hero-laptop-demo { position:absolute; left:8.5535%; top:13.0713%; width:83.032%; height:67.916%; object-fit:fill; pointer-events:none; opacity:0; }
.goldglas-phone>.hero-phone-screen { display:block; position:relative; width:100%; aspect-ratio:390/844; margin:0; overflow:hidden; border-radius:15px; }
.goldglas-phone>.hero-phone-screen>img { display:block; width:100%; height:100%; object-fit:cover; }
.hero-phone-screen>video { position:absolute; inset:0; width:100%; height:100%; object-fit:fill; pointer-events:none; opacity:0; }
.hero-laptop-demo.demo-ready,.hero-phone-screen>video.demo-ready { opacity:1; }
.hero-demo-controls { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:8px 14px; margin:-12px 0 0; position:relative; z-index:1; color:var(--muted); font-size:11px; }
.hero-demo-controls[hidden] { display:none; }
.hero-demo-controls>button { min-height:32px; padding:5px 10px; font-size:11px; }
.goldglas-features { margin-bottom:54px; }
.goldglas-features>h2 { text-align:center; font-size:36px; margin:12px 0 24px; }
.goldglas-feature-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.goldglas-feature-grid>a { display:flex; align-items:center; gap:16px; padding:24px 20px; border:1px solid var(--border); border-radius:14px; background:linear-gradient(125deg,#badbea0c,transparent 65%),var(--surface); box-shadow:var(--design-shadow); -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px); }
.goldglas-feature-grid>a>.gold-icon:first-child { width:42px; height:42px; flex:none; }
.goldglas-feature-grid>a>.gold-icon:last-child { width:17px; height:17px; margin-left:auto; flex:none; }
.goldglas-feature-grid h3 { font-size:23px; line-height:1.2; }
.goldglas-feature-grid p { margin:8px 0 0; font-size:13px; line-height:1.6; color:var(--muted); }
.site-design-swatches.goldglas { background:linear-gradient(90deg,#07151e 0 33%,#193746 33% 66%,#ffbf32 66%); box-shadow:inset 0 1px #ffffff70; }
.site-design-option:has(input[value="goldglas"]) { box-shadow:inset 0 1px #ffffff2e; }
@media(max-width:1100px) {
  html[data-site-design="goldglas"] .goldglas-hero .hero-description { font-size:17px; }
  .goldglas-feature-grid>a { padding:20px 16px; gap:12px; }
  .goldglas-feature-grid h3 { font-size:21px; }
}
@media(max-width:760px) {
  html[data-site-design="goldglas"] { --goldglas-background-size:1280px 800px; --goldglas-background-tint:#07151eb3; }
  html[data-site-design="goldglas"]:not([data-site-design="original"]) .site-header { width:calc(100% - 24px); margin-top:12px; border-radius:14px; }
  html[data-site-design="goldglas"] .site-header .header-inner { width:calc(100% - 28px); }
  html[data-site-design="goldglas"] .goldglas-hero { grid-template-columns:minmax(0,1fr); min-height:0; padding-block:36px 18px; gap:16px; }
  html[data-site-design="goldglas"] .goldglas-hero h1 { font-size:clamp(49px,11vw,76px); }
  .goldglas-trial { font-size:12px; }
  .goldglas-product { margin:0; padding:40px 32px 0 0; }
  .goldglas-phone { min-width:86px; padding:5px; border-radius:17px; bottom:4%; }
  .goldglas-phone img { border-radius:10px; }
  .goldglas-phone>.hero-phone-screen { border-radius:10px; }
  .goldglas-phone>span { font-size:8px; }
  .goldglas-phone .gold-icon { display:none; }
  .goldglas-feature-grid { grid-template-columns:minmax(0,1fr); gap:14px; }
  .goldglas-features>h2 { font-size:30px; }
  .goldglas-feature-grid>a { -webkit-backdrop-filter:none; backdrop-filter:none; background-color:#0d202bf2; }
}
@media(prefers-reduced-transparency:reduce) {
  html[data-site-design="goldglas"] { --surface:#0d202b; --design-head:#0b202b; --design-soft:#193746; }
  html[data-site-design="goldglas"] * { -webkit-backdrop-filter:none !important; backdrop-filter:none !important; }
}
