/* betjp.online - Japanese betting affiliate site */
:root {
  --bg: #f5f5f5;
  --surface: #ffffff;
  --text: #1a1a1a;
  --text-muted: #5c5c5c;
  --accent: #0066cc;
  --accent-hover: #0052a3;
  --accent-light: #eff6ff;
  --border: #e0e0e0;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Libre Baskerville', Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  background: #1a1a1a;
  padding: 0.75rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-text {
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.logo-link:hover .logo-text {
  color: #ccc;
}

.header-categories-link {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.35rem 0.75rem;
}
.header-categories-link:hover {
  color: #ccc;
}
.site-header .header-categories-link {
  color: #fff;
}

.btn-icon {
  background: transparent;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-icon img {
  display: block;
}

.btn-search img {
  filter: brightness(0) invert(1);
}

/* ── Search overlay ──────────────────────────────────────────────────────── */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 5rem 1rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.search-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.search-overlay-inner {
  background: var(--surface);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 420px;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.search-form-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.search-form {
  display: flex;
  gap: 0.5rem;
}
.search-input {
  flex: 1;
  padding: 0.6rem 0.75rem;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
}
.search-input:focus {
  outline: none;
  border-color: var(--accent);
}
.search-submit {
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: inherit;
}
.search-submit:hover {
  background: var(--accent-hover);
}
.search-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
}
.search-close:hover {
  color: var(--text);
}

.search-suggestions {
  display: none;
  max-height: 260px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  margin-top: 0.25rem;
  box-shadow: var(--shadow);
}
.search-suggestions.is-open {
  display: block;
}
.search-suggestion-item {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.95rem;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.search-suggestion-item:last-child {
  border-bottom: none;
}
.search-suggestion-item:hover,
.search-suggestion-item.highlight {
  background: var(--accent);
  color: #fff;
}

/* ── Breadcrumb ──────────────────────────────────────────────────────────── */
.breadcrumb,
.category-breadcrumb {
  font-size: 0.9rem;
  margin: 0 0 0.5rem 0;
  color: var(--text-muted);
}
.breadcrumb a,
.category-breadcrumb a {
  color: var(--accent);
}
.breadcrumb a:hover,
.category-breadcrumb a:hover {
  text-decoration: underline;
}

/* ── Main content ────────────────────────────────────────────────────────── */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
}

.article {
  max-width: 860px;
}

.article-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: var(--text);
}

.article h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--accent);
  color: var(--text);
}

.article h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
  color: var(--text);
}

.article p {
  margin: 0 0 1rem;
  line-height: 1.75;
}

.article ul,
.article ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
  line-height: 1.75;
}

.article li {
  margin-bottom: 0.35rem;
}

.article-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.article-meta-line .disclosure-text { margin: 0; }
.article-meta-line .last-updated { display: inline-flex; align-items: center; gap: 0.35rem; margin: 0; }

/* ── Author box ──────────────────────────────────────────────────────────── */
.author-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0 0.75rem 0;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 720px;
}
.author-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  flex-shrink: 0;
  border: 2px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}
.author-info { display: flex; flex-direction: column; gap: 0.1rem; }
.author-name { font-weight: 700; font-size: 1.05rem; margin: 0 0 0.15rem 0; color: var(--text); }
.author-role { font-size: 0.78rem; font-weight: 600; color: var(--accent); margin: 0 0 0.35rem 0; letter-spacing: 0.02em; }
.author-bio { font-size: 0.875rem; margin: 0; color: var(--text-muted); line-height: 1.5; }

/* ── Subcategory card grid ───────────────────────────────────────────────── */
.subcat-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
}

.subcat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: box-shadow 0.18s, border-color 0.18s, transform 0.18s;
}

.subcat-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.subcat-card-icon {
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.subcat-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

.subcat-card-title a {
  color: inherit;
  text-decoration: none;
}

.subcat-card-title a:hover { color: var(--accent); }

.subcat-card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
  flex: 1;
}

.subcat-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.subcat-card-count {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.subcat-card-arrow {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.subcat-card-arrow:hover { text-decoration: underline; }

/* ── Category page article list ──────────────────────────────────────────── */
.subcat-article-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.subcat-article-list li a {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.45;
  padding: 0.6rem 0.75rem;
  border-radius: calc(var(--radius) - 2px);
  transition: background 0.15s, color 0.15s;
}

.subcat-article-list li a::before {
  content: "›";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05em;
}

.subcat-article-list li a:hover {
  background: var(--accent-light, #eff6ff);
  color: var(--accent);
}

/* ── Article hero image ──────────────────────────────────────────────────── */
.article-hero {
  display: block;
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 1.25rem 0 1.5rem;
  background: #d4dce8;
}

/* ── Homepage hero banner (video: intrinsic size, no crop / square corners) ─ */
.home-hero-wrap {
  margin: 0 0 1.5rem;
  text-align: center;
}

.home-hero-link {
  display: inline-block;
  max-width: 100%;
  line-height: 0;
}

.home-hero-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.home-hero {
  display: block;
  width: auto;
  max-width: min(100%, 720px);
  height: auto;
  border-radius: 0;
  margin: 0;
  vertical-align: top;
}

/* ── Category card with image ────────────────────────────────────────────── */
.cat-card-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  background: #d4dce8;
}

/* ── Product / operator cards ────────────────────────────────────────────── */
.products-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-card-link {
  display: block;
  color: inherit;
}

.product-card-link:hover .product-card {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border-color: #ccc;
}

.product-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

@media (min-width: 900px) {
  .product-card {
    grid-template-columns: 100px 200px 1fr;
  }
}

.product-card-left {
  grid-column: 1;
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: #fafafa;
  border-right: 1px solid var(--border);
}

.product-rank {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}

.product-badge.best-choice {
  background: linear-gradient(135deg, #e8f4fc 0%, #cce5f7 100%);
  color: #0066b3;
  border: 1px solid rgba(0, 102, 179, 0.35);
}

.product-badge.value-for-money,
.product-badge.value-money {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  color: #2e7d32;
  border: 1px solid rgba(46, 125, 50, 0.35);
}

.product-badge.top-bonus {
  background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
  color: #e65100;
  border: 1px solid rgba(230, 81, 0, 0.3);
}

.product-badge img {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.product-gallery {
  grid-column: 2;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
  border-right: 1px solid var(--border);
}

@media (max-width: 899px) {
  .product-card {
    grid-template-columns: 1fr;
  }
  .product-card-left {
    flex-direction: row;
    justify-content: flex-start;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .product-gallery {
    grid-column: 1;
    border-right: none;
    flex-direction: row;
    align-items: flex-start;
  }
}

.product-image-main {
  width: 100%;
  max-width: 160px;
  aspect-ratio: 1;
  background: #eeeeee;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

.product-image-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-details {
  grid-column: 3;
  padding: 1rem 1.25rem;
  min-width: 0;
}

@media (max-width: 899px) {
  .product-details {
    grid-column: 1;
  }
}

.product-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 0.35rem 0;
  color: var(--text);
}

.product-brand {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 0.5rem 0;
}

.main-highlights {
  margin: 0.5rem 0;
}

.main-highlights h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 0.35rem 0;
  color: var(--text);
}

.main-highlights ul {
  margin: 0 0 0.35rem 0;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  transition: max-height 0.3s ease;
}

.main-highlights:not(.is-expanded) ul {
  max-height: 6.5rem;
  overflow: hidden;
}

.main-highlights.is-expanded ul {
  max-height: none;
}

.main-highlights li {
  margin-bottom: 0.25rem;
}

.show-more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  padding: 0.2rem 0;
  font-size: 0.85rem;
  color: var(--accent);
  cursor: pointer;
  font-family: inherit;
}

.show-more:hover {
  text-decoration: underline;
}

.product-cons {
  margin: 0.75rem 0 0.5rem 0;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border, #e5e5e5);
}

.product-cons h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 0.35rem 0;
  color: var(--text);
}

.product-cons ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.product-cons li {
  margin-bottom: 0.25rem;
}

/* CTA button */
.view-deal-row {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
  padding: 0.75rem 1.5rem;
  min-height: 44px;
  background: #0073e6;
  color: #fff;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  transition: background 0.2s ease;
  text-decoration: none;
}

a.view-deal-row:hover {
  background: #0062c9;
  color: #fff;
}

.btn-view-deal {
  white-space: nowrap;
}

/* ── Comparison table ────────────────────────────────────────────────────── */
.comparison-section {
  margin-top: 2.5rem;
}
.comparison-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: var(--text);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.35rem;
}
.comparison-intro {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0 0 1rem 0;
  max-width: 42em;
}
.comparison-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.product-comparison-table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.product-comparison-table th,
.product-comparison-table td {
  padding: 0.6rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.product-comparison-table thead th {
  background: var(--bg);
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.product-comparison-table tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.02);
}
.product-comparison-table tbody tr:hover {
  background: rgba(0, 102, 204, 0.04);
}
.product-comparison-table tbody tr:last-child td {
  border-bottom: none;
}
.product-comparison-table .col-rank { width: 3rem; text-align: center; }
.product-comparison-table .col-name { min-width: 10rem; }
.product-comparison-table .col-link { width: 7rem; }
.product-comparison-table .col-link a {
  display: inline-block;
  padding: 0.35rem 0.6rem;
  background: var(--accent);
  color: #fff;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}
.product-comparison-table .col-link a:hover {
  background: var(--accent-hover);
}

/* ── Categories index page ───────────────────────────────────────────────── */
.cat-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.cat-index-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.cat-index-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  color: var(--accent);
}
.cat-index-name { font-weight: 700; font-size: 1rem; }
.cat-index-count { font-size: 0.8rem; color: var(--text-muted); }
.cat-index-card:hover .cat-index-count { color: inherit; }

/* ── Homepage cat-sections ───────────────────────────────────────────────── */
.home-page .article-title { margin-bottom: 0.5rem; }
.home-intro { font-size: 1.1rem; color: var(--text-muted); margin: 0 0 1.5rem 0; max-width: 42em; }

.cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.65rem;
  margin: 1.5rem 0 2rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.cat-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}
.cat-nav-link:hover { text-decoration: underline; }

.cat-section {
  margin-bottom: 2.5rem;
  scroll-margin-top: 4.5rem;
}
.cat-heading {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 0.85rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--accent);
  color: var(--text);
}
.cat-ja { font-size: 1.3rem; }
.cat-en { font-size: 0.8rem; font-weight: 400; color: var(--text-muted); }
.cat-heading-link { color: inherit; text-decoration: none; }
.cat-heading-link:hover .cat-ja { color: var(--accent); text-decoration: underline; }
.cat-heading-link:hover .cat-en { color: var(--accent); }

.subcat-heading {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 1.1rem 0 0.4rem;
}

.article-list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 1.5rem;
}
@media (min-width: 640px) { .article-list { columns: 3; } }
@media (min-width: 900px) { .article-list { columns: 4; } }

.article-list li {
  break-inside: avoid;
  padding: 0.2rem 0;
  border-bottom: 1px solid var(--border);
}
.article-list li:last-child { border-bottom: none; }
.article-list a {
  display: block;
  font-size: 0.88rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
  padding: 0.2rem 0;
}
.article-list a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* ── Category landing page ───────────────────────────────────────────────── */
.categories-page .breadcrumb,
.categories-page .category-breadcrumb {
  margin-bottom: 1rem;
}
.cat-subcat-section {
  margin-bottom: 2rem;
}
.cat-subcat-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.65rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.cat-page-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.cat-page-link {
  display: block;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.cat-page-link strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text);
}
.cat-page-link span {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.cat-page-link:hover {
  border-left-color: var(--accent-hover);
  background: var(--accent-light);
  color: var(--accent);
}
.cat-page-link:hover strong,
.cat-page-link:hover span {
  color: inherit;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  margin-top: 2rem;
  padding: 1.25rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.site-footer p {
  margin: 0.2rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links a {
  color: var(--accent);
}
.footer-links a:hover {
  text-decoration: underline;
}

/* ── Betting-specific components ─────────────────────────────────────────── */

/* Rating stars */
.rating-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #f59e0b;
  font-size: 1rem;
  line-height: 1;
}
.rating-score {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  margin-left: 0.4rem;
}

/* Bonus badge */
.bonus-badge {
  display: inline-block;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  color: #92400e;
  border: 1px solid rgba(146, 64, 14, 0.25);
  border-radius: 4px;
  padding: 0.25rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Operator score */
.operator-score {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  padding: 0.5rem 0.85rem;
  min-width: 56px;
  line-height: 1;
}
.operator-score-number {
  font-size: 1.4rem;
  font-weight: 700;
}
.operator-score-label {
  font-size: 0.65rem;
  opacity: 0.85;
  margin-top: 2px;
}

/* Info / warning boxes */
.info-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}
.info-box p { margin: 0; font-size: 0.95rem; }

.warning-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid #f59e0b;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}
.warning-box p { margin: 0; font-size: 0.95rem; }

/* Pros / cons two-column */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.25rem 0;
}
@media (max-width: 640px) {
  .pros-cons { grid-template-columns: 1fr; }
}
.pros-cons-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}
.pros-cons-col h4 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
}
.pros-cons-col.pros h4 { color: #16a34a; }
.pros-cons-col.cons h4 { color: #dc2626; }
.pros-cons-col ul {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.pros-cons-col li { margin-bottom: 0.3rem; }

/* Table of contents */
.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  max-width: 40em;
}
.toc-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--text);
}
.toc ol {
  margin: 0;
  padding-left: 1.5rem;
  font-size: 0.9rem;
}
.toc li { margin-bottom: 0.25rem; }
.toc a { color: var(--accent); }
.toc a:hover { text-decoration: underline; }

/* Payment method grid */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}
.payment-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  text-align: center;
}
.payment-card-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}
.payment-card-detail {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  line-height: 1.4;
}

/* Feature check table */
.feature-table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.feature-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 420px;
}
.feature-table th,
.feature-table td {
  padding: 0.55rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.feature-table thead th {
  background: var(--bg);
  font-weight: 600;
  white-space: nowrap;
}
.feature-table tbody tr:last-child td { border-bottom: none; }
.feature-table tbody tr:nth-child(even) { background: rgba(0,0,0,0.02); }
.check-yes { color: #16a34a; font-weight: 700; }
.check-no  { color: #dc2626; }
.check-partial { color: #d97706; }

/* Sport badge tags */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0;
}
.tag {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
