.leanludo {
    --ll-ink: #233e35;
    --ll-muted: #64736b;
    --ll-border: #dfe5dc;
    color: var(--ll-ink);
    font: 16px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #e1e3e6;
    border: 1px solid var(--ll-border);
    border-radius: 22px;
    max-width: 1120px;
    margin: 24px auto;
    overflow: hidden;
    text-align: left;
    isolation: isolate;
    container-type: inline-size;
    box-shadow: 0 14px 45px #243f3510;
}
.leanludo *, .leanludo *::before, .leanludo *::after { box-sizing: border-box; }
.leanludo h2, .leanludo p, .leanludo ol, .leanludo ul { margin: 0; padding: 0; color: inherit; }
.leanludo h2 { font: 750 clamp(24px, 3vw, 34px)/1.15 system-ui, sans-serif; letter-spacing: -.8px; margin: 12px 0 16px; overflow-wrap: anywhere; }
.leanludo p { font: inherit; color: var(--ll-muted); margin-bottom: 20px; }
.leanludo button, .leanludo input { font: inherit; text-transform: none; letter-spacing: normal; }
.leanludo button { cursor: pointer; margin: 0; min-height: 44px; border-radius: 12px; box-shadow: none; transition: background .15s, transform .15s; white-space: normal; }
.leanludo button::before, .leanludo button::after { content: none; }
.leanludo button:disabled { cursor: default; }
.leanludo button:focus-visible, .leanludo input:focus-visible, .leanludo summary:focus-visible { outline: 3px solid #0066ff; outline-offset: 4px; }
.leanludo [tabindex="-1"]:focus { outline: none; }
.leanludo .ll-header { display: flex; gap: 22px; align-items: center; padding: 24px 30px; border-bottom: 1px solid var(--ll-border); }
.leanludo .ll-brand { display: flex; align-items: center; gap: 12px; font-size: 24px; line-height: 1.1; font-weight: 800; letter-spacing: -.8px; }
.leanludo .ll-brand small { display: block; margin-top: 7px; font-size: 9px; letter-spacing: 2px; font-weight: 700; }
.leanludo .ll-brand-mark { display: grid; grid-template-columns: repeat(2, 12px); gap: 4px; transform: rotate(-8deg); }
.leanludo .ll-brand-mark i { width: 12px; height: 12px; background: #ed1c24; border-radius: 4px; }
.leanludo .ll-brand-mark i:nth-child(2) { background: #0066ff; }
.leanludo .ll-brand-mark i:nth-child(3) { background: #ffdf00; }
.leanludo .ll-brand-mark i:nth-child(4) { background: #00a651; }
.leanludo .ll-header-note { margin-left: auto; color: var(--ll-muted); font-size: 13px; }
.leanludo .ll-text-button { background: transparent; border: 1px solid #c7d4ca; color: var(--ll-ink); padding: 7px 14px; font-size: 13px; }
.leanludo .ll-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(295px, 1fr); align-items: start; }
.leanludo .ll-board-area { padding: 28px 24px 20px; min-width: 0; }
.leanludo .ll-board { display: block; width: 100%; height: auto; filter: drop-shadow(0 6px 5px #243f3512); }
.leanludo .ll-board text { font-family: system-ui, sans-serif; }
.leanludo .ll-yard-number { font-size: 25px; font-weight: 800; }
.leanludo .ll-yard-name { font-size: 12px; font-weight: 650; }
.leanludo .ll-cell-question { fill: #503009; font-size: 29px; font-weight: 800; }
.leanludo .ll-cell-danger { fill: #a32c36; font-size: 21px; font-weight: 850; }
.leanludo .ll-cell-start { font-size: 26px; font-weight: 800; }
.leanludo .ll-lane-arrow { font-size: 23px; font-weight: 800; }
.leanludo .ll-center-title { fill: #233e35; font-size: 18px; font-weight: 850; letter-spacing: -.6px; }
.leanludo .ll-center-goal { fill: #64736b; font-size: 10px; letter-spacing: 2px; font-weight: 700; }
.leanludo .ll-hazard-label { font-size: 12px; font-weight: 750; }
.leanludo .ll-token-number { font-weight: 800; }
.leanludo .ll-panel { min-width: 0; padding: 32px 26px; border-left: 1px solid var(--ll-border); background: #e1e3e6; align-self: stretch; }
.leanludo .ll-eyebrow { display: block; color: #5c7162; font-size: 10px; font-weight: 800; letter-spacing: 1.7px; overflow-wrap: anywhere; }
.leanludo .ll-intro-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 27px 0; }
.leanludo .ll-intro-facts span { font-size: 12px; background: #d4d8dd; padding: 6px 10px; border-radius: 6px; }
.leanludo .ll-button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #284d3d; color: #fff; border: 1px solid #284d3d; padding: 14px 18px; font-size: 15px; font-weight: 700; }
.leanludo .ll-button:hover { background: #1c3c2d; }
.leanludo .ll-button:disabled { opacity: .65; }
.leanludo .ll-button + .ll-button { margin-top: 10px; }
.leanludo .ll-button span { font-size: 22px; line-height: 1; }
.leanludo .ll-secondary { background: transparent; color: var(--ll-ink); border-color: #bccdc2; }
.leanludo .ll-secondary:hover, .leanludo .ll-text-button:hover { background: #eaf0e6; }
.leanludo .ll-fineprint { font-size: 12px; margin-top: 18px; }
.leanludo .ll-resume { margin: 24px 0 12px; padding: 16px; background: #d4d8dd; border-radius: 12px; }
.leanludo .ll-resume p { font-size: 13px; margin: 8px 0 12px; overflow-wrap: anywhere; }
.leanludo .ll-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin: 24px 0 16px; font-size: 11px; color: #526359; }
.leanludo .ll-legend span { display: flex; align-items: center; gap: 6px; }
.leanludo .ll-legend b { display: inline-flex; justify-content: center; align-items: center; width: 21px; height: 21px; border-radius: 5px; font-size: 14px; }
.leanludo .ll-legend-question { background: #ff8c00; color: #503009; }
.leanludo .ll-legend-hazard { background: #ed1c24; color: #fff; }
.leanludo .ll-legend-goal { background: #e4ece0; color: #284d3d; }
.leanludo .ll-status { text-align: center; font-size: 13px; min-height: 42px; overflow-wrap: anywhere; }
.leanludo .ll-footer { display: flex; gap: 20px; justify-content: space-between; align-items: start; border-top: 1px solid var(--ll-border); padding: 17px 30px; color: var(--ll-muted); font-size: 12px; }
.leanludo .ll-footer > span { white-space: nowrap; }
.leanludo summary { cursor: pointer; color: var(--ll-ink); font-weight: 650; min-height: 28px; }
.leanludo .ll-rules { max-width: 720px; padding-top: 14px; }
.leanludo .ll-rules p { font-size: 13px; margin-bottom: 12px; }
.leanludo .ll-warning { margin: 0; padding: 12px 26px; background: #fff1c9; color: #705114; font-size: 13px; }
.leanludo .ll-setup fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.leanludo .ll-setup legend { font-weight: 650; font-size: 13px; padding: 0; margin-bottom: 10px; }
.leanludo .ll-counts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.leanludo .ll-counts label { position: relative; margin: 0; }
.leanludo .ll-counts input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.leanludo .ll-counts span { display: flex; align-items: center; justify-content: center; min-height: 46px; border: 1px solid #cfd9ce; border-radius: 10px; font-weight: 700; }
.leanludo .ll-counts input:checked + span { background: #284d3d; color: #fff; border-color: #284d3d; }
.leanludo .ll-counts input:focus-visible + span { outline: 3px solid #0066ff; outline-offset: 3px; }
.leanludo .ll-names { display: grid; gap: 13px; margin-bottom: 24px; }
.leanludo .ll-name-label { display: block; margin: 0; font-size: 13px; }
.leanludo .ll-name-label > span { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; }
.leanludo .ll-name-label i { width: 10px; height: 10px; border-radius: 50%; }
.leanludo .ll-name-label input { display: block; width: 100%; height: 45px; min-width: 0; background: #e9eaec; border: 1px solid #bccdc2; border-radius: 8px; color: var(--ll-ink); padding: 9px 11px; box-shadow: none; }
.leanludo .ll-dice { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 6px; width: 90px; height: 90px; padding: 15px; margin: 22px auto; border: 1px solid #d6ded1; border-radius: 19px; background: #e9eaec; box-shadow: 0 6px 0 #e0e5da, 0 10px 20px #243f3510; }
.leanludo .ll-dice span { border-radius: 50%; }
.leanludo .ll-pip { background: #284d3d; }
.leanludo .ll-dice b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 38px; color: #cad4c6; }
.leanludo .ll-dice-rolled { animation: ll-dice-roll .4s ease-out; }
@keyframes ll-dice-roll { 0% { transform: rotate(-15deg) scale(.92); } 45% { transform: rotate(9deg); } 100% { transform: rotate(0); } }
.leanludo .ll-players { list-style: none; display: grid; gap: 8px; margin: 23px 0 0; }
.leanludo .ll-players li { display: flex; gap: 10px; align-items: center; padding: 11px 10px; border: 1px solid transparent; border-radius: 10px; margin: 0; background: #d4d8dd; }
.leanludo .ll-players li.ll-active { border-color: #9bae9d; background: #edf2e7; }
.leanludo .ll-player-dot { flex: 0 0 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--player-color); color: #fff; font-size: 12px; font-weight: 800; text-shadow: 0 1px 3px #0009; }
.leanludo .ll-player-info { flex: 1; min-width: 0; }
.leanludo .ll-player-info strong { display: block; font-size: 14px; overflow-wrap: anywhere; }
.leanludo .ll-player-info small { display: block; font-size: 11px; color: var(--ll-muted); }
.leanludo .ll-remaining { font-size: 20px; line-height: 1.1; text-align: right; }
.leanludo .ll-remaining small { display: block; margin-top: 4px; font-size: 9px; color: var(--ll-muted); }
.leanludo .ll-start-results { list-style: none; margin-top: 23px; }
.leanludo .ll-start-results li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; margin: 0; border-bottom: 1px solid var(--ll-border); font-size: 13px; overflow-wrap: anywhere; }
.leanludo .ll-question-title { font-size: 25px; line-height: 1.25; letter-spacing: -.5px; }
.leanludo .ll-question-repeat { font-size: 14px; }
.leanludo .ll-bank-note { font-size: 12px; border-left: 3px solid #ff8c00; padding-left: 10px; }
.leanludo .ll-answers { display: grid; gap: 10px; }
.leanludo .ll-answer { display: flex; gap: 10px; align-items: center; text-align: left; width: 100%; padding: 12px; background: #e9eaec; border: 1px solid #ccd6ca; color: var(--ll-ink); font-size: 14px; line-height: 1.4; }
.leanludo .ll-answer:not(:disabled):hover { background: #f0f4e9; border-color: #809c87; }
.leanludo .ll-letter { flex: 0 0 27px; height: 27px; display: grid; place-items: center; border-radius: 7px; background: #d4d8dd; font-size: 12px; font-weight: 750; }
.leanludo .ll-answer:disabled { opacity: 1; }
.leanludo .ll-answer small { display: block; margin-top: 4px; font-weight: 700; }
.leanludo .ll-correct { border-color: #398065; background: #eaf5ea; }
.leanludo .ll-incorrect { border-color: #ba5656; background: #fbefec; }
.leanludo .ll-explanation { margin: 18px 0; padding: 15px; background: #eff3e9; border-radius: 10px; font-size: 13px; }
.leanludo .ll-explanation p { margin: 8px 0 12px; }
.leanludo .ll-explanation b { color: #284d3d; }
.leanludo .ll-trophy { color: #d5a020; font-size: 66px; line-height: 1.4; }
@container (max-width: 900px) {
    .leanludo .ll-header { padding: 20px; gap: 12px; }
    .leanludo .ll-header-note { display: none; }
    .leanludo .ll-text-button { margin-left: auto; }
    .leanludo .ll-layout { grid-template-columns: minmax(0, 1.4fr) minmax(220px, 1fr); }
    .leanludo .ll-board-area { padding: 16px 12px; }
    .leanludo .ll-panel { padding: 20px 16px; }
    .leanludo .ll-players { grid-template-columns: minmax(0, 1fr); }
    .leanludo .ll-footer { padding: 16px 20px; }
}
@container (max-width: 580px) {
    .leanludo .ll-layout { grid-template-columns: minmax(0, 1fr); }
    .leanludo .ll-header-note { display: none; }
    .leanludo .ll-text-button { margin-left: auto; }
    .leanludo .ll-panel { border-left: 0; border-top: 1px solid var(--ll-border); }
}
@media (prefers-reduced-motion: reduce) {
    .leanludo *, .leanludo *::before, .leanludo *::after { animation: none !important; transition: none !important; }
}

.leanludo .ll-hazard-inside { fill: #fff; font-size: 7.4px; font-weight: 800; letter-spacing: -.1px; }
.leanludo .ll-hazard-notice { padding: 15px; margin-bottom: 22px; background: #fff0f0; border: 2px solid #ed1c24; border-radius: 12px; color: #931019; }
.leanludo .ll-hazard-notice strong { display: block; font-size: 17px; }
.leanludo .ll-hazard-notice p { color: #72131b; margin: 9px 0 0; font-size: 14px; }

.leanludo .ll-home-label { font-size: 14px; font-weight: 800; letter-spacing: 2px; }
.leanludo .ll-motion-count { font-weight: 700; font-size: 20px; color: #233e35; }
.leanludo .ll-footer { flex-wrap: wrap; }
