:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --text: #0b1324;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --accent: #0284c7;
  --accent-soft: rgba(2, 132, 199, 0.11);
  --accent-crypto: #d97706;
  --accent-crypto-soft: rgba(217, 119, 6, 0.12);
  --cat-tech: #7c3aed;
  --cat-tech-soft: rgba(124, 58, 237, 0.12);
  --cat-global: #059669;
  --cat-global-soft: rgba(5, 150, 105, 0.12);
  --cat-funny: #db2777;
  --cat-funny-soft: rgba(219, 39, 119, 0.12);
  --cat-adult: #dc2626;
  --cat-adult-soft: rgba(220, 38, 38, 0.12);
  --ticker-bg: #0f172a;
  --ticker-text: #f8fafc;
  --ticker-muted: #94a3b8;
  --ticker-border: rgba(255, 255, 255, 0.11);
  --up: #22c55e;
  --down: #ef4444;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 12px 28px rgba(15, 23, 42, 0.1);
}

[data-theme="dark"] {
  --bg: #070b14;
  --surface: #0f1623;
  --surface-alt: #172033;
  --text: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --border: #1e293b;
  --border-strong: #334155;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.15);
  --accent-crypto: #fbbf24;
  --accent-crypto-soft: rgba(251, 191, 36, 0.16);
  --cat-tech: #a78bfa;
  --cat-tech-soft: rgba(167, 139, 250, 0.16);
  --cat-global: #34d399;
  --cat-global-soft: rgba(52, 211, 153, 0.16);
  --cat-funny: #f472b6;
  --cat-funny-soft: rgba(244, 114, 182, 0.16);
  --cat-adult: #f87171;
  --cat-adult-soft: rgba(248, 113, 113, 0.16);
  --ticker-bg: #030712;
  --ticker-border: rgba(255, 255, 255, 0.08);
  --up: #4ade80;
  --down: #f87171;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-hover: 0 14px 32px rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans Myanmar", "Pyidaungsu", "Noto Sans Thai", "PingFang SC", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background 0.2s ease, color 0.2s ease;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* Translation Shimmer State */
body.is-translating [data-trans-key] {
  opacity: 0.6;
  transition: opacity 0.25s ease;
}

/* Reading Progress Bar */
.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-crypto));
  z-index: 120;
  transition: width 0.08s linear;
}

/* Unified Top Market Ticker Bar (FX + Crypto) */
.top-bar {
  background: var(--ticker-bg);
  color: var(--ticker-text);
  border-bottom: 1px solid var(--ticker-border);
  font-size: 12px;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 42px;
}

.rates-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 7px 0;
  white-space: nowrap;
}
.rates-strip::-webkit-scrollbar { display: none; }

.rates-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ticker-muted);
  padding-right: 10px;
  border-right: 1px solid var(--ticker-border);
}
.rates-tag.crypto-tag { color: #fbbf24; padding-left: 6px; }

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--up);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.rate-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding-right: 12px;
  border-right: 1px solid var(--ticker-border);
}
.rate-item:last-child { border-right: none; padding-right: 0; }
.rate-label { font-weight: 700; color: var(--ticker-muted); font-size: 11px; }
.rate-val { font-weight: 700; font-variant-numeric: tabular-nums; color: #ffffff; }
.rate-trend { font-size: 10.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rate-trend.up { color: var(--up); }
.rate-trend.down { color: var(--down); }
.rate-trend.flat { color: var(--ticker-muted); }

.top-controls { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.translating-badge {
  display: none;
  font-size: 11px;
  color: #38bdf8;
  font-weight: 700;
  background: rgba(56, 189, 248, 0.16);
  padding: 3px 9px;
  border-radius: 999px;
}
.translating-badge.show { display: inline-flex; align-items: center; }

.lang-select, .theme-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.lang-select:hover, .theme-btn:hover { background: rgba(255, 255, 255, 0.16); }
.lang-select option { background: #0f172a; color: #f8fafc; }

/* Sticky Main Header + Category Pill Bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
[data-theme="dark"] .site-header { background: rgba(15, 22, 35, 0.9); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
  padding: 8px 0;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.site-custom-logo img { max-height: 38px; width: auto; display: block; }

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 55%, #f59e0b 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.28);
  flex-shrink: 0;
}
.site-logo .brand-accent { color: var(--accent); }

/* Search Bar */
.header-search { position: relative; display: flex; align-items: center; }
.header-search input {
  width: 220px;
  padding: 7px 34px 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--text);
  font-size: 13px;
  outline: none;
  transition: width 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.header-search input::placeholder { color: var(--text-muted); }
.header-search input:focus { width: 270px; border-color: var(--accent); background: var(--surface); }
.header-search button {
  position: absolute;
  right: 8px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  padding: 4px;
}
.header-search button:hover { color: var(--accent); }

/* Scrollable Category Pill Bar */
.cat-pill-bar {
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.cat-pill-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 9px 0;
  white-space: nowrap;
}
.cat-pill-scroll::-webkit-scrollbar { display: none; }

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--surface-alt);
  border: 1px solid transparent;
  transition: all 0.15s ease;
}
.nav-pill:hover { color: var(--text); border-color: var(--border-strong); }
.nav-pill.active { background: var(--accent); color: #ffffff; }
.nav-pill.pill-crypto.active { background: var(--accent-crypto); color: #fff; }
.nav-pill.pill-tech.active { background: var(--cat-tech); color: #fff; }
.nav-pill.pill-global.active { background: var(--cat-global); color: #fff; }
.nav-pill.pill-funny.active { background: var(--cat-funny); color: #fff; }
.nav-pill.pill-adult { color: var(--cat-adult); border-color: var(--cat-adult-soft); background: var(--cat-adult-soft); }
.nav-pill.pill-adult.active { background: var(--cat-adult); color: #fff; }

/* Category Badges */
.cat-pill {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}
.cat-pill.crypto { background: var(--accent-crypto-soft); color: var(--accent-crypto); }
.cat-pill.tech   { background: var(--cat-tech-soft); color: var(--cat-tech); }
.cat-pill.global { background: var(--cat-global-soft); color: var(--cat-global); }
.cat-pill.funny  { background: var(--cat-funny-soft); color: var(--cat-funny); }
.cat-pill.adult  { background: var(--cat-adult-soft); color: var(--cat-adult); }

/* Main Container */
.site-main { padding: 24px 0 72px; }

/* Pinned Featured Banner */
.pinned-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, var(--accent) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 20px 26px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.pinned-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.16);
  padding: 3px 9px;
  border-radius: 6px;
  margin-bottom: 6px;
}
.pinned-title { font-size: 19px; font-weight: 800; line-height: 1.3; }
.pinned-desc { font-size: 13.5px; opacity: 0.88; margin-top: 3px; }
.pinned-btn {
  background: #ffffff;
  color: #0f172a;
  font-weight: 800;
  font-size: 13.5px;
  padding: 9px 18px;
  border-radius: 10px;
  white-space: nowrap;
}

/* Breaking Wire Strip */
.breaking-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 9px 15px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.breaking-pill {
  background: #dc2626;
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 6px;
  flex-shrink: 0;
}
.breaking-link {
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.breaking-link:hover { color: var(--accent); }

/* Bento Homepage Grid (Main Hero + 2 Mid Highlights + Right Wire) */
.bento-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.95fr 1fr;
  gap: 20px;
  margin-bottom: 12px;
}
.bento-grid.bento-compact { grid-template-columns: 1.55fr 1fr; }

.hero-main {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.hero-main:hover { border-color: var(--border-strong); box-shadow: var(--shadow-hover); }

.hero-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0f172a;
  overflow: hidden;
}
.hero-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.hero-main:hover .hero-thumb-wrap img { transform: scale(1.03); }

.thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #0284c7 100%);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.05em;
}

.hero-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.hero-title { font-size: 24px; font-weight: 800; line-height: 1.28; letter-spacing: -0.02em; margin: 10px 0; }
.hero-title a:hover { color: var(--accent); }
.hero-excerpt { color: var(--text-muted); font-size: 14.5px; line-height: 1.6; }

/* Bento Middle Column (2 Stacked Highlight Cards) */
.bento-mid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mid-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  flex: 1;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.mid-card:hover { transform: translateY(-2px); border-color: var(--border-strong); box-shadow: var(--shadow-hover); }
.mid-thumb { aspect-ratio: 16 / 9; background: var(--surface-alt); overflow: hidden; }
.mid-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.mid-card:hover .mid-thumb img { transform: scale(1.04); }
.mid-body { padding: 14px 16px; }
.mid-title {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.38;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mid-card:hover .mid-title { color: var(--accent); }

/* Right Latest Wire Panel */
.hero-side-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.wire-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.hero-side { display: flex; flex-direction: column; flex: 1; }
.side-card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.side-card:last-child { border-bottom: none; padding-bottom: 0; }
.side-card:hover .side-title { color: var(--accent); }
.side-num { font-size: 17px; font-weight: 800; color: var(--border-strong); min-width: 22px; font-variant-numeric: tabular-nums; }
.side-thumb { width: 68px; height: 52px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; background: var(--surface-alt); }
.side-content { flex: 1; min-width: 0; }
.side-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.36;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Section Headers */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 38px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.section-title-wrap { display: flex; align-items: center; gap: 10px; }
.section-bar { width: 4px; height: 22px; border-radius: 4px; background: var(--accent); }
.section-bar.crypto { background: var(--accent-crypto); }
.section-bar.tech   { background: var(--cat-tech); }
.section-bar.global { background: var(--cat-global); }
.section-bar.funny  { background: var(--cat-funny); }
.section-bar.adult  { background: var(--cat-adult); }
.section-title { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.section-more {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
}
.section-more:hover { background: var(--accent); color: #fff; }

/* News Grid Cards */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.news-card:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow-hover); }

.card-thumb-wrap { position: relative; aspect-ratio: 16 / 10; background: var(--surface-alt); overflow: hidden; }
.card-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.news-card:hover .card-thumb-wrap img { transform: scale(1.04); }

.media-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.82);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.card-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.card-meta { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-muted); margin-bottom: 9px; flex-wrap: wrap; }
.card-title {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 7px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-title a:hover { color: var(--accent); }
.card-excerpt {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 18+ Adult Age Gate & Blur System */
.adult-gate-banner {
  background: linear-gradient(135deg, #450a0a 0%, #991b1b 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.adult-gate-banner h3 { font-size: 18px; font-weight: 800; }
.adult-gate-banner p { font-size: 13.5px; opacity: 0.9; margin-top: 4px; }
.adult-gate-btn {
  background: #ffffff;
  color: #991b1b;
  border: none;
  font-weight: 800;
  font-size: 13.5px;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
}
.adult-gate-btn:hover { opacity: 0.92; }

.adult-locked .card-thumb-wrap img,
.adult-locked .media-carousel img,
.adult-locked .media-carousel video,
.adult-locked .single-featured-img img {
  filter: blur(22px) brightness(0.75);
  transform: scale(1.08);
  transition: filter 0.3s ease;
}
.adult-unlocked .adult-gate-banner { display: none; }

/* Single Article Page + Font Controls */
.breadcrumb {
  max-width: 820px;
  margin: 0 auto 14px;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb a:hover { color: var(--accent); }

.article-wrap {
  max-width: 820px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 38px;
  box-shadow: var(--shadow);
}
.article-title { font-size: 31px; font-weight: 800; line-height: 1.25; letter-spacing: -0.025em; margin: 12px 0 14px; }

.article-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.article-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-muted); }

.font-controls { display: inline-flex; align-items: center; gap: 6px; }
.font-btn {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
}
.font-btn:hover { border-color: var(--accent); color: var(--accent); }

.article-content { font-size: 17.5px; line-height: 1.85; color: var(--text-secondary); margin-top: 22px; }
.article-content p { margin-bottom: 18px; }

.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tag-chip {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  padding: 4px 11px;
  border-radius: 999px;
}
.tag-chip:hover { border-color: var(--accent); color: var(--accent); }

/* Media Carousel */
.media-carousel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #050811;
  margin-bottom: 22px;
  border: 1px solid var(--border);
}
.carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #090e1a;
  min-height: 280px;
  max-height: 560px;
  overflow: hidden;
}
.carousel-slide img { max-height: 560px; width: 100%; object-fit: contain; }
.carousel-slide video { width: 100%; max-height: 560px; background: #000; }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 5;
}
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }
.carousel-counter {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.8);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.share-label { font-size: 13px; font-weight: 700; color: var(--text-muted); }
.share-btn {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.share-btn:hover { border-color: var(--accent); color: var(--accent); }

/* Telegram CTA Banner */
.tg-banner {
  background: linear-gradient(135deg, #0f172a 0%, #0369a1 65%, #0284c7 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  margin: 44px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.tg-banner h3 { font-size: 19px; font-weight: 800; }
.tg-banner p { opacity: 0.88; font-size: 14px; margin-top: 4px; }
.tg-banner-btn { background: #fff; color: #0369a1; font-weight: 800; padding: 10px 20px; border-radius: 10px; font-size: 14px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); padding: 38px 0 28px; color: var(--text-muted); }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 30px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.footer-desc { font-size: 13.5px; margin-top: 10px; max-width: 360px; }
.footer-col h4 { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text); margin-bottom: 12px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12.5px; }

/* Back-to-Top Floating Button */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow-hover);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 80;
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-2px); }

/* Mobile Bottom Navigation Bar */
.mobile-bottom-nav { display: none; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.pagination a, .pagination span { padding: 8px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); font-size: 14px; font-weight: 600; }
.pagination .current { background: var(--accent); color: #fff; border-color: var(--accent); }
.empty-state { text-align: center; padding: 52px 24px; background: var(--surface); border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); color: var(--text-muted); }

@media (max-width: 1024px) {
  .bento-grid, .bento-grid.bento-compact { grid-template-columns: 1fr; }
  .bento-mid { display: grid; grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { padding-bottom: 64px; }
  .container { padding: 0 14px; }
  .bento-mid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-search input { width: 135px; }
  .header-search input:focus { width: 170px; }
  .article-wrap { padding: 20px 16px; }
  .article-title { font-size: 24px; }
  .hero-title { font-size: 20px; }
  .back-to-top { bottom: 76px; right: 14px; }

  .mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 58px;
    background: var(--surface);
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    z-index: 90;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  }
  .mbn-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
  }
  .mbn-item.active, .mbn-item:hover { color: var(--accent); }
  .mbn-item.mbn-adult { color: var(--cat-adult); }
}

/* Native Ad Slots */
.apac-ad-slot {
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin: 22px 0;
  text-align: center;
}
.ad-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.ad-inner img { margin: 0 auto; border-radius: 8px; }

/* Trending Today Strip */
.trending-strip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin: 22px 0 8px;
  box-shadow: var(--shadow-sm);
}
.trending-head { font-size: 14px; font-weight: 800; margin-bottom: 14px; color: var(--text); }
.trending-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trending-item { display: flex; gap: 10px; align-items: flex-start; }
.trending-rank { font-size: 20px; font-weight: 800; color: var(--accent); line-height: 1.1; }
.trending-title { font-size: 13.5px; font-weight: 700; line-height: 1.38; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.trending-item:hover .trending-title { color: var(--accent); }
.trending-views { font-size: 11.5px; color: var(--text-muted); }

/* Bookmarks Drawer */
.bm-drawer {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  z-index: 130;
  display: none;
  justify-content: flex-end;
}
.bm-drawer.open { display: flex; }
.bm-panel {
  width: 340px;
  max-width: 90vw;
  background: var(--surface);
  height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 28px rgba(0, 0, 0, 0.25);
}
.bm-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.bm-list { flex: 1; overflow-y: auto; margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.bm-item { display: flex; justify-content: space-between; gap: 10px; padding: 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 13.5px; font-weight: 600; }
.bm-del { background: none; border: none; color: var(--down); cursor: pointer; font-weight: 800; }

/* Real-Time New Post Pill */
.new-posts-pill {
  position: fixed;
  top: 78px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-hover);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 95;
}
.new-posts-pill.show { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }

@media (max-width: 900px) { .trending-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .trending-grid { grid-template-columns: 1fr; } }
