:root {
  --ink: #151816; --coal: #111312; --panel: #1a1d1b; --panel-2: #202421; --line: #343a35;
  --cream: #f1e6cf; --muted: #a8aea8; --red: #ba3b3f; --red-bright: #df555a;
  --green: #29815c; --green-bright: #35a776; --gold: #d2ae6d;
}

.app-shell { min-height: 100vh; background: radial-gradient(circle at 15% 0%, #242a25 0, transparent 34rem), var(--coal); color: var(--cream); }
.topbar { min-height: 82px; padding: 14px clamp(18px, 4vw, 64px); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: rgba(17,19,18,.88); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 20; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #566158; border-radius: 50%; color: var(--red-bright); font-size: 30px; line-height: 1; }
.brand p, .eyebrow { margin: 0 0 3px; font-size: 10px; letter-spacing: .2em; color: var(--gold); font-weight: 800; }
.brand h1 { margin: 0; font-size: clamp(16px, 2vw, 22px); letter-spacing: .04em; }
.topbar-controls { display: flex; align-items: center; gap: 10px; }
.view-tabs { display: flex; padding: 4px; background: #0c0e0d; border: 1px solid var(--line); border-radius: 12px; }
.view-tabs button { min-width: 92px; padding: 9px 16px; color: var(--muted); background: transparent; border: 0; border-radius: 8px; font-weight: 700; }
.view-tabs button.active { background: var(--cream); color: var(--ink); }
.language-switcher { min-width: 116px; display: grid; gap: 3px; color: var(--muted); font-size: 9px; font-weight: 800; }
.language-switcher select { min-height: 38px; padding: 7px 28px 7px 9px; border-radius: 10px; color: var(--cream); background: #0c0e0d; font-size: 12px; font-weight: 800; }

.practice-layout { width: min(1440px, 100%); margin: 0 auto; padding: clamp(20px, 3vw, 44px); display: grid; grid-template-columns: minmax(460px, 1.05fr) minmax(380px, .95fr); gap: clamp(22px, 3vw, 44px); align-items: start; }
.board-panel { position: sticky; top: 116px; }
.card-title-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; }
.card-title-row h2, .editor-intro h2 { margin: 0; font-size: clamp(20px, 2vw, 29px); }
.darts-left, .round-start { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.board-shell { width: min(100%, 680px); margin: 12px auto 6px; position: relative; aspect-ratio: 1; }
.dartboard { width: 100%; height: 100%; filter: drop-shadow(0 22px 32px rgba(0,0,0,.45)); }
.board-bezel { fill: #090a09; stroke: #444a45; stroke-width: 3; }
.board-number-ring { fill: #171a18; stroke: #090a09; stroke-width: 1; }
.board-number { fill: #eee8dd; font-size: 20px; font-weight: 800; text-anchor: middle; dominant-baseline: middle; pointer-events: none; }
.board-segment { stroke: #292e2a; stroke-width: 1.2; transition: filter .12s ease, opacity .12s ease; outline: none; }
.board-segment:hover, .board-segment:focus-visible { filter: brightness(1.45); stroke: #fff; stroke-width: 2; }
.single-cream { fill: #e9dec9; } .single-black { fill: #151715; }
.ring-red, .inner-bull { fill: #b83c40; } .ring-green, .outer-bull { fill: #277b57; }
.board-disabled { position: absolute; inset: 36%; display: grid; place-items: center; text-align: center; border-radius: 50%; color: #fff; background: rgba(11,13,12,.84); border: 1px solid #4b534c; font-size: 13px; font-weight: 800; pointer-events: none; }
.board-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: stretch; }
.board-actions button { min-width: 0; padding: 9px 8px; white-space: nowrap; font-size: 12px; }

.score-panel { display: grid; gap: 16px; }
.score-card, .throws-card, .arrange-card, .history-card { border: 1px solid var(--line); background: linear-gradient(145deg, rgba(32,36,33,.98), rgba(24,27,25,.98)); border-radius: 20px; box-shadow: 0 14px 30px rgba(0,0,0,.18); }
.score-card { padding: clamp(20px, 3vw, 30px); }
.score-card-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 13px; font-weight: 700; }
.status-dot { color: #807d76; font-size: 10px; letter-spacing: .15em; }
.status-dot.live { color: var(--green-bright); }
.status-dot.live::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.score-number { margin: 2px 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(78px, 11vw, 126px); line-height: .94; letter-spacing: -.05em; color: #fff8ea; }
.mobile-round-start { display: none; }
.score-setup { display: grid; grid-template-columns: auto 92px 1fr; gap: 10px; align-items: center; }
.score-setup label { color: var(--muted); font-size: 12px; }
.start-controls { display: grid; gap: 10px; }
.start-panel { margin-bottom: 18px; }
.score-setup label { display: grid; gap: 2px; }
.score-setup label small { color: var(--muted); font-size: 9px; font-weight: 600; }
.random-setup { padding: 11px; display: grid; grid-template-columns: auto 76px auto 76px 1fr; gap: 8px; align-items: end; border: 1px solid #3e463f; border-radius: 12px; background: #151816; }
.random-label { align-self: center; color: var(--gold); font-size: 11px; font-weight: 900; }
.random-setup label { display: grid; gap: 4px; color: var(--muted); font-size: 9px; font-weight: 800; }
.random-setup input { padding: 8px; }
.range-separator { align-self: center; color: var(--muted); }
.random-button { min-height: 36px; border: 1px solid var(--gold); border-radius: 9px; background: rgba(210,174,109,.1); color: var(--cream); font-weight: 900; }
.random-button:hover { background: var(--gold); color: var(--ink); }
.rule-settings { margin-top: 12px; padding: 12px; display: grid; grid-template-columns: 1.2fr .9fr; gap: 10px; border: 1px solid #3e463f; border-radius: 12px; background: #151816; }
.rule-group { display: grid; gap: 6px; }
.rule-group > span { color: var(--gold); font-size: 10px; font-weight: 900; }
.rule-options { display: flex; padding: 3px; border: 1px solid #3c433e; border-radius: 9px; background: #0d100e; }
.rule-options button { min-height: 34px; flex: 1; padding: 6px 8px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font-size: 11px; font-weight: 800; }
.rule-options button.active { background: var(--cream); color: var(--ink); }
.rule-options button:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.rule-settings > small { grid-column: 1 / -1; color: var(--muted); font-size: 10px; }
input, select, textarea { width: 100%; border: 1px solid #444b45; background: #111412; color: var(--cream); border-radius: 9px; padding: 10px 12px; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(210,174,109,.12); }
.primary-button, .next-round-button { border: 0; border-radius: 10px; padding: 11px 17px; background: var(--red); color: white; font-weight: 800; box-shadow: 0 8px 16px rgba(120,25,30,.24); }
.primary-button:hover, .next-round-button:hover { background: var(--red-bright); }
.secondary-button { border: 1px solid #4b534d; border-radius: 9px; padding: 9px 15px; background: transparent; color: var(--cream); font-weight: 700; }
.secondary-button:hover { border-color: var(--cream); }
button:disabled { cursor: not-allowed; opacity: .35; }
.game-message { min-height: 24px; margin: 15px 0 0; padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.game-message.checkout { color: var(--green-bright); font-weight: 800; }

.throws-card, .arrange-card, .history-card { padding: 21px; }
.throw-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 17px 0 12px; }
.throw-slot { min-height: 92px; padding: 11px; display: flex; flex-direction: column; justify-content: space-between; border: 1px dashed #464d47; border-radius: 12px; background: #151816; color: #737a74; }
.throw-slot span { font-size: 10px; font-weight: 800; } .throw-slot strong { font-size: 23px; color: inherit; } .throw-slot small { font-size: 10px; }
.throw-slot.filled { border-style: solid; border-color: #657067; color: var(--cream); background: #252a26; }
.throw-slot.bust { border-color: var(--red); color: #ff8f92; }
.next-round-button { width: 100%; background: var(--green); box-shadow: 0 8px 16px rgba(25,85,58,.2); } .next-round-button:hover { background: var(--green-bright); }
.candidate-list { display: grid; gap: 9px; margin-top: 16px; }
.candidate { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 14px; border: 1px solid #3a413b; border-radius: 13px; background: #151816; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.candidate:focus-visible { outline: 3px solid rgba(62, 147, 223, .3); outline-offset: 2px; }
.candidate.selected { border-color: #2474cf; box-shadow: 0 0 0 3px rgba(36, 116, 207, .14); }
.candidate-rank { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); color: var(--ink); font-family: Georgia, serif; font-weight: 900; }
.candidate-body strong { display: block; margin: 4px 0; color: #fff8e9; font-size: clamp(17px, 2vw, 21px); letter-spacing: .02em; }
.candidate-body p { margin: 0; color: var(--muted); font-size: 12px; }
.candidate-meta { display: flex; gap: 7px; align-items: center; color: var(--gold); font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.custom-chip { padding: 2px 6px; border-radius: 4px; color: var(--green-bright); background: rgba(53,167,118,.12); }
.empty-candidate { padding: 24px; border: 1px dashed var(--line); border-radius: 12px; text-align: center; color: var(--muted); }
.empty-candidate.success { color: var(--green-bright); font-weight: 900; }
.candidate-help { margin: 10px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.text-button { margin-top: 12px; padding: 8px 0; border: 0; background: transparent; color: var(--gold); font-weight: 800; } .text-button:hover { color: var(--cream); }
.ad-placement { min-height: 116px; padding: 12px; display: grid; gap: 7px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.ad-placement > span { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.ad-slot { min-height: 78px; display: grid; place-items: center; border: 1px dashed var(--line); border-radius: 11px; color: var(--muted); background: var(--panel-2); font-size: 10px; }
.history-card h2 { margin: 0; font-size: 18px; } .history-card .card-title-row > span { color: var(--muted); font-size: 11px; }
.history-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.history-row:first-of-type { margin-top: 10px; } .history-row strong { color: var(--cream); }

.editor-page { width: min(1180px, 100%); margin: 0 auto; padding: clamp(26px, 5vw, 64px); }
.editor-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.editor-intro h2 { font-size: clamp(27px, 4vw, 44px); }
.editor-intro p { max-width: 680px; color: var(--muted); line-height: 1.8; }
.editor-intro .data-source-status { width: fit-content; margin: 8px 0 0; padding: 5px 9px; border: 1px solid rgba(53,167,118,.4); border-radius: 999px; color: var(--green-bright); background: rgba(53,167,118,.08); font-size: 10px; font-weight: 800; line-height: 1.2; }
.editor-intro .data-source-status.warning { border-color: rgba(223,85,90,.45); color: #ff9ca0; background: rgba(223,85,90,.08); }
.editor-tools { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.editor-filter { margin: 28px 0 18px; padding: 16px; display: grid; grid-template-columns: 190px 150px 130px 1fr; gap: 14px; align-items: end; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.editor-filter label, .editor-card > label { display: grid; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 800; }
.editor-filter .text-button { justify-self: end; } .text-button.danger { color: #ef7c80; }
.editor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.arrangement-table-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.arrangement-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.arrangement-table th { padding: 12px; text-align: left; color: var(--gold); background: #111412; font-size: 10px; letter-spacing: .08em; }
.arrangement-table th:nth-child(1) { width: 70px; } .arrangement-table th:nth-child(2) { width: 115px; } .arrangement-table th:nth-child(3) { width: 25%; }
.arrangement-table td { padding: 13px 12px; border-top: 1px solid var(--line); vertical-align: middle; }
.arrangement-table textarea { min-height: 64px; resize: vertical; }
.table-standard { display: grid; gap: 5px; } .table-standard strong { color: #fff8e9; font-size: 17px; } .table-standard small { color: var(--muted); line-height: 1.45; }
.table-toggle b { min-width: 28px; color: var(--muted); font-size: 10px; }
.editor-card { padding: 19px; border: 1px solid var(--line); border-radius: 17px; background: linear-gradient(150deg, var(--panel-2), var(--panel)); display: grid; gap: 16px; }
.editor-card-head, .editor-card-head > div { display: flex; justify-content: space-between; align-items: center; gap: 9px; }
.toggle { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle span { width: 32px; height: 18px; padding: 2px; border-radius: 99px; background: #4a504b; }
.toggle span::after { content: ""; display: block; width: 14px; height: 14px; border-radius: 50%; background: white; transition: transform .2s; }
.toggle input:checked + span { background: var(--green); } .toggle input:checked + span::after { transform: translateX(14px); }
.standard-route { padding: 12px; display: grid; gap: 4px; border-radius: 10px; background: #111412; }
.standard-route span { color: var(--gold); font-size: 9px; font-weight: 900; letter-spacing: .1em; } .standard-route strong { font-size: 17px; } .standard-route small { color: var(--muted); }
.editor-card textarea { resize: vertical; }
.editor-footer { display: flex; align-items: center; gap: 18px; margin-top: 20px; } .editor-footer p { color: var(--muted); font-size: 12px; }
footer { padding: 24px; border-top: 1px solid var(--line); display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px 16px; text-align: center; color: #747b75; font-size: 11px; }
footer a { padding: 6px 10px; border: 1px solid #3e463f; border-radius: 999px; color: var(--gold); text-decoration: none; }
footer a:hover { border-color: var(--gold); color: var(--cream); }
footer small { font-size: inherit; }

.calculator-page { width: min(620px, 100%); margin: 0 auto; padding: clamp(14px, 3vw, 38px); }
.calculator-card, .calculator-history { border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, #202421, #171a18); box-shadow: 0 18px 40px rgba(0,0,0,.28); overflow: hidden; }
.calculator-head { padding: 17px 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: #121513; }
.calculator-head > div { display: flex; align-items: baseline; gap: 10px; }
.calculator-head span, .calculator-round-score span { color: var(--gold); font-size: 10px; font-weight: 900; letter-spacing: .13em; }
.calculator-head strong { color: var(--cream); font-family: Georgia, serif; font-size: 28px; }
.calculator-head .calculator-total strong { color: white; font-size: 38px; }
.calculator-round-score { padding: 14px 20px 5px; display: flex; align-items: baseline; justify-content: space-between; }
.calculator-round-score strong { color: #fff8ea; font-family: Georgia, serif; font-size: 64px; line-height: 1; }
.calculator-throws { padding: 10px 14px 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.calculator-throws > div { min-height: 78px; padding: 9px; display: grid; gap: 2px; border: 1px dashed #485049; border-radius: 12px; color: #747b75; background: #131614; }
.calculator-throws > div.filled { border-style: solid; border-color: #626d64; color: var(--cream); background: #252a26; }
.calculator-throws span, .calculator-throws small { font-size: 9px; font-weight: 800; }
.calculator-throws strong { font-size: 22px; }
.manual-row { padding: 11px 14px; display: grid; grid-template-columns: 1fr 110px; gap: 7px; border-block: 1px solid var(--line); background: #121513; }
.manual-row label { grid-column: 1 / -1; color: var(--muted); font-size: 10px; font-weight: 800; }
.manual-row input { min-height: 48px; font-size: 20px; font-weight: 800; }
.manual-row button { border: 0; border-radius: 9px; background: var(--cream); color: var(--ink); font-weight: 900; }
.multiplier-row { padding: 12px 14px 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.multiplier-row button { min-height: 51px; border: 1px solid #4a524c; border-radius: 10px; color: white; background: #272c28; font-size: 14px; font-weight: 900; }
.multiplier-row button span { margin-left: 7px; opacity: .7; font-size: 10px; }
.multiplier-row .triple.active { border-color: var(--green-bright); background: var(--green); box-shadow: 0 0 0 2px rgba(53,167,118,.2); }
.multiplier-row .double.active { border-color: var(--red-bright); background: var(--red); box-shadow: 0 0 0 2px rgba(223,85,90,.2); }
.number-grid { padding: 0 14px 10px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.number-grid button { min-height: 55px; border: 1px solid #434a44; border-radius: 10px; background: #f1e6cf; color: #151816; font-family: Georgia, serif; font-size: 23px; font-weight: 900; box-shadow: inset 0 -3px rgba(0,0,0,.12); }
.number-grid button:active, .bull-row button:active { transform: translateY(1px); box-shadow: none; }
.bull-row, .calculator-actions { padding: 0 14px 9px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.bull-row button { min-height: 47px; border: 1px solid #48a47b; border-radius: 10px; background: #1f664a; color: white; font-size: 15px; font-weight: 900; }
.bull-row button:last-child { border-color: #d76367; background: #913137; }
.calculator-actions button { min-height: 43px; border: 1px solid #515a53; border-radius: 9px; background: transparent; color: var(--cream); font-weight: 800; }
.confirm-round { width: calc(100% - 28px); min-height: 53px; margin: 2px 14px 8px; border: 0; border-radius: 11px; background: var(--green); color: white; font-size: 15px; font-weight: 900; }
.reset-calculator { width: 100%; padding: 10px; border: 0; color: #858c86; background: transparent; font-size: 11px; }
.calculator-history { margin-top: 13px; padding: 16px; }
.calculator-history h2 { margin: 0 0 8px; font-size: 16px; }
.calculator-history > div { padding: 9px 0; display: grid; grid-template-columns: 78px 1fr auto; gap: 9px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.calculator-history strong { color: var(--cream); }

@media (max-width: 980px) {
  .topbar { min-height: 52px; padding: 8px 10px; position: static; align-items: center; gap: 8px; }
  .brand { min-width: 0; gap: 8px; } .brand-mark { width: 32px; height: 32px; flex: 0 0 auto; font-size: 23px; } .brand p { display: none; } .brand h1 { overflow: hidden; font-size: clamp(13px, 2vw, 16px); white-space: nowrap; text-overflow: ellipsis; }
  .topbar-controls { margin-left: auto; gap: 5px; }
  .view-tabs { width: auto; } .view-tabs button { min-width: 0; padding: 7px 10px; flex: 0 1 auto; font-size: 11px; }
  .language-switcher { min-width: 76px; }
  .language-switcher > span { display: none; }
  .language-switcher select { min-height: 35px; padding: 6px 22px 6px 7px; font-size: 10px; }
  .practice-layout { width: min(720px, 100%); padding: 10px; grid-template-columns: 1fr; row-gap: 10px; } .board-panel { position: static; } .editor-grid { grid-template-columns: 1fr; }
  .score-panel, .score-card { display: contents; }
  .start-panel, .current-score-block { padding: 12px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(32,36,33,.98), rgba(24,27,25,.98)); border-radius: 16px; box-shadow: 0 14px 30px rgba(0,0,0,.18); }
  .start-panel { grid-column: 1; grid-row: 1; margin-bottom: 0; }
  .current-score-block { grid-column: 1; grid-row: 2; }
  .board-panel { grid-column: 1; grid-row: 3; }
  .throws-card { grid-column: 1; grid-row: 4; }
  .arrange-card { grid-column: 1; grid-row: 5; }
  .ad-placement { grid-column: 1; grid-row: 6; }
  .history-card { grid-column: 1; grid-row: 7; }
  .score-value-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
  .mobile-round-start { min-width: 86px; margin-bottom: 7px; padding: 8px 10px; display: grid; gap: 2px; border: 1px solid #4b534d; border-radius: 11px; background: #151816; text-align: right; }
  .mobile-round-start span { color: var(--muted); font-size: 9px; font-weight: 800; }
  .mobile-round-start strong { color: var(--cream); font-family: Georgia, "Times New Roman", serif; font-size: 23px; line-height: 1; }
  .board-shell { width: min(calc(100% + 8px), 47dvh); margin: 3px auto 2px; } .board-number { font-size: 23px; }
  .score-number { margin-bottom: 0; font-size: 78px; }
  .throws-card { padding: 9px; border-radius: 14px; } .throws-card .card-title-row { display: none; }
  .throw-slots { gap: 6px; margin: 0; } .throw-slot { min-height: 58px; padding: 6px 8px; border-radius: 9px; } .throw-slot span, .throw-slot small { font-size: 9px; } .throw-slot strong { font-size: 18px; line-height: 1; }
  .arrange-card, .history-card { padding: 16px; }
  .board-actions { gap: 5px; }
  .board-actions button { min-height: 38px; padding: 7px 2px; font-size: clamp(10px, 1.7vw, 12px); }
}
@media (max-width: 620px) {
  .topbar { flex-wrap: wrap; }
  .brand { max-width: calc(100% - 84px); }
  .topbar-controls { width: 100%; margin-left: 0; justify-content: space-between; }
  .view-tabs { flex: 1; }
  .view-tabs button { flex: 1; padding-inline: 5px; }
  .calculator-page { padding: 8px; }
  .calculator-card { border-radius: 15px; }
  .calculator-head { padding: 9px 13px; }
  .calculator-head strong { font-size: 23px; } .calculator-head .calculator-total strong { font-size: 31px; }
  .calculator-round-score { padding: 7px 14px 2px; } .calculator-round-score strong { font-size: 47px; }
  .calculator-throws { padding: 6px 8px 8px; gap: 5px; } .calculator-throws > div { min-height: 59px; padding: 6px; } .calculator-throws strong { font-size: 17px; }
  .manual-row { padding: 7px 8px; } .manual-row input { min-height: 42px; }
  .multiplier-row { padding: 7px 8px 5px; } .multiplier-row button { min-height: 43px; }
  .number-grid { padding: 0 8px 6px; gap: 5px; } .number-grid button { min-height: 46px; font-size: 20px; }
  .bull-row, .calculator-actions { padding: 0 8px 6px; gap: 5px; }
  .bull-row button { min-height: 40px; } .calculator-actions button { min-height: 37px; }
  .confirm-round { width: calc(100% - 16px); min-height: 46px; margin: 1px 8px 5px; }
  .score-setup { grid-template-columns: 1fr 82px; } .score-setup .primary-button { grid-column: 1 / -1; }
  .random-setup { grid-template-columns: 1fr auto 1fr; } .random-label, .random-button { grid-column: 1 / -1; } .random-button { width: 100%; }
  .rule-settings { grid-template-columns: 1fr; } .rule-settings > small { grid-column: auto; }
  .editor-page { padding: 24px 16px; } .editor-intro { align-items: stretch; flex-direction: column; } .editor-tools { justify-content: flex-start; }
  .editor-filter { grid-template-columns: 1fr 1fr; } .editor-filter .text-button { grid-column: 1 / -1; justify-self: start; }
  .editor-footer { align-items: flex-start; flex-direction: column; }
  .arrangement-table-wrap { overflow: visible; border: 0; background: transparent; }
  .arrangement-table, .arrangement-table tbody { display: block; }
  .arrangement-table thead { display: none; }
  .arrangement-table tr { margin-bottom: 14px; padding: 12px; display: grid; gap: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
  .arrangement-table td { padding: 0; display: grid; grid-template-columns: 92px 1fr; gap: 8px; align-items: center; border: 0; }
  .arrangement-table td::before { content: attr(data-label); color: var(--gold); font-size: 10px; font-weight: 900; }
}

/* 202ch quick-search visual system: light panels, blue/aqua accents. */
:root {
  --ink: #142b38;
  --coal: #f4f9fb;
  --panel: #ffffff;
  --panel-2: #eef9fb;
  --line: #d6e6ea;
  --cream: #142b38;
  --muted: #607784;
  --red: #ef5b70;
  --red-bright: #dc3f59;
  --green: #2aa879;
  --green-bright: #13835f;
  --gold: #2270c9;
}

.app-shell {
  background: radial-gradient(circle at 50% 0%, #dbeafe 0, #f7fbfc 34rem);
  color: var(--ink);
}
.topbar {
  background: rgba(255, 255, 255, .94);
  border-color: #dbe7eb;
  box-shadow: 0 6px 24px rgba(32, 83, 110, .06);
}
.brand { color: var(--ink); text-decoration: none; }
.brand-mark { border-color: #b8dcdf; color: #ef4762; background: #effbfc; }
.brand p, .eyebrow { color: #2378d0; }
.topbar-controls { flex-wrap: wrap; justify-content: flex-end; }
.external-tabs, .view-tabs {
  display: flex;
  padding: 4px;
  border: 1px solid #cfe0e5;
  border-radius: 12px;
  background: #f6fafb;
  box-shadow: 0 2px 8px rgba(25, 70, 93, .04);
}
.external-tabs a, .view-tabs button {
  min-width: 94px;
  padding: 9px 14px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #59717e;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}
.external-tabs a:hover, .view-tabs button:hover { color: #175fae; background: #eaf5ff; }
.view-tabs button.active { color: #fff; background: #2474cf; box-shadow: 0 5px 12px rgba(36, 116, 207, .22); }
.language-switcher { color: #607784; }
.language-switcher select, input, select, textarea {
  border-color: #c8dde3;
  background: #fff;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus { border-color: #3e93df; box-shadow: 0 0 0 3px rgba(62, 147, 223, .13); }

.score-card, .throws-card, .arrange-card, .history-card, .ad-placement,
.start-panel, .current-score-block {
  border-color: #d9e7eb;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 14px 34px rgba(34, 87, 111, .08);
}
.score-number { color: #172f3d; }
.dartboard { filter: drop-shadow(0 16px 24px rgba(44, 94, 112, .18)); }
.board-bezel { fill: #d8e8ec; stroke: #8eb3bd; }
.board-number-ring { fill: #edf5f7; stroke: #b8d0d6; }
.board-number { fill: #294a59; }
.board-segment { stroke: #a9c4cb; stroke-width: 1.1; }
.single-cream { fill: #f5edda; }
.single-black { fill: #dce8e9; }
.ring-red, .inner-bull { fill: #df7181; }
.ring-green, .outer-bull { fill: #55ad8f; }
.board-disabled { color: #173746; background: rgba(244, 250, 251, .88); border-color: #b4cdd3; }
.darts-left, .round-start { border-color: #c7dde4; background: #f5fbfc; color: #526e7b; }
.random-setup {
  padding: 15px;
  border-color: #8fc9ef;
  background: linear-gradient(135deg, #eef8ff, #e8fbfb);
  box-shadow: 0 8px 20px rgba(36, 116, 207, .10);
}
.random-label { color: #1767bb; font-size: 12px; }
.random-setup label, .score-setup label { color: #55717e; }
.random-button {
  min-height: 43px;
  border: 0;
  background: linear-gradient(135deg, #2377d4, #24a0ba);
  color: #fff;
  box-shadow: 0 8px 18px rgba(35, 119, 212, .24);
}
.random-button:hover { background: linear-gradient(135deg, #1767bd, #178da8); color: #fff; transform: translateY(-1px); }
.score-setup { padding: 9px 11px; border: 1px solid #e0eaed; border-radius: 11px; background: #fbfdfe; }
.score-setup label small { color: #79909b; }
.manual-start { min-height: 38px; color: #326781; background: #fff; border-color: #bcd4dc; }
.rule-settings { border-color: #d9e7eb; background: #f7fbfc; }
.rule-group > span { color: #2474cf; }
.rule-options { border-color: #cee0e5; background: #fff; }
.rule-options button { color: #667d88; }
.rule-options button.active { color: #fff; background: #2474cf; }
.rule-settings > small, .game-message { color: #607784; }
.game-message { border-color: #e1eaed; }
.secondary-button { color: #375f72; background: #fff; border-color: #bfd5dc; }
.secondary-button:hover { color: #175fae; border-color: #70aee1; background: #f3f9ff; }
.next-round-button { background: #26a479; }
.throw-slot { border-color: #cbdde2; background: #f7fbfc; color: #82959e; }
.throw-slot.filled { border-color: #a8cad4; color: #213f4e; background: #eef8fa; }
.throw-slot.bust { border-color: #ef7a89; color: #c92d48; background: #fff1f3; }
.mobile-round-start { border-color: #c9dce1; background: #f4fafb; }
.mobile-round-start strong { color: var(--ink); }

.candidate-list { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.candidate {
  min-width: 0;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-color: #d7e5ea;
  background: #fff;
  box-shadow: 0 7px 18px rgba(35, 81, 104, .06);
}
.candidate.best { border-color: #8bbce9; background: linear-gradient(160deg, #fff, #f0f8ff); }
.candidate.selected { border-color: #2474cf; background: linear-gradient(160deg, #fff, #eaf5ff); }
.candidate.unavailable { justify-content: space-between; color: #8b9ba3; background: #f8fafb; }
.candidate.unavailable p { margin: auto 0; text-align: center; font-size: 11px; }
.candidate-heading { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.candidate-rank { width: auto; min-width: 28px; height: 25px; padding: 0 8px; border-radius: 999px; color: #fff; background: #2474cf; font-family: inherit; font-size: 10px; letter-spacing: .04em; }
.candidate:not(.best) .candidate-rank { color: #326781; background: #e7f2f7; }
.candidate-meta { color: #32819d; letter-spacing: .05em; }
.custom-chip { color: #0e7655; background: #e1f7ef; }
.candidate > p { margin: auto 0 0; color: #667d88; font-size: 11px; line-height: 1.45; }
.route-display { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; min-height: 44px; }
.route-step { display: inline-flex; align-items: center; gap: 4px; }
.route-arrow { color: #8aa0aa; font-weight: 900; }
.route-target { min-width: 37px; padding: 7px 6px; border: 1px solid; border-radius: 9px; text-align: center; font-weight: 900; }
.route-step small { color: #748992; font-size: 9px; font-weight: 800; }
.target-triple { border-color: #f5b5c1; background: #fff0f4; color: #c42e55; }
.target-double { border-color: #a9d9f6; background: #edf8ff; color: #1670ab; }
.target-single { border-color: #bde9d6; background: #f0fbf5; color: #187552; }
.target-bull { border-color: #f3d691; background: #fff9e6; color: #956100; }
.empty-candidate { border-color: #cfe0e5; color: #6b818c; }
.empty-candidate.success { color: #13835f; }
.candidate-help { color: #607784; }
.ad-slot { border-color: #d4e4e8; color: #7b919b; background: #f6fafb; }
.text-button { color: #2474cf; }
.text-button:hover { color: #155ca8; }
.history-row { border-color: #e1eaed; color: #607784; }
.history-row strong { color: #193746; }

.editor-page { color: var(--ink); }
.editor-intro p { color: #607784; }
.editor-filter, .arrangement-table-wrap { border-color: #d3e4e8; background: rgba(255, 255, 255, .96); box-shadow: 0 12px 28px rgba(34, 87, 111, .07); }
.editor-filter { grid-template-columns: 170px 190px 130px 120px 1fr; }
.editor-filter label { color: #536e7b; }
.arrangement-table th { color: #236fae; background: #eaf5f8; }
.arrangement-table td { border-color: #e0eaed; }
.table-standard strong { color: #173646; }
.table-standard small, .table-toggle b, .editor-footer p { color: #607784; }
.toggle span { background: #b7cbd1; }
.toggle input:checked + span { background: #28a27a; }
.text-button.danger { color: #d53a55; }
footer { border-color: #dce8eb; color: #738892; background: rgba(255, 255, 255, .7); }
footer a { border-color: #bad5de; color: #236fae; background: #fff; }
footer a:hover { border-color: #70aee1; color: #155ca8; }

@media (max-width: 980px) {
  .external-tabs a, .view-tabs button { min-width: 0; padding: 7px 10px; font-size: 11px; }
  .candidate-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .topbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .topbar-controls { grid-column: 1 / -1; width: 100%; display: grid; grid-template-columns: 1fr 1fr auto; gap: 6px; }
  .external-tabs, .view-tabs { min-width: 0; }
  .external-tabs a, .view-tabs button { flex: 1; padding-inline: 5px; }
  .language-switcher { min-width: 76px; }
  .candidate-list { gap: 6px; }
  .candidate { padding: 8px 6px; gap: 7px; }
  .candidate-heading { align-items: flex-start; flex-direction: column; }
  .candidate-meta { font-size: 8px; }
  .route-display { align-content: flex-start; gap: 3px; }
  .route-step { gap: 2px; }
  .route-arrow { font-size: 10px; }
  .route-target { min-width: 30px; padding: 6px 3px; font-size: 11px; }
  .route-step small { display: block; font-size: 8px; }
  .editor-filter { grid-template-columns: 1fr 1fr; }
  .score-setup .manual-start { grid-column: 1 / -1; }
}

@media (max-width: 430px) {
  .brand h1 { font-size: 13px; }
  .topbar-controls { grid-template-columns: 1fr 1fr; }
  .language-switcher { grid-column: 2; justify-self: end; }
  .external-tabs { grid-column: 1; grid-row: 1; }
  .view-tabs { grid-column: 2; grid-row: 1; }
  .candidate-rank { padding-inline: 6px; font-size: 8px; }
  .candidate > p { font-size: 9px; }
}

@media (max-width: 620px) {
  .start-panel { padding: 8px; gap: 8px; }
  .start-panel .rule-settings { margin-top: 0; padding: 8px; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 7px; }
  .start-panel .rule-settings > small { grid-column: 1 / -1; font-size: 10px; }
  .start-panel .rule-options button { min-height: 32px; padding: 4px 3px; font-size: 10px; }
  .random-setup {
    padding: 8px;
    grid-template-columns: minmax(0, 1fr) 64px 64px minmax(96px, .9fr);
    gap: 6px;
    align-items: stretch;
  }
  .random-label { grid-column: 1; align-self: center; font-size: 12px; line-height: 1.4; }
  .random-setup label { gap: 3px; font-size: 11px; }
  .random-setup label[for="random-min"] { grid-column: 2; }
  .random-setup label[for="random-max"] { grid-column: 3; }
  .random-setup input { min-height: 38px; padding: 6px; text-align: right; }
  .range-separator { display: none; }
  .random-button { width: auto; min-height: 100%; grid-column: 4; padding: 6px; white-space: normal; line-height: 1.35; }
  .score-setup { padding: 8px; grid-template-columns: minmax(0, 1fr) 68px minmax(102px, .9fr); gap: 6px; }
  .score-setup label { font-size: 12px; line-height: 1.35; }
  .score-setup label small { font-size: 10px; line-height: 1.3; }
  .score-setup input { min-height: 42px; padding: 6px; text-align: right; }
  .score-setup .manual-start { min-height: 50px; grid-column: 3; padding: 6px; white-space: normal; line-height: 1.35; }
}

@media (max-width: 360px) {
  .random-setup { grid-template-columns: minmax(0, 1fr) 58px 58px minmax(86px, .8fr); gap: 4px; }
  .score-setup { grid-template-columns: minmax(0, 1fr) 62px minmax(94px, .85fr); gap: 4px; }
  .start-panel .rule-settings { grid-template-columns: 1fr; }
  .start-panel .rule-settings > small { grid-column: 1; }
}

/* 01 practice: readable scores and restart controls following the routes. */
.brand img.brand-mark { border: 0; border-radius: 0; background: none; object-fit: contain; }
.brand { max-width: none; }
.brand h1 { white-space: normal; overflow: visible; text-overflow: clip; font-size: clamp(16px, 1.6vw, 22px); }
.rules-panel .rule-settings { margin: 0 0 12px; }
.rule-group > span { font-size: 13px; }
.rule-options button { font-size: 13px; min-height: 38px; }
.current-score-block { scroll-margin-top: 110px; }
.score-value-row { display: flex; align-items: center; gap: 12px; }
.current-dart { display: grid; place-items: center; flex: 0 0 60px; min-height: 60px; padding: 8px; border: 1px solid #c8dfff; border-radius: 14px; color: #1765d1; background: #f0f7ff; font-size: 16px; font-weight: 800; }
.score-value-row .score-number { flex: 1; text-align: center; font-variant-numeric: tabular-nums; }
.mobile-round-start { display: grid; gap: 4px; margin: 0; padding: 8px; border: 1px solid #c9dce1; border-radius: 12px; background: #f4fafb; text-align: center; }
.mobile-round-start span { font-size: 12px; }
.mobile-round-start strong { font-size: 28px; line-height: 1.1; }
.start-jump { display: inline-block; margin-left: 10px; font-weight: 700; color: #1767bb; }
.start-panel { margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 12px; border: 0; box-shadow: none; background: none; scroll-margin-top: 100px; }
.start-panel .random-setup { display: grid; grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1fr); gap: 8px; padding: 12px; align-items: end; }
.start-panel .random-label { grid-column: 1 / -1; font-size: 14px; line-height: 1.5; }
.start-panel .random-setup label { grid-column: auto; font-size: 13px; gap: 5px; }
.start-panel .range-separator { display: block; align-self: end; padding-bottom: 16px; text-align: center; }
.start-panel input { width: 100%; min-width: 0; height: 54px; padding: 6px; text-align: center; font-size: 28px; font-weight: 750; font-variant-numeric: tabular-nums; line-height: 1.2; }
.start-panel .random-button { grid-column: 1 / -1; width: 100%; min-height: 48px; padding: 9px 6px; font-size: 16px; }
.start-panel .score-setup { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 54px 48px; padding: 12px; gap: 8px; align-items: end; }
.start-panel .score-setup label { font-size: 14px; line-height: 1.5; }
.start-panel .score-setup label small { display: none; }
.start-panel .score-setup .manual-start { grid-column: 1; width: 100%; min-height: 48px; height: auto; padding: 7px 5px; font-size: 14px; line-height: 1.4; }
.board-actions button[hidden] { display: none; }
.how-to { grid-column: 1 / -1; padding: 22px; border: 1px solid #d7e6eb; border-radius: 16px; background: #fff; color: #294a5d; font-size: 16px; line-height: 1.8; }
.how-to h2 { margin: 0 0 12px; font-size: 22px; }
.how-to ol { padding-left: 24px; margin: 0; }
.how-to li + li { margin-top: 8px; }
.how-to p { color: #55717e; font-size: 14px; }
.how-to a { color: #1767bb; text-underline-offset: 3px; }
.bottom-ad { grid-column: 1 / -1; min-height: 140px; margin-top: 8px; }
.ad-placement > span, .ad-slot { font-size: 12px; }
@media (max-width: 980px) {
  .rules-panel { grid-column: 1; grid-row: 1; }
  .rules-panel .rule-settings { margin: 0; padding: 10px; }
  .current-score-block { grid-column: 1; grid-row: 2; scroll-margin-top: 10px; padding: 10px; }
  .throws-card { grid-column: 1; grid-row: 3; }
  .board-panel { grid-column: 1; grid-row: 4; }
  .arrange-card { grid-column: 1; grid-row: 5; }
  .start-panel { grid-column: 1; grid-row: 6; scroll-margin-top: 10px; }
  .ad-placement { grid-column: 1; grid-row: 7; }
  .history-card { grid-column: 1; grid-row: 8; }
  .how-to { grid-column: 1; grid-row: 9; }
  .bottom-ad { grid-column: 1; grid-row: 10; }
  .board-shell { width: min(100%, 620px); margin: 0 auto; }
  .score-value-row .score-number { font-size: 64px; }
  .throw-slot { min-height: 38px; display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px; padding: 6px; }
  .throw-slot span, .throw-slot small { font-size: 12px; }
  .throw-slot strong { font-size: 19px; }
  .game-message { font-size: 12px; line-height: 1.5; margin: 6px 0 0; }
  .card-title-row h2 { font-size: 18px; }
  .candidate-rank { font-size: 12px; }
  .candidate > p { font-size: 12px; }
  .route-target { font-size: 18px; }
  .route-step small { font-size: 12px; }
  .candidate-help { font-size: 14px; }
  .board-actions button { min-height: 44px; font-size: 13px; }
}
@media (max-width: 620px) {
  .brand { max-width: none; }
  .topbar { grid-template-columns: 1fr; }
  .brand h1 { font-size: 17px; }
  .rules-panel .rule-settings { grid-template-columns: 1.2fr 1fr; gap: 8px; }
  .rule-options button { padding-inline: 3px; font-size: 12px; }
  .current-dart { flex-basis: 52px; min-height: 52px; padding: 4px; font-size: 14px; }
  .mobile-round-start { min-width: 65px; padding: 6px; }
  .start-panel { gap: 8px; }
  .start-panel .random-setup, .start-panel .score-setup { padding: 8px; gap: 6px; }
  .start-panel .random-setup { grid-template-columns: minmax(0, 1fr) 10px minmax(0, 1fr); }
  .start-panel input { font-size: 26px; }
  .start-panel .random-button { font-size: 15px; }
  .start-panel .score-setup .manual-start { font-size: 13px; }
  .how-to { padding: 16px; }
}

/* Shared compact layout. Each column participates in normal document flow. */
.topbar { position: static; width: min(1240px, 100%); margin-inline: auto; padding: 12px 20px; gap: 24px; }
.topbar-controls { margin-left: auto; gap: 8px; }
.brand p, .language-switcher > span { display: none; }
.brand h1 { font-size: clamp(16px, 1.5vw, 21px); }
.practice-layout { width: min(1240px, 100%); padding: 12px 20px 28px; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.practice-layout > * { grid-area: auto; min-width: 0; }
.practice-layout > .top-ad, .practice-layout > .how-to, .practice-layout > .bottom-ad { grid-column: 1 / -1; }
.practice-layout > .top-ad { margin: 0 0 8px; min-height: 116px; }
.play-panel, .recommendation-panel { display: grid; gap: 12px; min-width: 0; }
.recommendation-panel .score-card { display: contents; }
.recommendation-panel .rules-panel, .recommendation-panel .current-score-block, .recommendation-panel .throws-card, .play-panel .board-panel { grid-area: auto; }
.play-panel .board-panel { position: relative; top: auto; align-self: start; min-width: 0; }
.recommendation-panel .rules-panel .rule-settings { margin: 0; padding: 10px; }
.recommendation-panel .current-score-block { padding: 8px 10px; border: 0; border-radius: 0; background: #fff; box-shadow: none; scroll-margin-top: 12px; }
.score-value-row { gap: 10px; }
.score-value-row .score-number { margin: 0; font-size: clamp(56px, 6vw, 76px); line-height: 1.05; }
.dart-picker { display: block; flex: 0 0 auto; }
.dart-picker .current-dart { width: 96px; min-width: 96px; min-height: 52px; padding: 8px 20px 8px 8px; display: block; white-space: nowrap; word-break: keep-all; font-size: 16px; line-height: 1.2; cursor: pointer; }
.mobile-round-start { min-width: 76px; }
.board-status { display: flex; justify-content: flex-end; min-height: 18px; padding: 0 10px; }
.board-status .status-dot { font-size: 12px; white-space: nowrap; }
.play-panel .board-shell { width: min(100%, 650px); margin: 0 auto 6px; }
.recommendation-panel .throws-card { padding: 6px; border-radius: 10px; box-shadow: none; }
.throw-slots { margin: 0; gap: 6px; }
.throw-slot { min-height: 38px; padding: 6px; display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px; border-radius: 8px; }
.throw-slot span, .throw-slot small { font-size: 12px; white-space: nowrap; word-break: keep-all; }
.throw-slot strong { font-size: 18px; white-space: nowrap; line-height: 1.1; }
.board-actions button { min-height: 44px; font-size: 13px; }
.arrange-card { min-width: 0; padding: 12px; border-radius: 14px; box-shadow: none; }
.arrange-summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 12px; }
.arrange-summary h2 { margin: 0; font-size: 15px; line-height: 1.5; }
.arrange-summary h2::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #22a37d; }
.arrange-summary > span { flex: 0 0 auto; padding: 3px 7px; border-radius: 999px; color: #fff; background: #13263c; font-size: 10px; font-weight: 800; }
.candidate-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.candidate-list .candidate { padding: 8px; min-width: 0; min-height: 180px; gap: 8px; border-radius: 13px; background: #fff; }
.candidate-list .candidate.best, .candidate-list .candidate.selected { border-color: #3187ff; box-shadow: 0 0 0 1px #cee0ff; }
.candidate-list .candidate.unavailable { border-style: dashed; color: #7c90a5; }
.candidate-heading { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 3px; }
.candidate-name { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; font-size: 13px; font-weight: 750; }
.selection-ring { width: 12px; height: 12px; border: 1.5px solid #3987fc; border-radius: 50%; }
.candidate[aria-pressed="true"] .selection-ring { background: #2474cf; box-shadow: inset 0 0 0 2px #fff; }
.best-label { color: #2672d5; border: 1px solid #c2dbff; background: #f0f7ff; border-radius: 8px; padding: 1px 4px; font-size: 10px; }
.route-display { width: 100%; display: grid; gap: 5px; min-height: 0; }
.route-step { position: relative; display: flex; justify-content: center; align-items: baseline; width: 100%; padding: 5px 3px 5px 17px; gap: 3px; border: 1px solid; border-radius: 8px; }
.route-order { position: absolute; left: 5px; top: 50%; transform: translateY(-50%); font-size: 10px; opacity: .8; }
.route-step .route-target { min-width: 0; padding: 0; border: 0; border-radius: 0; background: none; color: inherit; font-size: 20px; line-height: 1.25; }
.route-step small { color: inherit; font-size: 12px; white-space: nowrap; }
.candidate .route-result { margin-top: auto; padding: 5px 3px; border-radius: 8px; background: #edfbf5; color: #08785d; font-size: 12px; text-align: center; }
.candidate-help { font-size: 13px; line-height: 1.5; }
.recommendation-panel .start-panel, .recommendation-panel .history-card { grid-area: auto; }
.how-to { position: relative; margin-top: 12px; }
.practice-layout > .bottom-ad { margin-top: 0; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important; }
@media (max-width: 980px) {
  .practice-layout { width: min(740px, 100%); padding: 10px; grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .topbar { width: min(740px, 100%); padding: 8px 10px; }
  .practice-layout > .play-panel, .practice-layout > .recommendation-panel { grid-column: 1; }
  .play-panel .board-shell { width: min(100%, 650px); }
  .candidate-list .candidate { min-height: 170px; }
}
@media (max-width: 720px) {
  .topbar { display: flex; flex-wrap: wrap; gap: 7px; }
  .topbar-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 5px; width: 100%; margin: 0; }
  .topbar-controls .external-tabs, .topbar-controls .view-tabs, .topbar-controls .language-switcher { grid-area: auto; }
  .language-switcher { min-width: 0; }
  .language-switcher select { width: 76px; padding-right: 16px; }
  .external-tabs a, .view-tabs button { padding-inline: 4px; font-size: 11px; }
  .brand h1 { font-size: 16px; }
  .play-panel .board-panel .board-shell { width: 100%; }
  .candidate-list { gap: 6px; }
  .candidate-list .candidate { padding: 6px; gap: 6px; }
  .candidate-name { font-size: 12px; }
  .route-step .route-target { font-size: 18px; }
  .route-step small { font-size: 11px; }
  .best-label { font-size: 9px; }
}
@media (max-width: 380px) {
  .topbar-controls { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 64px; }
  .language-switcher select { width: 64px; font-size: 10px; }
  .external-tabs a, .view-tabs button { font-size: 10px; padding-inline: 2px; }
  .arrange-card { padding: 8px; }
  .arrange-summary h2 { font-size: 13px; }
  .candidate-name { font-size: 11px; }
  .route-step .route-target { font-size: 16px; }
  .route-step small { font-size: 10px; }
}
.recommendation-panel > .arrange-card { grid-area: auto; }

/* Tablets and desktops: board left, all score controls in the right column. */
@media (min-width: 740px) {
  .practice-layout { width: min(1240px, 100%); grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 20px; }
  .practice-layout > .play-panel { grid-column: 1; }
  .practice-layout > .recommendation-panel { grid-column: 2; }
  .topbar { width: min(1240px, 100%); }
  .recommendation-panel > .rules-panel, .recommendation-panel .current-score-block, .recommendation-panel .throws-card { grid-area: auto; }
}
@media (min-width: 740px) and (max-width: 980px) {
  .practice-layout { gap: 14px; }
  .board-actions button { padding-inline: 4px; white-space: normal; font-size: 12px; }
  .recommendation-panel .rule-settings { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 6px; }
  .recommendation-panel .rule-options button { padding-inline: 2px; font-size: 11px; }
  .score-value-row { gap: 6px; }
  .score-value-row .score-number { font-size: 56px; }
  .candidate-list .candidate { padding: 6px; }
  .candidate-name { font-size: 12px; }
  .route-step .route-target { font-size: 18px; }
  .route-step small { font-size: 11px; }
  .start-panel { gap: 8px; }
  .start-panel .random-setup, .start-panel .score-setup { padding: 8px; gap: 6px; }
  .start-panel .random-setup { grid-template-columns: minmax(0, 1fr) 10px minmax(0, 1fr); }
  .start-panel input { font-size: 26px; }
  .start-panel .score-setup .manual-start { font-size: 13px; }
}
@media (max-width: 739px) {
  .practice-layout > .play-panel, .practice-layout > .recommendation-panel { display: contents; }
  .practice-layout > .top-ad { grid-row: 1; }
  .recommendation-panel .rules-panel { grid-column: 1; grid-row: 2; }
  .recommendation-panel .current-score-block { grid-column: 1; grid-row: 3; }
  .recommendation-panel .throws-card { grid-column: 1; grid-row: 4; }
  .play-panel .board-panel { grid-column: 1; grid-row: 5; }
  .recommendation-panel > .arrange-card { grid-column: 1; grid-row: 6; }
  .recommendation-panel > .start-panel { grid-column: 1; grid-row: 7; }
  .recommendation-panel > .history-card { grid-column: 1; grid-row: 8; }
  .practice-layout > .how-to { grid-row: 9; }
  .practice-layout > .bottom-ad { grid-row: 10; }
}

.footer-policy-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
footer .footer-policy-links a { padding: 6px 0; border: 0; border-radius: 0; background: none; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }

/* Manual entry shares the VS mode's purple and pale purple palette. */
.start-panel .score-setup { background: #f4edff; border-color: #cbb2e8; box-shadow: 0 6px 18px #793ac612; }
.start-panel .score-setup label { color: #793ac6; font-weight: 700; }
.start-panel .score-setup input { border-color: #cbb2e8; }
.start-panel .score-setup input:focus { border-color: #793ac6; outline-color: #793ac6; box-shadow: 0 0 0 3px #793ac622; }
.start-panel .score-setup .manual-start { color: #fff; background: linear-gradient(110deg, #793ac6, #9250cf); border-color: transparent; box-shadow: 0 6px 14px #793ac630; }
.start-panel .score-setup .manual-start:hover { background: linear-gradient(110deg, #6930ae, #8042b9); }
.start-panel .score-setup .manual-start:focus-visible { outline: 3px solid #793ac6; outline-offset: 3px; }

/* Match the current-dart palette used by arrangement search. */
.dart-theme { --dart-bg: #eff6ff; --dart-border: #93c5fd; --dart-ink: #1d4ed8; }
.dart-theme[data-dart="2"] { --dart-bg: #f5f3ff; --dart-border: #c4b5fd; --dart-ink: #6d28d9; }
.dart-theme[data-dart="3"] { --dart-bg: #f1f5f2; --dart-border: #b5c9ba; --dart-ink: #496653; }
.dart-theme .recommendation-panel .current-score-block { background: var(--dart-bg); border: 1px solid var(--dart-border); border-radius: 14px; }
.dart-theme .current-dart { color: var(--dart-ink); background: var(--dart-bg); border-color: var(--dart-border); }
.score-input-wrap { flex: 1; min-width: 0; text-align: center; }
.score-value-row .score-edit-input { display: block; width: 100%; min-width: 0; height: auto; min-height: 60px; padding: 4px 2px; border: 1px solid transparent; border-radius: 8px; background: transparent; box-shadow: none; cursor: text; }
.score-input-wrap small { display: block; margin-top: 4px; font-family: Arial, sans-serif; font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: normal; color: var(--dart-ink); }
.score-edit-input:focus { outline: 2px solid var(--dart-ink); outline-offset: 0; }
.direct-score-form { position: static; display: block; width: 100%; margin-top: 12px; padding: 10px 0 0; border: 0; border-top: 1px solid var(--dart-border); background: transparent; }
.direct-score-form p { margin: 8px 0; color: #594871; font-size: 13px; line-height: 1.5; }
.direct-score-form .score-entry-error { color: #b42338; }
.direct-score-actions { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 8px; }
.direct-score-actions button { min-height: 44px; padding: 8px; font-size: 14px; }
.mobile-quick-start { display: none; }
.mobile-quick-start .manual-start, .direct-score-actions .manual-start { color: #fff; background: linear-gradient(110deg, #793ac6, #9250cf); border-color: transparent; box-shadow: 0 6px 14px #793ac630; }
.mobile-quick-start .manual-start:hover, .direct-score-actions .manual-start:hover { background: linear-gradient(110deg, #6930ae, #8042b9); }
.mobile-quick-start .manual-start:focus-visible, .direct-score-actions .manual-start:focus-visible { outline: 3px solid #793ac6; outline-offset: 3px; }
@media (max-width: 739px) {
  .recommendation-panel .mobile-quick-start { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-column: 1; grid-row: 3; gap: 8px; }
  .mobile-quick-start button { min-width: 0; width: 100%; min-height: 44px; padding: 8px 6px; font-size: 14px; line-height: 1.4; white-space: normal; }
  .mobile-quick-start > .random-button { grid-area: 1 / 1 / 2 / 2; margin: 0; }
  .mobile-quick-start > .manual-start { grid-area: 1 / 2 / 2 / 3; margin: 0; }
  .recommendation-panel .throws-card { grid-row: 4; }
  .recommendation-panel .current-score-block { grid-row: 5; }
  .play-panel .board-panel { grid-row: 6; }
  .recommendation-panel > .arrange-card { grid-row: 7; }
  .recommendation-panel > .start-panel { grid-row: 8; }
  .recommendation-panel > .history-card { grid-row: 9; }
  .practice-layout > .how-to { grid-row: 10; }
  .practice-layout > .bottom-ad { grid-row: 11; }
}

/* Keep unconfirmed score entry distinct from dart input. */
.board-score-editing .dartboard { opacity: .48; }
.board-score-editing .board-disabled {
  inset: 30% 10%; padding: 16px; border-radius: 20px;
  border: 2px solid #9250cf; background: #f4edff; color: #6130a0;
  font-size: clamp(14px, 2.2vw, 21px); line-height: 1.6; white-space: pre-line;
  box-shadow: 0 8px 24px #6130a01a;
}

.board-disabled.board-round-complete {
  inset: 50% auto auto 50%; width: 38%; aspect-ratio: 1;
  transform: translate(-50%, -50%); padding: 0; border: 0;
  border-radius: 50%; background: transparent;
}
.board-next-round {
  pointer-events: auto; width: 100%; height: 100%; min-height: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 10%; border: 2px solid rgba(31, 151, 115, .8);
  border-radius: 50%; background: rgba(233, 251, 244, .78); color: #075c47;
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  box-shadow: 0 6px 24px rgba(16, 76, 60, .2), inset 0 0 0 4px rgba(255, 255, 255, .35);
  font-size: clamp(14px, 2.2vw, 22px); font-weight: 800; line-height: 1.5;
  cursor: pointer; touch-action: manipulation;
}
.board-next-round small { font-size: .62em; font-weight: 600; }
.board-next-round span { max-width: 7em; text-wrap: balance; }
.board-next-round:hover { background: rgba(219, 247, 236, .9); }
.board-next-round:active { background: rgba(204, 242, 226, .95); }
.board-next-round:focus-visible { outline: 3px solid #2675cf; outline-offset: 4px; }

.board-next-round.is-bust {
  background: rgba(255, 232, 237, .66); color: #922c43;
  border-color: rgba(212, 90, 113, .78);
  box-shadow: 0 6px 24px rgba(141, 46, 65, .16), inset 0 0 0 4px rgba(255, 255, 255, .32);
}
.board-next-round.is-bust small { font-size: .8em; font-weight: 800; letter-spacing: .05em; }
.board-next-round.is-bust:hover { background: rgba(255, 223, 232, .8); }
.board-next-round.is-bust:active { background: rgba(255, 210, 222, .9); }

/* Phones get balanced 28-unit scoring bands; tablet and desktop geometry stays unchanged. */
.mobile-score-ring { display: none; }
@media (max-width: 739px) {
  .mobile-score-ring {
    display: inline;
    stroke: #a9c4cb;
    stroke-width: 1.1;
    cursor: pointer;
    touch-action: manipulation;
  }
  .mobile-score-ring.is-disabled { pointer-events: none; }
}

/* iPhone 12: reclaim vertical space without making the board hard to tap. */
@media (max-width: 430px) {
  .play-panel .board-panel { position: relative; }
  .play-panel .board-status {
    position: absolute;
    z-index: 3;
    top: 12px;
    right: 14px;
    min-height: 0;
    padding: 0;
    pointer-events: none;
  }
  .play-panel .board-status .status-dot {
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(247, 251, 252, .84);
    box-shadow: 0 2px 9px rgba(35, 81, 104, .08);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
  }
  .play-panel .board-shell {
    width: calc(100% - 28px);
    margin: 0 auto 4px;
  }
  .board-actions { gap: 6px; }
  .board-actions button { min-height: 42px; }
  .arrange-summary { margin-bottom: 8px; }
}
/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.relative{position:relative}.static{position:static}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.block{display:block}.flex{display:flex}.hidden{display:none}.table{display:table}.resize{resize:both}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{--background:#f4f9fb;--foreground:#142b38}*{box-sizing:border-box}html{background:var(--background)}body{background:var(--background);color:var(--foreground);margin:0;font-family:Yu Gothic UI,Hiragino Kaku Gothic ProN,Noto Sans JP,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}.usage-notice{box-sizing:border-box;color:#163958;overflow-wrap:anywhere;background:#eef4ff;border-bottom:1px solid #c9d9ed;margin:0;padding:.5rem 1rem;font:400 .875rem/1.55 system-ui,sans-serif}.usage-notice a{color:#1657b8;text-underline-offset:3px;margin-inline-start:.65rem;font-weight:700;text-decoration:underline;display:inline-block}.usage-consent{box-sizing:border-box;color:#153750;background:#fff;border:1px solid #b9cce5;border-radius:12px;max-width:850px;margin:1rem auto;padding:1rem;scroll-margin-top:1rem;font:400 1rem/1.65 system-ui,sans-serif}.usage-consent[hidden],[data-usage-vs-content][hidden]{display:none!important}.usage-consent h2{margin:0 0 .6rem;font-size:1.3rem}.usage-consent h3{margin:1rem 0 .3rem;font-size:1.05rem}.usage-consent p{margin:.5rem 0}.usage-consent details{border:1px solid #c9d9ed;border-radius:8px;margin:1rem 0;padding:.7rem}.usage-consent summary{cursor:pointer;color:#1657b8;font-weight:700}.usage-consent .usage-check{cursor:pointer;background:#eef4ff;border-radius:8px;align-items:flex-start;gap:.7rem;padding:.8rem;display:flex}.usage-consent .usage-check input{accent-color:#1657b8;flex:none;width:1.3rem;height:1.3rem;margin:.2rem 0}.usage-actions,.usage-languages{flex-wrap:wrap;gap:.5rem;margin:.8rem 0;display:flex}.usage-consent button{box-sizing:border-box;color:#164673;min-height:44px;font:inherit;cursor:pointer;white-space:normal;background:#fff;border:1px solid #b9cce5;border-radius:8px;padding:.6rem 1rem}.usage-consent button.usage-primary,.usage-languages button[aria-pressed=true]{color:#fff;background:#175fc5;border-color:#175fc5}.usage-consent button:disabled{opacity:.5;cursor:not-allowed}.usage-consent :focus-visible,.usage-notice a:focus-visible{outline-offset:3px;outline:3px solid #e3a421}.usage-secondary{color:#536a80;font-size:.875rem}@media (max-width:600px){.usage-notice{padding:.45rem .65rem}.usage-consent{margin:.6rem;padding:.8rem}.usage-actions>*{flex:100%}}@media print{.usage-notice{color:#000;background:#fff;border-color:#777;font-size:10pt;display:block!important}.usage-notice a{color:#000}.usage-consent{display:none!important}}.usage-policy{color:#153750;background:#fff;max-width:900px;margin:1rem auto;padding:1rem;font:1rem/1.75 system-ui,sans-serif}.usage-policy h1{font-size:1.6rem;font-weight:700}.usage-policy h2{margin:1.5rem 0 .5rem;font-size:1.2rem;font-weight:700}.usage-policy p{margin:.6rem 0}.usage-policy nav{flex-wrap:wrap;gap:1rem;display:flex}.usage-policy a{color:#1657b8;text-decoration:underline}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
/* 20260926: shared-only practice, preserving the deployed board and layout. */
.app-shell .training-heading { position: relative; padding-block: 16px 12px; }
.training-heading .site-tool-title { margin-block: 4px 8px; }
.training-heading .site-tool-description { margin-bottom: 8px; }
.training-heading .training-guide-link { display:inline-flex; align-items:center; min-height:44px; padding:8px 12px; border:1px solid #b8d3e5; border-radius:8px; background:#f0f7fd; color:#155b91; font-size:14px; font-weight:700; text-decoration:none; }
.training-guide-link:focus-visible, .legacy-candidate-backup summary:focus-visible {outline:3px solid #147ac1;outline-offset:3px;}
.candidate-context {margin:0 0 10px;color:#36576a;font-size:13px;line-height:1.6;overflow-wrap:anywhere;}
.candidate-heading {gap:4px;flex-wrap:wrap;}
.candidate-name {white-space:normal;overflow-wrap:anywhere;line-height:1.5;}
.candidate.selected .candidate-name {color:#135fc1;}
.legacy-candidate-backup {grid-column:1 / -1;padding:16px;border:1px solid #cfe0eb;border-radius:12px;background:#fff;color:#36576a;font-size:14px;line-height:1.7;}
.legacy-candidate-backup summary {cursor:pointer;min-height:44px;display:list-item;align-content:center;font-weight:700;}
.legacy-candidate-backup p {margin:12px 0;}
.how-to > summary {cursor:pointer;font-weight:700;font-size:16px;min-height:44px;align-content:center;}
.how-to[open] > summary {margin-bottom:12px;}
.how-to:not([open]) {padding-block:10px;}
.darts-shared-error {max-width:720px;margin:24px auto;padding:24px;background:white;border:1px solid #b8d3e5;border-radius:12px;color:#173745;}
.darts-shared-error button,.darts-shared-error a {display:inline-flex;align-items:center;min-height:44px;padding:8px 16px;margin:8px;border:1px solid #b8d3e5;border-radius:8px;background:#eff7ff;color:#155b91;}
@media(min-width:740px){.training-heading .training-guide-link {position:absolute;right:24px;top:24px;}.training-heading .site-tool-title,.training-heading .site-tool-description {padding-right:185px;}}
@media(max-width:739px){.app-shell .training-heading {padding-block:12px 8px;}.candidate-context{font-size:12px;}.candidate.selected .candidate-name{font-size:12px;}}
