/* =====================================================================
   Forum Syair — stylesheet utama (lokal, tanpa CDN)
   Tema: gelap (navy + emas) — satu tema untuk semua halaman.
   ===================================================================== */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/assets/fonts/inter.woff2) format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/outfit.woff2) format("woff2"); }

:root {
    --bg: #f6f7fb;
    --bg-soft: #eef1f8;
    --surface: #ffffff;
    --surface-2: #f9fafc;
    --line: #e4e8f1;
    --line-strong: #d5dbe7;
    --ink: #0d1b33;
    --ink-2: #3a4863;
    --muted: #7a869c;
    --primary: #1e4fd8;
    --primary-ink: #1a3fae;
    --primary-soft: rgba(30, 79, 216, 0.08);
    --gold: #c8a24a;
    --gold-2: #e3c578;
    --gold-soft: rgba(200, 162, 74, 0.12);
    --navy: #0d1b33;
    --success: #12a37a;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(13, 27, 51, 0.04), 0 2px 8px rgba(13, 27, 51, 0.04);
    --shadow: 0 2px 6px rgba(13, 27, 51, 0.04), 0 12px 32px rgba(13, 27, 51, 0.07);
    --shadow-lg: 0 20px 50px rgba(13, 27, 51, 0.16);
    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-head: "Outfit", "Inter", system-ui, sans-serif;
    --ease: cubic-bezier(.2, .8, .2, 1);
    color-scheme: light;
}

[data-theme="dark"] {
    --bg: #0a1222;
    --bg-soft: #0e182c;
    --surface: #111c31;
    --surface-2: #14213a;
    --line: #1f2c45;
    --line-strong: #2a3a58;
    --ink: #e8edf6;
    --ink-2: #b4bfd3;
    --muted: #7d8aa3;
    --primary: #6d9bff;
    --primary-ink: #8cb0ff;
    --primary-soft: rgba(109, 155, 255, 0.12);
    --gold: #d9b65e;
    --gold-2: #ecd18c;
    --gold-soft: rgba(217, 182, 94, 0.12);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow: 0 2px 6px rgba(0, 0, 0, 0.25), 0 12px 32px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
}

/* ---------- Dasar ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.25; letter-spacing: -0.01em; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.site-main { flex: 1; padding-bottom: 56px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 6px; }

/* ---------- Tombol ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 38px; padding: 0 18px; border-radius: 999px;
    font-size: 14px; font-weight: 600; white-space: nowrap;
    border: 1px solid transparent; cursor: pointer;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1b1607; box-shadow: 0 4px 14px rgba(200, 162, 74, .35); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(200, 162, 74, .45); }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: var(--surface); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink-2); height: 34px; padding: 0 14px; font-size: 13px; }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--line);
}
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .55; }
.hdr { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav-a {
    display: inline-flex; align-items: center; gap: 6px;
    height: 38px; padding: 0 14px; border-radius: 999px;
    font-size: 14px; font-weight: 600; color: var(--ink-2);
    cursor: pointer; list-style: none; transition: background .2s, color .2s;
}
.nav-a:hover, .dd[open] > .nav-a { background: var(--primary-soft); color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: 10px; padding-left: 14px; border-left: 1px solid var(--line); }
[data-theme="dark"] [data-theme="dark"] 
/* Dropdown */
.dd { position: relative; }
.dd > summary { list-style: none; }
.dd > summary::-webkit-details-marker { display: none; }
.dd > summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; opacity: .7; }
.dd[open] > summary::after { transform: translateY(1px) rotate(-135deg); }
.dd-panel {
    position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%);
    width: min(680px, 92vw); max-height: 72vh; overflow: auto;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-lg); padding: 16px; z-index: 200;
    animation: ddIn .18s var(--ease);
}
@keyframes ddIn { from { opacity: 0; transform: translate(-50%, -6px); } to { opacity: 1; transform: translate(-50%, 0); } }
.dd-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid var(--line); position: sticky; top: -16px; background: var(--surface); padding-top: 4px; z-index: 1; }
.dd-filter { flex: 1; min-width: 0; height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); font-size: 14px; outline: none; }
.dd-filter:focus { border-color: var(--primary); background: var(--surface); }
.dd-all { font-size: 13px; font-weight: 700; color: var(--primary); white-space: nowrap; padding: 0 6px; }
.dd-all:hover { text-decoration: underline; }
.dd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 6px; }
.dd-item { display: block; padding: 8px 10px; border-radius: 8px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dd-item:hover { background: var(--primary-soft); color: var(--primary); }

/* Burger */
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
    .burger { display: inline-flex; }
    .hdr { height: 62px; position: relative; }
    .nav {
        display: none; position: absolute; top: calc(100% + 8px); left: 12px; right: 12px;
        flex-direction: column; align-items: stretch; gap: 2px;
        background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
        box-shadow: var(--shadow-lg); padding: 10px; max-height: calc(100vh - 86px); overflow: auto;
    }
    .nav.open { display: flex; animation: ddIn2 .18s var(--ease); }
    @keyframes ddIn2 { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
    .nav-a { height: 46px; border-radius: 12px; justify-content: space-between; font-size: 15px; }
    .dd-panel { position: static; transform: none; width: auto; max-height: none; box-shadow: none; border: 0; border-radius: 0; padding: 4px 4px 10px 12px; animation: none; background: transparent; }
    .dd-head { position: static; border: 0; padding: 0 0 8px; background: transparent; }
    .dd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nav-actions { margin: 8px 0 0; padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
    .nav-actions .btn { flex: 1; }
}
@media (max-width: 420px) { .dd-grid { grid-template-columns: 1fr; } }

/* ---------- Breadcrumb ---------- */
.crumbs { padding: 18px 0 2px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; margin: 0 10px; border-top: 1.5px solid var(--muted); border-right: 1.5px solid var(--muted); transform: rotate(45deg); opacity: .7; }
.crumbs a { color: var(--ink-2); font-weight: 500; }
.crumbs a:hover { color: var(--primary); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Kartu pasaran ---------- */
.cards { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cards-featured { margin-bottom: 36px; }
.card {
    position: relative; display: flex; flex-direction: column;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--gold) 50%, var(--line)); }
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--bg-soft); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card-media img { transform: scale(1.03); }
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; }
.card .badge { position: absolute; top: 10px; right: 10px; background: rgba(255, 255, 255, .92); color: var(--navy); box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.card-btn {
    display: flex; align-items: center; justify-content: center; text-align: center;
    margin: 12px; min-height: 44px; padding: 8px 12px; border-radius: 12px;
    background: var(--surface-2); border: 1px solid var(--line);
    font-family: var(--font-head); font-size: 14.5px; font-weight: 700; color: var(--ink);
    transition: background .2s, color .2s, border-color .2s;
}
.card-btn::after { content: ""; position: absolute; inset: 0; }
.card:hover .card-btn { background: var(--navy); border-color: var(--navy); color: #fff; }
[data-theme="dark"] .card:hover .card-btn { background: var(--primary); border-color: var(--primary); color: #0a1222; }

/* ---------- Tata letak dengan sidebar ---------- */
.layout { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1080px) { .layout { grid-template-columns: minmax(0, 1fr) 320px; } }
.main-col { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 32px; }
@media (max-width: 640px) { .panel { padding: 20px; } .wrap { padding: 0 14px; } }
.panel-title { font-size: 20px; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.panel-title::before { content: ""; width: 4px; height: 20px; border-radius: 4px; background: linear-gradient(var(--gold-2), var(--gold)); }

/* Tipografi artikel */
.prose { color: var(--ink-2); font-size: 15.5px; line-height: 1.8; }
.prose > * + * { margin-top: 14px; }
.prose h2 { font-size: 24px; margin-top: 34px; color: var(--ink); }
.prose h3 { font-size: 19px; margin-top: 28px; color: var(--ink); }
.prose h4 { font-size: 16.5px; margin-top: 24px; color: var(--ink); }
.prose > :first-child { margin-top: 0; }
.prose p { text-align: left; }
.prose a { color: var(--primary); font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--primary) 35%, transparent); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--primary); }
.prose ul, .prose ol { padding-left: 22px; }
.prose-lead { font-size: 16.5px; color: var(--ink-2); }

/* ---------- Detail pasaran ---------- */
.detail-media { padding: 0; overflow: hidden; }
.viewer { position: relative; background: #0b1426; aspect-ratio: 4 / 3; overflow: hidden; cursor: zoom-in; }
.viewer img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s var(--ease); transform-origin: center; }
.zoom-bar { display: flex; justify-content: center; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--surface-2); }
.detail-head .badge { background: var(--gold-soft); color: var(--gold); border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); margin-bottom: 12px; }
.detail-head h1 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 800; }
.meta-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 22px 0 26px; }
@media (min-width: 640px) { .meta-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.meta { padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.meta-k { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.meta-v { margin-top: 2px; font-size: 14px; font-weight: 700; color: var(--ink); }
.meta-v.ok { color: var(--success); }
.guide { margin-top: 26px; padding: 18px 20px; border-radius: 14px; background: var(--gold-soft); border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent); }
.guide h3 { font-size: 15px; margin-bottom: 6px; color: var(--ink); }
.guide p { font-size: 14px; color: var(--ink-2); }
.related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 760px) { .related { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.related a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); font-size: 14px; font-weight: 600; color: var(--ink-2); transition: border-color .2s, color .2s, background .2s; }
.related a::after { content: ""; width: 6px; height: 6px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); opacity: .5; flex-shrink: 0; }
.related a:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); transition: border-color .2s; }
.faq-item[open] { border-color: color-mix(in srgb, var(--primary) 40%, var(--line)); background: var(--surface); }
.faq-q { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; cursor: pointer; font-weight: 600; font-size: 15px; color: var(--ink); }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: ""; flex-shrink: 0; width: 8px; height: 8px; border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(45deg); transition: transform .2s; }
.faq-item[open] .faq-q::after { transform: rotate(-135deg); }
.faq-a { padding: 0 18px 16px; color: var(--ink-2); font-size: 14.5px; }

/* ---------- Sidebar partner ---------- */
.aside { display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 1080px) { .aside { position: sticky; top: 88px; max-height: calc(100vh - 104px); overflow: auto; scrollbar-width: thin; padding-right: 2px; } }
.side-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 18px; }
.side-head { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.side-sub { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.side-title { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.side-btns { display: flex; flex-direction: column; gap: 8px; }
.side-btn { display: flex; flex-direction: column; padding: 12px 14px; border-radius: 12px; background: linear-gradient(135deg, #0f1f3d, #16305e); color: #fff; border: 1px solid rgba(227, 197, 120, .35); transition: transform .2s var(--ease), box-shadow .2s; }
.side-btn small { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2); }
.side-btn span { font-size: 14px; font-weight: 700; }
.side-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(13, 27, 51, .25); }
.side-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.side-list a { display: block; padding: 8px 10px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--line); font-size: 12.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: border-color .2s, color .2s; }
.side-list a:hover { border-color: var(--primary); color: var(--primary); }

/* ---------- Halaman daftar / kategori ---------- */
.page-head { padding: 18px 0 24px; }
.page-head h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.page-head p { margin-top: 8px; color: var(--ink-2); max-width: 720px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tab { height: 38px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 600; color: var(--ink-2); transition: all .2s; }
.tab:hover { border-color: var(--primary); color: var(--primary); }
.tab.active { background: var(--navy); border-color: var(--navy); color: #fff; }
[data-theme="dark"] .tab.active { background: var(--primary); border-color: var(--primary); color: #0a1222; }
.layout .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .layout .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 8px; }
.pager a, .pager span { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 14px; color: var(--ink-2); }
.pager a:hover { border-color: var(--primary); color: var(--primary); }
.pager span[aria-current] { background: var(--navy); border-color: var(--navy); color: #fff; }
[data-theme="dark"] .pager span[aria-current] { background: var(--primary); border-color: var(--primary); color: #0a1222; }

/* Peta situs */
.sitemap-h { font-size: 16px; margin: 26px 0 12px; color: var(--ink); }
.sitemap-h:first-of-type { margin-top: 0; }
.sitemap-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px 18px; }
.sitemap-list a { font-size: 14px; color: var(--ink-2); }
.sitemap-list a:hover { color: var(--primary); }

/* 404 */
.error-box { text-align: center; padding: 56px 24px; }
.error-code { font-family: var(--font-head); font-size: 72px; font-weight: 800; line-height: 1; background: linear-gradient(120deg, var(--primary), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-box h1 { font-size: 26px; margin: 10px 0 8px; }
.error-box p { color: var(--ink-2); }
.error-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 32px 0 28px; }
.ftr { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.ftr img { height: 30px; width: auto; }
.ftr-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.ftr-links a { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.ftr-links a:hover { color: var(--primary); }
.ftr-copy { font-size: 13px; color: var(--muted); }

/* Bar Daftar/Login di HP */
.sticky-bar { display: none; }
@media (max-width: 768px) {
    .sticky-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
    .sticky-bar .btn { height: 44px; font-size: 15px; }
    .sticky-bar svg { width: 20px; height: 20px; }
    body { padding-bottom: 70px; }
    .nav-actions .btn-gold, .nav-actions .btn-outline { display: none; }
    .nav-actions { justify-content: flex-start; }
}
.layout-top { margin-top: 14px; } .error-top { margin-top: 24px; }

/* Judul hanya untuk mesin pencari & pembaca layar (tidak tampil) */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.detail-head:has(> .sr-only:only-child) { display: contents; }
.meta-grid:first-child, .detail-head + .meta-grid { margin-top: 0; }
.home-top { padding-top: 28px; }
.prose h1 { font-size: clamp(24px, 3vw, 30px); font-weight: 800; color: var(--ink); line-height: 1.3; }
.brand img { height: 36px; width: auto; }
.ftr img { height: 32px; width: auto; }

/* ---------- Postingan prediksi & blog ---------- */
.post-head h1 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 22px; }
.post-meta span { padding: 6px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.pred-k { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pred-top { display: grid; gap: 14px; margin: 24px 0 8px; }
@media (min-width: 760px) { .pred-top { grid-template-columns: 1.1fr 1fr; } }
.pred-hero { padding: 20px; border-radius: 14px; background: linear-gradient(135deg, #0f1f3d, #16305e); border: 1px solid rgba(227, 197, 120, .35); text-align: center; }
.pred-hero .pred-k { color: var(--gold-2); }
.pred-bbfs { display: flex; justify-content: center; gap: 8px; margin: 12px 0 10px; flex-wrap: wrap; }
.pred-bbfs span { width: 42px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(227, 197, 120, .3); font-family: var(--font-head); font-size: 24px; font-weight: 800; color: #fff; }
.pred-sub { font-size: 13px; color: #c9d4ea; }
.pred-sub strong { color: var(--gold-2); letter-spacing: .12em; }
.pred-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fact { padding: 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.fact-v { margin-top: 4px; font-family: var(--font-head); font-size: 20px; font-weight: 800; color: var(--ink); }
.fact-v small { font-size: 13px; color: var(--muted); font-weight: 600; }
.pred-h { font-size: 18px; margin: 28px 0 12px; }
.pred-table { display: flex; flex-direction: column; gap: 8px; }
.pred-row { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.nums { display: flex; flex-wrap: wrap; gap: 8px; }
.num { padding: 6px 12px; border-radius: 9px; background: var(--surface); border: 1px solid var(--line-strong); font-family: var(--font-head); font-weight: 700; font-size: 16px; letter-spacing: .06em; color: var(--ink); }
.pred-result { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 16px; border-radius: 14px; background: var(--gold-soft); border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent); }
.result-num { margin-top: 2px; font-family: var(--font-head); font-size: 26px; font-weight: 800; letter-spacing: .12em; color: var(--gold-2); }
.post-outro { margin-top: 24px; }
.post-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.post-list { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.post-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), border-color .2s; }
.post-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--gold) 50%, var(--line)); }
.post-card-tag { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: var(--gold-soft); color: var(--gold); font-size: 11.5px; font-weight: 800; letter-spacing: .04em; }
.post-card-title { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.post-card-date { font-size: 13px; color: var(--muted); }
