:root {
      --screen-bg: #08131a;
      --screen-surface: rgba(8, 22, 31, 0.9);
      --screen-surface-2: rgba(14, 30, 41, 0.94);
      --screen-line: rgba(147, 197, 253, 0.14);
      --screen-text: #e8f1f8;
      --screen-muted: #90a7b8;
      --screen-accent: #f6ad55;
      --screen-accent-2: #4fd1c5;
      --screen-good: #68d391;
      --screen-warn: #f6e05e;
      --screen-bad: #fc8181;
      --screen-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
      --screen-body-font: 'Sora', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
      --screen-body-font-mobile: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
      --screen-mono-font: 'JetBrains Mono', monospace;
    }

    body {
      background:
        radial-gradient(circle at top right, rgba(246, 173, 85, 0.14), transparent 30%),
        radial-gradient(circle at top left, rgba(79, 209, 197, 0.12), transparent 26%),
        linear-gradient(180deg, #071018 0%, #08131a 48%, #071018 100%);
      color: var(--screen-text);
      font-family: var(--screen-body-font);
    }

    .page-shell {
      max-width: 1500px;
      margin: 0 auto;
      padding: 18px 18px 120px;
    }

    .page-shell > #contextBar > .page-context-bar {
      margin-top: 0;
      margin-bottom: 6px;
    }

    .hero,
    .panel {
      background: var(--screen-surface);
      border: 1px solid var(--screen-line);
      border-radius: 24px;
      box-shadow: var(--screen-shadow);
      backdrop-filter: blur(18px);
    }

    .hero {
      margin: 0 0 10px;
      padding: 16px;
      display: grid;
      gap: 12px;
    }

    .hero-top {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 12px;
    }

    .hero-kicker {
      font-size: 10px;
      letter-spacing: 0.2em;
      color: var(--screen-accent-2);
      text-transform: uppercase;
      margin-bottom: 6px;
      font-family: var(--screen-mono-font);
    }

    .hero-title {
      font-size: 25px;
      line-height: 1.16;
      font-weight: 800;
      max-width: 920px;
    }

    .hero-copy {
      margin-top: 6px;
      color: var(--screen-muted);
      font-size: 12px;
      line-height: 1.56;
      max-width: 940px;
    }

    .hero-meta {
      min-width: 220px;
      display: grid;
      gap: 6px;
      justify-items: end;
    }

    .meta-line {
      color: var(--screen-muted);
      font-size: 12px;
      line-height: 1.45;
      text-align: right;
      font-family: var(--screen-mono-font);
    }

    .summary-grid,
    .action-grid,
    .filters,
    .panel-stack,
    .result-grid,
    .control-grid {
      display: grid;
      gap: 12px;
      min-width: 0;
    }

    .summary-grid {
      grid-template-columns: repeat(auto-fit, minmax(172px, 1fr));
      gap: 10px;
    }

    .rules-board {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 12px;
    }

    .summary-card {
      padding: 12px 14px;
      border-radius: 16px;
      background: linear-gradient(180deg, rgba(16, 33, 46, 0.95), rgba(10, 22, 31, 0.92));
      border: 1px solid rgba(148, 163, 184, 0.12);
    }

    .summary-label {
      font-size: 10px;
      letter-spacing: 0.12em;
      color: var(--screen-muted);
      text-transform: uppercase;
      font-family: var(--screen-mono-font);
    }

    .summary-value {
      margin-top: 6px;
      font-size: 23px;
      font-weight: 800;
      line-height: 1.08;
      letter-spacing: -0.03em;
    }

    .summary-copy {
      margin-top: 4px;
      color: var(--screen-muted);
      font-size: 12px;
      line-height: 1.42;
    }

    .summary-value.accent {
      color: var(--screen-accent);
    }

    .summary-value.good {
      color: var(--screen-good);
    }

    .summary-value.teal {
      color: var(--screen-accent-2);
    }

    .panel {
      padding: 18px;
    }

    .rules-panel {
      display: grid;
      gap: 14px;
      min-height: 100%;
    }

    .rules-panel-head {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 12px;
      flex-wrap: wrap;
    }

    .rules-panel-kicker,
    .rules-section-label {
      font-size: 11px;
      letter-spacing: 0.12em;
      color: var(--screen-accent-2);
      text-transform: uppercase;
      font-family: var(--screen-mono-font);
    }

    .rules-panel-title {
      margin-top: 6px;
      font-size: 20px;
      font-weight: 800;
      line-height: 1.2;
    }

    .rules-panel-subtitle,
    .rules-section-copy,
    .rules-footer,
    .rules-empty {
      color: var(--screen-muted);
      font-size: 13px;
      line-height: 1.6;
    }

    .rules-panel-action {
      border: 1px solid rgba(246, 173, 85, 0.22);
      border-radius: 999px;
      padding: 8px 12px;
      color: var(--screen-text);
      text-decoration: none;
      background: rgba(246, 173, 85, 0.08);
      font-size: 12px;
      white-space: nowrap;
    }

    .rules-chip-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
      gap: 10px;
    }

    .rules-chip {
      padding: 12px 14px;
      border-radius: 16px;
      background: rgba(8, 12, 20, 0.72);
      border: 1px solid rgba(148, 163, 184, 0.12);
    }

    .rules-chip-label {
      font-size: 11px;
      text-transform: uppercase;
      color: var(--screen-muted);
      letter-spacing: 0.08em;
      font-family: var(--screen-mono-font);
    }

    .rules-chip-value {
      margin-top: 8px;
      font-size: 22px;
      font-weight: 800;
      line-height: 1.15;
    }

    .rules-chip-copy {
      margin-top: 6px;
      color: var(--screen-muted);
      font-size: 12px;
      line-height: 1.5;
    }

    .rules-section-list {
      display: grid;
      gap: 8px;
      margin-top: 10px;
    }

    .rules-line {
      padding-left: 14px;
      position: relative;
      color: var(--screen-text);
      font-size: 13px;
      line-height: 1.6;
    }

    .rules-line::before {
      content: '';
      position: absolute;
      left: 0;
      top: 8px;
      width: 6px;
      height: 6px;
      border-radius: 999px;
      background: var(--screen-accent);
      box-shadow: 0 0 0 3px rgba(246, 173, 85, 0.12);
    }

    .rules-panel-controls {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: flex-end;
      gap: 8px;
    }

    .rules-panel-toggle {
      display: none;
      border: 1px solid rgba(79, 209, 197, 0.24);
      border-radius: 999px;
      padding: 8px 12px;
      background: rgba(79, 209, 197, 0.08);
      color: var(--screen-text);
      font-size: 12px;
      font-family: var(--screen-body-font);
      cursor: pointer;
    }

    .rules-panel-collapsible {
      display: grid;
      gap: 14px;
    }

    .panel-title {
      font-size: 16px;
      font-weight: 800;
    }

    .panel-copy,
    .muted-copy {
      margin-top: 6px;
      color: var(--screen-muted);
      line-height: 1.55;
      font-size: 13px;
    }

    #pageBridge {
      margin-bottom: 6px;
    }

    .domain-tabs {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 8px;
      align-items: stretch;
    }

    .domain-tab {
      position: relative;
      display: grid;
      align-content: start;
      align-items: start;
      justify-content: start;
      justify-items: start;
      gap: 3px;
      border: 1px solid rgba(148, 163, 184, 0.18);
      border-radius: 17px;
      min-height: 88px;
      padding: 11px 13px 12px;
      background: linear-gradient(180deg, rgba(15, 28, 38, 0.96), rgba(9, 18, 25, 0.92));
      box-shadow: 0 14px 26px rgba(1, 8, 18, 0.18);
      color: var(--screen-text);
      text-align: left;
      cursor: pointer;
      overflow: hidden;
      transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
    }

    .domain-tab::before {
      content: '';
      position: absolute;
      inset: 0 auto auto 0;
      width: 100%;
      height: 3px;
      background: linear-gradient(90deg, rgba(79, 209, 197, 0.78), rgba(246, 173, 85, 0.6));
      opacity: 0.38;
    }

    .domain-tab:hover {
      transform: translateY(-2px);
      border-color: rgba(246, 173, 85, 0.38);
      box-shadow: 0 20px 34px rgba(1, 8, 18, 0.24);
    }

    .domain-tab.active {
      border-color: rgba(246, 173, 85, 0.52);
      background: linear-gradient(180deg, rgba(32, 54, 68, 0.98), rgba(12, 23, 31, 0.98));
      box-shadow: 0 20px 36px rgba(1, 8, 18, 0.28), inset 0 0 0 1px rgba(246, 173, 85, 0.16);
    }

    .domain-tab.active::before {
      opacity: 1;
    }

    .domain-tab-kicker {
      font-size: 9px;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--screen-accent-2);
      font-family: var(--screen-mono-font);
    }

    .domain-tab-label {
      font-size: 13px;
      font-weight: 800;
      line-height: 1.22;
    }

    .domain-tab-copy {
      max-width: 19ch;
      font-size: 10px;
      line-height: 1.34;
      color: var(--screen-muted);
    }

    .tab-panel {
      display: none;
      margin-top: 16px;
      min-width: 0;
    }

    .tab-panel.active {
      display: block;
    }

    .subview-tabs {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin-top: 14px;
    }

    .subview-tab {
      display: flex;
      flex-direction: column;
      flex: 1 1 220px;
      align-items: flex-start;
      justify-content: flex-start;
      gap: 3px;
      border: 1px solid rgba(148, 163, 184, 0.18);
      border-radius: 17px;
      padding: 11px 12px;
      background: rgba(8, 14, 24, 0.46);
      color: var(--screen-text);
      text-align: left;
      font-family: var(--screen-body-font);
      cursor: pointer;
      transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
    }

    .subview-tab > * {
      width: 100%;
      text-align: left;
    }

    .subview-tab:hover {
      transform: translateY(-1px);
      border-color: rgba(246, 173, 85, 0.38);
    }

    .subview-tab.active {
      border-color: rgba(246, 173, 85, 0.52);
      background: linear-gradient(180deg, rgba(32, 54, 68, 0.98), rgba(12, 23, 31, 0.98));
      box-shadow: inset 0 0 0 1px rgba(246, 173, 85, 0.16);
    }

    .subview-tab-kicker {
      font-size: 10px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--screen-accent-2);
      font-family: var(--screen-mono-font);
    }

    .subview-tab-label {
      margin-top: 0;
      font-size: 14px;
      font-weight: 800;
      line-height: 1.2;
    }

    .subview-tab-copy {
      margin-top: 0;
      font-size: 12px;
      line-height: 1.42;
      color: var(--screen-muted);
    }

    .subview-panel {
      display: none;
      min-width: 0;
    }

    .subview-panel.active {
      display: block;
    }

    .panel-stack {
      margin-top: 0;
      min-width: 0;
    }

    .filters,
    .control-grid {
      margin-top: 16px;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .current-control-grid {
      margin-top: 0;
    }

    .mobile-filter-actions {
      display: none;
      margin-top: 12px;
    }

    .mobile-filter-toggle {
      width: 100%;
    }

    .current-advanced-filters {
      margin-top: 12px;
    }

    .current-advanced-filters.is-collapsed {
      display: none;
    }

    .current-advanced-hint {
      align-self: end;
    }

    .field {
      display: grid;
      gap: 6px;
    }

    .field.span-2 {
      grid-column: span 2;
    }

    .field label {
      font-size: 12px;
      color: var(--screen-muted);
    }

    .field input,
    .field select,
    .field textarea,
    .search-input {
      width: 100%;
      border-radius: 12px;
      border: 1px solid rgba(148, 163, 184, 0.16);
      background: rgba(8, 17, 24, 0.88);
      color: var(--screen-text);
      padding: 10px 12px;
      outline: none;
    }

    .field textarea {
      min-height: 96px;
      resize: vertical;
    }

    .field input:focus,
    .field select:focus,
    .field textarea:focus,
    .search-input:focus {
      border-color: rgba(246, 173, 85, 0.48);
      box-shadow: 0 0 0 3px rgba(246, 173, 85, 0.08);
    }

    .checkbox-row {
      display: flex;
      align-items: center;
      gap: 8px;
      padding-top: 26px;
      color: var(--screen-muted);
      font-size: 13px;
    }

    .action-grid {
      margin-top: 16px;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .action-btn,
    .btn,
    .ghost-btn,
    .mini-btn,
    .mini-link {
      border: 1px solid rgba(148, 163, 184, 0.18);
      border-radius: 18px;
      background: linear-gradient(180deg, rgba(15, 28, 38, 0.98), rgba(9, 18, 25, 0.94));
      color: var(--screen-text);
      padding: 14px 16px;
      cursor: pointer;
      text-decoration: none;
      transition: transform 0.16s ease, border-color 0.16s ease;
    }

    .action-btn:hover,
    .btn:hover,
    .ghost-btn:hover,
    .mini-btn:hover,
    .mini-link:hover {
      transform: translateY(-1px);
      border-color: rgba(246, 173, 85, 0.45);
    }

    .action-btn {
      text-align: left;
    }

    .action-btn strong {
      display: block;
      font-size: 15px;
      margin-bottom: 4px;
    }

    .action-btn span {
      color: var(--screen-muted);
      font-size: 13px;
      line-height: 1.5;
    }

    .btn.primary {
      border-color: rgba(104, 211, 145, 0.26);
      background: linear-gradient(180deg, rgba(32, 68, 54, 0.98), rgba(9, 18, 25, 0.94));
    }

    .ghost-btn,
    .mini-btn,
    .mini-link {
      border-radius: 14px;
      padding: 10px 14px;
      font-size: 13px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }

    .mini-btn.danger {
      border-color: rgba(252, 129, 129, 0.28);
      color: var(--screen-bad);
    }

    .search-row {
      margin-top: 16px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) 148px;
      gap: 12px;
    }

    .desktop-table-wrap {
      display: block;
    }

    .mobile-card-list {
      display: none;
      margin-top: 14px;
      gap: 12px;
    }

    .mobile-card-empty {
      padding: 18px 16px;
      border-radius: 18px;
      border: 1px dashed rgba(148, 163, 184, 0.16);
      background: rgba(8, 12, 20, 0.42);
      color: var(--screen-muted);
      font-size: 13px;
      line-height: 1.6;
      text-align: center;
    }

    .mobile-data-card {
      display: grid;
      gap: 12px;
      padding: 15px 16px;
      border-radius: 20px;
      border: 1px solid rgba(148, 163, 184, 0.12);
      background: linear-gradient(180deg, rgba(15, 26, 36, 0.96), rgba(8, 15, 24, 0.94));
      box-shadow: 0 18px 28px rgba(1, 8, 18, 0.18);
    }

    .mobile-data-head,
    .mobile-data-actions,
    .mobile-data-foot {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 10px;
      flex-wrap: wrap;
    }

    .mobile-select-control {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--screen-muted);
      font-size: 12px;
    }

    .mobile-data-symbol {
      font-size: 18px;
      font-weight: 800;
      line-height: 1.18;
      color: var(--screen-text);
      text-decoration: none;
    }

    .mobile-data-symbol:hover {
      color: var(--screen-accent);
    }

    .mobile-data-time,
    .mobile-data-subcopy {
      color: var(--screen-muted);
      font-size: 12px;
      line-height: 1.6;
    }

    .mobile-data-time {
      font-family: var(--screen-mono-font);
    }

    .mobile-data-price {
      font-size: 22px;
      font-weight: 800;
      letter-spacing: -0.03em;
    }

    .mobile-data-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }

    .mobile-metric-card {
      display: grid;
      gap: 6px;
      padding: 12px 13px;
      border-radius: 16px;
      border: 1px solid rgba(148, 163, 184, 0.12);
      background: rgba(8, 14, 24, 0.56);
    }

    .mobile-metric-label {
      color: var(--screen-muted);
      font-size: 10px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      font-family: var(--screen-mono-font);
    }

    .mobile-metric-value {
      color: var(--screen-text);
      font-size: 15px;
      font-weight: 700;
      line-height: 1.35;
    }

    .mobile-section {
      display: grid;
      gap: 6px;
    }

    .mobile-section-label {
      color: var(--screen-accent-2);
      font-size: 10px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      font-family: var(--screen-mono-font);
    }

    .mobile-section-copy {
      color: var(--screen-text);
      font-size: 14px;
      line-height: 1.6;
      word-break: break-word;
    }

    .mobile-section-copy strong {
      font-weight: 800;
    }

    .mobile-chip-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
    }

    .batch-shell {
      margin-top: 16px;
      padding: 14px;
      border-radius: 18px;
      border: 1px solid rgba(148, 163, 184, 0.1);
      background: rgba(8, 12, 20, 0.42);
      display: grid;
      gap: 12px;
    }

    .batch-actions,
    .card-top,
    .card-bottom,
    .row-actions,
    .pill-row,
    .reason-wrap {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
    }

    .table-header {
      margin-top: 16px;
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: center;
      flex-wrap: wrap;
    }

    .table-meta {
      color: var(--screen-muted);
      font-size: 13px;
      line-height: 1.55;
    }

    .table-wrap {
      margin-top: 14px;
      width: 100%;
      max-width: 100%;
      min-width: 0;
      overflow-x: auto;
      border-radius: 18px;
      border: 1px solid rgba(148, 163, 184, 0.08);
      background: rgba(8, 14, 24, 0.42);
      overscroll-behavior-x: contain;
    }

    table {
      width: 100%;
      min-width: 1320px;
      border-collapse: collapse;
    }

    th,
    td {
      padding: 12px 10px;
      border-bottom: 1px solid rgba(148, 163, 184, 0.08);
      text-align: left;
      vertical-align: top;
      font-size: 13px;
    }

    th {
      color: var(--screen-muted);
      font-size: 12px;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    .symbol-link {
      color: var(--screen-text);
      font-weight: 800;
      text-decoration: none;
    }

    .symbol-link:hover {
      color: var(--screen-accent);
    }

    .muted {
      color: var(--screen-muted);
    }

    .mono {
      font-family: 'JetBrains Mono', monospace;
    }

    .row-check {
      width: 16px;
      height: 16px;
      margin-top: 3px;
      accent-color: var(--screen-accent);
    }

    .score-pill,
    .status-chip,
    .reason-pill,
    .pool-pill,
    .symbol-chip {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 10px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 700;
      white-space: nowrap;
    }

    .score-pill {
      background: rgba(246, 173, 85, 0.14);
      color: var(--screen-accent);
    }

    .score-pill.good {
      background: rgba(104, 211, 145, 0.14);
      color: var(--screen-good);
    }

    .status-chip {
      background: rgba(148, 163, 184, 0.14);
      color: var(--screen-muted);
    }

    .status-chip.candidate {
      background: rgba(246, 173, 85, 0.16);
      color: var(--screen-accent);
    }

    .status-chip.active,
    .status-chip.long {
      background: rgba(104, 211, 145, 0.16);
      color: var(--screen-good);
    }

    .status-chip.ready,
    .status-chip.executed {
      background: rgba(104, 211, 145, 0.16);
      color: var(--screen-good);
    }

    .status-chip.awaiting_confirm,
    .status-chip.pending,
    .status-chip.ready_no_signal {
      background: rgba(246, 173, 85, 0.16);
      color: var(--screen-accent);
    }

    .status-chip.short {
      background: rgba(252, 129, 129, 0.12);
      color: var(--screen-bad);
    }

    .status-chip.removed,
    .status-chip.closed,
    .status-chip.expired,
    .status-chip.rejected,
    .status-chip.stale {
      background: rgba(252, 129, 129, 0.12);
      color: var(--screen-bad);
    }

    .status-chip.watch,
    .status-chip.signaled,
    .status-chip.no_signal,
    .status-chip.neutral {
      background: rgba(148, 163, 184, 0.14);
      color: var(--screen-muted);
    }

    .reason-pill {
      background: rgba(79, 209, 197, 0.12);
      color: var(--screen-accent-2);
      font-size: 11px;
      font-weight: 600;
      padding: 4px 8px;
    }

    .result-grid {
      margin-top: 16px;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .leaderboard-meta {
      color: var(--screen-muted);
      font-size: 13px;
      line-height: 1.55;
    }

    .leaderboard-note {
      margin-top: 10px;
      color: var(--screen-muted);
      font-size: 12px;
      line-height: 1.6;
    }

    .pagination-bar {
      margin-top: 12px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
    }

    .pagination-group {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .pagination-status {
      color: var(--screen-muted);
      font-size: 12px;
      line-height: 1.5;
    }

    .pagination-ellipsis {
      color: var(--screen-muted);
      padding: 0 2px;
      font-size: 12px;
    }

    .pagination-btn {
      min-width: 44px;
      padding: 8px 12px;
    }

    .pagination-btn.active {
      border-color: rgba(246, 173, 85, 0.52);
      background: linear-gradient(180deg, rgba(32, 54, 68, 0.98), rgba(12, 23, 31, 0.98));
      box-shadow: inset 0 0 0 1px rgba(246, 173, 85, 0.16);
    }

    .pagination-btn:disabled {
      opacity: 0.45;
      cursor: not-allowed;
      transform: none;
    }

    .today-target-grid {
      margin-top: 16px;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 12px;
    }

    .today-target-card {
      padding: 16px;
      border-radius: 18px;
      border: 1px solid rgba(148, 163, 184, 0.12);
      background: rgba(8, 12, 20, 0.72);
      display: grid;
      gap: 12px;
    }

    .today-target-head,
    .today-target-foot {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: flex-start;
    }

    .today-target-symbol {
      font-size: 18px;
      font-weight: 800;
      line-height: 1.2;
    }

    .today-target-main-reason {
      color: var(--screen-text);
      font-size: 13px;
      line-height: 1.6;
    }

    .today-target-foot {
      align-items: center;
      flex-wrap: wrap;
    }

    .today-target-metrics {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
    }

    .reason-block {
      display: grid;
      gap: 6px;
    }

    .reason-label {
      color: var(--screen-muted);
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .reason-copy {
      color: var(--screen-text);
      font-size: 13px;
      line-height: 1.55;
    }

    .result-card {
      padding: 16px;
      border-radius: 18px;
      border: 1px solid rgba(148, 163, 184, 0.12);
      background: rgba(8, 12, 20, 0.72);
      display: grid;
      gap: 12px;
    }

    .symbol-chip {
      background: rgba(246, 173, 85, 0.14);
      color: var(--screen-text);
    }

    .pool-pill {
      background: rgba(99, 179, 237, 0.14);
      color: var(--screen-accent-2);
      border: 1px solid rgba(99, 179, 237, 0.18);
    }

    .pool-pill.neutral {
      color: var(--screen-muted);
      background: rgba(148, 163, 184, 0.12);
      border-color: rgba(148, 163, 184, 0.16);
    }

    .pool-pill.exists {
      color: var(--screen-good);
      border-color: rgba(104, 211, 145, 0.18);
      background: rgba(104, 211, 145, 0.1);
    }

    .card-title {
      font-size: 18px;
      font-weight: 700;
      line-height: 1.3;
    }

    .card-copy {
      color: var(--screen-muted);
      font-size: 13px;
      line-height: 1.6;
      min-height: 42px;
    }

    .meta-stack {
      display: grid;
      gap: 4px;
    }

    .meta-stack small {
      color: var(--screen-muted);
      font-size: 11px;
    }

    .table-symbol {
      font-size: 15px;
      font-weight: 700;
    }

    .loading,
    .empty,
    .empty-state {
      padding: 18px 0 4px;
      color: var(--screen-muted);
    }

    .empty-state {
      padding: 28px 16px;
      text-align: center;
      font-size: 13px;
    }

    @media (max-width: 900px) {
      .search-row {
        grid-template-columns: 1fr;
      }

      .domain-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 820px) {
      .page-shell {
        padding: 14px 12px 112px;
      }

      .hero {
        padding: 15px;
      }

      .hero-top {
        flex-direction: column;
      }

      .hero-title {
        font-size: 21px;
      }

      .hero-meta {
        justify-items: start;
      }

      .meta-line {
        text-align: left;
      }

      .field.span-2 {
        grid-column: span 1;
      }

      .domain-tab {
        min-height: 84px;
      }

      .hero-copy,
      .panel-copy,
      .rules-panel-subtitle,
      .rules-section-copy,
      .rules-footer,
      .rules-empty,
      .table-meta,
      .leaderboard-meta,
      .leaderboard-note,
      .reason-copy,
      .card-copy,
      .muted-copy {
        font-size: 14px;
        line-height: 1.65;
      }

      .field label,
      .field input,
      .field select,
      .field textarea,
      .search-input,
      .checkbox-row,
      .ghost-btn,
      .mini-btn,
      .mini-link,
      .btn,
      .action-btn span {
        font-size: 14px;
      }
    }

    @media (max-width: 640px) {
      .domain-tabs {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 720px) {
      body {
        font-family: var(--screen-body-font-mobile);
      }

      .page-shell {
        padding: 12px 10px 112px;
      }

      .hero,
      .panel {
        border-radius: 20px;
      }

      .hero {
        padding: 13px;
        gap: 10px;
      }

      .hero-title {
        font-size: 22px;
      }

      .hero-copy {
        margin-top: 6px;
        max-width: none;
      }

      .summary-grid {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(144px, 72%);
        overflow-x: auto;
        padding-bottom: 4px;
        margin: 0 -2px;
      }

      .summary-card {
        min-height: 0;
      }

      .domain-tabs,
      .subview-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 4px;
        scroll-snap-type: x proximity;
      }

      .domain-tab,
      .subview-tab {
        flex: 0 0 76%;
        min-height: 0;
        padding: 11px 12px;
        border-radius: 17px;
        scroll-snap-align: start;
      }

      .domain-tab-copy,
      .subview-tab-copy {
        display: none;
      }

      .domain-tab-label,
      .subview-tab-label {
        margin-top: 3px;
        font-size: 16px;
      }

      .rules-board {
        grid-template-columns: 1fr;
        order: 90;
      }

      .panel-stack {
        display: flex;
        flex-direction: column;
      }

      .rules-panel {
        gap: 12px;
      }

      .rules-panel-head {
        gap: 10px;
      }

      .rules-panel-title {
        font-size: 18px;
      }

      .rules-chip-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .rules-panel-toggle {
        display: inline-flex;
      }

      .rules-panel[data-expanded="false"] .rules-panel-collapsible {
        display: none;
      }

      .panel-stack > .panel:first-of-type {
        order: 1;
      }

      #currentViewPanel,
      #universeViewPanel {
        order: 2;
      }

      .current-control-grid-primary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .current-control-grid-primary .field:first-child {
        grid-column: 1 / -1;
      }

      .mobile-filter-actions {
        display: flex;
      }

      .current-advanced-filters {
        margin-top: 10px;
      }

      .current-control-grid-advanced {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .current-advanced-hint {
        grid-column: 1 / -1;
      }

      .table-header,
      .pagination-bar,
      .row-actions,
      .today-target-head,
      .today-target-foot {
        align-items: stretch;
      }

      .pagination-bar-top {
        display: none;
      }

      .desktop-table-wrap {
        display: none;
      }

      .mobile-card-list {
        display: grid;
      }

      .action-grid {
        grid-template-columns: 1fr;
      }

      .action-btn,
      .btn,
      .ghost-btn,
      .mini-btn,
      .mini-link {
        border-radius: 16px;
        padding: 12px 14px;
      }
    }

    @media (max-width: 520px) {
      .summary-grid {
        grid-auto-columns: minmax(134px, 80%);
      }

      .domain-tab,
      .subview-tab {
        flex-basis: 84%;
      }

      .current-control-grid-primary,
      .current-control-grid-advanced,
      .mobile-data-grid {
        grid-template-columns: 1fr;
      }

      .mobile-data-price {
        font-size: 20px;
      }

      .mobile-data-card {
        padding: 14px;
      }
    }
