:root{--neutral-0:#fff;--neutral-25:#fafbf9;--neutral-50:#f4f5f2;--neutral-100:#eceee9;--neutral-200:#dde2da;--neutral-300:#c5cec3;--neutral-400:#8a958b;--neutral-500:#667169;--neutral-600:#4b574e;--neutral-800:#28352d;--neutral-900:#18251d;--green-50:#edf7e8;--green-100:#dcefd2;--green-300:#a9d698;--green-600:#237a32;--green-700:#195f28;--amber-50:#fff5df;--amber-700:#8d601e;--red-50:#fceeea;--red-600:#b94c3f;--blue-50:#edf3fa;--blue-600:#3977af;--canvas:var(--neutral-50);--surface:var(--neutral-0);--surface-subtle:var(--neutral-25);--surface-inset:var(--neutral-100);--ink:var(--neutral-900);--text-secondary:var(--neutral-600);--muted:var(--neutral-500);--text-faint:var(--neutral-400);--line:var(--neutral-200);--line-strong:var(--neutral-300);--green:var(--green-600);--green-dark:var(--green-700);--accent-soft:var(--green-50);--accent-border:var(--green-300);--on-accent:var(--neutral-0);--warning:var(--amber-700);--warning-soft:var(--amber-50);--danger:var(--red-600);--danger-soft:var(--red-50);--info:var(--blue-600);--info-soft:var(--blue-50);--overlay:#14201999;--overlay-soft:#14201980;--glass:#ffffffed;--white-muted:#ffffffb8;--focus-ring:#237a3233;--color-transparent:transparent;--payment:#07a754;--face-a:#358348;--face-b:#c65048;--face-x:#3e83ba;--face-y:#eac951;--face-y-ink:#544414;--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;--font-mono:"SFMono-Regular", Consolas, "Liberation Mono", monospace;--text-xs:.75rem;--text-sm:.8125rem;--text-base:.875rem;--text-md:1rem;--text-lg:1.125rem;--text-xl:1.375rem;--text-2xl:1.75rem;--text-3xl:2.25rem;--text-display:clamp(2.25rem, 4.2vw, 3.75rem);--text-page:clamp(1.75rem, 3vw, 2.5rem);--weight-regular:400;--weight-medium:500;--weight-semibold:600;--weight-bold:700;--leading-tight:1.15;--leading-heading:1.3;--leading-body:1.65;--tracking-tight:-.045em;--tracking-label:.08em;--tracking-mono:.035em;--space-1:.25rem;--space-2:.5rem;--space-3:.75rem;--space-4:1rem;--space-5:1.25rem;--space-6:1.5rem;--space-7:1.75rem;--space-8:2rem;--space-10:2.5rem;--space-12:3rem;--space-14:3.5rem;--space-16:4rem;--space-20:5rem;--space-24:6rem;--space-32:8rem;--space-40:10rem;--space-48:12rem;--space-56:14rem;--space-64:16rem;--space-72:18rem;--space-80:20rem;--space-96:24rem;--space-120:30rem;--space-160:40rem;--stroke:1px;--stroke-strong:2px;--radius-xs:.375rem;--radius-sm:.625rem;--radius-md:.875rem;--radius-lg:1.25rem;--radius-xl:1.75rem;--radius-full:999px;--shadow-xs:0 1px 2px #18251d06;--shadow-sm:0 4px 16px #18251d06;--shadow-md:0 16px 40px #18251d0a;--shadow-dialog:0 24px 80px #18251d26;--shadow-focus:0 0 0 4px var(--focus-ring);--shadow-dot:0 0 0 4px var(--accent-soft);--shadow-key:inset 0 -2px 0 #00000014;--duration-fast:.12s;--duration-normal:.2s;--duration-input:50ms;--ease:cubic-bezier(.2, .7, .2, 1);--opacity-disabled:.45;--opacity-soft:.7;--blur-glass:8px;--z-content:1;--z-sticky:10;--z-overlay:100;--z-dialog:110;--page-width:1240px;--page-gutter:clamp(1rem, 3.4vw, 3rem);--section-gap:var(--space-8);--panel-padding:var(--space-7);--control-height:44px;--control-height-lg:48px;--icon-xs:14px;--icon-sm:18px;--icon-md:24px;--icon-lg:32px;--dot-size:7px;--dialog-width:480px;--checkout-width:620px;--orders-width:800px;--stick-size:104px;--stick-dot-size:10px;--stick-value-width:6ch;--key-tile-size:56px;--key-tile-compact:clamp(28px, 9vw, 36px);--admin-width:980px;--key-glyph-size:28px;--key-check-size:16px;--hero-orbit-size:280px;--controller-max-width:720px;--elite-rear-width:320px;--controller-stage:radial-gradient(ellipse at center, var(--neutral-100), var(--surface-subtle) 70%);--inventory-image-ratio:4 / 3;--channel-scroll-height:680px}*{box-sizing:border-box}html{color:var(--ink);background:var(--canvas);font-family:var(--font-sans);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;scroll-behavior:smooth}body{min-width:0;font-size:var(--text-base);line-height:var(--leading-body);margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:var(--color-transparent)}button,summary{cursor:pointer}button,a{color:inherit}button:disabled{cursor:not-allowed;opacity:var(--opacity-disabled)}:is(button,a,input,select,textarea,summary):focus-visible{outline:var(--stroke-strong) solid var(--green);outline-offset:var(--space-1)}button{transition:background var(--duration-fast) var(--ease), border-color var(--duration-fast) var(--ease), color var(--duration-fast) var(--ease)}h1,h2,h3,p{margin-top:0}h1{font-size:var(--text-page);font-weight:var(--weight-bold);letter-spacing:var(--tracking-tight);line-height:var(--leading-tight)}h2{font-size:var(--text-xl);line-height:var(--leading-heading)}h3{font-size:var(--text-md);line-height:var(--leading-heading)}dd{margin:0}dt{color:var(--muted)}svg{vertical-align:middle}::selection{color:var(--green-dark);background:var(--green-100)}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}:is(.card,.diagnostic-card,.channel-search-card){padding:var(--panel-padding);border:var(--stroke) solid var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-xs)}:is(.start-diagnostics-button,.empty-state-actions .primary,.install-help-done,.secondhand-buy-button,.store-preview-result button){justify-content:center;align-items:center;gap:var(--space-2);min-height:var(--control-height);padding:var(--space-3) var(--space-5);border:var(--stroke) solid var(--green);border-radius:var(--radius-sm);color:var(--on-accent);background:var(--green);font-size:var(--text-base);font-weight:var(--weight-semibold);text-decoration:none;display:inline-flex}:is(.start-diagnostics-button,.empty-state-actions .primary,.install-help-done,.secondhand-buy-button):hover:not(:disabled){background:var(--green-dark);border-color:var(--green-dark)}:is(.install-app-button,.secondary-usb-button,.empty-state-actions button,.secondhand-my-orders,.channel-open-button,.channel-source-actions button){min-height:var(--control-height);padding:var(--space-2) var(--space-4);border:var(--stroke) solid var(--line);border-radius:var(--radius-sm);color:var(--text-secondary);background:var(--surface);font-size:var(--text-sm);font-weight:var(--weight-medium);white-space:nowrap}:is(.install-app-button,.secondary-usb-button,.empty-state-actions button,.secondhand-my-orders,.channel-open-button):hover:not(:disabled){color:var(--ink);border-color:var(--line-strong);background:var(--surface-subtle)}:is(.eyebrow,.card-kicker,.workbench-kicker){color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium);letter-spacing:var(--tracking-label);display:block}.eyebrow{margin-bottom:var(--space-4);color:var(--green)}.verified-badge{padding:var(--space-1) var(--space-3);border-radius:var(--radius-full);color:var(--green-dark);background:var(--accent-soft);font-size:var(--text-xs);white-space:nowrap;display:inline-flex}.card-heading{justify-content:space-between;align-items:start;gap:var(--space-4);display:flex}.card-heading :is(h1,h2){font-size:var(--text-xl);line-height:var(--leading-heading);letter-spacing:normal;margin:0}:is(.install-help-backdrop,.store-modal-backdrop){z-index:var(--z-overlay);padding:var(--space-6);background:var(--overlay);-webkit-backdrop-filter:blur(var(--blur-glass));backdrop-filter:blur(var(--blur-glass));place-items:center;display:grid;position:fixed;inset:0}.install-help-dialog{width:min(var(--dialog-width), 100%);padding:var(--space-8);border:var(--stroke) solid var(--line);border-radius:var(--radius-xl);background:var(--surface);box-shadow:var(--shadow-dialog);position:relative}:is(.install-help-close,.store-modal-close){top:var(--space-4);right:var(--space-4);width:var(--space-8);height:var(--space-8);border-radius:var(--radius-full);background:var(--surface-inset);color:var(--muted);font-size:var(--text-xl);border:0;place-items:center;padding:0;line-height:1;display:grid;position:absolute}.install-help-icon{width:var(--space-12);height:var(--space-12);margin-bottom:var(--space-6);border-radius:var(--radius-md);background:var(--accent-soft);color:var(--green);font-size:var(--text-xl);place-items:center;display:grid}.install-help-dialog h2{margin-bottom:var(--space-3)}.install-help-dialog :is(p,ol){color:var(--muted);font-size:var(--text-base)}.install-help-dialog ol{gap:var(--space-3);margin:var(--space-6) 0;padding-left:var(--space-5);display:grid}.install-help-done{width:100%}.warranty-placeholder{min-height:var(--space-64);margin:var(--space-8) 0;color:var(--muted);place-items:center;display:grid}@media (max-width:640px){:root{--panel-padding:var(--space-5);--section-gap:var(--space-6)}:is(.install-help-backdrop,.store-modal-backdrop){padding:var(--space-3)}.install-help-dialog{padding:var(--space-6)}}.app-shell{max-width:var(--page-width);padding:0 var(--page-gutter) var(--space-8);margin:0 auto}.game-tools-nav{min-height:var(--space-14);justify-content:space-between;align-items:center;gap:var(--space-6);border-bottom:var(--stroke) solid var(--line);padding:var(--space-2) 0;border-top:0;margin-top:0;display:flex}.game-tools-brand{color:var(--muted);font-size:var(--text-xs);white-space:nowrap}.game-tools-brand>span{color:var(--text-faint)}.game-tools-links{align-items:center;gap:var(--space-2);display:flex}.game-tools-button{align-items:center;gap:var(--space-2);min-height:var(--control-height);color:var(--text-secondary);font-size:var(--text-sm);white-space:nowrap;padding:var(--space-2) var(--space-3);border:var(--stroke) solid var(--line);border-radius:var(--radius-sm);background:var(--surface);font-weight:var(--weight-medium);justify-content:center;text-decoration:none;display:flex}.game-tools-button:hover{color:var(--ink);border-color:var(--line-strong)}.game-tools-current{color:var(--green-dark);background:var(--accent-soft);border-color:var(--accent-border)}.game-tools-current-label{display:none}.game-tools-icon{width:var(--icon-sm);height:var(--icon-sm)}.game-tools-external{width:var(--icon-xs);height:var(--icon-xs);color:var(--text-faint)}.topbar{align-items:center;gap:var(--space-3);padding:var(--space-5) 0;border-bottom:var(--stroke) solid var(--line);flex-wrap:nowrap;display:flex}.brand-mark{width:var(--control-height);height:var(--control-height);flex-shrink:0;display:block}.brand-name{font-size:var(--text-lg);font-weight:var(--weight-bold);letter-spacing:var(--tracking-tight)}.install-app-button{margin-left:auto}.connection-pill{align-items:center;gap:var(--space-2);padding:var(--space-2) var(--space-3);color:var(--muted);font-size:var(--text-xs);white-space:nowrap;display:flex}.status-dot{width:var(--dot-size);height:var(--dot-size);border-radius:var(--radius-full);background:var(--text-faint)}.connection-pill.connected{color:var(--green)}.connection-pill.connected .status-dot{background:var(--green);box-shadow:var(--shadow-dot)}.mode-tabs{gap:var(--space-5);width:auto;margin-top:0;margin-left:var(--space-5);border-bottom:0;flex:1;display:flex}.mode-tabs button{min-height:var(--control-height);padding:var(--space-3) 0;color:var(--muted);background:var(--color-transparent);font-size:var(--text-base);font-weight:var(--weight-medium);white-space:nowrap;border:0;position:relative}.mode-tabs button:hover{color:var(--ink)}.mode-tabs button.active{color:var(--green-dark);font-weight:var(--weight-semibold)}.mode-tabs button.active:after{content:"";bottom:calc(-1 * var(--stroke));height:var(--stroke-strong);border-radius:var(--radius-full);background:var(--green);position:absolute;left:0;right:0}.mode-panel.is-hidden{display:none}.result-grid{gap:var(--space-5);margin-top:var(--space-6);grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);display:grid}.serial-box{align-items:center;gap:var(--space-3);margin-top:var(--space-6);padding:var(--space-4);border-radius:var(--radius-md);background:var(--surface-subtle);border:var(--stroke) solid var(--line);flex-wrap:wrap;display:flex}.serial-box>span{width:100%;color:var(--muted);font-size:var(--text-xs)}.serial-box strong{overflow-wrap:anywhere;min-width:0;font-family:var(--font-mono);font-size:var(--text-xl);font-weight:var(--weight-medium);letter-spacing:var(--tracking-mono);flex:1}.serial-box button{padding:var(--space-2) var(--space-3);border:var(--stroke) solid var(--line);border-radius:var(--radius-xs);background:var(--surface);font-size:var(--text-xs)}.device-meta{margin:var(--space-4) 0}.device-meta div{justify-content:space-between;gap:var(--space-6);padding:var(--space-2) 0;font-size:var(--text-sm);display:flex}.device-meta dd{text-align:right;overflow-wrap:anywhere}.identity-actions{gap:var(--space-3);margin-top:var(--space-5);flex-wrap:wrap;display:flex}.identity-actions .start-diagnostics-button{flex:1}.empty-state{align-content:center;justify-items:start;gap:var(--space-4);padding:var(--space-5) 0 0;text-align:left;display:grid}.empty-state p{max-width:100%;color:var(--muted);font-size:var(--text-sm);overflow-wrap:anywhere;margin:0}.empty-state-actions{justify-content:flex-start;gap:var(--space-2);flex-wrap:wrap;display:flex}.empty-state-actions button.primary{color:var(--on-accent);background:var(--green);border-color:var(--green)}.empty-state-actions button.primary:hover{background:var(--green-dark)}.usb-identity-message{color:var(--muted);font-size:var(--text-xs);margin:0;display:block}.usb-identity-message.error{color:var(--danger)}.usb-identity-message.unsupported{color:var(--warning)}.feedback-status:empty{display:none}.official-warranty-card{background:var(--surface-subtle);flex-direction:column;display:flex}.official-warranty-panel{padding-top:var(--space-5);flex-direction:column;flex:1;justify-content:flex-start;align-items:start;display:flex}.official-warranty-panel>strong{font-size:var(--text-lg)}.official-warranty-panel>p{margin:0 0 var(--space-5);color:var(--muted);font-size:var(--text-sm)}.official-warranty-panel>a{min-height:var(--control-height);color:var(--green-dark);font-weight:var(--weight-semibold);align-items:center;text-decoration:none;display:flex}.official-warranty-panel>a:hover{text-decoration:underline}@media (max-width:800px){.topbar{flex-wrap:wrap}.mode-tabs{flex:none;order:3;justify-content:space-between;width:100%;margin:0}.result-grid{grid-template-columns:1fr}.official-warranty-panel{padding-top:var(--space-5)}}@media (max-width:640px){.game-tools-brand,.game-tools-external{display:none}.game-tools-links{justify-content:space-between;width:100%}.topbar{gap:var(--space-2);padding:var(--space-4) 0 0;border-bottom:0;flex-wrap:wrap}.brand-mark{width:var(--space-10);height:var(--space-10)}.install-app-button{min-height:var(--space-10);padding:var(--space-2) var(--space-3);font-size:var(--text-xs)}.connection-pill{width:100%;padding:var(--space-2) 0 0;order:2}.mode-tabs{border-bottom:var(--stroke) solid var(--line);flex:none;order:3;justify-content:space-between;gap:0;width:100%;margin:0}.mode-tabs button{font-size:var(--text-xs)}.result-grid{margin-top:var(--space-4)}.game-tools-links{grid-template-columns:1fr 1.35fr 1fr;display:grid}.game-tools-button{gap:var(--space-1);min-width:0;padding:var(--space-2);font-size:var(--text-xs)}}:root{--controller-elite-shell-top:#505358;--controller-elite-shell-mid:#303338;--controller-elite-shell-bottom:#1b1e23;--controller-elite-metal:#aab0b7;--controller-elite-metal-edge:#555d67;--controller-elite-metal-dark:#555e69;--controller-elite-metal-light:#d5d9df;--controller-profile-off:#151a1d;--controller-profile-on:#f0f4f8;--controller-trigger-label:#63756a;--controller-trigger-value:#8a998e;--controller-trigger-track:#dbe4dc;--controller-trigger-fill:#51b86d;--controller-texture:#c1cec3;--controller-trigger-edge:#14221a;--controller-trigger-highlight:#778b7b;--controller-trigger-active:#8df0a7;--controller-trigger-value-active:#288044;--controller-key-active:#8fe5a5;--controller-key-label:#bbc9bf;--controller-shoulder-label:#c4d0c7;--controller-key-rim:#a2b0a5;--controller-socket-edge:#66776b;--controller-socket:#17241b;--controller-socket-outline:#0d1912;--controller-motion-ring:#6c8271;--controller-motion-active:#95e9ac;--controller-stick-knurl:#87958b;--controller-cap-inset:#26332b;--controller-cap-outline:#14231a;--controller-cap-highlight:#95a799;--controller-stick-label:#9bab9f;--controller-dpad-mark:#98aa9e;--controller-face-highlight:#cad6cd;--controller-face-a:#87de91;--controller-face-b:#f3847c;--controller-face-x:#7dbaff;--controller-face-y:#f0d476;--controller-home-symbol:#3e5143;--controller-center-symbol:#b7c7bb;--controller-pressed-outline:#c4f4d0;--controller-pressed-ink:#193622;--controller-pressed-cap:#83d89a;--controller-pressed-cap-outline:#b8edc6;--controller-shell-top:#555d5b;--controller-shell-mid:#353d3a;--controller-shell-bottom:#222a27;--controller-shell-edge-top:#a4ada7;--controller-shell-edge-mid:#454f49;--controller-shell-edge-bottom:#111a15;--controller-key-top:#414946;--controller-key-mid:#252e29;--controller-key-bottom:#151e19;--controller-stick-top:#47514b;--controller-stick-mid:#28332c;--controller-stick-bottom:#171f1a;--controller-dish-top:#748078;--controller-dish-mid:#414d44;--controller-dish-dark:#252f28;--controller-dish-bottom:#535f55;--controller-grip-top:#1b251e;--controller-grip-bottom:#141e17;--controller-shadow:#253e2c;--controller-body-edge:#18221b;--controller-shell-seam:#a3b0a5;--controller-grip-seam:#111c15;--controller-shoulder-edge:#152019;--controller-stick-shadow:#0c160f;--controller-stick-edge:#66746a;--controller-dpad-shadow:#142019;--controller-dpad-socket:#19271d;--controller-dpad-edge:#6b7b6e;--controller-dish-edge:#101c13;--controller-dish-seam:#92a397;--controller-dpad-face:#354439;--controller-face-shadow:#111b14;--controller-face-edge:#64726a;--controller-home-edge:#839087;--controller-home-face:#dbe4dd;--controller-center-edge:#657269;--controller-type-face:19px;--controller-type-key:14px;--controller-type-label:12px;--controller-type-value:11px;--controller-type-shoulder:10px}.controller-visual-model{width:100%;max-width:var(--controller-max-width);height:auto;display:block;overflow:visible}.visual-trigger-label,.visual-trigger-value{fill:var(--controller-trigger-label);font:var(--weight-semibold) var(--controller-type-label) var(--font-mono)}.visual-trigger-value{fill:var(--controller-trigger-value);text-anchor:end;font-size:var(--controller-type-value)}.visual-trigger-track{fill:var(--controller-trigger-track)}.visual-trigger-fill{fill:var(--controller-trigger-fill);transition:width var(--duration-input) linear}.visual-trigger-leader{fill:none;stroke:var(--controller-texture);stroke-width:1px}.trigger-hardware{stroke:var(--controller-trigger-edge);stroke-width:1.5px}.trigger-hardware-accent{fill:none;stroke:var(--controller-trigger-highlight);stroke-width:2px;stroke-linecap:round}.visual-trigger.engaged .trigger-hardware-accent{stroke:var(--controller-trigger-active)}.visual-trigger.engaged .visual-trigger-value{fill:var(--controller-trigger-value-active)}.controller-button{--key-accent:var(--controller-key-active)}.controller-button .button-face{transition:fill var(--duration-input) var(--ease), stroke var(--duration-input) var(--ease)}.controller-button-label{text-anchor:middle;dominant-baseline:central;pointer-events:none;font:var(--weight-semibold) var(--controller-type-key) var(--font-mono);fill:var(--controller-key-label)}.controller-button .shoulder-label{font-size:var(--controller-type-shoulder);fill:var(--controller-shoulder-label)}.button-rim{fill:none;stroke:var(--controller-key-rim);stroke-width:.8px;stroke-opacity:.45}.stick-socket-edge{fill:var(--controller-socket-edge);opacity:.45}.stick-socket{fill:var(--controller-socket);stroke:var(--controller-socket-outline);stroke-width:2px}.stick-motion-ring{fill:none;stroke:var(--controller-motion-ring);stroke-width:1.3px;stroke-opacity:.5;transition:stroke var(--duration-fast) var(--ease)}.visual-stick.moving .stick-motion-ring{stroke:var(--controller-motion-active);stroke-opacity:1;stroke-width:2px}.stick-knurl{fill:none;stroke:var(--controller-stick-knurl);stroke-width:2px;stroke-dasharray:1 2;stroke-opacity:.42}.stick-cap-inset{fill:var(--controller-cap-inset);stroke:var(--controller-cap-outline);stroke-width:.9px}.stick-cap-highlight{fill:none;stroke:var(--controller-cap-highlight);stroke-opacity:.35;stroke-width:.8px}.controller-button .stick-label{fill:var(--controller-stick-label);font-size:var(--controller-type-label);font-weight:var(--weight-medium)}.dpad-direction-mark{fill:none;stroke:var(--controller-dpad-mark);stroke-opacity:.7;stroke-width:1.3px;stroke-linecap:round;stroke-linejoin:round}.face-key-halo{fill:var(--key-accent);opacity:0;transition:opacity var(--duration-input) var(--ease)}.face-key-highlight{fill:none;stroke:var(--controller-face-highlight);stroke-width:.7px;stroke-opacity:.22}.controller-button .face-label{font-size:var(--controller-type-face);font-weight:var(--weight-semibold);fill:var(--key-accent)}.controller-button.button-0{--key-accent:var(--controller-face-a)}.controller-button.button-1{--key-accent:var(--controller-face-b)}.controller-button.button-2{--key-accent:var(--controller-face-x)}.controller-button.button-3{--key-accent:var(--controller-face-y)}.home-symbol{fill:var(--controller-home-symbol)}.center-symbol{fill:none;stroke:var(--controller-center-symbol);stroke-width:1.3px;stroke-linecap:round;stroke-linejoin:round}.controller-button.pressed .button-face{fill:var(--key-accent);stroke:var(--controller-pressed-outline);transition:none}.controller-button.pressed .face-key-halo{opacity:.23}.controller-button.pressed .controller-button-label{fill:var(--controller-pressed-ink)}.controller-button.pressed .stick-cap-inset{fill:var(--controller-pressed-cap);stroke:var(--controller-pressed-cap-outline)}.controller-button.pressed .center-symbol,.controller-button.pressed .dpad-direction-mark{stroke:var(--controller-pressed-ink)}.controller-button.pressed .home-symbol{fill:var(--controller-pressed-ink)}.model-elite-2{--controller-shell-top:var(--controller-elite-shell-top);--controller-shell-mid:var(--controller-elite-shell-mid);--controller-shell-bottom:var(--controller-elite-shell-bottom);--controller-dish-top:var(--controller-elite-metal-light);--controller-dish-mid:var(--controller-elite-metal);--controller-dish-dark:var(--controller-elite-metal-dark);--controller-dish-bottom:var(--controller-elite-metal);--controller-dpad-face:var(--controller-elite-metal)}.profile-led{fill:var(--controller-profile-off)}.model-elite-2 .shape-face:not(.pressed) .face-label{fill:var(--controller-elite-metal-light)}.model-elite-2 .stick-socket-edge{fill:var(--controller-elite-metal);opacity:1}.profile-led.lit{fill:var(--controller-profile-on)}.elite-rear-model{width:100%;max-width:var(--elite-rear-width);height:auto;display:block}.paddle-label{fill:var(--controller-elite-metal-light);text-anchor:middle;font:var(--weight-semibold) var(--controller-type-label) var(--font-mono)}.diagnostics-shell{padding:var(--section-gap) 0 0}.diagnostics-intro{margin-bottom:var(--space-5)}.diagnostics-status{grid-template-columns:var(--dot-size) minmax(0, 1fr) auto;align-items:center;gap:var(--space-4);padding:var(--space-5);border:var(--stroke) solid var(--line);border-radius:var(--radius-md);background:var(--surface);display:grid}.status-light{width:var(--dot-size);height:var(--dot-size);border-radius:var(--radius-full);background:var(--text-faint);flex-shrink:0}.diagnostics-status.disconnected .status-light{background:var(--warning)}.diagnostics-connection-copy{flex:1;min-width:0}.diagnostics-status strong{font-size:var(--text-base)}.diagnostics-status p{margin:var(--space-1) 0 0;color:var(--muted);font-size:var(--text-xs)}.diagnostic-module-nav{gap:var(--space-2);margin-bottom:var(--space-5);display:flex}.diagnostic-module-nav a{align-items:center;gap:var(--space-3);min-height:var(--control-height);padding:var(--space-2) var(--space-4);border:var(--stroke) solid var(--line);border-radius:var(--radius-full);color:var(--text-secondary);background:var(--color-transparent);text-decoration:none;display:flex}.diagnostic-module-nav a:hover{background:var(--surface);border-color:var(--line-strong)}.diagnostic-module-nav b{color:var(--text-faint);font:var(--text-xs) var(--font-mono)}.diagnostic-module-nav strong{font-size:var(--text-sm);font-weight:var(--weight-medium)}.diagnostic-module-nav span{color:var(--muted);font-size:var(--text-xs)}.controller-workbench{grid-template-columns:minmax(0, 1fr) var(--space-80);border:var(--stroke) solid var(--line);border-radius:var(--radius-lg);background:var(--surface);display:grid;overflow:hidden}.workbench-visual{min-width:0;padding:var(--panel-padding);background:var(--controller-stage);flex-direction:column;display:flex}.workbench-heading{justify-content:space-between;align-items:center;gap:var(--space-3);display:flex}.workbench-heading h2{margin:var(--space-2) 0 0}.workbench-connection{align-items:center;gap:var(--space-2);color:var(--muted);font-size:var(--text-xs);flex-shrink:0;display:flex}.workbench-connection strong{font-weight:var(--weight-medium)}.workbench-connection small{font:var(--text-xs) var(--font-mono)}.live-dot{width:var(--dot-size);height:var(--dot-size);border-radius:var(--radius-full);background:var(--text-faint)}.online .live-dot{background:var(--green);box-shadow:var(--shadow-dot)}.online .workbench-connection{color:var(--green)}.controller-map{min-width:0;padding:var(--space-5) 0;flex:1;align-items:center;display:grid}.workbench-visual-footer{justify-content:center;gap:var(--space-5);color:var(--muted);font-size:var(--text-xs);flex-wrap:wrap;display:flex}.workbench-visual-footer span{align-items:center;gap:var(--space-2);display:inline-flex}.workbench-visual-footer i{width:var(--dot-size);height:var(--dot-size);border-radius:var(--radius-full);background:var(--green)}.workbench-telemetry{gap:var(--space-6);min-width:0;padding:var(--space-6);border-left:var(--stroke) solid var(--line);flex-direction:column;display:flex}.device-telemetry header,.telemetry-analog header{color:var(--muted);font-size:var(--text-xs);justify-content:space-between;display:flex}.device-telemetry header strong{font:var(--text-xs) var(--font-mono)}.device-telemetry h3{margin:var(--space-3) 0 var(--space-2);overflow-wrap:anywhere;font-size:var(--text-base)}.device-telemetry p{color:var(--muted);font-size:var(--text-xs);margin:0}.device-telemetry .mapping-hint{margin-top:var(--space-2);color:var(--warning)}.device-telemetry dl{margin:var(--space-3) 0 0;font-size:var(--text-xs)}.device-telemetry dl:empty{display:none}.device-telemetry dd{margin-top:var(--space-1);font-family:var(--font-mono);overflow-wrap:anywhere}.live-event-card{padding:var(--space-4);border:var(--stroke) solid var(--line);border-radius:var(--radius-sm);background:var(--surface-subtle)}.live-event-card span,.live-event-card small{color:var(--muted);font-size:var(--text-xs);display:block}.live-event-card strong{min-height:var(--space-6);margin:var(--space-2) 0;color:var(--green-dark);font-size:var(--text-sm);display:block}.telemetry-analog{margin-top:auto}.telemetry-analog header strong{font-weight:var(--weight-regular)}.telemetry-sticks{gap:var(--space-3);padding:var(--space-4) 0 var(--space-5);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.stick-readout{justify-items:center;gap:var(--space-2);grid-template-columns:minmax(0,1fr);min-width:0;display:grid}.stick-readout>strong{font-size:var(--text-xs);font-weight:var(--weight-medium)}.stick-readout>span{color:var(--muted);font:var(--text-xs) var(--font-mono);font-variant-numeric:tabular-nums;white-space:nowrap}.stick-coordinates{justify-content:center;gap:var(--space-2);display:flex}.stick-coordinate{align-items:baseline;gap:var(--space-1);display:flex}.stick-coordinate-value{width:var(--stick-value-width);text-align:right}.stick-plot{width:var(--stick-size);height:var(--stick-size);border:var(--stroke) solid var(--line-strong);border-radius:var(--radius-full);background:var(--surface-subtle);flex-shrink:0;position:relative;overflow:hidden}.stick-plot:after{content:"";border:var(--stroke) dashed var(--line);border-radius:var(--radius-full);position:absolute;inset:25%}.stick-plot .axis{background:var(--line);position:absolute}.stick-plot .horizontal{height:var(--stroke);inset:50% 0 auto}.stick-plot .vertical{width:var(--stroke);inset:0 auto 0 50%}.stick-dot{z-index:var(--z-content);width:var(--stick-dot-size);height:var(--stick-dot-size);border-radius:var(--radius-full);background:var(--green);box-shadow:var(--shadow-dot);position:absolute;transform:translate(-50%,-50%)}.stick-dot.away{background:var(--green)}.telemetry-triggers{gap:var(--space-5);grid-template-columns:1fr 1fr;display:grid}.telemetry-triggers header{font-family:var(--font-mono)}.telemetry-triggers strong{align-items:center;gap:var(--space-1);display:flex}.telemetry-trigger-hint{margin:var(--space-2) 0 0;color:var(--muted);font-size:var(--text-xs)}.telemetry-triggers b{font-weight:var(--weight-medium);font-variant-numeric:tabular-nums}.telemetry-triggers>div>span{height:var(--space-1);margin-top:var(--space-2);border-radius:var(--radius-full);background:var(--surface-inset);display:block;overflow:hidden}.telemetry-triggers i{background:var(--green);border-radius:inherit;height:100%;display:block}.overall-result{justify-content:space-between;align-items:center;gap:var(--space-6);margin:var(--space-5) 0;padding:var(--space-5) var(--panel-padding);border:var(--stroke) solid var(--line);border-radius:var(--radius-md);background:var(--ink);color:var(--on-accent);display:flex}.overall-result.pass{background:var(--green-dark)}.overall-result.warn{background:var(--warning)}.overall-result.fail{background:var(--danger)}.overall-result>div:first-child span,.overall-result>div:first-child small{color:var(--white-muted);font-size:var(--text-xs);display:block}.overall-result>div:first-child strong{font-size:var(--text-lg);margin:var(--space-1) 0;display:block}.result-metrics{gap:var(--space-8);display:flex}.result-metrics>span{font:var(--text-xs) var(--font-mono);color:var(--white-muted);grid-template-columns:auto auto;align-items:baseline;display:grid}.result-metrics b{font-size:var(--text-xl);color:var(--on-accent);font-weight:var(--weight-medium)}.result-metrics small{font:var(--text-xs) var(--font-sans);grid-column:1/-1}.diagnostics-grid{gap:var(--space-5);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.buttons-card{grid-column:1/-1}.diagnostic-card{scroll-margin-top:var(--space-6);min-width:0}.diagnostic-heading{justify-content:space-between;align-items:center;gap:var(--space-4);display:flex}.diagnostic-heading>div{align-items:center;gap:var(--space-3);display:flex}.diagnostic-heading>div>span{color:var(--text-faint);font:var(--text-xs) var(--font-mono)}.diagnostic-heading h2{font-size:var(--text-lg);margin:0}.diagnostic-heading>strong{font:var(--text-base) var(--font-mono);color:var(--muted)}.diagnostic-heading>strong:is(.ok,.pass){color:var(--green)}.diagnostic-heading>strong.warn{color:var(--warning)}.diagnostic-heading>strong.fail{color:var(--danger)}.instruction{color:var(--muted);font-size:var(--text-sm);margin:var(--space-3) 0 var(--space-6)}.fine-print{color:var(--muted);font-size:var(--text-xs)}.button-checklist{gap:var(--space-3);grid-template-columns:1fr 1fr 1.45fr;display:grid}.control-group{min-width:0;padding:var(--space-4);border:var(--stroke) solid var(--line);border-radius:var(--radius-md);background:var(--surface-subtle)}.control-group header{justify-content:space-between;align-items:baseline;gap:var(--space-2);margin-bottom:var(--space-3);display:flex}.control-group h3{font-size:var(--text-sm);font-weight:var(--weight-semibold);margin:0}.control-group header>span{color:var(--muted);font-size:var(--text-xs)}.control-group-direction,.control-group-face{flex-direction:column;grid-row:span 3;display:flex}:is(.control-group-direction,.control-group-face) header{gap:var(--space-1) var(--space-2);grid-template-columns:minmax(0,1fr) auto;display:grid}:is(.control-group-direction,.control-group-face) header>span:not(.control-group-progress){grid-column:1}.control-group header .control-group-progress{font:var(--text-xs) var(--font-mono);grid-area:1/2/span 2;align-self:start}.control-group header .control-group-progress.complete{color:var(--green-dark)}.control-cluster{gap:var(--space-2);grid-template-columns:1fr 1fr;display:grid}:is(.control-group-direction,.control-group-face) .control-cluster{grid-template:repeat(3, var(--key-tile-size)) / repeat(3, var(--key-tile-size));place-content:center;gap:var(--space-1);flex:1}:is(.control-group-direction,.control-group-face) .button-test:first-child{grid-area:1/2}:is(.control-group-direction,.control-group-face) .button-test:nth-child(2){grid-area:2/1}:is(.control-group-direction,.control-group-face) .button-test:nth-child(3){grid-area:2/3}:is(.control-group-direction,.control-group-face) .button-test:nth-child(4){grid-area:3/2}.button-test{align-items:center;gap:var(--space-3);min-width:0;min-height:var(--key-tile-size);padding:var(--space-2) var(--space-3);border:var(--stroke) solid var(--line);border-radius:var(--radius-sm);background:var(--surface);display:flex}.button-test strong{font-size:var(--text-xs);font-weight:var(--weight-medium);display:block}.button-test small{align-items:center;gap:var(--space-1);color:var(--muted);font-size:var(--text-xs);white-space:nowrap;display:flex}:is(.control-group-direction,.control-group-face) .button-test{justify-content:center;padding:0}:is(.control-group-direction,.control-group-face) .button-test>div{display:none}.control-group-face .button-test{border-radius:var(--radius-full)}.control-icon-wrap{width:var(--key-glyph-size);height:var(--key-glyph-size);color:var(--text-secondary);flex-shrink:0;place-items:center;display:grid;position:relative}.completion-check{width:var(--key-check-size);height:var(--key-check-size);color:var(--green-dark);flex-shrink:0}.control-glyph{flex-shrink:0;place-items:center;display:grid}.control-glyph.face{width:var(--key-glyph-size);height:var(--key-glyph-size);border-radius:var(--radius-full);color:var(--on-accent);font:var(--weight-semibold) var(--text-base) var(--font-mono);box-shadow:var(--shadow-key)}.face-a{background:var(--face-a)}.face-b{background:var(--face-b)}.face-x{background:var(--face-x)}.control-glyph.face-y{color:var(--face-y-ink);background:var(--face-y)}.control-glyph.shoulder{width:var(--space-8);height:var(--space-5);border:var(--stroke) solid var(--line-strong);border-radius:var(--radius-xs);font:var(--weight-semibold) var(--text-xs) var(--font-mono)}.control-glyph.line-icon,.control-glyph.arrow-icon{width:var(--icon-md);height:var(--icon-md);fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round}.control-glyph.arrow-icon{fill:currentColor;stroke:none}.control-glyph.stick-press{width:var(--key-glyph-size);height:var(--key-glyph-size);border:var(--stroke-strong) solid var(--line-strong);border-radius:var(--radius-full);background:var(--ink);color:var(--on-accent)}.control-glyph.stick-press i{font:var(--text-xs) var(--font-mono)}.button-test.complete{border-color:var(--accent-border);background:var(--accent-soft)}.button-test.complete small{color:var(--green-dark)}.button-test.pressed{border-color:var(--green);box-shadow:var(--shadow-focus);background:var(--green-100)}.optional-controls{margin-top:var(--space-5);color:var(--muted);font-size:var(--text-xs)}.optional-controls summary span{margin-left:var(--space-3);color:var(--text-faint)}.optional-controls>div{gap:var(--space-3);margin-top:var(--space-3);display:flex}.analog-tests{grid-template-columns:1fr;display:grid}.analog-tests>section{padding:var(--space-4) 0}.analog-tests>section+section{border-top:var(--stroke) solid var(--line)}.analog-tests>section:last-child{padding-bottom:0}.analog-test-action{justify-content:space-between;align-items:center;gap:var(--space-3);display:flex}.analog-test-action>div{min-width:0}.analog-tests header{justify-content:space-between;align-items:center;gap:var(--space-3);display:flex}.analog-tests header strong{font-size:var(--text-base)}.analog-tests header span{color:var(--muted);font:var(--text-xs) var(--font-mono)}.analog-tests p{margin:var(--space-1) 0 0;color:var(--muted);font-size:var(--text-sm)}.analog-tests button{min-height:var(--control-height);padding:var(--space-2) var(--space-4);border:var(--stroke) solid var(--line-strong);border-radius:var(--radius-sm);background:var(--surface);color:var(--green-dark);font-size:var(--text-sm);flex-shrink:0}.metric-results,.range-results{gap:var(--space-2);margin-top:var(--space-3);grid-template-columns:1fr 1fr;display:grid}.metric-results>div,.range-results>div{min-width:0;padding:var(--space-3);border-radius:var(--radius-sm);font-size:var(--text-xs)}.metric-results :is(span,strong,small),.range-results :is(span,small){display:block}.metric-results small,.range-results small{font:var(--text-xs)/var(--leading-body) var(--font-mono);overflow-wrap:anywhere}.metric-results .pass,.range-results .pass{color:var(--green-dark);background:var(--accent-soft)}.metric-results .warn,.range-results .warn{color:var(--warning);background:var(--warning-soft)}.metric-results .fail,.range-results .fail{color:var(--danger);background:var(--danger-soft)}.haptic-access-panel{margin:var(--space-3) 0;color:var(--muted);font-size:var(--text-sm)}.haptic-access-panel.blocked{color:var(--warning)}.vibration-profile-grid{gap:var(--space-2);grid-template-columns:repeat(3,1fr);display:grid}.vibration-profile-grid button{min-width:0;min-height:var(--control-height);padding:var(--space-3) var(--space-2);border:var(--stroke) solid var(--line);border-radius:var(--radius-sm);background:var(--surface)}.vibration-profile-grid strong{font-size:var(--text-sm);font-weight:var(--weight-medium)}.vibration-profile-grid button.selected{border-color:var(--green);background:var(--accent-soft);color:var(--green-dark)}.workbench-vibration-confirm{margin-top:var(--space-4);font-size:var(--text-xs);color:var(--muted)}.workbench-vibration-confirm>div{gap:var(--space-2);margin-top:var(--space-2);grid-template-columns:1fr 1fr;display:grid}.workbench-vibration-confirm button{min-height:var(--control-height);padding:var(--space-2) var(--space-3);border:var(--stroke) solid var(--line);border-radius:var(--radius-sm);background:var(--surface);font-size:var(--text-xs)}.workbench-vibration-confirm .selected.good{background:var(--accent-soft);border-color:var(--green);color:var(--green-dark)}.workbench-vibration-confirm .selected.bad{background:var(--danger-soft);border-color:var(--danger);color:var(--danger)}.workbench-vibration-confirm .selected.skip{background:var(--warning-soft);border-color:var(--warning);color:var(--warning)}.workbench-vibration-confirm.unavailable>button{margin-top:var(--space-3);display:block}.inline-info,.inline-warning{margin:var(--space-3) 0;font-size:var(--text-xs)}.inline-info{color:var(--muted)}.inline-warning{color:var(--warning)}.vibration-result-summary{align-items:center;gap:var(--space-3);margin-top:var(--space-4);padding-top:var(--space-4);border-top:var(--stroke) solid var(--line);font-size:var(--text-sm);display:flex}.vibration-result-summary span{color:var(--muted)}.vibration-result-summary strong{font-weight:var(--weight-medium)}.vibration-result-summary.confirmed strong{color:var(--green)}.vibration-result-summary.failed strong{color:var(--danger)}@media (max-width:1000px){.controller-workbench{grid-template-columns:1fr}.workbench-telemetry{border-left:0;border-top:var(--stroke) solid var(--line);grid-template-columns:1fr 1fr;display:grid}.telemetry-analog{grid-area:1/2/3}.live-event-card{grid-column:1}.button-checklist{grid-template-columns:1fr 1fr}.control-group-direction,.control-group-face{min-height:var(--space-72);grid-row:auto}.control-group-pair{grid-column:1/-1}}@media (max-width:640px){.diagnostics-status{flex-wrap:wrap}.diagnostics-connection-actions button{flex:1}.diagnostic-module-nav{justify-content:space-between;gap:var(--space-1)}.diagnostic-module-nav a{padding:var(--space-2) var(--space-3);gap:var(--space-2)}.diagnostic-module-nav span{display:none}.workbench-heading h2{font-size:var(--text-lg)}.workbench-kicker{font-size:var(--text-xs);letter-spacing:normal}.workbench-visual{padding:var(--space-5) var(--space-3)}.controller-map{margin:0 calc(-1 * var(--space-2));padding:var(--space-4) 0}.workbench-visual-footer{gap:var(--space-3);font-size:var(--text-xs)}.workbench-visual-footer span:last-child{display:none}.workbench-telemetry{padding:var(--space-5);display:flex}.device-telemetry{display:none}.stick-coordinates{flex-direction:column;gap:0}.overall-result{align-items:stretch;gap:var(--space-4);flex-direction:column}.result-metrics{justify-content:space-between;gap:var(--space-3)}.diagnostics-grid{grid-template-columns:1fr}.button-checklist{gap:var(--space-2)}.control-group{padding:var(--space-3)}.control-group-direction,.control-group-face{--key-tile-size:var(--key-tile-compact);min-height:var(--space-56)}.control-group-direction .control-icon-wrap,.control-group-face .control-icon-wrap{--key-glyph-size:var(--icon-md)}.control-group-pair header span{font-size:var(--text-xs)}.control-group-pair .button-test{justify-content:center;gap:var(--space-1);padding:var(--space-2);text-align:center;flex-direction:column}.control-group-pair .button-test small{justify-content:center}}.elite-rear-preview{justify-content:center;align-items:center;gap:var(--space-4);padding:0 var(--space-5) var(--space-4);display:flex}.elite-rear-preview>div{gap:var(--space-2);font-size:var(--text-sm);display:grid}.elite-rear-preview span,.elite-paddle-tests p{color:var(--muted);font-size:var(--text-xs)}.elite-paddle-tests{margin-top:var(--space-5);padding-top:var(--space-5);border-top:var(--stroke) solid var(--line)}.elite-paddle-tests>header{margin-bottom:var(--space-3);justify-content:space-between;align-items:center;display:flex}.elite-paddle-tests h3{font-size:var(--text-sm);margin:0}.elite-paddle-tests header span{font-size:var(--text-xs);color:var(--muted)}.paddle-checklist{gap:var(--space-2);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.controller-identification{justify-content:space-between;align-items:center;gap:var(--space-3);margin-top:var(--space-4);padding-top:var(--space-4);border-top:var(--stroke) solid var(--line);font-size:var(--text-sm);flex-wrap:wrap;display:flex}.controller-identification p{margin:var(--space-1) 0 0;font-size:var(--text-xs);color:var(--muted)}.controller-input-recovery{align-items:flex-start;gap:var(--space-1);max-width:var(--space-64);border-top:0;flex-direction:column;margin-top:0;padding-top:0}.controller-input-recovery p{color:var(--muted);font-size:var(--text-xs);overflow-wrap:anywhere}.controller-input-recovery .secondary-usb-button{min-height:var(--space-12);border-color:var(--green);color:var(--green-dark);background:var(--accent-soft);font-size:var(--text-base);font-weight:var(--weight-semibold)}.controller-input-recovery .secondary-usb-button:hover:not(:disabled){color:var(--green-dark);border-color:var(--green-dark);background:var(--accent-border)}@media (max-width:640px){.diagnostics-status{grid-template-columns:var(--dot-size) minmax(0, 1fr)}.controller-input-recovery{grid-column:2;max-width:100%}.elite-rear-preview{text-align:center;flex-direction:column}}.store-lookup-shell{padding-top:var(--section-gap)}.store-lookup-intro{gap:var(--space-10);margin-bottom:var(--space-8);grid-template-columns:1.5fr 1fr;align-items:center;display:grid}.store-lookup-intro h1{margin-bottom:var(--space-4)}.store-lookup-intro p{color:var(--muted);font-size:var(--text-sm);margin:0}.channel-data-note{padding:var(--space-5);border-left:var(--stroke) solid var(--line-strong)}.channel-data-note span{color:var(--muted);font-size:var(--text-xs);display:block}.channel-data-note strong{margin:var(--space-2) 0;font-size:var(--text-md);font-weight:var(--weight-medium);display:block}.channel-data-note p{font-size:var(--text-xs)}.channel-search-row{gap:var(--space-3);display:grid}.channel-search-row label{font-size:var(--text-base);font-weight:var(--weight-semibold)}.channel-search-input{position:relative}.channel-search-input>span{top:50%;left:var(--space-4);font-size:var(--text-xl);color:var(--muted);pointer-events:none;position:absolute;transform:translateY(-50%)}.channel-search-input input{width:100%;min-height:var(--control-height-lg);padding:var(--space-3) var(--space-12);border:var(--stroke) solid var(--line-strong);border-radius:var(--radius-sm);color:var(--ink);background:var(--surface-subtle);font-size:var(--text-base)}.channel-search-input input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}.channel-search-input input::placeholder{color:var(--muted)}.channel-search-input button{top:50%;right:var(--space-3);width:var(--space-8);height:var(--space-8);border-radius:var(--radius-xs);background:var(--color-transparent);font-size:var(--text-xl);border:0;position:absolute;transform:translateY(-50%)}.channel-filter-row{justify-content:space-between;align-items:center;gap:var(--space-4);margin:var(--space-5) 0;display:flex}.channel-filters{gap:var(--space-2);flex-wrap:wrap;display:flex}.channel-filters button{min-height:var(--space-10);padding:var(--space-2) var(--space-4);border:var(--stroke) solid var(--color-transparent);border-radius:var(--radius-full);color:var(--muted);background:var(--surface-subtle);font-size:var(--text-xs)}.channel-filters button.active{background:var(--ink);color:var(--on-accent)}.channel-result-count{color:var(--muted);font-size:var(--text-xs);white-space:nowrap}.channel-results{gap:var(--space-3);max-height:var(--channel-scroll-height);padding-right:var(--space-2);scrollbar-color:var(--line-strong) var(--color-transparent);grid-template-columns:1fr 1fr;display:grid;overflow-y:auto}.channel-result{align-items:start;gap:var(--space-4);padding:var(--space-5);border:var(--stroke) solid var(--line);border-radius:var(--radius-md);background:var(--surface-subtle);flex-direction:column;display:flex}.channel-result-main{width:100%;min-width:0}.channel-result-tags{gap:var(--space-2);flex-wrap:wrap;align-items:center;display:flex}.channel-kind,.channel-link-kind{padding:var(--space-1) var(--space-2);border-radius:var(--radius-xs);font-size:var(--text-xs);display:inline-flex}.channel-kind.official{background:var(--accent-soft);color:var(--green-dark)}.channel-kind.listed_partner,.channel-link-kind.direct{color:var(--green-dark);background:var(--accent-soft)}.channel-kind.offline_partner,.channel-link-kind.map_search{color:var(--info);background:var(--info-soft)}.channel-kind.reference,.channel-link-kind.platform_search{color:var(--warning);background:var(--warning-soft)}.channel-platform{color:var(--muted);font-size:var(--text-xs)}.channel-result h2{margin:var(--space-3) 0 var(--space-2);font-size:var(--text-md);overflow-wrap:anywhere}.channel-result p{color:var(--muted);font-size:var(--text-xs);margin:var(--space-1) 0 0}.channel-result p.channel-caution,.channel-result p.channel-link-note{color:var(--warning)}.channel-open-button{margin-top:auto}.channel-empty{min-height:var(--space-64);align-content:center;place-items:center;gap:var(--space-3);text-align:center;display:grid}.channel-empty>span{width:var(--space-12);height:var(--space-12);border-radius:var(--radius-full);background:var(--surface-inset);color:var(--muted);font-size:var(--text-xl);place-items:center;display:grid}.channel-empty p{max-width:var(--space-120);color:var(--muted);font-size:var(--text-sm)}.channel-summary{align-items:center;gap:var(--space-6);padding:var(--space-6) 0;flex-wrap:wrap;display:flex}.channel-summary article{align-items:baseline;gap:var(--space-2);display:flex}.channel-summary strong{font:var(--text-lg) var(--font-mono)}.channel-summary article span{color:var(--muted);font-size:var(--text-xs)}.channel-source-actions{gap:var(--space-2);flex-wrap:wrap;margin-left:auto;display:flex}.channel-source-actions button{font-size:var(--text-xs)}.channel-audit-note{align-items:baseline;gap:var(--space-6);padding:var(--space-5);border-radius:var(--radius-md);background:var(--surface-inset);font-size:var(--text-xs);display:flex}.channel-audit-note strong{font-weight:var(--weight-medium);flex-shrink:0}.channel-audit-note p{color:var(--muted);margin:0}.channel-disclaimer{color:var(--muted);font-size:var(--text-xs);margin:var(--space-5) 0 0}@media (max-width:800px){.store-lookup-intro{gap:var(--space-5);grid-template-columns:1fr}.channel-data-note{padding:0 0 0 var(--space-4)}.channel-source-actions{margin-left:0}}@media (max-width:640px){.channel-results{grid-template-columns:1fr;max-height:none;padding:0}.channel-filter-row{align-items:start}.channel-filters{gap:var(--space-1)}.channel-filters button{padding:var(--space-2) var(--space-3)}.channel-audit-note{gap:var(--space-2);flex-direction:column}}.store-checkout-dialog,.store-orders-dialog{width:min(var(--checkout-width), 100%);border-radius:var(--radius-xl);background:var(--surface);max-height:92dvh;box-shadow:var(--shadow-dialog);position:relative;overflow-y:auto}.store-orders-dialog{width:min(var(--orders-width), 100%);padding:var(--space-8)}.store-modal-close{z-index:var(--z-content)}.store-checkout-product{grid-template-columns:var(--space-20) minmax(0, 1fr) auto;align-items:center;gap:var(--space-4);padding:var(--space-6) var(--space-16) var(--space-6) var(--space-6);border-bottom:var(--stroke) solid var(--line);display:grid}.store-checkout-product img{width:var(--space-20);height:var(--space-16);object-fit:cover;border-radius:var(--radius-sm)}.store-checkout-product small,.store-orders-dialog header small{color:var(--muted);font-size:var(--text-xs)}.store-checkout-product h2{font-size:var(--text-md);margin:var(--space-1) 0 0}.store-checkout-product>b{font:var(--text-xl) var(--font-mono);white-space:nowrap}.store-checkout-form{gap:var(--space-5);padding:var(--space-6);display:grid}.store-form-row{gap:var(--space-4);grid-template-columns:1fr 1.2fr;display:grid}.store-checkout-form label{gap:var(--space-2);font-size:var(--text-sm);font-weight:var(--weight-medium);display:grid}.store-checkout-form label>span{color:var(--muted);font-size:var(--text-xs)}.store-checkout-form :is(input,textarea,select){width:100%;min-width:0;min-height:var(--control-height);padding:var(--space-2) var(--space-3);border:var(--stroke) solid var(--line-strong);border-radius:var(--radius-sm);color:var(--ink);background:var(--surface);font-size:var(--text-base)}.store-checkout-form textarea{min-height:var(--space-24);resize:vertical}.store-checkout-form select{text-overflow:ellipsis;overflow:hidden}.store-checkout-form select:disabled{opacity:var(--opacity-disabled)}.store-address-selects{gap:var(--space-2);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.store-pay-button{min-height:var(--control-height-lg);padding:var(--space-3) var(--space-5);border-radius:var(--radius-sm);background:var(--payment);color:var(--on-accent);font-size:var(--text-base);font-weight:var(--weight-semibold);border:0}.store-form-error{padding:var(--space-3);color:var(--danger);background:var(--danger-soft);border-radius:var(--radius-sm);font-size:var(--text-xs);margin:0}.store-preview-result{justify-items:center;gap:var(--space-4);padding:var(--space-10) var(--space-6);text-align:center;display:grid}.store-preview-result>span{width:var(--space-14);height:var(--space-14);border-radius:var(--radius-full);background:var(--accent-soft);color:var(--green);font-size:var(--text-xl);place-items:center;display:grid}.store-preview-result h3{font-size:var(--text-lg);margin:0}.store-preview-result p{max-width:var(--space-120);font-size:var(--text-sm);color:var(--muted);margin:0}.store-orders-dialog>header{justify-content:space-between;align-items:center;gap:var(--space-5);padding-right:var(--space-10);display:flex}.store-orders-dialog header h2{margin:var(--space-1) 0 0}.store-orders-dialog>header button{min-height:var(--control-height);padding:var(--space-2) var(--space-4);border:var(--stroke) solid var(--line);border-radius:var(--radius-sm);background:var(--surface);font-size:var(--text-xs)}.store-orders-empty{margin-top:var(--space-6);padding:var(--space-10) var(--space-5);background:var(--surface-subtle);border-radius:var(--radius-md);color:var(--muted);text-align:center}.store-order-list{gap:var(--space-4);margin-top:var(--space-6);display:grid}.store-order-card{grid-template-columns:var(--space-24) minmax(0, 1fr) auto;align-items:center;gap:var(--space-4);padding:var(--space-4);border:var(--stroke) solid var(--line);border-radius:var(--radius-md);display:grid}.store-order-card>img{width:var(--space-24);height:var(--space-20);object-fit:cover;border-radius:var(--radius-sm)}.store-order-main{min-width:0}.store-order-main h3{margin:var(--space-2) 0;font-size:var(--text-base)}.store-order-main>small{color:var(--muted);font:var(--text-xs) var(--font-mono);overflow-wrap:anywhere}.store-order-main>p{color:var(--muted);margin:var(--space-2) 0 0;font-size:var(--text-xs)}.store-order-actions{gap:var(--space-2);margin-top:var(--space-3);flex-wrap:wrap;display:flex}.store-order-actions :is(a,button){min-height:var(--control-height);padding:var(--space-2) var(--space-3);border:var(--stroke) solid var(--line);border-radius:var(--radius-sm);color:var(--text-secondary);background:var(--surface);font-size:var(--text-xs);align-items:center;text-decoration:none;display:flex}.store-order-actions>a{background:var(--payment);color:var(--on-accent);border-color:var(--payment)}.store-order-status{padding:var(--space-1) var(--space-2);border-radius:var(--radius-xs);font-size:var(--text-xs);background:var(--surface-inset);color:var(--muted);display:inline-flex}.store-order-status.is-paid{background:var(--warning-soft);color:var(--warning)}.store-order-status.is-shipped{background:var(--accent-soft);color:var(--green-dark)}.store-shipping{gap:var(--space-2);margin-top:var(--space-3);padding:var(--space-3);border-radius:var(--radius-sm);background:var(--accent-soft);color:var(--green-dark);font-size:var(--text-xs);flex-wrap:wrap;display:flex}.store-order-price{font:var(--text-md) var(--font-mono)}@media (max-width:640px){.store-orders-dialog{padding:var(--space-6) var(--space-4)}.store-checkout-product{grid-template-columns:var(--space-16) minmax(0, 1fr);gap:var(--space-3);padding:var(--space-5) var(--space-12) var(--space-5) var(--space-5)}.store-checkout-product img{width:var(--space-16);height:var(--space-14)}.store-checkout-product>b{grid-column:2}.store-form-row{grid-template-columns:1fr}.store-checkout-form{padding:var(--space-5)}.store-order-card{grid-template-columns:var(--space-20) minmax(0, 1fr)}.store-order-card>img{width:var(--space-20);height:var(--space-16)}.store-order-price{grid-column:2}}.secondhand-shell{padding-top:var(--section-gap)}.secondhand-intro{justify-content:space-between;align-items:end;gap:var(--space-6);margin-bottom:var(--space-8);display:flex}.secondhand-intro h1{margin-bottom:var(--space-3)}.secondhand-intro p{color:var(--muted);margin:0}.secondhand-intro-actions{align-items:center;gap:var(--space-5);flex-shrink:0;display:flex}.secondhand-stock{align-items:baseline;gap:var(--space-2);font-size:var(--text-xs);color:var(--muted);display:flex}.secondhand-stock b{font:var(--text-xl) var(--font-mono);color:var(--ink)}.secondhand-grid{align-items:stretch;gap:var(--space-6);grid-template-columns:1fr 1fr;display:grid}.secondhand-card{border:var(--stroke) solid var(--line);border-radius:var(--radius-lg);background:var(--surface);flex-direction:column;min-width:0;display:flex;overflow:hidden}.secondhand-card-gallery{min-width:0;aspect-ratio:var(--inventory-image-ratio);background:var(--surface-inset);position:relative;overflow:hidden}.secondhand-gallery-track{scroll-behavior:smooth;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;width:100%;height:100%;display:flex;overflow-x:auto}.secondhand-gallery-track::-webkit-scrollbar{display:none}.secondhand-gallery-slide{scroll-snap-align:start;scroll-snap-stop:always;flex:0 0 100%;min-width:0;height:100%}.secondhand-gallery-slide img{object-fit:cover;object-position:center;-webkit-user-select:none;user-select:none;width:100%;height:100%;display:block}.secondhand-gallery-arrow{z-index:var(--z-content);width:var(--space-10);height:var(--space-10);border:var(--stroke) solid var(--line);border-radius:var(--radius-full);background:var(--glass);color:var(--ink);font-size:var(--text-2xl);place-items:center;padding:0;line-height:1;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.secondhand-gallery-arrow:hover{background:var(--surface)}.secondhand-gallery-arrow.is-prev{left:var(--space-4)}.secondhand-gallery-arrow.is-next{right:var(--space-4)}.secondhand-gallery-dots{z-index:var(--z-content);bottom:var(--space-4);gap:var(--space-2);padding:var(--space-2) var(--space-3);border-radius:var(--radius-full);background:var(--overlay-soft);display:flex;position:absolute;left:50%;transform:translate(-50%)}.secondhand-gallery-dots button{width:var(--space-2);height:var(--space-2);border-radius:var(--radius-full);background:var(--white-muted);border:0;padding:0}.secondhand-gallery-dots button.is-active{background:var(--surface);width:var(--space-5)}.secondhand-gallery-count{top:var(--space-4);right:var(--space-4);padding:var(--space-1) var(--space-3);border-radius:var(--radius-full);color:var(--on-accent);background:var(--overlay-soft);font:var(--text-xs)/var(--leading-body) var(--font-mono);position:absolute}.secondhand-card-body{padding:var(--panel-padding);flex-direction:column;flex:1;align-items:start;display:flex}.secondhand-card-status{gap:var(--space-2);margin-bottom:var(--space-4);flex-wrap:wrap;display:flex}.secondhand-card-status span{padding:var(--space-1) var(--space-3);border-radius:var(--radius-full);color:var(--muted);background:var(--surface-inset);font-size:var(--text-xs)}.secondhand-card-status .is-available{color:var(--green-dark);background:var(--accent-soft)}.secondhand-card-body>small{color:var(--muted);font-size:var(--text-xs)}.secondhand-card-heading{justify-content:space-between;align-items:start;gap:var(--space-4);width:100%;margin:var(--space-2) 0 var(--space-4);display:flex}.secondhand-card-heading h2{font-size:var(--text-xl);margin:0}.secondhand-card-heading b{color:var(--ink);font:var(--weight-medium) var(--text-2xl) var(--font-mono);white-space:nowrap}.secondhand-card-description{color:var(--muted);font-size:var(--text-sm)}.secondhand-card-description p{margin:0 0 var(--space-2)}.secondhand-checks{gap:var(--space-2);margin:var(--space-4) 0 var(--space-5);flex-wrap:wrap;display:flex}.secondhand-checks span{padding-right:var(--space-2);color:var(--green-dark);font-size:var(--text-xs)}.secondhand-buy-button{width:100%;margin-top:auto}.secondhand-buy-button:disabled{background:var(--surface-inset);color:var(--muted);border-color:var(--line);opacity:1}.secondhand-empty{align-items:center;gap:var(--space-6);padding:var(--space-10);border:var(--stroke) dashed var(--line-strong);border-radius:var(--radius-lg);display:flex}.secondhand-empty-mark{width:var(--space-16);height:var(--space-16);flex-shrink:0;display:block}.secondhand-empty p,.secondhand-empty span{color:var(--muted);font-size:var(--text-sm)}@media (max-width:800px){.secondhand-intro{flex-direction:column;align-items:start}.secondhand-intro-actions{justify-content:space-between;width:100%}}@media (max-width:640px){.secondhand-grid{grid-template-columns:1fr}.secondhand-card-heading h2{font-size:var(--text-lg)}.secondhand-card-heading b{font-size:var(--text-xl)}}
