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

:root {
  --red: #cc0000;
  --red-dark: #a30000;
  --black: #0a0a0a;
  --gray-900: #1a1a1a;
  --gray-700: #444;
  --gray-500: #888;
  --gray-300: #d0d0d0;
  --gray-100: #f4f4f4;
  --white: #fff;
  --border: 1px solid #e2e2e2;
  --font-sans: 'Libre Franklin', Arial, sans-serif;
  --font-serif: 'Libre Franklin', Arial, sans-serif;
  --max-w: 1160px;
  --gap: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
body { font-family: var(--font-sans); color: var(--black); background: #f9f9f7; font-size: 16px; line-height: 1.6; transition: background .2s, color .2s; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }

/* ── DARK THEME ── */
html.rr-dark-pending body { background: #121212; color: #f0f0f0; }
body.dark {
  --black: #f0f0f0;
  --gray-900: #e4e4e4;
  --gray-700: #b8b8b8;
  --gray-500: #8a8a8a;
  --gray-300: #3a3a3a;
  --gray-100: #1e1e1e;
  --white: #161616;
  --border: 1px solid #2a2a2a;
  background: #121212;
}
body.dark header { background: #161616; }
body.dark .news-section, body.dark .widget, body.dark .feed-section, body.dark .hero:not(.hero-overlay), body.dark .art-pg-body { background: #161616; }
body.dark .widget-body, body.dark .feed-posts { background: #161616; }
body.dark .feed-post { background: #1e1e1e; }
body.dark .chat-msgs { background: #1e1e1e; }
body.dark .chat-row input, body.dark #chatInput { background: #1e1e1e; color: #f0f0f0; border-color: #2a2a2a; }
body.dark .article-row { border-color: #2a2a2a; }
body.dark .art-content { color: #d8d8d8; }
body.dark .art-content code { background: #2a2a2a; }
body.dark .top-bar { background: #000; }
body.dark .nav-inner { background: var(--gray-900); }

/* dark theme — accent enhancements */
body.dark .news-section, body.dark .widget, body.dark .feed-section {
  border: 1px solid #2c2c2c;
  box-shadow: 0 1px 3px rgba(0,0,0,.4);
}
body.dark .widget { border-top: 2px solid var(--red); }
body.dark .sec-head { border-bottom-width: 3px; }
body.dark .sec-head h2 { color: #fff; }
body.dark .hero { border: 1px solid #2c2c2c; }
body.dark .nav-inner a { color: #222; font-weight: 700; }
body.dark .nav-inner a:hover { color: #fff; }
body.dark .nav-inner a.active { background: var(--red); color: #fff; }
body.dark .theme-toggle { color: #222; }
body.dark .theme-toggle:hover { background: rgba(0,0,0,.1); }
body.dark .art-title a:hover, body.dark .hero-text h1 a:hover { color: var(--red); }
body.dark .mr-num { color: var(--red); opacity: .55; }
body.dark .hero-excerpt, body.dark .art-excpt { color: #c4c4c4; }
body.dark footer { background: #000; color: #999; border-top: 2px solid var(--red); }
body.dark .footer-bottom { border-color: #2a2a2a; }

/* ── TOP BAR ── */
.top-bar { background: var(--black); color: #999; font-size: 12.5px; padding: 5px 0; }
.top-bar-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; }
.tb-social { display: flex; gap: 18px; }
.tb-social a { color: #999; display: flex; align-items: center; gap: 5px; font-size: 12px; }
.tb-social a:hover { color: #fff; }
.tb-social svg { width: 13px; height: 13px; fill: currentColor; flex-shrink: 0; }

/* ── HEADER ── */
header { background: var(--white); border-bottom: 3px solid var(--red); padding: 20px 0 16px; }
.header-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--font-serif); font-size: 37px; font-weight: 700; color: var(--red); letter-spacing: -1px; line-height: 1; cursor: pointer; }
.logo span { color: var(--black); }
.tagline { font-size: 11.5px; text-transform: uppercase; letter-spacing: 2px; color: var(--gray-500); margin-top: 4px; }
.slogan { font-size: 15px; font-weight: 700; font-style: italic; color: var(--red); margin-top: 7px; letter-spacing: .3px; }
.header-right { display: flex; align-items: center; gap: 10px; }
.btn-live { background: var(--red); color: #fff; padding: 8px 18px; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; border-radius: 2px; display: flex; align-items: center; gap: 7px; cursor: pointer; border: none; font-family: var(--font-sans); }
.btn-live:hover { background: var(--red-dark); color: #fff; }
body.dark .btn-live:hover { background: var(--red-dark); color: #fff; }
.share-mini { display: flex; gap: 8px; align-items: center; margin: -8px 0 20px; }
.shm-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; font-size: 12.5px; font-weight: 700; border-radius: 20px; border: var(--border); background: var(--gray-100); color: var(--gray-700); cursor: pointer; font-family: var(--font-sans); }
.shm-btn svg { width: 14px; height: 14px; fill: currentColor; }
.shm-btn:hover { background: var(--red); color: #fff; border-color: var(--red); }
a.shm-btn:hover { color: #fff; }
body.dark .shm-btn { background: #1e1e1e; color: #ccc; border-color: #333; }
body.dark .shm-btn:hover { background: var(--red); color: #fff; border-color: var(--red); }
.btn-live .dot { width: 7px; height: 7px; background: #fff; border-radius: 50%; animation: blink 1s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.15} }

/* ── NAV ── */
nav { background: var(--gray-900); position: sticky; top: 0; z-index: 200; }
.nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; display: flex; align-items: center; }
.nav-inner a { color: #bbb; font-size: 13.5px; font-weight: 600; padding: 11px 14px; display: flex; align-items: center; gap: 5px; text-transform: uppercase; letter-spacing: .5px; transition: background .18s, color .18s; white-space: nowrap; }
.nav-inner a:hover, .nav-inner a.active { background: var(--red); color: #fff; }
.nav-live-dot { display: inline-block; width: 6px; height: 6px; background: #f44; border-radius: 50%; animation: blink 1s infinite; margin-right: 7px; vertical-align: middle; }
.theme-toggle { background: transparent; border: none; color: #fff; cursor: pointer; width: 40px; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 17px; transition: background .15s; }
.nav-search { background: transparent; border: none; color: #fff; cursor: pointer; width: 40px; height: 100%; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.nav-subscribe { margin-left: auto; display: flex; align-items: center; gap: 6px; height: 100%; padding: 0 14px; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; transition: background .15s; }
.nav-subscribe:hover { background: var(--red-dark); color: #fff; }
.nav-subscribe svg { width: 15px; height: 15px; fill: currentColor; }
.nav-search:hover { background: rgba(255,255,255,.12); }
.nav-search svg { width: 18px; height: 18px; fill: currentColor; }
body.dark .nav-search { color: #222; }
body.dark .nav-search:hover { background: rgba(0,0,0,.1); }
.theme-toggle:hover { background: rgba(255,255,255,.12); }
.theme-toggle svg { width: 17px; height: 17px; fill: currentColor; }
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun { display: none; }
body.dark .theme-toggle .icon-moon { display: none; }
body.dark .theme-toggle .icon-sun { display: block; }
.fab-group { display: none; position: fixed; right: 16px; bottom: 16px; z-index: 90; flex-direction: column; gap: 10px; touch-action: none; }
.fab-btn { width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.fab-btn:hover { background: var(--red-dark); }
.fab-btn svg { width: 20px; height: 20px; fill: currentColor; }
.fab-group.dragging { opacity: .9; }
.theme-toggle-fab .icon-moon { display: block; }
.theme-toggle-fab .icon-sun { display: none; }
body.dark .theme-toggle-fab .icon-moon { display: none; }
body.dark .theme-toggle-fab .icon-sun { display: block; }

/* ── TICKER ── */
.ticker-bar { background: var(--red); color: #fff; display: flex; align-items: stretch; overflow: hidden; height: 34px; }
.ticker-label { background: var(--red-dark); padding: 0 16px; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; white-space: nowrap; height: 100%; display: flex; align-items: center; flex-shrink: 0; position: relative; z-index: 2; }
.ticker-viewport { flex: 1; overflow: hidden; position: relative; display: flex; align-items: center; }
.ticker-track { display: flex; align-items: center; white-space: nowrap; font-size: 13.5px; font-weight: 500; will-change: transform; }
.ticker-item { padding: 0 36px; position: relative; }
.ticker-item::after { content: "·"; position: absolute; right: -3px; opacity: .7; }
.ticker-track.rr-anim { animation: ticker var(--ticker-dur, 40s) linear infinite; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(calc(-1 * var(--ticker-shift, 50%))); } }

/* ── PAGE WRAP ── */
.page-wrap { max-width: var(--max-w); margin: 0 auto; padding: 28px 20px; }

/* ── MAIN + SIDEBAR LAYOUT ── */
.main-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: var(--gap); }
.main-sidebar > * { min-width: 0; }

/* ── AD SLOT ── */
.ad-slot-label-removed {}

/* ── HERO ── */
.hero { background: var(--white); border: var(--border); border-radius: 3px; overflow: hidden; margin-bottom: 28px; }

/* Overlay hero (image background + gradient + text on top) */
.hero-overlay { display: block; position: relative; min-height: 420px; border-radius: 3px; overflow: hidden; margin-bottom: 28px; background-size: cover; background-position: center; text-decoration: none; }
.hero-overlay-grad { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,10,10,0.94) 0%, rgba(10,10,10,0.85) 32%, rgba(10,10,10,0.45) 58%, rgba(10,10,10,0.05) 80%, rgba(10,10,10,0) 100%); }
.hero-overlay-text { position: absolute; bottom: 0; left: 0; max-width: 60%; padding: 32px 34px; color: #fff; }
.hero-overlay-text h1 { font-family: var(--font-serif); font-size: 35px; font-weight: 800; line-height: 1.12; margin-bottom: 12px; color: #fff; }
.hero-overlay-text .hero-meta { color: rgba(255,255,255,0.85); margin-bottom: 12px; }
.hero-overlay-text .hero-meta .ts { color: #ff5252; }
.hero-overlay-text .hero-meta .ts-live { color: #ff5252; font-weight: 800; }
.hero-overlay-text .hero-excerpt { color: rgba(255,255,255,0.92); font-size: 15.5px; line-height: 1.6; }
.hero-overlay:hover h1 { text-decoration: underline; }
body.dark .hero-overlay { border: 1px solid #2c2c2c; }
.hero-img-box { background: var(--gray-100); height: 300px; display: flex; align-items: center; justify-content: center; color: var(--gray-400); flex-direction: column; gap: 8px; }
.hero-img-box svg { width: 44px; height: 44px; fill: #ccc; }
.hero-img-box span { font-size: 13px; color: #bbb; }
.hero-text { padding: 22px 24px 24px; }
.cat-tag { display: inline-block; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 9px; text-transform: uppercase; letter-spacing: 1.5px; border-radius: 2px; margin-bottom: 10px; }
.hero-text h1 { font-family: var(--font-serif); font-size: 27px; font-weight: 700; line-height: 1.28; margin-bottom: 10px; }
.hero-text h1 a:hover { color: var(--red); }
.hero-meta { font-size: 12.5px; color: var(--gray-500); display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.hero-meta .ts { color: var(--red); font-weight: 700; }
.hero-meta .ts-live { color: var(--red); font-weight: 800; }
.hero-excerpt { font-size: 15.5px; color: var(--gray-700); line-height: 1.65; }

/* ── SECTION HEADER ── */
.sec-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 3px solid var(--red); padding-bottom: 8px; margin-bottom: 0; }
.sec-head h2 { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.sec-head a { font-size: 12.5px; color: var(--red); font-weight: 600; }

/* ── NEWS SECTION ── */
.news-section { background: var(--white); border: var(--border); border-radius: 3px; padding: 20px 22px; margin-bottom: 28px; }

/* ── ARTICLE ROW ── */
.article-row { display: grid; grid-template-columns: 100px 1fr; gap: 14px; padding: 16px 0; border-bottom: var(--border); align-items: start; }
.article-row:last-child { border-bottom: none; padding-bottom: 0; }
.article-row:first-of-type { padding-top: 16px; }
.art-thumb { background: var(--gray-100); height: 68px; border-radius: 2px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.art-thumb svg { width: 22px; height: 22px; fill: #ccc; }
.art-cat { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--red); margin-bottom: 4px; }
.art-title { font-family: var(--font-serif); font-size: 16px; font-weight: 600; line-height: 1.35; margin-bottom: 5px; }
.art-title a:hover { color: var(--red); }
.art-time { font-size: 12px; color: var(--gray-500); }
.art-time-live { color: var(--red); font-weight: 700; }

/* ── SOCIAL FEEDS ── */
.feed-section { background: var(--white); border: var(--border); border-radius: 3px; margin-bottom: 28px; overflow: hidden; }
.tg-embed { max-height: 460px; overflow-y: auto; overflow-x: hidden; padding: 8px 2px 2px; }
.tg-embed iframe { margin: 0 0 8px 0 !important; min-width: 0 !important; max-width: 100% !important; width: 100% !important; }
.x-embed { max-height: 460px; overflow-y: auto; overflow-x: hidden; padding: 8px 8px 2px; }
.x-embed .twitter-tweet { margin: 0 auto 8px !important; min-width: 0 !important; max-width: 100% !important; }
.x-embed iframe { max-width: 100% !important; }
.feed-head { padding: 12px 18px; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #fff; }
.feed-head svg { width: 15px; height: 15px; fill: currentColor; flex-shrink:0; }
.feed-head.xh { background: #000; }
.feed-head.tgh { background: #0088cc; }
body.dark .feed-head.xh { background: #16181c; border-bottom: 1px solid #2f3336; }
.feed-posts { max-height: 260px; overflow-y: auto; }
.feed-post { padding: 12px 18px; border-bottom: var(--border); font-size: 14px; line-height: 1.5; color: var(--gray-700); }
.feed-post:last-child { border-bottom: none; }
.feed-post .pt { font-size: 12px; color: var(--gray-500); margin-top: 6px; }
.brk { background: var(--red); color: #fff; font-size: 10.5px; font-weight: 800; padding: 1px 6px; border-radius: 2px; margin-right: 4px; text-transform: uppercase; letter-spacing: .5px; }
.tg-fallback { display: block; text-align: center; padding: 14px 10px; margin: 0 0 8px; font-size: 13px; font-weight: 700; border: var(--border); border-radius: 3px; background: var(--gray-100); color: var(--gray-700); }
.tg-fallback:hover { background: var(--gray-300); color: var(--black); }
.feed-cta { display: block; text-align: center; padding: 10px; font-size: 13px; font-weight: 700; border-top: var(--border); background: var(--gray-100); color: var(--gray-700); letter-spacing: .5px; }
.feed-cta:hover { background: var(--gray-300); color: var(--black); }

/* ── SIDEBAR ── */
.sidebar { display: flex; flex-direction: column; }

.widget { background: var(--white); border: var(--border); border-radius: 3px; margin-bottom: 24px; overflow: hidden; }
.widget-head { background: var(--gray-900); color: #fff; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 10px 16px; display: flex; align-items: center; gap: 8px; }
.widget-head .wh-icon { width: 15px; height: 15px; flex-shrink: 0; }
.widget-head .wh-icon svg { width: 100%; height: 100%; display: block; fill: var(--red); }
body.dark .widget-head { background: #0a0a0a; }
.widget-body { padding: 14px 16px; }

/* chat */
.chat-wrap { display: flex; flex-direction: column; height: 290px; }
.chat-msgs { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 11px; }
.chat-msg .cn { font-weight: 700; font-size: 12.5px; color: var(--red); }
.chat-msg .ct { font-size: 14px; color: var(--gray-700); line-height: 1.45; }
.chat-row { display: flex; gap: 6px; margin-top: 10px; padding-top: 10px; border-top: var(--border); }
.chat-row input { flex: 1; border: var(--border); border-radius: 2px; padding: 7px 10px; font-size: 14px; font-family: var(--font-sans); outline: none; }
.chat-row input:focus { border-color: var(--red); }
.chat-send { background: var(--red); color: #fff; border: none; padding: 7px 13px; font-size: 14px; font-weight: 700; cursor: pointer; border-radius: 2px; font-family: var(--font-sans); }

/* most read */
.mr-list { list-style: none; }
.mr-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: var(--border); align-items: flex-start; }
.mr-list li:last-child { border-bottom: none; padding-bottom: 0; }
.mr-num { font-size: 23px; font-weight: 700; color: var(--gray-300); line-height: 1; min-width: 26px; }
.mr-title { font-family: var(--font-serif); font-size: 14.5px; line-height: 1.35; }
.mr-title a:hover { color: var(--red); }

/* ── ARTICLE PAGE ── */
.article-page { display: none; }
.art-pg-wrap { max-width: var(--max-w); margin: 28px auto; padding: 0 20px; display: grid; grid-template-columns: 1fr 300px; gap: var(--gap); }
.art-pg-wrap > * { min-width: 0; }
.art-pg-body {}
.art-pg-body h1 { font-family: var(--font-serif); font-size: 31px; font-weight: 700; line-height: 1.22; margin-bottom: 14px; }
.art-pg-body > h1 { padding-bottom: 18px; border-bottom: 1px solid var(--gray-300); margin-bottom: 24px; }
.page-back { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--gray-300); }
.page-back a { color: var(--red); font-weight: 700; font-size: 14.5px; }
.page-back a:hover { text-decoration: underline; }
.art-meta { display: flex; gap: 14px; font-size: 13px; line-height: 1; color: var(--gray-500); padding: 14px 0; border-top: var(--border); border-bottom: var(--border); margin-bottom: 22px; flex-wrap: wrap; align-items: center; }
.art-meta > span, .art-meta > a { display: inline-flex; align-items: center; line-height: 1; }
.art-meta .cat { color: var(--red); font-weight: 800; text-transform: uppercase; letter-spacing: 1px; font-size: 11.5px; }
.art-updated { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; }
.art-updated::before { content: "·"; margin-right: 8px; color: var(--gray-500); }
.art-updated b { color: var(--red); font-weight: 700; }
.art-featured-img { background: var(--gray-100); height: 360px; border-radius: 2px; display: flex; align-items: center; justify-content: center; color: #bbb; font-size: 14px; margin-bottom: 22px; flex-direction: column; gap: 8px; }
.art-featured-img svg { width: 40px; height: 40px; fill: #ccc; }
.art-content { font-family: var(--font-serif); font-size: 17.5px; line-height: 1.82; color: var(--gray-900); }
.art-content p { margin-bottom: 20px; }
.share-bar { display: flex; gap: 10px; padding: 16px 0; border-top: var(--border); border-bottom: var(--border); margin: 24px 0; }
.sh-btn { padding: 8px 18px; font-size: 13.5px; font-weight: 700; border-radius: 2px; cursor: pointer; border: none; display: flex; align-items: center; gap: 6px; font-family: var(--font-sans); }
.sh-btn.xb { background: #000; color: #fff; }
.sh-btn.tgb { background: #0088cc; color: #fff; }
.sh-btn.cpb { background: var(--gray-100); color: var(--gray-700); border: var(--border); }
.sh-btn.shareb { background: var(--red); color: #fff; }
.sh-btn.shareb:hover { background: var(--red-dark); color: #fff; }
a.sh-btn:hover { color: #fff; opacity: .9; }
.share-bar { flex-wrap: wrap; }
body.dark .sh-btn.cpb { background: #1e1e1e; color: #ccc; border-color: #333; }
body.dark .sh-btn.xb { background: #16181c; border: 1px solid #2f3336; }

/* ── COMMENTS ── */
.comments { margin-top: 36px; }
.comments h3 { font-size: 18px; font-weight: 700; padding-bottom: 10px; border-bottom: 3px solid var(--red); margin-bottom: 20px; }
.cmt-form textarea { width: 100%; border: var(--border); border-radius: 3px; padding: 12px; font-size: 15px; font-family: var(--font-sans); min-height: 88px; resize: vertical; outline: none; }
.cmt-form textarea:focus { border-color: var(--red); }
.cmt-form-row { display: flex; gap: 10px; margin-top: 10px; }
.cmt-form-row input { flex: 1; border: var(--border); border-radius: 3px; padding: 9px 12px; font-size: 15px; font-family: var(--font-sans); outline: none; }
.cmt-form-row input:focus { border-color: var(--red); }
.cmt-submit { background: var(--red); color: #fff; border: none; padding: 9px 22px; font-size: 15px; font-weight: 700; cursor: pointer; border-radius: 3px; font-family: var(--font-sans); }
.cmt-list { display: flex; flex-direction: column; gap: 0; margin-top: 24px; }
.cmt-item { display: flex; gap: 13px; padding: 16px 0; border-bottom: var(--border); }
.cmt-item:last-child { border-bottom: none; }
.cmt-av { width: 38px; height: 38px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 14px; flex-shrink: 0; }
.cmt-author { font-size: 14px; font-weight: 700; }
.cmt-time { font-size: 12px; color: var(--gray-500); margin-left: 8px; font-weight: 400; }
.cmt-text { font-size: 15px; color: var(--gray-700); line-height: 1.55; margin-top: 4px; }
.cmt-actions { font-size: 13px; color: var(--gray-500); margin-top: 6px; display: flex; gap: 14px; }
.cmt-actions button { background: none; border: none; cursor: pointer; font-size: 13px; color: var(--gray-500); padding: 0; font-family: var(--font-sans); }
.cmt-actions button:hover { color: var(--red); }

/* ── LIVE PAGE ── */
.live-page { display: none; }
.live-pg-wrap { max-width: var(--max-w); margin: 28px auto; padding: 0 20px; display: grid; grid-template-columns: 1fr 300px; gap: var(--gap); }
.live-header { margin-bottom: 24px; padding-bottom: 16px; border-bottom: 3px solid var(--red); }
.live-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; padding: 4px 12px; border-radius: 2px; margin-bottom: 10px; }
.live-header h2 { font-family: var(--font-serif); font-size: 27px; font-weight: 700; line-height: 1.22; }
.live-header .lm { font-size: 13px; color: var(--gray-500); margin-top: 5px; }
.live-entry { display: flex; gap: 20px; padding: 20px 0; border-bottom: var(--border); position: relative; }
.live-entry::before { content: ''; position: absolute; left: 60px; top: 0; bottom: -1px; width: 2px; background: var(--gray-100); }
.live-tc { min-width: 55px; text-align: right; font-size: 13px; font-weight: 700; color: var(--gray-500); padding-top: 2px; position: relative; z-index: 1; }
.live-dot { position: absolute; right: -8px; top: 4px; width: 14px; height: 14px; background: #fff; border: 2px solid var(--red); border-radius: 50%; }
.live-dot.fresh { background: var(--red); }
.live-cc { flex: 1; padding-left: 22px; }
.live-cc h4 { font-family: var(--font-serif); font-size: 17px; font-weight: 700; margin-bottom: 7px; line-height: 1.3; }
.live-cc p { font-size: 15px; color: var(--gray-700); line-height: 1.65; }
.ltag { display: inline-block; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; padding: 2px 7px; border-radius: 2px; margin-bottom: 7px; }
.ltag.br { background: var(--red); color: #fff; }
.ltag.up { background: #1a6abf; color: #fff; }
.ltag.cf { background: #1a7a3c; color: #fff; }
.stat-card { border: var(--border); border-radius: 3px; padding: 14px 16px; margin-bottom: 16px; background: var(--white); }
.stat-card h5 { font-size: 11.5px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 800; color: var(--gray-500); margin-bottom: 10px; }
.stat-row { display: flex; justify-content: space-between; font-size: 14px; padding: 6px 0; border-bottom: var(--border); }
.stat-row:last-child { border-bottom: none; }
.stat-v { font-weight: 700; }
.stat-v.r { color: var(--red); }
.stat-v.g { color: #1a7a3c; }

/* ── FOOTER ── */
footer { background: var(--gray-900); color: #888; padding: 44px 0 22px; margin-top: 50px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-logo { font-family: var(--font-serif); font-size: 27px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.footer-logo span { color: var(--red); }
.footer-about { font-size: 14px; line-height: 1.75; }
.footer-col h4 { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: #fff; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { font-size: 14px; color: #888; }
.footer-col ul li a:hover { color: var(--red); }
.footer-bottom { border-top: 1px solid #2e2e2e; padding-top: 18px; font-size: 13px; display: flex; justify-content: space-between; align-items: center; }
.footer-soc { display: flex; gap: 16px; }
.footer-soc a { color: #888; }
.footer-soc a:hover { color: #fff; }
.footer-soc svg { width: 18px; height: 18px; fill: currentColor; }
.back-link { font-size: 13px; color: var(--red); font-weight: 700; cursor: pointer; }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .main-sidebar, .art-pg-wrap, .live-pg-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .logo { font-size: 29px; }
  .nav-inner { overflow-x: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 22px; }
  .hero-overlay { min-height: 440px; background-position: center top; }
  .hero-overlay-text { max-width: 100%; padding: 22px 20px; }
  .hero-overlay-text h1 { font-size: 24px; }
  .hero-overlay-grad { background: linear-gradient(to top, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.75) 24%, rgba(10,10,10,0.30) 48%, rgba(10,10,10,0) 70%); }

  /* compact top bar — one line: date + social icons only */
  .top-bar { font-size: 11.5px; }
  .top-bar-inner { padding: 0 14px; }
  .tb-tagline { display: none; }
  .tb-label { display: none; }
  .tb-social { gap: 14px; }

  /* on mobile, hide in-nav toggle+search and use floating draggable buttons */
  /* on mobile: search + subscribe stay in the bar; only theme toggle floats */
  .nav-inner .theme-toggle { display: none; }
  .fab-group { display: flex; }
}

/* ── GHOST KOENIG CONTENT CARDS (required) ── */
.art-content img, .art-content figure { max-width: 100%; height: auto; border-radius: 2px; margin: 20px 0; }
.art-content figcaption { font-size: 13px; color: var(--gray-500); text-align: center; margin-top: -12px; margin-bottom: 20px; }
.art-content h2 { font-family: var(--font-serif); font-size: 24px; font-weight: 700; margin: 28px 0 12px; }

/* ── LIVE BLOG LAYOUT (posts tagged 'live') ── */
.live-status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: 1px; color: var(--red); text-transform: uppercase; margin: 4px 0 20px; }
.live-status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: blink 1s infinite; }
.live-status-updated { color: var(--gray-500); font-weight: 600; letter-spacing: 0; text-transform: none; }
.live-feed { position: relative; padding-left: 28px; border-left: 3px solid var(--red); }
.live-feed > h2,
.live-feed > h3 { position: relative; color: var(--red); font-family: var(--font-sans); font-size: 16px; font-weight: 800; letter-spacing: .3px; margin: 34px 0 10px; }
.live-feed > h2::before,
.live-feed > h3::before { content: ""; position: absolute; left: -37px; top: 3px; width: 13px; height: 13px; border-radius: 50%; background: var(--red); border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--red); }
.live-feed > h2:first-child,
.live-feed > h3:first-child { margin-top: 0; }
body.dark .live-feed > h2::before,
body.dark .live-feed > h3::before { border-color: #161616; }
.art-content h3 { font-family: var(--font-serif); font-size: 20px; font-weight: 700; margin: 24px 0 10px; }
.art-content ul, .art-content ol { margin: 0 0 20px 22px; }
.art-content li { margin-bottom: 8px; }
.art-content a { color: var(--red); text-decoration: underline; }
.art-content blockquote { border-left: 3px solid var(--red); padding-left: 18px; margin: 0 0 20px; font-style: italic; color: var(--gray-700); }
.art-content pre { background: var(--gray-900); color: #fff; padding: 16px; border-radius: 3px; overflow-x: auto; margin-bottom: 20px; font-size: 15px; }
.art-content code { font-family: monospace; background: var(--gray-100); padding: 2px 5px; border-radius: 2px; font-size: .92em; }
.art-content pre code { background: none; padding: 0; }
.kg-width-wide { max-width: 1040px; margin-left: auto; margin-right: auto; }
.kg-width-full { max-width: 100%; }
.kg-card { margin: 20px 0; }
.kg-image-card img { margin-left: auto; margin-right: auto; }
.kg-bookmark-card { width: 100%; }
.kg-bookmark-container { display: flex; border: var(--border); border-radius: 3px; overflow: hidden; text-decoration: none; color: inherit; }
.kg-bookmark-content { padding: 16px; flex-grow: 1; }
.kg-bookmark-title { font-weight: 700; }
.kg-bookmark-description { font-size: 14px; color: var(--gray-700); margin-top: 4px; }
.kg-bookmark-thumbnail { max-width: 30%; }
.kg-bookmark-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.kg-gallery-row { display: flex; gap: 8px; margin-bottom: 8px; }
.kg-callout-card { display: flex; gap: 10px; padding: 14px 16px; border-radius: 3px; background: var(--gray-100); margin: 20px 0; }
.kg-callout-emoji { font-size: 19px; }

/* ── PAGINATION ── */
.pagination { display: flex; justify-content: center; gap: 16px; align-items: center; padding: 30px 0; }
.pagination:empty { display: none; padding: 0; }
.pagination a { background: var(--red); color: #fff; padding: 9px 20px; border-radius: 2px; font-size: 13.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.pagination a:hover { background: var(--red-dark); color: #fff; }
.pagination .page-number { display: none; }

/* ── FEATURE IMAGE (real images replace placeholders) ── */
.hero-img-real { width: 100%; height: 300px; object-fit: cover; display: block; }
.art-thumb-real { width: 100px; height: 68px; object-fit: cover; border-radius: 2px; flex-shrink: 0; }
.art-featured-real { width: 100%; max-height: 420px; object-fit: cover; border-radius: 2px; margin-bottom: 6px; }
.art-featured-fig { margin: 0 0 22px; }
.art-featured-caption { font-size: 12.5px; color: var(--gray-500); line-height: 1.4; padding: 0 2px; }
body.dark .art-featured-caption { color: #9a9a9a; }
