    :root {
      --surface2: var(--surface-2);
      --border2: var(--border-strong);
      --text2: var(--text-soft);
      --text3: var(--text-dim);
      --accent2: var(--accent-2);
      --card-bg: var(--surface);
      --ok: var(--ok);
      --warn: var(--warn);
      --bad: var(--bad);
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }

    body {
      position: relative;
      min-height: 100vh;
      overflow-x: hidden;
      overflow-y: hidden;
      background: var(--bg);
      color: var(--text);
      font-family: var(--font-ui);
      font-size: var(--type-body);
      font-variant-numeric: tabular-nums;
    }

    body::before,
    body::after {
      display: none;
    }

    .app {
      display: flex;
      min-height: 100vh;
      height: 100vh;
      overflow: hidden;
    }

    .sidebar {
      width: 240px;
      min-width: 240px;
      background: var(--surface);
      border-right: 1px solid var(--border);
      box-shadow: none;
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    .logo {
      padding: 26px 20px 22px;
      border-bottom: 1px solid var(--border);
      text-align: center;
    }

    .logo img {
      max-width: 140px;
      height: auto;
      display: block;
      margin: 0 auto;
    }

    .logo-pages {
      margin-top: 44px;
      display: flex;
      flex-direction: column;
      gap: 8px;
      align-items: stretch;
      width: 100%;
      padding: 0 20px 20px;
    }

    .logo-pages-label {
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 1.8px;
      color: var(--text3, #9aa1b3);
      padding: 0 2px 6px;
      text-align: left;
    }

    .logo-pages > a,
    .logo-pages .subpage-side-link {
      display: flex;
      align-items: center;
      gap: 12px;
      width: 100%;
      text-align: left;
      color: var(--text2);
      text-decoration: none;
      font-size: 13px;
      font-weight: 500;
      line-height: 1.2;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      padding: 11px 14px;
      border-radius: 10px;
      border: 1px solid transparent;
      background: rgba(255, 255, 255, 0.02);
      transition: all 0.18s ease;
    }

    .logo-pages > a:hover,
    .logo-pages > a.active,
    .logo-pages .subpage-side-link:hover,
    .logo-pages .subpage-side-link.active {
      background: var(--accent-muted);
      border-color: var(--accent-border);
      color: var(--accent);
    }

    .menu-icon {
      width: 16px;
      height: 16px;
      flex: 0 0 16px;
      opacity: 0.95;
      color: currentColor;
    }

    .menu-label {
      flex: 1 1 auto;
    }

    .main {
      flex: 1;
      min-width: 0;
      min-height: 0;
      overflow-x: hidden;
      overflow-y: auto;
    }

    .wrap {
      width: min(1540px, calc(100vw - 40px));
      margin: 0 auto;
      padding: 18px 0 38px;
      display: grid;
      gap: 16px;
    }

    .head {
      border: 1px solid var(--border-strong);
      border-radius: var(--radius-lg);
      background: var(--surface);
      padding: 18px 22px;
      box-shadow: var(--card-shadow);
    }

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

    .head-copy {
      display: grid;
      gap: 4px;
      align-content: start;
      min-width: 0;
      flex: 1 1 auto;
    }

    .head-refresh-group {
      display: inline-flex;
      align-items: center;
      justify-content: flex-end;
      gap: 10px;
      margin-left: auto;
      flex: 0 0 auto;
    }

    .head-refresh-status {
      color: var(--text3);
      font-size: 11px;
      line-height: 1.25;
      text-align: right;
      white-space: nowrap;
    }

    .kicker {
      font-size: 10px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--text-dim);
      font-family: var(--font-ui);
      font-weight: 600;
      margin: 0;
    }

    h1 {
      font-family: var(--font-display);
      font-size: clamp(1.75rem, 2.4vw, 2.25rem);
      font-weight: 600;
      letter-spacing: -0.02em;
      line-height: 1.08;
      margin: 0;
    }

    .subtitle {
      color: var(--text2);
      line-height: 1.6;
      max-width: 90ch;
      font-size: 12px;
    }

    .head-actions {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
    }

    .head-actions.compact {
      margin-top: 2px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 36px;
      border-radius: var(--radius-sm);
      border: 1px solid var(--border-strong);
      padding: 8px 12px;
      text-decoration: none;
      color: var(--text);
      background: var(--surface-2);
      transition: background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease;
      font-size: 13px;
      font-weight: 500;
      cursor: pointer;
      font-family: var(--font-ui);
    }

    .btn:hover {
      color: var(--text);
      border-color: var(--border-strong);
      background: var(--surface-3);
      transform: none;
    }

    .btn-main {
      background: var(--accent);
      border-color: var(--accent-border);
      color: var(--accent-on);
      font-weight: 600;
    }

    .btn-main:hover {
      background: #8fd0a3;
      color: var(--accent-on);
    }

    .btn.is-busy {
      opacity: 0.7;
      cursor: wait;
    }

    .status {
      color: var(--text3);
      font-size: 11px;
    }

    .sections {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
      align-items: stretch;
    }

    .section-card {
      border: 1px solid var(--border-strong);
      border-radius: var(--radius-lg);
      background: var(--card-bg);
      box-shadow: var(--card-shadow);
      padding: 14px;
      display: grid;
      gap: 10px;
      grid-template-rows: auto 1fr;
      transition: border-color 0.16s ease, background-color 0.16s ease;
    }

    .section-card:hover {
      transform: none;
      border-color: var(--accent-border);
      background: var(--surface-2);
    }

    .section-title {
      color: var(--text2);
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 1.1px;
    }

    .pick-shell {
      display: grid;
      gap: 10px;
      align-content: start;
      min-height: 100%;
    }

    .pick-head {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: start;
      gap: 8px;
    }

    .pick-meta-right {
      display: grid;
      justify-items: end;
      gap: 5px;
      min-width: 106px;
    }

    .pick-name {
      font-family: 'Fraunces', serif;
      font-size: 32px;
      line-height: 1.02;
      letter-spacing: 0;
      min-height: 3.05em;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .pick-live {
      font-family: 'Fraunces', serif;
      font-style: italic;
      font-size: 12px;
      line-height: 1;
      color: var(--text2);
      letter-spacing: 0.1px;
      text-align: right;
      white-space: nowrap;
    }

    .kv-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }

    .kv {
      border: 1px solid var(--border);
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.03);
      padding: 8px;
    }

    .kv span {
      display: block;
      color: var(--text3);
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .kv strong {
      display: block;
      margin-top: 4px;
      color: var(--text);
      font-size: 13px;
      font-weight: 500;
      line-height: 1.35;
    }

    .pick-note {
      color: var(--text2);
      line-height: 1.55;
      font-size: 12px;
    }

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

    .signal-pill {
      border: 1px solid rgba(129, 201, 149, 0.42);
      background: rgba(129, 201, 149, 0.12);
      color: var(--ok);
      border-radius: 999px;
      font-size: 10px;
      letter-spacing: 0.7px;
      text-transform: uppercase;
      padding: 5px 9px;
      white-space: nowrap;
    }

    .signal-pill.warn {
      border-color: rgba(246, 230, 168, 0.45);
      background: rgba(246, 230, 168, 0.12);
      color: var(--warn);
    }

    .signal-pill.exchange {
      text-transform: none;
      letter-spacing: 0.3px;
    }

    .score-total {
      display: grid;
      gap: 6px;
      margin-top: 2px;
    }

    .score-total-head {
      display: flex;
      justify-content: space-between;
      gap: 8px;
      color: var(--text2);
      font-size: 10px;
      letter-spacing: 0.8px;
      text-transform: uppercase;
    }

    .score-total-track {
      height: 7px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.14);
      overflow: hidden;
    }

    .score-total-track > span {
      display: block;
      height: 100%;
      width: 0%;
      background: linear-gradient(90deg, #7ecf96 0%, #baf4ca 100%);
      box-shadow: 0 0 14px rgba(129, 201, 149, 0.3);
    }

    .spotlight {
      border: 1px solid var(--border);
      border-radius: 12px;
      background: linear-gradient(155deg, rgba(129, 201, 149, 0.12), rgba(255, 255, 255, 0.02) 45%, rgba(255, 255, 255, 0.01));
      box-shadow: var(--card-shadow);
      padding: 14px;
      display: grid;
      gap: 10px;
    }

    .spotlight-head {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      gap: 10px;
      flex-wrap: wrap;
    }

    .spotlight-title {
      font-family: 'Fraunces', serif;
      font-size: 28px;
      line-height: 1.02;
      letter-spacing: 0;
    }

    .top5 {
      border: 1px solid var(--border);
      border-radius: 12px;
      background: var(--card-bg);
      box-shadow: var(--card-shadow);
      padding: 14px;
      display: grid;
      gap: 12px;
    }

    .top5-head {
      display: flex;
      justify-content: space-between;
      gap: 10px;
      align-items: flex-start;
      flex-wrap: wrap;
    }

    .top5-title {
      font-family: 'Fraunces', serif;
      font-size: 30px;
      line-height: 1;
      letter-spacing: 0;
    }

    .top5-sub {
      color: var(--text2);
      font-size: 12px;
      line-height: 1.5;
      max-width: 90ch;
    }

    .pill {
      border: 1px solid rgba(129, 201, 149, 0.45);
      background: rgba(129, 201, 149, 0.12);
      color: var(--ok);
      border-radius: 999px;
      font-size: 10px;
      padding: 6px 10px;
      white-space: nowrap;
    }

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

    .top5-item {
      border: 1px solid var(--border);
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.025);
      padding: 10px;
      display: grid;
      gap: 8px;
      transition: transform 220ms ease, border-color 160ms ease;
    }

    .top5-item:hover {
      transform: translateY(-2px);
      border-color: rgba(129, 201, 149, 0.32);
    }

    .rank {
      color: var(--warn);
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .name {
      font-family: 'Fraunces', serif;
      font-size: 18px;
      line-height: 1.05;
      letter-spacing: 0.1px;
    }

    .muted {
      color: var(--text3);
      font-size: 11px;
      line-height: 1.45;
    }

    .mini-metrics {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 6px;
    }

    .mini {
      border: 1px solid var(--border);
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.03);
      padding: 7px;
    }

    .mini span {
      display: block;
      color: var(--text3);
      font-size: 9px;
      letter-spacing: 0.8px;
      text-transform: uppercase;
    }

    .mini strong {
      display: block;
      margin-top: 3px;
      font-size: 12px;
      color: var(--text);
      line-height: 1.35;
    }

    .loading,
    .empty,
    .error {
      border: 1px solid var(--border);
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.025);
      padding: 14px;
      color: var(--text2);
      font-size: 12px;
      line-height: 1.55;
    }

    .rankings-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
    }

    .ranking-card {
      border: 1px solid var(--border);
      border-radius: 14px;
      background: rgba(21, 26, 35, 0.96);
      box-shadow: var(--card-shadow);
      padding: 14px;
      display: grid;
      gap: 12px;
      min-height: 280px;
    }

    .ranking-card.tone-top {
      grid-column: 1 / -1;
      padding: 18px;
      gap: 16px;
      border-color: rgba(129, 201, 149, 0.22);
      background: linear-gradient(180deg, rgba(21, 26, 35, 0.98), rgba(21, 26, 35, 0.96)), linear-gradient(165deg, rgba(129, 201, 149, 0.16), rgba(255, 255, 255, 0.02) 42%, rgba(255, 255, 255, 0.01));
    }

    .ranking-card.tone-under {
      border-color: rgba(138, 194, 255, 0.22);
      background: linear-gradient(180deg, rgba(21, 26, 35, 0.98), rgba(21, 26, 35, 0.96)), linear-gradient(165deg, rgba(138, 194, 255, 0.16), rgba(255, 255, 255, 0.02) 42%, rgba(255, 255, 255, 0.01));
    }

    .ranking-card.tone-company {
      border-color: rgba(246, 230, 168, 0.24);
      background: linear-gradient(180deg, rgba(21, 26, 35, 0.98), rgba(21, 26, 35, 0.96)), linear-gradient(165deg, rgba(246, 230, 168, 0.15), rgba(255, 255, 255, 0.02) 42%, rgba(255, 255, 255, 0.01));
    }

    .ranking-card.tone-cycle {
      border-color: rgba(214, 172, 255, 0.22);
      background: linear-gradient(180deg, rgba(21, 26, 35, 0.98), rgba(21, 26, 35, 0.96)), linear-gradient(165deg, rgba(214, 172, 255, 0.14), rgba(255, 255, 255, 0.02) 42%, rgba(255, 255, 255, 0.01));
    }

    .ranking-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .ranking-title {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      font-size: 24px;
      line-height: 1.05;
      letter-spacing: 0;
      font-weight: 700;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      position: relative;
    }

    .info-tip {
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 16px;
      height: 16px;
      border: 1px solid rgba(255, 255, 255, 0.22);
      border-radius: 50%;
      color: var(--text2);
      background: rgba(255, 255, 255, 0.055);
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      font-size: 10px;
      line-height: 1;
      font-weight: 700;
      cursor: help;
      flex: 0 0 auto;
    }

    .info-tip::after {
      content: attr(data-tooltip);
      position: absolute;
      left: 50%;
      top: calc(100% + 8px);
      z-index: 20;
      width: max-content;
      max-width: min(280px, 72vw);
      transform: translate(-50%, -4px);
      opacity: 0;
      pointer-events: none;
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: 8px;
      background: rgba(16, 19, 27, 0.98);
      box-shadow: 0 16px 32px rgba(0, 0, 0, 0.34);
      color: var(--text2);
      padding: 8px 10px;
      font-size: 12px;
      line-height: 1.4;
      font-weight: 500;
      white-space: normal;
      transition: opacity 140ms ease, transform 140ms ease;
    }

    .info-tip:hover::after,
    .info-tip:focus-visible::after {
      opacity: 1;
      transform: translate(-50%, 0);
    }

    .ranking-list {
      display: grid;
      gap: 8px;
      align-content: start;
    }

    .ranking-row {
      border: 1px solid var(--border);
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.025);
      padding: 10px 12px;
      display: grid;
      grid-template-columns: 34px 32px minmax(0, 1fr) auto;
      gap: 10px;
      align-items: center;
      cursor: pointer;
      transition: transform 140ms ease, border-color 140ms ease, background 140ms ease, box-shadow 180ms ease;
    }

    .tone-top .ranking-list {
      grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
      grid-template-rows: repeat(4, minmax(54px, auto));
      gap: 12px;
      align-items: stretch;
    }

    .tone-top .ranking-row {
      position: relative;
      grid-template-columns: 46px 36px minmax(0, 1fr) 116px;
      grid-template-areas:
        "rank logo main price";
      align-items: center;
      min-height: 54px;
      padding: 8px 14px;
      gap: 12px;
      overflow: hidden;
    }

    .tone-top .ranking-row:nth-child(1) {
      grid-column: 1;
      grid-row: 1 / span 4;
      grid-template-columns: 48px 38px minmax(0, 1fr) 116px;
      grid-template-areas:
        "rank logo ticker price"
        "rank votes votes votes";
      align-content: start;
      align-items: center;
      min-height: 100%;
      padding: 14px;
      gap: 12px 12px;
      border-color: rgba(246, 214, 125, 0.48);
      background: #121820;
      box-shadow: inset 0 0 0 1px rgba(246, 214, 125, 0.1);
    }

    .tone-top .ranking-row:nth-child(2) {
      grid-column: 2;
      min-height: 52px;
      padding: 7px 14px;
      border-color: rgba(202, 211, 220, 0.28);
      box-shadow: inset 3px 0 0 rgba(202, 211, 220, 0.66);
    }

    .tone-top .ranking-row:nth-child(3) {
      grid-column: 2;
      min-height: 52px;
      padding: 7px 14px;
      border-color: rgba(196, 126, 75, 0.3);
      box-shadow: inset 3px 0 0 rgba(196, 126, 75, 0.68);
    }

    .tone-top .ranking-row:nth-child(4),
    .tone-top .ranking-row:nth-child(5) {
      grid-column: 2;
      min-height: 52px;
      padding: 7px 14px;
    }

    .ranking-row:hover {
      transform: translateY(-1px);
      border-color: rgba(129, 201, 149, 0.36);
      background: rgba(255, 255, 255, 0.04);
      box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
    }

    .ranking-row:hover .ranking-ticker {
      transform: translateX(3px);
    }

    .logo-thumb {
      width: 32px;
      height: 32px;
      border-radius: 7px;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(255, 255, 255, 0.055);
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .logo-thumb > img {
      width: 28px;
      height: 28px;
      object-fit: contain;
      border-radius: 4px;
    }

    .tone-top .logo-thumb {
      grid-area: logo;
      width: 36px;
      height: 36px;
      border-radius: 8px;
    }

    .tone-top .logo-thumb > img {
      width: 31px;
      height: 31px;
    }

    .tone-top .ranking-row:nth-child(1) .logo-thumb {
      width: 38px;
      height: 38px;
      border-radius: 4px;
      justify-self: start;
      border-color: rgba(255, 255, 255, 0.16);
      background: rgba(255, 255, 255, 0.9);
      box-shadow: none;
    }

    .tone-top .ranking-row:nth-child(1) .logo-thumb > img {
      width: 30px;
      height: 30px;
      border-radius: 2px;
    }

    .logo-init {
      font-size: 12px;
      font-weight: 700;
      color: var(--text2);
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .ranking-rank {
      color: var(--warn);
      font-size: 11px;
      letter-spacing: 1px;
      text-transform: uppercase;
      font-family: 'DM Mono', monospace;
    }

    .tone-top .ranking-rank {
      grid-area: rank;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 34px;
      height: 24px;
      border-radius: 8px;
      color: var(--text);
      letter-spacing: 0;
      font-size: 11px;
      font-weight: 700;
      background: rgba(255, 255, 255, 0.055);
      border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .tone-top .ranking-row:nth-child(1) .ranking-rank {
      width: 42px;
      height: 30px;
      padding: 0;
      color: transparent;
      font-size: 0;
      background: transparent;
      border-color: transparent;
      justify-self: start;
      align-self: start;
    }

    .tone-top .ranking-row:nth-child(1) .ranking-rank::before {
      content: none;
    }

    .tone-top .ranking-row:nth-child(1) .ranking-rank::after {
      content: "#1";
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 42px;
      height: 30px;
      border-radius: 8px;
      color: #10131b;
      font-size: 13px;
      font-weight: 800;
      background: linear-gradient(135deg, #fff3b0, #d6a629);
      border: 1px solid rgba(246, 214, 125, 0.58);
      box-shadow: 0 0 14px rgba(246, 214, 125, 0.18);
    }

    .tone-top .ranking-row:nth-child(2) .ranking-rank {
      color: #10131b;
      background: linear-gradient(135deg, #f2f5f7, #a7b0ba);
      border-color: rgba(242, 245, 247, 0.52);
    }

    .tone-top .ranking-row:nth-child(3) .ranking-rank {
      color: #10131b;
      background: linear-gradient(135deg, #f0c19b, #a96939);
      border-color: rgba(240, 193, 155, 0.5);
    }

    .ranking-main {
      display: grid;
      gap: 3px;
      min-width: 0;
    }

    .tone-top .ranking-main {
      grid-area: main;
      display: grid;
      gap: 3px;
      max-width: none;
    }

    .tone-top .ranking-row:nth-child(1) .ranking-main {
      display: contents;
    }

    .tone-top .ranking-row:nth-child(n+2) .ranking-main {
      grid-template-columns: minmax(0, 1fr) 214px;
      grid-template-areas: "summary votes";
      align-items: center;
      column-gap: 10px;
    }

    .tone-top .ticker-line {
      grid-area: auto;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 2px;
    }

    .tone-top .ranking-row:nth-child(n+2) .ticker-line {
      grid-area: summary;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 2px;
    }

    .tone-top .ranking-row:nth-child(1) .ticker-line {
      grid-area: ticker;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 3px;
      padding-top: 0;
      min-width: 0;
    }

    .tone-top .ranking-company {
      grid-area: auto;
    }

    .tone-top .vote-line {
      justify-content: flex-start;
      column-gap: 16px;
      row-gap: 4px;
    }

    .tone-top .ranking-row:nth-child(1) .vote-line {
      grid-area: votes;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px 8px;
      width: 100%;
      justify-self: stretch;
      align-self: start;
      margin-top: 6px;
      margin-left: 0;
    }

    .tone-top .ranking-row:nth-child(n+2) .vote-line {
      grid-area: votes;
      display: flex;
      flex-wrap: nowrap;
      align-items: center;
      column-gap: 10px;
      row-gap: 0;
      justify-self: start;
      width: 214px;
      margin-left: -10px;
      overflow: visible;
    }

    .ticker-line {
      display: grid;
      grid-template-columns: 76px minmax(0, 1fr);
      align-items: baseline;
      gap: 6px;
      min-width: 0;
    }

    .ranking-ticker {
      flex: 0 0 auto;
      max-width: max-content;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      font-size: 18px;
      line-height: 1;
      letter-spacing: 0;
      font-weight: 700;
      white-space: nowrap;
      overflow: visible;
      text-overflow: clip;
      transition: transform 160ms ease;
    }

    .tone-top .ranking-ticker {
      font-size: 18px;
    }

    .tone-top .ranking-row:nth-child(1) .ranking-ticker {
      font-size: 21px;
      line-height: 1;
    }

    .ranking-company {
      flex: 1 1 auto;
      min-width: 0;
      justify-self: stretch;
      color: var(--text2);
      font-size: 12px;
      letter-spacing: 0;
      text-transform: none;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      opacity: 0.95;
    }

    .ranking-price {
      color: var(--text);
      font-size: 13px;
      font-weight: 600;
      white-space: nowrap;
    }

    .tone-top .ranking-price {
      grid-area: price;
      justify-self: end;
      width: 116px;
      text-align: right;
      font-size: 13px;
    }

    .tone-top .ranking-row:nth-child(1) .ranking-price {
      align-self: start;
      justify-self: end;
      border: 0;
      border-radius: 0;
      background: transparent;
      padding: 2px 0 0;
      color: #ffffff;
      font-family: 'DM Mono', monospace;
      font-size: 18px;
      font-weight: 700;
      letter-spacing: 0;
    }

    .ranking-card:not(.tone-top) .ranking-title {
      font-size: 20px;
    }

    .ranking-card:not(.tone-top) .ranking-row {
      grid-template-columns: 30px 28px minmax(0, 1fr) auto;
      padding: 9px 10px;
      gap: 8px;
    }

    .ranking-card:not(.tone-top) .ranking-main {
      gap: 7px;
    }

    .ranking-card:not(.tone-top) .logo-thumb {
      width: 28px;
      height: 28px;
      border-radius: 7px;
    }

    .ranking-card:not(.tone-top) .logo-thumb > img {
      width: 24px;
      height: 24px;
    }

    .ranking-card:not(.tone-top) .ranking-ticker {
      font-size: 16px;
    }

    .ranking-card:not(.tone-top) .vote-line {
      column-gap: 10px;
      row-gap: 6px;
    }

    .ranking-card:not(.tone-top) .vote-score {
      font-size: 11px;
    }

    .ranking-card:not(.tone-top) .ranking-company {
      display: none;
    }

    .vote-line {
      display: flex;
      column-gap: 14px;
      row-gap: 7px;
      flex-wrap: wrap;
      align-items: center;
    }

    .vote-score {
      display: inline-flex;
      align-items: baseline;
      gap: 4px;
      font-size: 12px;
      letter-spacing: 0;
      font-weight: 600;
      color: var(--text2);
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      font-variant-numeric: tabular-nums;
      line-height: 1;
    }

    .vote-label {
      flex: 0 0 auto;
      color: rgba(255, 255, 255, 0.75);
    }

    .vote-score.good {
      text-shadow: none;
    }

    .vote-score.mid {
      text-shadow: none;
    }

    .vote-score.bad {
      text-shadow: none;
    }

    .vote-score.focus {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 48px;
      border-radius: 6px;
      padding: 4px 8px;
    }

    .tone-top .ranking-row:nth-child(1) .vote-score {
      display: grid;
      gap: 8px;
      align-content: center;
      justify-items: center;
      min-width: 0;
      border: 0;
      border-radius: 2px;
      background: rgba(255, 255, 255, 0.035);
      padding: 13px 10px;
      font-size: 0;
      color: #ffffff;
      box-shadow: none;
    }

    .tone-top .ranking-row:nth-child(1) .vote-score::before {
      content: attr(data-label-full);
      color: var(--text3);
      font-size: 9px;
      line-height: 1;
      letter-spacing: 1.4px;
      text-transform: uppercase;
    }

    .tone-top .ranking-row:nth-child(1) .vote-score::after {
      content: attr(data-value);
      color: #ffffff;
      font-family: 'DM Mono', monospace;
      font-size: 13px;
      font-weight: 700;
      line-height: 1;
    }

    .tone-top .ranking-row:nth-child(1) .vote-score.focus {
      grid-column: 1 / -1;
      grid-template-columns: 1fr auto;
      justify-items: stretch;
      align-items: center;
      background: rgba(76, 175, 114, 0.08);
      border: 0.5px solid rgba(76, 175, 114, 0.24);
      padding: 14px 12px;
    }

    .tone-top .ranking-row:nth-child(1) .vote-score.focus::before {
      color: #50f085;
      font-size: 11px;
      letter-spacing: 1.2px;
    }

    .tone-top .ranking-row:nth-child(1) .vote-score.focus::after {
      color: #50f085;
      font-size: 14px;
      justify-self: end;
    }

    .error {
      border-color: rgba(239, 154, 154, 0.4);
      color: #f0b6b6;
    }

    .asset-overlay {
      position: fixed;
      inset: 0;
      z-index: 9999;
      display: none;
      background: rgba(7, 8, 12, 0.74);
      backdrop-filter: blur(3px);
      padding: 14px;
    }

    .asset-overlay.open {
      display: grid;
      grid-template-rows: auto 1fr;
      gap: 8px;
    }

    .asset-overlay-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
    }

    .asset-overlay-title {
      color: var(--text2);
      font-size: 12px;
      letter-spacing: 0.7px;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    }

    .asset-overlay-close {
      border: 1px solid var(--border2);
      background: rgba(255, 255, 255, 0.04);
      color: var(--text);
      border-radius: 8px;
      padding: 6px 10px;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      font-size: 11px;
      cursor: pointer;
    }

    .asset-overlay-close:hover {
      border-color: var(--accent2);
      color: var(--accent);
    }

    .asset-overlay-frame {
      width: 100%;
      height: 100%;
      min-height: 70vh;
      border: 1px solid var(--border2);
      border-radius: 10px;
      background: #10131b;
    }

    @media (max-width: 1320px) {
      .sections { grid-template-columns: 1fr; }
      .top5-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
      .rankings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .ranking-card.tone-top { grid-column: 1 / -1; }
    }

    @media (max-width: 1080px) {
      .sidebar {
        display: none;
      }
    }

    @media (max-width: 900px) {
      .top5-grid { grid-template-columns: 1fr 1fr; }
      .rankings-grid { grid-template-columns: 1fr; }
      .tone-top .ranking-list {
        grid-template-columns: 1fr;
        grid-template-rows: none;
      }
      .tone-top .ranking-row,
      .tone-top .ranking-row:nth-child(1),
      .tone-top .ranking-row:nth-child(2),
      .tone-top .ranking-row:nth-child(3),
      .tone-top .ranking-row:nth-child(4),
      .tone-top .ranking-row:nth-child(5) {
        grid-column: auto;
        grid-row: auto;
        min-height: 0;
      }
    }

    @media (max-width: 720px) {
      .wrap { width: min(1540px, calc(100vw - 18px)); padding-top: 14px; }
      .head { padding: 14px; }
      h1 { font-size: 28px; }
      .pick-name { font-size: 26px; }
      .spotlight-title { font-size: 24px; }
      .top5-title { font-size: 24px; }
      .head-top { align-items: stretch; flex-direction: column; }
      .head-copy { width: 100%; }
      .head-refresh-group { width: 100%; justify-content: space-between; margin-left: 0; }
      .head-refresh-status { text-align: left; white-space: normal; }
      .top5-grid { grid-template-columns: 1fr; }
      .kv-grid { grid-template-columns: 1fr; }
      .tone-top .ranking-row,
      .tone-top .ranking-row:nth-child(1),
      .tone-top .ranking-row:nth-child(2),
      .tone-top .ranking-row:nth-child(3),
      .tone-top .ranking-row:nth-child(4),
      .tone-top .ranking-row:nth-child(5) {
        grid-template-columns: 34px 32px minmax(0, 1fr) auto;
        grid-template-areas: none;
        padding: 10px 12px;
        gap: 10px;
      }
      .tone-top .ranking-row:nth-child(1) {
        align-items: center;
      }
      .tone-top .ranking-rank,
      .tone-top .logo-thumb,
      .tone-top .ranking-main,
      .tone-top .ranking-price,
      .tone-top .ticker-line,
      .tone-top .ranking-company,
      .tone-top .vote-line {
        grid-area: auto;
      }
      .tone-top .ranking-main {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas: none;
        max-width: none;
        gap: 3px;
        text-align: left;
        justify-items: stretch;
      }
      .tone-top .ranking-row:nth-child(1) .ranking-main {
        gap: 3px;
        text-align: left;
        justify-items: stretch;
      }
      .tone-top .ranking-row:nth-child(n+2) .ranking-main {
        grid-template-columns: 1fr;
        grid-template-areas: none;
        column-gap: 0;
      }
      .tone-top .ranking-row:nth-child(1) .ticker-line {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
      }
      .tone-top .ranking-row:nth-child(n+2) .ticker-line {
        grid-area: auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
      }
      .tone-top .vote-line,
      .tone-top .ranking-row:nth-child(1) .vote-line,
      .tone-top .ranking-row:nth-child(n+2) .vote-line {
        display: flex;
        grid-area: auto;
        position: static;
        width: auto;
        transform: none;
        justify-content: flex-start;
        margin-top: 0;
        margin-left: 0;
      }
      .tone-top .ranking-row:nth-child(1) .vote-score {
        display: inline-flex;
        min-width: 48px;
        padding: 4px 8px;
        font-size: 12px;
        background: transparent;
        border: 0;
      }
      .tone-top .ranking-row:nth-child(1) .vote-score::before,
      .tone-top .ranking-row:nth-child(1) .vote-score::after {
        content: none;
      }
      .tone-top .ranking-row:nth-child(1) .vote-score.focus {
        display: inline-flex;
        grid-column: auto;
        background: rgba(246, 230, 168, 0.12);
        border: 1px solid rgba(246, 230, 168, 0.5);
        padding: 4px 8px;
      }
      .tone-top .ranking-rank,
      .tone-top .ranking-row:nth-child(1) .ranking-rank {
        width: auto;
        height: auto;
        color: var(--warn);
        font-size: 11px;
        background: transparent;
        border: 0;
      }
      .tone-top .logo-thumb,
      .tone-top .ranking-row:nth-child(1) .logo-thumb {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        box-shadow: none;
      }
      .tone-top .logo-thumb > img,
      .tone-top .ranking-row:nth-child(1) .logo-thumb > img {
        width: 28px;
        height: 28px;
        border-radius: 4px;
      }
      .tone-top .ranking-ticker,
      .tone-top .ranking-row:nth-child(1) .ranking-ticker,
      .tone-top .ranking-row:nth-child(2) .ranking-ticker,
      .tone-top .ranking-row:nth-child(3) .ranking-ticker {
        font-size: 18px;
        line-height: 1;
      }
      .tone-top .ranking-price {
        padding-top: 0;
        font-size: 13px;
      }
      .tone-top .ranking-row:nth-child(1) .ranking-price {
        border: 0;
        background: transparent;
        padding: 0;
        font-size: 13px;
      }
    }
