.hgBoard{--gold:#e8c57d;--mint:#94ccb7;--ink:#10212a;--muted:#a1b5ba;color:#eef5f3;font-family:Inter,system-ui,sans-serif;text-align:left}
.hgBoard *{box-sizing:border-box}.hgBoard button,.hgBoard select,.hgBoard input{font:inherit}
.hgBoardHeader{display:flex;gap:20px;justify-content:space-between;align-items:start;margin:0 0 22px}.hgBoard h2{font-size:clamp(24px,3vw,38px);line-height:1.05;margin:6px 0 10px;letter-spacing:-1px}.hgBoard h3{margin:0;font-size:15px;letter-spacing:.04em}
.hgEyebrow{font-size:10px;font-weight:800;letter-spacing:.17em;color:var(--gold)}.hgFine{font-size:12px!important;line-height:1.6;color:var(--muted);margin:10px 0!important}.hgBoard button{cursor:pointer;touch-action:manipulation}.hgBoard button:disabled{opacity:.5;cursor:wait}
.hgBoard button,.hgBoard select{color:#eef5f3;border:1px solid #45616b;border-radius:9px;background:#203840;padding:10px 13px;min-height:42px}.hgBoard button:hover{border-color:var(--gold)}.hgBoard :focus-visible{outline:3px solid #e8c57d;outline-offset:3px}
.hgFilters{display:flex;flex-wrap:wrap;gap:12px;align-items:end;padding:16px;background:#142a32;border:1px solid #35515c;border-radius:12px}.hgFilters label{display:grid;gap:5px;font-size:11px;color:#bed0d2}.hgFilters select{min-width:125px}.hgBoardStatus{min-height:22px;margin:14px 0;font-size:12px;color:var(--mint)}.hgBoardStatus[data-error="1"]{color:#ffb2a7}
.hgPodium{display:grid;grid-template-columns:1fr 1.12fr 1fr;align-items:end;gap:14px;margin:26px 0}.hgWinner{position:relative;min-width:0;overflow:hidden;min-height:175px;padding:22px 18px;border:1px solid #71848b;border-radius:14px;background:linear-gradient(145deg,#30464f,#182e36);display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px}
.hgWinner[data-rank="1"]{grid-column:2;grid-row:1;min-height:220px;border-color:#e5c67e;background:radial-gradient(ellipse at top,rgba(228,194,114,.27),transparent 75%),#263431;box-shadow:0 8px 32px #0004}.hgWinner[data-rank="2"]{grid-column:1;grid-row:1}.hgWinner[data-rank="3"]{grid-column:3;grid-row:1;border-color:#ba9479;background:linear-gradient(145deg,#443d36,#1d3036)}
.hgMedal{font-size:30px;line-height:1.2;color:#e8c57d}.hgPlace{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#d7dedc}.hgPlayer{max-width:100%;overflow-wrap:anywhere;font-weight:800;font-size:17px}.hgPoints{font-family:'Space Grotesk',system-ui,sans-serif;font-weight:700;font-size:30px;color:var(--gold)}.hgWinner .hgFine{margin:0!important;font-size:10px!important}
.hgSectionTitle{display:flex;align-items:center;justify-content:space-between;margin:20px 0 10px;padding-top:16px;border-top:1px solid #35515c}.hgTopTen .hgSectionTitle{color:var(--gold)}.hgRows{width:100%;border-collapse:separate;border-spacing:0 5px;table-layout:fixed;font-size:13px}.hgRows th{text-align:left;color:var(--muted);font-size:10px;padding:8px;text-transform:uppercase;letter-spacing:.08em}.hgRows td{padding:13px 8px;background:#152c34;border-top:1px solid transparent;border-bottom:1px solid transparent}.hgRows td:first-child{border-radius:8px 0 0 8px;width:52px}.hgRows td:last-child{border-radius:0 8px 8px 0}.hgRows th:first-child{width:52px}.hgRows th:nth-child(3){width:105px}.hgRows th:last-child{width:110px}.hgRows .hgName{overflow-wrap:anywhere}.hgRows .hgScore{font-weight:800;color:var(--gold);font-variant-numeric:tabular-nums}.hgTopTen .hgRows td{background:#263d3d;border-color:#615b40}.hgMine td{box-shadow:inset 0 -2px #94ccb7}.hgMyRank{padding:15px;border:1px solid #94ccb7;border-radius:10px;background:#1f3939;margin:16px 0;line-height:1.6}.hgEmpty{padding:36px 20px;text-align:center;border:1px dashed #51686d;border-radius:12px;color:#bed0d2}
#hgBoardDialog{width:min(1050px,calc(100vw - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:28px;border:1px solid #46636c;border-radius:18px;background:#10212a;color:white;box-shadow:0 30px 90px #0009;overflow:auto}#hgBoardDialog::backdrop{background:#071116ba;backdrop-filter:blur(5px)}.hgBoardLaunch{margin-top:12px}.hgWebStatus{font-size:11px;line-height:1.5;color:#adc7c6;margin-top:8px}
.hgWinner[data-rank="1"]{transform:translateY(-12px)}.hgWinner[data-rank="2"] .hgMedal{color:#c6d9e3}.hgWinner[data-rank="3"] .hgMedal{color:#d4a37d}
.hgConsent{display:flex!important;align-items:flex-start;gap:10px;font-size:12px!important;line-height:1.5;color:#c4d0d2;margin:12px 0}.hgConsent input{width:18px;height:18px;flex:none;accent-color:#e8c57d}.hgPrivacy{font-size:11px;line-height:1.6;color:#a8b9bd;padding:10px 0}.hgDelete{font-size:11px!important;margin-top:10px}
@media(max-width:620px){#hgBoardDialog{padding:18px;width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.hgBoardHeader{gap:10px}.hgFilters{gap:10px;padding:12px}.hgFilters label{flex:1;min-width:110px}.hgFilters select{width:100%;min-width:0}.hgPodium{gap:7px}.hgWinner{padding:16px 6px;min-height:155px}.hgWinner[data-rank="1"]{min-height:185px}.hgPlayer{font-size:13px}.hgPoints{font-size:24px}.hgWinner .hgFine{font-size:9px!important}.hgRows th:first-child{width:32px}.hgRows th:nth-child(3){width:70px}.hgRows th:last-child{width:66px}.hgRows td,.hgRows th{padding:10px 5px}.hgRows{font-size:12px}.hgBoard h2{font-size:28px}.hgBoardHeader>button{padding:8px;min-width:42px}}
@media(prefers-reduced-motion:reduce){.hgBoard *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.hgFixedMode{display:grid;gap:6px;min-width:110px;font-size:11px;color:#b7c7cb}
.hgFixedMode strong{display:flex;align-items:center;min-height:42px;padding:10px 13px;border:1px solid #45616b;border-radius:9px;background:#203840;color:#eef5f3;font-size:12px}
.hgPriceUnit{font-size:11px;color:#d6c59e;margin-top:-5px}
.hgPodium:has(>.hgWinner:only-child){display:flex;justify-content:center}
.hgWinner:only-child{width:min(100%,360px)}

/* Campus archive: every new result has an image, not just the podium. */
.hgBoard .hgCampusLink{display:block;max-width:100%;margin-top:8px;padding:9px 10px;font-size:11px;line-height:1.5;text-align:left;white-space:normal;border-color:#567872;background:#17322f;color:#d2e8da}
.hgBoard .hgCampusLink img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;margin-bottom:7px;border-radius:5px}
.hgWinner .hgCampusLink{width:100%;text-align:center}
.hgCampusMissing{display:block;font-size:10px;line-height:1.5;color:#99b0b3;margin-top:8px;font-weight:400}
.hgRows .hgCampusLink{min-height:40px;padding:6px 8px;font-size:10px}
#hgCampusPreview{padding:16px;margin:16px 0;border:1px solid #45635f;border-radius:10px;background:#132b2c}
#hgCampusPreview h3{font-size:14px;margin:0 0 12px;color:#ead0a0}
.hgCampusPreviewButton{display:block;width:min(320px,100%);padding:0;overflow:hidden;background:#203b3b;color:#e8efe8;border:1px solid #547870;border-radius:8px;cursor:pointer}
.hgCampusPreviewButton img{display:block;width:100%;height:auto}.hgCampusPreviewButton span{display:block;padding:10px;font-size:12px}
#hgCampusDialog{box-sizing:border-box;width:min(1700px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);padding:20px;margin:auto;border:1px solid #53736f;border-radius:14px;background:#10212a;color:#edf2ed;overflow:auto;font-family:Inter,system-ui,sans-serif}
#hgCampusDialog::backdrop{background:#020c12d9;backdrop-filter:blur(5px)}
#hgCampusDialog header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
#hgCampusDialog h2{margin:6px 0;font-size:24px;overflow-wrap:anywhere}#hgCampusDialog header p{margin:0;color:#bdcfcf;font-size:13px}
#hgCampusDialog button{font:inherit;color:#edf2ed;background:#233c42;border:1px solid #607d7d;border-radius:8px;min-height:44px;padding:8px 13px;cursor:pointer}
#hgCampusDialog :focus-visible,#hgCampusPreview :focus-visible{outline:3px solid #e8c57d;outline-offset:2px}
.hgCampusToolbar{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin:15px 0;font-size:12px;color:#aebfbf}
.hgCampusViewport{overflow:auto;max-height:65dvh;background:#07171c;border-radius:8px;overscroll-behavior:contain}
.hgCampusViewport img{display:block;width:100%;height:auto;max-width:none}.hgCampusViewport.isZoomed img{width:1600px;height:900px}
.hgCampusViewport:not(.isZoomed) img{max-height:65dvh;object-fit:contain}
.hgCampusLoad{font-size:11px;color:#b1c5c5;line-height:1.6;margin-bottom:0}
@media(max-width:620px){.hgPodium{grid-template-columns:1fr;gap:14px}.hgWinner[data-rank]{grid-column:1;grid-row:auto;transform:none;min-height:0;padding:18px}.hgWinner .hgCampusLink{max-width:320px}.hgWinner .hgPlayer{font-size:17px}.hgWinner .hgPoints{font-size:30px}#hgCampusDialog{padding:12px}.hgRows th:nth-child(3){width:74px}.hgRows .hgCampusLink{padding:7px 3px}}

/* Web welcome screen: one scroll owner, no clipped settings or save slots.
   Scoped to the web card so other game dialogs and the original edition stay intact. */
#start:has(.hgStartCard){padding:24px}
#start .card.hgStartCard{display:grid!important;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;width:min(1460px,calc(100vw - 48px));max-width:1460px;height:auto!important;max-height:calc(100dvh - 48px)!important;border-radius:18px;isolation:isolate}
#start .hgStartCard .startHead{grid-column:1;grid-row:auto;min-height:0;padding:26px 32px!important;gap:24px;display:flex!important}
#start .hgStartCard .startBrand{max-width:76%}
#start .hgStartCard .heroT{font-size:clamp(32px,3.7vw,56px);line-height:1.04;margin:14px 0 10px;text-wrap:balance}
#start .hgStartCard .heroKicker{font-size:9px;line-height:1.5;letter-spacing:.19em}
#start .hgStartCard .heroSub{font-size:12px;line-height:1.5;letter-spacing:.05em}
#start .hgStartCard #langPick{margin:0;align-self:flex-start}
#start .hgStartCard #langPick button{min-height:36px;font-size:11px}
#start .hgStartContent{position:relative;z-index:2;min-height:0;display:grid;grid-template-columns:minmax(0,1.17fr) minmax(350px,1fr);grid-auto-rows:max-content;align-content:start;align-items:start;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#587475 transparent}
#start .hgStartContent::-webkit-scrollbar{width:6px}
#start .hgStartContent::-webkit-scrollbar-thumb{border-radius:8px;background:#587475}
#start .hgStartIntro{min-width:0;grid-column:1;grid-row:1;align-self:stretch}
#start .hgIntroSummary{display:none}
#start .hgStartCard .startBody{grid-column:auto;grid-row:auto;min-width:0;padding:24px 30px!important;display:block!important;overflow:visible!important}
#start .hgStartCard .startBody>p{font-size:13px;line-height:1.65;margin:16px 0}
#start .hgStartCard .startFoot{grid-column:2;grid-row:1;align-self:stretch;display:flex!important;min-width:0;min-height:0;overflow:visible!important;padding:24px 30px!important;border-top:0;border-left:1px solid #3a535b;gap:0}
#start .hgStartCard .startFoot>*{flex-shrink:0}
#start .hgStartCard .startBrief{display:block}
#start .hgStartCard .briefLabel{font-size:9px;line-height:1.5;letter-spacing:.14em;margin-bottom:8px}
#start .hgStartCard .briefTitle{font-size:24px;line-height:1.22;margin:0 0 4px}
#start .hgStartCard .briefStack{display:none!important}
#start .hgStartCard .briefStats{display:grid!important;margin:0;gap:10px}
#start .hgStartCard .briefStats span{padding:10px 12px}
#start .hgStartCard .briefStats small{font-size:9px;line-height:1.2}
#start .hgStartCard .briefStats b{font-size:12px;line-height:1.35}
#start .hgStartCard .briefGoal{display:flex!important;margin:14px 0 0;padding:12px}
#start .hgStartCard .briefGoal small{font-size:9px}
#start .hgStartCard .briefGoal b{font-size:12px}
#start .hgStartCard .startSetupHead{font-size:10px;line-height:1.4;margin:18px 0 10px}
#start .hgStartCard .setRow{gap:10px!important}
#start .hgStartCard #gameDiffRow>small{font-size:9px}
#start .hgStartCard .gameDiff{min-height:62px;padding:12px 14px}
#start .hgStartCard .gameDiff b{font-size:12px}
#start .hgStartCard .gameDiff span{font-size:11px;line-height:1.4;padding-right:10px}
#start .hgStartCard .rivalToggle{min-height:48px;padding:12px 14px;gap:10px;font-size:12px;line-height:1.45}
#start .hgStartCard .rivalToggle input,#start .hgStartCard #tutBox{width:17px;height:17px;flex:0 0 17px;accent-color:#e4c18a}
#start .hgStartCard .rivalCopy>b{font-size:12px}
#start .hgStartCard .rivalCopy>small{font-size:11px;line-height:1.4}
#start .hgStartCard .rivalProfile{font-size:8px;padding:6px}
#start .hgStartCard #tutChk{min-height:44px;padding:12px 14px;margin:10px 0;gap:10px;font-size:12px;line-height:1.45}
#start .hgStartCard #chalChk{margin:0;border-color:#62735e;align-items:flex-start;background:#263b38}
#start .hgStartCard #chalChk input{margin-top:2px}
#start .hgStartCard #chalChk:has(:checked){border-color:#e1bd80;background:#38443b}
#start .hgOfficialCopy{display:grid;gap:5px;min-width:0}
#start .hgOfficialCopy b{font-size:13px;color:#f0e7d4}
#start .hgOfficialCopy small{font-size:11px;line-height:1.5;color:#c3d2cc}
#start .hgOfficialCopy #chalTag{font-size:10px;color:#dfbf89}
#start .hgStartCard .sgrid{gap:10px}
#start .hgStartCard .sg{display:block;min-height:90px;padding:12px 12px 12px 48px}
#start .hgStartCard .sg i{left:12px;top:12px;width:26px;height:26px}
#start .hgStartCard .sg b{font-size:12px;line-height:1.35}
#start .hgStartCard .sg span{font-size:11px;line-height:1.45}
#start .hgStartCard .startIntel{gap:8px;margin-top:14px}
#start .hgStartCard .startIntel details.ssec summary{white-space:normal;font-size:11px;min-height:44px;line-height:1.35}
/* Help expands in normal flow, rather than covering controls with another scroller. */
#start .hgStartCard .startIntel:has(details[open]){grid-template-columns:minmax(0,1fr)}
#start .hgStartCard .startIntel details.ssec[open]{position:static;max-height:none;overflow:visible;box-shadow:none;background:#172c34}
#start .hgStartCard .startIntel details.ssec[open] summary{position:static;background:#20363e}
#start .hgStartCard .startBody.detailOpen::after{display:none}
#start .hgStartCard .startSaves{grid-column:1/-1;grid-row:2;display:grid!important;grid-template-columns:minmax(0,1fr);gap:14px;min-height:0;padding:20px 30px!important;overflow:visible}
#start .hgStartCard .startSaves:has(#slotPick.hidden):not(:has(.startSaveAside .cbtn:not(.hidden))){display:none!important}
#start .hgStartCard .startEmpty{display:none!important}
#start .hgStartCard #slotPick{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;max-height:none!important;overflow:visible!important;margin:0!important}
#start .hgStartCard #slotPick.hidden{display:none}
#start .hgStartCard #slotPick .slHead{display:flex;align-items:center;justify-content:space-between;gap:10px}
#start .hgStartCard #slotPick .slHead b{font-size:11px}
#start .hgStartCard #slotPick .slHead small{font-size:9px}
#start .hgStartCard #slotPick .slRow{grid-template-columns:repeat(4,minmax(0,1fr));max-height:none;overflow:visible;gap:10px}
#start .hgStartCard #slotPick .sl{min-height:76px;padding:12px 32px 12px 12px}
#start .hgStartCard #slotPick .sl .slName{font-size:12px!important}
#start .hgStartCard #slotPick .sl .slMeta{font-size:10px!important}
#start .hgStartCard .startSaveAside{display:flex;flex-direction:row;gap:12px;flex-wrap:wrap}
#start .hgStartCard .startSaveAside .cbtn{min-height:44px;font-size:11px!important;padding:10px 14px!important;width:auto;flex:1}
#start .hgStartCard .startSaveAside:not(:has(.cbtn:not(.hidden))){display:none}
#start .hgStartFooter{position:relative;z-index:3;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;padding:20px 30px;background:#0f2028;border-top:1px solid #405b62}
#start .hgStartActions{display:flex;align-items:center;gap:16px}
#start .hgStartActions #go,#start .hgStartActions #hgBoardStart{width:auto;min-height:50px;margin:0!important;padding:14px 24px!important;border-radius:10px;font-family:system-ui,'Segoe UI',sans-serif;font-size:12px!important;line-height:1.3;letter-spacing:.08em;white-space:normal}
#start .hgStartActions #go{min-width:228px;background:linear-gradient(120deg,#ead2aa,#c29c69)!important;color:#162832;border:1px solid #e1c294;box-shadow:0 5px 18px #0003}
#start .hgStartActions #hgBoardStart{min-width:190px;background:#1c323b!important;border:1px solid #638087!important;color:#d5e5e4!important;box-shadow:none!important}
#start .hgStartActions #hgBoardStart:hover{background:#2a454c!important;border-color:#abc6bd!important}
#start .hgStartCard :is(button,input,summary,[tabindex]):focus-visible{outline:3px solid #e4c18a;outline-offset:3px}
#start .hgConnection{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:5px}
#start .hgWebStatus{margin:0;font-size:12px;line-height:1.5;color:#b3c8c7;overflow-wrap:anywhere}
#start .hgWebStatus[data-state="online"]{color:#abd8b9}
#start .hgWebStatus[data-state="unavailable"]{color:#ffd0a0}
#start #hgRetryConnection{padding:3px 0;min-height:26px;color:#e3c591;background:transparent;border:0;border-bottom:1px solid #766950;border-radius:0;font-size:11px;cursor:pointer}
#start #hgRetryConnection[hidden]{display:none}
@media(min-width:1001px) and (max-height:850px){
 #start:has(.hgStartCard){padding:16px}
 #start .card.hgStartCard{width:min(1460px,calc(100vw - 32px));max-height:calc(100dvh - 32px)!important}
 #start .hgStartCard .startHead{padding:18px 28px!important}
 #start .hgStartCard .heroT{font-size:44px;margin:10px 0 7px}
 #start .hgStartCard .heroKicker{font-size:8px}
 #start .hgStartCard .startBody,#start .hgStartCard .startFoot{padding:18px 26px!important}
 #start .hgStartCard .startBody>p{font-size:12px;line-height:1.5;margin:12px 0}
 #start .hgStartCard .sg{min-height:78px;padding-block:10px}
 #start .hgStartCard .sg span{font-size:10px}
 #start .hgStartCard .briefTitle{font-size:21px}
 #start .hgStartCard .startSetupHead{margin:12px 0 8px}
 #start .hgStartCard .rivalToggle{padding:10px 12px}
 #start .hgStartCard #tutChk{padding:10px 12px}
 #start .hgStartFooter{padding:16px 26px}
}
@media(max-width:1000px){
 #start:has(.hgStartCard){padding:10px}
 #start .card.hgStartCard{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)!important}
 #start .hgStartCard .startHead{padding:20px 22px!important;gap:16px}
 #start .hgStartCard .startBrand{max-width:100%}
 #start .hgStartCard .heroT{font-size:36px}
 #start .hgStartCard #langPick{display:grid!important;width:auto;margin:0}
 #start .hgStartCard #langPick .langLabel{display:block!important}
 #start .hgStartContent{grid-template-columns:minmax(0,1fr)}
 #start .hgStartCard .startFoot{grid-column:1;grid-row:1;border-left:0;padding:20px 24px!important}
 #start .hgStartCard .startSaves{grid-row:3;padding:20px 24px!important}
 #start .hgStartIntro{grid-row:2;grid-column:1;border-top:1px solid #3c555c}
 #start .hgIntroSummary{display:list-item;list-style:disclosure-closed inside;padding:18px 24px;font-size:13px;color:#dce5df;cursor:pointer}
 #start .hgStartIntro[open]>.hgIntroSummary{list-style-type:disclosure-open}
 #start .hgStartCard .startBody{padding:4px 24px 24px!important}
 #start .hgStartFooter{padding:16px 22px;gap:12px;grid-template-columns:minmax(0,1fr)}
 #start .hgStartActions{grid-row:1}
 #start .hgStartActions #go,#start .hgStartActions #hgBoardStart{min-width:0;flex:1}
 #start .hgConnection{flex-direction:row;align-items:center;gap:10px;flex-wrap:wrap}
 #start .hgWebStatus{font-size:11px}
}
@media(max-width:540px){
 #start .hgStartCard .startHead{flex-direction:column;gap:14px;padding:18px!important}
 #start .hgStartCard .heroT{font-size:34px;margin:10px 0 7px}
 #start .hgStartCard .heroSub{font-size:10px}
 #start .hgStartCard .heroKicker{font-size:8px}
 #start .hgStartCard #langPick{display:flex!important;padding:2px}
 #start .hgStartCard #langPick .langLabel{display:none!important}
 #start .hgStartCard #langPick button{min-height:32px}
 #start .hgStartCard .startFoot{padding:18px!important}
 #start .hgStartCard .briefTitle{font-size:21px}
 #start .hgStartCard .rivalToggle{padding:10px;flex-wrap:wrap}
 #start .hgStartCard .rivalCopy{flex:1}
 #start .hgStartCard .rivalProfile{margin-left:27px}
 #start .hgStartCard #chalChk{flex-wrap:nowrap}
 #start .hgStartCard .startBody{padding:0 18px 18px!important}
 #start .hgStartCard .sgrid,#start .hgStartCard .startIntel{grid-template-columns:1fr}
 #start .hgStartCard .sg{min-height:0}
 #start .hgStartCard .briefStats{gap:6px}
 #start .hgStartCard .briefStats span{padding:8px}
 #start .hgStartCard .briefStats b{font-size:10px}
 #start .hgStartCard #slotPick .slRow{grid-template-columns:repeat(2,minmax(0,1fr))}
 #start .hgStartCard .startSaves{padding:18px!important}
 #start .hgStartFooter{padding:14px 16px;gap:10px}
 #start .hgStartActions{gap:12px}
 #start .hgStartActions #go,#start .hgStartActions #hgBoardStart{padding:12px 10px!important;font-size:10px!important;letter-spacing:.04em;min-height:48px}
}
@media(max-height:600px){
 #start .hgStartCard .startHead{padding:12px 20px!important;flex-direction:row;gap:16px}
 #start .hgStartCard .heroT{font-size:28px;margin:0}
 #start .hgStartCard .heroKicker,#start .hgStartCard .heroSub{display:none}
 #start .hgStartCard #langPick{display:flex!important;padding:2px}
 #start .hgStartCard #langPick .langLabel{display:none!important}
 #start .hgStartCard #langPick button{font-size:10px;min-height:32px;padding:5px 8px}
 #start .hgStartFooter{padding:10px 18px}
 #start .hgStartActions #go,#start .hgStartActions #hgBoardStart{min-height:44px;padding-block:10px!important}
}
@media(max-width:540px) and (max-height:600px){
 #start .hgStartCard .startHead{flex-direction:column;gap:8px;padding:12px 18px!important}
 #start .hgStartCard .heroT{font-size:28px}
}
/* Archived report: isolated scrolling dialog; no game HUD or simulation controls. */
.hgReportLink{display:block;width:100%;margin-top:10px;padding:11px 15px;border:1px solid #ad9161;border-radius:9px;background:#283a3d;color:#efd29b;font:700 13px/1.4 var(--sans,system-ui);cursor:pointer;text-align:center}
.hgReportLink:hover{background:#354b4c}.hgReportLink:focus-visible,#hgReportDialog button:focus-visible{outline:2px solid #efd29b;outline-offset:3px}
#hgSubmitStatus{padding:10px 12px;border-left:3px solid #708b95;background:#152c32;line-height:1.6}
#hgSubmitStatus[data-state=success]{border-color:#8edbc0;color:#b8f1d8;background:#1e3b35}
#hgSubmitStatus[data-state=error]{border-color:#f49988;color:#ffd0c6}
#hgSubmitStatus[data-state=pending]{border-color:#efd29b;color:#efd29b}
#scSave:disabled{opacity:.5;cursor:not-allowed}
#hgReportDialog{box-sizing:border-box;width:min(960px,96vw);max-width:96vw;height:min(920px,94dvh);max-height:94dvh;margin:auto;padding:0;border:1px solid #52747d;border-radius:18px;background:#11252d;color:#e7eff0;box-shadow:0 30px 100px #0008;font:14px/1.7 var(--sans,system-ui);overflow:hidden}
#hgReportDialog[open]{display:flex;flex-direction:column}#hgReportDialog::backdrop{background:#06131cd9;backdrop-filter:blur(5px)}
#hgReportDialog header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 28px;border-bottom:1px solid #35515b;flex-shrink:0}
#hgReportDialog h2{font-size:28px;line-height:1.2;margin:5px 0 0}#hgReportDialog h3{font-size:18px;margin:0 0 16px;color:#efd29b}#hgReportDialog h4{font-size:14px;margin:0 0 6px}
#hgReportDialog button{cursor:pointer}#hgReportDialog [data-close]{width:40px;height:40px;flex-shrink:0;border:1px solid #52747d;border-radius:9px;background:#203b44;color:#e7eff0}
.hgReportBody{overflow-y:auto;overscroll-behavior:contain;padding:12px 28px 28px;min-height:0}
#hgReportDialog footer{padding:12px 28px;border-top:1px solid #35515b;flex-shrink:0}
.hgReportScore{display:flex;align-items:center;gap:22px;margin:20px 0 24px}.hgReportScore strong{display:block;font-size:32px;line-height:1.3;color:#efd29b}.hgReportScore span:not(.hgReportGrade){display:block;font-size:12px;color:#a9c0c5}.hgReportGrade{display:grid;place-items:center;min-width:72px;height:72px;border:1px solid #dabb83;border-radius:12px;color:#efd29b;font-weight:800;font-size:42px}
.hgReportImage{display:block;width:100%;padding:0;border:1px solid #42606a;border-radius:12px;overflow:hidden;background:#213b43;color:#c6dde1}.hgReportImage img{display:block;width:100%;aspect-ratio:16/9;object-fit:contain}.hgReportImage span{display:block;padding:8px}
.hgReportStats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin:24px 0;background:#36505a;border:1px solid #36505a;border-radius:10px;overflow:hidden}.hgReportStats div{background:#172e36;padding:15px}.hgReportStats dt{color:#a9c0c5;font-size:11px}.hgReportStats dd{font-size:16px;font-weight:700;margin:6px 0 0;overflow-wrap:anywhere}
.hgReportBody section{margin:30px 0}.hgReportAchievements{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}.hgReportAchievements li{padding:7px 10px;border:1px solid #3f5c5c;border-radius:7px;background:#1b3639;font-size:12px}
.hgReportChart{display:block;width:100%;background:#0e2028;border-radius:10px}.hgReportChart path{fill:none;stroke-width:2}.hgReportChart .axis{stroke:#4b616b}.hgReportChart .market{stroke:#87d8b6;stroke-width:2.8}.hgReportChart .fundamental{stroke:#cfba8a;stroke-dasharray:6 5}.hgReportChart text{fill:#b2c8cd;font:12px system-ui}
.hgReportDecisions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.hgReportDecisions article{padding:15px;border:1px solid #3d5660;border-radius:9px}.hgReportDecisions p{margin:0;color:#b3c7cb;font-size:13px}.hgReportDecisions [data-good=true]{color:#95dbc0}.hgReportDecisions [data-good=false]{color:#e4c183}
.hgReportEvents summary{cursor:pointer;color:#b8d5d8}.hgReportEvents ol{max-height:220px;overflow:auto;padding-left:20px}.hgReportEvents li{padding:5px}.hgReportEvents time{font-variant-numeric:tabular-nums;color:#efd29b}
.hgReportNotice{padding:16px;border:1px solid #587179;border-radius:10px;color:#c0d4d8}
@media(max-width:600px){#hgReportDialog header{padding:16px}#hgReportDialog footer{padding:10px 16px;font-size:10px}.hgReportBody{padding:12px 16px 20px}.hgReportStats{grid-template-columns:repeat(2,minmax(0,1fr))}.hgReportDecisions{grid-template-columns:1fr}.hgReportScore strong{font-size:25px}.hgReportGrade{min-width:56px;height:56px;font-size:32px}}
