/*! 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-border-style:solid}}}@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;-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{.static{position:static}.start{inset-inline-start:var(--spacing)}.hidden{display:none}.table{display:table}.border{border-style:var(--tw-border-style);border-width:1px}}:root{--bg:#111412;--bg-deep:#0b0d0c;--surface:#181b19;--surface-2:#202321;--surface-3:#292d2a;--border:#323633;--text:#f3efe5;--muted:#9a9e97;--red:#d95043;--red-bright:#ed6355;--green:#4d9b67;--gold:#d7ad62;--sidebar:#101311;--sidebar-text:#f3efe5;--sidebar-muted:#aeb2ac;--sidebar-subtle:#6f746e;--sidebar-border:#ffffff14;--sidebar-hover:#ffffff0a;--sidebar-active-text:#fff;--sidebar-active-start:#d9504333;--sidebar-active-end:#d9504308;--shadow:0 22px 60px #00000047}:root[data-theme=light]{--bg:#eeeee9;--bg-deep:#e2e3dc;--surface:#faf9f4;--surface-2:#f1f0ea;--surface-3:#e3e3dc;--border:#d4d5ce;--text:#171a18;--muted:#666b65;--sidebar:#faf9f4;--sidebar-text:#171a18;--sidebar-muted:#5f655f;--sidebar-subtle:#797e78;--sidebar-border:#171a181a;--sidebar-hover:#171a180e;--sidebar-active-text:#9e3028;--sidebar-active-start:#d9504324;--sidebar-active-end:#d9504306;--shadow:0 18px 50px #2227231a}*{box-sizing:border-box}html{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:var(--bg);scroll-behavior:smooth}:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline-offset:2px;outline:3px solid #d950436b}button:disabled{opacity:.45;cursor:not-allowed}.app-shell,.main-column{min-height:100vh}.page{width:100%;max-width:1500px;margin:0 auto;padding:84px 16px 100px}.sidebar{background:var(--sidebar);width:272px;color:var(--sidebar-text);border-right:1px solid var(--sidebar-border);z-index:50;flex-direction:column;padding:26px 18px;transition:transform .24s,background .2s,color .2s;display:flex;position:fixed;inset:0 auto 0 0;transform:translate(-100%)}.sidebar.open{transform:translate(0)}.sidebar-top{justify-content:space-between;align-items:center;padding:0 10px 28px;display:flex}.brand{color:inherit;align-items:center;gap:11px;text-decoration:none;display:inline-flex}.brand-mark{background:#0a0c0a;border:1px solid #454941;border-radius:50%;flex:none;place-items:center;width:38px;height:38px;display:grid;box-shadow:0 0 25px #d950433d}.brand-board{background:radial-gradient(circle, #c43e34 0 10%, #337e50 11% 19%, transparent 20%), repeating-conic-gradient(from -9deg, #e5ddc9 0 18deg, #20221f 18deg 36deg);border:2px solid #c9c2b4;border-radius:50%;width:28px;height:28px;position:relative;box-shadow:0 0 0 2px #171a17,inset 0 0 3px #000c}.brand-board:before{content:"";border:2px solid #c43e34e6;border-radius:50%;position:absolute;inset:4px}.brand-board:after{content:"";border:2px solid #337e50f2;border-radius:50%;position:absolute;inset:9px}.brand>span:last-child{letter-spacing:.08em;white-space:nowrap;align-items:baseline;font-size:15px;line-height:1;display:flex}.brand em{color:var(--red-bright);letter-spacing:.05em;margin-left:1px;font-size:15px;font-style:normal;font-weight:800}.side-nav{flex-direction:column;gap:5px;display:flex}.nav-label{letter-spacing:.18em;color:var(--sidebar-subtle);margin:22px 13px 7px;font-size:10px;font-weight:800}.side-nav a{min-height:48px;color:var(--sidebar-muted);border-radius:10px;align-items:center;gap:13px;padding:0 13px;font-size:14px;font-weight:650;display:flex;position:relative}.side-nav a:hover{background:var(--sidebar-hover);color:var(--sidebar-text)}.side-nav a.active{color:var(--sidebar-active-text);background:linear-gradient(90deg, var(--sidebar-active-start), var(--sidebar-active-end))}.side-nav a.active:before{content:"";background:var(--red);width:3px;box-shadow:0 0 14px var(--red);border-radius:2px;position:absolute;top:8px;bottom:8px;left:-18px}.profile-chip{border-top:1px solid var(--sidebar-border);align-items:center;gap:12px;margin-top:auto;padding:22px 8px 0;display:flex}.profile-chip>span:last-child{flex-direction:column;font-size:13px;display:flex}.profile-chip small{color:var(--sidebar-subtle);margin-top:3px}.avatar{color:#fff;border-radius:50%;flex:none;place-items:center;width:38px;height:38px;font-size:12px;font-weight:850;display:grid;box-shadow:inset 0 0 0 2px #ffffff26}.mobile-header{background:var(--bg);justify-content:space-between;align-items:center;height:64px;padding:0 16px;display:flex;position:fixed;top:0;left:0;right:0}@supports (color:color-mix(in lab, red, red)){.mobile-header{background:color-mix(in srgb, var(--bg) 88%, transparent)}}.mobile-header{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid var(--border);z-index:35}.mobile-header .brand-mark{width:34px;height:34px}.mobile-header-actions,.sidebar-actions{align-items:center;gap:7px;display:flex}.icon-button{background:var(--surface-2);cursor:pointer;border:0;border-radius:9px;place-items:center;width:40px;height:40px;display:inline-grid}.icon-button:hover{background:var(--surface-3)}.theme-button{color:var(--gold)}.sidebar-theme-button{display:none}.close-menu{background:var(--sidebar-hover)}.scrim{z-index:40;background:#000000a3;border:0;position:fixed;inset:0}.bottom-nav{z-index:30;height:72px;padding-bottom:max(6px, env(safe-area-inset-bottom));background:var(--surface);position:fixed;bottom:0;left:0;right:0}@supports (color:color-mix(in lab, red, red)){.bottom-nav{background:color-mix(in srgb, var(--surface) 95%, transparent)}}.bottom-nav{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-top:1px solid var(--border);grid-template-columns:repeat(5,1fr);display:grid}.bottom-nav a{color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:10px;font-weight:700;display:flex}.bottom-nav a.active{color:var(--red-bright)}.eyebrow{letter-spacing:.2em;color:var(--red-bright);margin:0 0 8px;font-size:10px;font-weight:850}.page-header{flex-direction:column;gap:18px;margin-bottom:28px;display:flex}.page-header h1{letter-spacing:-.045em;margin:0;font-size:clamp(34px,5vw,54px);line-height:.98}.page-header>div>p:last-child{color:var(--muted);max-width:680px;margin:12px 0 0;font-size:14px;line-height:1.6}.button{cursor:pointer;border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:9px;min-height:46px;padding:0 18px;font-size:14px;font-weight:760;transition:transform .15s,background .15s;display:inline-flex}.button:hover{transform:translateY(-1px)}.button.primary{background:linear-gradient(135deg, var(--red-bright), #bb3c32);color:#fff;box-shadow:0 10px 26px #d9504338}.button.secondary{border-color:var(--border);background:var(--surface-2);color:var(--text)}.button.ghost{border-color:var(--border);background:0 0}.button.danger{background:var(--red);color:#fff}.button.wide{width:100%}.button-row{justify-content:flex-end;gap:10px;margin-top:24px;display:flex}.text-button{cursor:pointer;color:var(--muted);background:0 0;border:0;font-weight:730}.danger-text{color:var(--red-bright)!important}.back-link{color:var(--muted);align-items:center;gap:6px;font-size:13px;font-weight:700;display:inline-flex}.hero{color:#f3efe5;min-height:520px;box-shadow:var(--shadow);background-image:linear-gradient(#05080a0a 22%,#05080a6b 50%,#05080af0 82%),url(/hero-dartboard.png);background-position:43%;background-size:cover;border:1px solid #302e2b;border-radius:18px;align-items:flex-end;padding:34px 22px 36px;display:flex;position:relative;overflow:hidden}.hero:after{content:"";pointer-events:none;background:linear-gradient(90deg,#00000014,#0000 55%);position:absolute;inset:0}.hero-copy{z-index:2;max-width:650px;position:relative}.hero h1{letter-spacing:-.06em;text-transform:uppercase;margin:0;font-size:clamp(42px,7vw,77px);font-style:italic;font-weight:900;line-height:.94}.hero h1 span{color:var(--red-bright)}.hero-copy>p:not(.eyebrow){color:#d1d6d2;text-shadow:0 1px 10px #000000e6;margin:19px 0 26px;font-size:16px}.hero-actions{z-index:3;flex-wrap:wrap;gap:10px;display:flex;position:relative}:root[data-theme=light] .hero{color:#171a18;background-image:linear-gradient(#faf9f40f 18%,#faf9f48a 54%,#faf9f4f7 84%),url(/hero-dartboard.png);border-color:#d0d1ca;box-shadow:0 18px 50px #373c3724}:root[data-theme=light] .hero:after{background:linear-gradient(90deg,#faf9f41f,#0000 58%)}:root[data-theme=light] .hero-copy>p:not(.eyebrow){color:#3f4540;text-shadow:0 1px 10px #ffffffe6}:root[data-theme=light] .hero .button.secondary{color:#171a18;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#faf9f4e6;border-color:#171a182e;box-shadow:0 8px 22px #2227231f}:root[data-theme=light] .hero .button.secondary:hover{background:#fff;border-color:#171a1847}.section-block{margin-top:38px}.section-heading{justify-content:space-between;align-items:end;gap:18px;margin-bottom:16px;display:flex}.section-heading h2{letter-spacing:-.025em;margin:0;font-size:22px}.section-heading a{color:var(--muted);white-space:nowrap;align-items:center;gap:7px;font-size:13px;font-weight:700;display:flex}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.stat-card{border:1px solid var(--border);background:linear-gradient(145deg, var(--surface), var(--surface-2));border-radius:13px;flex-direction:column;justify-content:center;min-height:122px;padding:18px;display:flex;position:relative;overflow:hidden}.stat-card:before{content:"";background:var(--border);width:2px;position:absolute;top:24px;bottom:24px;left:0}.stat-card.red:before{background:var(--red);box-shadow:0 0 12px var(--red)}.stat-card.green:before{background:var(--green);box-shadow:0 0 12px var(--green)}.stat-card>span{color:var(--muted);letter-spacing:.12em;font-size:9px;font-weight:850}.stat-card>strong{letter-spacing:-.045em;margin:5px 0 3px;font-size:32px}.stat-card>small{color:var(--muted);font-size:11px}.home-columns,.quick-grid{gap:10px;display:grid}.quick-card{border:1px solid var(--border);background:var(--surface);text-align:left;cursor:pointer;border-radius:13px;align-items:center;gap:13px;min-height:100px;padding:17px;display:flex}.quick-card:hover{background:var(--surface-2)}.quick-card>span:nth-child(2){flex-direction:column;flex:1;display:flex}.quick-card strong{font-size:15px}.quick-card small{color:var(--muted);margin-top:5px}.quick-card>svg{color:var(--muted)}.quick-icon{color:#fff;border-radius:11px;place-items:center;width:50px;height:50px;display:grid}.quick-card.red .quick-icon{background:var(--red)}.quick-card.green .quick-icon{background:var(--green)}.computer-quick .quick-card{border-radius:13px 13px 0 0;width:100%}.quick-difficulty{border:1px solid var(--border);background:var(--surface-2);border-radius:0 0 13px 13px;grid-template-columns:auto repeat(3,minmax(0,1fr));align-items:center;gap:4px;min-height:48px;margin-top:-1px;padding:6px;display:grid}.quick-difficulty>span{color:var(--muted);letter-spacing:.12em;padding:0 7px;font-size:8px;font-weight:850}.quick-difficulty button{min-height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;font-size:11px;font-weight:750}.quick-difficulty button:hover{color:var(--text);background:var(--surface-3)}.quick-difficulty button.active{color:#fff;background:var(--green);box-shadow:0 5px 14px #4d9b6738}.compact-empty{border:1px dashed var(--border);min-height:120px;color:var(--muted);border-radius:13px;align-items:center;gap:16px;padding:20px;display:flex}.compact-empty span{flex-direction:column;display:flex}.compact-empty strong{color:var(--text)}.compact-empty small{margin-top:5px}.mini-match-list{border:1px solid var(--border);border-radius:13px;flex-direction:column;display:flex;overflow:hidden}.mini-match{background:var(--surface);border-bottom:1px solid var(--border);align-items:center;gap:12px;min-height:76px;padding:11px 14px;display:flex}.mini-match:last-child{border:0}.mini-match>span:nth-child(2){flex-direction:column;flex:1;display:flex}.mini-match small{color:var(--muted);margin-top:4px}.result-badge{width:36px;height:36px;color:var(--green);background:#4d9b6726;border-radius:50%;place-items:center;display:grid}.panel{background:var(--surface);border:1px solid var(--border);border-radius:15px;padding:20px;box-shadow:0 8px 30px #00000014}.setup-layout{gap:16px;display:grid}.setup-main{gap:14px;display:grid}.panel-title{align-items:center;gap:13px;padding-bottom:18px;display:flex}.panel-title>span{width:36px;height:36px;color:var(--red-bright);background:#d9504321;border-radius:50%;place-items:center;font-size:12px;font-weight:900;display:grid}.panel-title h2,.panel-title p{margin:0}.panel-title h2{font-size:18px}.panel-title p{color:var(--muted);margin-top:3px;font-size:12px}.mode-grid{grid-template-columns:repeat(2,1fr);gap:8px;display:grid}.mode-card{border:1px solid var(--border);background:var(--surface-2);text-align:left;cursor:pointer;border-radius:11px;flex-direction:column;align-items:flex-start;min-height:112px;padding:14px;display:flex;position:relative}.mode-card>svg:first-child{color:var(--muted);margin-bottom:11px}.mode-card small{color:var(--muted);margin-top:4px}.mode-card.selected{border-color:var(--red);background:linear-gradient(145deg, #d950431f, var(--surface-2))}.mode-card.selected>svg:first-child{color:var(--red-bright)}.mode-card .check{background:var(--red);color:#fff;border-radius:50%;padding:2px;position:absolute;top:9px;right:9px}.player-select-list{gap:8px;display:grid}.player-select-row{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.player-select{border:1px solid var(--border);background:var(--surface-2);text-align:left;cursor:pointer;border-radius:11px;align-items:center;gap:12px;width:100%;min-height:66px;padding:10px 12px;display:flex}.player-select.selected{border-color:var(--green)}.player-select>span:nth-child(2){flex-direction:column;flex:1;display:flex}.player-select small{color:var(--muted);margin-top:3px}.selection-indicator{border:1px solid var(--border);border-radius:50%;place-items:center;width:23px;height:23px;display:grid}.player-select.selected .selection-indicator{background:var(--green);border-color:var(--green);color:#fff}.player-setup-actions{grid-template-rows:repeat(2,1fr);gap:6px;width:108px;display:grid}.player-setup-action{border:1px solid var(--border);background:var(--surface-2);color:var(--text);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:0 9px;font-size:10px;font-weight:800;display:flex}.player-setup-action:hover,.player-setup-action:focus-visible{border-color:var(--green);color:#70bf88}.player-setup-action.danger:hover,.player-setup-action.danger:focus-visible{border-color:var(--red);color:var(--red-bright)}.add-player-from-setup{border:1px dashed var(--green);grid-column:1/-1;min-height:66px}@supports (color:color-mix(in lab, red, red)){.add-player-from-setup{border:1px dashed color-mix(in srgb, var(--green) 65%, var(--border))}}.add-player-from-setup{background:var(--green)}@supports (color:color-mix(in lab, red, red)){.add-player-from-setup{background:color-mix(in srgb, var(--green) 7%, var(--surface-2))}}.add-player-from-setup{color:var(--text);text-align:left;cursor:pointer;border-radius:11px;align-items:center;gap:12px;padding:10px 13px;display:flex}.add-player-from-setup>span:first-child{color:#70bf88;background:#4d9b6729;border-radius:50%;flex:0 0 38px;place-items:center;width:38px;height:38px;display:grid}.add-player-from-setup>span:last-child{flex-direction:column;display:flex}.add-player-from-setup small{color:var(--muted);margin-top:3px}.add-player-from-setup:hover,.add-player-from-setup:focus-visible{border-style:solid;border-color:var(--green);background:var(--green)}@supports (color:color-mix(in lab, red, red)){.add-player-from-setup:hover,.add-player-from-setup:focus-visible{background:color-mix(in srgb, var(--green) 12%, var(--surface-2))}}.computer-choice{border:1px solid var(--border);background:var(--surface-2);border-radius:11px;padding:13px}.computer-choice>div:first-child{align-items:center;gap:11px;display:flex}.computer-choice>div:first-child>span{flex-direction:column;display:flex}.computer-choice small{color:var(--muted);margin-top:3px}.segmented{background:var(--bg);border-radius:9px;gap:4px;margin-top:13px;padding:4px;display:flex}.segmented button{min-height:36px;color:var(--muted);cursor:pointer;text-transform:capitalize;background:0 0;border:0;border-radius:7px;flex:1;font-size:12px;font-weight:700}.segmented button.active{background:var(--surface-3);color:var(--text)}.player-order{border-top:1px solid var(--border);grid-column:1/-1;margin-top:8px;padding-top:18px}.player-order-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.player-order-heading>span:first-child{flex-direction:column;display:flex}.player-order-heading small{color:var(--muted);margin-top:3px}.random-order-note{color:var(--muted);align-items:center;gap:6px;font-size:11px;font-weight:700;display:flex}.player-order-list{gap:7px;margin:12px 0 0;padding:0;list-style:none;display:grid}.player-order-list li{border:1px solid var(--border);background:var(--surface-2);border-radius:10px;align-items:center;gap:10px;min-height:58px;padding:8px 9px;display:flex}.order-number{background:var(--surface-3);width:24px;height:24px;color:var(--muted);border-radius:50%;flex:0 0 24px;place-items:center;font-size:10px;font-weight:850;display:grid}.player-order-name{flex-direction:column;flex:1;min-width:0;display:flex}.player-order-name strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.player-order-name small{color:var(--muted);letter-spacing:.08em;margin-top:3px;font-size:9px;font-weight:850}.player-order-actions{gap:5px;display:flex}.player-order-actions button{border:1px solid var(--border);background:var(--surface-3);width:34px;height:34px;color:var(--text);cursor:pointer;border-radius:8px;place-items:center;display:grid}.player-order-actions button:hover,.player-order-actions button:focus-visible{border-color:var(--green);color:#70bf88}.player-order-actions button:disabled{opacity:.3;cursor:default;border-color:var(--border);color:var(--text)}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}label{color:var(--muted);font-size:12px;font-weight:700}input:not([type=checkbox]):not([type=range]),select{background:var(--surface-2);border:1px solid var(--border);width:100%;height:44px;color:var(--text);border-radius:9px;margin-top:7px;padding:0 11px}.toggle-list{margin-top:17px;display:grid}.toggle-list label,.setting-row{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:20px;min-height:67px;display:flex}.toggle-list label>span,.setting-row>span{flex-direction:column;display:flex}.toggle-list strong,.setting-row strong{color:var(--text);align-items:center;gap:7px;display:flex}.toggle-list small,.setting-row small{color:var(--muted);margin-top:5px;font-weight:500;line-height:1.35}input[type=checkbox]{appearance:none;background:var(--surface-3);border:1px solid var(--border);cursor:pointer;border-radius:20px;flex:none;width:46px;height:26px;position:relative}input[type=checkbox]:after{content:"";background:#b8bbb5;border-radius:50%;width:18px;height:18px;transition:all .18s;position:absolute;top:3px;left:3px}input[type=checkbox]:checked{background:var(--green);border-color:var(--green)}input[type=checkbox]:checked:after{background:#fff;transform:translate(20px)}.summary-card{border:1px solid var(--border);background:linear-gradient(155deg, var(--surface), var(--surface));border-radius:15px;position:relative}@supports (color:color-mix(in lab, red, red)){.summary-card{background:linear-gradient(155deg, var(--surface), color-mix(in srgb, var(--surface) 80%, #351816))}}.summary-card{align-self:start;padding:23px}.summary-card h2{margin:0 0 20px}.summary-mode{background:#d950431a;border:1px solid #d950433d;border-radius:11px;align-items:center;gap:12px;padding:14px;display:flex}.summary-mode>svg{color:var(--red-bright)}.summary-mode span{flex-direction:column;display:flex}.summary-mode small{color:var(--muted);margin-top:3px}.summary-card dl{margin:18px 0}.summary-card dl div{border-bottom:1px solid var(--border);justify-content:space-between;padding:10px 0;display:flex}.summary-card dt{color:var(--muted)}.summary-card dd{margin:0;font-weight:750}.versus-list{gap:7px;margin-bottom:18px;display:grid}.versus-list div{align-items:center;gap:9px;font-size:13px;display:flex}.versus-list span{background:var(--surface-3);width:23px;height:23px;color:var(--muted);border-radius:50%;place-items:center;font-size:10px;display:grid}.save-note{color:var(--muted);justify-content:center;align-items:center;gap:6px;margin:13px 0 0;font-size:10px;display:flex}.sound-test{margin:14px 0 4px}.game-screen{max-width:1180px;margin:0 auto}.game-topbar{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.live-pill{letter-spacing:.12em;background:var(--surface);border:1px solid var(--border);border-radius:20px;padding:8px 12px;font-size:10px;font-weight:850}.live-pill span{background:var(--red);width:7px;height:7px;box-shadow:0 0 8px var(--red);border-radius:50%;margin-right:7px;display:inline-block}.scoreboard{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.score-player{border:1px solid var(--border);background:var(--surface);opacity:.72;border-radius:14px;padding:14px;position:relative;overflow:hidden}.score-player:before{content:"";background:var(--player-color);height:3px;transition:all .2s;position:absolute;top:0;left:0;right:0;transform:scaleX(0)}.score-player.active{opacity:1;background:linear-gradient(155deg, var(--surface), var(--surface))}@supports (color:color-mix(in lab, red, red)){.score-player.active{background:linear-gradient(155deg, color-mix(in srgb, var(--surface) 90%, var(--player-color)), var(--surface))}}.score-player.active{border-color:var(--player-color)}@supports (color:color-mix(in lab, red, red)){.score-player.active{border-color:color-mix(in srgb, var(--player-color) 50%, var(--border))}}.score-player.active:before{transform:scaleX(1)}.player-heading{align-items:center;gap:9px;display:flex}.player-heading>span:nth-child(2){flex-direction:column;flex:1;min-width:0;display:flex}.player-heading strong{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.player-heading small{color:var(--muted);letter-spacing:.14em;margin-top:3px;font-size:8px;font-weight:850}.score-number{letter-spacing:-.07em;text-align:center;font-variant-numeric:tabular-nums;margin:14px 0 12px;font-size:clamp(48px,12vw,88px);font-weight:900;line-height:1}.player-metrics{grid-template-columns:repeat(2,1fr);gap:5px;display:grid}.player-metrics span{background:var(--surface-2);border-radius:7px;justify-content:space-between;align-items:center;padding:6px 8px;display:flex}.player-metrics small{color:var(--muted);font-size:8px}.visit-status{border:1px solid var(--border);background:var(--surface);border-radius:13px;grid-template-columns:70px 1fr;gap:8px;margin:8px 0;padding:11px;display:grid}.visit-status>div:first-child{border-right:1px solid var(--border);flex-direction:column;grid-row:span 2;justify-content:center;align-items:center;display:flex}.visit-status small{color:var(--muted);letter-spacing:.13em;font-size:8px;font-weight:800}.visit-status>div:first-child strong{margin-top:3px;font-size:35px;line-height:1}.dart-slots{grid-template-columns:repeat(3,1fr);gap:4px;display:grid}.dart-slots span{border:1px dashed var(--border);min-height:30px;color:var(--muted);border-radius:7px;place-items:center;font-size:9px;display:grid}.dart-slots span.filled{color:var(--text);background:var(--surface-2);border-style:solid;font-weight:800}.checkout-box{background:#4d9b671a;border-radius:7px;flex-direction:column;justify-content:center;align-items:center;min-height:36px;display:flex}.checkout-box strong{color:#68bc83;text-align:center;margin-top:2px;font-size:13px}.input-area{border:1px solid var(--border);background:var(--surface);border-radius:15px;padding:10px}.multiplier-tabs{background:var(--bg-deep);border-radius:10px;grid-template-columns:repeat(3,1fr);gap:5px;margin-bottom:8px;padding:4px;display:grid}.multiplier-tabs button{cursor:pointer;background:0 0;border:0;border-radius:8px;min-height:46px;font-weight:750}.multiplier-tabs button small{color:var(--muted);font-size:9px;display:block}.multiplier-tabs button.active{background:var(--red);color:#fff;box-shadow:0 6px 15px #d9504338}.multiplier-tabs button.active small{color:#ffd8d3}.number-pad{grid-template-columns:repeat(5,1fr);gap:5px;display:grid}.number-pad button{border:1px solid var(--border);background:var(--surface-2);cursor:pointer;border-radius:8px;min-height:52px;font-size:17px;font-weight:850}.number-pad button:active{background:var(--surface-3);transform:scale(.94)}.number-pad .miss{color:var(--muted);grid-column:span 2;font-size:13px}.number-pad .bull{color:#74ca91;background:#4d9b6726;border-color:#4d9b6759;grid-column:span 3;font-size:13px}.game-actions{grid-template-columns:repeat(3,1fr);gap:5px;margin-top:8px;display:grid}.game-actions .button{min-height:42px;padding:0 7px;font-size:10px}.game-actions svg{width:15px}.visit-history{border:1px solid var(--border);background:var(--surface);border-radius:13px;margin-top:10px;padding:14px}.visit-history h3{margin:0 0 9px;font-size:12px}.visit-history>div>div{border-top:1px solid var(--border);color:var(--muted);justify-content:space-between;padding:8px 0;font-size:11px;display:flex}.visit-history b{color:var(--text)}.computer-thinking{border:1px solid var(--border);background:var(--surface);border-radius:15px;flex-direction:column;justify-content:center;align-items:center;min-height:270px;display:flex}.computer-thinking small{color:var(--muted);margin-top:5px}.pulse-ring{color:#70bf88;background:#4d9b6726;border-radius:50%;place-items:center;width:70px;height:70px;margin-bottom:16px;animation:1.4s infinite pulse;display:grid}.empty-game,.empty-state{border:1px dashed var(--border);text-align:center;border-radius:15px;flex-direction:column;justify-content:center;align-items:center;min-height:380px;padding:30px;display:flex}.empty-game>svg,.empty-icon{color:var(--muted)}.empty-game h1,.empty-state h3{margin:17px 0 7px}.empty-game p,.empty-state p{color:var(--muted);max-width:440px;margin:0 0 21px;line-height:1.5}.inline-select{min-width:190px}.stats-page-grid{margin-bottom:20px}.chart-grid{gap:14px;display:grid}.chart-panel{min-width:0}.panel-chart-title{justify-content:space-between;align-items:center;display:flex}.panel-chart-title>span{align-items:center;gap:9px;display:flex}.panel-chart-title svg{color:var(--red-bright);width:18px}.panel-chart-title small{color:var(--muted)}.chart-wrap{height:300px;margin-top:25px}.pie-wrap{height:300px;position:relative}.pie-center{pointer-events:none;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.pie-center svg{color:var(--muted);width:17px}.pie-center strong{font-size:30px}.pie-center small{color:var(--muted)}.filter-bar{grid-template-columns:1fr;gap:8px;margin-bottom:16px;display:grid}.search-field{border:1px solid var(--border);background:var(--surface);border-radius:10px;align-items:center;gap:9px;height:46px;padding:0 12px;display:flex}.search-field input{background:0 0!important;border:0!important;height:100%!important;margin:0!important}.match-table{border:1px solid var(--border);border-radius:14px;overflow:hidden}.table-head{display:none}.match-row{border-bottom:1px solid var(--border);background:var(--surface);grid-template-columns:1fr auto;align-items:center;gap:10px;padding:14px;display:grid}.match-row:last-child{border:0}.match-row:hover{background:var(--surface-2)}.match-row>span:not(.match-players),.match-row>strong{display:none}.match-players{align-items:center;gap:11px;display:flex}.match-players>i{width:38px;height:38px;color:var(--gold);background:#d7ad621f;border-radius:50%;place-items:center;display:grid}.match-players>span{flex-direction:column;display:flex}.match-players small,.match-row small{color:var(--muted);margin-top:4px}.mode-badge{border:1px solid var(--border);text-transform:uppercase;border-radius:20px;padding:5px 9px;font-size:10px;display:inline-flex}.detail-back{margin-bottom:22px}.result-hero{text-align:center;border:1px solid var(--border);background:radial-gradient(circle at center, #d950431f, transparent 60%), var(--surface);border-radius:16px;padding:30px 16px}.result-trophy{width:54px;height:54px;color:var(--gold);background:#d7ad621f;border-radius:50%;place-items:center;margin:0 auto 12px;display:grid}.result-hero>p{color:var(--muted);justify-content:center;align-items:center;gap:8px;font-size:11px;display:flex}.result-hero>div:nth-child(3){justify-content:center;align-items:flex-end;gap:16px;display:flex}.result-hero>div:nth-child(3) span{flex-direction:column;display:flex;position:relative}.result-hero>div:nth-child(3) small{color:var(--muted);font-weight:700}.result-hero>div:nth-child(3) strong{letter-spacing:-.06em;font-size:60px}.result-hero>div:nth-child(3) i{color:var(--muted);font-size:26px;position:absolute;bottom:12px;left:calc(100% + 10px)}.comparison-grid{gap:13px;margin-top:13px;display:grid}.player-result .player-heading{margin-bottom:16px}.mini-stats{grid-template-columns:repeat(2,1fr);gap:7px;display:grid}.mini-stats .stat-card{min-height:92px}.mini-stats .stat-card>strong{font-size:23px}.visit-detail{margin-top:18px}.visit-detail h3{font-size:13px}.visit-detail>div{border-top:1px solid var(--border);grid-template-columns:34px 1fr auto;padding:9px 0;font-size:12px;display:grid}.visit-detail>div span{color:var(--muted)}.result-actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:18px;display:flex}.players-grid{gap:12px;display:grid}.player-card{background:var(--surface);border:1px solid var(--border);border-radius:15px;padding:19px}.player-card.default{border-color:var(--green)}@supports (color:color-mix(in lab, red, red)){.player-card.default{border-color:color-mix(in srgb, var(--green) 50%, var(--border))}}.player-card-top{align-items:center;gap:10px;display:flex}.large-avatar{color:#fff;border-radius:18px;place-items:center;width:62px;height:62px;font-size:19px;font-weight:900;display:grid}.default-badge{color:#71c38b;align-items:center;gap:4px;font-size:10px;font-weight:800;display:inline-flex}.card-actions{gap:5px;margin-left:auto;display:flex}.player-card h2{margin:17px 0 4px}.player-card>p{color:var(--muted);margin:0;font-size:12px}.profile-stats{background:var(--surface-2);border-radius:10px;grid-template-columns:repeat(3,1fr);margin:18px 0;display:grid}.profile-stats span{border-right:1px solid var(--border);flex-direction:column;align-items:center;padding:10px;display:flex}.profile-stats span:last-child{border:0}.profile-stats small{color:var(--muted);margin-top:3px;font-size:9px}.player-card>.text-button{color:#70bf88;padding:0}.settings-layout{gap:13px;display:grid}.settings-title{align-items:center;gap:12px;padding-bottom:15px;display:flex}.settings-title>svg{color:var(--red-bright)}.settings-title h2,.settings-title p{margin:0}.settings-title h2{font-size:17px}.settings-title p{color:var(--muted);margin-top:4px;font-size:11px}.range-row{border-top:1px solid var(--border);padding:17px 0 7px;display:block}.range-row>span{color:var(--text);justify-content:space-between;display:flex}.range-row input{width:100%;accent-color:var(--red);margin-top:14px}.data-buttons{flex-wrap:wrap;gap:8px;display:flex}.privacy-note{color:var(--muted);background:var(--surface-2);border-radius:9px;padding:14px;font-size:11px;line-height:1.6}.modal-backdrop{z-index:100;background:#000000b3;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.dialog{background:var(--surface);border:1px solid var(--border);width:min(100%,440px);box-shadow:var(--shadow);border-radius:17px;padding:24px}.dialog-icon{width:44px;height:44px;color:var(--red-bright);background:#d9504324;border-radius:50%;place-items:center;display:grid}.dialog h2{margin:15px 0 8px}.dialog p{color:var(--muted);line-height:1.5}.form-dialog label{margin:14px 0;display:block}.form-dialog fieldset{border:0;margin:18px 0;padding:0}.form-dialog legend{color:var(--muted);font-size:12px;font-weight:700}.color-options{gap:8px;margin-top:9px;display:flex}.color-options button{color:#fff;cursor:pointer;border:2px solid #0000;border-radius:50%;place-items:center;width:38px;height:38px;display:grid}.color-options button.selected{box-shadow:0 0 0 2px var(--surface), 0 0 0 3px var(--muted);border-color:#fff}.toast-stack{z-index:150;gap:8px;display:grid;position:fixed;bottom:86px;right:14px}.toast{background:var(--surface-2);border:1px solid var(--border);min-width:260px;max-width:350px;box-shadow:var(--shadow);border-radius:10px;align-items:center;gap:9px;padding:13px 15px;font-size:13px;display:flex}.toast.success svg{color:var(--green)}.toast.danger svg{color:var(--red)}.fatal-error{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;padding:25px;display:flex}.fatal-error p{color:var(--muted);max-width:500px}.app-loading{place-items:center;min-height:100vh;padding:28px;display:grid}.app-loading .brand-mark{opacity:0;width:48px;height:48px;animation:.18s .2s forwards reveal-loader;transform:scale(.94)}.visually-hidden{clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.noscript-page{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;padding:28px;display:flex}.noscript-page h1{letter-spacing:-.04em;margin:22px 0 0;font-size:clamp(24px,5vw,42px);line-height:1.04}.noscript-page p{max-width:58ch;color:var(--muted);margin:12px auto 0;line-height:1.6}@keyframes pulse{50%{opacity:.5}}@keyframes reveal-loader{to{opacity:1;transform:scale(1)}}@media (width>=680px){.page{padding:96px 28px 105px}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.stats-page-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.mode-grid{grid-template-columns:repeat(5,1fr)}.players-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-bar{grid-template-columns:minmax(280px,1fr) 220px}.comparison-grid,.chart-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.page-header{flex-direction:row;justify-content:space-between;align-items:end}.game-actions .button{font-size:12px}.match-row{grid-template-columns:2fr .5fr .5fr .8fr 42px;min-height:80px}.match-row>span:not(.match-players),.match-row>strong{flex-direction:column;display:flex}.table-head{color:var(--muted);background:var(--bg-deep);letter-spacing:.12em;grid-template-columns:2fr .5fr .5fr .8fr 42px;padding:10px 14px;font-size:9px;font-weight:850;display:grid}}@media (width>=1024px){.sidebar{transform:none}.close-menu,.mobile-header,.bottom-nav{display:none}.sidebar-theme-button{display:inline-grid}.main-column{margin-left:272px}.page{padding:38px 40px 70px}.scrim{display:none}.hero{background-image:linear-gradient(90deg,#04070905 28%,#04070938 48%,#040709eb 82%),url(/hero-dartboard.png);background-position:50%;justify-content:flex-end;align-items:center;min-height:440px;padding:55px 56px}:root[data-theme=light] .hero{background-image:linear-gradient(90deg,#faf9f40a 28%,#faf9f452 49%,#faf9f4f5 82%),url(/hero-dartboard.png)}:root[data-theme=light] .hero:after{background:linear-gradient(90deg,#ffffff0d,#ffffff26 55%,#faf9f459)}.hero-copy{width:min(48%,610px)}.home-columns{grid-template-columns:1.15fr .85fr;gap:18px}.section-block{margin-top:44px}.setup-layout{grid-template-columns:minmax(0,1fr) 330px;align-items:start}.summary-card{position:sticky;top:28px}.panel{padding:25px}.player-select-list{grid-template-columns:repeat(2,1fr)}.computer-choice{grid-column:span 2}.stats-page-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.players-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.settings-layout{grid-template-columns:repeat(2,minmax(0,1fr))}.score-player{padding:19px 24px}.score-number{margin:10px 0 18px;font-size:105px}.player-metrics{grid-template-columns:repeat(4,1fr)}.visit-status{grid-template-columns:95px 1fr 260px;align-items:stretch}.visit-status>div:first-child{grid-row:auto}.checkout-box{min-height:56px}.number-pad{grid-template-columns:repeat(11,1fr)}.number-pad button{min-height:62px}.number-pad .miss,.number-pad .bull{grid-column:auto}.game-actions{justify-content:flex-end;display:flex}.game-actions .button{min-width:150px}.game-screen{grid-template-columns:minmax(0,1fr) 245px;gap:12px;display:grid}.game-topbar,.scoreboard,.visit-status,.input-area,.computer-thinking{grid-column:1}.visit-history{grid-area:2/2/span 4;margin:0}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}
