    .title {
      font-size: 22px;
      font-weight: 800;
      margin-bottom: 2px;
      letter-spacing: -0.5px;
    }

    .subtitle {
      font-size: 11px;
      color: #64748b;
      line-height: 1.2;
      margin-bottom: 8px;
      letter-spacing: 1px;
      text-transform: uppercase;
    }

    .journal-btn {
      flex: 0 0 auto;
      width: 42px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 2px;
      background: #111827;
      border: 1px solid #22314a;
      border-radius: 8px;
      font-size: 18px;
      cursor: pointer;
      position: relative;
      color: #94a3b8;
    }

    .journal-btn:hover {
      background: #1e293b;
      color: #e5e7eb;
    }

    .journal-badge {
      font-size: 9px;
      font-weight: 700;
      color: #fff;
      background: #3b82f6;
      border-radius: 999px;
      min-width: 16px;
      height: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      line-height: 1;
    }

    .journal-badge:empty, .journal-badge[data-count="0"] {
      display: none;
    }

    .journal-overlay {
      position: fixed;
      inset: 0;
      z-index: 150;
      background: rgba(0,0,0,0.6);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.2s, visibility 0.2s;
    }

    .journal-overlay.open {
      opacity: 1;
      visibility: visible;
    }

    .journal-panel {
      width: 94%;
      max-width: 500px;
      max-height: 70vh;
      background: #0f172a;
      border: 1px solid #22314a;
      border-radius: 14px;
      display: flex;
      flex-direction: column;
      box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    }

    .journal-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 18px;
      border-bottom: 1px solid #1f2a3d;
    }

    .journal-title {
      font-size: 16px;
      font-weight: 700;
    }

    .journal-sort {
      display: flex;
      gap: 4px;
      padding: 10px 18px;
      border-bottom: 1px solid #1f2a3d;
    }

    .journal-sort-btn {
      flex: 1;
      height: 30px;
      border: 1px solid #334155;
      border-radius: 6px;
      background: transparent;
      color: #64748b;
      font-size: 12px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.15s;
    }

    .journal-sort-btn.active {
      background: #3b82f6;
      color: #fff;
      border-color: #3b82f6;
    }

    .journal-list {
      flex: 1;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      padding: 0;
    }

    .journal-empty {
      padding: 24px;
      text-align: center;
      color: #64748b;
      font-size: 14px;
    }

    .journal-item {
      display: grid;
      grid-template-columns: 1fr 1fr auto;
      gap: 6px;
      align-items: center;
      padding: 10px 18px;
      border-bottom: 1px solid #1e293b;
      cursor: pointer;
    }

    .journal-item:last-child {
      border-bottom: none;
    }

    .journal-item-left {
      min-width: 0;
    }

    .journal-item-symbol {
      font-size: 14px;
      font-weight: 700;
      color: #e5e7eb;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .journal-item-price {
      font-size: 12px;
      color: #94a3b8;
      margin-top: 1px;
    }

    .journal-item-center {
      text-align: center;
    }

    .journal-item-chg {
      font-size: 13px;
      font-weight: 700;
    }

    .journal-item-turn {
      font-size: 11px;
      color: #64748b;
      margin-top: 1px;
    }

    .journal-item-right {
      text-align: right;
    }

    .journal-tag {
      font-size: 11px;
      padding: 3px 7px;
      border-radius: 5px;
      font-weight: 600;
      white-space: nowrap;
      display: inline-block;
    }

    .journal-tag.price-up { background: rgba(0,230,109,0.15); color: #4ade80; }
    .journal-tag.price-down { background: rgba(255,48,48,0.15); color: #f87171; }
    .journal-tag.fund { background: rgba(251,191,36,0.15); color: #fbbf24; }
    .journal-tag.oi { background: rgba(255,110,0,0.15); color: #fb923c; }
    .journal-tag.spike { background: rgba(139,92,246,0.15); color: #a78bfa; }

    .title-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }

    .help-btn {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      border: 1px solid #334155;
      background: #1e293b;
      color: #94a3b8;
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.15s ease;
    }

    .help-btn:hover {
      background: #334155;
      color: #e5e7eb;
    }

    #notifBtn { font-size: 16px; }

    .disclaimer-overlay {
      position: fixed;
      inset: 0;
      z-index: 9999;
      background: rgba(0,0,0,0.75);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s, visibility 0.3s;
    }

    .disclaimer-overlay.open {
      opacity: 1;
      visibility: visible;
    }

    .disclaimer-content::-webkit-scrollbar {
      width: 4px;
    }
    .disclaimer-content::-webkit-scrollbar-track {
      background: transparent;
    }
    .disclaimer-content::-webkit-scrollbar-thumb {
      background: #334155;
      border-radius: 2px;
    }

    .disclaimer-content {
      width: 92%;
      max-width: 560px;
      max-height: 90vh;
      overflow-y: auto;
      background: linear-gradient(135deg, #0f172a 0%, #1a1f35 100%);
      border: 1px solid #2a3a5a;
      border-radius: 16px;
      padding: 28px 28px 24px;
      text-align: center;
      box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    }

    .disclaimer-logo {
      width: 200px;
      height: auto;
      margin-bottom: 10px;
      display: inline-block;
    }

    .disclaimer-sub {
      font-size: 13px;
      color: #64748b;
      margin-top: 5px;
      margin-bottom: 22px;
    }

    .disclaimer-body {
      text-align: left;
    }

    .disclaimer-block {
      margin-bottom: 14px;
    }

    .disclaimer-block-title {
      font-size: 12px;
      font-weight: 700;
      color: #3b82f6;
      text-transform: uppercase;
      letter-spacing: 0.6px;
      margin-bottom: 6px;
    }

    .disclaimer-text {
      font-size: 14px;
      color: #94a3b8;
      line-height: 1.62;
    }

    .disclaimer-text br {
      content: '';
      display: block;
      margin-top: 4px;
    }

    .disclaimer-btn {
      display: inline-block;
      margin-top: 20px;
      padding: 12px 32px;
      background: #3b82f6;
      color: #fff;
      border: none;
      border-radius: 10px;
      font-size: 15px;
      font-weight: 700;
      cursor: pointer;
      transition: background 0.15s;
    }

    .disclaimer-btn:hover {
      background: #2563eb;
    }

    .help-content {
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

    .help-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 14px;
      border-bottom: 1px solid #1f2a3d;
    }

    .help-title {
      font-size: 15px;
      font-weight: 700;
    }

    .help-body {
      padding: 14px;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }

    .help-section {
      margin-bottom: 14px;
    }

    .help-section:last-child {
      margin-bottom: 0;
    }

    .help-section-title {
      font-size: 12px;
      font-weight: 700;
      color: #3b82f6;
      margin-bottom: 6px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .help-line {
      font-size: 12px;
      color: #cbd5e1;
      line-height: 1.5;
      margin-bottom: 2px;
    }

    .help-author {
      margin-top: 10px;
      padding-top: 10px;
      border-top: 1px solid #1f2a3d;
    }

    .help-link {
      color: #3b82f6;
      text-decoration: none;
    }

    .help-link:hover {
      text-decoration: underline;
    }

    /* Help visual improvements */
    .help-tip, .help-warn, .help-info {
      padding: 8px 10px;
      border-radius: 8px;
      margin: 6px 0;
      font-size: 11px;
      line-height: 1.5;
      border-left: 3px solid;
    }
    .help-tip { background: rgba(74,222,128,0.08); border-color: #4ade80; color: #bbf7d0; }
    .help-warn { background: rgba(251,191,36,0.08); border-color: #fbbf24; color: #fde68a; }
    .help-info { background: rgba(96,165,250,0.08); border-color: #60a5fa; color: #bfdbfe; }
    .help-tag {
      display: inline-block;
      padding: 1px 6px;
      border-radius: 4px;
      font-size: 10px;
      font-weight: 700;
      margin: 0 2px;
    }
    .help-tag.green { background: rgba(74,222,128,0.15); color: #4ade80; }
    .help-tag.red { background: rgba(248,113,113,0.15); color: #f87171; }
    .help-tag.amber { background: rgba(251,191,36,0.15); color: #fbbf24; }
    .help-tag.blue { background: rgba(96,165,250,0.15); color: #60a5fa; }
    .help-tag.purple { background: rgba(192,132,252,0.15); color: #c084fc; }
    .help-section-title .hl-icon { margin-right: 6px; }
    .help-hl { color: #fbbf24; font-weight: 700; }
    .help-hp { color: #4ade80; font-weight: 700; }
    .help-hn { color: #f87171; font-weight: 700; }
    .help-hb { color: #60a5fa; font-weight: 700; }
    .help-code {
      background: #1e293b;
      padding: 1px 5px;
      border-radius: 4px;
      font-family: monospace;
      font-size: 11px;
      color: #e2e8f0;
    }
    .help-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4px 12px;
      margin: 4px 0;
    }
    .help-grid-item {
      font-size: 11px;
      color: #94a3b8;
      line-height: 1.5;
    }
    .help-grid-item .hl-icon { margin-right: 4px; }

    .title-btns {
      display: flex;
      gap: 6px;
    }

    .title-action-btn {
      position: relative;
    }

    .notif-content {
      overflow: hidden;
      max-width: 380px;
      max-height: 85vh;
      background: #0f172a;
      border: 1px solid #22314a;
      border-radius: 12px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

    .notif-body {
      padding: 14px;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }

    .notif-master {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 10px;
      background: #1e293b;
      border-radius: 8px;
      font-size: 13px;
      font-weight: 600;
      margin-bottom: 14px;
      cursor: pointer;
    }

    .notif-master input {
      width: 18px;
      height: 18px;
      accent-color: #3b82f6;
    }

    .notif-section {
      margin-bottom: 14px;
    }

    .notif-section-title {
      font-size: 11px;
      font-weight: 700;
      color: #3b82f6;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 8px;
    }

    .notif-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 5px 0;
      font-size: 12px;
      color: #cbd5e1;
    }

    .notif-input {
      width: 60px;
      height: 30px;
      border: 1px solid #334155;
      border-radius: 6px;
      background: #1e293b;
      color: #e5e7eb;
      text-align: center;
      font-size: 13px;
      font-weight: 600;
    }

    .notif-check {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 5px 0;
      font-size: 12px;
      color: #cbd5e1;
      cursor: pointer;
    }

    .notif-check input {
      width: 16px;
      height: 16px;
      accent-color: #3b82f6;
    }

    .notif-period-group {
      display: flex;
      background: #111827;
      border: 1px solid #334155;
      border-radius: 8px;
      overflow: hidden;
    }

    .notif-period-group .toggle-btn {
      flex: 1;
      height: 32px;
      font-size: 12px;
    }

    .notif-save-btn {
      width: 100%;
      height: 38px;
      margin-top: 10px;
      border: none;
      border-radius: 8px;
      background: #3b82f6;
      color: #fff;
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
    }

    .notif-save-btn:hover {
      background: #2563eb;
    }

    .notif-section-head {
      margin-bottom: 6px;
    }

    .notif-section-head .notif-section-title {
      margin-bottom: 0;
    }

    .notif-sub {
      padding-left: 24px;
    }

    .notif-hint {
      font-size: 10px;
      color: #64748b;
      margin-top: 4px;
      line-height: 1.3;
    }

    .install-banner {
      position: fixed;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%) translateY(100%);
      z-index: 300;
      width: 90%;
      max-width: 400px;
      background: #1e293b;
      border: 1px solid #3b82f6;
      border-bottom: none;
      border-radius: 12px 12px 0 0;
      padding: 12px 14px;
      display: flex;
      align-items: center;
      gap: 10px;
      box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
      transition: transform 0.3s ease;
    }

    .install-banner.show {
      transform: translateX(-50%) translateY(0);
    }

    .install-banner-text {
      flex: 1;
      font-size: 13px;
      font-weight: 600;
      color: #e5e7eb;
    }

    .install-banner-btn {
      padding: 6px 14px;
      border: none;
      border-radius: 8px;
      background: #3b82f6;
      color: #fff;
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
      white-space: nowrap;
    }

    .install-banner-btn:hover {
      background: #2563eb;
    }

    .install-banner-dismiss {
      width: 24px;
      height: 24px;
      border: none;
      background: transparent;
      color: #64748b;
      font-size: 16px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .install-banner-dismiss:hover {
      color: #94a3b8;
    }

    .row2 {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 8px;
      align-items: center;
    }

    .status {
      min-height: 16px;
      color: #94a3b8;
      font-size: 12px;
    }

    .toggle {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 12px;
      color: #cbd5e1;
    }

    .summary {
      margin-top: 6px;
      background: #0f172a;
    }

    .summary-note {
      margin-top: 8px;
      padding-top: 8px;
      border-top: 1px dashed #22314a;
      font-size: 11px;
      line-height: 1.35;
      color: #94a3b8;
    }

    .sector-drillbar {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      margin-top: 8px;
      padding: 8px 10px;
      border: 1px solid #22314a;
      border-radius: 10px;
      background: #0b1323;
    }

    .sector-drillback {
      padding: 6px 10px;
      border: 1px solid #334155;
      border-radius: 8px;
      background: #111827;
      color: #e5e7eb;
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
    }

    .sector-drillback:hover {
      background: #172033;
    }

    .sector-drilllabel {
      font-size: 13px;
      color: #e5e7eb;
      font-weight: 800;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .sector-drillcontent {
      flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .sector-drillmeta {
      font-size: 12px;
      color: #94a3b8;
      font-weight: 600;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .sector-drillmetrics {
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
    }

    .sector-drillpill {
      padding: 3px 7px;
      border-radius: 999px;
      border: 1px solid #22314a;
      background: #111827;
      color: #cbd5e1;
      font-size: 10px;
      font-weight: 700;
      white-space: nowrap;
    }

    .summary-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 12px;
    }

    .summary-row {
      display: grid;
      grid-template-columns: 50px 1fr 1fr;
      border-bottom: 1px solid #1e293b;
    }

    .summary-row:last-child {
      border-bottom: none;
    }

    .summary-row-header {
      font-weight: 700;
      font-size: 11px;
      color: #64748b;
      padding-bottom: 4px;
      margin-bottom: 2px;
      border-bottom: 1px solid #334155;
    }

    .summary-cell {
      padding: 3px 4px;
    }

    .summary-label {
      color: #64748b;
      font-weight: 600;
    }
    }

    .heat-index-wrap {
      flex: 0 0 auto;
      margin: 0;
      background: #0f172a;
      border-top: 1px solid #1f2a3d;
      padding: 6px 10px;
    }

    .heat-index-bar {
      position: relative;
      height: 14px;
      border-radius: 999px;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.08);
      background: linear-gradient(
        to right,
        rgb(255, 48, 48) 0%,
        rgb(43, 47, 54) 50%,
        rgb(0, 230, 109) 100%
      );
    }

    .heat-index-marker {
      position: absolute;
      top: -3px;
      width: 4px;
      height: 16px;
      background: #fff;
      border-radius: 999px;
      box-shadow: 0 0 0 1px rgba(0,0,0,0.25);
      transform: translateX(-50%);
    }

    .heatmap-wrap {
      background: #0f172a;
    }

    .heatmap-card {
      border-radius: 0;
      background: #0f172a;
    }

    .update-banner {
      position: fixed;
      top: 0;
      left: 50%;
      transform: translateX(-50%) translateY(-100%);
      z-index: 400;
      width: 90%;
      max-width: 400px;
      background: #1e293b;
      border: 1px solid #3b82f6;
      border-top: none;
      border-radius: 0 0 12px 12px;
      padding: 10px 14px;
      display: flex;
      align-items: center;
      gap: 10px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.4);
      transition: transform 0.3s ease;
    }

    .update-banner.show {
      transform: translateX(-50%) translateY(0);
    }

    .update-banner-text {
      flex: 1;
      font-size: 13px;
      font-weight: 600;
      color: #e5e7eb;
    }

    .update-banner-btn {
      padding: 6px 14px;
      border: none;
      border-radius: 8px;
      background: #3b82f6;
      color: #fff;
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
      white-space: nowrap;
    }

    .update-banner-btn:hover {
      background: #2563eb;
    }

    .bottom-panel {
      flex: 0 0 auto;
      padding: 8px;
      border-top: 1px solid #1f2a3d;
      background: #0f172a;
      display: flex;
      justify-content: center;
    }

    .map-overlay {
      position: absolute;
      inset: 0;
      z-index: 80;
      display: flex;
      flex-direction: column;
      background: #0b1220;
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transform: translateY(10px);
      transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
      overscroll-behavior: contain;
    }

    .map-overlay.open {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      transform: translateY(0);
    }

    .map-overlay-header {
      flex: 0 0 auto;
      padding: 12px;
      border-bottom: 1px solid #1f2a3d;
      background: #0f172a;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .map-overlay-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }

    .map-overlay-btns {
      display: flex;
      gap: 6px;
      flex-shrink: 0;
    }

    #screenshotBtn {
      background: #1e293b;
      border-color: #3b82f6;
      font-size: 18px;
    }

    .map-overlay-title {
      font-size: 16px;
      font-weight: 700;
    }

    .map-overlay-subtitle {
      font-size: 12px;
      color: #94a3b8;
      line-height: 1.35;
    }

    .map-overlay-close {
      height: 38px;
      min-width: 38px;
      padding: 0 12px;
      border-radius: 10px;
      border: 1px solid #334155;
      background: #111827;
      color: #e5e7eb;
      cursor: pointer;
      font-size: 14px;
      font-weight: 700;
    }

    .map-overlay-close:hover {
      background: #172033;
    }

    .overlay-controls-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .map-overlay-body {
      flex: 1 1 auto;
      min-height: 0;
      display: flex;
      flex-direction: column;
      gap: 10px;
      padding: 10px;
    }

    .overlay-legend {
      flex: 0 0 auto;
      margin-bottom: 0;
      background: #111827;
      border: 1px solid #22314a;
      border-radius: 10px;
      padding: 10px 12px;
    }

    .overlay-legend-title {
      font-size: 12px;
      font-weight: 700;
      color: #cbd5e1;
      margin-bottom: 6px;
    }

    .filter-bar {
      display: flex;
      flex-wrap: wrap;
      gap: 4px;
      margin-top: 8px;
    }

    .filter-label {
      font-size: 10px;
      color: #64748b;
      display: flex;
      align-items: center;
      margin-right: 4px;
    }

    .delta-limit-select {
      height: 24px;
      padding: 0 6px;
      border: 1px solid #334155;
      border-radius: 6px;
      background: #1e293b;
      color: #e5e7eb;
      font-size: 11px;
      font-weight: 600;
      cursor: pointer;
    }

    .filter-btn {
      height: 24px;
      padding: 0 8px;
      border: 1px solid #334155;
      border-radius: 6px;
      background: transparent;
      color: #94a3b8;
      font-size: 10px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.15s;
    }

    .filter-btn.active {
      background: #3b82f6;
      color: #fff;
      border-color: #3b82f6;
    }

    .filter-btn:hover:not(.active) {
      background: #1e293b;
      color: #cbd5e1;
    }

    .filter-btn[data-filter="up10"],
    .filter-btn[data-filter="up25"],
    .filter-btn[data-filter="up50"] {
      color: #4ade80;
      border-color: rgba(74,222,128,0.3);
    }

    .filter-btn[data-filter="up10"].active,
    .filter-btn[data-filter="up25"].active,
    .filter-btn[data-filter="up50"].active {
      background: #166534;
      border-color: #4ade80;
    }

    .filter-btn[data-filter="down10"],
    .filter-btn[data-filter="down25"],
    .filter-btn[data-filter="down50"] {
      color: #f87171;
      border-color: rgba(248,113,113,0.3);
    }

    .filter-btn[data-filter="down10"].active,
    .filter-btn[data-filter="down25"].active,
    .filter-btn[data-filter="down50"].active {
      background: #7f1d1d;
      border-color: #f87171;
    }

    .legend-bar-wrap {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 11px;
      color: #94a3b8;
    }

    .map-overlay-heatmap-card {
      flex: 1 1 auto;
      min-height: 0;
      background: #0f172a;
      border: 1px solid #1f2a3d;
      border-radius: 12px;
      overflow: hidden;
      touch-action: manipulation;
    }

    .map-overlay-heatmap-card svg {
      width: 100%;
      height: 100%;
      display: block;
    }

    .overlay-details {
      flex: 0 0 auto;
      min-height: 128px;
      max-height: 34vh;
      overflow: auto;
      -webkit-overflow-scrolling: touch;
    }

    @media (min-width: 560px) {
      .overlay-controls-row {
        flex-wrap: nowrap;
      }
    }

    @media (max-width: 520px) {
      .topbar {
        max-height: 55vh;
      }

      .map-overlay-header {
        padding: 10px;
      }

      .map-overlay-body {
        padding: 8px;
        gap: 8px;
      }

      .map-overlay-close {
        min-width: 42px;
        padding: 0 10px;
      }

      .overlay-details {
        max-height: 38vh;
      }
    }


    @media (hover: none) and (pointer: coarse) {
      .toggle-btn {
        font-size: 11px;
        height: 28px;
      }

      .map-overlay-close {
        font-size: 16px;
      }

      #screenshotBtn {
        font-size: 20px;
        width: 42px;
        min-width: 42px;
      }
    }

    .favorites-page {
      display: flex;
      flex-direction: column;
      gap: 16px;
      padding: 14px;
      min-height: calc(100vh - 180px);
    }

    .favorites-hero {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 16px;
      background: rgba(15,23,42,0.92);
      border: 1px solid #22314a;
      border-radius: 14px;
      padding: 16px;
    }

    .favorites-kicker {
      font-size: 11px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: #fbbf24;
      margin-bottom: 6px;
    }

    .favorites-title {
      margin: 0;
      font-size: 22px;
      line-height: 1.2;
      color: #f8fafc;
    }

    .favorites-subtitle {
      margin-top: 8px;
      font-size: 13px;
      color: #94a3b8;
      max-width: 720px;
    }

    .favorites-summary {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      justify-content: flex-end;
    }

    .favorites-summary-item {
      min-width: 110px;
      background: #111827;
      border: 1px solid #22314a;
      border-radius: 12px;
      padding: 10px 12px;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .favorites-summary-item span {
      font-size: 11px;
      color: #94a3b8;
    }

    .favorites-summary-item strong {
      font-size: 22px;
      color: #f8fafc;
    }

    .favorites-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 12px;
    }

    .favorites-card {
      text-align: left;
      background: rgba(15,23,42,0.94);
      border: 1px solid #22314a;
      border-radius: 14px;
      padding: 14px;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      gap: 10px;
      color: inherit;
      transition: transform .15s ease, border-color .15s ease, background .15s ease;
    }

    .favorites-card:hover {
      transform: translateY(-1px);
      background: rgba(23,32,51,0.98);
      border-color: #334155;
    }

    .favorites-card-hot { box-shadow: inset 0 0 0 1px rgba(248,113,113,.35); }
    .favorites-card-active { box-shadow: inset 0 0 0 1px rgba(56,189,248,.3); }
    .favorites-card-watch { box-shadow: inset 0 0 0 1px rgba(251,191,36,.22); }

    .favorites-card-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }

    .favorites-card-symbol {
      font-size: 15px;
      font-weight: 800;
      color: #f8fafc;
    }

    .favorites-card-status {
      font-size: 10px;
      font-weight: 800;
      text-transform: uppercase;
      color: #94a3b8;
    }

    .favorites-card-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .favorites-card-badge {
      font-size: 10px;
      font-weight: 700;
      border-radius: 999px;
      padding: 2px 7px;
      background: #1e293b;
      color: #93c5fd;
    }

    .favorites-card-badge-muted {
      color: #94a3b8;
    }

    .favorites-card-title {
      font-size: 13px;
      font-weight: 700;
      color: #e5e7eb;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .favorites-card-body {
      font-size: 12px;
      color: #94a3b8;
      min-height: 34px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .favorites-card-footer {
      display: flex;
      justify-content: space-between;
      gap: 8px;
      font-size: 11px;
      color: #64748b;
    }

    .favorites-empty {
      grid-column: 1 / -1;
      background: rgba(15,23,42,0.92);
      border: 1px dashed #334155;
      border-radius: 14px;
      padding: 28px 18px;
      text-align: center;
    }

    .favorites-empty-title {
      font-size: 18px;
      font-weight: 800;
      color: #e5e7eb;
    }

    .favorites-empty-text {
      margin-top: 8px;
      font-size: 13px;
      color: #94a3b8;
    }

    @media (max-width: 760px) {
      .favorites-hero {
        flex-direction: column;
      }

      .favorites-summary {
        width: 100%;
        justify-content: flex-start;
      }
    }
