/* ═══════════════════════════════════════════════════
   SINGLE POST PAGE — Premium Blog Design
   Scoped under .sp-page to avoid global conflicts
   ═══════════════════════════════════════════════════ */

/* ── CSS VARIABLES ── */
.sp-page {
  --sp-bg: #0d0d0f;
  --sp-surface: #16161a;
  --sp-card: #1c1c22;
  --sp-card2: #212128;
  --sp-border: rgba(255, 255, 255, 0.07);
  --sp-border-md: rgba(255, 255, 255, 0.12);
  --sp-accent: #5a55ff;
  --sp-accent2: #5a55ff;
  --sp-blue: #4f8ef7;
  --sp-text: #f0f0f4;
  --sp-muted: #9898a8;
  --sp-faint: #555568;
  --sp-tag-bg: rgba(255, 92, 53, 0.1);
  --sp-tag-txt: #5a55ff;
  --sp-r: 8px;
  --sp-r-lg: 14px;
  --sp-r-xl: 20px;
  --sp-font: 'Sora', sans-serif;
  --sp-body: 'DM Sans', sans-serif;
  --sp-ease: 0.2s ease;
}

/* ── RESET / BASE ── */
.sp-page {
  font-family: var(--sp-body);
  color: var(--sp-text);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.sp-page a {
  color: inherit;
  text-decoration: none;
}

.sp-page img {
  display: block;
  max-width: 100%;
}

/* ── PAGE SHELL (Grid Layout) ── */
.sp-page .page-shell {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px 80px;
  display: grid;
  grid-template-columns: 1fr 292px;
  gap: 40px;
  align-items: start;
}

/* ── BREADCRUMB ── */
.sp-page .sp-breadcrumb {
  padding: 20px 0 0;
  font-size: 12.5px;
  color: var(--sp-faint);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  grid-column: 1 / -1;
}

.sp-page .sp-breadcrumb a {
  color: var(--sp-accent);
  font-weight: 500;
  transition: opacity var(--sp-ease);
}

.sp-page .sp-breadcrumb a:hover {
  opacity: 0.75;
}

.sp-page .sp-breadcrumb .sep {
  color: var(--sp-faint);
}

.sp-page .sp-breadcrumb .cur {
  color: var(--sp-muted);
}

/* ── ARTICLE MAIN ── */
.sp-page .article-main {
  min-width: 0;
  padding-top: 8px;
}

/* 1 — TITLE */
.sp-page .article-h1 {
  font-family: var(--sp-font);
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--sp-text);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

/* 2 — META LINE */
.sp-page .pub-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--sp-muted);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.sp-page .pub-line .sep {
  color: var(--sp-border-md);
}

.sp-page .pub-line .read-badge {
  background: var(--sp-tag-bg);
  color: var(--sp-tag-txt);
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 11.5px;
}

/* 3 — HERO IMAGE */
.sp-page .hero-wrap {
  border-radius: var(--sp-r-lg);
  overflow: hidden;
  border: 1px solid var(--sp-border-md);
  margin-bottom: 20px;
}

.sp-page .hero-wrap img {
  width: 100%;
  height: auto;
  min-height: 200px;
  max-height: 460px;
  object-fit: cover;
  display: block;
}

.sp-page .hero-caption {
  background: #060e1e;
  padding: 13px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sp-page .hero-caption p {
  font-family: var(--sp-font);
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  margin: 0;
}

/* 4 — AI SUMMARY BAR */
.sp-page .ai-bar {
  background: var(--sp-card);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-r);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.sp-page .ai-bar-label {
  font-size: 12.5px;
  color: var(--sp-muted);
  font-weight: 500;
  flex-shrink: 0;
}

.sp-page .ai-icons-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sp-page .ai-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  cursor: pointer;
}

.sp-page .ai-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: transform var(--sp-ease), box-shadow var(--sp-ease);
  flex-shrink: 0;
  text-decoration: none;
}

.sp-page .ai-item:hover .ai-btn {
  transform: scale(1.13);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.sp-page .ai-name {
  font-size: 10px;
  font-weight: 600;
  color: var(--sp-muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color var(--sp-ease);
}

.sp-page .ai-item:hover .ai-name {
  color: var(--sp-text);
}

.sp-page .ai-ltr {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  font-family: var(--sp-font);
  letter-spacing: -0.5px;
  line-height: 1;
}

.sp-page .ai-chatgpt {
  background: #10a37f;
}

.sp-page .ai-perplexity {
  background: #1c9bef;
}

.sp-page .ai-claude {
  background: #cc785c;
}

.sp-page .ai-gemini {
  background: linear-gradient(135deg, #4285f4, #9b72cb, #d96570);
}

.sp-page .ai-grok {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* 5 — TABLE OF CONTENTS */
.sp-page .toc-wrap {
  background: var(--sp-card);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-r);
  margin-bottom: 24px;
  overflow: hidden;
}

.sp-page .toc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sp-font);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--sp-text);
  transition: background var(--sp-ease);
}

.sp-page .toc-btn:hover {
  background: rgba(255, 255, 255, 0.03);
}

.sp-page .toc-chevron {
  font-size: 18px;
  color: var(--sp-muted);
  transition: transform 0.25s ease;
  line-height: 1;
}

.sp-page .toc-chevron.open {
  transform: rotate(180deg);
}

.sp-page .toc-body {
  padding: 4px 18px 16px;
  display: none;
}

.sp-page .toc-body.open {
  display: block;
}

.sp-page .toc-ol {
  list-style: none;
  counter-reset: toc;
  padding: 0;
  margin: 0;
}

.sp-page .toc-ol>li {
  counter-increment: toc;
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 9px;
  padding-left: 22px;
  position: relative;
}

.sp-page .toc-ol>li::before {
  content: counter(toc) ".";
  position: absolute;
  left: 0;
  color: var(--sp-accent);
  font-weight: 700;
  font-size: 11.5px;
  top: 2px;
}

.sp-page .toc-ol a {
  color: var(--sp-blue);
  font-weight: 500;
  transition: color var(--sp-ease);
}

.sp-page .toc-ol a:hover {
  color: var(--sp-accent);
}

/* ── ARTICLE BODY ── */
.sp-page .art-body {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--sp-muted);
}

.sp-page .art-body h2 {
  font-family: var(--sp-font);
  font-size: 19px;
  font-weight: 700;
  color: var(--sp-text);
  margin: 30px 0 12px;
  padding-left: 14px;
  border-left: 3px solid var(--sp-accent);
}

.sp-page .art-body h3 {
  font-family: var(--sp-font);
  font-size: 15px;
  font-weight: 700;
  color: var(--sp-text);
  margin: 20px 0 9px;
}

.sp-page .art-body p {
  margin-bottom: 14px;
}

.sp-page .art-body ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.sp-page .art-body li {
  margin-bottom: 6px;
}

.sp-page .art-body li::marker {
  color: var(--sp-accent);
}

.sp-page .art-body strong {
  color: var(--sp-text);
  font-weight: 600;
}

.sp-page .art-body a {
  color: var(--sp-blue);
  text-decoration: underline;
  text-decoration-color: rgba(79, 142, 247, 0.3);
  transition: text-decoration-color var(--sp-ease);
}

.sp-page .art-body a:hover {
  text-decoration-color: var(--sp-blue);
}

.sp-page .art-body img {
  border-radius: var(--sp-r);
  margin: 16px 0;
}

/* Tip box */
.sp-page .tip-box {
  background: rgba(255, 140, 26, 0.07);
  border-left: 3px solid var(--sp-accent2);
  border-radius: 0 var(--sp-r) var(--sp-r) 0;
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 13.5px;
  color: #c8a060;
  line-height: 1.7;
}

.sp-page .tip-box strong {
  color: var(--sp-accent2);
}

/* ── INLINE GAME SECTION ── */
.sp-page .game-section {
  background: var(--sp-card);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-r-xl);
  overflow: hidden;
  margin: 30px 0;
}

.sp-page .gs-head {
  background: linear-gradient(135deg, #0d1a35 0%, #131025 50%, #0a1828 100%);
  padding: 20px 22px;
  position: relative;
  overflow: hidden;
}

.sp-page .gs-head::after {
  content: '🎮';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 56px;
  opacity: 0.08;
  pointer-events: none;
}

.sp-page .gs-chip {
  display: inline-block;
  background: rgba(255, 92, 53, 0.2);
  color: #ffb3a0;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--sp-font);
  letter-spacing: 0.07em;
  padding: 3px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 92, 53, 0.35);
  margin-bottom: 7px;
}

.sp-page .gs-head h3 {
  font-family: var(--sp-font);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.3;
}

.sp-page .gs-head p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
  margin: 0;
}

.sp-page .gs-body {
  padding: 16px 18px;
}

.sp-page .gs-filters {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.sp-page .gs-filters-lbl {
  font-size: 11.5px;
  color: var(--sp-faint);
  font-weight: 600;
  flex-shrink: 0;
}

.sp-page .gf {
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid var(--sp-border-md);
  background: var(--sp-surface);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  color: var(--sp-muted);
  font-family: var(--sp-font);
  transition: all 0.15s;
}

.sp-page .gf:hover,
.sp-page .gf.on {
  background: var(--sp-accent);
  color: #fff;
  border-color: var(--sp-accent);
}

.sp-page .g-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.sp-page .g-card {
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.18s;
  position: relative;
  text-decoration: none;
  display: block;
}

.sp-page .g-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 92, 53, 0.4);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.sp-page .g-card:hover .g-play-overlay {
  opacity: 1;
}

.sp-page .g-thumb {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  position: relative;
}

.sp-page .g-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sp-page .c1 {
  background: linear-gradient(135deg, #667eea, #764ba2)
}

.sp-page .c2 {
  background: linear-gradient(135deg, #f093fb, #f5576c)
}

.sp-page .c3 {
  background: linear-gradient(135deg, #4facfe, #00f2fe)
}

.sp-page .c4 {
  background: linear-gradient(135deg, #43e97b, #38f9d7)
}

.sp-page .c5 {
  background: linear-gradient(135deg, #fa709a, #fee140)
}

.sp-page .c6 {
  background: linear-gradient(135deg, #a18cd1, #fbc2eb)
}

.sp-page .c7 {
  background: linear-gradient(135deg, #fccb90, #d57eeb)
}

.sp-page .c8 {
  background: linear-gradient(135deg, #2af598, #009efd)
}

.sp-page .g-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.18s;
}

.sp-page .g-play-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sp-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-page .g-info {
  padding: 8px 10px;
}

.sp-page .g-name {
  font-family: var(--sp-font);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--sp-text);
  line-height: 1.35;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 28px;
}

.sp-page .g-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sp-page .g-cat {
  font-size: 9.5px;
  background: var(--sp-card2);
  border: 1px solid var(--sp-border);
  border-radius: 999px;
  padding: 2px 7px;
  color: var(--sp-muted);
  font-weight: 600;
}

.sp-page .g-plays {
  font-size: 9.5px;
  color: var(--sp-faint);
}

.sp-page .gs-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 12px;
  border-top: 1px solid var(--sp-border);
}

.sp-page .gs-cta {
  background: var(--sp-accent);
  color: #fff;
  border: none;
  font-family: var(--sp-font);
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 9px 20px;
  cursor: pointer;
  transition: opacity var(--sp-ease);
  min-height: 40px;
}

.sp-page .gs-cta:hover {
  opacity: 0.88;
}

/* ── READ ALSO ── */
.sp-page .read-also-box {
  background: var(--sp-card);
  border: 1px solid var(--sp-border);
  border-left: 3px solid var(--sp-accent);
  border-radius: 0 var(--sp-r) var(--sp-r) 0;
  padding: 14px 18px;
  margin: 20px 0;
}

.sp-page .read-also-box a {
  color: var(--sp-blue);
  font-weight: 600;
  font-size: 14px;
  transition: color var(--sp-ease);
}

.sp-page .read-also-box a:hover {
  color: var(--sp-accent);
}

.sp-page .read-also-label {
  font-family: var(--sp-font);
  font-size: 11px;
  font-weight: 700;
  color: var(--sp-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

/* ── TAGS ROW ── */
.sp-page .tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 20px;
}

.sp-page .article-tag {
  background: var(--sp-card);
  border: 1px solid var(--sp-border);
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 12px;
  color: var(--sp-muted);
  font-weight: 500;
  transition: all var(--sp-ease);
  cursor: pointer;
  display: inline-block;
}

.sp-page .article-tag:hover {
  border-color: var(--sp-accent);
  color: var(--sp-accent);
  background: var(--sp-tag-bg);
}

/* ── SHARE ROW ── */
.sp-page .share-row {
  background: var(--sp-card);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-r);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.sp-page .share-lbl {
  font-size: 13px;
  font-weight: 600;
  font-family: var(--sp-font);
  color: var(--sp-text);
  flex-shrink: 0;
}

.sp-page .sh-btn {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--sp-border);
  background: var(--sp-surface);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  color: var(--sp-muted);
  font-family: var(--sp-font);
  transition: all 0.18s;
}

.sp-page .sh-btn:hover {
  background: var(--sp-accent);
  color: #fff;
  border-color: var(--sp-accent);
}

/* ── AUTHOR CARD ── */
.sp-page .author-card {
  background: var(--sp-card);
  border: 1px solid var(--sp-border-md);
  border-radius: var(--sp-r-lg);
  overflow: hidden;
  margin-bottom: 30px;
}

.sp-page .author-card-top {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 24px 20px;
  border-bottom: 1px solid var(--sp-border);
  flex-wrap: wrap;
}

.sp-page .author-ava-wrap {
  position: relative;
  flex-shrink: 0;
}

.sp-page .author-ava {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #0a0a14;
  border: 3px solid #5a55ff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px rgb(6 12 195 / 8%);
}

.sp-page .author-ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
}

.sp-page .author-verified {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid var(--sp-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #fff;
  font-weight: 700;
}

.sp-page .author-meta {
  flex: 1;
  min-width: 0;
}

.sp-page .author-name {
  font-family: var(--sp-font);
  font-size: 17px;
  font-weight: 800;
  color: var(--sp-text);
  margin-bottom: 3px;
  line-height: 1.2;
}

.sp-page .author-role {
  font-size: 12px;
  color: var(--sp-accent);
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}

.sp-page .author-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.sp-page .author-stat {
  text-align: center;
}

.sp-page .author-stat-val {
  font-family: var(--sp-font);
  font-size: 14px;
  font-weight: 700;
  color: var(--sp-text);
  display: block;
  line-height: 1.2;
}

.sp-page .author-stat-lbl {
  font-size: 12px;
  color: #adadb7;
  display: block;
  margin-top: 1px;
}

.sp-page .author-card-body {
  padding: 18px 24px;
}

.sp-page .author-bio {
  font-size: 13.5px;
  color: var(--sp-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.sp-page .author-bio strong {
  color: var(--sp-text);
  font-weight: 600;
}

.sp-page .author-socials {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sp-page .author-social-lbl {
  font-size: 11px;
  color: var(--sp-faint);
  font-weight: 600;
  margin-right: 2px;
}

.sp-page .a-soc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--sp-border);
  background: var(--sp-surface);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--sp-muted);
  transition: all var(--sp-ease);
  text-decoration: none;
}

.sp-page .a-soc:hover {
  border-color: var(--sp-accent);
  color: var(--sp-accent);
  background: var(--sp-tag-bg);
}

.sp-page .a-soc-icon {
  font-size: 13px;
  line-height: 1;
}

/* ── RELATED ARTICLES ── */
.sp-page .rel-heading {
  font-family: var(--sp-font);
  font-size: 16px;
  font-weight: 700;
  color: var(--sp-text);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sp-page .rel-heading::before {
  content: '';
  width: 4px;
  height: 18px;
  background: var(--sp-accent);
  border-radius: 2px;
  display: inline-block;
}

.sp-page .rel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.sp-page .rel-card {
  background: var(--sp-card);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-r);
  padding: 12px;
  display: flex;
  gap: 12px;
  cursor: pointer;
  transition: all var(--sp-ease);
  align-items: flex-start;
  text-decoration: none;
}

.sp-page .rel-card:hover {
  border-color: var(--sp-border-md);
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.sp-page .rel-thumb {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  flex-shrink: 0;
  overflow: hidden;
}

.sp-page .rel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sp-page .rel-info {
  min-width: 0;
}

.sp-page .rel-info h5 {
  font-family: var(--sp-font);
  font-size: 12px;
  font-weight: 600;
  color: var(--sp-text);
  line-height: 1.4;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sp-page .rel-info span {
  font-size: 11px;
  color: var(--sp-faint);
}

/* ── SIDEBAR ── */
.sp-page .sp-sidebar {
  padding-top: 20px;
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sp-page .s-box {
  background: var(--sp-card);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-r-lg);
  padding: 18px;
}

.sp-page .s-title {
  font-family: var(--sp-font);
  font-size: 11px;
  font-weight: 700;
  color: var(--sp-faint);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--sp-border);
}

/* Recent Posts */
.sp-page .recent-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sp-page .recent-item {
  display: flex;
  gap: 11px;
  padding: 10px 0;
  border-bottom: 1px solid var(--sp-border);
  align-items: flex-start;
  cursor: pointer;
  text-decoration: none;
}

.sp-page .recent-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sp-page .recent-item:hover .recent-title {
  color: var(--sp-accent);
}

.sp-page .recent-thumb {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  flex-shrink: 0;
  overflow: hidden;
}

.sp-page .recent-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sp-page .recent-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--sp-muted);
  line-height: 1.4;
  margin-bottom: 4px;
  transition: color var(--sp-ease);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sp-page .recent-date {
  font-size: 10.5px;
  color: var(--sp-faint);
}

/* Popular this week */
.sp-page .pop-item {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--sp-border);
  align-items: flex-start;
  cursor: pointer;
  text-decoration: none;
}

.sp-page .pop-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sp-page .pop-item:hover .pop-title {
  color: var(--sp-accent);
}

.sp-page .pop-n {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: var(--sp-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--sp-font);
  color: var(--sp-faint);
  flex-shrink: 0;
}

.sp-page .pop-n.hot {
  background: rgba(255, 92, 53, 0.12);
  color: var(--sp-accent);
}

.sp-page .pop-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--sp-muted);
  line-height: 1.35;
  margin-bottom: 2px;
  transition: color var(--sp-ease);
}

.sp-page .pop-reads {
  font-size: 10.5px;
  color: var(--sp-faint);
}

/* Browse topics */
.sp-page .t-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.sp-page .t-tag {
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 11px;
  color: var(--sp-muted);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  display: inline-block;
}

.sp-page .t-tag:hover {
  background: var(--sp-accent);
  color: #fff;
  border-color: var(--sp-accent);
}

/* Sidebar promo */
.sp-page .s-promo {
  background: linear-gradient(135deg, #0d1a35, #12102a);
  border: 1px solid rgba(255, 92, 53, 0.2);
  border-radius: var(--sp-r-lg);
  padding: 20px;
  text-align: center;
}

.sp-page .s-promo-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.sp-page .s-promo h4 {
  font-family: var(--sp-font);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 7px;
}

.sp-page .s-promo p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  margin-bottom: 14px;
}

.sp-page .s-promo-btn {
  width: 100%;
  background: var(--sp-accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px;
  font-family: var(--sp-font);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity var(--sp-ease);
  display: inline-block;
  text-align: center;
}

.sp-page .s-promo-btn:hover {
  opacity: 0.88;
}

/* Sidebar newsletter */
.sp-page .s-newsletter {
  background: linear-gradient(135deg, #1a0a00, #120a1a);
  border: 1px solid rgba(255, 92, 53, 0.25);
  border-radius: var(--sp-r-lg);
  padding: 20px;
  text-align: center;
}

.sp-page .s-news-icon {
  font-size: 26px;
  margin-bottom: 10px;
}

.sp-page .s-newsletter h4 {
  font-family: var(--sp-font);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 7px;
  line-height: 1.3;
}

.sp-page .s-newsletter h4 em {
  color: var(--sp-accent);
  font-style: normal;
}

.sp-page .s-newsletter p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  margin-bottom: 14px;
}

.sp-page .s-news-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 9px 13px;
  font-size: 12.5px;
  color: var(--sp-text);
  font-family: var(--sp-body);
  outline: none;
  margin-bottom: 9px;
  transition: border-color var(--sp-ease);
}

.sp-page .s-news-input::placeholder {
  color: var(--sp-faint);
}

.sp-page .s-news-input:focus {
  border-color: var(--sp-accent);
}

.sp-page .s-news-btn {
  width: 100%;
  background: var(--sp-accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px;
  font-family: var(--sp-font);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity var(--sp-ease);
}

.sp-page .s-news-btn:hover {
  opacity: 0.88;
}

.sp-page .s-news-note {
  display: block;
  font-size: 10.5px;
  color: var(--sp-faint);
  margin-top: 9px;
}

/* Sidebar ad wrapper */
.sp-page .sp-sidebar-ad {
  margin-bottom: 4px;
}

.sp-page .ads-label {
  text-align: center;
  font-size: 10px;
  color: var(--sp-faint);
  margin-bottom: 12px;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — FULL MOBILE OVERHAUL
   ═══════════════════════════════════════════════════ */

/* Tablet: 860px and below */
@media (max-width: 860px) {
  .sp-page .page-shell {
    grid-template-columns: 1fr;
    padding: 0 16px 60px;
    gap: 0;
  }

  .sp-page .sp-breadcrumb {
    padding: 14px 0 0;
    font-size: 11.5px;
  }

  .sp-page .sp-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding-top: 0;
    margin-top: 32px;
  }

  .sp-page .s-newsletter {
    grid-column: 1 / -1;
  }

  .sp-page .rel-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sp-page .author-card-top {
    gap: 14px;
    padding: 18px 18px 14px;
  }

  .sp-page .author-stats {
    gap: 12px;
  }

  .sp-page .share-row {
    gap: 7px;
  }

  .sp-page .sh-btn {
    font-size: 11px;
    padding: 5px 10px;
  }
}

/* Mobile: 600px and below */
@media (max-width: 600px) {
  .sp-page .page-shell {
    padding: 0 14px 48px;
  }

  .sp-page .sp-breadcrumb {
    font-size: 11px;
    gap: 4px;
    padding: 12px 0 0;
  }

  .sp-page .sp-breadcrumb .cur {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
    display: inline-block;
  }

  .sp-page .article-h1 {
    font-size: 20px;
    margin-bottom: 14px;
  }

  .sp-page .pub-line {
    font-size: 11px;
    gap: 7px;
  }

  .sp-page .hero-wrap img {
    min-height: 160px;
  }

  .sp-page .ai-bar {
    gap: 10px;
    padding: 10px 12px;
  }

  .sp-page .ai-btn {
    width: 30px;
    height: 30px;
  }

  .sp-page .ai-name {
    font-size: 9px;
  }

  .sp-page .toc-wrap {
    margin-bottom: 18px;
  }

  .sp-page .toc-btn {
    padding: 12px 14px;
    font-size: 12.5px;
  }

  .sp-page .toc-body {
    padding: 4px 14px 14px;
  }

  .sp-page .toc-ol>li {
    font-size: 12px;
  }

  .sp-page .art-body {
    font-size: 14px;
  }

  .sp-page .art-body h2 {
    font-size: 16px;
    margin: 22px 0 10px;
  }

  .sp-page .art-body h3 {
    font-size: 14px;
  }

  .sp-page .tip-box {
    font-size: 12.5px;
    padding: 12px 14px;
  }

  .sp-page .game-section {
    border-radius: var(--sp-r-lg);
  }

  .sp-page .gs-head {
    padding: 16px 14px;
  }

  .sp-page .gs-head h3 {
    font-size: 13.5px;
  }

  .sp-page .gs-head p {
    font-size: 11px;
  }

  .sp-page .gs-body {
    padding: 12px;
  }

  .sp-page .gs-filters {
    gap: 6px;
    margin-bottom: 12px;
  }

  .sp-page .gf {
    font-size: 10.5px;
    padding: 4px 10px;
  }

  .sp-page .g-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .sp-page .g-thumb {
    height: 64px;
    font-size: 22px;
  }

  .sp-page .g-name {
    font-size: 10px;
  }

  .sp-page .g-cat {
    font-size: 9px;
  }

  .sp-page .g-plays {
    font-size: 9px;
  }

  .sp-page .gs-footer {
    justify-content: stretch;
  }

  .sp-page .gs-cta {
    width: 100%;
    font-size: 13px;
    padding: 11px;
  }

  .sp-page .tags-row {
    gap: 6px;
    margin: 20px 0 16px;
  }

  .sp-page .article-tag {
    font-size: 11px;
    padding: 4px 10px;
  }

  .sp-page .share-row {
    padding: 12px 14px;
    gap: 6px;
  }

  .sp-page .share-lbl {
    font-size: 12px;
  }

  .sp-page .sh-btn {
    font-size: 10.5px;
    padding: 5px 9px;
  }

  .sp-page .author-card {
    margin-bottom: 24px;
  }

  .sp-page .author-card-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 16px 14px;
  }

  .sp-page .author-ava {
    width: 64px;
    height: 64px;
  }

  .sp-page .author-name {
    font-size: 15px;
  }

  .sp-page .author-role {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .sp-page .author-stats {
    gap: 14px;
  }

  .sp-page .author-stat-val {
    font-size: 13px;
  }

  .sp-page .author-card-body {
    padding: 14px 16px;
  }

  .sp-page .author-bio {
    font-size: 12.5px;
    margin-bottom: 12px;
  }

  .sp-page .author-socials {
    gap: 6px;
  }

  .sp-page .a-soc {
    font-size: 10.5px;
    padding: 4px 10px;
  }

  .sp-page .sp-sidebar {
    grid-template-columns: 1fr;
    margin-top: 24px;
    gap: 12px;
  }

  .sp-page .s-newsletter {
    grid-column: 1;
  }

  .sp-page .s-box {
    padding: 14px;
  }

  .sp-page .s-title {
    font-size: 10px;
    margin-bottom: 10px;
    padding-bottom: 8px;
  }

  .sp-page .recent-thumb {
    width: 44px;
    height: 44px;
  }

  .sp-page .recent-title {
    font-size: 11.5px;
  }

  .sp-page .recent-date {
    font-size: 10px;
  }

  .sp-page .s-news-input {
    font-size: 14px;
  }

  .sp-page .rel-grid {
    grid-template-columns: 1fr;
  }
}

/* Very small: 380px and below */
@media (max-width: 380px) {
  .sp-page .article-h1 {
    font-size: 18px;
  }

  .sp-page .g-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .sp-page .gs-filters {
    gap: 5px;
  }

  .sp-page .gf {
    font-size: 10px;
    padding: 4px 8px;
  }
}