/* ============================================================
   TOKENS — かっとき
   ============================================================ */
:root {
  --teal:      #1F5566;
  --teal-dk:   #163E4B;
  --teal-dkr:  #0F2D37;
  --teal-md:   #2D7186;
  --teal-lt:   #5A98AB;
  --teal-soft: #E1ECEF;
  --teal-bg:   #F4F8F9;

  --coral:     #E89B8E;
  --coral-dk:  #D88376;
  --coral-lt:  #F4C2B8;
  --coral-soft:#FDEEEA;

  --yellow:    #F4C842;
  --yellow-dk: #E0B12C;
  --yellow-lt: #FFF1C7;

  --ink:       #1F3440;
  --ink-mid:   #5D7078;
  --ink-lt:    #8EA0A8;
  --ink-vlt:   #B7C4CA;
  --line:      #DDE4E8;
  --line-lt:   #ECF1F3;
  --bg:        #F2F5F7;

  --gold:      #C9A84C;
  --silver:    #95A0A8;
  --bronze:    #A0673A;

  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 24px; --r-pill: 100px;
  --shadow-sm: 0 2px 6px rgba(15,45,55,0.06);
  --shadow-md: 0 8px 24px rgba(15,45,55,0.10);
  --shadow-lg: 0 20px 50px rgba(15,45,55,0.14);
  --font: 'Noto Sans JP', system-ui, sans-serif;
  --font-display: 'Outfit', 'Noto Sans JP', sans-serif;
  --max-w: 1140px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: #fff;
  color: var(--ink);
  line-height: 1.75;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ============================================================
   TOP STRIP (アフィリエイト表示)
   ============================================================ */
.top-strip {
  background: var(--teal-dk);
  color: rgba(255,255,255,0.85);
  font-size: 11px;
  padding: 5px 0;
  text-align: center;
  letter-spacing: 0.05em;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.25s;
}
.nav.scrolled { box-shadow: 0 2px 18px rgba(15,45,55,0.08); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: flex-end;
  text-decoration: none;
  position: relative;
  padding-top: 14px;
  flex-shrink: 0;
}
.brand-kana {
  position: absolute;
  top: -2px; left: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.55em;
  color: var(--teal);
}
.brand-text {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1;
  display: inline-flex;
  align-items: flex-end;
  position: relative;
  z-index: 1;
}
.brand-text span:nth-child(odd)  { color: var(--coral); }
.brand-text span:nth-child(even) { color: var(--teal); }
.brand-mascot {
  position: absolute;
  top: -12px; right: -22px;
  width: 52px; height: 52px;
  z-index: 2;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 3px 4px rgba(15,45,55,0.15));
}
.brand:hover .brand-mascot { transform: translateY(-3px) rotate(-8deg); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  color: var(--ink);
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: var(--teal-soft); color: var(--teal); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 32px;
  padding: 6px;
  background: transparent;
  border: none;
}
.nav-hamburger span {
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  display: block;
  width: 100%;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   MOBILE DRAWER
   ============================================================ */
.mobile-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,45,55,0.45);
  z-index: 200;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-drawer-overlay.open { display: block; opacity: 1; }

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(86vw, 360px);
  height: 100vh;
  background: #fff;
  z-index: 201;
  transition: right 0.32s cubic-bezier(0.22, 0.6, 0.36, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: -20px 0 50px rgba(15,45,55,0.18);
}
.mobile-drawer.open { right: 0; }

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.mobile-drawer-brand {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: var(--teal);
  letter-spacing: -0.01em;
  display: flex;
}
.mobile-drawer-brand span:nth-child(odd)  { color: var(--coral); }
.mobile-drawer-brand span:nth-child(even) { color: var(--teal); }
.mobile-drawer-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--teal-soft);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--teal-dk);
  line-height: 1;
}

.mobile-drawer-nav { padding: 8px 0; }
.mobile-drawer-nav li { border-bottom: 1px solid var(--line-lt); }
.mobile-drawer-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  transition: background 0.15s, color 0.15s;
}
.mobile-drawer-nav a::after { content: '›'; color: var(--ink-lt); font-size: 18px; }
.mobile-drawer-nav a:hover { background: var(--teal-soft); color: var(--teal); }
.mobile-drawer-nav a small {
  display: block;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--ink-lt);
  text-transform: uppercase;
  margin-top: 2px;
}
body.drawer-open { overflow: hidden; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--teal-dk), var(--teal));
  color: #fff;
  padding: 64px 0 72px;
  overflow: hidden;
}
.hero-tiles {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'><g fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><rect x='14' y='16' width='28' height='20' rx='2'/><line x1='22' y1='40' x2='34' y2='40'/><rect x='62' y='14' width='40' height='26' rx='3'/><circle cx='30' cy='80' r='10'/><rect x='62' y='62' width='28' height='38' rx='3'/><line x1='72' y1='94' x2='80' y2='94'/><path d='M14 102 h20 v8 h-20z'/></g></svg>");
  background-size: 220px 220px;
  opacity: 0.07;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr auto;
  align-items: center;
  gap: 40px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 18px;
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--yellow);
  border-radius: 50%;
}
.hero-title {
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0.005em;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.hero-title em {
  font-style: normal;
  color: var(--yellow);
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}
.hero-title em::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 4px;
  height: 5px;
  background: var(--coral);
  border-radius: 4px;
  opacity: 0.85;
}
.hero-sub {
  font-size: 15px;
  line-height: 1.85;
  opacity: 0.92;
  margin-bottom: 24px;
  max-width: 520px;
}
.hero-search {
  background: #fff;
  border-radius: var(--r-pill);
  padding: 6px;
  display: flex;
  align-items: center;
  max-width: 480px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
  margin-bottom: 16px;
}
.hero-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 11px 18px;
  font-size: 14px;
  font-family: inherit;
  background: transparent;
  color: var(--ink);
}
.hero-search input::placeholder { color: var(--ink-lt); }
.hero-search button {
  background: var(--yellow);
  color: var(--teal-dk);
  border: none;
  padding: 11px 24px;
  border-radius: var(--r-pill);
  font-weight: 800;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s, transform 0.15s;
}
.hero-search button svg { width: 16px; height: 16px; flex-shrink: 0; }
.hero-search button:hover { background: var(--yellow-dk); transform: translateY(-1px); }
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 12px;
}
.hero-tags-label {
  font-weight: 700;
  background: var(--coral);
  color: #fff;
  padding: 3px 10px;
  border-radius: var(--r-sm);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.hero-tags a {
  padding: 3px 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r-sm);
  font-size: 12px;
  transition: background 0.2s;
}
.hero-tags a:hover { background: rgba(255,255,255,0.22); }
.hero-side { position: relative; width: 260px; text-align: center; }
.hero-mascot-wrap {
  position: relative;
  width: 190px; height: 190px;
  margin: 0 auto 12px;
}
.hero-mascot {
  width: 100%; height: 100%;
  animation: floatY 4s ease-in-out infinite;
  filter: drop-shadow(0 14px 22px rgba(0,0,0,0.28));
}
.hero-mascot-shadow {
  position: absolute;
  bottom: -6px; left: 50%;
  width: 120px; height: 16px;
  background: rgba(0,0,0,0.22);
  border-radius: 50%;
  filter: blur(8px);
  transform: translateX(-50%);
  animation: shadowPulse 4s ease-in-out infinite;
}
.hero-stat {
  display: inline-block;
  background: var(--yellow);
  color: var(--teal-dk);
  padding: 6px 18px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.hero-stat strong { font-size: 18px; margin: 0 3px; }
@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%       { transform: translateY(-10px) rotate(3deg); }
}
@keyframes shadowPulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.3; }
  50%       { transform: translateX(-50%) scale(0.78); opacity: 0.18; }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 64px 0; }
.section.bg { background: var(--teal-bg); }

.sec-head { text-align: center; margin-bottom: 36px; display: flex; flex-direction: column; align-items: center; gap: 0; }
.sec-head-mascot { width: 56px; height: 42px; margin-bottom: -6px; filter: drop-shadow(0 3px 6px rgba(15,45,55,0.15)); }
.sec-pill {
  display: inline-block;
  background: var(--yellow);
  color: var(--teal-dk);
  padding: 6px 28px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.05em;
  position: relative;
}
.sec-pill::before, .sec-pill::after { content: ''; position: absolute; top: 50%; width: 60px; height: 1.5px; background: var(--teal-soft); }
.sec-pill::before { right: 100%; margin-right: 12px; }
.sec-pill::after  { left: 100%;  margin-left: 12px; }
.sec-head-en {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--ink-lt);
  margin-top: 10px;
  text-transform: uppercase;
}

/* ============================================================
   CATEGORY GRID
   ============================================================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.cat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 16px 18px;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-lt);
}
.cat-card-icon {
  width: 44px; height: 44px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--teal-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s;
}
.cat-card:hover .cat-card-icon { background: var(--teal); }
.cat-card-icon svg {
  width: 22px; height: 22px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.25s;
}
.cat-card:hover .cat-card-icon svg { stroke: #fff; }
.cat-card-jp { font-size: 14px; font-weight: 900; color: var(--ink); margin-bottom: 2px; }
.cat-card-en {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--ink-lt);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.cat-card-list {
  text-align: left;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  flex: 1;
  margin-bottom: 12px;
}
.cat-card-list li {
  font-size: 11.5px;
  color: var(--ink-mid);
  padding: 4px 0;
  display: flex;
  gap: 5px;
  line-height: 1.5;
  transition: color 0.2s;
}
.cat-card-list li::before { content: '›'; color: var(--teal); font-weight: 900; flex-shrink: 0; }
.cat-card-list li:hover { color: var(--teal); }
.cat-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--yellow);
  color: var(--teal-dk);
  padding: 7px 14px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-top: auto;
  transition: background 0.2s;
}
.cat-card-btn:hover { background: var(--yellow-dk); }
.cat-card-btn::after { content: '›'; }

/* ============================================================
   ARTICLE GRID & CARD
   ============================================================ */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.article-thumb {
  aspect-ratio: 16/9;
  background: var(--teal-soft);
  position: relative;
  overflow: hidden;
}
.article-thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-thumb-tag {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--teal-dk);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 4px;
  z-index: 1;
  letter-spacing: 0.05em;
}
.article-body { padding: 16px 18px; flex: 1; display: flex; flex-direction: column; }
.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--ink-lt);
  margin-bottom: 8px;
}
.article-meta-cat { font-weight: 800; color: var(--teal); letter-spacing: 0.05em; }
.article-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 8px;
}
.article-excerpt {
  font-size: 12.5px;
  color: var(--ink-mid);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: auto;
  padding-top: 10px;
}
.star { color: var(--line); font-size: 14px; }
.star.filled { color: var(--yellow); }

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.article-wrap { padding: 40px 0 80px; max-width: 800px; margin: 0 auto; padding-inline: 24px; }
.article-header { margin-bottom: 24px; }
.article-hero-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--ink); margin-bottom: 12px; line-height: 1.4; }
.article-page-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--ink-mid); font-size: 13px; }
.article-thumb-hero { width: 100%; border-radius: var(--r-lg); margin-bottom: 32px; aspect-ratio: 16/9; object-fit: cover; }

.toc-wrap { background: var(--teal-bg); border-left: 4px solid var(--teal); border-radius: var(--r-md); padding: 20px 24px; margin-bottom: 32px; }
.toc-title { font-weight: 700; color: var(--teal); margin-bottom: 12px; }
#toc ul { list-style: none; padding: 0; }
#toc li { padding: 4px 0; }
#toc li a { color: var(--teal-md); font-size: 14px; }
#toc li a:hover { text-decoration: underline; }
#toc .toc-sub { padding-left: 16px; }

.article-content h2 { font-size: 1.35rem; font-weight: 800; color: var(--teal); border-bottom: 2px solid var(--teal-soft); padding-bottom: 8px; margin: 40px 0 16px; }
.article-content h3 { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin: 28px 0 12px; }
.article-content p { margin-bottom: 16px; }
.article-content ul, .article-content ol { padding-left: 24px; margin-bottom: 16px; }
.article-content li { margin-bottom: 6px; }

/* ============================================================
   STAR RATING
   ============================================================ */
.star-rating { display: flex; align-items: center; gap: 2px; }
.star-score { margin-left: 6px; font-weight: 700; color: var(--ink-mid); font-size: 14px; }

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.comparison-section { margin: 40px 0; }
.comparison-table-wrap { overflow-x: auto; }
.comparison-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.comparison-table th { background: var(--teal); color: #fff; padding: 12px 16px; text-align: left; font-weight: 700; }
.comparison-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.comparison-table tr:hover td { background: var(--teal-bg); }

/* ============================================================
   CTA BUTTONS
   ============================================================ */
.cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin: 32px 0; }
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 15px;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-cta:hover { opacity: .85; transform: translateY(-2px); }
.btn-official { background: var(--yellow); color: var(--ink); }
.btn-amazon   { background: #FF9900; color: #fff; }
.btn-rakuten  { background: #BF0000; color: #fff; }
.amazon-widget { margin: 16px 0; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-mid); margin-bottom: 24px; flex-wrap: wrap; padding: 16px 0; }
.breadcrumb a:hover { color: var(--teal); text-decoration: underline; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.page-num, .page-prev, .page-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  padding: 0 12px;
  transition: background 0.2s;
}
.page-num.is-active { background: var(--teal); color: #fff; border-color: var(--teal); }
.page-num:hover:not(.is-active), .page-prev:hover, .page-next:hover { background: var(--teal-soft); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--teal-dk); color: rgba(255,255,255,0.85); padding: 56px 0 24px; margin-top: 64px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand { margin-bottom: 14px; }
.footer-brand .brand-text { font-size: 30px; }
.footer-brand .brand-text span:nth-child(even) { color: #fff; }
.footer-tagline { font-size: 13px; line-height: 1.85; max-width: 320px; opacity: 0.88; }
.footer-col-title {
  color: var(--yellow);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: var(--font-display);
}
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 13px; opacity: 0.85; transition: opacity 0.2s, color 0.2s; }
.footer-links a:hover { opacity: 1; color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.13);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  opacity: 0.65;
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   404
   ============================================================ */
.btn-primary { background: var(--teal); color: #fff; padding: 12px 28px; border-radius: var(--r-pill); font-weight: 700; display: inline-block; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .cat-grid     { grid-template-columns: repeat(3, 1fr); }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links    { display: none; }
  .nav-hamburger{ display: flex; }
  .cat-grid     { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .article-grid { grid-template-columns: 1fr; }
  .footer-top   { grid-template-columns: 1fr 1fr; }
  .section      { padding: 48px 0; }
}

@media (max-width: 480px) {
  .cat-grid     { grid-template-columns: 1fr; }
  .footer-top   { grid-template-columns: 1fr; }
  .hero         { padding: 30px 0 48px; }
  .hero-inner   { grid-template-columns: 1fr; position: relative; }
  .hero-side    { position: absolute; top: 0; right: 0; width: auto; }
  .hero-mascot-wrap { width: 100px; height: 100px; margin: 0; }
  .hero-stat    { display: none; }
  .hero-inner > div:first-child { padding-top: 40px; }
  .hero-search  { padding: 4px 4px 4px 8px; }
  .hero-search button { padding: 10px 16px; font-size: 12px; }
  .hero-title br:first-of-type { display: none; }
  .cta-buttons  { flex-direction: column; }
  .brand-text   { font-size: 28px; }
  #mobile-drawer .mobile-drawer-search,#mobile-drawer .mobile-drawer-foot {
    display: none;
  }
}

/* ============================================
   RANKING SECTION
   ============================================ */
.ranking-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.ranking-head-eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--coral-dk);
  margin-bottom: 6px;
}
.ranking-head-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  color: var(--teal-dk);
  line-height: 1.2;
}
.ranking-head-title em { color: var(--coral); font-style: normal; }
.ranking-head-sub {
  display: block;
  font-size: 13px;
  color: var(--ink-mid);
  margin-top: 6px;
}

.rank-list { display: flex; flex-direction: column; gap: 12px; }

.rank-item {
  display: grid;
  grid-template-columns: 52px 120px 1fr auto;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-lt);
  transition: box-shadow 0.2s, transform 0.2s;
}
.rank-item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.rank-badge {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.rank-badge .n {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  color: #fff;
}
.rank-badge.gold   { background: linear-gradient(135deg, #C9A84C, #E8C96A); box-shadow: 0 3px 10px rgba(201,168,76,0.35); }
.rank-badge.silver { background: linear-gradient(135deg, #7E8F97, #A8B8C0); box-shadow: 0 3px 10px rgba(126,143,151,0.3); }
.rank-badge.bronze { background: linear-gradient(135deg, #A0673A, #C08050); box-shadow: 0 3px 10px rgba(160,103,58,0.3); }
.rank-badge.gray   { background: linear-gradient(135deg, #B7C4CA, #CED8DC); }

.rank-thumb {
  width: 120px; height: 80px;
  background: var(--teal-bg);
  border-radius: var(--r-md);
  overflow: hidden;
  flex-shrink: 0;
}
.rank-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rank-thumb-placeholder { width: 100%; height: 100%; background: var(--teal-soft); }

.rank-info { min-width: 0; }
.rank-info-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: var(--teal-soft);
  color: var(--teal);
  margin-bottom: 6px;
}
.rank-info-tag.best { background: var(--yellow-lt); color: var(--yellow-dk); }
.rank-info-tag.sale { background: #FEE2E2; color: #DC2626; }
.rank-info-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rank-stars { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 13px; }
.rank-stars-icons { color: var(--yellow-dk); letter-spacing: -1px; }
.rank-stars-num { font-weight: 700; color: var(--ink); }
.rank-info-pros { display: flex; flex-wrap: wrap; gap: 4px; }
.rank-info-pros span {
  font-size: 11px;
  padding: 2px 8px;
  background: var(--line-lt);
  border-radius: var(--r-pill);
  color: var(--ink-mid);
}

.rank-price { text-align: right; flex-shrink: 0; min-width: 130px; }
.rank-price-label { font-size: 11px; color: var(--ink-lt); margin-bottom: 2px; }
.rank-price-value { font-family: var(--font-display); font-size: 20px; font-weight: 900; color: var(--teal-dk); margin-bottom: 10px; }
.rank-price-value small { font-size: 13px; font-weight: 400; }
.rank-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--coral);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  transition: background 0.2s;
  white-space: nowrap;
}
.rank-cta:hover { background: var(--coral-dk); }
.rank-cta svg { width: 14px; height: 14px; }
.rank-article-link {
  display: block;
  font-size: 12px;
  color: var(--teal);
  margin-top: 6px;
  text-align: right;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 768px) {
  .rank-item {
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto auto;
  }
  .rank-thumb { display: none; }
  .rank-info  { grid-column: 2; }
  .rank-price { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; }
  .rank-price-label { display: none; }
  .rank-price-value { font-size: 17px; margin-bottom: 0; }
  .rank-article-link { margin-top: 0; }
}

/* ============================================
   REVIEW CRITERIA SECTION
   ============================================ */
.review-criteria { background: var(--teal-dk); border-radius: var(--r-xl); overflow: hidden; }
.rc-inner { padding: 40px 48px; }
.rc-header {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 32px;
}
.rc-mascot { width: 80px; height: 80px; flex-shrink: 0; }
.rc-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
  padding: 3px 10px;
  border-radius: var(--r-pill);
  margin-bottom: 8px;
}
.rc-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 10px;
}
.rc-desc { font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.7; }

.rc-principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.rc-principle {
  background: rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.1);
}
.rc-principle-num {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--coral-lt);
  margin-bottom: 8px;
}
.rc-principle-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.rc-principle-desc { font-size: 12px; color: rgba(255,255,255,0.65); line-height: 1.65; }

@media (max-width: 1024px) {
  .rc-principles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .rc-inner { padding: 28px 20px; }
  .rc-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .rc-principles { grid-template-columns: 1fr; gap: 10px; }
}

/* ============================================
   TAG CLOUD SECTION
   ============================================ */
.tagcloud-wrap { text-align: center; }
.tagcloud-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-mid);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.tagcloud a {
  display: inline-block;
  padding: 6px 14px;
  background: var(--teal-soft);
  color: var(--teal);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.tagcloud a:hover { background: var(--teal); color: #fff; border-color: var(--teal); }


/* ============================================
   FOOTER AUTHOR BIO
   ============================================ */
.footer-author {
  margin-top: .5rem;
  font-size: .8rem;
  color: var(--ink-light);
  line-height: 1.7;
  max-width: 22rem;
}

/* ============================================
   PRIVACY PAGE
   ============================================ */
.privacy-page {
  max-width: 760px;
  margin: 3rem auto 5rem;
  padding: 0 1rem;
}
.privacy-title {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: .5rem;
}
.privacy-updated {
  font-size: .8rem;
  color: var(--ink-mid);
  margin-bottom: 2rem;
}
.privacy-page h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--teal);
  border-left: 3px solid var(--teal);
  padding-left: .75rem;
  margin: 2rem 0 .75rem;
}
.privacy-page p {
  font-size: .9rem;
  line-height: 1.8;
  color: var(--ink-mid);
  margin-bottom: 1rem;
}
.privacy-page a {
  color: var(--teal);
  text-decoration: underline;
}
