:root {
  --ink: #17111d;
  --muted: #6e6576;
  --paper: #fbf8ff;
  --panel: #ffffff;
  --grape-950: #16072b;
  --grape-900: #25103e;
  --grape-800: #43166f;
  --grape-700: #6524a8;
  --grape-600: #8034d1;
  --grape-500: #9e52e8;
  --lime: #d5ff5f;
  --pink: #ff79c8;
  --line: #e8dfef;
  --danger: #bd2442;
  --shadow: 0 22px 60px rgba(32, 11, 51, .12);
  --radius: 24px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--grape-600); }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 36px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 36px), 820px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }

.ticker { background: var(--lime); color: var(--grape-950); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.ticker-inner { min-height: 32px; display: flex; align-items: center; gap: 28px; overflow: hidden; white-space: nowrap; }
.ticker-inner strong { font-weight: 900; }
.site-header { background: rgba(251, 248, 255, .95); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; backdrop-filter: blur(16px); }
.nav-wrap { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 13px; color: var(--grape-950); }
.brand:hover { color: var(--grape-950); }
.brand > span:last-child { display: flex; flex-direction: column; line-height: .86; letter-spacing: -.04em; }
.brand strong { font-size: 1.05rem; font-weight: 950; }
.brand em { color: var(--grape-600); font-size: 1.34rem; font-style: normal; font-weight: 950; }
.brand-mark { width: 46px; height: 46px; position: relative; display: inline-block; }
.brand-mark i { position: absolute; width: 25px; height: 25px; border-radius: 50%; background: var(--grape-600); box-shadow: inset -5px -7px 9px rgba(34,5,58,.25); }
.brand-mark i:nth-child(1) { left: 2px; top: 2px; }
.brand-mark i:nth-child(2) { right: 2px; top: 2px; background: var(--grape-500); }
.brand-mark i:nth-child(3) { left: 11px; bottom: 1px; background: var(--grape-700); }
.main-nav { display: flex; align-items: center; gap: 24px; font-size: .91rem; font-weight: 760; }
.main-nav > a { padding: 12px 0; }
.admin-link { color: var(--grape-600); }
.search-form input { width: 180px; border: 1px solid var(--line); border-radius: 999px; background: white; padding: 10px 15px; outline: none; }
.search-form input:focus { border-color: var(--grape-500); box-shadow: 0 0 0 4px rgba(158,82,232,.12); }
.menu-button { display: none; border: 1px solid var(--line); background: white; border-radius: 999px; padding: 9px 15px; font-weight: 800; }

.flash-stack { position: fixed; z-index: 200; right: 18px; top: 130px; width: min(420px, calc(100% - 36px)); }
.flash { background: white; border: 1px solid var(--line); border-left: 5px solid var(--grape-600); border-radius: 14px; padding: 13px 16px; box-shadow: var(--shadow); margin-bottom: 10px; }
.flash-success { border-left-color: #2d9f63; }
.flash-danger { border-left-color: var(--danger); }
.flash-warning { border-left-color: #d18920; }

.hero-section { overflow: hidden; background: radial-gradient(circle at 80% 20%, #54218a 0, var(--grape-950) 48%, #0d031a 100%); color: white; min-height: 620px; display: flex; align-items: center; position: relative; }
.hero-section::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.13) 1px, transparent 1px); background-size: 22px 22px; opacity: .28; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 60px; padding-block: 90px; }
.kicker { display: inline-block; color: var(--grape-600); font-size: .76rem; font-weight: 950; letter-spacing: .16em; text-transform: uppercase; }
.hero-copy .kicker { color: var(--lime); }
.hero-copy h1 { margin: 14px 0 20px; font-size: clamp(3.3rem, 7vw, 6.6rem); line-height: .91; letter-spacing: -.065em; max-width: 900px; }
.hero-copy h1 em { color: var(--lime); font-style: normal; }
.hero-copy p { max-width: 680px; color: #dfd5e8; font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { appearance: none; border: 0; border-radius: 999px; padding: 13px 20px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 900; line-height: 1; transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--lime); color: var(--grape-950); box-shadow: 0 12px 24px rgba(213,255,95,.14); }
.button-primary:hover { color: var(--grape-950); }
.button-ghost { border: 1px solid rgba(255,255,255,.35); color: white; background: rgba(255,255,255,.06); }
.button-ghost.dark { border-color: var(--line); color: var(--grape-950); background: white; }
.button.wide { width: 100%; }
.soda-art { min-height: 440px; display: grid; place-items: center; position: relative; }
.can { width: 235px; height: 410px; border-radius: 42px 42px 34px 34px; background: linear-gradient(160deg, #c66dff 0, #7130bd 45%, #37115c 100%); border: 6px solid rgba(255,255,255,.25); box-shadow: inset 0 0 0 3px rgba(0,0,0,.14), 0 50px 80px rgba(0,0,0,.45); transform: rotate(9deg); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; position: relative; }
.can::before { content: ""; position: absolute; top: -10px; width: 216px; height: 24px; border-radius: 50%; background: #c9c9d1; box-shadow: inset 0 -5px 5px rgba(0,0,0,.25); }
.can span { font-size: 2.65rem; font-weight: 950; line-height: .82; letter-spacing: -.06em; }
.can b { margin-top: 14px; color: var(--lime); letter-spacing: .2em; font-size: 1.05rem; }
.bubble { position: absolute; display: block; border: 4px solid rgba(213,255,95,.7); border-radius: 50%; }
.b1 { width: 85px; height: 85px; left: 5%; top: 10%; }
.b2 { width: 45px; height: 45px; right: 7%; top: 6%; }
.b3 { width: 105px; height: 105px; right: 2%; bottom: 2%; }
.b4 { width: 32px; height: 32px; left: 16%; bottom: 8%; }

.featured-section, .content-section, .split-news { padding-block: 72px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; border-bottom: 2px solid var(--ink); padding-bottom: 13px; margin-bottom: 28px; }
.section-heading > span { font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 950; letter-spacing: -.04em; text-transform: uppercase; }
.section-heading a, .section-heading small { font-size: .86rem; font-weight: 850; color: var(--grape-600); }
.section-heading.light { border-color: rgba(255,255,255,.34); }
.section-heading.light a { color: var(--lime); }
.featured-story { display: grid; grid-template-columns: 1.03fr .97fr; background: white; border-radius: 30px; overflow: hidden; box-shadow: var(--shadow); min-height: 460px; }
.featured-copy { padding: clamp(32px, 5vw, 68px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.eyebrow { color: var(--grape-600); font-size: .72rem; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow span { color: var(--muted); }
.featured-copy h2 { font-size: clamp(2.4rem, 5vw, 4.7rem); letter-spacing: -.06em; line-height: .93; margin: 16px 0; }
.featured-copy p { color: var(--muted); font-size: 1.08rem; margin-bottom: 25px; }
.featured-media { min-height: 440px; background: var(--grape-900); }
.featured-media img { width: 100%; height: 100%; object-fit: cover; }
.story-placeholder { min-height: 240px; height: 100%; background: linear-gradient(140deg, var(--grape-900), var(--grape-600)); color: white; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.story-placeholder span { color: var(--lime); letter-spacing: .18em; font-size: .72rem; font-weight: 900; }
.story-placeholder b { font-size: 3rem; letter-spacing: -.08em; }
.hero-placeholder { min-height: 440px; }

.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.compact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.story-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-width: 0; transition: transform .18s ease, box-shadow .18s ease; }
.story-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.story-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; position: relative; background: var(--grape-900); }
.story-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.story-card:hover .story-card-media img { transform: scale(1.035); }
.breaking-label { position: absolute; left: 14px; top: 14px; background: var(--pink); color: var(--grape-950); border-radius: 999px; padding: 7px 11px; text-transform: uppercase; font-size: .65rem; font-weight: 950; letter-spacing: .08em; }
.story-card-body { padding: 22px; }
.story-card h3 { margin: 10px 0 10px; font-size: 1.35rem; line-height: 1.08; letter-spacing: -.035em; }
.story-card p { color: var(--muted); font-size: .92rem; }
.story-meta { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .75rem; }
.story-meta a { color: var(--grape-600); font-weight: 850; }
.category-band { background: var(--grape-950); color: white; padding-block: 72px; }
.category-band .story-card { color: var(--ink); }
.split-news { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.stacked-list { display: grid; gap: 18px; }
.stacked-list .story-card { display: grid; grid-template-columns: 180px 1fr; }
.stacked-list .story-card-media { aspect-ratio: auto; min-height: 100%; }
.stacked-list .story-placeholder { min-height: 100%; }
.stacked-list .story-card p { display: none; }
.stacked-list .story-meta { margin-top: 10px; }

.ad-shell { margin-block: 24px; min-height: 110px; background: #f3eef7; border: 1px dashed #cbbbd7; border-radius: 18px; display: grid; place-items: center; padding: 18px; position: relative; }
.ad-shell > span { position: absolute; top: 7px; left: 12px; color: var(--muted); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }
.ad-shell.vertical { min-height: 300px; width: 100%; }
.empty-state { text-align: center; padding: 70px 30px; border: 1px dashed #cbbbd7; border-radius: var(--radius); background: white; }
.empty-state h2 { font-size: 2rem; margin: 0 0 8px; }
.newsletter-section { padding: 0 0 80px; }
.newsletter-card { background: linear-gradient(120deg, var(--grape-900), var(--grape-600)); color: white; border-radius: 32px; padding: clamp(34px, 6vw, 74px); display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 44px; box-shadow: var(--shadow); }
.newsletter-card .kicker { color: var(--lime); }
.newsletter-card h2 { font-size: clamp(2.3rem, 4vw, 4rem); line-height: .95; letter-spacing: -.055em; margin: 11px 0; }
.newsletter-card p { color: #e8dff0; }
.newsletter-card form { display: flex; gap: 10px; background: white; padding: 8px; border-radius: 999px; }
.newsletter-card input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 14px; }

.page-hero { background: var(--grape-950); color: white; padding-block: 90px; }
.page-hero h1 { font-size: clamp(3.4rem, 8vw, 7rem); line-height: .88; letter-spacing: -.07em; margin: 10px 0 18px; }
.page-hero p { color: #dfd3e8; font-size: 1.12rem; max-width: 720px; }
.big-search { display: flex; gap: 10px; max-width: 720px; margin-top: 30px; }
.big-search input { flex: 1; border-radius: 999px; padding: 15px 20px; border: 0; outline: 0; }
.pagination { margin-top: 35px; display: flex; align-items: center; justify-content: center; gap: 22px; }
.pagination a { font-weight: 850; color: var(--grape-600); }

.article-page { padding-block: 65px 30px; }
.article-header { text-align: center; }
.article-header h1 { font-size: clamp(3rem, 7vw, 6.6rem); line-height: .9; letter-spacing: -.07em; margin: 17px auto 25px; }
.dek { color: var(--muted); font-size: clamp(1.12rem, 2vw, 1.45rem); max-width: 760px; margin-inline: auto; }
.article-byline { margin-top: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 14px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 24px; color: var(--muted); font-size: .78rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 48px; align-items: start; padding-top: 45px; }
.article-image { margin: 0 0 30px; }
.article-image img { width: 100%; max-height: 620px; object-fit: cover; border-radius: 26px; }
.article-image figcaption { color: var(--muted); font-size: .72rem; margin-top: 8px; }
.key-box { background: var(--lime); color: var(--grape-950); border-radius: 24px; padding: 26px; margin-bottom: 32px; }
.key-box span, .source-box > span, .aside-card > span { font-size: .68rem; letter-spacing: .16em; font-weight: 950; }
.key-box p { margin: 8px 0 0; font-size: 1.25rem; font-weight: 750; }
.article-body { font-family: Georgia, "Times New Roman", serif; font-size: 1.18rem; line-height: 1.85; }
.article-body p:first-child::first-letter { float: left; color: var(--grape-600); font-family: Inter, sans-serif; font-size: 5.4rem; line-height: .72; padding: 11px 9px 0 0; font-weight: 950; }
.source-box { background: var(--grape-950); color: white; padding: 30px; border-radius: 24px; margin-top: 38px; }
.source-box > span { color: var(--lime); }
.source-box h2 { margin: 8px 0; font-size: 2rem; }
.source-box p { color: #ded2e8; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tag-list span, .pill { background: #eee6f5; color: var(--grape-700); padding: 7px 11px; border-radius: 999px; font-size: .72rem; font-weight: 850; }
.article-aside { position: sticky; top: 142px; display: grid; gap: 22px; }
.aside-card { background: white; border: 1px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: 0 15px 40px rgba(32,11,51,.08); }
.aside-card > span { color: var(--grape-600); }
.aside-card h2 { font-size: 1.45rem; line-height: 1.05; letter-spacing: -.04em; }
.aside-card p { color: var(--muted); }
.related-section { padding-top: 35px; }

.prose-page { padding-block: 90px; }
.prose-page h1 { font-size: clamp(3rem, 6vw, 5.7rem); line-height: .9; letter-spacing: -.065em; margin: 12px 0 30px; }
.prose-page h2 { margin-top: 36px; font-size: 1.7rem; letter-spacing: -.035em; }
.prose-page p { color: #504858; font-size: 1.08rem; }
.prose-page a { color: var(--grape-600); text-decoration: underline; }

.auth-section { min-height: 70vh; display: grid; place-items: center; padding: 70px 18px; background: radial-gradient(circle at top, #ede0fa, var(--paper) 60%); }
.auth-card { width: min(100%, 470px); background: white; border: 1px solid var(--line); border-radius: 30px; padding: clamp(30px, 5vw, 52px); box-shadow: var(--shadow); }
.auth-card.wide-card { max-width: 650px; }
.auth-card h1 { font-size: 2.8rem; line-height: .95; letter-spacing: -.055em; margin: 10px 0 28px; }
.auth-card form, .editor-form { display: grid; gap: 18px; }
.auth-card label, .editor-form label { display: grid; gap: 7px; font-weight: 780; }
.auth-card input:not([type=checkbox]), .auth-card select, .editor-form input:not([type=checkbox]), .editor-form select, .editor-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; outline: 0; background: white; }
.auth-card input:focus, .auth-card select:focus, .editor-form input:focus, .editor-form select:focus, .editor-form textarea:focus { border-color: var(--grape-500); box-shadow: 0 0 0 4px rgba(158,82,232,.1); }
.auth-card small, .editor-form label > small { color: var(--muted); font-weight: 500; }
.check-row { display: flex !important; align-items: center; gap: 9px !important; }
.check-row input { width: auto !important; }

.admin-shell { padding-block: 55px 90px; }
.admin-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.admin-heading h1 { font-size: clamp(2.8rem, 5vw, 5rem); line-height: .9; letter-spacing: -.06em; margin: 9px 0 0; }
.admin-heading p { color: var(--muted); }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-actions form { margin: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 24px; }
.stat-card { background: var(--grape-950); color: white; border-radius: 20px; padding: 22px; }
.stat-card span { color: #d7cbe1; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.stat-card strong { display: block; color: var(--lime); font-size: 2.35rem; line-height: 1; margin-top: 12px; }
.admin-panel { background: white; border: 1px solid var(--line); border-radius: 24px; padding: 24px; margin-bottom: 24px; box-shadow: 0 15px 40px rgba(32,11,51,.06); }
.panel-heading { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin-bottom: 19px; }
.panel-heading h2 { margin: 0 0 4px; font-size: 1.55rem; letter-spacing: -.035em; }
.panel-heading p { margin: 0; color: var(--muted); font-size: .86rem; }
.panel-heading > a { color: var(--grape-600); font-weight: 850; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 920px; }
th, td { text-align: left; border-top: 1px solid var(--line); padding: 14px 12px; vertical-align: middle; }
th { color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .09em; }
td { font-size: .84rem; }
td strong { display: block; max-width: 360px; }
td small { color: var(--muted); display: block; margin-top: 4px; }
.status { display: inline-flex; border-radius: 999px; padding: 6px 10px; font-size: .68rem; font-weight: 900; text-transform: uppercase; }
.status-draft { background: #efe9f4; color: #6b5d75; }
.status-review { background: #fff0c7; color: #795810; }
.status-published { background: #dff6e8; color: #167844; }
.score { width: 92px; height: 8px; background: #eee7f3; border-radius: 999px; overflow: hidden; }
.score span { display: block; height: 100%; background: var(--grape-600); }
.row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.row-actions a, .row-actions button { border: 0; background: transparent; padding: 0; color: var(--grape-600); font-size: .78rem; font-weight: 850; }
.row-actions .danger-link { color: var(--danger); }
.admin-grid-2 { display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px; }
.queue-list, .source-list { display: grid; gap: 10px; }
.queue-list article, .source-list a { display: flex; justify-content: space-between; align-items: center; gap: 18px; border: 1px solid var(--line); padding: 14px; border-radius: 15px; }
.queue-list strong, .source-list strong { display: block; font-size: .87rem; }
.queue-list small, .source-list small { display: block; color: var(--muted); font-size: .72rem; margin-top: 4px; }
.platform { display: inline-flex; padding: 4px 8px; border-radius: 999px; font-size: .63rem; font-weight: 950; text-transform: uppercase; margin-bottom: 6px; }
.platform-facebook { background: #dbe8ff; color: #1e4e9e; }
.platform-instagram { background: #ffe0f2; color: #a22568; }
.platform-tiktok { background: #dbfff7; color: #0a6c58; }
.source-list b { color: var(--grape-600); font-size: .75rem; }
.editor-layout { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 30px; }
.editor-form { background: white; border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px,4vw,40px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.check-row-group { display: flex; gap: 20px; flex-wrap: wrap; }
.headline-helper { background: #f4eef9; border-radius: 16px; padding: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.headline-helper span { width: 100%; color: var(--grape-700); font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.headline-helper button { border: 1px solid #ddcce9; background: white; border-radius: 999px; padding: 7px 11px; font-size: .75rem; }
.editor-aside { display: grid; align-content: start; gap: 18px; position: sticky; top: 140px; }
.big-score { display: block; font-size: 4.5rem; color: var(--grape-600); line-height: 1; margin-top: 10px; }
.field-error { color: var(--danger) !important; }

.site-footer { background: #0f061a; color: white; padding: 70px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, .7fr); gap: 42px; }
.footer-brand { color: var(--lime); font-size: 1.4rem; font-weight: 950; letter-spacing: -.04em; }
.footer-grid p { color: #bfb2c8; max-width: 430px; }
.footer-grid h2 { font-size: .78rem; color: var(--lime); text-transform: uppercase; letter-spacing: .12em; }
.footer-grid a { display: block; color: #d9cee1; margin: 8px 0; font-size: .88rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); color: #9d8eaa; margin-top: 45px; padding-top: 18px; font-size: .72rem; }

@media (max-width: 1020px) {
  .main-nav { gap: 16px; }
  .search-form input { width: 145px; }
  .story-grid, .compact-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .split-news { grid-template-columns: 1fr; }
  .newsletter-card { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
  .admin-grid-2 { grid-template-columns: 1fr; }
  .article-layout, .editor-layout { grid-template-columns: 1fr; }
  .article-aside, .editor-aside { position: static; }
  .article-aside { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .ticker-inner span:last-child { display: none; }
  .menu-button { display: block; }
  .main-nav { display: none; position: absolute; top: 120px; left: 18px; right: 18px; background: white; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 18px; align-items: stretch; flex-direction: column; gap: 4px; }
  .main-nav.is-open { display: flex; }
  .main-nav > a { padding: 10px; }
  .search-form input { width: 100%; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 70px; }
  .soda-art { min-height: 390px; }
  .featured-story { grid-template-columns: 1fr; }
  .featured-media { min-height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-heading { align-items: flex-start; flex-direction: column; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .container, .narrow { width: min(calc(100% - 24px), var(--max)); }
  .ticker-inner { gap: 14px; font-size: .68rem; }
  .nav-wrap { min-height: 76px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand strong { font-size: .93rem; }
  .brand em { font-size: 1.18rem; }
  .main-nav { top: 108px; left: 12px; right: 12px; }
  .hero-section { min-height: auto; }
  .hero-copy h1 { font-size: 3.55rem; }
  .soda-art { display: none; }
  .story-grid, .compact-grid { grid-template-columns: 1fr; }
  .stacked-list .story-card { grid-template-columns: 118px 1fr; }
  .stacked-list .story-card-body { padding: 15px; }
  .stacked-list .story-card h3 { font-size: 1.05rem; }
  .stacked-list .story-meta span { display: none; }
  .newsletter-card form, .big-search { flex-direction: column; border-radius: 18px; background: transparent; padding: 0; }
  .newsletter-card input, .big-search input { min-height: 50px; border-radius: 999px; padding-inline: 18px; }
  .article-page { padding-top: 42px; }
  .article-header h1 { font-size: 3.35rem; }
  .article-byline { align-items: center; flex-direction: column; }
  .article-layout { padding-top: 28px; }
  .article-aside { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat-card strong { font-size: 1.9rem; }
  .admin-panel { padding: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .queue-list article, .source-list a { align-items: flex-start; flex-direction: column; }
}

/* AI newsroom assistant */
.setup-alert { display:flex; justify-content:space-between; gap:20px; align-items:center; padding:18px 22px; margin:-12px 0 26px; border:1px solid #d6c2e8; border-radius:18px; background:#fbf7ff; }
.setup-alert strong { color:var(--grape-950); }
.setup-alert span { color:var(--muted); }
.setup-alert code, .ai-card code { background:#efe5f7; border-radius:7px; padding:2px 6px; }
.stat-grid-6 { grid-template-columns:repeat(6,minmax(0,1fr)); }
.ai-status { display:inline-flex; align-items:center; border-radius:999px; padding:5px 9px; background:#f0e8f7; color:var(--grape-700); font-size:.7rem; font-weight:900; text-transform:capitalize; white-space:nowrap; }
.ai-status-draft_ready, .ai-status-image_ready { background:#edffd0; color:#324900; }
.ai-status-error { background:#ffe6e6; color:#8f1515; }
.ai-card { border-color:#c9a7e8; background:linear-gradient(160deg,#fff 0%,#faf4ff 100%); }
.ai-card form { margin-top:12px; }
.ai-card strong { display:block; margin-top:8px; font-size:1.2rem; }
.button:disabled { opacity:.45; cursor:not-allowed; transform:none; }
.admin-image-preview { width:100%; aspect-ratio:1/1; object-fit:cover; border-radius:14px; margin:12px 0 8px; border:1px solid var(--line); }
.risk-row { display:flex; justify-content:space-between; align-items:center; gap:12px; margin:12px 0; }
.risk { border-radius:999px; padding:5px 10px; font-size:.72rem; text-transform:uppercase; }
.risk-low { background:#e9ffd4; color:#284500; }
.risk-medium { background:#fff1c7; color:#694a00; }
.risk-high, .risk-unknown { background:#ffe0e0; color:#7d1515; }
.verification-notes { font-size:.84rem; line-height:1.55; color:var(--muted); padding:12px; background:#faf8fc; border-radius:12px; margin-bottom:10px; }
.ai-error { margin-top:12px; padding:10px; background:#fff0f0; color:#8c1717; border-radius:10px; font-size:.8rem; overflow-wrap:anywhere; }
.editor-details { border:1px solid var(--line); border-radius:16px; background:#fbfafc; }
.editor-details summary { cursor:pointer; font-weight:900; padding:14px 16px; }
.editor-details .details-body { display:grid; gap:16px; padding:0 16px 16px; }
.danger-button { border:0; background:transparent; color:#a01818; padding:0; font-weight:850; }
.ai-disclosure { margin-top:8px; font-weight:700; color:var(--grape-700); }

@media (max-width: 1100px) {
  .stat-grid-6 { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .setup-alert { align-items:flex-start; flex-direction:column; }
  .stat-grid-6 { grid-template-columns:1fr 1fr; }
}
