body {
      font-family: 'Roboto', sans-serif;
      text-align: center;
      background: linear-gradient(to bottom right, #1e1e1e, #2c2c2c);
      margin: 0;
      padding: 20px;
      color: #ffffff;
    }

    .container {
      position: relative;
      max-width: 960px;
      margin: auto;
      padding: 72px 20px 20px;
      background: #222;
      border-radius: 12px;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    }

    h1, p#subtitle {
      text-align: center;
      margin: 0 0 10px 0;
    }

    p#subtitle {
      font-size: 1.1em;
      margin-bottom: 20px;
    }

    .signal-card {
      margin: 22px auto 20px;
      max-width: 820px;
      padding: 22px;
      border: 1px solid #3a3a3a;
      border-radius: 8px;
      background: #1b1b1b;
      text-align: center;
    }

    .signal-card h2 {
      margin: 0 0 12px;
      font-size: 1.35em;
      color: #ffffff;
    }

    .signal-value {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: fit-content;
      max-width: 100%;
      height: 48px;
      min-width: 240px;
      min-height: 48px;
      box-sizing: border-box;
      padding: 0 18px;
      border: 1px solid transparent;
      border-radius: 6px;
      color: #101010;
      font-size: 0.95rem;
      font-weight: 700;
      line-height: 1;
      letter-spacing: 0;
      white-space: nowrap;
    }

    .signal-actionable {
      cursor: pointer;
    }

    .signal-actionable:focus-visible {
      outline: 3px solid #ffffff;
      outline-offset: 3px;
    }

    .signal-buy {
      background: #3454c8;
      color: #ffffff;
    }

    .signal-hold {
      background: #f2d14b;
    }

    .signal-sell {
      background: #ff6b6b;
    }

    .signal-unavailable {
      background: #9a9a9a;
      font-size: 1.4em;
    }

    .signal-meta,
    .signal-note,
    .signal-disclaimer {
      margin: 10px 0 0;
      color: #dddddd;
      line-height: 1.5;
    }

    .signal-note {
      color: #cfcfcf;
    }

    .signal-disclaimer {
      color: #bbbbbb;
      font-size: 0.92em;
    }

    .signal-toggle {
      margin-top: 12px;
      padding: 0;
      border: none;
      background: none;
      color: #87cefa;
      cursor: pointer;
      font: inherit;
      font-weight: bold;
      text-decoration: underline;
    }

    .signal-explanation {
      display: none;
      margin: 12px auto 0;
      max-width: 680px;
      color: #dddddd;
      line-height: 1.6;
    }

    .signal-explanation.is-open {
      display: block;
    }

    .premium-locked {
      margin: 16px auto 0;
      max-width: 520px;
      padding: 14px;
      border: 1px solid #454545;
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.04);
      color: #dddddd;
    }

    .premium-locked strong {
      display: block;
      color: #ffffff;
      margin-bottom: 6px;
    }

    img {
      max-width: 100%;
      height: auto;
      border-radius: 8px;
      background: #444;
      margin-bottom: 20px;
      display: block;
      margin-left: auto;
      margin-right: auto;
    }

    .chart-error {
      display: none;
      margin: -6px 0 18px;
      color: #ffb4b4;
      font-weight: bold;
    }

    .language-control {
      position: absolute;
      top: 16px;
      right: 16px;
      display: flex;
      justify-content: flex-end;
    }

    .language-control select {
      min-height: 32px;
      min-width: 132px;
      box-sizing: border-box;
      padding: 4px 30px 4px 10px;
      border: 1px solid #565656;
      border-radius: 6px;
      background: #3a3a3a;
      color: white;
      cursor: pointer;
      font-weight: bold;
      font: inherit;
    }

    .language-control select:hover {
      background: #555;
    }

    .chart-explanation {
      margin: 22px auto 0;
      max-width: 820px;
      text-align: left;
    }

    .chart-explanation h2,
    .premium-section h2,
    .buy-cta h2 {
      margin: 0 0 10px;
      font-size: 1.35em;
      color: #ffffff;
    }

    .chart-explanation p,
    .premium-section p,
    .buy-cta p {
      margin: 0;
      color: #dddddd;
      line-height: 1.6;
    }

    .premium-section {
      margin: 24px auto 0;
      max-width: 820px;
      padding: 22px;
      border: 1px solid #3a3a3a;
      border-radius: 8px;
      background: #1b1b1b;
      text-align: left;
    }

    .premium-list,
    .premium-modal-list {
      margin: 14px 0 18px;
      padding-left: 22px;
      color: #dddddd;
      line-height: 1.7;
    }

    [dir="rtl"] .premium-list,
    [dir="rtl"] .premium-modal-list {
      padding-left: 0;
      padding-right: 22px;
    }

    .premium-button {
      min-height: 48px;
      padding: 12px 22px;
      border: none;
      border-radius: 6px;
      background: #f2a900;
      color: #181818;
      cursor: pointer;
      font: inherit;
      font-weight: bold;
    }

    .premium-button:hover {
      background: #d99600;
    }

    .premium-page-link {
      display: inline-flex;
      margin-left: 12px;
      color: #87cefa;
      font-weight: bold;
      text-decoration: none;
    }

    .premium-page-link:hover {
      text-decoration: underline;
    }

    .premium-modal {
      position: fixed;
      inset: 0;
      z-index: 10;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 18px;
      background: rgba(0, 0, 0, 0.72);
    }

    .premium-modal[hidden] {
      display: none;
    }

    .premium-modal-content {
      position: relative;
      width: min(560px, 100%);
      max-height: min(720px, calc(100vh - 36px));
      overflow-y: auto;
      box-sizing: border-box;
      padding: 26px;
      border: 1px solid #3f3f3f;
      border-radius: 8px;
      background: #1b1b1b;
      color: #ffffff;
      text-align: left;
      box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
    }

    [dir="rtl"] .premium-modal-content {
      text-align: right;
    }

    .premium-modal-content h2 {
      margin: 0 34px 10px 0;
      font-size: 1.45em;
    }

    [dir="rtl"] .premium-modal-content h2 {
      margin: 0 0 10px 34px;
    }

    .premium-modal-close {
      position: absolute;
      top: 14px;
      right: 14px;
      width: 34px;
      height: 34px;
      border: none;
      border-radius: 50%;
      background: #333333;
      color: #ffffff;
      cursor: pointer;
      font-size: 1.25em;
      line-height: 1;
    }

    [dir="rtl"] .premium-modal-close {
      right: auto;
      left: 14px;
    }

    .premium-price {
      margin: 12px 0 16px;
      color: #f2d14b;
      font-weight: bold;
    }

    .premium-form {
      margin-top: 14px;
    }

    .buy-cta {
      margin: 24px auto 0;
      max-width: 820px;
      padding-top: 22px;
      border-top: 1px solid #3a3a3a;
      text-align: center;
    }

    .subscribe-section {
      margin: 24px auto 0;
      max-width: 820px;
      padding: 22px;
      border: 1px solid #3a3a3a;
      border-radius: 8px;
      background: #1b1b1b;
      text-align: center;
    }

    .subscribe-section h2 {
      margin: 0 0 8px;
      font-size: 1.35em;
      color: #ffffff;
    }

    .subscribe-section p {
      margin: 0;
      color: #dddddd;
      line-height: 1.6;
    }

    .subscribe-form {
      display: flex;
      gap: 10px;
      margin-top: 16px;
    }

    .subscribe-form input {
      flex: 1;
      min-width: 240px;
      min-height: 48px;
      box-sizing: border-box;
      padding: 12px 14px;
      border: 1px solid #555;
      border-radius: 6px;
      background: #111;
      color: #ffffff;
      font: inherit;
    }

    .subscribe-form input::placeholder {
      color: #9a9a9a;
    }

    .subscribe-form button {
      min-height: 48px;
      padding: 12px 22px;
      border: none;
      border-radius: 6px;
      background: #f2a900;
      color: #181818;
      cursor: pointer;
      font: inherit;
      font-weight: bold;
    }

    .subscribe-form button:hover {
      background: #d99600;
    }

    .subscribe-form button:disabled {
      background: #8f8054;
      cursor: wait;
    }

    .subscribe-trust {
      margin-top: 10px;
      color: #bbbbbb;
      font-size: 0.9em;
    }

    .subscribe-message {
      min-height: 20px;
      margin-top: 10px;
      color: #a8e6bf;
      font-size: 0.95em;
      font-weight: bold;
    }

    .subscribe-message.error {
      color: #ffb4b4;
    }

    .cta-buttons {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 12px;
      margin-top: 16px;
    }

    .moonpay-btn,
    .topper-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex: 0 0 auto;
      min-height: 48px;
      box-sizing: border-box;
      padding: 12px 22px;
      color: white;
      text-decoration: none;
      font: inherit;
      font-size: 0.98em;
      font-weight: bold;
      border-radius: 6px;
      transition: background 0.3s;
    }

    .moonpay-btn {
      background-color: #3c67e3;
    }

    .moonpay-btn:hover {
      background-color: #2a4fcc;
    }

    .topper-btn {
      background-color: #0f8f68;
    }

    .topper-btn:hover {
      background-color: #0b7556;
    }

    .disclaimer {
      margin-top: 14px;
      color: #bbbbbb;
      font-size: 0.92em;
    }

    .update-btn {
      display: inline-flex;
      align-items: center;
      border: none;
      margin-top: 20px;
      margin-bottom: 20px;
      padding: 12px 24px;
      background-color: #4caf50;
      color: white;
      text-decoration: none;
      font-weight: bold;
      border-radius: 6px;
      cursor: pointer;
      font: inherit;
      transition: background 0.3s, transform 0.2s;
      box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    }

    .update-btn:hover {
      background-color: #43a047;
      transform: scale(1.04);
    }

    .update-btn svg {
      vertical-align: middle;
      margin-right: 8px;
      fill: white;
    }

    .seo-links {
      margin: 10px auto 0;
      max-width: 820px;
      padding-top: 16px;
      border-top: 1px solid #3a3a3a;
      color: #bbbbbb;
      line-height: 1.7;
    }

    .seo-links a {
      color: #87cefa;
      text-decoration: none;
      margin: 0 8px;
      font-weight: bold;
    }

    .seo-links a:hover {
      text-decoration: underline;
    }

    footer {
      margin-top: 40px;
      font-size: 0.9em;
      color: #aaa;
    }

    footer a {
      color: #87cefa;
      text-decoration: none;
      margin: 0 10px;
    }

    footer a:hover {
      text-decoration: underline;
    }

    body {
      text-align: left;
      background: #071426;
      padding: 0;
    }

    .container {
      max-width: 1120px;
      padding: 24px 20px 28px;
      background: transparent;
      border-radius: 0;
      box-shadow: none;
    }

    .site-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      margin-bottom: 28px;
      padding-bottom: 16px;
      border-bottom: 1px solid #1d3654;
    }

    .brand {
      color: #ffffff;
      font-size: 1.05rem;
      font-weight: 700;
      letter-spacing: 0;
      text-decoration: none;
      white-space: nowrap;
    }

    .main-nav {
      display: flex;
      align-items: center;
      gap: 6px;
      margin-left: auto;
    }

    .main-nav a {
      padding: 7px 10px;
      border-radius: 6px;
      color: #d6dce7;
      font-size: 0.95rem;
      text-decoration: none;
    }

    .main-nav a:hover {
      background: #10233b;
      color: #ffffff;
    }

    .language-control {
      position: static;
    }

    .page-title {
      margin: 0 0 8px;
      font-size: clamp(2rem, 4vw, 3rem);
      line-height: 1.1;
      text-align: left;
    }

    p#subtitle {
      margin: 0 0 18px;
      color: #adb6c6;
      font-size: 1rem;
      text-align: left;
    }

    .signal-card,
    .chart-section,
    .insights-section,
    .premium-section,
    .buy-cta,
    .subscribe-section,
    .share-section {
      max-width: none;
      margin: 24px 0 0;
      padding: 18px;
      border: 1px solid #1d3654;
      border-radius: 8px;
      background: #0c1b2f;
      text-align: left;
    }

    .signal-card {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 16px;
      align-items: start;
      margin-top: 18px;
    }

    .signal-card h2,
    .stat-label {
      margin: 0 0 8px;
      color: #adb6c6;
      font-size: 0.9rem;
      font-weight: 700;
      line-height: 20px;
      min-height: 20px;
      text-transform: uppercase;
    }

    .signal-main,
    .signal-detail {
      display: grid;
      grid-template-rows: 20px 48px;
      row-gap: 8px;
      min-width: 0;
    }

    .signal-main {
      justify-self: start;
    }

    .signal-detail {
      justify-self: center;
      text-align: center;
    }

    .signal-detail + .signal-detail {
      justify-self: end;
      text-align: right;
    }

    .signal-value {
      min-height: 48px;
      min-width: 0;
      padding: 0 22px;
      border-radius: 6px;
      font-size: 0.95rem;
    }

    .signal-meta,
    .signal-note,
    .signal-disclaimer {
      margin: 4px 0 0;
      color: #d6dce7;
    }

    .signal-detail .signal-meta {
      display: flex;
      align-items: center;
      height: 48px;
      margin: 0;
      line-height: 1;
    }

    .signal-detail {
      justify-items: center;
    }

    .signal-detail + .signal-detail {
      justify-items: end;
    }

    .signal-note {
      grid-column: 1 / -1;
      color: #c7cfdd;
    }

    .signal-disclaimer {
      grid-column: 1 / -1;
      color: #98a3b5;
    }

    .signal-toggle {
      grid-column: 1 / -1;
      justify-self: start;
      color: #9fc3f4;
    }

    .signal-explanation {
      grid-column: 1 / -1;
      margin-left: 0;
    }

    .premium-locked {
      display: none;
    }

    .chart-section img {
      width: 100%;
      margin-bottom: 12px;
      background: #10233b;
    }

    .chart-explanation {
      max-width: none;
      margin: 0;
    }

    .chart-explanation h2 {
      position: absolute;
      width: 1px;
      height: 1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
    }

    .chart-explanation p,
    .premium-section p,
    .buy-cta p,
    .share-section p {
      color: #d6dce7;
    }

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

    .insight-card {
      min-height: 96px;
      padding: 14px;
      border: 1px solid #1d3654;
      border-radius: 8px;
      background: #08182b;
    }

    .insight-card h3 {
      margin: 0 0 10px;
      color: #adb6c6;
      font-size: 0.9rem;
    }

    .insight-value {
      margin: 0;
      color: #ffffff;
      font-size: 1.05rem;
      font-weight: 700;
      line-height: 1.4;
    }

    .premium-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 16px;
    }

    .premium-button,
    .premium-page-link,
    .subscribe-form button,
    .moonpay-btn,
    .topper-btn,
    .share-button,
    .update-btn {
      width: fit-content;
      min-width: 240px;
      max-width: 100%;
      height: 48px;
      min-height: 48px;
      box-sizing: border-box;
      padding: 0 18px;
      border-radius: 6px;
      font-size: 0.95rem;
      line-height: 1;
      box-shadow: none;
      transition: background-color 0.2s ease, border-color 0.2s ease;
      white-space: nowrap;
    }

    .premium-button,
    .subscribe-form button {
      border: 1px solid #3454c8;
      background: #3454c8;
      color: #ffffff;
    }

    .premium-page-link,
    .share-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex: 0 0 auto;
      border: 1px solid #3454c8;
      background: #3454c8;
      color: #ffffff;
      cursor: pointer;
      font: inherit;
      font-weight: 700;
      text-decoration: none;
    }

    .premium-page-link {
      border-color: #c6922c;
      background: #c6922c;
      color: #111318;
      margin-left: 0;
    }

    .cta-buttons {
      justify-content: flex-start;
    }

    .moonpay-btn {
      border: 1px solid #3454c8;
      background-color: #3454c8;
    }

    .topper-btn {
      border: 1px solid #3454c8;
      background-color: #3454c8;
    }

    .provider-note,
    .disclaimer,
    .subscribe-trust {
      color: #98a3b5;
    }

    .subscribe-section {
      max-width: 1040px;
    }

    .subscribe-form {
      max-width: 970px;
    }

    .subscribe-form input {
      flex: 3 1 0;
      min-height: 40px;
      padding: 9px 12px;
      border-color: #4c596d;
      background: #061224;
    }

    .subscribe-form button {
      flex: 0 0 auto;
    }

    .update-btn {
      border: 1px solid #3454c8;
      background-color: #3454c8;
      margin-top: 16px;
      margin-bottom: 0;
    }

    .premium-button:hover,
    .subscribe-form button:hover,
    .moonpay-btn:hover,
    .topper-btn:hover,
    .share-button:hover,
    .update-btn:hover {
      background-color: #2944ad;
      border-color: #2944ad;
    }

    .premium-page-link:hover {
      background: #b88424;
      border-color: #b88424;
      color: #111318;
      text-decoration: none;
    }

    .update-btn svg {
      flex: 0 0 auto;
    }

    .update-btn:hover {
      transform: none;
    }

    .share-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 14px;
    }

    .share-status {
      min-height: 20px;
      margin: 10px 0 0;
      color: #a8e6bf;
      font-weight: 700;
    }

    .native-share-button[hidden] {
      display: none;
    }

    @media (max-width: 600px) {
      body {
        padding: 0;
      }

      .container {
        padding: 16px 14px 20px;
      }

      .site-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
      }

      .main-nav {
        width: 100%;
        flex-wrap: wrap;
        margin-left: 0;
      }

      .language-control {
        width: 100%;
        justify-content: flex-start;
      }

      .signal-card {
        grid-template-columns: 1fr;
        margin-top: 16px;
        padding: 18px 14px;
      }

      .signal-value {
        width: fit-content;
        max-width: 100%;
        box-sizing: border-box;
      }

      .chart-explanation,
      .insights-section,
      .premium-section,
      .share-section,
      .subscribe-section,
      .buy-cta {
        text-align: left;
      }

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

      .subscribe-form,
      .premium-form {
        flex-direction: column;
      }

      .subscribe-form button,
      .premium-form button,
      .premium-button {
        width: 100%;
      }

      .premium-page-link {
        display: inline-flex;
        margin: 12px 0 0;
      }

      .premium-modal-content {
        padding: 22px 16px;
      }

      .cta-buttons {
        flex-direction: column;
      }

      .moonpay-btn,
      .topper-btn,
      .update-btn,
      .share-button {
        width: 100%;
        max-width: none;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
      }
    }
    .header-panel { display: contents; }
    .data-freshness { grid-column: 1 / -1; margin: 0; padding: 10px 12px; color: #ffe0a3; border: 1px solid #85632d; border-radius: 6px; background: #342a18; }
    .data-freshness[hidden] { display: none; }
    .menu-toggle:focus-visible, .header-panel a:focus-visible, .header-panel select:focus-visible {
      outline: 2px solid #9fc3f4;
      outline-offset: 3px;
    }
    @media (max-width: 700px) {
      .container { padding: 12px 14px 20px; }
      .site-header { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0; margin-bottom: 14px; padding-bottom: 10px; }
      .menu-toggle { display: block; grid-column: 2; padding: 7px 11px; min-width: 44px; min-height: 44px; color: #e4edfc; background: #132b47; border: 1px solid #355778; border-radius: 8px; font-size: 1.3rem; }
      .header-panel { display: none; position: absolute; inset-inline-end: 0; top: 100%; z-index: 20; width: min(320px, calc(100vw - 28px)); max-height: calc(100dvh - 90px); overflow-y: auto; box-sizing: border-box; padding: 12px; border: 1px solid #355778; border-radius: 10px; background: #0c1b2f; box-shadow: 0 12px 28px #0008; }
      .site-header.menu-open .header-panel { display: grid; gap: 10px; }
      .header-panel .main-nav { display: grid; gap: 2px; margin: 0; }
      .header-panel .language-control { display: flex; margin: 0; width: 100%; }
      .header-panel select { width: 100%; min-width: 0; min-height: 44px; }
      .main-nav a { display: flex; align-items: center; box-sizing: border-box; min-height: 44px; padding: 8px; }
      .page-title { font-size: clamp(1.65rem, 7vw, 2.1rem); }
      p#subtitle { margin-bottom: 8px; font-size: .85rem; }
      .signal-card { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; padding: 14px; }
      .signal-main, .signal-detail { display: block; justify-self: stretch; text-align: start; }
      .signal-detail, .signal-detail + .signal-detail { justify-self: stretch; justify-items: start; text-align: start; }
      .signal-card h2, .stat-label { min-height: 0; margin: 0 0 4px; font-size: .75rem; line-height: 1.3; }
      .signal-value { min-width: 0; min-height: 0; height: auto; width: fit-content; padding: 7px 12px; font-size: .85rem; }
      .signal-detail .signal-meta { height: auto; min-height: 32px; font-size: .9rem; }
      #ratio-value { overflow-wrap: anywhere; }
      .signal-note { margin: 0; font-size: .86rem; }
      .signal-disclaimer { grid-column: 1 / -1; margin: 0; font-size: .76rem; }
      .signal-toggle { grid-column: 1 / -1; font-size: .8rem; }
      .signal-explanation.is-open { display: block; }
      .chart-section { margin-top: 14px; padding: 12px; }
      .chart-section img { height: auto; max-width: 100%; }
      .chart-explanation { margin-top: 12px; }
    }
    @media (min-width: 701px) { .menu-toggle { display: none; } }
    @media (min-width: 701px) and (max-width: 950px) {
      .signal-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .signal-value { min-width: 0; }
    }
