@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Zen+Kaku+Gothic+New:wght@400;500;700;900&display=swap');

:root {
  --main: #e5484d;
  --main-dark: #c4353a;
  --ink: #101828;
  --sub: #1f2a44;
  --bg: #f6f4ef;
  --panel: #ffffff;
  --border: #e4e7ec;
  --muted: #667085;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(16, 24, 40, 0.08);
  --shadow-md: 0 16px 36px rgba(16, 24, 40, 0.14);
  --max-width: 1280px;
  --sidebar-width: 320px;
}

* { box-sizing: border-box; }
html { font-size: 14px; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  cursor: default;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(229, 72, 77, 0.12), transparent 42%),
    radial-gradient(circle at 90% 0%, rgba(15, 98, 254, 0.12), transparent 45%),
    linear-gradient(180deg, #fdfbf8 0%, #f6f4ef 50%, #f4f2ed 100%);
  z-index: -2;
}

img { max-width: 100%; height: auto; }
a { color: var(--main); text-decoration: none; }
a:hover,
a:focus,
a:active { color: var(--main-dark); text-decoration: none !important; box-shadow: none !important; }
a, button, input[type="submit"], .tab-btn { cursor: pointer; }

.container { width: min(var(--max-width), calc(100% - 32px)); margin: 0 auto; }

.header-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: #E5484D;
  color: #fff;
  z-index: 99999;
  pointer-events: auto;
  cursor: default;
}
.topbar-capture {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: auto;
}
.header-topbar a {
  display: inline-flex !important;
  width: auto !important;
  height: auto !important;
  max-width: fit-content !important;
  pointer-events: none;
}
.topbar-inner {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}
.topbar-ticker {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  pointer-events: auto;
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  animation: ticker-scroll 80s linear infinite;
  pointer-events: auto;
}
.ticker-item {
  color: #fff;
  font-size: 12px;
  display: inline-block !important;
  white-space: nowrap;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: fit-content;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  pointer-events: auto;
  position: static !important;
}
.ticker-item a {
  color: #fff;
  text-decoration: none;
  display: inline !important;
  pointer-events: auto;
}
.ticker-item:hover { text-decoration: underline; }
.topbar-date { flex: 0 0 auto; font-size: 12px; opacity: 0.9; }

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.site-header {
  padding-top: 38px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

body.admin-bar .header-topbar {
  top: 32px;
}

body.admin-bar .site-header {
  padding-top: 70px;
}
.header-inner {
  min-height: 120px;
  display: flex;
  align-items: stretch;
  gap: 24px;
  flex-wrap: nowrap;
  padding: 14px 0;
}

.site-branding {
  display: flex;
  align-items: center;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  transform: translateY(-3px);
}
.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 40px;
}
.logo-icon-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.logo-sub {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: -1px;
  line-height: 1.1;
}

.header-search {
  flex: 1 1 480px;
  min-width: 0;
  max-width: 480px;
  margin-left: auto;
  display: flex;
  align-items: center;
}
.header-search form { flex-wrap: nowrap; width: 100%; }
.search-input { min-width: 0; flex: 1 1 auto; }
.header-search form { display: flex; }
.search-input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 999px 0 0 999px;
  padding: 10px 14px;
  font-size: 13px;
  background: #fff;
}
.search-input:focus { outline: 2px solid rgba(229, 72, 77, 0.2); outline-offset: 0; border-color: var(--main); }
.search-btn {
  border: 0;
  border-radius: 0 999px 999px 0;
  padding: 0 18px;
  background: var(--main);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.category-nav {
  background: var(--sub);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.cat-list {
  list-style: none;
  margin: 0;
  padding: 12px 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cat-all,
.cat-nav-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  border-radius: 999px;
  padding: 6px 12px;
}
.cat-all { color: #fff; border: 1px solid rgba(255, 255, 255, 0.5); }
.cat-all:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.cat-nav-badge:hover { opacity: 0.9; color: #fff; }
.cat-count { display: none; }

.main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, var(--sidebar-width));
  gap: 24px;
  padding: 20px 0 48px;
  align-items: start;
}
.content-area { min-width: 0; }

.top-hero,
.archive-header,
.search-header,
.period-header,
.bw-header,
.bw-section,
.ranking-item,
.sidebar-widget,
.buzzword-table,
.period-card,
.home-snapshot,
.related-section {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: none;
}

.top-hero,
.archive-header,
.search-header,
.period-header,
.bw-header,
.bw-section,
.sidebar-widget { padding: 18px; margin-bottom: 14px; }

.top-hero {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 20px 0 10px;
  text-align: center;
}
.top-title {
  margin: 0;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.top-title-icon {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--main);
  flex: 0 0 30px;
}
.top-title-icon svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.top-subtitle { margin: 6px auto 0; color: var(--muted); max-width: 640px; }
.bw-section h2,
.related-section h2 {
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 1em;
}
.top-stats {
  margin-top: 8px;
  margin-bottom: 20px;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.top-stats strong { color: var(--main); }
.stat-item-date {
  font-size: 18px;
  font-weight: 700;
  color: var(--main);
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.home-snapshot {
  margin: 16px 0 12px;
  padding: 16px 18px;
}
.home-snapshot .snapshot-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}
.home-snapshot .snapshot-head h2 { font-size: 20px; margin: 0; }
.home-snapshot .snapshot-head p { margin: 0; color: var(--muted); font-size: 13px; }
.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.snapshot-card {
  background: #f9fafb;
  border: 1px solid #eef0f4;
  border-radius: 12px;
  padding: 12px;
}
.snapshot-card h3 { margin: 0 0 8px; font-size: 14px; }
.snapshot-list { list-style: none; padding: 0; margin: 0; }
.snapshot-list li { padding: 6px 0; border-bottom: 1px dashed #e5e7eb; }
.snapshot-list li:last-child { border-bottom: 0; }
.snapshot-link { display: block; font-weight: 600; color: #111827; }
.snapshot-meta { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.heat-bar {
  display: block;
  height: 6px;
  background: #eef0f4;
  border-radius: 999px;
  margin-top: 6px;
  overflow: hidden;
}
.heat-bar span { display: block; height: 100%; background: linear-gradient(90deg, #f59e0b, #ef4444); }

.tab-bar { display: flex; border-bottom: 0 !important; margin-bottom: 14px; gap: 6px; box-shadow: none !important; }
.tab-bar::before,
.tab-bar::after { content: none !important; display: none !important; }
.tab-bar,
.tab-bar * { border-bottom: 0 !important; box-shadow: none !important; background-image: none !important; text-decoration: none !important; }
.tab-btn {
  border: 0;
  background: transparent;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  border-bottom: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  cursor: pointer;
}
.tab-btn.active,
.tab-btn:hover,
.tab-btn:focus,
.tab-btn:active {
  color: var(--main);
  border: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  background-image: none !important;
}
.tab-btn::before,
.tab-btn::after { content: none !important; display: none !important; }
.tab-content { display: none; }
.tab-content.active { display: block; }
.home .tab-content.active { margin-top: 14px; }

.period-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0;
}

.period-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: #1f2937;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.12s ease;
}

.period-tab:hover,
.period-tab:focus-visible {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #111827;
  transform: translateY(-1px);
}

.period-tab.active {
  background: var(--main);
  border-color: var(--main);
  color: #ffffff !important;
  box-shadow: none;
}

.period-tab.active:hover,
.period-tab.active:focus-visible {
  background: var(--main-dark);
  border-color: var(--main-dark);
}

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

.bw-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bw-home-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  width: 100%;
}
.bw-home-cell {
  flex: 0 0 calc((100% - 24px) / 3);
  max-width: calc((100% - 24px) / 3);
  min-width: 0;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.home-category-sections {
  margin-top: 18px;
}

.home-category-trends {
  margin-top: 18px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: none;
}

.home-category-sections-head {
  margin-bottom: 14px;
}

.home-category-sections-head h2 {
  margin: 0;
  font-size: 22px;
  color: var(--sub);
}

.home-category-sections-head p {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
}

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

.home-category-block {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: none;
  padding: 16px;
}

.home-category-block-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.home-category-block-head h3 {
  margin: 0;
  font-size: 16px;
  flex: 1 1 auto;
  min-width: 0;
}

.home-category-more {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--main);
}

.home-category-card-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.home-category-card-list > * {
  width: 100%;
  min-width: 0;
}

.home-category-block-head .category-badge {
  white-space: nowrap;
  word-break: keep-all;
  writing-mode: horizontal-tb;
  display: inline-flex;
  max-width: 100%;
}

.home-category-trend-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-category-trend-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #f8fafc;
  color: var(--ink);
}

.home-category-trend-item strong {
  font-size: 13px;
  color: var(--sub);
}

.home-discovery-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.home-discovery-block {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: none;
  padding: 16px;
}

.home-discovery-head h2 {
  margin: 0;
  font-size: 20px;
  color: var(--sub);
}

.home-discovery-head p {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.home-discovery-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.home-discovery-list li + li {
  border-top: 1px solid var(--border);
}

.home-discovery-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  padding: 10px 0;
  color: var(--ink);
}

.home-discovery-list a strong {
  min-width: 0;
  font-size: 14px;
  line-height: 1.5;
}

.home-discovery-list a span {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.buzzword-card-link { display: block; color: inherit; }
.buzzword-card-link:hover { color: inherit; }
.buzzword-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.buzzword-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(120deg, rgba(229, 72, 77, 0.25), rgba(16, 24, 40, 0.15)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.buzzword-card:hover {
  transform: translateY(-2px);
  border-color: var(--border);
}
.buzzword-card:hover::before { opacity: 0; }

.card-rank,
.rank-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #9aa3b2;
}
.card-rank {
  position: static;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  pointer-events: none;
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
  justify-self: start;
}
.rank-1 { background: #ffd700; color: #333; }
.rank-2 { background: #c0c0c0; color: #333; }
.rank-3 { background: #cd7f32; }

.card-header {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 2px;
  align-items: start;
}
.buzzword-card.has-rank .card-header { min-height: 28px; }
.buzzword-card.has-rank .card-title,
.buzzword-card.has-rank .card-reading { grid-column: 2; }
.buzzword-card.has-rank .card-title { grid-row: 1; }
.buzzword-card.has-rank .card-reading { grid-row: 2; }
.buzzword-card.no-rank .card-header { grid-template-columns: minmax(0, 1fr); }
.buzzword-card.no-rank .card-title,
.buzzword-card.no-rank .card-reading,
.buzzword-card.no-rank .card-meta,
.buzzword-card.no-rank .card-summary,
.buzzword-card.no-rank .card-footer {
  margin-left: 0;
}
.card-title { margin: 0; font-size: 15px; line-height: 1.35; min-width: 0; }
.card-title-link { color: inherit; text-decoration: none; }
.card-title-link { cursor: pointer; }
.card-title-link:hover,
.card-title-link:focus,
.card-title-link:active { color: var(--main); text-decoration: none !important; }
.bw-home-grid a,
.home-snapshot a,
.period-links a {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}
.snapshot-link,
.snapshot-link:hover,
.snapshot-link:focus,
.snapshot-link:active { text-decoration: none !important; }
.sidebar-ranking a,
.sidebar-ranking a:hover,
.sidebar-ranking a:focus,
.sidebar-ranking a:active { text-decoration: none !important; }
.card-reading { display: block; font-size: 11px; color: var(--muted); }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; align-items: center; }
.card-volume { font-size: 11px; color: var(--muted); }
.card-sparkline { margin-top: 6px; }
.card-summary {
  margin: 8px 0 0;
  font-size: 12px;
  color: #4b5563;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-footer { margin-top: 8px; border-top: 1px solid var(--border); padding-top: 8px; font-size: 11px; color: var(--muted); }

.card-change {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #e5e7eb;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}
.card-change .change-label { font-weight: 700; color: #111827; }
.card-change .change-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.card-change .growth-up { color: #dc2626; }
.card-change .growth-down { color: #2563eb; }
.card-change .growth-flat { color: #6b7280; }

.score-badge,
.category-badge,
.growth-indicator { display: inline-flex; align-items: center; font-size: 11px; border-radius: 999px; padding: 2px 10px; }
.score-badge { color: #fff; font-weight: 700; }
.score-badge-value { font-size: 12px; }
.score-hot { background: #e74c3c; }
.score-high { background: #f39c12; }
.score-mid { background: #f1c40f; color: #333; }
.score-low { background: #95a5a6; }
.category-badge { color: #fff; font-weight: 600; line-height: 1.5; }
a.category-badge:hover { color: #fff; opacity: 0.9; }
.growth-up { color: #27ae60; }
.growth-down { color: #e74c3c; }
.growth-flat { color: #95a5a6; }

.buzzword-table-wrap { overflow-x: auto; margin-bottom: 16px; }
.buzzword-table { width: 100%; border-collapse: collapse; }
.buzzword-table th,
.buzzword-table td { padding: 10px 8px; border-bottom: 1px solid var(--border); text-align: left; font-size: 12px; }
.buzzword-table th { background: #f3f5fa; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.03em; }

.bw-title { margin: 10px 0 0; font-size: 34px; line-height: 1.35; }
.bw-header-top,
.bw-meta-info,
.bw-score-bar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.bw-header-top { gap: 10px 14px; line-height: 1.6; }
.bw-date { line-height: 1.6; }
.bw-names { margin-top: 10px; line-height: 1.75; }
.bw-reading,
.bw-alias { display: inline-block; }
.bw-meta-info { margin-top: 10px; gap: 8px 14px; line-height: 1.7; }
.bw-score-bar { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.bw-score-bar .score-item { display: inline-flex; align-items: center; gap: 6px; }
.bw-score-bar .score-label { font-weight: 700; color: var(--muted); }
.bw-summary { margin-top: 12px; border-left: 3px solid var(--main); background: #fff4f6; padding: 10px 12px; }
.bw-list { margin: 0; padding-left: 20px; }
.bw-list li { margin: 6px 0; }

.section-note { color: #5d6a7a; font-size: 0.95rem; margin: 8px 0 16px; }

.trend-source-overview,
.bw-sources,
.bw-seo,
.bw-evidence,
.bw-trend-chart {
  background: #f7f9fc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 20px;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.source-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.source-name { font-weight: 700; font-size: 0.98rem; color: #1a202c; }
.source-note { font-size: 0.85rem; color: #64748b; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #edf2f7;
  color: #2d3748;
  font-size: 0.88rem;
  text-decoration: none;
  border: 1px solid #e2e8f0;
}
.tag-chip:hover { background: #e2e8f0; }
.source-chip { background: #e6f0ff; border-color: #c3dafe; color: #2b6cb0; }
.tag-chip-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.9);
  color: inherit;
  border: 1px solid rgba(15, 23, 42, 0.08);
}
.tag-chip-brand { font-weight: 700; }
.tag-chip-x { background: #eef2f7; border-color: #cfd8e3; color: #111827; }
.tag-chip-youtube { background: #fff1f0; border-color: #fecaca; color: #b91c1c; }
.tag-chip-google-news,
.tag-chip-google { background: #eef4ff; border-color: #c7d7fe; color: #1d4ed8; }
.tag-chip-yahoo { background: #f5efff; border-color: #ddd6fe; color: #6d28d9; }
.tag-chip-bing { background: #ecfeff; border-color: #bae6fd; color: #0f766e; }
.tag-chip-duck { background: #fff7ed; border-color: #fed7aa; color: #c2410c; }
.tag-chip-instagram { background: #fff1f7; border-color: #fbcfe8; color: #be185d; }
.tag-chip-tiktok { background: #f3f4f6; border-color: #d1d5db; color: #111827; }
.bw-explore .tag-list,
.bw-related-words .tag-list { margin-top: 10px; }

.bw-explore-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.bw-explore-grid .bw-section {
  margin-bottom: 0;
}

.trend-chart-wrap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
}
.trend-chart { width: 100%; height: auto; display: block; }
.trend-chart-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 10px;
}

.score-evidence {
  display: block;
}
.score-evidence-main {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
}
.score-evidence-row {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  white-space: nowrap;
  min-width: 150px;
}
.score-evidence-label { color: #64748b; }
.score-evidence-value { font-weight: 700; color: #1a202c; }
.score-evidence-list {
  margin: 0;
  padding-left: 18px;
  color: #475467;
  font-size: 0.92rem;
  display: grid;
  gap: 6px;
}

.seo-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}
.seo-metric {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.seo-label { font-size: 0.82rem; color: #64748b; }
.seo-value { font-size: 1.05rem; font-weight: 700; color: #1a202c; }

.status-bar-list {
  display: grid;
  gap: 14px;
}

.status-bar-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 16px;
}

.status-bar-main {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: stretch;
  gap: 14px;
}

.status-bar-copy {
  flex: 1;
  min-width: 0;
}

.status-bar-emoji {
  width: 92px;
  height: 100%;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  font-size: 82px;
  line-height: 1;
  overflow: hidden;
}

.status-bar-copy-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.status-bar-text {
  min-width: 0;
}

.status-bar-label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #1a202c;
}

.status-bar-value {
  font-size: 16px;
  line-height: 1.2;
  color: var(--main);
}

.status-bar-track {
  margin-top: 10px;
  height: 10px;
  border-radius: 999px;
  background: #edf2f7;
  overflow: hidden;
}

.status-bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #e5484d 0%, #f59e0b 100%);
}

.status-bar-note {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 640px) {
  .status-bar-main {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 10px;
  }

  .status-bar-emoji {
    width: 56px;
    min-height: 62px;
    font-size: 50px;
  }
}

.news-links-list { display: grid; gap: 8px; margin-top: 8px; }
.bw-related-tags { margin-bottom: 12px; }
.bw-news-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bw-news-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  min-width: 0;
  overflow: hidden;
}
.bw-news-thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  background: #eee7dc;
  align-self: start;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bw-news-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bw-news-thumb-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  color: #8a7357;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0) 55%),
    #eee7dc;
}
.bw-news-body {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.bw-news-item a {
  color: var(--ink);
  font-weight: 600;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.bw-news-item a:hover { color: var(--main); }
.bw-news-snippet {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: #475467;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.bw-news-source {
  font-size: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.bw-related-info,
.bw-external-resources,
.bw-external-group,
.bw-news-list {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}
.bw-section.bw-related-info,
.bw-section.bw-external-resources,
.bw-section.bw-related-info .section-note,
.bw-section.bw-related-info .tag-list,
.bw-section.bw-related-info .tag-chip,
.bw-section.bw-related-info .bw-news-item,
.bw-section.bw-related-info .bw-news-item a,
.bw-section.bw-related-info .bw-news-snippet,
.bw-section.bw-related-info .bw-news-source,
.bw-section.bw-external-resources .bw-news-item,
.bw-section.bw-external-resources .bw-news-item a,
.bw-section.bw-external-resources .bw-news-snippet,
.bw-section.bw-external-resources .bw-news-source {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.bw-section.bw-related-info,
.bw-section.bw-external-resources {
  overflow: hidden;
}
.bw-section.bw-related-info .tag-list,
.bw-section.bw-related-info .section-note {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.bw-external-group + .bw-external-group {
  margin-top: 14px;
}
.bw-external-group h3 {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--sub);
}
@media (max-width: 520px) {
  .bw-news-item {
    grid-template-columns: 1fr;
  }
  .bw-news-thumb {
    width: 100%;
    height: 160px;
  }
}
.news-link-card {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  background: #fafbff;
  color: var(--ink);
}
.news-link-card:hover { background: #eef3ff; color: var(--ink); }
.news-link-thumb { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; }
.news-link-title { display: block; font-size: 13px; font-weight: 600; }
.news-link-source { font-size: 11px; color: var(--muted); }

.word-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.word-tag { font-size: 12px; padding: 2px 8px; border-radius: 10px; }
.word-tag.synonym { background: #e8f5e9; color: #2e7d32; }
.word-tag.antonym { background: #fce4ec; color: #c62828; }

.related-section { padding: 18px; margin-bottom: 14px; }
.related-section h2 { margin: 0 0 12px; font-size: 16px; font-weight: 700; }
.bw-grid-compact {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.related-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f2f5fb;
  border-radius: 10px;
  padding: 8px 10px;
  color: var(--ink);
}

.ranking-list { display: grid; gap: 10px; }
.ranking-item { padding: 12px; display: flex; gap: 10px; align-items: flex-start; }
.ranking-item.top-3 { border-left: 3px solid var(--main); }
.ranking-title { font-weight: 700; color: var(--ink); }
.ranking-title:hover { color: var(--main); }

.period-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 14px; }
.period-links.period-links-single { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.period-card { padding: 14px; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.period-card:hover { color: var(--ink); background: #eaf2ff; }
.period-label { font-weight: 700; }

.home-archive-link {
  margin-top: 18px;
  padding: 18px;
  background: linear-gradient(180deg, #eef4ff 0%, #f8fbff 100%);
  border: 1px solid #d7e3f4;
  border-radius: var(--radius);
  box-shadow: none;
}

.home-archive-link-head {
  margin-bottom: 12px;
}

.home-archive-link-head h2 {
  margin: 0;
  font-size: 20px;
  color: var(--sub);
}

.home-archive-link-head p {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.home-archive-link .period-links {
  margin-top: 0;
}

.widget-title { margin: 0 0 10px; font-size: 16px; font-weight: 700; border-bottom: 2px solid var(--main); padding-bottom: 6px; }

.sidebar-today-widget {
  background: #fbf6ee;
  border-color: #eadfcf;
  box-shadow: none;
}

.sidebar-today-widget .widget-title {
  border-bottom-color: #c9a97d;
}

.sidebar-today-date { margin: 0 0 10px; font-size: 12px; color: var(--muted); }
.sidebar-today-list li { border-bottom: 1px solid var(--border); padding: 7px 0; }
.sidebar-today-list li:last-child { border-bottom: 0; }
.sidebar-today-list li { display: flex; align-items: flex-start; gap: 8px; }
.sidebar-today-mark {
  flex: 0 0 auto;
  color: #b08957;
  font-size: 11px;
  line-height: 1.7;
  transform: translateY(1px);
}
.sidebar-today-text { flex: 1 1 auto; color: var(--ink); line-height: 1.55; }

.sidebar-ranking,
.sidebar-new-list,
.sidebar-cat-list { list-style: none; margin: 0; padding: 0; }
.sidebar-rank-item,
.sidebar-new-list li { border-bottom: 1px solid var(--border); padding: 7px 0; }
.sidebar-rank-item:last-child,
.sidebar-new-list li:last-child { border-bottom: 0; }
.sidebar-rank-item { display: flex; align-items: center; gap: 8px; }
.sidebar-rank-item a,
.sidebar-new-list li a { display: flex; align-items: center; gap: 8px; color: var(--ink); flex-wrap: nowrap; }
.sidebar-rank-item a { flex: 1 1 auto; min-width: 0; }
.sidebar-rank-item .rank-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1 1 auto; }
.sidebar-rank-item .score-badge { flex: 0 0 auto; margin-left: auto; }
.sidebar-new-list time { font-size: 11px; color: var(--muted); }
.sidebar-cat-list { display: flex; flex-wrap: wrap; gap: 6px; }

.breadcrumb { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.breadcrumb .sep { margin: 0 5px; }

.pagination { margin-top: 12px; text-align: center; }
.pagination .page-numbers {
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px 12px;
  margin: 0 2px;
  color: var(--ink);
  background: #fff;
}
.pagination .page-numbers.current { background: var(--main); border-color: var(--main); color: #fff; }

.btn-more {
  display: inline-block;
  background: var(--main);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
}
.btn-more:hover { background: var(--main-dark); color: #fff; }

.error-404 {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: none;
  padding: 40px 28px;
  text-align: center;
}
.error-404 .error-code {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: var(--main);
}
.error-404 h1 {
  margin: 10px 0 12px;
  font-size: 30px;
  line-height: 1.25;
}
.error-404 .error-message {
  margin: 0 auto;
  max-width: 680px;
  color: var(--muted);
  font-size: 15px;
}
.error-404 .error-actions {
  margin-top: 22px;
}

.site-footer {
  margin-top: 30px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  padding: 28px 0;
}
.footer-inner { text-align: center; }
.footer-nav a { color: rgba(255, 255, 255, 0.85); margin: 0 10px; font-size: 13px; }
.footer-note { color: rgba(255, 255, 255, 0.6); font-size: 12px; }

.more-link { text-align: center; margin: 24px 0 16px; }

.score-note {
  margin: 16px 0 12px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: none;
}

.score-note h3 {
  margin: 0 0 8px;
  font-size: 15px;
}
.score-note p {
  margin: 0;
  font-size: 12px;
  color: #475467;
}

.page-legal .main-layout { grid-template-columns: 1fr; }
.page-legal .sidebar { display: none; }
.page-legal .page-legal-content {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}
.page-legal .page-title {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 700;
}
.page-legal .page-body p { margin: 0 0 12px; }
.page-legal .page-body ul { margin: 0 0 12px; padding-left: 20px; }

.cat-about {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.7);
}

.cat-about.is-current {
  background: #fff;
  color: var(--sub);
}

.site-about-page .main-layout { grid-template-columns: 1fr; }
.site-about-page .sidebar { display: none; }

.about-page {
  display: block;
}

.about-sheet {
  background:
    radial-gradient(circle at top right, rgba(229, 72, 77, 0.08), transparent 28%),
    linear-gradient(180deg, #fffdf8 0%, #fff9f4 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 44px;
  overflow: hidden;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr);
  gap: 18px;
  padding: 0;
  background: transparent;
}

.about-hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-hero-copy,
.about-reading-body {
  min-width: 0;
}

.about-hero-copy {
  max-width: 760px;
}

.about-hero-art img {
  display: block;
  width: min(100%, 460px);
  height: auto;
  filter: none;
  border-radius: 20px;
}

.about-eyebrow {
  margin: 0 0 12px;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--main);
}

.about-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--sub);
}

.about-lead {
  margin: 14px 0 0;
  max-width: 760px;
  font-size: 14px;
  line-height: 1.75;
  color: #475467;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.about-link-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}

.about-link-secondary:hover {
  background: #f8fafc;
  color: var(--ink);
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  align-items: center;
}

.about-divider {
  height: 1px;
  margin: 44px 0;
  background: linear-gradient(90deg, rgba(31, 42, 68, 0.08) 0%, rgba(31, 42, 68, 0.18) 30%, rgba(31, 42, 68, 0.08) 100%);
}

.about-copy-flow {
  display: block;
  padding: 0;
}

.about-reading {
  padding: 0;
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.about-reading-figure {
  margin: 0;
}

.about-reading-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 420px;
  border-radius: 20px;
}

.about-copy-block + .about-copy-block {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid #e7eaf0;
}

.about-copy-block h2,
.about-reading h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.4;
  letter-spacing: -0.03em;
  color: var(--main);
}

.about-subsection {
  margin-top: 30px;
}

.about-inline-figure {
  margin: 20px auto 24px;
}

.about-inline-figure img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: 20px;
  margin: 0 auto;
}

.about-subsection h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--sub);
}

.about-copy-block p,
.about-reading-copy p {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.95;
  color: #475467;
}

.about-bullet-list {
  margin: 22px 0 0;
  padding-left: 20px;
  font-size: 14px;
  line-height: 2;
  color: #475467;
}

.about-bullet-list li + li {
  margin-top: 6px;
}

.about-reading-item {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 40px;
}

.about-reading-line {
  display: block;
  width: 4px;
  min-height: 74px;
  margin-top: 4px;
  border-radius: 999px;
  background: rgba(229, 72, 77, 0.35);
}

.about-reading-copy h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  color: #b45309;
}

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

.bw-metric-card {
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bw-metric-label {
  color: var(--muted);
  font-size: 12px;
}

.bw-metric-value {
  font-size: 28px;
  line-height: 1.1;
  color: var(--sub);
}

.bw-metric-value-small {
  font-size: 18px;
}

.bw-metric-sub {
  color: var(--muted);
  font-size: 11px;
}

@media (max-width: 980px) {
  .bw-home-cell { flex-basis: calc((100% - 12px) / 2); max-width: calc((100% - 12px) / 2); }
  .bw-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bw-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-category-grid { grid-template-columns: 1fr; }
  .home-discovery-sections { grid-template-columns: 1fr; }
  .about-hero { grid-template-columns: 1fr; }
  .about-reading { grid-template-columns: 1fr; }
  .about-reading-figure img { max-width: 360px; }
}

@media (max-width: 820px) {
  .header-inner { flex-direction: column; align-items: stretch; padding: 14px 0; gap: 0; }
  .site-branding { margin-bottom: 14px; }
  .header-search { max-width: none; margin: 0 0 14px; padding: 14px 0; }
  .period-links { grid-template-columns: 1fr; }
  .period-links.period-links-single { grid-template-columns: 1fr; }
  .bw-title { font-size: 26px; }
}

@media (max-width: 782px) {
  body.admin-bar .header-topbar {
    top: 46px;
  }

  body.admin-bar .site-header {
    padding-top: 100px;
  }
}

@media (max-width: 760px) {
  .main-layout { grid-template-columns: 1fr; }
  .snapshot-grid { grid-template-columns: 1fr; }
  .score-evidence { grid-template-columns: 1fr; }
  .bw-explore-grid { grid-template-columns: 1fr; }
  .error-404 { padding: 30px 18px; }
  .error-404 .error-code { font-size: 44px; }
  .error-404 h1 { font-size: 24px; }
}

@media (max-width: 520px) {
  .container { width: calc(100% - 20px); }
  .topbar-inner { font-size: 11px; }
  .logo-text { font-size: 24px; }
  .bw-metric-grid { grid-template-columns: 1fr; }
  .bw-home-cell { flex-basis: 100%; max-width: 100%; }
  .bw-grid-compact { grid-template-columns: 1fr; }
  .bw-grid { grid-template-columns: 1fr; }
  .home-category-card-list { grid-template-columns: 1fr; }
  .period-tab {
    min-height: 44px;
    padding: 10px 14px;
    font-size: 14px;
  }
  .about-title {
    font-size: 24px;
    white-space: normal;
  }
  .about-sheet { padding: 28px 22px; }
  .about-copy-block h2,
  .about-reading h2 { font-size: 22px; }
}
