/* Northern Hills — website styles */
:root {
  --night: #0a0e1a;
  --night-2: #111829;
  --night-3: #18223a;
  --ink: #f4ead8;
  --ink-dim: #b9ad99;
  --ink-faint: #7d7465;
  --gold: #f2b85a;
  --gold-hi: #ffd88a;
  --gold-lo: #b9782c;
  --wood: #4a2c17;
  --wood-hi: #6b4124;
  --wood-lo: #2a170b;
  --pine: #2f6b3a;
  --pine-hi: #4f9a4a;
  --ember: #e8743b;
  --frost: #9cc7e8;
  --danger: #e25b4f;
  --radius: 4px;
  --max: 1200px;
  --display: "Zilla Slab", Georgia, "Times New Roman", serif;
  --body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --notch: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hi); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
h4 { font-family: var(--display); font-weight: 700; margin: 0 0 .5em; }
h2 { font-size: clamp(30px, 4.4vw, 48px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.pixel { font-family: var(--display); font-weight: 700; }
.eyebrow {
  font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px; display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.lead { font-size: 19px; color: var(--ink-dim); max-width: 62ch; }
.muted { color: var(--ink-dim); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons: wooden planks from the title screen ---------- */
.btn {
  --b-bg: linear-gradient(180deg, var(--wood-hi) 0%, var(--wood) 55%, var(--wood-lo) 100%);
  --b-edge: #1a0d05;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px;
  font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .08em; text-transform: uppercase;
  color: #f7e6c8; text-shadow: 0 2px 0 rgba(0,0,0,.55);
  background: var(--b-bg);
  border: 0; cursor: pointer;
  clip-path: var(--notch);
  box-shadow: inset 0 0 0 3px var(--b-edge), inset 0 5px 0 rgba(255,255,255,.08), inset 0 -5px 0 rgba(0,0,0,.25);
  transition: transform .12s ease, filter .12s ease;
  white-space: nowrap;
}
.btn:hover { color: #fff3dc; filter: brightness(1.15); transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; filter: brightness(1.25); box-shadow: inset 0 0 0 3px var(--gold-hi), inset 0 5px 0 rgba(255,255,255,.08); }
.btn-gold {
  --b-bg: linear-gradient(180deg, #ffd88a 0%, #f2b85a 50%, #c98633 100%);
  --b-edge: #5a3010;
  color: #2a1608; text-shadow: 0 1px 0 rgba(255,240,200,.6);
}
.btn-gold:hover { color: #1d0f04; }
.btn-framed { box-shadow: inset 0 0 0 3px var(--b-edge), inset 0 0 0 6px var(--gold), inset 0 0 0 8px var(--b-edge), inset 0 8px 0 rgba(255,255,255,.08); }
.btn-ghost {
  --b-bg: rgba(10,14,26,.55);
  --b-edge: rgba(242,184,90,.7);
  backdrop-filter: blur(6px);
}
.btn-lg { padding: 18px 34px; font-size: 20px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { filter: grayscale(.7) brightness(.7); cursor: not-allowed; transform: none; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Top navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s ease, box-shadow .3s ease;
}
.nav.solid, .nav.always-solid {
  background: rgba(10,14,26,.88);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(242,184,90,.18), 0 10px 30px rgba(0,0,0,.35);
}
.nav-inner { display: flex; align-items: center; gap: 20px; height: 72px; }
.nav-logo { flex: none; }
.nav-logo img { height: 38px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.6)); }
.nav-links { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-links a {
  display: block; padding: 8px 14px;
  font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink); position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px;
  background: var(--gold); transform: scaleX(0); transition: transform .2s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a:hover, .nav-links a.active { color: var(--gold-hi); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-user {
  white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 15px;
  color: var(--ink); padding: 6px 10px; letter-spacing: .04em;
}
.avatar {
  width: 30px; height: 30px; display: grid; place-items: center;
  background: var(--pine); color: #fff; font-family: var(--display); font-weight: 700; font-size: 15px;
  clip-path: var(--notch); box-shadow: inset 0 0 0 2px #163b1e;
}
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 0; color: var(--ink); padding: 8px; cursor: pointer;
}
.nav-toggle svg { width: 28px; height: 28px; }
.mobile-menu { display: none; }

@media (max-width: 1400px) {
  .nav-actions .nav-name { display: none; }
}
@media (max-width: 1240px) {
  .nav-inner { gap: 12px; }
  .nav-links a { padding: 8px 9px; font-size: 15px; }
  .nav-links a::after { left: 9px; right: 9px; }
}
@media (max-width: 1080px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: block; }
  .mobile-menu.open {
    display: flex; flex-direction: column; gap: 6px;
    padding: 12px 16px 20px; background: rgba(10,14,26,.97);
    border-bottom: 1px solid rgba(242,184,90,.25);
  }
  .mobile-menu a:not(.btn) {
    font-family: var(--display); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: .06em;
    color: var(--ink); padding: 10px 4px; border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .mobile-menu .btn { margin-top: 8px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  overflow: hidden; isolation: isolate; text-align: center;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(10,14,26,0) 0%, rgba(10,14,26,.35) 70%),
    linear-gradient(180deg, rgba(10,14,26,.55) 0%, rgba(10,14,26,0) 22%, rgba(10,14,26,0) 55%, rgba(10,14,26,.85) 88%, var(--night) 100%);
}
.hero-content { padding: 120px 16px 110px; display: flex; flex-direction: column; align-items: center; }
.hero-logo {
  width: min(820px, 92vw); height: auto;
  filter: drop-shadow(0 0 30px rgba(255,190,90,.35)) drop-shadow(0 8px 0 rgba(0,0,0,.35));
  animation: logo-in 1.4s cubic-bezier(.2,.7,.2,1) both;
}
.hero-tag {
  font-family: var(--display); font-weight: 700; font-size: clamp(18px, 2.2vw, 24px); letter-spacing: .02em;
  color: #fff4dd; text-shadow: 0 2px 0 rgba(0,0,0,.7), 0 0 20px rgba(0,0,0,.6);
  margin: 22px 0 34px; animation: rise .9s .5s both;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; animation: rise .9s .75s both; }
.hero-meta {
  margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .08em; text-transform: uppercase;
  color: #f1e3c8; text-shadow: 0 2px 4px rgba(0,0,0,.9); animation: rise .9s 1s both;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; height: 18px; }
.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; translate: -50% 0; color: var(--gold);
  animation: bob 2s ease-in-out infinite; opacity: .85;
}
.scroll-cue svg { width: 28px; height: 28px; }
@keyframes logo-in { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(70px, 10vw, 130px) 0; }
.section-head { margin-bottom: 44px; }
.section-head.center { text-align: center; }
.section-head.center .lead { margin-inline: auto; }

/* Pixel divider: a strip of tiny pine silhouettes */
.treeline {
  height: 34px;
  background:
    linear-gradient(var(--night), var(--night)) bottom / 100% 6px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='34' shape-rendering='crispEdges'%3E%3Cpath fill='%23142a1c' d='M10 4h4v4h2v4h2v4h2v4h2v4h2v4h-6v6h-6v-6h-6v-4h2v-4h2v-4h2v-4h2V8h2zM34 12h4v4h2v4h2v4h2v4h2v4H24v-4h2v-4h2v-4h2v-4h2v-4h2z'/%3E%3C/svg%3E") bottom left / 48px 34px repeat-x;
}

/* ---------- Story / intro ---------- */
.intro { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.framed {
  position: relative; padding: 8px; background: var(--wood-lo);
  clip-path: var(--notch);
  box-shadow: inset 0 0 0 3px #120802, inset 0 0 0 6px var(--gold-lo), inset 0 0 0 8px #120802;
}
.framed img { width: 100%; height: auto; clip-path: polygon(2px 0, calc(100% - 2px) 0, 100% 2px, 100% calc(100% - 2px), calc(100% - 2px) 100%, 2px 100%, 0 calc(100% - 2px), 0 2px); }
.stat-row { display: flex; flex-wrap: wrap; gap: 26px 40px; margin-top: 28px; }
.stat b { font-variant-numeric: lining-nums tabular-nums; display: block; font-family: var(--display); font-weight: 700; font-size: 34px; color: var(--gold); line-height: 1; }
.stat span { font-size: 14px; color: var(--ink-dim); text-transform: uppercase; letter-spacing: .1em; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }

/* ---------- Feature cards ---------- */
.features { background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--night-3); border: 1px solid rgba(242,184,90,.12);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.feature:hover { transform: translateY(-6px); border-color: rgba(242,184,90,.5); box-shadow: 0 18px 40px rgba(0,0,0,.45), 0 0 0 1px rgba(242,184,90,.2); }
.feature-img { aspect-ratio: 16/9; overflow: hidden; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; transition: transform .6s ease; }
.feature:hover .feature-img img { transform: scale(1.06); }
.feature-body { padding: 20px 22px 24px; }
.feature-body h3 { color: var(--gold-hi); margin-bottom: 8px; }
.feature-body p { color: var(--ink-dim); font-size: 16px; margin: 0; }
@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Seasons ---------- */
.seasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; min-height: 440px; }
.season {
  position: relative; overflow: hidden; min-height: 440px;
  display: flex; align-items: flex-end; padding: 26px;
  transition: flex .4s ease;
}
.season img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease, filter .4s ease; filter: saturate(.85) brightness(.75); }
.season:hover img { transform: scale(1.08); filter: saturate(1.1) brightness(1); }
.season::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(5,8,16,.92)); }
.season-text { position: relative; z-index: 1; }
.season-text h3 { font-size: 30px; margin-bottom: 4px; }
.season-text p { font-size: 15px; color: #e6dccb; margin: 0; }
.season.spring h3 { color: #a9e07a; }
.season.summer h3 { color: #ffd66b; }
.season.autumn h3 { color: #ff9a4d; }
.season.winter h3 { color: #bfe1ff; }
@media (max-width: 960px) { .seasons { grid-template-columns: repeat(2, 1fr); } .season { min-height: 300px; } }
@media (max-width: 520px) { .seasons { grid-template-columns: 1fr; } .season { min-height: 240px; } }

/* ---------- The troll (dark section) ---------- */
.dark-tale {
  position: relative; overflow: hidden; isolation: isolate;
  background: #04060c; padding: clamp(90px, 13vw, 170px) 0;
}
.dark-tale-bg { position: absolute; inset: 0; z-index: -2; }
.dark-tale-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: brightness(.9) contrast(1.1); }
.dark-tale::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(4,6,12,.96) 0%, rgba(4,6,12,.82) 38%, rgba(4,6,12,.15) 75%, rgba(4,6,12,.4) 100%),
              linear-gradient(180deg, var(--night-2) 0%, transparent 18%, transparent 82%, var(--night) 100%);
}
.dark-tale .copy { max-width: 540px; }
.dark-tale h2 { color: #ffe9c2; text-shadow: 0 0 24px rgba(226,91,79,.35); }
.dark-tale .eyebrow { color: var(--danger); }
.dark-tale .eyebrow::before { background: var(--danger); box-shadow: 0 0 12px var(--danger); }
.rain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
  background-image: repeating-linear-gradient(105deg, transparent 0 22px, rgba(140,180,255,.5) 22px 23px, transparent 23px 60px);
  background-size: 200px 200px; animation: rain .5s linear infinite;
}
@keyframes rain { to { background-position: -40px 200px; } }
.eyes { display: inline-flex; gap: 14px; margin-bottom: 18px; }
.eyes i { width: 8px; height: 8px; background: #fff7d6; box-shadow: 0 0 10px 3px rgba(255,240,180,.8); animation: blink 5s infinite; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 12px; }
.gallery button {
  padding: 0; border: 0; background: var(--night-3); cursor: zoom-in; overflow: hidden;
  aspect-ratio: 16/9; position: relative; border-radius: 3px;
}
.gallery button:nth-child(1), .gallery button:nth-child(8) { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s ease; }
.gallery button:hover img { transform: scale(1.07); filter: brightness(1.1); }
.gallery button::after {
  content: attr(data-caption); position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 8px;
  font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .05em; text-align: left; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.8)); opacity: 0; transition: opacity .25s ease;
}
.gallery button:hover::after, .gallery button:focus-visible::after { opacity: 1; }
.gallery button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(3,5,10,.95);
  display: none; align-items: center; justify-content: center; padding: 60px 16px;
}
.lightbox.open { display: flex; animation: fade .2s ease; }
.lightbox img { max-height: 82vh; width: auto; max-width: min(1600px, 100%); box-shadow: 0 30px 80px rgba(0,0,0,.6); image-rendering: auto; }
.lightbox figcaption { text-align: center; margin-top: 14px; font-family: var(--display); font-weight: 700; color: var(--ink-dim); letter-spacing: .05em; }
.lb-btn {
  position: absolute; background: rgba(255,255,255,.06); border: 0; color: var(--ink); cursor: pointer;
  width: 52px; height: 52px; display: grid; place-items: center; clip-path: var(--notch);
}
.lb-btn:hover { background: var(--gold); color: #1d0f04; }
.lb-btn svg { width: 26px; height: 26px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; translate: 0 -50%; }
.lb-next { right: 16px; top: 50%; translate: 0 -50%; }
@keyframes fade { from { opacity: 0; } }

/* ---------- Trailer ---------- */
.trailer-box { position: relative; max-width: 1040px; margin-inline: auto; }
.trailer-box video { width: 100%; aspect-ratio: 16/9; background: #000; }
.trailer-poster {
  position: absolute; inset: 8px; display: grid; place-items: center; cursor: pointer; border: 0; padding: 0;
  background: #000 center / cover no-repeat;
}
.trailer-poster::before { content: ""; position: absolute; inset: 0; background: rgba(5,8,16,.35); transition: background .3s; }
.trailer-poster:hover::before { background: rgba(5,8,16,.1); }
.play-badge {
  position: relative; width: 96px; height: 96px; display: grid; place-items: center;
  background: var(--gold); color: #2a1608; clip-path: var(--notch);
  box-shadow: inset 0 0 0 4px #5a3010; transition: transform .2s ease;
}
.trailer-poster:hover .play-badge { transform: scale(1.1); }
.play-badge svg { width: 40px; height: 40px; margin-left: 6px; }

/* ---------- Editions / pricing ---------- */
.buy-section { background: radial-gradient(ellipse at 50% 0%, #1f2a1a 0%, var(--night) 60%); }
.editions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.edition {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--night-3), var(--night-2));
  border: 1px solid rgba(242,184,90,.15); border-radius: var(--radius);
  padding: 30px 26px 26px;
}
.edition.featured { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 24px 60px rgba(242,184,90,.12); transform: translateY(-10px); }
.edition .ribbon {
  position: absolute; top: -14px; left: 50%; translate: -50% 0;
  background: var(--gold); color: #2a1608; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 14px; clip-path: var(--notch);
}
.edition h3 { font-size: 26px; margin-bottom: 4px; }
.edition .tagline { color: var(--ink-dim); font-size: 15px; min-height: 48px; }
.price { font-variant-numeric: lining-nums tabular-nums; font-family: var(--display); font-weight: 700; font-size: 46px; color: var(--gold-hi); line-height: 1; margin: 12px 0 20px; }
.price small { font-size: 18px; color: var(--ink-faint); margin-left: 6px; }
.price s { font-size: 20px; color: var(--ink-faint); margin-right: 8px; }
.checklist { list-style: none; margin: 0 0 26px; padding: 0; flex: 1; }
.checklist li { position: relative; padding: 7px 0 7px 28px; font-size: 15.5px; border-bottom: 1px dashed rgba(255,255,255,.07); }
.checklist li::before {
  content: ""; position: absolute; left: 4px; top: 14px; width: 10px; height: 10px; background: var(--pine-hi);
  box-shadow: 0 0 0 2px #163b1e;
}
@media (max-width: 960px) { .editions { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } .edition.featured { transform: none; } }

.platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 40px; color: var(--ink-dim); font-size: 15px; }
.platforms span { display: inline-flex; align-items: center; gap: 8px; }
.platforms svg { width: 18px; height: 18px; color: var(--gold); }

/* ---------- Newsletter ---------- */
.newsletter {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  background: var(--wood-lo); padding: 34px clamp(20px, 4vw, 44px);
  clip-path: var(--notch);
  box-shadow: inset 0 0 0 3px #120802, inset 0 0 0 6px var(--gold-lo), inset 0 0 0 8px #120802;
}
.newsletter h3 { font-size: 26px; margin-bottom: 4px; }
.newsletter p { margin: 0; color: var(--ink-dim); }
.inline-form { display: flex; gap: 10px; }
@media (max-width: 860px) { .newsletter { grid-template-columns: 1fr; } .inline-form { flex-direction: column; } }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-dim); }
.input {
  width: 100%; padding: 13px 14px; font: inherit; font-size: 16px; color: var(--ink);
  background: #0b101d; border: 2px solid #2a3450; border-radius: 3px; outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input::placeholder { color: #5b6380; }
.input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242,184,90,.18); }
.input.invalid { border-color: var(--danger); }
.field-error { color: #ff8b80; font-size: 14px; min-height: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-dim); margin-bottom: 18px; cursor: pointer; }
.check input { accent-color: var(--gold); width: 18px; height: 18px; margin-top: 3px; flex: none; }
.form-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; font-size: 15px; }
.form-row .check { margin: 0; }
.divider { display: flex; align-items: center; gap: 14px; color: var(--ink-faint); font-size: 14px; margin: 22px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.1); }
.social-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.social-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; padding: 11px; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 600; color: var(--ink);
  background: #0f1525; border: 2px solid #2a3450; border-radius: 3px; transition: border-color .15s;
}
.social-btn:hover { border-color: var(--gold); }
.social-btn svg { width: 20px; height: 20px; }

/* ---------- Auth / panel pages ---------- */
.page-bg {
  position: fixed; inset: 0; z-index: -1;
  background: url("../assets/shots/title.jpg") center 40% / cover no-repeat;
}
.page-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,26,.7), rgba(10,14,26,.94) 60%, var(--night)); backdrop-filter: blur(3px); }
.page-main { min-height: 100svh; padding: 120px 0 80px; }
.panel {
  background: rgba(17,24,41,.92); border: 1px solid rgba(242,184,90,.2); border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5); padding: clamp(24px, 4vw, 40px);
  backdrop-filter: blur(8px);
}
.auth { width: min(460px, 100%); margin-inline: auto; }
.auth-logo { width: 260px; margin: 0 auto 26px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 26px; border-bottom: 2px solid #2a3450; }
.tab {
  background: none; border: 0; cursor: pointer; padding: 12px; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-faint); position: relative;
}
.tab[aria-selected="true"] { color: var(--gold-hi); }
.tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--gold); }
.notice {
  display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; margin-bottom: 20px; font-size: 15px;
  background: rgba(242,184,90,.08); border-left: 3px solid var(--gold); color: var(--ink);
}
.notice svg { width: 20px; height: 20px; flex: none; color: var(--gold); margin-top: 2px; }
.notice.success { background: rgba(79,154,74,.12); border-color: var(--pine-hi); }
.notice.success svg { color: var(--pine-hi); }
.fine { font-size: 13px; color: var(--ink-faint); text-align: center; margin: 18px 0 0; }

/* ---------- Store / checkout ---------- */
.store-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .store-grid { grid-template-columns: 1fr; } }
.option-list { display: grid; gap: 12px; }
.option {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; cursor: pointer;
  padding: 16px 18px; background: #0f1525; border: 2px solid #2a3450; border-radius: 4px; transition: border-color .15s, background .15s;
}
.option:hover { border-color: #4b5878; }
.option:has(input:checked) { border-color: var(--gold); background: rgba(242,184,90,.07); }
.option input { accent-color: var(--gold); width: 18px; height: 18px; }
.option b { font-family: var(--display); font-weight: 700; font-size: 19px; display: block; }
.option small { color: var(--ink-dim); font-size: 14px; }
.option .opt-price { font-variant-numeric: lining-nums tabular-nums; font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--gold-hi); }
.pay-methods { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.pay-methods .option { grid-template-columns: auto 1fr; padding: 14px; }
@media (max-width: 560px) { .pay-methods { grid-template-columns: 1fr; } }
.summary h3 { margin-bottom: 16px; }
.summary-item { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.summary-item img { width: 110px; aspect-ratio: 16/9; object-fit: cover; border-radius: 3px; }
.line { display: flex; justify-content: space-between; padding: 8px 0; color: var(--ink-dim); font-size: 15px; }
.line.total { font-variant-numeric: lining-nums tabular-nums; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 22px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 6px; padding-top: 14px; }
.line.total span:last-child { color: var(--gold-hi); }
.steps { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.step { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); display: flex; align-items: center; gap: 8px; }
.step i { width: 26px; height: 26px; display: grid; place-items: center; font-style: normal; background: #1d2640; clip-path: var(--notch); }
.step.done i, .step.now i { background: var(--gold); color: #2a1608; }
.step.now { color: var(--gold-hi); }
.step + .step::before { content: ""; width: 24px; height: 2px; background: #2a3450; }

/* ---------- Downloads / library ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px) { .dl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .dl-grid { grid-template-columns: 1fr; } }
.dl-card {
  background: #0f1525; border: 2px solid #2a3450; border-radius: 4px; padding: 22px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 6px; transition: border-color .2s, transform .2s;
}
.dl-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.dl-card.recommended { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.dl-card svg.os { width: 44px; height: 44px; color: var(--gold); margin-bottom: 6px; }
.dl-card h3 { margin: 0; font-size: 21px; }
.dl-card small { color: var(--ink-faint); font-size: 13px; margin-bottom: 12px; }
.dl-card .btn { margin-top: auto; }
.library-head { display: flex; gap: 24px; align-items: center; margin-bottom: 30px; flex-wrap: wrap; }
.library-head img { width: 220px; aspect-ratio: 16/9; object-fit: cover; border-radius: 4px; box-shadow: 0 0 0 2px var(--gold-lo); }
.badge {
  display: inline-block; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 10px; background: var(--pine); color: #e9ffe2; clip-path: var(--notch);
}
.badge.gold { background: var(--gold); color: #2a1608; }
.locked { text-align: center; padding: 30px 10px 10px; }
.locked svg { width: 54px; height: 54px; color: var(--gold); margin: 0 auto 14px; }
.changelog { margin-top: 34px; }
.changelog li { margin-bottom: 8px; color: var(--ink-dim); }
.changelog b { color: var(--ink); font-family: var(--display); font-weight: 700; }

/* ---------- Devlog ---------- */
.page-head {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 150px 0 70px; background: var(--night);
}
.page-head-bg { position: absolute; inset: 0; z-index: -2; }
.page-head-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.page-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,14,26,.7) 0%, rgba(10,14,26,.55) 45%, var(--night) 100%);
}
.page-head h1 { font-size: clamp(40px, 6vw, 68px); margin-bottom: 10px; text-shadow: 0 3px 0 rgba(0,0,0,.4); }
.page-head .lead { color: #e2d7c4; margin: 0; }
.page-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

.post-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.post-card {
  display: flex; flex-direction: column; overflow: hidden; color: var(--ink);
  background: var(--night-3); border: 1px solid rgba(242,184,90,.12); border-radius: var(--radius);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.post-card:hover { color: var(--ink); transform: translateY(-5px); border-color: rgba(242,184,90,.5); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.post-card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--night-2); }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post-card:hover .post-card-img img { transform: scale(1.05); }
.post-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card h2 { font-size: 26px; margin-bottom: 10px; }
.post-card p { color: var(--ink-dim); font-size: 16px; margin-bottom: 18px; }
.post-card .post-meta { margin-top: auto; }
.post-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; }
.post-card.featured .post-card-img { aspect-ratio: auto; min-height: 320px; }
.post-card.featured h2 { font-size: clamp(28px, 3vw, 38px); }
@media (max-width: 860px) {
  .post-list { grid-template-columns: 1fr; }
  .post-card.featured { grid-template-columns: 1fr; }
  .post-card.featured .post-card-img { aspect-ratio: 16/9; min-height: 0; }
}
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 14px; color: var(--ink-faint); }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta svg { width: 16px; height: 16px; }
.tag {
  display: inline-block; font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 10px; background: rgba(242,184,90,.14); color: var(--gold-hi); border-radius: 2px; margin-bottom: 12px; align-self: flex-start;
}
.empty { text-align: center; padding: 60px 20px; }
.empty svg { width: 56px; height: 56px; color: var(--gold); margin: 0 auto 14px; }

/* Single post */
.post-wrap { width: min(780px, 100% - 32px); margin-inline: auto; }
.post-cover { margin: 0 0 34px; }
.post-header { margin-bottom: 26px; }
.post-header h1 { font-size: clamp(34px, 5vw, 54px); margin-bottom: 14px; }
.admin-bar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 28px; padding: 12px 14px;
  background: rgba(242,184,90,.07); border: 1px dashed rgba(242,184,90,.35); border-radius: 4px; font-size: 14px; color: var(--ink-dim);
}
.admin-bar .spacer { flex: 1; }
.btn-danger { --b-bg: linear-gradient(180deg, #8a2e26, #6a1f19 60%, #4a140f); --b-edge: #2a0906; }

.prose { font-size: 18px; line-height: 1.75; color: #e9dfcd; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose figure { margin: 0 0 1.2em; }
.prose h3 { font-size: 28px; margin: 1.6em 0 .5em; color: var(--gold-hi); }
.prose h4 { font-size: 21px; margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: .35em; }
.prose ul li::marker { color: var(--gold); }
.prose blockquote { border-left: 3px solid var(--gold); padding: 4px 0 4px 18px; color: var(--ink-dim); font-style: italic; }
.prose img { border-radius: 3px; box-shadow: 0 0 0 1px rgba(242,184,90,.25); }
.prose figure { margin-inline: 0; }
.prose code { background: #0b101d; padding: 2px 6px; border-radius: 3px; font-size: .9em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* Comments */
.comments { margin-top: 60px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.08); }
.comments h2 { font-size: 30px; }
.comment-form { margin: 22px 0 34px; }
textarea.input { min-height: 120px; resize: vertical; line-height: 1.6; }
.comment-form-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; font-size: 14px; color: var(--ink-faint); }
.login-prompt {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 22px; margin: 22px 0 34px;
  background: var(--night-3); border: 1px solid rgba(242,184,90,.18); border-radius: 4px;
}
.login-prompt p { margin: 0; color: var(--ink-dim); }
.comment { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.comment .avatar { width: 38px; height: 38px; font-size: 17px; }
.comment .avatar.dev { background: var(--gold); color: #2a1608; box-shadow: inset 0 0 0 2px #5a3010; }
.comment-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.comment-head b { font-family: var(--display); font-size: 17px; }
.comment-head time { font-size: 13px; color: var(--ink-faint); }
.comment-text { color: #ddd3c1; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 16px; }
.dev-badge { font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 2px 7px; background: var(--gold); color: #2a1608; border-radius: 2px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--ink-faint); font: inherit; font-size: 13px; cursor: pointer; margin-left: auto; }
.link-btn:hover { color: var(--danger); }

/* Editor */
.editor-grid { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
@media (max-width: 900px) { .editor-grid { grid-template-columns: 1fr; } }
.editor textarea.input { min-height: 420px; font-size: 16px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.toolbar button {
  min-width: 36px; height: 34px; padding: 0 10px; background: #0f1525; border: 2px solid #2a3450; border-radius: 3px;
  color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
}
.toolbar button:hover { border-color: var(--gold); }
.toolbar .tabs-mini { margin-left: auto; display: flex; gap: 4px; }
.toolbar .tabs-mini button[aria-pressed="true"] { background: var(--gold); color: #2a1608; border-color: var(--gold); }
.insert-box {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin-bottom: 10px; padding: 14px;
  background: rgba(242,184,90,.06); border: 1px dashed rgba(242,184,90,.4); border-radius: 4px;
}
.insert-row { display: flex; flex-direction: column; gap: 5px; }
.insert-row label { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-dim); }
.insert-row .input { padding: 9px 12px; font-size: 15px; }
.upload-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-height: 42px; font-size: 14px; }
.insert-actions { grid-column: 1 / -1; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
@media (max-width: 560px) { .insert-box { grid-template-columns: 1fr; } }
/* Uploaded images while they load, or if one has gone missing */
img[data-img]:not([src]) { width: 100%; aspect-ratio: 16/9; background: linear-gradient(110deg, #0b101d 40%, #18223a 50%, #0b101d 60%) 0 0 / 300% 100%; animation: img-wait 1.4s linear infinite; }
img.img-missing { animation: none; background: #0b101d; }
@keyframes img-wait { to { background-position: -150% 0; } }
.preview-box { min-height: 420px; padding: 18px 20px; background: #0b101d; border: 2px solid #2a3450; border-radius: 3px; }
select.input {
  appearance: none; padding-right: 36px; background-repeat: no-repeat; background-size: 5px 5px;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%;
}
.cover-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; max-height: 300px; overflow-y: auto; padding: 2px; }
.cover-pick button { padding: 0; border: 2px solid transparent; border-radius: 3px; cursor: pointer; aspect-ratio: 16/9; overflow: hidden; background: #0b101d; color: var(--ink-faint); font-size: 12px; }
.cover-pick button img { width: 100%; height: 100%; object-fit: cover; }
.cover-pick button[aria-pressed="true"] { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(242,184,90,.35); }
.cover-preview { aspect-ratio: 16/9; border-radius: 3px; overflow: hidden; background: #0b101d; margin-bottom: 10px; display: grid; place-items: center; color: var(--ink-faint); font-size: 14px; }
.cover-preview img { width: 100%; height: 100%; object-fit: cover; }
.help { font-size: 13px; color: var(--ink-faint); line-height: 1.7; }
.help code { background: #0b101d; padding: 1px 5px; border-radius: 3px; color: var(--ink-dim); }

/* ---------- Footer ---------- */
.footer { background: #05070d; padding: 60px 0 34px; border-top: 1px solid rgba(242,184,90,.12); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer img { width: 190px; margin-bottom: 14px; }
.footer h4 { font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer li a, .footer p { color: var(--ink-dim); font-size: 15px; }
.footer li a:hover { color: var(--gold-hi); }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.06); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-faint); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; translate: -50% 140%; z-index: 200;
  background: var(--wood-lo); color: var(--ink); padding: 14px 22px; font-family: var(--display); font-weight: 700; letter-spacing: .04em;
  clip-path: var(--notch); box-shadow: inset 0 0 0 3px #120802, inset 0 0 0 5px var(--gold-lo);
  transition: translate .35s cubic-bezier(.2,.8,.2,1); max-width: calc(100% - 32px); text-align: center;
}
.toast.show { translate: -50% 0; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Content from Customize ---------- */
.content-loading [data-edit], .content-loading [data-price], .content-loading [data-buy-price], .content-loading #gallery { visibility: hidden; }
.edited-text { white-space: pre-line; }
.changelog li:has(> b:empty):has(> span:empty) { display: none; }
.trailer-box iframe { display: block; width: 100%; aspect-ratio: 16/9; border: 0; background: #000; }
.nav-customize { padding-inline: 12px; }
.nav-customize svg { width: 15px; height: 15px; }
.nav-admin .nav-user .nav-name { display: none; }
.nav-admin .nav-links a { padding-inline: 10px; }
.nav-admin .nav-links a::after { left: 10px; right: 10px; }
@media (max-width: 1240px) { .nav-admin .nav-links a { padding-inline: 8px; } .nav-admin .nav-links a::after { left: 8px; right: 8px; } }

/* ---------- Editing the site (admin) ---------- */
body.site-editing { padding-bottom: 86px; }
.site-editing [data-edit] { white-space: pre-line; outline: 1px dashed rgba(242,184,90,.45); outline-offset: 3px; cursor: text; border-radius: 2px; transition: outline-color .15s, background .15s; }
.site-editing [data-edit]:hover { outline-color: var(--gold); background: rgba(242,184,90,.06); }
.site-editing [data-edit]:focus { outline: 2px solid var(--gold); background: rgba(242,184,90,.1); }
.site-editing [data-edit]:empty::before { content: "(empty, hidden)"; color: var(--ink-faint); font-style: italic; font-weight: 400; }
.site-editing [data-edit].changed { outline-color: #7fd17a; }
.site-editing .changelog li { display: list-item !important; }
.site-editing .reveal { opacity: 1; transform: none; }
.site-editing .scroll-cue { display: none; }

.edit-chip {
  position: absolute; z-index: 30; display: flex; gap: 6px; top: 10px; right: 10px;
}
.edit-chip button {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border: 0; cursor: pointer;
  font: 700 13px var(--body); color: #2a1608; background: var(--gold); border-radius: 3px; box-shadow: 0 4px 14px rgba(0,0,0,.45);
}
.edit-chip button.ghost { background: rgba(10,14,26,.85); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(242,184,90,.5); }
.edit-chip button:hover { filter: brightness(1.1); }
.edit-chip svg { width: 14px; height: 14px; }
.edit-chip.changed button:first-child { background: #7fd17a; }
.edit-chip.wide { left: 50%; right: auto; translate: -50% 0; }

.edit-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: rgba(10,14,26,.97); border-top: 2px solid var(--gold); box-shadow: 0 -10px 30px rgba(0,0,0,.5);
  backdrop-filter: blur(8px);
}
.edit-bar-inner { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; padding: 12px 0; }
.edit-bar b { font-family: var(--display); font-size: 17px; color: var(--gold-hi); }
.edit-bar .hint { color: var(--ink-dim); font-size: 14px; flex: 1; min-width: 200px; }
.edit-bar .count { font-size: 14px; color: #7fd17a; font-weight: 700; white-space: nowrap; }
.edit-bar .actions { display: flex; gap: 8px; flex-wrap: wrap; }

.edit-modal {
  position: fixed; inset: 0; z-index: 120; background: rgba(3,5,10,.8); display: flex; align-items: center; justify-content: center; padding: 20px;
}
.edit-modal .panel { width: min(900px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; }
.edit-modal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.edit-modal-head h3 { margin: 0; }
.shot-list { display: grid; gap: 10px; margin-bottom: 16px; }
.shot-row {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 14px; align-items: center;
  padding: 10px; background: #0f1525; border: 1px solid #2a3450; border-radius: 4px;
}
.shot-row img { width: 120px; aspect-ratio: 16/9; object-fit: cover; border-radius: 3px; background: #0b101d; }
.shot-row .input { padding: 9px 12px; font-size: 15px; }
.shot-row .tools { display: flex; gap: 4px; }
.shot-row .tools button {
  width: 34px; height: 34px; display: grid; place-items: center; cursor: pointer; border-radius: 3px;
  background: #18223a; border: 1px solid #2a3450; color: var(--ink); font: 700 15px var(--body);
}
.shot-row .tools button:hover { border-color: var(--gold); }
.shot-row .tools button.danger:hover { border-color: var(--danger); color: var(--danger); }
.shot-row .tools button:disabled { opacity: .35; cursor: default; }
@media (max-width: 620px) {
  .shot-row { grid-template-columns: 90px 1fr; }
  .shot-row img { width: 90px; }
  .shot-row .tools { grid-column: 1 / -1; justify-content: flex-end; }
}

/* Customize dashboard */
.cz-grid { display: grid; gap: 22px; }
.cz-pages { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.cz-page {
  display: flex; flex-direction: column; gap: 6px; padding: 18px; color: var(--ink);
  background: #0f1525; border: 2px solid #2a3450; border-radius: 4px; transition: border-color .2s, transform .2s;
}
.cz-page:hover { color: var(--ink); border-color: var(--gold); transform: translateY(-3px); }
.cz-page b { font-family: var(--display); font-size: 20px; color: var(--gold-hi); }
.cz-page span { color: var(--ink-dim); font-size: 14px; }
.cz-editions { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.cz-edition { padding: 16px; background: #0f1525; border: 1px solid #2a3450; border-radius: 4px; }
.cz-edition h4 { color: var(--gold-hi); font-size: 17px; margin-bottom: 12px; }
.cz-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cz-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 18px; }
.cz-save { display: flex; justify-content: flex-end; gap: 10px; align-items: center; margin-top: 6px; flex-wrap: wrap; }
.cz-save .muted { font-size: 14px; }
.site-editing .toast { bottom: 96px; }
