/* Local navigation and demonstration states; source layouts stay in original.css. */
[hidden] { display: none !important; }
[data-section-indicator] { width:calc(50% - 2px); transform:translateX(0); transition:transform 160ms ease; }
[data-section-switch="sports"] > [data-section-indicator] { transform:translateX(100%); }
[data-section-switch] > [data-section-option] { flex:1 1 0; min-width:0; color:var(--muted-foreground); }
[data-section-switch] > [data-section-option][aria-pressed="true"] { color:var(--primary-foreground); }
[data-section-switch] > [data-section-option][aria-pressed="false"]:hover { color:var(--primary); }
[data-section-option] svg { color:inherit; }
[data-section-option]:focus-visible { outline:2px solid var(--primary-foreground); outline-offset:-3px; }
.local-mobile-section-switch { flex-shrink:0; margin:0 12px 12px; }
@media(prefers-reduced-motion:reduce) { [data-section-indicator] { transition:none; } }
.local-native-select { cursor:pointer; appearance:auto; color:var(--foreground); background-color:var(--background); padding-right:12px; }
.local-native-select option { background:var(--background); color:var(--foreground); }
.local-account-dialog { position:fixed; inset:0 0 0 auto; margin:0; width:360px; max-width:100vw; height:100dvh; max-height:100dvh; border:0; overflow:hidden; }
.local-account-dialog [data-slot="sheet-content"] { width:100%; max-width:360px; }
.local-demo-note { font-size:11px; line-height:1.5; margin:12px 0; color:var(--muted-foreground); }
.local-flow-error { color:#fca5a5; font-size:13px; line-height:1.5; margin:10px 0; }
[data-finance-shell][data-stage-active] > :not([data-finance-stage]) { display:none !important; }
.local-flow-stage { width:100%; padding:32px 24px; min-height:480px; outline:none; }
.local-flow-stage h2 { font-size:24px; font-weight:800; margin:8px 0; }
.local-flow-stage p { color:var(--muted-foreground); font-size:14px; line-height:1.6; }
.local-flow-stage .local-dialog-close { margin-left:auto; }
.local-flow-stage .local-flow-value { font-size:32px; font-weight:800; color:var(--foreground); margin:12px 0; }
.local-flow-summary { display:grid; gap:12px; padding:18px; margin:18px 0; border:1px solid var(--border); border-radius:16px; background:var(--muted); }
.local-flow-summary > div { display:flex; justify-content:space-between; gap:16px; font-size:13px; }
.local-flow-summary span { color:var(--muted-foreground); }
.local-primary,.local-secondary { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:10px 20px; border-radius:12px; font-size:14px; font-weight:750; text-decoration:none; cursor:pointer; }
.local-primary { color:#fff; background:linear-gradient(#287fff,#0862f1 70%,#0042aa); border:1px solid #4e98ff; }
.local-secondary { color:var(--foreground); background:var(--muted); border:1px solid var(--border); }
.local-primary:hover,.local-secondary:hover { filter:brightness(1.15); }
.local-primary:focus-visible,.local-secondary:focus-visible,.local-native-select:focus-visible { outline:2px solid var(--primary); outline-offset:3px; }
.local-flow-stage .local-primary,.local-flow-stage .local-secondary { width:100%; margin-top:12px; }
.local-flow-stage textarea { width:100%; min-height:70px; resize:none; padding:12px; color:var(--foreground); background:var(--muted); border:1px solid var(--border); border-radius:12px; font-size:12px; }
.local-demo-qr { display:block; width:176px; height:176px; margin:20px auto 4px; background:white; padding:12px; border-radius:12px; }
.local-qr-caption { text-align:center; font-size:11px !important; }
.local-success-mark { display:grid; place-items:center; width:64px; height:64px; margin:20px auto; background:#12b9811f; border:1px solid #12b98180; color:#34d399; border-radius:50%; font-size:32px; }
.local-simple-dialog { width:min(520px,calc(100vw - 24px)); margin:auto; border-radius:22px; }
.local-simple-header { display:flex; justify-content:space-between; align-items:center; padding:20px; border-bottom:1px solid var(--border); background:linear-gradient(110deg,#000,#001432); }
.local-simple-header h2 { font-size:20px; font-weight:800; }
.local-simple-body { padding:24px; display:grid; gap:18px; }
.local-simple-body p { color:var(--muted-foreground); font-size:14px; line-height:1.6; }
.local-simple-body label { display:grid; gap:8px; }
.local-simple-body input { min-height:44px; border:1px solid var(--border); border-radius:12px; padding:12px; background:var(--muted); }
.local-eligible-cover { width:130px; border-radius:12px; }
.local-avatar-options { display:flex; gap:16px; }
.local-avatar-options button { font-size:30px; background:var(--muted); border:1px solid var(--border); padding:12px; border-radius:12px; cursor:pointer; }
.local-content { padding:16px 0 40px; min-height:470px; }
.local-content h1 { font-size:28px; font-weight:800; margin-bottom:12px; }
.local-content > p { color:var(--muted-foreground); line-height:1.7; margin-bottom:24px; }
.local-content > .local-primary,.local-content > .local-secondary { margin-right:10px; }
.local-help-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:24px 0; }
.local-help-grid a { padding:24px; border:1px solid var(--border); border-radius:16px; background:linear-gradient(140deg,#001c40,#000); font-weight:650; }
.local-content details { border:1px solid var(--border); border-radius:16px; padding:20px; margin-top:18px; }
.local-content summary { cursor:pointer; font-weight:700; }
.local-content details p { margin-top:16px; color:var(--muted-foreground); }
.local-empty { margin:24px 0; padding:40px 24px; border:1px solid var(--border); border-radius:20px; }
.local-empty h2 { font-size:22px; font-weight:750; }
.local-empty p { margin:12px 0 22px; color:var(--muted-foreground); }
.local-sports-tabs { display:flex; flex-wrap:wrap; gap:10px; }
[data-demo-history] { display:grid; gap:10px; margin-top:20px; }
.local-history-row { display:grid; grid-template-columns:1fr auto; gap:8px; padding:18px; border:1px solid var(--border); border-radius:14px; background:var(--muted); }
.local-history-row small { color:var(--muted-foreground); }
.local-history-row strong { font-size:16px; }
.local-history-status { text-align:right; color:#34d399; font-size:12px; }
.local-history-status[data-pending] { color:#fbbf24; }
[data-local-action="shop-filter"][aria-selected="true"], [data-local-action="history-filter"][aria-selected="true"] { background:var(--primary); color:white; }
.local-copy-feedback { color:#34d399; font-size:13px; margin-top:12px; }
.local-catalog-empty { padding:24px; color:var(--muted-foreground); }
@media(max-width:639px) {
  .local-account-dialog { width:100vw; }
  .local-account-dialog [data-slot="sheet-content"] { max-width:none; }
  .local-flow-stage { min-height:100dvh; padding:20px 24px; }
  .local-help-grid { grid-template-columns:1fr; }
  .local-content h1 { font-size:24px; }
  .local-content > .local-primary,.local-content > .local-secondary { margin-bottom:10px; }
}
@media print { header,[data-slot="sidebar"],dialog,button { display:none!important; } main { margin:0!important; } }
