    * { margin: 0; padding: 0; box-sizing: border-box; }
    :root {
      --primary: #2563EB;
      --primary-dark: #1D4ED8;
      --primary-light: #EFF6FF;
      --accent: #3B82F6;
      --success: #059669;
      --success-light: #ECFDF5;
      --warning: #F59E0B;
      --danger: #EF4444;
      --bg-main: #F8FAFC;
      --bg-card: #FFFFFF;
      --bg-hover: #F1F5F9;
      --text-primary: #0F172A;
      --text-secondary: #475569;
      --text-muted: #94A3B8;
      --border: #E2E8F0;
      --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
      --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -2px rgba(0,0,0,0.05);
      --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -4px rgba(0,0,0,0.05);
    }
    body {
      font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
      min-height: 100vh;
      color: var(--text-primary);
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }
    .stat-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px 48px;
    }
    .stat-breadcrumb {
      display: flex; align-items: center; flex-wrap: wrap;
      gap: 4px; font-size: 0.85rem; color: var(--text-muted);
      padding: 16px 0 8px;
    }
    .stat-breadcrumb a {
      color: var(--text-secondary); text-decoration: none; transition: color 0.2s;
    }
    .stat-breadcrumb a:hover { color: var(--primary); }
    .stat-breadcrumb-sep { color: var(--text-muted); font-size: 0.75rem; }
    .stat-breadcrumb-current { color: var(--text-primary); font-weight: 500; }
    .stat-page-header { padding: 20px 0 16px; }
    .stat-page-header h1 {
      font-size: 1.8rem; font-weight: 800;
      color: var(--text-primary); letter-spacing: -0.02em;
      margin-bottom: 8px;
    }
    .stat-page-subtitle {
      font-size: 0.95rem; color: var(--text-secondary); line-height: 1.6;
      margin-bottom: 6px;
    }
    .stat-page-meta {
      font-size: 0.83rem; color: var(--text-muted); line-height: 1.6;
    }
    .stat-section-note {
      font-size: 0.82rem; color: var(--text-muted);
      margin: -8px 0 14px; line-height: 1.7;
    }
    .stat-static-separator {
      display: flex; align-items: center; gap: 16px;
      margin: 48px 0 24px;
    }
    .stat-static-separator-line {
      flex: 1; height: 2px;
      background: linear-gradient(to right, transparent, var(--border), transparent);
    }
    .stat-static-separator-text {
      font-size: 0.78rem; color: var(--text-muted); font-weight: 500;
      white-space: nowrap; padding: 6px 16px;
      border: 1px solid var(--border); border-radius: 20px;
      background: var(--bg-card);
    }
    .stat-attribution {
      border-top: 1px solid var(--border);
      padding-top: 24px; margin-top: 32px;
    }
    .stat-attribution p {
      font-size: 0.82rem; color: var(--text-muted); line-height: 1.9; margin: 0;
    }
    .stat-attribution a {
      color: var(--primary); text-decoration: none;
    }
    .stat-attribution a:hover { text-decoration: underline; }
    .stat-tabs-row {
      display: flex; align-items: center; justify-content: space-between;
      gap: 12px; margin-bottom: 24px; flex-wrap: wrap;
    }
    .stat-tabs {
      display: flex; gap: 8px; flex-wrap: wrap;
    }
    .stat-tab {
      padding: 8px 18px; border-radius: 20px;
      font-size: 0.83rem; font-weight: 500;
      text-decoration: none; transition: all 0.2s;
      border: 1px solid var(--border);
      background: var(--bg-card); color: var(--text-secondary);
      display: inline-flex; align-items: center; justify-content: center;
    }
    .stat-tab:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
    .stat-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }
    .stat-archive-link {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 8px 16px; border-radius: 8px;
      font-size: 0.8rem; font-weight: 600;
      text-decoration: none; transition: all 0.2s;
      background: var(--bg-card); border: 1px solid var(--border);
      color: var(--text-secondary); white-space: nowrap;
      box-shadow: var(--shadow-sm);
    }
    .stat-archive-link:hover { border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow-md); }
    .stat-archive-link svg { flex-shrink: 0; }
    .stat-archive-nav {
      display: flex; align-items: center; justify-content: space-between;
      gap: 8px; margin: 16px 0;
      padding: 12px 16px;
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: 10px;
    }
    .stat-archive-nav-btn {
      display: inline-flex; align-items: center; gap: 4px;
      padding: 7px 16px; border-radius: 8px;
      font-size: 0.83rem; font-weight: 500; text-decoration: none;
      border: 1px solid var(--border); background: var(--bg-main);
      color: var(--text-secondary); transition: all 0.2s;
    }
    .stat-archive-nav-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
    .stat-archive-nav-disabled { opacity: 0.4; cursor: not-allowed; }
    .stat-archive-nav-center {
      font-size: 0.82rem; color: var(--text-muted); text-decoration: none;
    }
    .stat-archive-nav-center:hover { color: var(--primary); }
    .stat5grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px; margin-bottom: 4px;
    }
    @media(min-width: 540px) { .stat5grid { grid-template-columns: repeat(3, 1fr); } }
    @media(min-width: 900px) { .stat5grid { grid-template-columns: repeat(5, 1fr); } }
    .stat-cite-bar {
      display: flex; align-items: center; justify-content: space-between;
      gap: 12px; flex-wrap: wrap;
      padding: 12px 18px;
      background: rgba(37, 99, 235, 0.08); border: 1px solid rgba(37, 99, 235, 0.3);
      border-radius: 10px; margin-bottom: 20px;
    }
    .stat-cite-text {
      font-size: 0.85rem; color: var(--text-secondary); font-weight: 500;
    }
    .stat-cite-text a {
      color: var(--primary); font-weight: 700; text-decoration: none;
    }
    .stat-cite-text a:hover { text-decoration: underline; }
    .stat-share-btns {
      display: flex; gap: 8px; align-items: center;
    }
    .stat-share-btn {
      display: inline-flex; align-items: center; justify-content: center;
      width: 34px; height: 34px; border-radius: 50%;
      text-decoration: none; transition: transform 0.15s, box-shadow 0.15s;
      border: none; cursor: pointer; font-size: 1rem;
    }
    .stat-share-btn:hover { transform: scale(1.1); box-shadow: var(--shadow-md); }
    .stat-share-line { background: #06C755; color: #fff; }
    .stat-share-x { background: #000; color: #fff; }
    .stat-share-fb { background: #1877F2; color: #fff; }
    .stat-share-copy { background: var(--bg-card); color: var(--text-secondary); border: 1px solid var(--border); }
    .stat-two-col {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      margin-bottom: 8px;
    }
    @media(max-width: 768px) { .stat-two-col { grid-template-columns: 1fr; } }
    .stat-two-col-panel {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 18px 16px;
      box-shadow: var(--shadow-sm);
      overflow: hidden;
      min-width: 0;
    }
    .stat-col-heading {
      font-size: 0.88rem; font-weight: 700;
      color: var(--text-primary);
      margin: 0 0 12px;
      display: flex; align-items: center; justify-content: space-between;
    }
    .stat-col-heading-up { color: var(--danger); }
    .stat-col-heading-down { color: var(--success); }
    .stat-more-link {
      font-size: 0.75rem; font-weight: 500;
      color: var(--primary); text-decoration: none;
    }
    .stat-more-link:hover { text-decoration: underline; }
    .stat-gl-list { display: flex; flex-direction: column; gap: 7px; }
    .stat-gl-card {
      display: flex; align-items: center; gap: 10px;
      padding: 8px 10px;
      border-radius: 8px;
      border: 1px solid var(--border);
      background: var(--bg-card);
      text-decoration: none;
      transition: border-color 0.2s, box-shadow 0.2s;
      overflow: hidden;
    }
    .stat-gl-card:hover { border-color: #CBD5E1; box-shadow: var(--shadow-sm); }
    .stat-gl-thumb {
      width: 38px; height: 38px;
      object-fit: contain;
      border-radius: 6px;
      border: 1px solid var(--border);
      flex-shrink: 0;
      background: var(--bg-hover);
    }
    .stat-gl-thumb-noimg {
      background: var(--bg-hover);
      display: flex; align-items: center; justify-content: center;
      color: var(--text-muted); opacity: 0.5;
    }
    .stat-gl-body { flex: 1; min-width: 0; overflow: hidden; }
    .stat-gl-name {
      font-size: 0.78rem; font-weight: 500;
      color: var(--text-primary);
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
      max-width: 100%;
    }
    .stat-gl-pct {
      flex-shrink: 0; white-space: nowrap;
    }
    .stat-gl-price {
      font-size: 0.7rem; color: var(--text-muted); margin-top: 2px;
    }
    .stat-gl-pct {
      font-size: 0.9rem; font-weight: 700;
      flex-shrink: 0; white-space: nowrap;
    }
    .stat-summary-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 20px 14px;
      text-align: center;
      box-shadow: var(--shadow-sm);
      transition: box-shadow 0.2s, border-color 0.2s;
    }
    .stat-summary-card:hover { box-shadow: var(--shadow-md); border-color: #CBD5E1; }
    .stat-summary-card-icon { margin-bottom: 8px; }
    .stat-summary-card-value {
      font-size: 1.9rem; font-weight: 800;
      color: var(--text-primary); line-height: 1.1;
    }
    .stat-summary-card-sub {
      font-size: 0.78rem; color: var(--text-muted); margin-top: 3px;
    }
    .stat-summary-card-label {
      font-size: 0.75rem; color: var(--text-secondary);
      margin-top: 5px; font-weight: 500;
    }
    .stat-trend-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 22px;
      box-shadow: var(--shadow-sm);
    }
    .stat-trend-header {
      display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 14px;
    }
    .stat-trend-index {
      font-size: 2.4rem; font-weight: 800; line-height: 1;
    }
    .stat-trend-index-label {
      font-size: 0.9rem; color: var(--text-muted); margin-left: 6px;
    }
    .stat-trend-badge {
      display: inline-block; padding: 4px 14px;
      border-radius: 20px; color: #fff;
      font-size: 0.8rem; font-weight: 600;
    }
    .stat-trend-gauge-track {
      position: relative; height: 10px;
      background: linear-gradient(to right, #059669, #e5e7eb 50%, #EF4444);
      border-radius: 5px; margin-bottom: 8px;
    }
    .stat-trend-gauge-thumb {
      position: absolute; top: -3px;
      transform: translateX(-50%);
      width: 16px; height: 16px;
      background: #fff; border-radius: 50%;
      border-width: 2px; border-style: solid;
    }
    .stat-trend-gauge-labels {
      display: flex; justify-content: space-between;
      font-size: 0.72rem; color: var(--text-muted); margin-bottom: 16px;
    }
    .stat-trend-desc {
      font-size: 0.83rem; color: var(--text-secondary);
      margin: 0 0 16px; line-height: 1.7;
    }
    .stat-trend-stats {
      display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    }
    .stat-trend-stat {
      border-radius: 8px; padding: 10px 12px; text-align: center;
    }
    .stat-trend-stat-label {
      font-size: 0.75rem; color: var(--text-muted); margin-bottom: 3px;
    }
    .stat-trend-stat-value {
      font-size: 1.2rem; font-weight: 700;
    }
    .stat-row-list { display: flex; flex-direction: column; gap: 10px; }
    .stat-row-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 10px; padding: 14px 16px;
      box-shadow: var(--shadow-sm);
    }
    .stat-row-card-head {
      display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px;
    }
    .stat-row-card-name {
      font-size: 0.92rem; font-weight: 700;
      color: var(--text-primary); text-decoration: none;
    }
    .stat-row-card-name:hover { color: var(--primary); }
    .stat-row-card-pct { font-size: 1rem; font-weight: 700; }
    .stat-bar-track {
      height: 6px; background: var(--bg-hover);
      border-radius: 3px; overflow: hidden; margin-bottom: 8px;
    }
    .stat-bar-fill {
      height: 100%; background: var(--primary); border-radius: 3px; transition: width 0.4s;
    }
    .stat-bar-fill-gradient {
      height: 100%;
      background: linear-gradient(to right, var(--primary), #60A5FA);
      border-radius: 4px;
    }
    .stat-row-card-meta {
      display: flex; gap: 16px; font-size: 0.75rem; color: var(--text-muted);
    }
    .stat-store-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
    }
    @media(min-width: 560px) { .stat-store-grid { grid-template-columns: repeat(3, 1fr); } }
    .stat-store-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 12px 14px;
      box-shadow: var(--shadow-sm);
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .stat-store-card:hover { border-color: #CBD5E1; box-shadow: var(--shadow-md); }
    .stat-store-sort-bar {
      display: flex; align-items: center; gap: 6px; margin-bottom: 14px;
      flex-wrap: wrap;
    }
    .stat-store-sort-label {
      font-size: 0.78rem; color: var(--text-muted); font-weight: 500; margin-right: 4px;
    }
    .stat-store-sort-btn {
      padding: 4px 12px; border-radius: 16px;
      font-size: 0.72rem; font-weight: 500;
      border: 1px solid var(--border); background: var(--bg-card);
      color: var(--text-secondary); cursor: pointer;
      transition: all 0.2s;
    }
    .stat-store-sort-btn:hover { border-color: var(--primary); color: var(--primary); }
    .stat-store-sort-btn.active {
      background: var(--primary); border-color: var(--primary);
      color: #fff; font-weight: 600;
    }
    .stat-store-card-head {
      display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
    }
    .stat-store-rank-badge {
      display: inline-flex; align-items: center; justify-content: center;
      width: 22px; height: 22px; border-radius: 50%;
      font-size: 0.7rem; font-weight: 700; flex-shrink: 0;
    }
    .stat-store-card-name {
      font-size: 0.82rem; font-weight: 700; flex: 1;
      color: var(--text-primary); text-decoration: none;
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .stat-store-card-name:hover { color: var(--primary); }
    .stat-store-score {
      font-size: 0.72rem; font-weight: 600; color: var(--primary);
      background: var(--primary-light); padding: 2px 8px;
      border-radius: 10px; flex-shrink: 0;
    }
    .stat-store-card-metrics {
      display: grid; grid-template-columns: repeat(5, 1fr);
      gap: 4px; margin-bottom: 10px;
    }
    .stat-store-metric { text-align: center; }
    .stat-store-metric-label {
      font-size: 0.6rem; color: var(--text-muted); margin-bottom: 2px; line-height: 1.3;
    }
    .stat-store-metric-value {
      font-size: 0.82rem; font-weight: 700; color: var(--text-primary);
    }
    .stat-store-bar-track {
      height: 5px; background: var(--bg-hover); border-radius: 3px; overflow: hidden;
    }
    .stat-band-list { display: flex; flex-direction: column; gap: 10px; }
    .stat-band-row { }
    .stat-band-head {
      display: flex; justify-content: space-between;
      font-size: 0.82rem; margin-bottom: 4px;
    }
    .stat-band-label { color: var(--text-primary); font-weight: 500; }
    .stat-band-cnt { color: var(--text-muted); }
    .stat-band-track {
      height: 10px; background: var(--bg-hover); border-radius: 5px; overflow: hidden;
    }
    .stat-band-fill {
      height: 100%;
      background: linear-gradient(to right, #3B82F6, #8B5CF6);
      border-radius: 5px;
    }
    .stat-volatile-list { display: flex; flex-direction: column; gap: 8px; }
    .stat-volatile-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 10px; padding: 12px 16px;
      display: flex; justify-content: space-between;
      align-items: center; gap: 14px;
      box-shadow: var(--shadow-sm);
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .stat-volatile-card:hover { border-color: #CBD5E1; box-shadow: var(--shadow-md); }
    .stat-volatile-body { flex: 1; min-width: 0; }
    .stat-volatile-name {
      font-size: 0.85rem; font-weight: 500; color: var(--text-primary);
      text-decoration: none; display: block;
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .stat-volatile-name:hover { color: var(--primary); }
    .stat-volatile-range {
      font-size: 0.75rem; color: var(--text-muted); margin-top: 3px;
    }
    .stat-volatile-pct { text-align: right; flex-shrink: 0; }
    .stat-volatile-pct-value {
      font-size: 1.05rem; font-weight: 700; color: #7C3AED;
    }
    .stat-volatile-pct-label {
      font-size: 0.7rem; color: var(--text-muted);
    }
    .stat-hint {
      font-size: 0.78rem; color: var(--text-muted); margin-top: 12px; line-height: 1.7;
    }
    .stat-details {
      margin-top: 10px;
      background: var(--bg-hover); border: 1px solid var(--border);
      border-radius: 10px; font-size: 0.75rem; color: var(--text-secondary);
      line-height: 1.8;
    }
    .stat-details summary {
      padding: 12px 18px; cursor: pointer;
      font-weight: 600; color: var(--text-primary);
      font-size: 0.8rem;
      list-style: none; display: flex; align-items: center; gap: 6px;
      user-select: none;
    }
    .stat-details summary::-webkit-details-marker { display: none; }
    .stat-details summary::before {
      content: '▸'; font-size: 0.7rem; color: var(--text-muted);
      transition: transform 0.2s;
    }
    .stat-details[open] summary::before {
      transform: rotate(90deg);
    }
    .stat-details-body {
      padding: 0 18px 14px;
    }
    .stat-details-body p { margin: 0 0 8px; }
    .stat-details-body p:last-child { margin-bottom: 0; }
    .stat-details-body ul {
      margin: 6px 0 10px 20px; padding: 0;
    }
    .stat-details-body li {
      margin-bottom: 4px;
    }
    .stat-details-body strong { color: var(--text-primary); }
    /* Archive page specific */
    .stat-archive-container {
      max-width: 1200px; margin: 0 auto; padding: 0 20px 48px;
    }
    .stat-archive-section { margin-bottom: 48px; }
    .stat-archive-section-title {
      font-size: 1.1rem; font-weight: 700; color: var(--text-primary);
      margin-bottom: 16px; padding-bottom: 8px;
      border-bottom: 2px solid var(--border);
      display: flex; align-items: center; gap: 8px;
    }
    .stat-calendar-grid {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 4px; margin-bottom: 16px;
    }
    .stat-calendar-month { margin-bottom: 24px; }
    .stat-calendar-month-label {
      font-size: 0.85rem; font-weight: 600; color: var(--text-secondary);
      margin-bottom: 6px; text-align: center;
    }
    .stat-calendar-day-header {
      display: grid; grid-template-columns: repeat(7, 1fr);
      gap: 4px; margin-bottom: 2px;
    }
    .stat-calendar-dow {
      font-size: 0.65rem; font-weight: 600;
      color: var(--text-muted); text-align: center; padding: 2px 0;
    }
    .stat-calendar-cell {
      aspect-ratio: 1; border-radius: 6px; border: 1px solid var(--border);
      display: flex; align-items: center; justify-content: center;
      font-size: 0.7rem; font-weight: 500;
      background: var(--bg-card); text-decoration: none;
      color: var(--text-primary); transition: all 0.15s;
    }
    .stat-calendar-cell:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); box-shadow: var(--shadow-sm); }
    .stat-calendar-cell-empty { border: none; background: transparent; }
    .stat-calendar-cell-unavailable { background: var(--bg-hover); color: var(--text-muted); border-color: transparent; }
    .stat-monthly-grid {
      display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px;
    }
    .stat-monthly-card {
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      padding: 16px 12px; border-radius: 10px;
      border: 1px solid var(--border); background: var(--bg-card);
      text-decoration: none; color: var(--text-primary);
      box-shadow: var(--shadow-sm); transition: all 0.2s;
      text-align: center;
    }
    .stat-monthly-card:hover { border-color: var(--primary); background: var(--primary-light); box-shadow: var(--shadow-md); }
    .stat-monthly-card-year { font-size: 0.7rem; color: var(--text-muted); }
    .stat-monthly-card-month { font-size: 1.3rem; font-weight: 800; color: var(--text-primary); }
    .stat-monthly-card-label { font-size: 0.7rem; color: var(--text-muted); margin-top: 2px; }
    @media (max-width: 768px) {
      .stat-store-card-metrics { grid-template-columns: repeat(3, 1fr); gap: 6px; }
      .stat-store-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 640px) {
      .stat-container { padding: 0 14px 40px; }
      .stat-archive-container { padding: 0 14px 40px; }
      .stat-page-header h1 { font-size: 1.4rem; }
      .stat-summary-card-value { font-size: 1.6rem; }
      .stat-store-grid { grid-template-columns: 1fr; }
      .stat-store-card-metrics { grid-template-columns: repeat(5, 1fr); }
      .stat-calendar-grid { grid-template-columns: repeat(7, 1fr); gap: 2px; }
      .stat-calendar-cell { font-size: 0.6rem; }
    }