/* ==========================================================================
   THISZAL. — Neo-Brutalist Streetwear / Editorial styles
   ========================================================================== */

:root {
  --bg-root: #09090b;
  --bg-card: #111318;
  --bg-raised: #171a21;
  --border: #222630;
  --border-hover: #3b82f6;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --muted-2: #71717a;
  --red: #ea2b2b;
  --cyan: #06b6d4;
  --blue: #3b82f6;

  --f-syne: 'Syne', sans-serif;
  --f-unbounded: 'Unbounded', sans-serif;
  --f-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --f-mono: 'Space Mono', ui-monospace, monospace;

  --radius: 14px;
  --shadow-hard: 6px 6px 0 0 #000;
  --header-h: 92px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-root);
  color: var(--text);
  font-family: var(--f-body);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }

.font-mono { font-family: var(--f-mono); }
.font-syne { font-family: var(--f-syne); }
.font-unbounded { font-family: var(--f-unbounded); }
.text-sticker { color: var(--red); }

.container-x {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

[data-lucide], .lucide { width: 18px; height: 18px; stroke-width: 2.25; flex-shrink: 0; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* Film grain overlay */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 100;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 9, 11, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.ticker {
  overflow: hidden;
  background: var(--text);
  color: #09090b;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  white-space: nowrap;
}
.ticker__track {
  display: inline-flex;
  gap: 48px;
  padding: 6px 0;
  animation: marquee 38s linear infinite;
}
.ticker__track span { display: inline-flex; align-items: center; gap: 8px; }
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, .6);
  animation: pulse 1.6s infinite;
}
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse {
  70% { box-shadow: 0 0 0 7px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 60px;
}
.brand {
  font-family: var(--f-unbounded);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -.02em;
  margin-right: auto;
}
.brand--lg { font-size: clamp(28px, 5vw, 44px); margin: 0; }

.nav__links {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--f-mono);
  font-size: 12px;
  text-transform: lowercase;
}
.nav__links a {
  display: block;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  transition: color .2s, border-color .2s;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--text); border-color: var(--border); }
.nav__num { color: var(--red); font-weight: 700; }

.nav__search-btn {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color .2s, transform .2s;
}
.nav__search-btn:hover { border-color: var(--blue); transform: rotate(-8deg); }

@media (max-width: 860px) {
  .nav__links { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding-block: clamp(32px, 6vw, 72px) clamp(28px, 5vw, 56px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--muted-2);
}
.eyebrow__bar { width: 28px; height: 2px; background: var(--red); }

.hero__title {
  margin: 0;
  display: flex;
  flex-direction: column;
  line-height: .9;
  letter-spacing: -.03em;
  text-transform: uppercase;
}
.ht { display: block; }
.ht--syne {
  font-family: var(--f-syne);
  font-weight: 800;
  font-size: clamp(52px, 9vw, 118px);
  text-transform: none;
  font-style: italic;
  letter-spacing: -.04em;
}
.ht--unbounded {
  font-family: var(--f-unbounded);
  font-weight: 900;
  font-size: clamp(38px, 6.8vw, 92px);
  color: var(--bg-root);
  background: var(--text);
  width: fit-content;
  padding: .04em .16em .08em;
  margin: .06em 0;
  transform: rotate(-1.5deg);
  box-shadow: 8px 8px 0 var(--red);
}
.ht--outline {
  font-family: var(--f-unbounded);
  font-weight: 800;
  font-size: clamp(30px, 5.4vw, 72px);
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text);
}
.ht--syne-inline {
  font-family: var(--f-syne);
  font-weight: 800;
  font-style: italic;
  text-transform: none;
  color: var(--red);
  -webkit-text-stroke: 0;
  letter-spacing: -.04em;
}

.hero__lede {
  max-width: 46ch;
  margin: 26px 0 28px;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.65;
  color: var(--muted);
}

.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.hero__stats { display: flex; gap: 22px; }
.hero__stats div { display: flex; flex-direction: column; gap: 2px; }
.hero__stats strong { font-size: 22px; color: var(--text); }
.hero__stats span { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 12px;
  border: 2px solid #000;
  font-family: var(--f-unbounded);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .02em;
  text-transform: uppercase;
  transition: transform .15s ease, box-shadow .15s ease, background .2s;
  user-select: none;
}
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 #000 !important; }
.btn--primary { background: var(--red); color: #fff; box-shadow: 5px 5px 0 #f4f4f5; }
.btn--primary:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 #f4f4f5; }
.btn--light { background: var(--text); color: #09090b; box-shadow: 5px 5px 0 var(--red); }
.btn--light:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--red); }
.btn--ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn--ghost:hover { border-color: var(--blue); }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; box-shadow: none; }

/* Scene */
.hero__scene { position: relative; }
.scene {
  position: relative;
  aspect-ratio: 6 / 7;
  max-height: 640px;
  margin-inline: auto;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #111;
  isolation: isolate;
}
.scene::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 40%, transparent 35%, rgba(0, 0, 0, .7) 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px);
}
/* Only the street is monochrome — the sticker keeps its red */
.scene__city { position: absolute; inset: 0; width: 100%; height: 100%; filter: grayscale(1) contrast(1.08); }

.scene__sticker {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 47%;
  width: 46%;
  transform: translate(-50%, -50%) rotate(-3.5deg);
  filter:
    drop-shadow(0 1px 0 rgba(0, 0, 0, .6))
    drop-shadow(3px 6px 6px rgba(0, 0, 0, .55))
    drop-shadow(10px 18px 22px rgba(0, 0, 0, .45));
  animation: slap .9s cubic-bezier(.2, 1.6, .4, 1) .25s both;
}
.scene__sticker img { width: 100%; height: auto; border-radius: 6%; }
.scene__shine {
  position: absolute;
  inset: 0;
  border-radius: 6%;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .45) 45%, transparent 60%);
  background-size: 250% 100%;
  animation: shine 5.5s ease-in-out 1.4s infinite;
}
@keyframes slap {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(-14deg) scale(1.7); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: translate(-50%, -50%) rotate(-3.5deg) scale(1); }
}
@keyframes shine {
  0%, 60% { background-position: 150% 0; }
  100% { background-position: -100% 0; }
}

.seal {
  position: absolute;
  z-index: 3;
  right: 5%;
  bottom: 9%;
  width: clamp(104px, 26%, 148px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.seal__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 16s linear infinite;
}
.seal__ring text {
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 15.2px;
  letter-spacing: .14em;
  fill: var(--text);
}
.seal::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(244, 244, 245, .35);
  background: rgba(9, 9, 11, .55);
  backdrop-filter: blur(3px);
}
.seal__core {
  position: relative;
  width: 44%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  font-size: 22px;
  border: 2px solid #000;
  box-shadow: 3px 3px 0 #000;
}
@keyframes spin { to { transform: rotate(360deg); } }

.scene__label {
  position: absolute;
  z-index: 3;
  left: 14px;
  top: 14px;
  font-size: 10px;
  letter-spacing: .1em;
  padding: 4px 8px;
  background: rgba(9, 9, 11, .7);
  border: 1px solid rgba(255, 255, 255, .12);
  color: var(--muted);
  border-radius: 4px;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__scene { order: -1; }
  .scene { aspect-ratio: 4 / 3.4; max-height: 440px; }
  .scene__sticker { width: 52%; }
}

/* ==========================================================================
   Category tabs
   ========================================================================== */

.tabs-wrap {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(9, 9, 11, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-block: 1px solid var(--border);
}
.tabs-row { position: relative; }
.tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding-block: 12px;
  -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 32px), transparent);
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: color .2s, border-color .2s, background .2s, transform .15s;
}
.tab:hover { color: var(--text); border-color: #3a3f4c; }
.tab[aria-selected="true"] {
  color: #09090b;
  background: var(--text);
  border-color: var(--text);
  box-shadow: 3px 3px 0 var(--red);
  transform: translate(-1px, -1px);
}
.tab__count {
  font-family: var(--f-mono);
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}
.tab[aria-selected="true"] .tab__count { background: rgba(0, 0, 0, .1); }

.search-row { padding-bottom: 12px; }
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  height: 46px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  color: var(--muted);
  transition: border-color .2s;
}
.search:focus-within { border-color: var(--blue); }
.search input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text);
  font: inherit;
  font-size: 15px;
}

/* ==========================================================================
   Feed — horizontal split rows (ala Detik)
   ========================================================================== */

.feed-section { padding-bottom: 72px; }
.feed-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  padding-top: 28px;
}
@media (max-width: 1000px) {
  .feed-grid { grid-template-columns: 1fr; }
  .side { display: none; }
}

.feed-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--text);
  margin-bottom: 4px;
}
.feed-head__title { margin: 0; font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -.02em; }
.feed-head__title .font-syne { font-style: italic; }
.feed-head__meta { font-size: 11px; color: var(--muted-2); letter-spacing: .08em; text-transform: uppercase; }

.feed { list-style: none; margin: 0; padding: 0; }
.feed > li { border-bottom: 1px solid var(--border); }

.row {
  display: grid;
  grid-template-columns: clamp(124px, 34vw, 240px) minmax(0, 1fr);
  gap: clamp(12px, 2.5vw, 22px);
  padding: 16px 0;
  border-radius: 6px;
  transition: background .2s;
  animation: rise .45s ease both;
}
.row:hover { background: linear-gradient(90deg, rgba(59, 130, 246, .06), transparent 70%); }
.row:hover .row__thumb { border-color: var(--blue); }
.row:hover .row__thumb img { transform: scale(1.05); }
.row:hover .row__title { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--red); }

@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

.row__thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  background: var(--bg-raised);
  transition: border-color .2s;
}
.row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.thumb-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--f-unbounded);
  font-weight: 900;
  font-size: clamp(18px, 3vw, 28px);
  color: #2b303c;
  background: repeating-linear-gradient(-45deg, #12151b 0 10px, #151922 10px 20px);
}

.badge {
  position: absolute;
  left: 8px;
  top: 8px;
  max-width: calc(100% - 16px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  font-family: var(--f-unbounded);
  font-weight: 800;
  font-size: clamp(9px, 1.6vw, 11px);
  letter-spacing: .02em;
  border: 1.5px solid #000;
  box-shadow: 2px 2px 0 #000;
  transform: rotate(-2deg);
}
.badge--free { background: var(--cyan); color: #04141a; }

.row__body { display: flex; flex-direction: column; min-width: 0; gap: 8px; padding-top: 2px; }

.row__cat {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
}
.row__title {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: clamp(15px, 1.9vw, 20px);
  line-height: 1.35;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s;
}
.row__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: auto;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--muted-2);
}
.row__meta .lucide, .row__meta [data-lucide] { width: 13px; height: 13px; }
.row__time { display: inline-flex; align-items: center; gap: 5px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1.5px dashed #3a3f4c;
  background: rgba(6, 182, 212, .06);
  color: var(--cyan);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pill--none { color: var(--muted-2); background: transparent; border-style: solid; border-color: var(--border); }

@media (max-width: 520px) { .row__meta .row__views { display: none; } }
.row__excerpt {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 760px) { .row__excerpt { display: none; } }

/* Skeleton */
.skeleton .row__thumb, .skeleton .sk {
  background: linear-gradient(90deg, #12151b 25%, #1a1e27 50%, #12151b 75%);
  background-size: 200% 100%;
  animation: shimmer 1.3s infinite;
}
.sk { height: 14px; border-radius: 6px; }
@keyframes shimmer { to { background-position: -200% 0; } }

.empty {
  padding: 56px 16px;
  text-align: center;
  color: var(--muted);
}
.empty__title { font-family: var(--f-unbounded); font-weight: 800; font-size: 20px; color: var(--text); margin: 0 0 8px; }

/* Sidebar */
.side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: calc(var(--header-h) + 90px); align-self: start; }
.side-card {
  padding: 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}
.side-card__kicker { margin: 0 0 14px; font-size: 11px; color: var(--muted-2); letter-spacing: .1em; }
.side-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.side-steps li { display: flex; gap: 12px; }
.side-steps span { font-family: var(--f-mono); color: var(--red); font-weight: 700; }
.side-steps b { color: var(--text); }
.side-card--sticker img { transform: rotate(-3.5deg); margin: 4px auto 16px; width: 82%; filter: drop-shadow(4px 6px 0 #000); }
.side-card--sticker p { margin: 0; font-size: 11px; line-height: 1.7; color: var(--muted-2); }

/* ==========================================================================
   Detail view
   ========================================================================== */

.detail-top { padding-top: 22px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--muted);
  transition: color .2s, gap .2s;
}
.back-link:hover { color: var(--text); gap: 12px; }

.detail { padding-top: 18px; padding-bottom: 80px; animation: rise .4s ease both; }

.detail__banner {
  position: relative;
  aspect-ratio: 21 / 9;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  background: var(--bg-raised);
}
.detail__banner img { width: 100%; height: 100%; object-fit: cover; }
.detail__banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(9, 9, 11, .85));
}
.detail__banner .badge { left: 16px; top: 16px; font-size: 14px; padding: 7px 12px; box-shadow: 3px 3px 0 #000; }
@media (max-width: 640px) { .detail__banner { aspect-ratio: 4 / 3; border-radius: 14px; } }

.detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  margin-top: -64px;
  position: relative;
  z-index: 2;
}
@media (max-width: 960px) {
  .detail__layout { grid-template-columns: 1fr; margin-top: 20px; gap: 24px; }
}

.detail__head { padding: 0 clamp(0px, 2vw, 24px); }
@media (max-width: 960px) { .detail__head { padding: 0; } }
.detail__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-bottom: 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--muted);
  text-transform: uppercase;
}
.detail__kicker .cat-chip {
  padding: 4px 10px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  border-radius: 4px;
  border: 1.5px solid #000;
}
.detail__kicker span { display: inline-flex; align-items: center; gap: 5px; }
.detail__kicker .lucide, .detail__kicker [data-lucide] { width: 13px; height: 13px; }

.detail__title {
  margin: 0 0 24px;
  font-family: var(--f-unbounded);
  font-weight: 800;
  font-size: clamp(24px, 3.6vw, 44px);
  line-height: 1.12;
  letter-spacing: -.025em;
}

/* Prose (markdown content) */
.prose {
  font-size: 16.5px;
  line-height: 1.8;
  color: #d4d4d8;
  max-width: 70ch;
}
.prose h2, .prose h3 {
  margin: 2em 0 .6em;
  color: var(--text);
  line-height: 1.2;
}
.prose h2 {
  font-family: var(--f-syne);
  font-weight: 800;
  font-size: clamp(22px, 2.6vw, 28px);
  letter-spacing: -.02em;
  display: flex;
  align-items: center;
  gap: 12px;
}
.prose h2::before { content: ''; width: 18px; height: 4px; background: var(--red); flex-shrink: 0; }
.prose h3 { font-family: var(--f-unbounded); font-weight: 700; font-size: 17px; }
.prose p { margin: 0 0 1.1em; }
.prose strong { color: var(--text); font-weight: 700; }
.prose em { color: var(--text); }
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.prose code {
  font-family: var(--f-mono);
  font-size: .86em;
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  color: var(--cyan);
}
.prose ul, .prose ol { margin: 0 0 1.3em; padding: 0; list-style: none; }
.prose li { position: relative; padding-left: 36px; margin-bottom: .55em; }
.prose ol { counter-reset: step; }
.prose ol > li { counter-increment: step; }
.prose ol > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: .2em;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
}
.prose ul > li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: .72em;
  width: 10px;
  height: 2px;
  background: var(--red);
}
.prose blockquote {
  margin: 0 0 1.2em;
  padding: 12px 18px;
  border-left: 3px solid var(--red);
  background: var(--bg-card);
  border-radius: 0 10px 10px 0;
}

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.tag {
  font-family: var(--f-mono);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
}

/* Action card */
.action {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  align-self: start;
  padding: 22px;
  border-radius: 18px;
  background: var(--bg-card);
  border: 2px solid var(--text);
  box-shadow: 8px 8px 0 var(--red);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (max-width: 960px) { .action { position: relative; top: 0; order: -1; box-shadow: 6px 6px 0 var(--red); } }

.action__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
}
.status--active { color: #4ade80; background: rgba(34, 197, 94, .1); border: 1px solid rgba(34, 197, 94, .3); }
.status--active::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; animation: pulse 1.6s infinite; }
.status--expired { color: #fca5a5; background: rgba(234, 43, 43, .1); border: 1px solid rgba(234, 43, 43, .35); }

.action__badge {
  font-family: var(--f-unbounded);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1;
  letter-spacing: -.03em;
}

.coupon {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border: 2px dashed #3a3f4c;
  border-radius: 12px;
  background:
    radial-gradient(circle at 0 50%, var(--bg-root) 9px, transparent 10px),
    radial-gradient(circle at 100% 50%, var(--bg-root) 9px, transparent 10px),
    var(--bg-raised);
}
.coupon__label { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; color: var(--muted-2); }
.coupon__code {
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: clamp(18px, 2.4vw, 22px);
  letter-spacing: .1em;
  color: var(--cyan);
  word-break: break-all;
}
.coupon__none { font-size: 14px; color: var(--muted); line-height: 1.5; }

.btn--copy { width: 100%; background: var(--text); color: #09090b; box-shadow: 4px 4px 0 #000; border-color: #000; }
.btn--copy:hover { background: #fff; }
.btn--copy.is-copied { background: #22c55e; color: #04140a; }
.btn--claim { width: 100%; min-height: 58px; font-size: 14px; }

.action__fine { margin: 0; font-family: var(--f-mono); font-size: 10.5px; line-height: 1.6; color: var(--muted-2); }
.action__stats { display: flex; gap: 16px; font-family: var(--f-mono); font-size: 11px; color: var(--muted-2); }
.action__stats span { display: inline-flex; align-items: center; gap: 6px; }
.action__stats .lucide, .action__stats [data-lucide] { width: 13px; height: 13px; }

.related { margin-top: 56px; }

/* Not found */
.notfound { text-align: center; padding: 80px 16px; }
.notfound img { width: 220px; margin: 0 auto 24px; transform: rotate(-6deg); filter: grayscale(1) drop-shadow(6px 8px 0 #000); }
.notfound h1 { font-family: var(--f-unbounded); font-weight: 900; font-size: clamp(28px, 5vw, 48px); margin: 0 0 10px; }
.notfound p { color: var(--muted); margin: 0 0 28px; }

/* ==========================================================================
   Footer & toast
   ========================================================================== */

.site-footer { border-top: 1px solid var(--border); padding-block: 36px 48px; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: flex-end; }
.footer__tag { margin: 8px 0 0; font-size: 12px; color: var(--muted-2); }
.footer__meta { font-size: 11px; color: var(--muted-2); text-align: right; }
.footer__meta p { margin: 2px 0; }
@media (max-width: 640px) { .footer__meta { text-align: left; } }

.toast {
  position: fixed;
  z-index: 200;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  transform: translate(-50%, 20px);
  opacity: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 12px;
  background: var(--text);
  color: #09090b;
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 13px;
  border: 2px solid #000;
  box-shadow: 5px 5px 0 var(--red);
  transition: opacity .2s ease, transform .25s cubic-bezier(.2, 1.4, .4, 1);
  max-width: calc(100vw - 32px);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast.is-error { box-shadow: 5px 5px 0 #f59e0b; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}
