/* Long Game one game v10: the site around the match (mp/client/site.js). One accent, the game's gold, on its dark navy and gunmetal */
:root{--lg-nav:calc(64px + env(safe-area-inset-top,0px));--lg-soft:#FFE3A0;--lg-edge:rgba(255,227,160,.16);--lg-panel:linear-gradient(180deg,rgba(15,24,33,.95),rgba(9,14,20,.95))}
body:not(.lg-site) .lg-art,body:not(.lg-site) .lg-nav,body:not(.lg-pg) .lg-page{display:none}
/* the site covers the game's map and bars; a room or a match brings them back */
body.lg-site #mlmap,body.lg-site #cv,body.lg-site .top,body.lg-site .rail,body.lg-site #mini,body.lg-site .keyq,body.lg-site .modes{visibility:hidden}
body.lg-pg .mp-lobby,body.lg-pg #mpGuideOffer{display:none}
body.lg-site .toasts{z-index:46}

/* ---------- the artwork */
.lg-art{position:fixed;inset:0;z-index:31;overflow:hidden;pointer-events:none;background:radial-gradient(120% 95% at 66% 30%,#14222F 0%,#0B141D 46%,#05090D 100%)}
.lg-sky{position:absolute;inset:0;background:radial-gradient(55% 45% at 70% 42%,rgba(255,227,160,.055),transparent 70%)}
.lg-world{position:absolute;inset:0;transform-origin:62% 45%;animation:lgDrift 90s ease-in-out infinite alternate;will-change:transform}
@keyframes lgDrift{from{transform:scale(1)}to{transform:scale(1.07) translate(-1.4%,.8%)}}
#lgMap,.lg-board{position:absolute;inset:0;width:100%;height:100%}
#lgMap{opacity:0;transition:opacity 1.8s ease}
.lg-land0{fill:rgba(40,58,74,.62);stroke:rgba(196,214,230,.14);stroke-width:1;vector-effect:non-scaling-stroke;transition:opacity 1.8s ease}
.lg-lit .lg-land0{opacity:0} /* the full map from data.js sharpens in over the first one */
.lg-lit #lgMap{opacity:1}
.lg-gl{stroke:rgba(196,214,230,.075);stroke-width:1}.lg-gl2{stroke:rgba(196,214,230,.03);stroke-width:.6}
.lg-rings{fill:none;stroke:rgba(255,227,160,.2);stroke-width:1;stroke-dasharray:3 6}
.lg-fglow{fill:none;stroke:rgba(255,227,160,.09);stroke-width:10;stroke-linecap:round}
.lg-front{fill:none;stroke:#FFE3A0;stroke-opacity:.66;stroke-width:2;stroke-linecap:round;stroke-dasharray:11 7;animation:lgMarch 26s linear infinite}
.lg-front.f1{animation-duration:33s;animation-direction:reverse}.lg-front.f2{animation-duration:41s}
@keyframes lgMarch{to{stroke-dashoffset:-180}}
.lg-adv{fill:none;stroke:rgba(255,227,160,.42);stroke-width:5;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 2.2s cubic-bezier(.2,.7,.2,1) .5s}
.lg-advh{fill:rgba(255,227,160,.6);opacity:0;transition:opacity .5s ease 2.3s}
.lg-lit .lg-adv{stroke-dashoffset:0}.lg-lit .lg-advh{opacity:1}
.lg-own{fill:rgba(255,227,160,.1);stroke:#FFE3A0;stroke-opacity:.75;stroke-width:1.3}
.lg-foe{fill:rgba(6,10,15,.6);stroke:rgba(214,226,236,.55);stroke-width:1.3}
.lg-hotc{fill:#FFE3A0}
.lg-hotr{fill:none;stroke:#FFE3A0;stroke-width:1.2;transform-box:fill-box;transform-origin:center;animation:lgPing 3.6s ease-out infinite}
.h1 .lg-hotr{animation-delay:1.2s}.h2 .lg-hotr{animation-delay:2.4s}
@keyframes lgPing{from{transform:scale(.4);opacity:.9}to{transform:scale(2.6);opacity:0}}
.lg-radar{position:absolute;border-radius:50%;overflow:hidden}
.lg-radar i{position:absolute;inset:0;border-radius:50%;background:conic-gradient(from 0deg,transparent 0deg 285deg,rgba(255,227,160,.035) 315deg,rgba(255,227,160,.17) 359deg,transparent 360deg);animation:lgSweep 7s linear infinite;will-change:transform}
@keyframes lgSweep{to{transform:rotate(360deg)}}
.lg-jets{position:absolute;inset:0}
.lg-jet{position:absolute;left:0;top:0;width:380px;height:14px;margin:-7px 0 0 -380px;transform-origin:100% 50%;opacity:0;animation:lgFly 36s linear infinite;will-change:transform,opacity}
.lg-jet b{position:absolute;left:0;right:20px;top:6.4px;height:1.3px;background:linear-gradient(90deg,transparent,rgba(226,234,242,.42))}
.lg-jet svg{position:absolute;right:0;top:0;width:24px;height:14px;fill:#C3CFD9}
.lg-jet.j2{animation-duration:48s;animation-delay:-21s}.lg-jet.j2 svg{transform:scale(.8)}
@keyframes lgFly{0%{transform:translate(var(--x0),var(--y0)) rotate(var(--a));opacity:0}3%{opacity:1}40%{opacity:1}43%{transform:translate(var(--x1),var(--y1)) rotate(var(--a));opacity:0}100%{transform:translate(var(--x1),var(--y1)) rotate(var(--a));opacity:0}}
.lg-haze{position:absolute;left:0;right:0;bottom:0;height:54%;background:linear-gradient(180deg,transparent,rgba(9,15,22,.66) 56%,rgba(6,10,15,.94))}
.lg-glow{position:absolute;left:0;right:0;bottom:0;height:58vh;background:radial-gradient(64% 48% at 52% 100%,rgba(255,206,130,.22),rgba(255,206,130,.06) 55%,transparent 76%)}
.lg-ridge{position:absolute;left:0;right:0;bottom:0;width:100%;height:min(36vh,330px)}
.lg-r3{fill:#0D1720}.lg-r2{fill:#080F16}
.lg-r1>*{fill:#020509;stroke:rgba(255,227,160,.26);stroke-width:1.1;stroke-linejoin:round}
.lg-r1>.lg-ant{fill:none;stroke:rgba(255,227,160,.32);stroke-width:1.2}
.lg-scrim{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,9,13,.86) 0%,rgba(5,9,13,.55) 36%,rgba(5,9,13,0) 64%)}
body[data-lg=play] .lg-scrim,body[data-lg=watch] .lg-scrim,body[data-lg=replay] .lg-scrim,body[data-lg=wait] .lg-scrim{background:rgba(5,9,13,.42)}
body.lg-pg:not([data-lg=home]) .lg-scrim{background:rgba(5,9,13,.5)}
html.lg-calm .lg-art *{animation:none!important;transition:none!important}
html.lg-calm .lg-jets{display:none}
@media (prefers-reduced-motion:reduce){.lg-art *{animation:none!important;transition:none!important}.lg-jets{display:none}}

/* ---------- the nav */
.lg-nav{position:fixed;left:0;right:0;top:0;z-index:37;height:var(--lg-nav);padding:env(safe-area-inset-top,0px) max(20px,env(safe-area-inset-right,0px)) 0 max(20px,env(safe-area-inset-left,0px));display:flex;align-items:center;gap:16px;background:linear-gradient(180deg,rgba(5,9,13,.94),rgba(5,9,13,.62));border-bottom:1px solid rgba(255,227,160,.08);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.lg-brand{display:flex;align-items:center;gap:10px;min-height:44px;margin-right:auto;padding:0 8px 0 2px;border-radius:10px;color:var(--txt);text-decoration:none}
.lg-mark{width:28px;height:28px;flex:none;color:var(--gold)}
.lg-brand b{font:700 19px/1 var(--f-display);letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
/* the name in two colours (Aboud 2026-11-28): WAR white, FOLD gold, one word; as the trailer's end card */
.lg-fold{color:var(--gold)}
.lg-links{display:flex;gap:2px}
.lg-links a{position:relative;display:flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border-radius:10px;color:var(--txt-2);text-decoration:none;font:600 15px var(--f-body);white-space:nowrap}
.lg-links a:hover{color:var(--txt);background:rgba(255,255,255,.05)}
.lg-links a[aria-current=page]{color:var(--lg-soft)}
.lg-links a[aria-current=page]::after{content:"";position:absolute;left:14px;right:14px;bottom:3px;height:2px;border-radius:1px;background:var(--gold)}
.lg-i{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.lg-dot{position:absolute;top:7px;left:27px;min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:var(--gold);color:var(--gold-ink);font:700 10px/16px var(--f-body);font-style:normal;text-align:center;box-shadow:0 0 0 2px #070C11}
.lg-dot[hidden]{display:none}
.lg-nav a:focus-visible,.lg-page a:focus-visible{outline:2px solid var(--gold);outline-offset:2px}

/* ---------- pages */
.lg-page{position:fixed;left:0;right:0;bottom:0;top:var(--lg-nav);z-index:36;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:28px max(20px,env(safe-area-inset-right,0px)) calc(28px + env(safe-area-inset-bottom,0px)) max(20px,env(safe-area-inset-left,0px));-webkit-user-select:text;user-select:text}
body[data-lg=home] .lg-page{display:flex;align-items:center}
.lg-page a{color:inherit}
.lg-hero{width:min(720px,100%);margin-left:max(0px,calc((100vw - 1200px) / 2 + 20px));padding-bottom:13vh}
.lg-tag{margin:0 0 16px;color:var(--lg-soft);font:600 16px var(--f-body)}
.lg-title:focus,.lg-h1:focus{outline:none}
.lg-title{margin:0;font:700 clamp(52px,7.4vw,100px)/.9 var(--f-display);letter-spacing:.04em;text-transform:uppercase;color:#F2F5F8;outline:none}
.lg-lead{margin:22px 0 32px;max-width:520px;color:#C3CED8;font-size:18px;line-height:1.5}
.lg-cta{display:flex;flex-wrap:wrap;gap:12px}
.lg-cta .btn{min-height:52px;padding:0 22px;border-radius:12px;font-size:16px;text-decoration:none}
.lg-play{min-width:170px;font-size:17px}.lg-play .lg-i{stroke-width:2}
.lg-ghost{background:rgba(10,16,23,.62);border-color:rgba(255,255,255,.2);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.lg-ghost:hover{background:rgba(10,16,23,.86);border-color:rgba(255,227,160,.5)}
.lg-ghost[disabled]{opacity:.7;cursor:progress}
/* the trailer: a quiet pill under the buttons, and the player over everything */
.lg-trailer{display:inline-flex;align-items:center;gap:10px;margin:16px 0 0;padding:6px 16px 6px 6px;min-height:44px;border-radius:999px;border:1px solid rgba(255,255,255,.16);background:rgba(10,16,23,.55);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);color:var(--txt);font:600 15px/1 var(--f-body);cursor:pointer}
.lg-trailer .lg-i{width:32px;height:32px;color:var(--gold);stroke-width:1.5}.lg-trailer span{margin-left:2px;color:var(--txt-2);font-weight:500;font-size:13px;font-variant-numeric:tabular-nums}
.lg-trailer:hover{background:rgba(10,16,23,.86);border-color:rgba(255,227,160,.5)}.lg-trailer:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.lg-tv{position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;padding:max(24px,env(safe-area-inset-top,0px)) 24px 24px;background:rgba(3,6,10,.9)}
.lg-tv-box{position:relative;width:min(1180px,100%,calc((100vh - 48px) * 16 / 9))}
.lg-tv video{display:block;width:100%;aspect-ratio:16/9;border-radius:12px;background:#000;box-shadow:0 24px 80px rgba(0,0,0,.6)}
.lg-tv-x{position:absolute;top:-16px;right:-16px;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.22);background:#101820;color:var(--txt);cursor:pointer}
.lg-tv-x .lg-i{width:20px;height:20px}.lg-tv-x:hover{border-color:rgba(255,227,160,.6)}.lg-tv-x:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
@media (max-width:599px), (max-width:899px) and (max-height:519px){ .lg-tv{padding:12px} .lg-tv-x{top:-52px;right:0} .lg-trailer{margin-top:12px} }
.lg-facts{display:flex;flex-wrap:wrap;gap:10px 26px;margin:36px 0 0;padding:0;list-style:none;color:var(--txt-2);font-size:14px}
.lg-facts li{display:flex;align-items:center;gap:8px}.lg-facts .lg-i{width:18px;height:18px;color:var(--lg-soft)}
.lg-card{width:min(900px,100%);margin:6px auto 0;padding:28px 32px 32px;border-radius:18px;background:var(--lg-panel);border:1px solid var(--lg-edge);box-shadow:0 30px 80px rgba(0,0,0,.5)}
.lg-h1{margin:0;font:700 34px/1.1 var(--f-display);outline:none}
.lg-sub{max-width:660px;margin:10px 0 24px;color:var(--txt-2);font-size:15.5px;line-height:1.5}
.lg-h2{margin:24px 0 10px;font:600 17px/1.2 var(--f-display);color:var(--txt)}
.lg-box>.lg-h2:first-child{margin-top:0}.lg-h2s{margin-top:22px}
.lg-fine{margin:6px 0 0;color:var(--txt-2);font-size:13px;line-height:1.4}
.lg-acts{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.lg-acts .btn{min-height:50px;padding:0 20px;font-size:15.5px}
.lg-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}.lg-row .btn{min-height:46px}.lg-row .lg-fine{margin:0;flex:1 1 220px}
/* how to play */
.lg-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none}
.lg-steps li{position:relative;padding:18px 18px 18px 74px;border-radius:14px;background:rgba(255,255,255,.035);border:1px solid var(--line)}
.lg-stepi{position:absolute;left:18px;top:18px;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;border:1.5px solid rgba(255,227,160,.55);color:var(--lg-soft)}
.lg-stepn{display:block;color:var(--txt-2);font-size:12.5px;font-weight:600}
.lg-steps b{display:block;margin:2px 0 4px;font:600 18px/1.2 var(--f-display)}.lg-steps p{margin:0;color:#C3CED8;font-size:14px;line-height:1.45}
/* account */
.lg-acchead{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px}
.lg-soon{display:inline-flex;align-items:center;gap:7px;min-height:32px;padding:0 12px;border-radius:16px;border:1px solid rgba(255,227,160,.5);background:var(--gold-wash);color:var(--lg-soft);font:600 13.5px var(--f-body)}.lg-soon .lg-i{width:16px;height:16px}
.lg-accgrid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:16px}
.lg-box{padding:20px;border-radius:14px;background:rgba(255,255,255,.035);border:1px solid var(--line);min-width:0}
.lg-box .mp-in{margin-bottom:0}
/* v11: fog of war and supply lines on How to play */
.lg-fogs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0 0}
.lg-fog p{margin:8px 0 0;color:var(--txt-2);line-height:1.5}
.lg-fogsw{margin:10px 0 0}
.lg-cols{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.lg-cols .mp-col{width:40px;height:40px}
.lg-any{min-width:56px;height:40px;padding:0 12px;border-radius:20px;border:1px solid var(--line);background:var(--hud-2);color:var(--txt-2);font:600 13.5px var(--f-body);cursor:pointer}.lg-any.on{border-color:var(--gold);color:var(--lg-soft);background:var(--gold-wash)}
.lg-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.lg-stat{padding:12px 12px 10px;border-radius:12px;background:rgba(5,9,13,.5);border:1px solid rgba(255,255,255,.07);min-width:0}
.lg-stat b{display:block;font:700 26px/1.1 var(--f-display);color:#F2F5F8;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lg-stat[data-k=wins] b{color:var(--lg-soft)}
.lg-stat span{display:block;margin-top:3px;color:var(--txt-2);font-size:12.5px}
.lg-last{display:flex;align-items:flex-start;gap:10px;margin:14px 0 0;color:#C3CED8;font-size:14px;line-height:1.4}.lg-last .lg-i{color:var(--lg-soft);margin-top:1px}.lg-last b{display:block;color:var(--txt);font-weight:700}
/* inbox */
.lg-msgs{margin:0;padding:0;list-style:none;border-top:1px solid var(--line)}
.lg-msg{position:relative;display:flex;align-items:center;gap:14px;padding:14px 12px;border-bottom:1px solid var(--line)}
.lg-msg.new{background:linear-gradient(90deg,rgba(246,196,83,.08),transparent 70%)}
.lg-msgi{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.05);color:var(--txt-2)}
.lg-msg.new .lg-msgi{color:var(--lg-soft);background:var(--gold-wash)}
.lg-msgt{flex:1;min-width:0}.lg-msgt b{display:block;font:600 16px/1.25 var(--f-display);overflow-wrap:anywhere}.lg-msgt p{margin:3px 0 0;color:#C3CED8;font-size:14px;line-height:1.4;overflow-wrap:anywhere}.lg-msgt time{display:block;margin-top:4px;color:var(--txt-3);font-size:12.5px}
.lg-open{flex:none;min-height:44px;text-decoration:none}
.lg-new{position:absolute;left:4px;top:50%;width:6px;height:6px;margin-top:-3px;border-radius:50%;background:var(--gold)}
.lg-empty{display:flex;flex-direction:column;align-items:center;gap:6px;padding:36px 16px;text-align:center;border:1px dashed rgba(255,227,160,.3);border-radius:14px}.lg-empty .lg-i{width:32px;height:32px;color:var(--lg-soft)}.lg-empty b{font:600 18px var(--f-display)}.lg-empty p{margin:0;color:var(--txt-2);font-size:14px}
/* settings */
.lg-set{width:min(720px,100%)}
.lg-sws{display:grid;gap:8px}
.lg-sw{min-height:64px;padding:10px 14px}.lg-sw b{font-size:15px}.lg-sw small{font-size:13px}
.lg-set #lgClear{background:var(--red-wash);border-color:rgba(238,92,80,.6);color:#FFC7C1;box-shadow:none}
.lg-confirm{margin-top:12px;padding:14px 16px;border-radius:12px;border:1px solid rgba(238,92,80,.55);background:var(--red-wash)}.lg-confirm[hidden]{display:none}.lg-confirm b{display:block;font:600 16px var(--f-display)}.lg-confirm p{margin:4px 0 12px;color:#FFD9D4;font-size:14px}
/* ---------- one-accounts: sign in or create an account (signed out), who is signed in, delete with the password */
.lg-auth{margin-bottom:16px}
.lg-seg{display:grid;grid-template-columns:1fr 1fr;max-width:420px;margin-bottom:16px;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.lg-seg button{min-height:44px;border:0;background:transparent;color:var(--txt-2);font:600 14.5px var(--f-body);cursor:pointer}
.lg-seg button.on{background:var(--gold-wash);color:var(--lg-soft)}
.lg-seg button:focus-visible,.lg-show:focus-visible{outline:2px solid var(--gold);outline-offset:-2px}
.lg-authin{display:flex;flex-wrap:wrap;gap:18px 32px}
.lg-authf{flex:1 1 300px;max-width:420px;min-width:0}
.lg-authf .lg-fine{margin:6px 0 12px}.lg-authf .lg-fine:empty{display:none}
.lg-authf>.btn{width:100%;min-height:48px;margin-top:4px;font-size:15.5px}
.lg-pw{position:relative}.lg-pw .mp-in{padding-right:72px}
.lg-show{position:absolute;right:4px;top:4px;bottom:4px;min-width:60px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:var(--lg-soft);font:600 13.5px var(--f-body);cursor:pointer}
.lg-err{margin:0 0 10px;color:#FFC7C1;font-size:14px;line-height:1.4}.lg-err:empty{display:none}
.lg-authnote{flex:1 1 220px;min-width:0;align-self:center}
.lg-authnote p{display:flex;align-items:flex-start;gap:10px;margin:0 0 12px;color:#C3CED8;font-size:14px;line-height:1.45}.lg-authnote p:last-child{margin-bottom:0}
.lg-authnote .lg-i{flex:none;width:18px;height:18px;margin-top:1px;color:var(--lg-soft)}
.lg-flash{margin:-8px 0 16px;color:var(--lg-soft);font-size:14.5px}
.lg-who{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin:14px 0 0;color:var(--txt-2);font-size:15px}
.lg-who .lg-i{width:22px;height:22px;color:var(--lg-soft)}.lg-who b{color:var(--txt);font-weight:700;overflow-wrap:anywhere}.lg-who .btn{margin-left:auto;min-height:44px}
.lg-acc .lg-who+.lg-sub{margin-top:10px}
.lg-uname{margin:0;min-height:46px;display:flex;align-items:center;padding:0 12px;border-radius:10px;border:1px solid var(--line);background:rgba(5,9,13,.5);color:var(--txt);font:600 16px var(--f-body);overflow-wrap:anywhere}
.lg-colsay{color:#FFC7C1}.lg-colsay:empty{display:none}
.lg-delbox{margin-top:16px}
.lg-delbox .lg-confirm .mp-in{max-width:320px;margin-bottom:8px}
.lg-hide{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
/* loading */
.lg-wait{width:min(360px,100%);margin:12vh auto 0;text-align:center}.lg-waitm{display:inline-block;width:44px;height:44px;margin-bottom:8px}.lg-waitm .lg-mark{width:44px;height:44px;animation:lgSweep 2.4s linear infinite}
.lg-wait b{display:block;font:600 19px var(--f-display)}.lg-wait p{margin:4px 0 0;color:var(--txt-2);font-size:14px}
html.lg-calm .lg-waitm .lg-mark{animation:none}@media (prefers-reduced-motion:reduce){.lg-waitm .lg-mark{animation:none}}

/* ---------- the lobby's screens over the artwork: the name step as a card under the nav, the lobby below the nav */
body.lg-site .mp-lobby:not(.mp-hall){left:50%;right:auto;top:calc(var(--lg-nav) + 7vh);bottom:auto;transform:translateX(-50%);width:min(460px,calc(100vw - 32px));max-height:calc(100vh - var(--lg-nav) - 9vh);max-height:calc(100dvh - var(--lg-nav) - 9vh);border-radius:18px;border-width:1px}
body.lg-site .mp-lobby.mp-hall{top:calc(var(--lg-nav) + 16px);height:min(700px,calc(100vh - var(--lg-nav) - 32px));height:min(700px,calc(100dvh - var(--lg-nav) - 32px))}
body.lg-site .mp-gofr.mp-gfloat{top:calc(var(--lg-nav) + 14px);left:50%;transform:translateX(-50%);width:min(460px,calc(100vw - 32px))}
body.lg-site .mp-lobby.mp-offered:not(.mp-hall){top:calc(var(--lg-nav) + 136px);max-height:calc(100dvh - var(--lg-nav) - 150px)}
body.lg-site .mp-coach.starting{left:50%}

/* a tablet or an unfolded Fold: the Account page's boxes one under the other, so the record's tiles keep room for "1 h 40 min" */
@media (min-width:600px) and (max-width:899px) and (min-height:520px){ .lg-accgrid{grid-template-columns:1fr} }
@media (max-width:599px), (max-width:899px) and (max-height:519px){
  .lg-brand b{display:none}
  .lg-links a{padding:0 10px}
  body.lg-site .mp-lobby.mp-hall{top:var(--lg-nav);bottom:0;height:auto}
}
@media (max-width:599px), (max-width:640px) and (max-height:519px){
  :root{--lg-nav:calc(58px + env(safe-area-inset-top,0px))}
  .lg-nav{gap:4px;padding-left:max(8px,env(safe-area-inset-left,0px));padding-right:max(6px,env(safe-area-inset-right,0px))}
  .lg-links{flex:1;justify-content:flex-end;gap:0}
  .lg-links .lg-l-home{display:none}
  .lg-links a{flex-direction:column;justify-content:center;gap:2px;min-width:66px;min-height:50px;padding:0 6px;font-size:11.5px}
  .lg-links a[aria-current=page]::after{left:18px;right:18px;bottom:1px}
  .lg-dot{top:3px;left:auto;right:12px}
  .lg-page{padding:18px 14px calc(20px + env(safe-area-inset-bottom,0px))}
  .lg-hero{padding:0 2px 20vh}
  .lg-tag{font-size:14.5px;margin-bottom:10px}
  .lg-title{font-size:52px}
  .lg-lead{margin:16px 0 22px;font-size:16px}
  .lg-cta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .lg-cta .btn{min-height:50px;padding:0 6px;font-size:14.5px}
  .lg-cta .lg-play{grid-column:1/-1;min-height:56px;font-size:17px}
  .lg-facts{flex-direction:column;gap:8px;margin-top:24px;font-size:13.5px}
  .lg-scrim{background:linear-gradient(180deg,rgba(5,9,13,.8) 0%,rgba(5,9,13,.55) 55%,rgba(5,9,13,.2) 100%)}
  .lg-ridge{height:26vh}
  .lg-card{padding:20px 16px 22px;border-radius:16px}
  .lg-h1{font-size:28px}
  .lg-sub{font-size:14.5px;margin-bottom:18px}
  .lg-steps,.lg-accgrid{grid-template-columns:1fr}
  .lg-seg{max-width:none}.lg-authf{max-width:none}.lg-who .btn{margin-left:0}
  .lg-steps li{padding:14px 14px 14px 64px}.lg-stepi{left:14px;top:14px}
  .lg-box{padding:16px}
  .lg-fogs{grid-template-columns:1fr}
  .lg-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lg-msg{flex-wrap:wrap;padding:12px 8px 12px 10px}.lg-msgt{flex:1 1 calc(100% - 60px)}.lg-open{margin-left:54px}
  .lg-acts .btn{flex:1 1 100%}
  body.lg-site .mp-lobby:not(.mp-hall){left:10px;right:10px;top:calc(var(--lg-nav) + 12px);bottom:auto;transform:none;width:auto;max-height:calc(100dvh - var(--lg-nav) - 24px)}
  body.lg-site .mp-gofr.mp-gfloat{left:10px;right:10px;transform:none;width:auto;top:calc(var(--lg-nav) + 10px)}
  body.lg-site .mp-lobby.mp-offered:not(.mp-hall){top:calc(var(--lg-nav) + 128px);max-height:calc(100dvh - var(--lg-nav) - 140px)}
}

/* v12.4: what each panel is for */
.lg-pans{margin:16px 0 0}.lg-pans dl{margin:8px 0 0;display:grid;grid-template-columns:minmax(0,10em) minmax(0,1fr);gap:8px 16px}.lg-pans dt{font-weight:700;color:var(--txt)}.lg-pans dd{margin:0;color:var(--txt-2);line-height:1.5}
@media (max-width:599px){.lg-pans dl{grid-template-columns:1fr;gap:2px}.lg-pans dd{margin:0 0 8px}}

/* Daily War: the landing card, the Daily page, the streak on Account */
body[data-lg=home] .lg-page{align-items:flex-start}body[data-lg=home] .lg-hero{margin-top:auto;margin-bottom:auto}
.lg-daily{margin:0 0 28px;padding:16px 18px 16px;max-width:560px;border-radius:14px;background:var(--lg-panel);border:1px solid var(--lg-edge);border-left:3px solid var(--gold);box-shadow:0 18px 50px rgba(0,0,0,.45)}
.lg-dhead{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 14px}
.lg-dkick{display:inline-flex;align-items:center;gap:7px;margin:0;color:var(--gold);font:700 12px/1 var(--f-body);letter-spacing:.14em;text-transform:uppercase}.lg-dkick .lg-i{width:16px;height:16px}
.lg-dnext{color:var(--txt-2);font-size:13px;font-variant-numeric:tabular-nums}
.lg-dtitle{margin:8px 0 2px;font:700 26px/1.1 var(--f-display);color:#F2F5F8}
.lg-dsub{margin:0;color:#C3CED8;font-size:14.5px;line-height:1.45}
.lg-dstate{display:flex;flex-wrap:wrap;gap:4px 14px;margin:10px 0 0;font-weight:700;color:var(--txt)}.lg-dstate span{color:var(--lg-soft)}
.lg-dacts{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.lg-dacts .btn{min-height:46px;padding:0 18px;border-radius:11px;font-size:15px;text-decoration:none}
.lg-dsign{display:flex;align-items:center;gap:8px}.lg-dsign .lg-i{width:16px;height:16px;flex:none;color:var(--lg-soft)}
.lg-dpage .lg-box{margin-top:14px}.lg-dpage .lg-sub .lg-dnext{display:block;margin-top:4px}
.lg-dbig{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px;margin:0}.lg-dbig b{font:700 44px/1 var(--f-display);color:#F2F5F8;font-variant-numeric:tabular-nums}.lg-dbig span{color:#C3CED8;font-size:15px}
.lg-dsq{margin:10px 0 0;font:600 22px/1 var(--f-body);letter-spacing:.12em;color:var(--lg-soft)}
.lg-dparts{margin:12px 0 0;padding:0;list-style:none;max-width:420px}.lg-dparts li{display:flex;justify-content:space-between;gap:12px;padding:6px 0;border-bottom:1px solid var(--line);font-size:14px;color:#C3CED8}
.lg-dparts b{font-variant-numeric:tabular-nums;color:var(--txt)}.lg-dparts .tot{border-bottom:0;font-weight:700;color:var(--txt)}
.lg-dshare{margin:10px 0 0;padding:10px 12px;max-width:420px;border-radius:10px;background:rgba(5,9,13,.5);border:1px solid var(--line);color:var(--txt-2);font:500 13px/1.5 var(--f-body);white-space:pre-wrap;overflow-wrap:anywhere}
.lg-dgrid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:0 14px}
.lg-dboard{margin:10px 0 0;padding:0;list-style:none}
.lg-dboard li{display:grid;grid-template-columns:2.2em minmax(0,1fr) auto;grid-template-areas:'rk nm sc' 'rk how sc';align-items:center;gap:0 10px;padding:7px 8px;border-radius:9px}
.lg-dboard li:nth-child(odd){background:rgba(255,255,255,.03)}.lg-dboard li.me{background:var(--gold-wash);outline:1px solid rgba(255,227,160,.4)}.lg-dboard li.lg-gap{margin-top:8px}
.lg-rk{grid-area:rk;color:var(--txt-2);font-weight:700;font-variant-numeric:tabular-nums;text-align:right}
.lg-nm{grid-area:nm;display:flex;align-items:center;gap:5px;min-width:0}.lg-nm b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lg-nm .mp-acct{margin:0}
.lg-how{grid-area:how;color:var(--txt-2);font-size:12.5px}.lg-sc{grid-area:sc;font:700 17px var(--f-display);font-variant-numeric:tabular-nums}
.lg-dhow{margin-top:16px;max-width:660px}
.lg-dstreak{margin-top:16px}
@media (max-width:899px){.lg-dgrid{grid-template-columns:1fr}.lg-links .lg-l-home{display:none}} /* six links: Home is the brand's on a narrow window */
@media (max-width:599px), (max-width:640px) and (max-height:519px){
  .lg-links a{min-width:58px;padding:0 4px}
  .lg-daily{margin-bottom:18px;padding:14px 14px}
  .lg-dtitle{font-size:22px}
  .lg-dacts .btn{flex:1 1 auto}
  .lg-dbig b{font-size:38px}
  .lg-stats .lg-stat b{font-size:22px}
}
