/* PRESENTATION LAB: legibility pass. The cinematic look sets a tall, narrow display font on EVERYTHING; that is great for big titles and numbers but hard to
   read at small sizes. Small text now uses the game's normal text font at a larger size and higher contrast; the display font stays for headings,
   the logo, peak names and big numbers. Appearance only. */
:root{--lab-text:Figtree,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;--lab-disp:"Bebas Neue",Figtree,system-ui,sans-serif}

/* ---- every card outside the climb, the landing extras, the end panel, the in-climb options ---- */
#ov.labpanel .card,#ov.labpanel .card *,#ov.labwel .card,#ov.labwel .card *,#labTop,#labTop *,#labDock,#labDock *,#endPanel.labend,#endPanel.labend *,#climbMenu,#climbMenu *{font-family:var(--lab-text)!important;letter-spacing:.01em}
#ov.labpanel .card,#endPanel.labend{--muted:rgba(255,255,255,.84)}
/* display font only where it is big */
#ov.labpanel .card h2,#ov.labwel .wlogo,#ov.labwel .wlogo *,#ov.labwel .wsimple p.wpeak,#ov.labwel .wsimple p.wpeak *,#ov.labpanel .statgrid b,#endPanel.labend .ehead em.bigpct,#ov.labpanel .gunums b,#ov.labpanel .codebox b,#ov.labpanel .rword{font-family:var(--lab-disp)!important;letter-spacing:.06em}
#ov.labpanel .card h2{font-size:1.15rem;letter-spacing:.3em;font-weight:400}
#ov.labwel .card p.whello{font-size:.8rem;font-weight:700;letter-spacing:.2em;color:rgba(255,255,255,.85)}
#ov.labwel .card .wsimple p.wsub{font-size:1rem;color:rgba(255,255,255,.9);font-weight:600}
/* buttons, tabs, chips */
#ov.labpanel .card button,#ov.labwel .card button,#endPanel.labend button{font-weight:700;font-size:.98rem;letter-spacing:.04em;text-transform:none}
#ov.labpanel .card #ovBtns button,#ov.labwel .card #ovBtns button,#ov.labpanel .menu button.lab-pri,#endPanel.labend .ebtns>button{font-weight:800;font-size:1.05rem;letter-spacing:.08em;text-transform:uppercase}
#ov.labpanel .seg button,#ov.labpanel .ach .tabs button{font-size:.9rem;letter-spacing:.04em;text-transform:none}
#ov.labpanel .chips button{font-size:.85rem;letter-spacing:.03em}
#ov.labpanel .datenav{font-size:.95rem;color:rgba(255,255,255,.92);font-weight:600}
#ov.labpanel .datenav button{font-size:1.3rem}
#ov.labpanel .menu button{font-size:.98rem}
#ov.labpanel .menu button.lab-link{font-size:.9rem;color:rgba(255,255,255,.82)}
#ov.labpanel .menu .copy{font-size:.8rem;color:rgba(255,255,255,.68)}
/* lists and numbers */
#ov.labpanel .lb li{font-size:1rem;color:#fff}
#ov.labpanel .lb .rk{color:rgba(255,255,255,.7);font-weight:700}
#ov.labpanel .lb .nm{font-weight:700}
#ov.labpanel .lb .sc{color:rgba(255,255,255,.9);font-weight:600;font-size:.92rem;font-variant-numeric:tabular-nums;letter-spacing:0}
#ov.labpanel .lb .lbnote,#ov.labpanel .labnote{color:rgba(255,255,255,.8);font-size:.98rem}
#ov.labpanel .statgrid b{font-size:1.9rem;font-weight:400}
#ov.labpanel .ach .statgrid.three b{font-size:1.6rem}
#ov.labpanel .ach .statgrid span{font-size:.76rem;font-weight:700;color:rgba(255,255,255,.88);letter-spacing:.05em}
#ov.labpanel .ach .statgrid span.bwl{color:rgba(255,255,255,.88)}
#ov.labpanel .ach h3{font-size:1.05rem;font-weight:800;letter-spacing:.02em;color:#fff}
#ov.labpanel .hleg,#ov.labpanel .legend{font-size:.85rem;color:rgba(255,255,255,.88)}
#ov.labpanel .badges b,#ov.labpanel .mgrid .mn{font-size:1rem;color:#fff;font-weight:800}
#ov.labpanel .badges small,#ov.labpanel .mgrid small,#ov.labpanel .mgrid .mr{font-size:.85rem;color:rgba(255,255,255,.85)}
#ov.labpanel .badges em{font-size:.8rem;color:rgba(255,255,255,.85)}
#ov.labpanel .small,#ov.labpanel .card p{font-size:.95rem;line-height:1.45;color:rgba(255,255,255,.88)}
#ov.labpanel .card p.small{font-size:.88rem}
#ov.labpanel .auth label{font-size:.78rem;color:rgba(255,255,255,.88);letter-spacing:.08em}
#ov.labpanel .field{font-size:1.05rem}
#ov.labpanel .gunums,#ov.labpanel .gusub,#ov.labpanel .gunote{color:rgba(255,255,255,.9)}
#ov.labpanel .gunums{font-size:1rem}
#ov.labpanel .gusub{font-size:.92rem}
#ov.labpanel .peaks li button{font-size:1rem}
#ov.labpanel .peaks li button small{font-size:.8rem;opacity:1}
/* landing */
.lsteps b{font-size:.85rem!important;letter-spacing:.14em!important}
.lsteps span{font-size:.82rem!important;color:#ffd98a!important;font-weight:600}
#labTop .lprof .pn b{font-size:.95rem}
#labTop .lprof .pn small{font-size:.7rem;font-weight:700;letter-spacing:.1em}
#labTop .lchip{font-size:.82rem;font-weight:700;letter-spacing:.05em;color:#fff}
#labDock button{font-size:.72rem!important;font-weight:700;letter-spacing:.1em;color:rgba(255,255,255,.9)}
/* end panel */
#endPanel.labend .ehead b{font-size:.8rem;font-weight:700;letter-spacing:.24em;color:rgba(255,255,255,.85)}
#endPanel.labend .ehead span{font-size:1rem;color:#fff;font-weight:600}
#endPanel.labend .eline{font-size:.95rem;color:rgba(255,255,255,.9)}
#endPanel.labend .erows button{font-size:.92rem}
#endPanel.labend #postBox .postrow{font-size:.9rem;color:#fff}
/* in-climb options */
#climbMenu h3{font-size:.85rem}
#climbMenu button{font-size:1.05rem;font-weight:700}
#climbMenu button i{font-size:.82rem}

/* ---- the climb screen itself ---- */
html[data-hud="2"] #hud2,html[data-hud="2"] #hud2 *,html[data-hud="2"] header.top .peak .sub,html[data-hud="2"] header.top .peak .sub *{font-family:var(--lab-text)!important;letter-spacing:.02em}
html[data-hud="2"] #hud2 b,html[data-hud="2"] header.top .peak h1{font-family:var(--lab-disp)!important;letter-spacing:.04em}
html[data-hud="2"] #hud2 small{font-size:.8rem;font-weight:700;opacity:1;letter-spacing:.1em}
html[data-hud="2"] #hud2 .h-main span{font-size:.78rem;font-weight:600;opacity:1;margin-top:4px}
html[data-hud="2"] header.top .peak .sub{font-size:.92rem;font-weight:700;letter-spacing:.04em}
html[data-hud="2"] .app>.word .hint,html[data-hud="2"] .app>.word .hint *{font-family:var(--lab-text)!important;font-size:1.02rem;font-weight:600;letter-spacing:.01em}
html[data-hud="2"] .word .wbtn{font-family:var(--lab-text)!important;font-weight:700;font-size:1rem;letter-spacing:.03em}
html[data-hud="2"] .app>.word:not(.idle),html[data-hud="2"] .app>.word:not(.idle) *{font-family:var(--lab-disp)}
#cpCard p{font-size:.95rem}

/* ---- calm the colour: the cinematic look paints EVERY button orange. Inside the panels only the primary actions and the selected tab stay orange;
   everything else (badge and mountain cells, list rows, small buttons) is a quiet translucent white. ---- */
#ov.labpanel .card :where(button){background:rgba(255,255,255,.08);box-shadow:none;border:0;color:#fff;border-radius:12px}
#ov.labpanel .bgrid button,#ov.labpanel .pgrid button{background:none;box-shadow:none}
#ov.labpanel .pgrid button{background:rgba(255,255,255,.07)}
#ov.labpanel .peaks li button{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);box-shadow:none}
#ov.labpanel .peaks li button:first-child{background:rgba(255,255,255,.08)}
#ov.labpanel .lb li .xbtn,#ov.labpanel .datenav button{background:none}
/* badges: four across so the names fit and can be read */
#ov.labpanel .bgrid{grid-template-columns:repeat(4,1fr);gap:12px 6px}
#ov.labpanel .bgrid .bi{width:46px;height:46px;font-size:1.4rem}
#ov.labpanel .bgrid small,#ov.labpanel .pgrid small{font-size:.74rem;line-height:1.15;font-weight:600;color:rgba(255,255,255,.9);white-space:normal;text-align:center;overflow:visible}
#ov.labpanel .bgrid .locked small{color:rgba(255,255,255,.6)}
#ov.labpanel .pgrid em{font-size:.74rem;color:rgba(255,255,255,.85)}
#ov.labpanel .ach.at1 .bgrid small{display:block}

/* summit result tiles: solid dark panels, larger and brighter text so they read over any bright scene */
#cinStats .stHead{display:inline-block;background:rgba(8,12,20,.82);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border-radius:999px;padding:8px 18px;margin-bottom:12px;font:800 .95rem var(--lab-text,system-ui,sans-serif)!important;letter-spacing:.28em;color:#ffd27a;text-shadow:none}
#cinStats .stHead small{display:block;margin-top:2px;font:700 .72rem var(--lab-text,system-ui,sans-serif)!important;letter-spacing:.22em;color:#fff;opacity:1}
#cinStats .stTile{background:rgba(8,12,20,.84)!important;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border:1px solid rgba(255,207,107,.6);padding:12px 8px 11px}
#cinStats .stTile i{font:800 .76rem var(--lab-text,system-ui,sans-serif)!important;letter-spacing:.16em;color:#ffd27a;text-transform:uppercase}
#cinStats .stTile b{font-size:2.05rem;color:#fff;text-shadow:none;margin-top:4px}
#cinStats .stTile em{font:700 .82rem var(--lab-text,system-ui,sans-serif)!important;letter-spacing:.06em;color:#fff;opacity:1;text-transform:uppercase;margin-top:3px}
#cinStats .stGo{font:800 1.05rem var(--lab-text,system-ui,sans-serif)!important;background:#b8651f;color:#fff;border:1px solid rgba(255,207,107,.8);box-shadow:0 4px 18px rgba(0,0,0,.35)}

/* v127: Mountains tab. Orange route = climbed but not summited; green route = summited (the route colours are set in miniMountain). */
#ov.labpanel .pgrid .top em,#ov.labpanel .mfeat .mres.top b{color:#5DDC82}
#ov.labpanel .pgrid .went em,#ov.labpanel .mfeat .mres.went b{color:#FFB066}
