:root {
  --bg: #ffffff;
  --bg-alt: #f6f7fb;
  --text: #0f172a;
  --muted: #475569;
  --primary: #4f46e5;
  --primary-2: #06b6d4;
  --border: #e2e8f0;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(79,70,229,.3); }
.btn-small { padding: 8px 16px; }
.btn-ghost { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-ghost:hover { background: rgba(79,70,229,.06); box-shadow: none; }
.btn-light { background: #fff; color: var(--primary); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; }
.logo-img { display: block; height: 35px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 500; }
.nav-links a:not(.btn):hover { color: var(--primary); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--text); }

/* Hero */
.hero {
  padding: 110px 0 100px;
  background:
    radial-gradient(600px 300px at 15% 10%, rgba(79,70,229,.12), transparent),
    radial-gradient(600px 300px at 85% 30%, rgba(6,182,212,.12), transparent);
  text-align: center;
}
.eyebrow { color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.grad { background: linear-gradient(90deg, var(--primary), var(--primary-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 620px; margin: 20px auto 32px; color: var(--muted); font-size: 1.15rem; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Sections */
.section { padding: 90px 0; }
.section.alt { background: var(--bg-alt); }
.section h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; letter-spacing: -.01em; }
.section-lead { color: var(--muted); margin: 10px 0 40px; max-width: 560px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; background: #fff;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15,23,42,.08); }
.card .icon { font-size: 1.8rem; margin-bottom: 14px; }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.checks { list-style: none; display: grid; gap: 16px; }
.checks li {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 20px 18px 52px; position: relative; color: var(--muted);
}
.checks li strong { color: var(--text); }
.checks li::before {
  content: "✓"; position: absolute; left: 18px; top: 17px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--primary); color: #fff; font-size: .8rem;
  display: grid; place-items: center;
}

.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; margin-top: 40px; }
.steps li { padding: 24px; border-left: 3px solid var(--primary); background: var(--bg-alt); border-radius: 0 var(--radius) var(--radius) 0; }
.steps span { font-weight: 800; color: var(--primary); font-size: 1.4rem; }
.steps h3 { margin: 4px 0; }
.steps p { color: var(--muted); }

.cta { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; text-align: center; }
.cta p { opacity: .9; margin: 10px 0 28px; font-size: 1.1rem; }

.footer { padding: 28px 0; border-top: 1px solid var(--border); color: var(--muted); font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-brand { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; }
.footer-brand img { display: block; height: 21px; width: auto; }
.footer a:hover { color: var(--primary); }

/* Nav: language switch */
.nav-links { order: 2; }
.nav-right { order: 3; display: flex; align-items: center; gap: 10px; margin-left: 24px; }
.lang-switch { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; padding: 3px; background: #fff; }
.lang-switch button {
  border: 0; background: transparent; cursor: pointer; font: inherit;
  font-size: .8rem; font-weight: 700; letter-spacing: .04em;
  color: var(--muted); padding: 4px 10px; border-radius: 999px;
}
.lang-switch button.active { background: var(--primary); color: #fff; }

.grid-5 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

/* Card extras */
.card-link { display: block; color: inherit; }
.card-more { display: inline-block; margin-top: 14px; color: var(--primary); font-weight: 600; font-size: .95rem; }
.card-dashed { border-style: dashed; background: transparent; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tags span {
  font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 999px;
  background: rgba(79,70,229,.08); color: var(--primary);
}
.tags .tag-status { background: rgba(245,158,11,.14); color: #b45309; }
.section-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }

/* Portfolio */
.work-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.work-thumb {
  height: 150px; border-radius: 10px; margin: -8px -8px 18px;
  display: grid; place-items: center; font-size: 2.6rem;
}
.thumb-karhutla { background: linear-gradient(160deg, #14532d 0%, #3f6212 45%, #c2410c 100%); }
.thumb-site { background: linear-gradient(135deg, var(--primary), var(--primary-2)); }
.thumb-next { background: var(--bg-alt); color: var(--muted); font-size: 2rem; }

/* Dark section (PQC) */
.section.dark { background: #0b1023; color: #e2e8f0; }
.section.dark .eyebrow { color: #67e8f9; }
.section.dark .section-lead { color: #94a3b8; max-width: 720px; }
.section.dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.section.dark .card p { color: #94a3b8; }
.section.dark .card:hover { box-shadow: 0 14px 30px rgba(0,0,0,.35); }
.btn-ghost-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.btn-ghost-light:hover { background: rgba(255,255,255,.08); box-shadow: none; }

/* Articles */
.article-list { display: grid; gap: 20px; max-width: 760px; }
.article { padding: 72px 0 90px; }
.article .container { max-width: 760px; }
.article .back { display: inline-block; color: var(--primary); font-weight: 600; margin-bottom: 28px; }
.article h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.article .meta { color: var(--muted); font-size: .9rem; margin-bottom: 36px; }
.prose { font-size: 1.075rem; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.45rem; font-weight: 800; margin-top: 2em; letter-spacing: -.01em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.prose .callout { background: var(--bg-alt); border-left: 3px solid var(--primary); padding: 18px 20px; border-radius: 0 var(--radius) var(--radius) 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { font-weight: 700; }
.prose .sources { font-size: .9rem; color: var(--muted); }

/* Long bilingual blocks: show only the active language */
html[lang="id"] [data-lang-block="en"],
html:not([lang="id"]) [data-lang-block="id"] { display: none; }

/* Mobile */
@media (max-width: 760px) {
  .nav-right { margin-left: 0; }
  .lang-switch button { padding: 4px 9px; }
  .work-thumb { height: 120px; }
  .article { padding: 48px 0 64px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 18px; padding: 20px;
    background: #fff; border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .split { grid-template-columns: 1fr; gap: 10px; }
  .hero { padding: 80px 0 70px; }
  .section { padding: 64px 0; }
}

/* ---------- Multi-page layout ---------- */
.nav-links a.active:not(.btn) { color: var(--primary); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }

.page-hero {
  padding: 84px 0 64px;
  background:
    radial-gradient(600px 300px at 10% 0%, rgba(79,70,229,.12), transparent),
    radial-gradient(600px 300px at 90% 30%, rgba(6,182,212,.10), transparent);
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; max-width: 820px; }
.page-hero .lead { margin: 18px 0 0; max-width: 680px; }
.page-hero .hero-cta { justify-content: flex-start; margin-top: 28px; }
.page-hero.dark { background: radial-gradient(700px 320px at 85% 0%, rgba(6,182,212,.18), transparent), #0b1023; color: #e2e8f0; }
.page-hero.dark .eyebrow { color: #67e8f9; }
.page-hero.dark .lead { color: #94a3b8; }

.card .ex { margin-top: 12px; font-size: .9rem; color: var(--text); font-weight: 500; }
.banner { display: flex; align-items: center; gap: 20px; margin-top: 20px; flex-wrap: wrap; }
.banner .icon { margin: 0; }
.banner > div { flex: 1; min-width: 220px; }
.banner .card-more { margin-top: 0; }

.featured { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 28px; align-items: center; margin-top: 8px; }
.featured .work-thumb { margin: 0; height: 220px; font-size: 3.4rem; }
.section-lead.wide { max-width: 760px; }

.timeline-h { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; }
.timeline-h li { padding: 22px; border-radius: var(--radius); background: var(--bg-alt); border-top: 3px solid var(--primary); }
.timeline-h strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--primary); margin-bottom: 6px; }
.timeline-h p { color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chips a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: #fff; font-weight: 600; }
.chips a:hover { border-color: var(--primary); color: var(--primary); }

.timeline { list-style: none; position: relative; margin-top: 40px; max-width: 720px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 34px; width: 2px; background: var(--border); }
.timeline li { position: relative; padding: 0 0 28px 40px; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--primary); box-shadow: 0 0 0 4px rgba(79,70,229,.15);
}
.timeline li.planned::before { background: var(--bg-alt); border: 2px dashed var(--primary); box-shadow: none; }
.timeline li.planned p { color: var(--muted); }
.timeline .when { display: block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); }
.timeline p { font-size: 1.05rem; margin-top: 2px; }
.timeline li.highlight p { font-weight: 700; font-size: 1.2rem; }

.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-right { margin-left: 0; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 18px; padding: 20px;
    background: #fff; border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
}
@media (max-width: 760px) {
  .grid-2 { grid-template-columns: 1fr; }
  .featured { grid-template-columns: 1fr; gap: 18px; }
  .featured .work-thumb { height: 160px; }
  .page-hero { padding: 56px 0 44px; }
}

/* ---------- Game page (Karhutla) ---------- */
.work-img { display: block; width: calc(100% + 16px); height: auto; aspect-ratio: 630 / 500; object-fit: cover; border-radius: 10px; margin: -8px -8px 18px; image-rendering: pixelated; }
.featured .work-img { margin: 0; width: 100%; }

.game-hero {
  padding: 64px 0 72px; color: #fff7ed;
  background: linear-gradient(160deg, #0f2a1a 0%, #1f3d16 45%, #7c2d12 100%);
}
.game-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.game-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; }
.game-hero .lead { margin: 16px 0 0; max-width: 520px; color: #fed7aa; text-align: left; }
.game-hero .hero-cta { justify-content: flex-start; margin-top: 28px; }
.game-hero .tags span { background: rgba(255,255,255,.12); color: #fff7ed; }
.game-hero .tags .tag-status { background: #f59e0b; color: #1c1917; }
.game-cover { width: 100%; height: auto; border-radius: 16px; image-rendering: pixelated; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.back-light { color: #fdba74 !important; margin-bottom: 18px; display: inline-block; font-weight: 600; }
.btn-play { background: #ea580c; }
.btn-play:hover { box-shadow: 0 8px 20px rgba(234,88,12,.4); }

.facts-bar { background: #1c1917; color: #fafaf9; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.facts div { display: flex; flex-direction: column; }
.facts strong { font-size: 1.05rem; }
.facts span { color: #a8a29e; font-size: .9rem; }

.note { color: var(--muted); font-size: .9rem; margin-top: -24px; }
.play-card { position: relative; display: block; border-radius: 16px; overflow: hidden; box-shadow: 0 14px 40px rgba(15,23,42,.18); }
.play-card img { display: block; width: 100%; height: auto; image-rendering: pixelated; transition: transform .3s, filter .3s; }
.play-card:hover img { transform: scale(1.03); filter: brightness(.85); }
.play-btn {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  background: #ea580c; color: #fff; font-weight: 700; padding: 12px 22px; border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
}
.play-icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.2); font-size: .8rem; }

.story { max-width: 720px; margin: 18px 0 40px; }
.shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.shot img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 10px 28px rgba(15,23,42,.15); }
.shot figcaption { margin-top: 10px; font-size: .9rem; color: var(--muted); }
.feedback { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: center; }
.feedback .section-lead { margin-bottom: 0; }
.feedback .section-cta { margin-top: 0; }

@media (max-width: 860px) {
  .game-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feedback { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .game-hero { padding: 40px 0 48px; }
  .note { margin-top: -28px; }
}

.game-frame { width: 100%; margin: 0 auto; scroll-margin-top: 80px; }
.game-frame iframe { display: block; margin: 0 auto; width: min(100%, 480px, calc((100vh - 110px) * 480 / 820)); aspect-ratio: 480 / 820; height: auto; border: 0; border-radius: 14px; background: #333; box-shadow: 0 14px 40px rgba(15,23,42,.18); }
.note + .card-more { margin-top: 0; }

.timeline-h + .card-more { margin-top: 24px; }
.prose .callout ul { margin-top: .5em; }
.prose .callout p + ul { margin-top: .4em; }

/* ---------- PQC checker ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.checker-form { display: flex; gap: 10px; margin-top: 30px; max-width: 620px; }
.checker-form input {
  flex: 1; min-width: 0; font: inherit; font-size: 1.05rem; padding: 14px 16px; border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff;
}
.checker-form input::placeholder { color: #64748b; }
.checker-form input:focus { outline: none; border-color: #67e8f9; background: rgba(255,255,255,.1); }
.checker-form .btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; padding: 14px 24px; }
.checker-form .btn:disabled { opacity: .7; cursor: wait; transform: none; }
.checker-try { margin-top: 14px; color: #94a3b8; font-size: .9rem; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.checker-try button { font: inherit; font-size: .85rem; color: #cbd5e1; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 4px 12px; cursor: pointer; }
.checker-try button:hover { color: #fff; border-color: #67e8f9; }

.checker-result-section { padding: 48px 0; scroll-margin-top: 64px; }
.checker-result { max-width: 760px; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; border-top: 5px solid var(--border); background: #fff; }
.checker-result.green { border-top-color: #16a34a; }
.checker-result.yellow { border-top-color: #f59e0b; }
.checker-result.red { border-top-color: #dc2626; }
.checker-result.error { border-top-color: #94a3b8; }
.checker-result.loading { display: flex; align-items: center; gap: 14px; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--border); border-top-color: var(--primary); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.result-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pill { font-size: .8rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.pill.green { background: #dcfce7; color: #166534; }
.pill.yellow { background: #fef3c7; color: #92400e; }
.pill.red { background: #fee2e2; color: #991b1b; }
.pill.error { background: #f1f5f9; color: #475569; }
.result-domain { font-weight: 600; color: var(--muted); word-break: break-all; }
.result-title { font-size: 1.5rem; font-weight: 800; margin-top: 14px; letter-spacing: -.01em; }
.result-desc { color: var(--muted); margin-top: 8px; }
.result-note { margin-top: 12px; padding: 12px 14px; background: var(--bg-alt); border-radius: 10px; font-size: .95rem; }
.result-rows { margin-top: 20px; border-top: 1px solid var(--border); }
.result-rows > div { display: grid; grid-template-columns: 220px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.result-rows dt { color: var(--muted); font-size: .95rem; }
.result-rows dd { font-weight: 600; }
.result-rows small { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; margin-top: 2px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.result-actions .btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.result-actions .btn-ghost { border: 1.5px solid var(--primary); }

.legend { list-style: none; display: grid; gap: 14px; }
.legend li { display: flex; gap: 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; }
.legend p { color: var(--muted); font-size: .95rem; }
.dot { flex: none; width: 14px; height: 14px; border-radius: 50%; margin-top: 5px; }
.dot.green { background: #16a34a; } .dot.yellow { background: #f59e0b; } .dot.red { background: #dc2626; }
.checker-limits { margin-top: 40px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--bg-alt); border-left: 3px solid var(--primary); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; }
.checker-limits p { flex: 1; min-width: 260px; }

@media (max-width: 600px) {
  .checker-form { flex-direction: column; }
  .result-rows > div { grid-template-columns: 1fr; gap: 2px; }
  .checker-result { padding: 22px 18px; }
}

.section h2 + .grid { margin-top: 32px; }

.tool-promo { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; background: #0b1023; color: #e2e8f0; border-radius: var(--radius); padding: 32px; }
.tool-promo .icon { font-size: 2.4rem; }
.tool-promo .eyebrow { color: #67e8f9; margin-bottom: 6px; }
.tool-promo h2 { color: #fff; }
.tool-promo p { color: #94a3b8; }
.tool-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.tool-actions .card-more { color: #67e8f9; margin-top: 0; }
@media (max-width: 860px) { .tool-promo { grid-template-columns: 1fr; padding: 26px 22px; } }

/* ---------- Articles: topic filters, code ---------- */
.filter-chips { margin: 0 0 28px; }
.filter-chips button { font: inherit; font-weight: 600; font-size: .9rem; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--text); cursor: pointer; }
.filter-chips button:hover { border-color: var(--primary); color: var(--primary); }
.filter-chips button.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.article-list [hidden] { display: none; }
.feed-link { margin-top: 28px; font-size: .9rem; }
.feed-link a { color: var(--muted); text-decoration: underline; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; background: var(--bg-alt); padding: 2px 6px; border-radius: 5px; }
.prose pre { background: #0b1023; color: #e2e8f0; padding: 16px 18px; border-radius: 10px; overflow-x: auto; font-size: .88rem; line-height: 1.55; }
.prose pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.prose h3 { font-size: 1.15rem; font-weight: 700; margin-top: 1.6em; }
.prose blockquote { border-left: 3px solid var(--border); padding-left: 16px; color: var(--muted); }
