/* === 局部樣式隔離 === */

    /* === BF 果實價值：快速排行/分享 === */
    .fv-last-updated {
      margin: 8px 0 12px;
      padding: 10px 12px;
      border: 1px solid #eee;
      border-radius: 12px;
      background: #fafafa;
      font-size: 14px;
    }
    .fv-quick-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 10px;
      margin: 10px 0 12px;
    }
    .fv-quick-btn {
      border: 1px solid #e8e8e8;
      border-radius: 14px;
      padding: 12px 12px;
      background: #fff;
      cursor: pointer;
      font-weight: 700;
      transition: transform .06s ease, box-shadow .12s ease;
      box-shadow: 0 1px 0 rgba(0,0,0,0.04);
    }
    .fv-quick-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,0.07); }
    .fv-quick-btn:active { transform: translateY(0); box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
    .fv-quick-btn-secondary { background:#f6ffed; border-color:#b7eb8f; }
    .fv-ranklist {
      border-top: 1px dashed #eee;
      padding-top: 10px;
    }
    .fv-rank-title {
      font-weight: 800;
      margin: 6px 0 10px;
    }
    .fv-rank-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 10px 10px;
      border: 1px solid #eee;
      border-radius: 14px;
      margin-bottom: 8px;
      background: #fff;
    }
    .fv-rank-left {
      display: flex;
      align-items: center;
      gap: 10px;
      min-width: 0;
    }
    .fv-rank-no {
      width: 28px;
      height: 28px;
      border-radius: 999px;
      background: #f0f5ff;
      border: 1px solid #adc6ff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      flex: 0 0 auto;
    }
    .fv-rank-name {
      font-weight: 800;
      border: 0;
      background: transparent;
      padding: 0;
      cursor: pointer;
      text-align: left;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 320px;
    }
    .fv-rank-meta {
      font-size: 13px;
      opacity: 0.85;
      white-space: nowrap;
      flex: 0 0 auto;
    }
    .fv-toast {
      position: fixed;
      left: 50%;
      bottom: 18px;
      transform: translateX(-50%);
      background: rgba(0,0,0,0.82);
      color: #fff;
      padding: 10px 14px;
      border-radius: 999px;
      font-size: 14px;
      display: none;
      z-index: 9999;
    }
    .fv-count-text { font-weight: 800; }
    .fruit-card.fv-highlight { outline: 3px solid #ffd666; box-shadow: 0 10px 28px rgba(0,0,0,0.10); }
    @media (max-width: 900px) {
      .fv-quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .fv-rank-name { max-width: 220px; }
    }

    .site-main .guide-subnav {
      display: flex; overflow-x: auto; white-space: nowrap; padding: 15px 10px;
      background: #fff; border-bottom: 1px solid #eee; margin-bottom: 20px;
      align-items: center; gap: 10px;
    }
    .site-main .guide-subnav-label { font-weight: bold; color: #555; }
    .site-main .guide-subnav a {
      display: inline-block; padding: 6px 14px; background: #f1f3f5; color: #333;
      border-radius: 20px; text-decoration: none; font-size: 0.9rem; transition: 0.2s;
    }
    .site-main .guide-subnav a:hover, .site-main .guide-subnav a.active {
      background: #007bff; color: #fff;
    }

    .site-main .guide-detail-card {
      background: #fff; border-radius: 12px; padding: 25px;
      margin-bottom: 25px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); border: 1px solid #eee;
    }
    .site-main .guide-detail-card h1 { font-size: 1.8rem; margin-bottom: 10px; color:#2c3e50; }

    /* 工具列 */
    .site-main .fv-toolbar {
      background: #f8f9fa; padding: 15px; border-radius: 12px;
      border: 1px solid #eee; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 25px;
    }
    .site-main .fv-control { flex: 1 1 150px; display: flex; flex-direction: column; gap: 5px; }
    .site-main .fv-control label { font-weight: bold; color: #333; font-size: 0.9rem; }
    .site-main .fv-control select, .site-main .fv-control input {
      padding: 8px; border: 1px solid #ccc; border-radius: 8px; font-size: 0.95rem;
    }

    /* Grid 佈局 */
    .site-main .fv-card-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 10px; /* 手機版雙欄 */
    }
    @media (min-width: 600px) {
      .site-main .fv-card-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px;
      }
    }

    /* 果實卡片 */
    .site-main .fruit-card {
      content-visibility: auto; contain-intrinsic-size: 0 420px;
      background: #fff; border-radius: 12px; border: 1px solid #eee;
      box-shadow: 0 4px 8px rgba(0,0,0,0.05); overflow: hidden;
      transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column;
    }
    .site-main .fruit-card:hover { transform: translateY(-3px); box-shadow: 0 8px 15px rgba(0,0,0,0.1); }
    .site-main .fruit-card[hidden] { display:none !important; }
    .fv-load-more { display:block; min-width:220px; margin:18px auto 0; padding:12px 20px; border:1px solid #93c5fd; border-radius:999px; background:#eff6ff; color:#1d4ed8; font:inherit; font-weight:900; cursor:pointer; }
    .fv-load-more:hover,.fv-load-more:focus-visible { background:#dbeafe; border-color:#60a5fa; }
    .fv-load-more[hidden] { display:none !important; }
    .fv-icon-credit { margin:16px 0 0; color:#64748b; font-size:.78rem; line-height:1.6; text-align:center; }
    .fv-icon-credit a { color:#475569; text-underline-offset:2px; }
    .fv-icon-credit a:hover,.fv-icon-credit a:focus-visible { color:#1d4ed8; }

    .site-main .fruit-card-top {
      background: #f0f4f8; padding: 15px; display: flex; justify-content: center;
      align-items: center; position: relative;
    }
    .site-main .fruit-card-image {
      width: 60px; height: 60px; background-size: contain; background-repeat: no-repeat;
      background-position: center; background-color: #e0e0e0; border-radius: 50%;
      border: 3px solid #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    @media (min-width: 600px) { .site-main .fruit-card-image { width: 80px; height: 80px; } }
    .site-main .fruit-card-image.has-image { background-color: transparent; }

    /* 稀有度標籤 */
    .site-main .rarity-badge {
      position: absolute; top: 5px; right: 5px; padding: 2px 6px; border-radius: 12px;
      font-size: 0.7rem; font-weight: bold; color: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    }
    .site-main .rarity-common { background: linear-gradient(135deg, #95a5a6, #7f8c8d); }
    .site-main .rarity-uncommon { background: linear-gradient(135deg, #2ecc71, #27ae60); }
    .site-main .rarity-rare { background: linear-gradient(135deg, #3498db, #2980b9); }
    .site-main .rarity-legendary { background: linear-gradient(135deg, #9b59b6, #8e44ad); }
    .site-main .rarity-mythical { background: linear-gradient(135deg, #e74c3c, #c0392b); }
    .site-main .rarity-gamepass { background: linear-gradient(135deg, #f1c40f, #f39c12); }
    .site-main .rarity-limited { background: linear-gradient(135deg, #1abc9c, #16a085); }

    .site-main .fruit-card-main { padding: 10px; flex-grow: 1; }
    .site-main .fruit-card-names { text-align: center; margin-bottom: 8px; }
    .site-main .fruit-name-zh { font-size: 1rem; font-weight: bold; color: #2c3e50; }
    .site-main .fruit-name-en { font-size: 0.75rem; color: #7f8c8d; }

    .site-main .fruit-card-values {
      display: flex; flex-direction: column; gap: 4px; background: #fafafa;
      padding: 6px; border-radius: 8px; border: 1px solid #f0f0f0;
    }
    .site-main .fv-row {
      display: flex; justify-content: space-between; font-size: 0.75rem;
      border-bottom: 1px dashed #e0e0e0; padding-bottom: 2px;
    }
    @media (min-width: 600px) { .site-main .fv-row { font-size: 0.9rem; } }
    .site-main .fv-row:last-child { border-bottom: none; }
    .site-main .fv-label { color: #666; }
    .site-main .fv-number { font-weight: bold; color: #333; }

    .site-main .fv-trend .fv-value-text { font-weight: bold; }
    .site-main .fv-trend .trend-label { white-space: nowrap; margin-right: 4px; }
    .site-main .fv-trend .trend-up { color: #2ecc71; }   /* 漲 = 綠色 */
    .site-main .fv-trend .trend-down { color: #e74c3c; } /* 跌 = 紅色 */
    .site-main .fv-trend .trend-flat { color: #666; }
    .site-main .fv-trend .fv-value-text {
      display: flex; align-items: center; justify-content: flex-end; gap: 4px;
      flex-wrap: wrap; min-width: 0; text-align: right;
    }
    .site-main .fv-chart-btn {
      width: 30px; height: 26px; display: inline-flex; align-items: center; justify-content: center;
      border: 1px solid #c7d2fe; border-radius: 8px; background: #eef2ff; color: #1d4ed8;
      cursor: pointer; font-weight: 800; line-height: 1; flex: 0 0 auto;
    }
    .site-main .fv-chart-btn:hover { background: #dbeafe; border-color: #93c5fd; }

    .fv-chart-modal[hidden] { display: none; }
    .fv-chart-modal {
      position: fixed; inset: 0; z-index: 9998; background: rgba(15,23,42,0.58);
      display: flex; align-items: center; justify-content: center; padding: 18px;
    }
    .fv-chart-dialog {
      width: min(900px, 100%); max-height: min(720px, calc(100vh - 36px)); overflow: auto;
      background: #fff; color: #1f2937; border-radius: 12px; border: 1px solid #e5e7eb;
      box-shadow: 0 24px 70px rgba(15,23,42,0.35);
    }
    .fv-chart-head {
      display: flex; align-items: center; justify-content: space-between; gap: 12px;
      padding: 14px 16px; border-bottom: 1px solid #e5e7eb; background: #f8fafc;
    }
    .fv-chart-title { margin: 0; font-size: 1.12rem; color: #0f172a; }
    .fv-chart-subtitle { margin-top: 2px; font-size: 0.82rem; color: #64748b; }
    .fv-chart-close {
      width: 34px; height: 34px; border-radius: 8px; border: 1px solid #cbd5e1;
      background: #fff; color: #334155; cursor: pointer; font-size: 1.2rem; line-height: 1;
    }
    .fv-chart-close:hover { background: #f1f5f9; }
    .fv-chart-body { padding: 14px 16px 16px; }
    .fv-chart-toolbar {
      display: flex; align-items: center; justify-content: space-between; gap: 10px;
      flex-wrap: wrap; margin-bottom: 12px;
    }
    .fv-chart-tabs { display: inline-flex; gap: 4px; padding: 3px; background: #f1f5f9; border-radius: 9px; }
    .fv-chart-tab {
      min-width: 68px; height: 32px; border: 0; border-radius: 7px; background: transparent;
      cursor: pointer; color: #475569; font-weight: 800;
    }
    .fv-chart-tab.active { background: #2563eb; color: #fff; box-shadow: 0 1px 5px rgba(37,99,235,0.22); }
    .fv-chart-summary {
      display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px;
    }
    .fv-chart-stat {
      border: 1px solid #e5e7eb; border-radius: 8px; padding: 9px 10px; background: #fff;
    }
    .fv-chart-stat-label { font-size: 0.76rem; color: #64748b; margin-bottom: 3px; }
    .fv-chart-stat-value { font-weight: 900; color: #111827; }
    .fv-chart-stat-value.up { color: #16a34a; }
    .fv-chart-stat-value.down { color: #dc2626; }
    .fv-chart-wrap {
      position: relative; width: 100%; height: 360px; border: 1px solid #e5e7eb;
      border-radius: 10px; background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
      overflow: hidden;
    }
    #fv-trend-canvas { width: 100%; height: 100%; display: block; }
    .fv-chart-empty {
      position: absolute; inset: 0; display: none; align-items: center; justify-content: center;
      color: #64748b; text-align: center; padding: 18px; background: rgba(255,255,255,0.72);
    }
    .fv-chart-empty.show { display: flex; }
    .fv-chart-note { margin-top: 9px; font-size: 0.82rem; color: #64748b; }

    body.dark-mode .fv-chart-dialog { background: #111827; color: #e5e7eb; border-color: #334155; }
    body.dark-mode .fv-chart-head { background: #0f172a; border-color: #334155; }
    body.dark-mode .fv-chart-title { color: #f8fafc; }
    body.dark-mode .fv-chart-subtitle,
    body.dark-mode .fv-chart-note,
    body.dark-mode .fv-chart-stat-label { color: #94a3b8; }
    body.dark-mode .fv-chart-close,
    body.dark-mode .fv-chart-stat { background: #1f2937; color: #e5e7eb; border-color: #334155; }
    body.dark-mode .fv-chart-stat-value { color: #f8fafc; }
    body.dark-mode .fv-chart-tabs { background: #1e293b; }
    body.dark-mode .fv-chart-tab { color: #cbd5e1; }
    body.dark-mode .fv-chart-wrap { background: #0f172a; border-color: #334155; }
    body.dark-mode .fv-chart-empty { background: rgba(15,23,42,0.78); color: #cbd5e1; }

    @media (max-width: 640px) {
      .fv-chart-modal { padding: 10px; align-items: flex-end; }
      .fv-chart-dialog { max-height: calc(100vh - 20px); border-radius: 12px 12px 0 0; }
      .fv-chart-summary { grid-template-columns: 1fr; }
      .fv-chart-wrap { height: 300px; }
      .fv-chart-toolbar { align-items: stretch; }
      .fv-chart-tabs { width: 100%; }
      .fv-chart-tab { flex: 1; min-width: 0; }
    }

    .site-main .fruit-card-footer {
      background: #fcfcfc; border-top: 1px solid #eee; padding: 6px;
      text-align: center; font-size: 0.7rem; color: #aaa;
    }

    .site-main .fv-limited-note .fv-number {
      color: #7c3aed;
      font-size: .83rem;
      font-weight: 800;
    }

    .site-main .fv-item-guide-link {
      margin-left: auto;
      color: #1d4ed8;
      font-weight: 800;
      text-decoration: none;
    }

    .site-main .fv-item-guide-link:hover,
    .site-main .fv-item-guide-link:focus-visible {
      color: #7c3aed;
      text-decoration: underline;
    }
    
    .site-main .highlight-box {
      background: #eef7ff; border-left: 4px solid #007bff; padding: 15px;
      border-radius: 4px; margin: 15px 0; color: #444; font-size: 0.9rem;
    }

    .site-main .related-buttons-grid {
      display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
      gap: 15px; margin-top: 20px;
    }
    .site-main .related-button {
      display: flex; flex-direction: column; justify-content: center; align-items: center;
      padding: 15px; background: #fdfd96; border: 2px solid #ffaa00; border-radius: 10px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); text-decoration: none; font-weight: bold; color: #333;
      transition: transform 0.1s, box-shadow 0.1s; text-align: center;
    }
    .site-main .related-button:hover {
      transform: translateY(-2px); box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); background: #ffec80; 
    }
    .site-main .button-title { font-size: 1.1rem; margin-bottom: 5px; color: #c0392b; }
    .site-main .button-desc { font-size: 0.85rem; color: #555; font-weight: normal; }

    .site-main .fv-intent-panel {
      margin: 16px 0 0;
      padding: 14px;
      border: 1px solid #cfe2ff;
      border-radius: 10px;
      background: linear-gradient(180deg, #f8fbff 0%, #eef7ff 100%);
      color: #26384d;
    }
    .site-main .fv-intent-title {
      font-weight: 900;
      color: #0f3b73;
      margin-bottom: 6px;
    }
    .site-main .fv-intent-panel p {
      margin: 0 0 10px;
      line-height: 1.7;
      color: #334155;
    }
    .site-main .fv-intent-links {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .site-main .fv-intent-links a {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 7px 10px;
      border: 1px solid #bfd7ff;
      border-radius: 999px;
      background: #fff;
      color: #1d4ed8;
      text-decoration: none;
      font-weight: 800;
      font-size: 0.88rem;
    }
    .site-main .fv-intent-links a:hover { background: #eaf2ff; }
    .site-main .fv-query-strip {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px;
      margin-top: 12px;
      padding-top: 12px;
      border-top: 1px dashed #bfd7ff;
      color: #475569;
      font-size: 0.92rem;
    }
    .site-main .fv-query-strip span {
      font-weight: 900;
      color: #0f3b73;
    }
    .site-main .fv-query-strip button {
      border: 1px solid #d7e4ff;
      border-radius: 999px;
      background: #ffffff;
      color: #1e40af;
      padding: 7px 10px;
      font-weight: 800;
      cursor: pointer;
    }
    .site-main .fv-query-strip button:hover,
    .site-main .fv-query-strip button:focus-visible {
      background: #dbeafe;
      outline: none;
      border-color: #93c5fd;
    }

    .site-main .fv-faq-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 12px;
      margin-top: 12px;
    }
    .site-main .fv-faq-item {
      padding: 13px;
      border: 1px solid #dbe7f6;
      border-radius: 10px;
      background: #fff;
    }
    .site-main .fv-faq-item strong {
      display: block;
      margin-bottom: 6px;
      color: #0f3b73;
    }
    .site-main .fv-faq-item p {
      margin: 0;
      color: #475569;
      line-height: 1.65;
      font-size: 0.92rem;
    }

    body.dark-mode .fv-intent-panel,
    body.dark-mode .fv-faq-item {
      background: #111827;
      border-color: #334155;
      color: #e5e7eb;
    }
    body.dark-mode .fv-intent-title,
    body.dark-mode .fv-faq-item strong { color: #bfdbfe; }
    body.dark-mode .fv-intent-panel p,
    body.dark-mode .fv-faq-item p { color: #cbd5e1; }
    body.dark-mode .fv-intent-links a {
      background: #1f2937;
      border-color: #334155;
      color: #93c5fd;
    }
    body.dark-mode .fv-query-strip {
      border-top-color: #334155;
      color: #cbd5e1;
    }
    body.dark-mode .fv-query-strip span { color: #bfdbfe; }
    body.dark-mode .fv-query-strip button {
      background: #111827;
      border-color: #334155;
      color: #93c5fd;
    }
    body.dark-mode .fv-query-strip button:hover,
    body.dark-mode .fv-query-strip button:focus-visible {
      background: #1f2937;
      border-color: #60a5fa;
    }

    /* === 查價優先：首頁區只保留搜尋與下一步 === */
    .site-main .fv-entry-card {
      padding: clamp(18px, 3vw, 30px);
      border-color: #cbdcf7;
      background: linear-gradient(135deg, #ffffff 0%, #f2f7ff 100%);
      box-shadow: 0 12px 30px rgba(30, 64, 175, 0.08);
    }
    .site-main .fv-entry-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
    }
    .site-main .fv-entry-kicker {
      margin: 0 0 7px;
      color: #2563eb;
      font-size: 0.86rem;
      font-weight: 900;
      letter-spacing: 0.04em;
    }
    .site-main .fv-entry-card h1 {
      margin: 0;
      color: #102a56;
      font-size: clamp(1.8rem, 4vw, 2.5rem);
      line-height: 1.15;
    }
    .site-main .fv-entry-lead {
      margin: 10px 0 0;
      color: #4b6385;
      font-size: 1.02rem;
      font-weight: 700;
    }
    .site-main .fv-entry-updated {
      flex: 0 0 auto;
      margin: 0;
      padding: 8px 11px;
      border: 1px solid #c9dcff;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.82);
      color: #36506f;
      font-size: 0.84rem;
      font-weight: 800;
      white-space: nowrap;
    }
    .site-main .fv-entry-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 20px;
    }
    .site-main .fv-entry-action {
      display: inline-flex;
      min-height: 44px;
      align-items: center;
      justify-content: center;
      padding: 10px 15px;
      border: 1px solid #b9cff4;
      border-radius: 11px;
      background: rgba(255, 255, 255, 0.86);
      color: #1f4f91;
      font-weight: 900;
      text-decoration: none;
      transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
    }
    .site-main .fv-entry-action:hover,
    .site-main .fv-entry-action:focus-visible {
      transform: translateY(-2px);
      box-shadow: 0 7px 16px rgba(37, 99, 235, .14);
      text-decoration: none;
    }
    .site-main .fv-entry-action-primary {
      border-color: #1d4ed8;
      background: #1d4ed8;
      color: #fff;
    }
    .site-main .fv-entry-action-primary:hover,
    .site-main .fv-entry-action-primary:focus-visible { background: #1e40af; color: #fff; }
    .site-main .fv-entry-card .fv-toolbar {
      margin: 20px 0 0;
      padding: 12px;
      border-color: #cbdcf7;
      background: rgba(255, 255, 255, 0.88);
    }
    .site-main .fv-entry-card .fv-control:first-child { flex: 2 1 280px; }
    .site-main .fv-entry-card .fv-control input,
    .site-main .fv-entry-card .fv-control select {
      min-height: 42px;
      border-color: #c5d5ee;
      background: #fff;
    }
    .site-main .fv-entry-card .fv-control input:focus,
    .site-main .fv-entry-card .fv-control select:focus {
      border-color: #2563eb;
      outline: 3px solid rgba(37, 99, 235, 0.15);
    }
    .site-main .fv-entry-card .fv-count {
      justify-content: flex-end;
      color: #526b8d;
      font-size: 0.88rem;
    }
    .site-main .fv-entry-card .fv-query-strip {
      margin-top: 16px;
      padding: 0;
      border: 0;
    }
    .site-main .fv-help-details,
    .site-main .fv-rank-details {
      margin-top: 16px;
      border: 1px solid #d8e4f5;
      border-radius: 11px;
      background: rgba(255, 255, 255, 0.72);
    }
    .site-main .fv-help-details summary,
    .site-main .fv-rank-details summary {
      padding: 12px 14px;
      color: #24456f;
      font-weight: 900;
      cursor: pointer;
    }
    .site-main .fv-help-details > div,
    .site-main .fv-rank-details > div { padding: 0 14px 14px; }
    .site-main .fv-help-details p {
      margin: 0;
      color: #526b8d;
      line-height: 1.7;
    }
    .site-main .fv-rank-details .fv-quick-grid { margin: 0 0 12px; }
    .fv-empty-state {
      margin-top: 16px; padding: 26px 20px; border: 2px dashed #bfdbfe; border-radius: 18px;
      background: linear-gradient(135deg, #f8fbff, #eff6ff); color: #334155; text-align: center;
    }
    .fv-empty-state[hidden], .fv-empty-magnet[hidden] { display: none !important; }
    .fv-empty-state strong { display:block; color:#1e3a8a; font-size:1.08rem; }
    .fv-empty-state p { margin:8px auto 0; max-width:620px; color:#64748b; line-height:1.65; }
    .fv-empty-state a { color:#1d4ed8; font-weight:900; text-decoration:none; }
    .fv-empty-actions { display:flex; justify-content:center; flex-wrap:wrap; gap:9px; margin-top:16px; }
    .fv-empty-actions button,.fv-empty-actions a { min-height:40px; padding:9px 14px; border:1px solid #93c5fd; border-radius:11px; background:#fff; color:#1d4ed8; font:inherit; font-weight:900; cursor:pointer; }
    body.dark-mode .fv-entry-card {
      border-color: #334155;
      background: linear-gradient(135deg, #111827 0%, #172554 100%);
    }
    body.dark-mode .fv-entry-card h1 { color: #f8fafc; }
    body.dark-mode .fv-entry-lead { color: #cbd5e1; }
    body.dark-mode .fv-entry-updated,
    body.dark-mode .fv-entry-card .fv-toolbar,
    body.dark-mode .fv-help-details,
    body.dark-mode .fv-rank-details { border-color: #334155; background: rgba(15, 23, 42, 0.82); }
    body.dark-mode .fv-entry-updated,
    body.dark-mode .fv-help-details summary,
    body.dark-mode .fv-rank-details summary { color: #bfdbfe; }
    body.dark-mode .fv-entry-action { border-color: #3b82f6; background: #1e293b; color: #bfdbfe; }
    body.dark-mode .fv-entry-action-primary { background: #2563eb; color: #fff; }
    body.dark-mode .fv-entry-card .fv-control input,
    body.dark-mode .fv-entry-card .fv-control select { border-color: #475569; background: #111827; color: #e5e7eb; }
    body.dark-mode .fv-help-details p { color: #cbd5e1; }
    body.dark-mode .fv-empty-state { border-color:#334155; background:#111827; color:#e2e8f0; }
    body.dark-mode .fv-empty-state strong { color:#bfdbfe; }
    body.dark-mode .fv-empty-state p { color:#cbd5e1; }

    @media (max-width: 640px) {
      .site-main .fv-entry-head { display: block; }
      .site-main .fv-entry-updated { display: inline-flex; margin-top: 12px; }
      .site-main .fv-entry-actions { display: grid; grid-template-columns: 1fr; }
      .site-main .fv-entry-action { width: 100%; }
      .site-main .fv-entry-card .fv-count { justify-content: flex-start; }
    }
