.le-howto{position:fixed;inset:0;z-index:850;display:grid;place-items:center;padding:16px;background:radial-gradient(ellipse at top,#25244eeF,#070b21f7);color:#fff5d9;font:500 16px/1.5 system-ui,sans-serif;box-sizing:border-box}
.le-howto[hidden],.le-howto [hidden],.le-howto-reminder[hidden]{display:none!important}
.le-howto-card{display:flex;flex-direction:column;width:min(560px,100%);max-height:calc(100dvh - 32px);overflow:hidden;border:1px solid #d5b75a70;border-radius:22px;padding:clamp(18px,4vw,32px);box-sizing:border-box;background:#101a32;box-shadow:0 20px 90px #0008}
.le-howto-layout{min-height:0;overflow:auto;overscroll-behavior:contain}
.le-howto-managed #intro{visibility:hidden!important;pointer-events:none!important}
.le-howto-card.le-howto-with-story{width:min(720px,100%)}
.le-howto-with-story .le-howto-layout{display:block}
.le-howto[data-view=instructions] .le-howto-story,.le-howto[data-view=story] .le-howto-with-story .le-howto-guide{display:none}
.le-howto-story{text-align:center}
.le-howto-story h2{font-size:25px;margin-bottom:12px}
.le-howto-story p{font-size:14px;line-height:1.5;color:#d9dfed;margin:8px 0}
.le-howto-photos{display:flex;align-items:end;justify-content:center;gap:10px;margin:12px 0}
.le-howto-photo{margin:0;min-width:0;flex:1}
.le-howto-photo img{display:block;width:100%;height:min(35dvh,300px);object-fit:contain;border-radius:16px}
.le-howto-photo:not(.le-howto-photo-child) img{height:min(24dvh,190px)}
.le-howto-photo figcaption{font-size:13px;font-weight:700;color:#f6d57f;margin-top:5px}
.le-howto-photo-missing{padding:30px 5px;border-radius:16px;background:linear-gradient(145deg,#34345b,#141e36)}
.le-howto-tabs{display:flex;flex-shrink:0;justify-content:flex-end;gap:6px;margin-bottom:18px}
.le-howto .le-howto-tabs button{padding:9px 16px;font-size:14px;color:#f6d57f;background:#ffffff0b;border:1px solid #f6d57f70}
.le-howto .le-howto-tabs button[aria-pressed=true]{display:none}
.le-howto-footer{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;gap:16px;padding-top:20px;margin-top:22px;border-top:1px solid #f6d57f25}
.le-howto-footer .le-howto-status{margin:0}
.le-howto-continue,.le-howto-rejoin{flex-shrink:0}
.le-howto-eyebrow{font-size:12px;letter-spacing:.15em;font-weight:800;color:#f6d57f}
.le-howto h2{font-size:clamp(23px,5vw,32px);line-height:1.2;margin:10px 0 20px}
.le-howto ol{padding-left:24px;margin:0;display:grid;gap:16px}.le-howto li{padding-left:5px}.le-howto li::marker{color:#ffda83;font-weight:900}
.le-howto details{font-size:14px;margin-top:20px;color:#c8d3e4}.le-howto details p{max-height:25vh;overflow:auto}.le-howto summary{cursor:pointer}.le-howto-status{font-size:14px;color:#f6d57f;margin:20px 0 10px}
.le-howto button{min-height:44px;border:0;border-radius:12px;padding:10px 30px;background:#f6d57f;color:#161a32;font-size:17px;font-weight:800;cursor:pointer}.le-howto button:disabled{opacity:.45;cursor:default}
.le-howto-reopen{position:fixed;right:12px;bottom:max(10px,env(safe-area-inset-bottom));z-index:46;padding:7px 12px;border:1px solid #f6d57f70;border-radius:18px;background:#101a32de;color:#fff5d9;font:600 12px system-ui;cursor:pointer}
.le-howto-reminder{position:fixed;right:12px;bottom:50px;z-index:46;max-width:min(380px,75vw);padding:12px 15px;border:1px solid #f6d57f70;border-radius:14px;background:#101a32ed;color:#fff5d9;font:500 14px/1.4 system-ui;pointer-events:none}
@media(max-height:600px){.le-howto{padding:8px}.le-howto-card{padding:14px 20px;max-height:calc(100dvh - 16px);width:min(680px,100%)}.le-howto h2{margin:6px 0 10px;font-size:22px}.le-howto ol{gap:8px;font-size:14px}.le-howto details{margin-top:10px}.le-howto-status{margin:10px 0 6px}}
@media(max-width:700px){.le-howto-with-story .le-howto-layout{display:block}.le-howto-tabs{display:flex}.le-howto[data-view=instructions] .le-howto-story,.le-howto[data-view=story] .le-howto-with-story .le-howto-guide{display:none}.le-howto-story{padding:0;border:0}.le-howto-story h2{font-size:23px}.le-howto-photo img{height:min(32dvh,260px)}.le-howto-photo:not(.le-howto-photo-child) img{height:min(22dvh,180px)}.le-howto-footer{flex-direction:column;align-items:stretch;text-align:center;gap:10px;padding-top:16px;margin-top:20px}.le-howto-footer .le-howto-status{font-size:13px}.le-howto h2{font-size:26px}.le-howto ol{gap:14px;font-size:15px}}
@media(max-width:700px) and (max-height:700px){.le-howto-card{padding:16px}.le-howto-tabs{margin-bottom:12px}.le-howto h2{font-size:22px;margin-bottom:12px}.le-howto ol{gap:10px;font-size:14px}.le-howto-story p{font-size:12px}.le-howto-photo img{height:24dvh}.le-howto-footer{margin-top:12px;padding-top:12px}}
@media(prefers-reduced-motion:reduce){.le-howto *{animation:none!important;transition:none!important}}

/* The Academy briefing keeps the exit and local sound controls in reach. Other rounds retain their layout. */
.le-howto-academy-open .lc-chrome{z-index:875}
.le-howto.le-howto-academy{padding:74px 16px 18px;background:radial-gradient(ellipse at 15% 0,#35605ee8,transparent 55%),radial-gradient(ellipse at 100% 100%,#6b493eb8,transparent 60%),#071b25f5}
.le-howto-academy .le-howto-card{width:min(760px,100%);max-height:calc(100dvh - 92px);padding:22px 26px;border-radius:16px;border-color:#c7c08b;background:linear-gradient(125deg,#183b3d,#112a31 65%,#1c2b36);box-shadow:0 20px 90px #0008,inset 0 0 0 5px #c7c08b0b}
.le-howto-academy .le-howto-layout{flex:1 1 auto}
.le-howto-academy h2{font-family:Georgia,serif;color:#fff1c8}
.le-howto-academy .le-howto-eyebrow,.le-howto-academy li::marker{color:#e3d396}
.le-howto-academy .le-howto-tabs{margin-bottom:14px}
.le-howto-academy .le-howto-tabs button{color:#efe2ae;border-color:#d9cf9d70}
.le-howto-academy .le-howto-footer{display:block;padding-top:14px;margin-top:16px;border-top:1px solid #e5d29c40}
.le-howto-academy-state{padding:13px 16px;border:1px solid #d8cf9a60;border-left:4px solid #dfcc83;border-radius:4px 10px 10px 4px;background:linear-gradient(110deg,#071f24e8,#0e282eaa);text-align:left}
.le-howto-board-label{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#dfcc83;font-size:10px;line-height:1.3;font-weight:800;letter-spacing:.12em}
.le-howto-board-label span{color:#a9c7c4;font-size:9px}
.le-howto-academy .le-howto-stage{margin:7px 0 5px;color:#fff2c8;font:700 19px/1.2 Georgia,serif}
.le-howto-academy .le-howto-status{margin:0;color:#f3ecd4;font-size:13px;line-height:1.4}
.le-howto-academy .le-howto-action{margin:7px 0 0;color:#bcd4d0;font-size:12px;line-height:1.4}
.le-howto-health{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 12px;padding-top:9px;margin-top:9px;border-top:1px solid #d8cf9a25;color:#9ecbbb;font-size:11px;line-height:1.3}
.le-howto-connection::before{content:'●';display:inline-block;margin-right:6px;color:#93dbb0;font-size:9px}
.le-howto-wait{font-variant-numeric:tabular-nums;color:#c6d4cd;white-space:nowrap}
.le-howto-academy-buttons{display:flex;justify-content:flex-end;gap:10px;margin-top:12px}
.le-howto-academy .le-howto-academy-buttons:has(button:not([hidden])){min-height:44px}
.le-howto-academy button.le-howto-continue,.le-howto-academy button.le-howto-rejoin{background:#ead293;color:#173136;box-shadow:0 2px 0 #a5a06d}
.le-howto-academy[data-state=reconnecting] .le-howto-academy-state,.le-howto-academy[data-state=recovery] .le-howto-academy-state{border-left-color:#ffbe8e}
.le-howto-academy[data-connection=connecting] .le-howto-connection,.le-howto-academy[data-connection=reconnecting] .le-howto-connection,.le-howto-academy[data-connection=offline] .le-howto-connection{color:#ffd1aa}
.le-howto-academy[data-connection=connecting] .le-howto-connection::before,.le-howto-academy[data-connection=reconnecting] .le-howto-connection::before,.le-howto-academy[data-connection=offline] .le-howto-connection::before{color:#ffbe8e}
@media(max-width:700px){.le-howto.le-howto-academy{padding:72px 10px 12px}.le-howto-academy .le-howto-card{padding:16px;max-height:calc(100dvh - 84px)}.le-howto-academy .le-howto-footer{margin-top:12px;padding-top:12px}.le-howto-academy-state{padding:11px 12px}.le-howto-academy .le-howto-stage{font-size:18px}.le-howto-academy-buttons{justify-content:stretch}.le-howto-academy-buttons button{width:100%}.le-howto-academy .le-howto-photo img{height:min(25dvh,230px)}}
@media(max-height:600px){.le-howto.le-howto-academy{padding-top:64px;padding-bottom:8px}.le-howto-academy .le-howto-card{max-height:calc(100dvh - 72px);padding:12px 18px}.le-howto-academy .le-howto-tabs{margin-bottom:8px}.le-howto-academy .le-howto-footer{margin-top:8px;padding-top:8px}.le-howto-academy-state{padding:8px 11px}.le-howto-board-label{display:none}.le-howto-academy .le-howto-stage{margin:0 0 4px;font-size:17px}.le-howto-academy .le-howto-status,.le-howto-academy .le-howto-action{font-size:11px}.le-howto-academy .le-howto-action{margin-top:4px}.le-howto-health{padding-top:5px;margin-top:5px;font-size:10px}.le-howto-academy-buttons{margin-top:8px}.le-howto-academy .le-howto-academy-buttons button{min-height:40px;padding:8px 20px;font-size:15px}}
