/* IndieVertical — website interaction layer on top of the locked Marquee direction.
   Loads after directions.css + marquee-extra.css. Everything inside .pp.dir-marquee. */

html, body { margin: 0; padding: 0; background: #fffcf4; }

:focus-visible { outline: 2.5px solid var(--cool); outline-offset: 3px; border-radius: 3px; }

.skip-link {
  position: absolute;
  top: -9999px; left: 12px;
  background: var(--cool); color: var(--bg);
  padding: 8px 16px; border-radius: 0 0 var(--radius) var(--radius);
  font-size: 13px; font-weight: 700;
  z-index: 200;
  transition: top 0s;
}
.skip-link:focus { top: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.link-chip {
  display: inline-block;
  padding: 4px 12px;
  border: 1.5px solid var(--line);
  border-radius: 99px;
  font-size: 13px; font-weight: 600;
  color: var(--muted); background: var(--bg);
}

.pp { min-height: 100vh; display: flex; flex-direction: column; }
.pp > .ftr { margin-top: auto; }
/* .pp is a flex column: auto side margins on centered containers disable stretch,
   collapsing them to fit-content. Force them back to full row width. */
.pp-fold, .pp-body, .shelfwrap, .pagehead, .results-bar, .bgrid, .pgn, .lowdensity,
.prose, .edwrap, .devstrip-inner, .pp-banner-inner, .su-stage, .fbar,
.blog-list, .blog-post {
  width: 100%;
  box-sizing: border-box;
}
.pp a { color: inherit; text-decoration: none; }

/* ---------- header / nav ---------- */
.pp-header { position: sticky; top: 0; z-index: 50; }
a.pp-logo { color: var(--ink); }
.pp-nav a { color: var(--muted); transition: color .12s ease; }
.pp-nav a:hover { color: var(--ink); }
.pp-nav a.on { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.pp-nav a.nav-login { color: var(--ink); }
.pp-nav a.nav-signup { color: var(--bg); transition: transform .09s ease; }
.pp-nav a.nav-signup:hover { transform: translate(-1px, -1px); }
.pp-nav .nav-logout { cursor: pointer; }
.ftr a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- buttons ---------- */
.btn { cursor: pointer; user-select: none; transition: transform .09s ease, box-shadow .09s ease, opacity .12s ease; }
/* anchors styled as primary buttons: beat the `.pp a { color: inherit }` reset */
.pp a.btn-primary { color: var(--bg); }
.pp a.banner-edit { color: rgba(255,255,255,.92); }
.btn-primary:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 rgba(21,17,12,.3); }
.btn-primary:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 rgba(21,17,12,.3); }
.btn-secondary:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn-secondary:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--ink); }
.btn.dis { opacity: .45; }
.btn.dis:hover, .btn.dis:active { transform: none; box-shadow: 3px 3px 0 rgba(21,17,12,.3); }
button.btn, button.btn-ghost, button.fdrop, button.ftoggle, button.fclear, button.vb {
  font-family: var(--font-ui);
}
.btn-ghost { cursor: pointer; background: transparent; border: none; padding: 0; }
.btn-ghost:hover { color: var(--cool); }

/* ---------- game list rows (browse + promoted) ---------- */
.blist {
  max-width: 1376px;
  margin: 0 auto;
  padding: 14px 32px 8px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
a.rowlink { display: block; }
.grow {
  display: grid;
  grid-template-columns: 236px 1fr auto;
  gap: 22px;
  align-items: center;
  background: var(--surface);
  border: var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  padding: 14px 16px;
  transition: transform .12s ease, box-shadow .12s ease;
}
a.rowlink:hover .grow { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.grow .gr-art { aspect-ratio: 16 / 9; border-radius: var(--radius); border: 1.5px solid var(--ink); }
.grow .gr-name-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 2px; }
.grow .gr-name {
  font-family: var(--font-title);
  font-weight: var(--title-weight);
  letter-spacing: var(--title-spacing);
  font-size: 22px;
}
.gr-flag {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 9px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.gr-flag.cool { background: var(--cool-bg); color: var(--cool); border: 1.5px solid var(--cool); }
.gr-flag.warm { background: var(--warm-bg); color: var(--warm); border: 1.5px solid var(--warm); }
.grow .gr-hook { font-size: 14px; line-height: 1.45; margin: 0; text-wrap: pretty; }
.grow .gr-tags { font-size: 11.5px; color: var(--muted); font-weight: 600; letter-spacing: .02em; margin-top: 4px; }
.grow .badge-row { margin-top: 9px; }
.grow .badge-row .badge { font-size: 10.5px; padding: 3px 9px; }
.grow .gr-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
  padding-right: 4px;
}
.grow .gr-meta .gm-k { font-weight: 700; color: var(--ink); }
.grow.is-promo { border: 2px solid var(--warm); box-shadow: 4px 4px 0 var(--warm); }
a.rowlink:hover .grow.is-promo { box-shadow: 6px 6px 0 var(--warm); }
.promo-list { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.promo-list .grow { background: var(--bg); }
a.promo-note {
  display: inline-block;
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--warm);
}
a.promo-note:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- game cards as links ---------- */
a.cardlink { display: block; height: 100%; }
a.cardlink .gcard { height: 100%; display: flex; flex-direction: column; }
a.cardlink .gcard .gc-body { flex: 1; }
.gcard { transition: transform .12s ease, box-shadow .12s ease; }
a.cardlink:hover .gcard { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
a.cardlink:hover .gcard.is-pick { box-shadow: 6px 6px 0 var(--cool); }
a.cardlink:hover .gcard.is-promo { box-shadow: 6px 6px 0 var(--warm); }

/* ---------- devstrip intro line ---------- */
.dev-intro {
  margin: -18px auto 28px;
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
  text-wrap: pretty;
}

/* ---------- real inputs ---------- */
input.f-input, textarea.f-input, select.f-input {
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--ink);
  display: block;
}
.f-input:focus { outline: 2px solid var(--cool); outline-offset: 1px; border-color: var(--cool); }
.f-input::placeholder { color: var(--muted); opacity: 1; }
textarea.f-input { resize: vertical; min-height: 84px; line-height: 1.5; }
select.f-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' fill='none' stroke='%2315110c' stroke-width='1.8' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
  cursor: pointer;
}

/* ---------- filter bar: live controls ---------- */
.dd { position: relative; display: inline-block; }
button.fdrop { cursor: pointer; }
button.fdrop:hover { border-color: var(--ink); }
button.fdrop.set { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.dd-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 196px;
  background: var(--bg);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 rgba(21,17,12,.18);
  z-index: 45;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 320px;
  overflow: auto;
}
.dd-opt {
  text-align: left;
  border: none;
  background: transparent;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 10px;
  border-radius: 6px;
  cursor: pointer;
  color: var(--ink);
  white-space: nowrap;
}
.dd-opt:hover { background: var(--cool-bg); }
.dd-opt.sel { background: var(--ink); color: var(--bg); }
.fbar .fsearch { cursor: text; }
.fbar .fsearch input {
  border: none;
  background: transparent;
  font-family: var(--font-ui);
  font-size: 13.5px;
  color: var(--ink);
  outline: none;
  flex: 1;
  min-width: 0;
  padding: 0;
}
button.ftoggle { cursor: pointer; }
.fbar button.ftoggle.off, .fbar button.ftoggle.cool-t.off { background: var(--bg); border-color: var(--line); color: var(--muted); }
button.fclear { cursor: pointer; background: none; border: none; color: var(--ink); }
button.fclear:hover { color: var(--cool); }
.results-bar .sort { position: relative; }
.results-bar .dd .fdrop { cursor: pointer; }

/* ---------- gate: show-to-scouts value ---------- */
.gate-open {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--cool-bg);
  border: 2px solid var(--cool);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  max-width: 560px;
}
.gate-open .g-v { font-weight: 800; font-size: 16px; }
.gate-open .g-w { font-size: 12px; color: var(--cool); font-weight: 700; }
.gate-open .lock {
  width: 34px; height: 34px; flex: none;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--cool);
  color: var(--cool);
  display: flex; align-items: center; justify-content: center;
}

/* ---------- status banners (pending / draft) ---------- */
.pending button.demo-act {
  margin-left: 12px;
  background: none;
  border: none;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 800;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.pending.is-draft { background: var(--warm-bg); border-bottom-color: var(--warm); color: var(--warm); }

/* ---------- generic screenshot tints ---------- */
.shot.f1 { filter: saturate(1.18); }
.shot.f2 { filter: hue-rotate(22deg) brightness(.9); }
.shot.f3 { filter: hue-rotate(-26deg) brightness(1.08); }
.shot.f4 { filter: brightness(.78) saturate(.85); }

/* ---------- art pool for new projects ---------- */
.art-newa { background:
  radial-gradient(90% 80% at 25% 15%, #8a93dd 0%, rgba(138,147,221,0) 52%),
  linear-gradient(160deg, #3a3f78 0%, #23264c 55%, #151833 100%); }
.art-newb { background:
  radial-gradient(90% 80% at 75% 18%, #e0b15c 0%, rgba(224,177,92,0) 52%),
  linear-gradient(165deg, #7a4a26 0%, #4a2c16 55%, #2c1a0d 100%); }
.art-newc { background:
  radial-gradient(90% 80% at 30% 20%, #6dc4a0 0%, rgba(109,196,160,0) 52%),
  linear-gradient(160deg, #25564a 0%, #16352e 55%, #0d211c 100%); }

/* ---------- app chrome: sidebar, threads ---------- */
a.s-item { cursor: pointer; }
a.s-item:hover { color: var(--ink); }
a.s-item.on:hover { color: var(--bg); }
.thr { cursor: pointer; }
.thr:hover { background: var(--bg); }
button.t-arch { background: none; border: none; font-family: var(--font-ui); cursor: pointer; }
button.t-arch:hover { color: var(--ink); }
.compose textarea.f-input { min-height: 44px; height: 44px; padding-top: 11px; }
button.n-rm { background: none; border: none; font-family: var(--font-ui); cursor: pointer; }
button.n-rm:hover { color: var(--warm); }

/* ---------- visibility toggle (interactive) ---------- */
button.vb { cursor: pointer; }
button.vb:hover { color: var(--ink); }
button.vb.on:hover { color: var(--bg); }

/* ---------- modal (site-level, fixed) ---------- */
.modal-scrim { position: fixed; inset: 0; z-index: 70; padding: 24px; }
.modal { max-height: 86vh; overflow: auto; max-width: 100%; }

/* ---------- role switcher (demo chrome) ---------- */
.rolebar {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 2px;
  background: #15110c;
  color: #fffcf4;
  border-radius: 99px;
  padding: 5px 7px 5px 16px;
  box-shadow: 4px 4px 0 rgba(21,17,12,.25);
  font-size: 12px;
  font-weight: 700;
  font-family: "Public Sans", sans-serif;
}
.rolebar .rb-l {
  opacity: .6;
  margin-right: 8px;
  letter-spacing: .07em;
  text-transform: uppercase;
  font-size: 10px;
}
.rolebar button {
  border: none;
  background: transparent;
  color: rgba(255,252,244,.7);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 99px;
  cursor: pointer;
  white-space: nowrap;
}
.rolebar button:hover { color: #fffcf4; }
.rolebar button.on { background: #fffcf4; color: #15110c; }
.rolebar button.rb-reset { opacity: .55; font-weight: 600; }
.rolebar button.rb-reset:hover { opacity: 1; }

/* ---------- toast ---------- */
.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: #15110c;
  color: #fffcf4;
  padding: 11px 20px;
  border-radius: 8px;
  font-family: "Public Sans", sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  z-index: 90;
  box-shadow: 4px 4px 0 rgba(21,17,12,.25);
  animation: toast-in .18s ease;
  max-width: min(520px, 86vw);
  text-align: center;
}
@keyframes toast-in {
  from { opacity: 0; transform: translateX(-50%) translateY(8px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ---------- misc page bits ---------- */
.more-link:hover { color: var(--cool); }
.see-all:hover { color: var(--cool); }
.banner-edit {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  color: rgba(255,255,255,.92);
  background: rgba(8,10,8,.5);
  padding: 6px 14px;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,.4);
}
.banner-edit:hover { background: rgba(8,10,8,.75); }
.empty-inline { font-size: 13.5px; color: var(--muted); }
.req-note { font-size: 12.5px; color: var(--warm); font-weight: 700; margin-top: 8px; }

/* upload placeholder in editor */
.upload { cursor: default; }
.upload .up-swatches {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 6px;
}
.upload .up-swatches button {
  width: 26px; height: 26px;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,.8);
  cursor: pointer;
  padding: 0;
}
.upload .up-swatches button.on { border-color: #fff; outline: 2px solid #15110c; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .shelf4 { grid-template-columns: 1fr 1fr; }
  .promo-grid, .shelf3, .bgrid, .slist, .statcards, .dev3 { grid-template-columns: 1fr 1fr; }
  .pp-fold { grid-template-columns: 1fr; }
  .edwrap { grid-template-columns: 1fr; }
  .prevcol { display: none; }
  .pp-body { display: block; }
  .shots { flex-wrap: wrap; }
}
@media (max-width: 980px) {
  .grow { grid-template-columns: 200px 1fr; }
  .grow .gr-meta { display: none; }
}
@media (max-width: 760px) {
  .grow { grid-template-columns: 1fr; }
  .blist { padding-left: 18px; padding-right: 18px; }
  .pp-header { gap: 12px; padding: 0 18px; overflow-x: auto; }
  .pp-nav { gap: 14px; }
  .shelf4, .promo-grid, .shelf3, .bgrid, .slist, .statcards, .dev3, .f-grid2 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .pagehead h1 { font-size: 30px; }
  .pp-banner h1 { font-size: 38px; }
  .app { grid-template-columns: 1fr; }
  .side { flex-direction: row; border-right: none; border-bottom: 2px solid var(--line); padding: 10px 16px; }
  .ibx { grid-template-columns: 1fr; }
  .ibx-list { border-right: none; border-bottom: 2px solid var(--line); }
  .shelfwrap, .pagehead, .results-bar, .bgrid, .pgn, .main, .edwrap, .prose { padding-left: 18px; padding-right: 18px; }
  .su-card { width: 100%; padding: 24px 20px; }
  .role2 { grid-template-columns: 1fr; }
  .rolebar { left: 10px; bottom: 10px; }
  .blog-list { padding: 18px; }
  .blog-post { padding: 36px 18px 56px; }
  .bp-title { font-size: 30px; }
  .bp-pn { flex-direction: column; gap: 8px; }
  .pp-fold > div:first-child { order: 2; }
  .pp-fold .rail { order: 1; }
}

/* ---------- resources ---------- */
.res-sh {
  font-family: var(--font-title);
  font-weight: var(--title-weight);
  letter-spacing: var(--title-spacing);
  font-size: 20px;
  margin: 0 0 4px;
  color: var(--ink);
}
.rc-head { display: flex; align-items: center; margin-bottom: 12px; }
.rc-badge {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 9px;
  border-radius: 99px;
  background: var(--warm-bg);
  color: var(--warm);
  border: 1.5px solid var(--warm);
}
.rc-dl { font-size: 13px; font-weight: 700; color: var(--cool); margin-top: 14px; }
a.blog-card-link:hover .rc-dl { text-decoration: underline; text-underline-offset: 3px; }
.res-links { margin-top: 16px; }
.rl-group { max-width: 820px; margin-bottom: 28px; }
.rl-group:last-child { margin-bottom: 0; }
.rl-gh {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin: 0;
}
a.rl-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1.5px solid var(--line);
  transition: color .12s ease;
}
.rl-group a.rl-row:first-of-type { border-top: 1.5px solid var(--line); }
.rl-main { flex: 1; min-width: 0; }
.rl-label { font-size: 15px; font-weight: 700; color: var(--ink); display: block; transition: color .12s ease; }
a.rl-row:hover .rl-label { color: var(--cool); }
.rl-note { font-size: 13px; color: var(--muted); display: block; margin-top: 2px; line-height: 1.45; text-wrap: pretty; }
.rl-domain { font-size: 12px; color: var(--muted); font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.rl-arrow { font-size: 15px; color: var(--muted); flex-shrink: 0; transition: color .12s ease; }
a.rl-row:hover .rl-arrow { color: var(--cool); }
.res-cta {
  max-width: 820px;
  margin: 24px auto 56px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
}
.res-cta p { margin: 0; font-size: 16px; color: var(--muted); text-wrap: pretty; }
@media (max-width: 760px) {
  .res-cta { padding: 0 18px; flex-direction: column; align-items: flex-start; }
}

/* ---------- resources ---------- */
.res-sh {
  font-family: var(--font-title);
  font-weight: var(--title-weight);
  letter-spacing: var(--title-spacing);
  font-size: 20px;
  margin: 0 0 4px;
  color: var(--ink);
}
.rc-head { display: flex; align-items: center; margin-bottom: 12px; }
.rc-badge {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 9px;
  border-radius: 99px;
  background: var(--warm-bg);
  color: var(--warm);
  border: 1.5px solid var(--warm);
}
.rc-dl { font-size: 13px; font-weight: 700; color: var(--cool); margin-top: 14px; }
a.blog-card-link:hover .rc-dl { text-decoration: underline; text-underline-offset: 3px; }
.res-links { margin-top: 16px; }
.rl-group { max-width: 820px; margin-bottom: 28px; }
.rl-group:last-child { margin-bottom: 0; }
.rl-gh {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin: 0;
}
a.rl-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1.5px solid var(--line);
  transition: color .12s ease;
}
.rl-group a.rl-row:first-of-type { border-top: 1.5px solid var(--line); }
.rl-main { flex: 1; min-width: 0; }
.rl-label { font-size: 15px; font-weight: 700; color: var(--ink); display: block; transition: color .12s ease; }
a.rl-row:hover .rl-label { color: var(--cool); }
.rl-note { font-size: 13px; color: var(--muted); display: block; margin-top: 2px; line-height: 1.45; text-wrap: pretty; }
.rl-domain { font-size: 12px; color: var(--muted); font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.rl-arrow { font-size: 15px; color: var(--muted); flex-shrink: 0; transition: color .12s ease; }
a.rl-row:hover .rl-arrow { color: var(--cool); }
.res-cta {
  max-width: 820px;
  margin: 24px auto 56px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
}
.res-cta p { margin: 0; font-size: 16px; color: var(--muted); text-wrap: pretty; }
@media (max-width: 760px) {
  .res-cta { padding: 0 18px; flex-direction: column; align-items: flex-start; }
}

/* ---------- blog ---------- */
.blog-list {
  max-width: 1376px;
  margin: 0 auto;
  padding: 10px 32px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}
a.blog-card-link { display: block; }
.blog-card {
  background: var(--surface);
  border: var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  padding: 26px 28px 24px;
  transition: transform .12s ease, box-shadow .12s ease;
  max-width: 820px;
}
a.blog-card-link:hover .blog-card {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}
.bc-tags {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}
.bc-tag {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 9px;
  border-radius: 99px;
  background: var(--cool-bg);
  color: var(--cool);
  border: 1.5px solid var(--cool);
}
.bc-tag.warm {
  background: var(--warm-bg);
  color: var(--warm);
  border-color: var(--warm);
}
.bc-time {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-left: 4px;
}
.blog-card .bc-title {
  font-family: var(--font-title);
  font-weight: var(--title-weight);
  letter-spacing: var(--title-spacing);
  font-size: 24px;
  margin: 0 0 8px;
  color: var(--ink);
}
.blog-card .bc-hook {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
  text-wrap: pretty;
  margin: 0 0 16px;
  max-width: 640px;
}
.bc-foot {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 12.5px;
  color: var(--muted);
}
.bc-author { font-weight: 700; color: var(--ink); }

/* blog post */
.blog-post {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 32px 64px;
  width: 100%;
  box-sizing: border-box;
}
.bp-tags {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
}
.bp-title {
  font-family: var(--font-title);
  font-weight: var(--title-weight);
  letter-spacing: var(--title-spacing);
  font-size: 42px;
  line-height: 1.08;
  margin: 0 0 12px;
  text-wrap: balance;
}
.bp-hook {
  font-size: 19px;
  color: var(--muted);
  line-height: 1.45;
  text-wrap: pretty;
  margin: 0 0 16px;
  max-width: 620px;
}
.bp-meta {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: center;
}
.bp-sep { opacity: .45; }
.bp-rule {
  border: none;
  border-top: 2px solid var(--line);
  margin: 24px 0;
}
.bp-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.bp-body p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  text-wrap: pretty;
}
.bp-body p strong { font-weight: 800; }
.bp-nav {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
a.bp-back {
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--ink);
}
a.bp-back:hover { color: var(--cool); }
.bp-pn {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}
a.bp-pn-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
a.bp-pn-link:hover { color: var(--ink); }

/* ---------- trailer: visual upgrade ---------- */
.trailer {
  background:
    linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 55%),
    radial-gradient(80% 100% at 50% 0%, #2b3338 0%, #181d20 70%);
}
.trailer .play {
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,.35);
}
.trailer:hover .play {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(0,0,0,.55);
}
.trailer .trailer-label {
  background: rgba(0,0,0,.5);
  padding: 3px 10px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 12px;
  border: 1px solid rgba(255,255,255,.15);
}

/* ---------- inbox back button (mobile only) ---------- */
.ibx-back {
  display: none;
  background: none;
  border: none;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  color: var(--cool);
  padding: 12px 20px 4px;
  cursor: pointer;
  text-align: left;
}
.ibx-back:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .ibx-back { display: block; } }

/* ---------- editor autosave label ---------- */
.ed-autosave { font-size: 12.5px; color: var(--muted); font-weight: 600; }
