:root {
  --ink: #111;
  --muted: #666;
  --red: #c0392b;
  --line: #ddd;
  --bg: #fdfcf8;
  --card: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Georgia, "Times New Roman", serif; line-height: 1.5; }
a { color: inherit; }
.masthead { text-align: center; padding: 28px 16px 12px; border-bottom: 3px double #111; }
.brand { font-size: clamp(2rem, 7vw, 3.4rem); font-weight: 900; letter-spacing: 0.02em; text-decoration: none; color: #111; }
.brand span { color: var(--red); }
.tagline { font-style: italic; margin: 4px 0; color: #333; }
.satire-badge { display: inline-block; background: var(--red); color: #fff; font-family: Arial, sans-serif; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; padding: 4px 10px; border-radius: 3px; margin: 6px 0 0; }
.date-line { font-family: Arial, sans-serif; font-size: 0.85rem; color: var(--muted); margin-top: 8px; }
.ticker { background: #111; color: #fff; font-family: Arial, sans-serif; font-size: 0.9rem; padding: 8px 0; overflow: hidden; white-space: nowrap; }
.ticker span { display: inline-block; padding-left: 100%; animation: tick 30s linear infinite; }
@keyframes tick { to { transform: translateX(-100%); } }
.toolbar { max-width: 1080px; margin: 0 auto; padding: 16px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.toolbar input[type="search"] { flex: 1; min-width: 180px; padding: 10px 12px; font-size: 1rem; border: 1px solid var(--line); border-radius: 6px; font-family: Arial, sans-serif; }
.cats { display: flex; flex-wrap: wrap; gap: 6px; }
.cats button { font-family: Arial, sans-serif; padding: 7px 12px; border: 1px solid #111; background: #fff; border-radius: 999px; cursor: pointer; font-size: 0.9rem; }
.cats button.active { background: #111; color: #fff; }
main { max-width: 1080px; margin: 0 auto; padding: 0 16px 40px; }
h2.section { font-family: Arial, sans-serif; font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; border-bottom: 2px solid #111; padding-bottom: 6px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-top: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.card a.thumb-link { display: block; text-decoration: none; }
.card img, .auto-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.auto-cover { background: linear-gradient(135deg, #111, var(--red)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 3rem; font-weight: 900; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cat { font-family: Arial, sans-serif; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); }
.card-body h3 { margin: 0; font-size: 1.25rem; line-height: 1.3; }
.card-body h3 a { text-decoration: none; }
.card-body h3 a:hover { text-decoration: underline; }
.card-body p { margin: 0; color: #444; }
.meta { font-family: Arial, sans-serif; font-size: 0.8rem; color: var(--muted); }
.empty { color: var(--muted); padding: 24px 0; }
form.submit { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px; margin-top: 16px; display: grid; gap: 12px; }
form.submit label { font-family: Arial, sans-serif; font-weight: 700; font-size: 0.9rem; display: grid; gap: 6px; }
form.submit input, form.submit select, form.submit textarea { padding: 10px 12px; font-size: 1rem; border: 1px solid var(--line); border-radius: 6px; font-family: Arial, sans-serif; width: 100%; }
form.submit textarea { min-height: 140px; resize: vertical; }
form.submit button, .btn { font-family: Arial, sans-serif; padding: 12px 18px; background: var(--red); color: #fff; border: 0; border-radius: 6px; font-size: 1rem; font-weight: 700; cursor: pointer; }
form.submit button:disabled { background: #999; cursor: not-allowed; }
.quota { font-family: Arial, sans-serif; background: #fff8e1; border: 1px solid #ffe082; border-radius: 6px; padding: 10px 12px; }
.quota b { color: var(--red); }
.hint { font-family: Arial, sans-serif; font-size: 0.85rem; color: var(--muted); }
.success { background: #e8f5e9; border: 1px solid #81c784; border-radius: 10px; padding: 18px; margin-top: 16px; font-family: Arial, sans-serif; }
.success h3 { margin-top: 0; }
.alias-note { font-family: Arial, sans-serif; font-size: 0.85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 20px; }
.article-page { max-width: 760px; }
.article-page h1 { font-size: 2rem; line-height: 1.2; }
.article-page .summary { font-size: 1.15rem; color: #333; font-style: italic; }
.article-hero { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; margin: 16px 0; }
.article-page .body { font-size: 1.1rem; line-height: 1.7; }
.back { font-family: Arial, sans-serif; display: inline-block; margin: 16px 0; }
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 24px; font-family: Arial, sans-serif; }
.share a, .share button { background: #111; color: #fff; padding: 8px 12px; border-radius: 6px; text-decoration: none; border: 0; cursor: pointer; font-size: 0.9rem; }
.redaksi { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px; margin-top: 16px; font-family: Arial, sans-serif; }
.redaksi input { padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; margin-right: 8px; }
.redaksi table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 0.9rem; }
.redaksi td, .redaksi th { border-bottom: 1px solid var(--line); padding: 8px 4px; text-align: left; }
.redaksi button { padding: 6px 10px; border-radius: 5px; border: 1px solid #111; background: #fff; cursor: pointer; }
footer { text-align: center; color: var(--muted); font-family: Arial, sans-serif; font-size: 0.85rem; padding: 24px 16px; border-top: 1px solid var(--line); }
.admin-toggle { background: none; border: 0; cursor: pointer; padding: 6px; margin-top: 10px; opacity: 0.5; }
.admin-toggle:hover { opacity: 0.8; }
.admin-toggle img { height: 36px; width: auto; display: block; }
#redaksiPanel { text-align: left; max-width: 1080px; margin: 16px auto 0; }
#redaksiPanel h2.section { margin-top: 0; }
