:root {
  --bg: #f5f4f0;
  --surface: #ffffff;
  --ink: #171717;
  --muted: #6b7280;
  --border: #e5e3dc;
  --gold-bar: #b89860;
  --dark-bar: #111318;
  --sub-bar: #f1efe7;
  --accent: #b91c1c;
  --accent-blue: #1d4ed8;
  --radius: 12px;
  --shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

body.dark-mode {
  --bg: #0f1115;
  --surface: #181b22;
  --ink: #f3f4f6;
  --muted: #9ca3af;
  --border: #2a2f3a;
  --sub-bar: #151820;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans TC", "PingFang HK", "Microsoft JhengHei", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  transition: background 0.2s, color 0.2s;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

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

/* Level-1 Gold Utility Top Bar (inspired by 1one.hk/w/) */
.top-gold-bar {
  background: var(--gold-bar);
  color: #fff;
  font-size: 0.86rem;
}
.top-gold-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  flex-wrap: wrap;
}
.top-dropdowns {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.nav-group {
  position: relative;
}
.nav-group-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 12px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: transparent;
  border: none;
  font-size: 0.88rem;
}
.nav-group-btn:hover { background: rgba(0, 0, 0, 0.14); }
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 185px;
  max-height: 420px;
  overflow-y: auto;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  z-index: 80;
  padding: 6px 0;
}
.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown { display: block; }
.nav-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 15px;
  font-size: 0.88rem;
}
.nav-dropdown a:hover { background: var(--sub-bar); color: var(--accent); }
.dot-swatch { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex-shrink: 0; }

.btn-post-new {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #dc2626;
  color: #fff !important;
  padding: 5px 13px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.84rem;
}
.btn-post-new:hover { background: #b91c1c; }

/* Main Dark Header */
.main-dark-header {
  background: var(--dark-bar);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 60;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
}
.dark-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
}
.header-left { display: flex; align-items: center; gap: 12px; }
.burger-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  font-size: 1.2rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  font-size: 1.18rem;
  color: #fff !important;
}
.brand-mark {
  background: #dc2626;
  color: #fff;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}
.sort-links {
  display: flex;
  gap: 14px;
  font-size: 0.88rem;
  font-weight: 600;
}
.sort-links a { color: #cbd5e1; padding: 4px 8px; border-radius: 6px; }
.sort-links a.active, .sort-links a:hover { color: #fff; background: rgba(255,255,255,0.12); }

.header-right { display: flex; align-items: center; gap: 8px; }
.search-inline { display: flex; align-items: center; }
.search-inline input {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  border-radius: 8px;
  padding: 6px 11px;
  font-size: 0.86rem;
  width: 170px;
}
.search-inline input::placeholder { color: #cbd5e1; }
.icon-btn {
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
}

/* Sub-Category Strip */
.sub-cat-bar {
  background: var(--sub-bar);
  border-bottom: 1px solid var(--border);
}
.sub-cat-scroll {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding: 9px 0;
  scrollbar-width: none;
}
.sub-cat-scroll::-webkit-scrollbar { display: none; }
.sub-pill {
  white-space: nowrap;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border);
}
.sub-pill.active, .sub-pill:hover {
  background: var(--dark-bar);
  color: #fff;
  border-color: var(--dark-bar);
}

/* Collapsible Two-Level Drawer (matching IMG_0753) */
.drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 90;
}
.drawer-backdrop.open { display: block; }
.drawer-panel {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  max-width: 86vw;
  background: #f5f3ea;
  color: #1f2937;
  z-index: 100;
  transform: translateX(-105%);
  transition: transform 0.22s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.2);
}
body.dark-mode .drawer-panel { background: #181b22; color: #f3f4f6; }
.drawer-panel.open { transform: translateX(0); }
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-weight: 800;
}
.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 18px 20px;
}
.drawer-group { border-bottom: 1px solid rgba(0,0,0,0.06); padding: 6px 0; }
.drawer-group-toggle {
  width: 100%;
  background: transparent;
  border: none;
  color: inherit;
  font-size: 0.98rem;
  font-weight: 800;
  padding: 8px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.drawer-sublist {
  list-style: none;
  margin: 0;
  padding: 0 0 6px 14px;
}
.drawer-sublist.collapsed { display: none; }
.drawer-sublist a {
  display: block;
  padding: 7px 6px;
  font-size: 0.92rem;
  border-radius: 6px;
}
.drawer-sublist a:hover { background: rgba(0,0,0,0.06); color: var(--accent); }
.drawer-footer {
  border-top: 2px solid #d97706;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 700;
}

/* Featured 2-Column Hero */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 24px;
}
.featured-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 270px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow);
  background: #111827;
}
.featured-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  transition: transform 0.3s ease;
}
.featured-card:hover img { transform: scale(1.03); }
.featured-body {
  position: relative;
  z-index: 2;
  padding: 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.9) 75%);
}
.featured-body h2 { margin: 8px 0 6px; font-size: 1.28rem; line-height: 1.35; }
.featured-meta { font-size: 0.8rem; opacity: 0.88; display: flex; gap: 10px; }

/* 4-Column Masonry / Responsive Grid */
.section-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 8px;
  margin-bottom: 16px;
}
.section-bar h2 { margin: 0; font-size: 1.12rem; }
.news-masonry {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.news-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease;
}
.news-card:hover { transform: translateY(-2px); }
.card-media { width: 100%; height: 155px; object-fit: cover; display: block; background: #e5e7eb; }
.card-placeholder {
  width: 100%;
  height: 105px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.92);
  font-weight: 700;
  font-size: 0.98rem;
}
.card-body { padding: 13px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.card-title { margin: 7px 0 6px; font-size: 0.98rem; line-height: 1.42; font-weight: 700; }
.card-summary {
  margin: 0 0 10px;
  font-size: 0.84rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.card-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 8px;
}
.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
}
.badge-bot { background: #0f172a; margin-left: 4px; }

/* Load More & Back to Top */
.load-more-wrap { text-align: center; margin: 26px 0 36px; }
.btn-load-more {
  display: inline-block;
  padding: 10px 30px;
  border: 2px solid #d97706;
  color: #d97706;
  background: transparent;
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
  cursor: pointer;
}
.btn-load-more:hover { background: #d97706; color: #fff; }
.back-top-btn {
  position: fixed;
  right: 18px;
  bottom: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #16a34a;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.22);
  z-index: 50;
}

/* Single Article + Sidebar */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  margin: 22px 0 40px;
  align-items: start;
}
.article-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 30px;
  box-shadow: var(--shadow);
}
.article-title { margin: 12px 0 10px; font-size: 1.65rem; line-height: 1.32; }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; color: var(--muted); margin-bottom: 16px; }
.article-hero-img { width: 100%; max-height: 440px; object-fit: cover; border-radius: 10px; margin-bottom: 18px; }
.article-summary-box { background: rgba(29, 78, 216, 0.08); border-left: 4px solid var(--accent-blue); padding: 14px 16px; border-radius: 0 8px 8px 0; margin-bottom: 18px; }
.article-content { font-size: 1.03rem; line-height: 1.85; }
.article-content p { margin: 0 0 15px; }
.widget { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 16px; box-shadow: var(--shadow); }
.widget h3 { margin: 0 0 10px; font-size: 0.96rem; border-bottom: 1px solid var(--border); padding-bottom: 7px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-chip { font-size: 0.8rem; padding: 3px 10px; border-radius: 999px; background: var(--sub-bar); border: 1px solid var(--border); }

/* Ad Slots */
.ad-slot { margin: 16px 0; text-align: center; overflow: hidden; border-radius: 10px; }
.ad-slot img { max-width: 100%; height: auto; border-radius: 8px; }
.in-feed-ad-wrap { grid-column: 1 / -1; }

/* Dark Footer */
.site-footer {
  background: var(--dark-bar);
  color: #cbd5e1;
  padding: 28px 0;
  font-size: 0.85rem;
}
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }

@media (max-width: 1060px) {
  .news-masonry { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .featured-grid, .article-layout { grid-template-columns: 1fr; }
  .news-masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sort-links { display: none; }
}
@media (max-width: 540px) {
  .news-masonry { grid-template-columns: 1fr; }
  .search-inline input { width: 120px; }
  .article-wrap { padding: 18px; }
}

/* Article Swipeable Gallery & Fullscreen Zoom Lightbox */
.gallery-wrap {
  position: relative;
  margin-bottom: 18px;
  border-radius: 10px;
  overflow: hidden;
  background: #0f172a;
}
.gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  position: relative;
  cursor: zoom-in;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111827;
}
.gallery-slide img {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  display: block;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(15, 23, 42, 0.65);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 4;
}
.gallery-nav.prev { left: 10px; }
.gallery-nav.next { right: 10px; }
.gallery-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 12px;
  background: rgba(15, 23, 42, 0.85);
  color: #e2e8f0;
  font-size: 0.78rem;
}
.gallery-dots { display: flex; gap: 5px; }
.gallery-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.35); cursor: pointer; border: none; padding: 0; }
.gallery-dot.active { background: #fff; transform: scale(1.2); }

/* Fullscreen Lightbox */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 999;
  flex-direction: column;
  user-select: none;
  touch-action: none;
}
.lightbox-overlay.open { display: flex; }
.lb-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  z-index: 5;
}
.lb-controls { display: flex; gap: 8px; align-items: center; }
.lb-btn {
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}
.lb-btn:hover { background: rgba(255,255,255,0.28); }
.lb-stage {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
}
.lb-stage:active { cursor: grabbing; }
.lb-stage img {
  max-width: 94vw;
  max-height: 82vh;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.12s ease-out;
  pointer-events: none;
}
.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 6;
}
.lb-arrow.prev { left: 14px; }
.lb-arrow.next { right: 14px; }
.badge-hidden { background: #64748b; margin-left: 4px; }

/* Inline Article Images (Rendered safely & zoomable) */
.article-para { margin: 0 0 16px; }
.inline-figure { margin: 12px 0; text-align: center; }
.inline-article-img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  cursor: zoom-in;
  display: block;
  margin: 0 auto;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
}
.inline-caption { font-size: 0.82rem; color: var(--muted); margin-top: 6px; }

/* Multi-Platform Social Share & Live Card Preview */
.share-box {
  margin-top: 22px;
  padding: 14px 16px;
  background: var(--sub-bar);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.share-actions { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.share-label { font-size: 0.85rem; font-weight: 700; color: var(--muted); }
.sh-btn {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 7px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff !important;
  border: none;
  cursor: pointer;
}
.sh-fb { background: #1877f2; }
.sh-x { background: #111827; }
.sh-th { background: #262626; }
.sh-wa { background: #16a34a; }
.sh-ig { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); }
.sh-prev { background: var(--surface); color: var(--ink) !important; border: 1px solid var(--border); }

.share-preview-panel { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
.sp-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.sp-tab {
  padding: 5px 11px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); color: var(--ink); font-size: 0.8rem; font-weight: 600; cursor: pointer;
}
.sp-tab.active { background: var(--dark-bar); color: #fff; border-color: var(--dark-bar); }
.sp-card {
  max-width: 480px; border: 1px solid var(--border); border-radius: 10px;
  overflow: hidden; background: var(--surface); color: var(--ink); box-shadow: var(--shadow);
}
.sp-img { width: 100%; height: 220px; object-fit: cover; display: block; }
.sp-noimg { width: 100%; height: 140px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #0f172a, #1d4ed8); color: #fff; font-weight: 800; }
.sp-meta { padding: 11px 14px; }
.sp-domain { font-size: 0.74rem; color: var(--muted); text-transform: uppercase; }
.sp-title { font-size: 0.96rem; font-weight: 700; margin: 3px 0; line-height: 1.35; }
.sp-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.45; }
.sp-wa { background: #e5ddd5; padding: 12px; }
.sp-wa-bubble { background: #dcf8c6; color: #111827; border-radius: 10px; overflow: hidden; }

/* Travel Hub Styles */
.nav-travel-active { background: rgba(0, 0, 0, 0.22); }
.travel-hero {
  margin: 18px 0 22px;
  padding: 26px 28px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0f172a, #0284c7);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.travel-hero h1 { margin: 0 0 6px; font-size: 1.55rem; }
.travel-hero p { margin: 0; opacity: 0.9; font-size: 0.92rem; }
.travel-mod-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.travel-mod-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease;
}
.travel-mod-card:hover { transform: translateY(-2px); }
.travel-mod-icon { font-size: 2rem; line-height: 1; }
.travel-mod-card h3 { margin: 6px 0 5px; font-size: 1.04rem; }
.travel-mod-card p { margin: 0; font-size: 0.84rem; color: var(--muted); }
.travel-stage-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}
.travel-stage-head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.travel-iframe {
  width: 100%;
  min-height: 540px;
  border: none;
  display: block;
  background: #fff;
}
@media (max-width: 860px) { .travel-mod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .travel-mod-grid { grid-template-columns: 1fr; } }

/* Rich Text & Story Blocks Output */
.article-content h2 { font-size: 1.32rem; margin: 22px 0 10px; }
.article-content h3 { font-size: 1.15rem; margin: 18px 0 8px; }
.article-content blockquote {
  margin: 16px 0;
  padding: 12px 16px;
  border-left: 4px solid var(--gold-bar);
  background: var(--sub-bar);
  border-radius: 0 8px 8px 0;
  font-style: italic;
}
.article-content table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.92rem; }
.article-content th, .article-content td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; }
.article-content th { background: var(--sub-bar); }
.story-block { margin: 22px 0; padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--sub-bar); }
.story-block h3 { margin: 0 0 10px; font-size: 1.12rem; }
.story-block-desc { margin-top: 10px; }
.video-ratio { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 10px; background: #000; }
.video-ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.link-card-box {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 16px;
  border-radius: 10px; background: var(--surface); border: 1px solid var(--border);
}
.link-card-box span { font-size: 0.84rem; color: var(--muted); word-break: break-all; }
.listicle-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--border); }
.listicle-item:first-of-type { border-top: none; }
.listicle-num {
  width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff;
  font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.listicle-body { flex: 1; }
.listicle-body h4 { margin: 0 0 6px; font-size: 1.05rem; }

/* Interactive Personality Quiz / Trivia Quiz / Poll Frontend Player */
.quiz-shell {
  margin: 22px 0;
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  background: var(--sub-bar);
}
.quiz-progress-bar { height: 7px; background: var(--border); border-radius: 999px; overflow: hidden; margin-bottom: 16px; }
.quiz-progress-fill { height: 100%; background: var(--accent); width: 0%; transition: width 0.25s ease; }
.quiz-q-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 18px; margin-bottom: 16px; }
.quiz-q-title { margin: 0 0 12px; font-size: 1.15rem; font-weight: 800; }
.quiz-q-img { width: 100%; max-height: 300px; object-fit: cover; border-radius: 10px; margin-bottom: 12px; }
.quiz-opts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.quiz-opt-btn {
  text-align: left; background: var(--surface); color: var(--ink); border: 2px solid var(--border);
  border-radius: 10px; padding: 12px 14px; font-size: 0.94rem; font-weight: 600; cursor: pointer;
  display: flex; flex-direction: column; gap: 8px; transition: all 0.15s ease;
}
.quiz-opt-btn:hover { border-color: var(--accent); background: rgba(185, 28, 28, 0.04); }
.quiz-opt-btn.selected { border-color: var(--accent); background: rgba(185, 28, 28, 0.1); }
.quiz-opt-btn.correct { border-color: #16a34a; background: #dcfce7; color: #14532d; }
.quiz-opt-btn.wrong { border-color: #dc2626; background: #fee2e2; color: #7f1d1d; }
.quiz-opt-img { width: 100%; height: 130px; object-fit: cover; border-radius: 7px; }
.quiz-result-card {
  background: var(--surface); border: 2px solid var(--accent); border-radius: 14px;
  padding: 24px; text-align: center; box-shadow: var(--shadow);
}
.quiz-result-card img { max-width: 100%; max-height: 320px; border-radius: 10px; margin: 12px auto; display: block; }
.quiz-result-card h2 { margin: 8px 0; font-size: 1.45rem; color: var(--accent); }
.poll-bar-wrap { margin-top: 8px; height: 8px; background: var(--border); border-radius: 999px; overflow: hidden; }
.poll-bar-fill { height: 100%; background: var(--accent-blue); transition: width 0.3s ease; }
@media (max-width: 600px) { .quiz-opts-grid { grid-template-columns: 1fr; } }
