.ladder-game{min-width:0;max-width:1000px;color:var(--light-text,#17233b);--background:var(--light-background,#fff);--foreground:var(--light-text,#17233b);margin:auto}.ladder-game *{box-sizing:border-box}.ladder-game button,.ladder-game select,.ladder-game input{touch-action:manipulation;min-height:48px;font-size:15px}.ladder-game button:disabled{opacity:.55;cursor:default}.ladder-game button:focus-visible{outline-offset:2px;outline:3px solid #315bff}.ladder-game input:focus-visible{outline-offset:2px;outline:3px solid #315bff}.ladder-game select:focus-visible{outline-offset:2px;outline:3px solid #315bff}.ladder-scroll:focus-visible{outline-offset:2px;outline:3px solid #315bff}.ladder-panel{border:1px solid var(--light-border,#dce2ec);background:var(--light-surface,#fff);border-radius:20px;max-width:700px;margin:auto;padding:clamp(18px,4vw,28px)}.ladder-panel h2{margin:0 0 24px;font-size:24px}.ladder-panel p{color:var(--light-muted,#53617a);line-height:1.6}.ladder-field{justify-content:space-between;align-items:center;gap:12px;font-weight:700;display:flex}.ladder-field select{background:var(--light-surface,#fff);min-width:95px;color:var(--light-text,#17233b);border:1px solid var(--light-input-border,#c8d2e3);border-radius:10px;padding:8px 16px}.ladder-game fieldset{border:0;margin:24px 0;padding:0}.ladder-game legend{margin-bottom:12px;font-weight:700}.ladder-mode-options,.ladder-actions{flex-wrap:wrap;gap:8px;display:flex}.ladder-mode-options button{white-space:nowrap;flex:1;padding:10px}.ladder-labels label{align-items:center;gap:12px;margin:10px 0;display:flex}.ladder-labels input{border:1px solid var(--light-input-border,#c8d2e3);min-width:0;color:var(--light-text,#17233b);background:var(--light-surface,white);border-radius:10px;flex:1;padding:10px}.ladder-wide{width:100%;margin-top:24px;padding:14px}.ladder-summary{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:12px 0;display:flex}.ladder-summary span,.ladder-hint{color:var(--light-muted,#53617a);font-size:14px}.ladder-hint{line-height:1.6}.ladder-scroll{border:1px solid var(--light-border,#dce2ec);background:var(--light-surface,#f7f9fd);overscroll-behavior-x:contain;scrollbar-color:var(--light-line,#aebbd2) var(--light-surface,#f7f9fd);border-radius:16px;width:100%;max-width:100%;padding:12px 0;overflow-x:auto}.ladder-surface{width:100%}.ladder-heads,.ladder-slots{width:100%;display:grid}.ladder-heads button{background:0 0;border:0;justify-content:center;align-items:center;min-width:0;padding:6px 2px;display:flex;position:relative}.ladder-heads button[aria-pressed=true]{background:#e0e8fa;border-radius:10px}.ladder-heads .participant-badge{border:0;min-width:0;padding:3px}.ladder-heads .participant-badge small{display:none}.ladder-check{color:var(--light-text,#17233b);font-size:12px;position:absolute;top:0;right:3px}.ladder-svg{width:100%;height:auto;max-height:none;display:block;overflow:visible}.ladder-line{stroke:var(--light-line,#a2afc4);stroke-width:2.5px;stroke-linecap:round}.ladder-slots>button{text-align:center;min-width:0;min-height:58px;color:var(--light-muted,#53617a);overflow-wrap:anywhere;padding:10px 5px;font-size:20px;font-weight:700}.ladder-slots .is-revealed{color:var(--light-text,#17233b);background:#e8efff;border-radius:10px;margin:2px;font-size:14px}.ladder-result{overflow-wrap:anywhere;text-align:center;background:#edf2ff;border-radius:16px;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;min-height:80px;margin:16px 0;padding:16px;display:flex}.ladder-result strong{max-width:100%;font-size:22px}.ladder-actions{justify-content:center}.ladder-actions button{padding:12px 16px}.ladder-reset{text-align:center;margin:18px 0}.ladder-reset button{padding:10px 22px}.ladder-final{margin-top:24px}.ladder-final ul{margin:0;padding:0;list-style:none}.ladder-final li{border-bottom:1px solid var(--light-border,#e0e6f0);justify-content:space-between;align-items:center;gap:14px;padding:12px 0;display:flex}.ladder-final li>strong{overflow-wrap:anywhere;text-align:right}.ladder-error{color:#b42338!important}.ladder-game .fullscreen-fallback{background:var(--light-background,#f5f7fb);padding:12px;overflow:auto}.ladder-game .fullscreen-stage:-webkit-full-screen{background:var(--light-background,#f5f7fb);padding:12px;overflow:auto}.ladder-game .fullscreen-stage:fullscreen{background:var(--light-background,#f5f7fb);padding:12px;overflow:auto}.ladder-game .fullscreen-toolbar{align-items:center;gap:10px}.ladder-game .fullscreen-toolbar h2{margin:0 auto 0 0;font-size:20px}.service-ladder .service-stage{overflow-wrap:anywhere}@media (max-width:480px){.ladder-mode-options button{padding:8px;font-size:13px}.ladder-result .participant-badge small,.ladder-final .participant-badge small{display:none}.ladder-panel h2{font-size:21px}}.ladder-visibility{justify-content:flex-end;margin:8px 0;display:flex}.ladder-visibility button{padding:10px 14px}.ladder-slots>button{touch-action:manipulation;background:0 0;border:0;border-radius:10px;line-height:1.5}.ladder-slots>button:disabled{opacity:1}.ladder-slots>button[aria-pressed=true]{outline-offset:-3px;outline:2px solid #315bff}.ladder-slots>button:not(:disabled):hover{background:#dce6ff}.ladder-custom-row{align-items:flex-start;gap:12px;margin:12px 0;display:flex}.ladder-custom-label{flex-shrink:0;padding-top:14px}.ladder-custom-control{flex:1;min-width:0}.ladder-custom-control>input{width:100%}.ladder-selected-result{align-items:center;gap:4px;min-height:48px;display:flex}.ladder-game .ladder-result-chip{color:#2447a3;overflow-wrap:anywhere;white-space:normal;text-align:left;background:#e6edff;border:1px solid #aebff1;border-radius:10px;max-width:100%;padding:10px 14px;font-weight:700}.ladder-game .ladder-chip-clear{min-width:44px;min-height:44px;color:var(--light-muted,#53617a);flex-shrink:0;font-size:23px}.ladder-result-suggestions{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.ladder-custom-help{font-size:14px;line-height:1.7!important}.ladder-game .ladder-result-chip:hover{background:#d5e0ff}.ladder-visibility{flex-wrap:wrap;gap:8px}.ladder-visibility .primary{min-width:88px}.ladder-group-numbers{flex-wrap:wrap;flex:1;gap:6px;min-width:0;display:flex}.ladder-group-numbers .participant-badge small{display:none}.ladder-final li>strong{flex-shrink:0;max-width:50%}.ladder-final{border:0;border-radius:12px;margin-top:14px;margin-bottom:14px;padding:16px}.ladder-final h2{margin-bottom:10px}.ladder-final li{border:0;gap:10px;min-height:34px;padding:7px 0}.ladder-group-numbers{align-items:center;gap:5px}.ladder-group-numbers .participant-badge{background:0 0;border:0;border-radius:0;flex-shrink:0;gap:0;padding:0}.ladder-group-numbers .participant-badge>strong{white-space:nowrap;max-width:none;font-size:15px;line-height:1.5;display:inline-block;box-shadow:none!important;border:0!important;padding:2px 7px!important}.ladder-final li{justify-content:flex-start;gap:var(--space-2);padding-block:var(--space-1)}.ladder-final .ladder-group-numbers{flex:0 auto}.ladder-final li>strong{text-align:left;flex:0 auto;min-width:0;max-width:none}.ladder-result-arrow{color:var(--text-muted,var(--light-muted,#53617a));flex:none}
