:root {
  --ink: #24132d;
  --paper: #fff1d8;
  --paper-2: #ffe4bd;
  --pink: #ff4f8f;
  --red: #e6254f;
  --purple: #6f3dff;
  --blue: #5fe6ff;
  --green: #bfff5a;
  --gold: #ffde59;
  --line: #25152d;
  --muted: #725f7a;
  --shadow: 6px 6px 0 rgba(36, 19, 45, 0.86);
  --soft-shadow: 0 24px 80px rgba(0,0,0,.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--paper);
  font-family: ui-monospace, "Cascadia Mono", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  line-height: 1.55;
  background:
    radial-gradient(circle at 14% 8%, rgba(255,79,143,.28), transparent 22rem),
    radial-gradient(circle at 88% 18%, rgba(95,230,255,.18), transparent 24rem),
    radial-gradient(circle at 52% 92%, rgba(191,255,90,.13), transparent 28rem),
    repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 32px),
    #130a19;
  image-rendering: auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255,241,216,.18) 1px, transparent 1.7px),
    radial-gradient(circle, rgba(255,79,143,.18) 1px, transparent 1.6px);
  background-size: 42px 42px, 58px 58px;
  background-position: 0 0, 18px 13px;
  opacity: .38;
  mix-blend-mode: screen;
}

body.page-midnight {
  background:
    radial-gradient(circle at 20% 8%, rgba(255,79,143,.30), transparent 22rem),
    radial-gradient(circle at 84% 20%, rgba(111,61,255,.34), transparent 26rem),
    radial-gradient(circle at 50% 92%, rgba(95,230,255,.10), transparent 28rem),
    repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 32px),
    #0e0614;
}

a { color: inherit; }
img { max-width: 100%; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 1000;
  padding: .65rem .9rem;
  background: var(--green);
  color: var(--ink);
  border: 2px solid var(--line);
  border-radius: 999px;
}
.skip-link:focus { left: 1rem; }

.site-shell {
  width: min(1280px, calc(100% - 24px));
  margin: 0 auto;
  padding: 16px 0 44px;
}
.narrow-shell { width: min(980px, calc(100% - 24px)); }

.topbar {
  position: sticky;
  top: 12px;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 10px;
  margin-bottom: 18px;
  background: rgba(255, 241, 216, .95);
  color: var(--ink);
  border: 3px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.mini-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}
.mini-brand img { width: 50px; height: 50px; flex: 0 0 auto; }
.mini-brand strong, .mini-brand small { display: block; }
.mini-brand strong { font-weight: 1000; letter-spacing: -.04em; font-size: 1.08rem; }
.mini-brand small { color: #765f82; font-size: .74rem; }

.pixel-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.pixel-nav a, .menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 10px;
  background: var(--paper-2);
  color: var(--ink);
  border: 2px solid var(--line);
  border-radius: 10px;
  box-shadow: 3px 3px 0 rgba(36,19,45,.75);
  font-weight: 900;
  font-size: .82rem;
  text-decoration: none;
  cursor: pointer;
}
.pixel-nav a:hover, .menu-button:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 rgba(36,19,45,.75); }
.pixel-nav .after-link { background: linear-gradient(135deg, #ffc7e3, #b795ff); }
.menu-button { display: none; font-family: inherit; }

.layout-grid {
  display: grid;
  grid-template-columns: 230px minmax(0,1fr) 190px;
  gap: 18px;
  align-items: start;
}
.left-rail, .right-rail { display: grid; gap: 14px; position: sticky; top: 106px; }

.tower-card, .shrine-window, .game-tile, .site-footer {
  background: rgba(255, 241, 216, .94);
  color: var(--ink);
  border: 3px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.tower-card { padding: 14px; }
.tower-card h2, .shrine-window h1, .shrine-window h2, .game-tile h2, .content-page h1, .content-page h2 {
  margin: 0;
  line-height: .95;
  letter-spacing: -.055em;
}
.tower-card h2 { font-size: 1.05rem; margin-bottom: 10px; color: #551e6e; }

.mood-card dl { display: grid; gap: 7px; margin: 0; }
.mood-card div {
  padding: 8px;
  background: #fff8ee;
  border: 2px dashed rgba(36,19,45,.32);
  border-radius: 12px;
}
.mood-card dt { color: #9d2143; font-weight: 1000; }
.mood-card dd { margin: 0; font-size: .85rem; }

.mini-socials a {
  display: block;
  margin-top: 6px;
  padding: 8px 9px;
  text-decoration: none;
  color: var(--ink);
  background: linear-gradient(90deg, #ffc7e3, #fff8ee);
  border: 2px solid var(--line);
  border-radius: 10px;
  font-weight: 900;
}
.release-mini { text-align: center; }
.release-mini .big-date {
  margin: 0;
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 1000;
  color: var(--red);
}
.release-mini span { display: block; color: var(--muted); font-size: .8rem; }
.tiny-counter {
  padding: 10px;
  text-align: center;
  background: #08050b;
  color: var(--green);
  border: 3px solid var(--paper);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.tiny-counter span { display:block; color: #fff; font-size: .68rem; text-transform: uppercase; }
.tiny-counter strong { letter-spacing: .16em; }

.main-column { display: grid; gap: 18px; }
.shrine-window { overflow: hidden; }
.welcome-card {
  min-height: 530px;
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(330px, .8fr);
  gap: 20px;
  padding: 18px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255,79,143,.22), transparent 24rem),
    radial-gradient(circle at 90% 10%, rgba(95,230,255,.18), transparent 22rem),
    rgba(255,241,216,.94);
}
.welcome-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(12px, 3vw, 28px);
}
.kicker {
  margin: 0 0 12px;
  color: #8a2150;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .82rem;
}
.welcome-card h1 {
  font-size: clamp(2.6rem, 6.8vw, 6rem);
  max-width: 9ch;
  margin-bottom: 18px;
}
.welcome-card p { color: #65516e; max-width: 640px; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border: 2px solid var(--line);
  border-radius: 999px;
  box-shadow: 4px 4px 0 rgba(36,19,45,.82);
  color: var(--ink);
  font-weight: 1000;
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
}
.button:hover { transform: translate(-1px,-1px); box-shadow: 5px 5px 0 rgba(36,19,45,.82); }
.button.primary { background: linear-gradient(135deg, var(--pink), #ffbd53); color: #fff; text-shadow: 1px 1px 0 #3e1022; }
.button.secondary { background: linear-gradient(135deg, var(--green), var(--blue)); }
.button.ghost { background: #fff9ef; }
.button.small { min-height: 34px; padding: 0 12px; font-size: .8rem; }

.tower-visual {
  position: relative;
  min-height: 490px;
  background:
    repeating-linear-gradient(45deg, rgba(36,19,45,.09) 0 8px, transparent 8px 16px),
    linear-gradient(135deg, #341443, #190d21);
  border: 3px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.tower-visual::before {
  content: "✦ ✧ ✦";
  position: absolute;
  right: 18px;
  top: 14px;
  z-index: 3;
  color: var(--green);
  font-size: 1.8rem;
  text-shadow: 2px 2px 0 var(--ink);
}
.sprite-frame {
  position: absolute;
  overflow: hidden;
  background: #140a1b;
  border: 3px solid var(--paper);
  border-radius: 18px;
  box-shadow: 7px 7px 0 rgba(0,0,0,.48);
}
.sprite-frame img { width: 100%; height: 100%; display: block; object-fit: cover; filter: saturate(1.05) contrast(1.03); }
.sprite-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 46%, rgba(11,4,15,.82));
  pointer-events: none;
}
.sprite-frame span {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 7px 9px;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--line);
  border-radius: 10px;
  box-shadow: 3px 3px 0 rgba(0,0,0,.7);
  font-weight: 1000;
  font-size: .82rem;
}
.hero-poster { width: 68%; height: 78%; left: 9%; top: 9%; transform: rotate(-3deg); }
.small-poster { width: 44%; height: 34%; }
.poster-hero { right: 2%; top: 15%; transform: rotate(8deg); }
.poster-clover { right: 7%; bottom: 7%; transform: rotate(-8deg); }
.single-art .hero-poster { width: 74%; height: 84%; left: 13%; top: 7%; }

.window-title {
  padding: 10px 14px;
  text-align: center;
  color: var(--paper);
  background: linear-gradient(90deg, #3c164d, #9a2352, #3c164d);
  border-bottom: 3px solid var(--line);
  font-weight: 1000;
  letter-spacing: .04em;
}
.roadmap-window { padding-bottom: 14px; }
.roadmap-list { display: grid; gap: 12px; padding: 14px; }
.release-entry {
  display: grid;
  grid-template-columns: 124px minmax(0,1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 3px solid var(--line);
  border-radius: 16px;
  background: #fff8ee;
}
.release-entry time {
  display: grid;
  place-items: center;
  min-height: 70px;
  padding: 8px;
  color: var(--paper);
  background: #2a1435;
  border: 2px solid var(--line);
  border-radius: 12px;
  text-align: center;
  font-weight: 1000;
}
.release-entry h2 { font-size: 1.35rem; margin-bottom: 4px; }
.release-entry p { margin: 0; color: #65516e; }
.release-entry > a {
  padding: 8px 10px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 1000;
  text-decoration: none;
  box-shadow: 3px 3px 0 rgba(36,19,45,.75);
}
.hot-entry { background: linear-gradient(90deg, #fff8ee, #ffd0dc); }
.midnight-entry { background: linear-gradient(90deg, #fff8ee, #dfcfff); }
.hero-entry { background: linear-gradient(90deg, #fff8ee, #c9f6ff); }

.games-board { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.game-tile { overflow: hidden; display: flex; flex-direction: column; }
.tile-art { position: relative; height: 230px; background: #180c20; border-bottom: 3px solid var(--line); }
.tile-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile-art::after { content:""; position:absolute; inset:0; background: linear-gradient(to bottom, transparent, rgba(15,7,21,.58)); }
.generated-art {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(191,255,90,.42), transparent 24%),
    radial-gradient(circle at 80% 70%, rgba(95,230,255,.40), transparent 28%),
    repeating-linear-gradient(45deg, #183f24 0 12px, #132e1d 12px 24px);
}
.generated-art span {
  position: relative;
  z-index: 2;
  padding: 10px;
  color: var(--paper);
  font-size: 2.2rem;
  line-height: .86;
  text-align: center;
  font-weight: 1000;
  letter-spacing: -.08em;
  text-shadow: 3px 3px 0 #0a110d;
}
.tile-copy { padding: 16px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.tile-copy h2 { font-size: 1.6rem; }
.tile-copy p { color: #65516e; margin: 0 0 auto; }
.tag { color: #8a2150; font-weight: 1000; font-size: .72rem; letter-spacing: .07em; }

.whats-new { padding-bottom: 10px; }
.whats-new ol { list-style: none; margin: 0; padding: 12px 14px; display: grid; gap: 9px; }
.whats-new li {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 10px;
  padding: 10px;
  border: 2px dashed rgba(36,19,45,.36);
  border-radius: 12px;
  background: #fff8ee;
}
.whats-new time { color: #9a2352; font-weight: 1000; }

.web-button {
  display: block;
  width: 100%;
  min-height: 33px;
  margin-top: 8px;
  padding: 5px;
  color: var(--ink);
  border: 2px solid var(--line);
  border-radius: 5px;
  text-align: center;
  font-size: .78rem;
  font-weight: 1000;
  text-decoration: none;
  box-shadow: 3px 3px 0 rgba(36,19,45,.75);
}
.web-button.pink { background: linear-gradient(90deg, #ff7ab1, #ffd0dc); }
.web-button.green { background: linear-gradient(90deg, #bfff5a, #5fe6ff); }
.web-button.blue { background: linear-gradient(90deg, #8fdcff, #ded3ff); }
.web-button.purple { background: linear-gradient(90deg, #c6a3ff, #ffc7e3); }
.note-card p { color: #65516e; font-size: .82rem; margin: 9px 0 0; }
.note-card strong { color: #451b5b; }

.site-footer {
  margin-top: 18px;
  padding: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: .82rem;
}
.site-footer p { margin: 0; }
.site-footer a { color: var(--ink); font-weight: 1000; }

.age-gate, .content-page { padding: 18px; margin-top: 20px; }
.age-gate h1, .content-page h1 { font-size: clamp(2.1rem, 8vw, 5rem); margin: 18px 0; }
.age-gate p, .content-page p { color: #65516e; }
.after-content[hidden], .age-gate[hidden] { display: none; }
.midnight-welcome { margin-top: 20px; }
.creator-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-top: 18px; }
.creator-grid article, details {
  padding: 14px;
  background: #fff8ee;
  border: 3px solid var(--line);
  border-radius: 16px;
}
.creator-grid h2 { font-size: 1.4rem; }
.pixel-note { padding: 12px; background: #fff8ee; border: 2px dashed rgba(36,19,45,.42); border-radius: 14px; }
details { margin-top: 10px; }
summary { cursor: pointer; font-weight: 1000; }

@media (max-width: 1050px) {
  .layout-grid { grid-template-columns: 200px minmax(0,1fr); }
  .right-rail { grid-column: 1 / -1; position: static; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .games-board { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .topbar { align-items: flex-start; }
  .menu-button { display: inline-flex; }
  .pixel-nav:not(.visible-nav) {
    position: absolute;
    left: 10px;
    right: 10px;
    top: calc(100% + 8px);
    display: none;
    padding: 10px;
    background: var(--paper);
    border: 3px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .pixel-nav.is-open { display: flex !important; }
  .pixel-nav:not(.visible-nav) a { width: 100%; }
  .layout-grid { grid-template-columns: 1fr; }
  .left-rail, .right-rail { position: static; grid-template-columns: 1fr; }
  .welcome-card { grid-template-columns: 1fr; min-height: 0; }
  .tower-visual { min-height: 440px; }
  .release-entry { grid-template-columns: 1fr; }
  .creator-grid { grid-template-columns: 1fr; }
  .visible-nav { justify-content: flex-end; }
}

@media (max-width: 560px) {
  .site-shell { width: min(100% - 14px, 1280px); padding-top: 8px; }
  .topbar { border-radius: 16px; }
  .mini-brand small { display:none; }
  .welcome-card h1 { font-size: 3rem; }
  .tower-visual { min-height: 360px; }
  .hero-poster { width: 76%; height: 74%; left: 5%; }
  .small-poster { width: 48%; height: 31%; }
  .poster-hero { top: 12%; }
  .poster-clover { bottom: 4%; }
}


/* v5 refinements: clearer section names, useful sidebar widget, actual 18+ modal */
.build-card dl { display: grid; gap: 7px; margin: 0; }
.build-card div {
  padding: 8px;
  background: #fff8ee;
  border: 2px dashed rgba(36,19,45,.32);
  border-radius: 12px;
}
.build-card dt { color: #9d2143; font-weight: 1000; }
.build-card dd { margin: 0; font-size: .85rem; }

.game-finder p {
  color: #65516e;
  font-size: .82rem;
  margin: 8px 0 10px;
}
.game-finder .finder-result {
  min-height: 3.8em;
  padding: 10px;
  color: var(--ink);
  background: #fff8ee;
  border: 2px dashed rgba(36,19,45,.36);
  border-radius: 12px;
  font-weight: 900;
}
.game-finder .finder-link { margin-top: 10px; }

.site-footer {
  justify-content: center;
  text-align: center;
}
.site-footer p { font-weight: 1000; }

.age-gate-overlay[hidden] { display: none; }
.age-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    radial-gradient(circle at 20% 18%, rgba(255,79,143,.24), transparent 18rem),
    radial-gradient(circle at 78% 20%, rgba(111,61,255,.28), transparent 20rem),
    rgba(10,4,14,.88);
  backdrop-filter: blur(10px);
}
.age-modal-card {
  width: min(650px, 100%);
  padding-bottom: 18px;
  overflow: hidden;
  animation: modal-pop .18s ease-out;
}
.age-modal-card h1 {
  font-size: clamp(2.2rem, 8vw, 4.8rem);
  margin: 18px 18px 12px;
  line-height: .95;
}
.age-modal-card p {
  margin: 0 18px;
  color: #65516e;
}
.age-modal-card .button-row { margin: 18px; }
@keyframes modal-pop {
  from { transform: translateY(10px) scale(.98); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

/* v6: local uploaded logo + portrait cover polish */
.mini-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(2px 2px 0 rgba(36,19,45,.35));
}

.topbar .mini-brand strong { font-size: 1.02rem; }

.mascot-sticker {
  position: absolute;
  left: 10px;
  top: 8px;
  z-index: 5;
  width: clamp(78px, 10vw, 118px);
  height: auto;
  transform: rotate(-9deg);
  filter: drop-shadow(4px 5px 0 rgba(0,0,0,.42));
  pointer-events: none;
}

.hero-poster img,
.poster-hero img,
.poster-clover img,
.tile-art img {
  object-fit: contain;
  background:
    radial-gradient(circle at 50% 42%, rgba(255,79,143,.20), transparent 50%),
    #15091d;
}

.hero-poster img,
.poster-hero img {
  padding: 6px;
}

.tile-art {
  height: 320px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(255,79,143,.18), transparent 46%),
    linear-gradient(135deg, #170a20, #32113d);
}

.tile-art img {
  padding: 8px;
}

.smile-tile .tile-art {
  background:
    radial-gradient(circle at 50% 42%, rgba(95,230,255,.22), transparent 45%),
    linear-gradient(135deg, #12172f, #225a9a);
}

.hero-tile .tile-art {
  background:
    radial-gradient(circle at 44% 38%, rgba(95,230,255,.20), transparent 47%),
    linear-gradient(135deg, #080d22, #1e3a64);
}

.latest-notes li span,
.studio-log li span {
  color: #604868;
}

@media (max-width: 720px) {
  .mini-brand img { width: 48px; height: 48px; }
  .mascot-sticker { width: 82px; }
  .tile-art { height: 270px; }
}

/* v6 polish: official mascot/logo assets + clearer content roles */
.mini-brand img {
  object-fit: contain;
  border-radius: 12px;
}

.bulletin-board time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 2px 6px;
  background: #2a1435;
  color: var(--green);
  border: 2px solid var(--line);
  border-radius: 999px;
}

.game-finder h2::after {
  content: " ✦";
  color: var(--pink);
}

.tower-visual .hero-poster img,
.tile-art img {
  object-position: center;
}

.smile-tile .tile-art img {
  object-position: center top;
}

.hero-tile .tile-art img,
.poster-hero img {
  object-position: center top;
}

/* v6: broader studio copy + uploaded local assets */
.mini-brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(2px 2px 0 rgba(36,19,45,.55));
}

.welcome-card h1 {
  max-width: 11.5ch;
}

.build-card h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  margin-top: 6px;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  border-radius: 999px;
}

.mascot-float {
  position: absolute;
  left: 14px;
  top: 12px;
  z-index: 6;
  width: clamp(78px, 16vw, 128px);
  height: auto;
  filter: drop-shadow(4px 4px 0 rgba(0,0,0,.40));
  transform: rotate(-8deg);
  pointer-events: none;
}

.hero-poster img,
.smile-tile .tile-art img {
  object-position: center top;
}

.poster-hero {
  width: 39%;
  height: 48%;
  right: 2%;
  top: 12%;
}

.poster-hero img,
.hero-tile .tile-art img {
  object-position: center top;
}

.poster-clover {
  right: 5%;
  bottom: 6%;
}

.tile-art img {
  filter: saturate(1.05) contrast(1.02);
}

.whats-new time {
  text-transform: uppercase;
}

@media (max-width: 560px) {
  .mascot-float { width: 78px; left: 10px; top: 10px; }
  .poster-hero { width: 45%; height: 42%; }
}

/* v6 refinements: uploaded logo + local 4:3 cover art + clearer section language */
.mini-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255,255,255,.28);
  padding: 2px;
}

.tower-visual {
  isolation: isolate;
}

.mascot-float {
  position: absolute;
  z-index: 5;
  right: 10px;
  bottom: 8px;
  width: min(132px, 30%);
  height: auto;
  filter: drop-shadow(4px 5px 0 rgba(36,19,45,.72));
  transform: rotate(7deg);
  pointer-events: none;
}

.tile-art {
  height: auto;
  aspect-ratio: 4 / 3;
}

.tile-art img {
  object-fit: cover;
  object-position: center;
}

.hero-poster img,
.poster-hero img {
  object-position: center;
}

.studio-log li span {
  color: #65516e;
}

.age-locked {
  overflow: hidden;
}

.age-gate-overlay {
  display: grid;
}

.age-gate-overlay[hidden] {
  display: none !important;
}

.after-content[hidden] {
  display: none !important;
}

@media (max-width: 560px) {
  .mascot-float {
    width: 108px;
    right: 4px;
    bottom: 0;
  }
}

/* v6: Studio Log uses the old update-list styling without duplicating Release Board */
.latest-notes { padding-bottom: 10px; }
.latest-notes ol { list-style: none; margin: 0; padding: 12px 14px; display: grid; gap: 9px; }
.latest-notes li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 9px;
  background: #fff8ee;
  border: 2px dashed rgba(36,19,45,.35);
  border-radius: 13px;
}
.latest-notes time,
.studio-log time { color: #9a2352; font-weight: 1000; text-transform: uppercase; }
.latest-notes span { color: #604868; }

/* v6 final polish: 4:3 uploaded covers and clearer micro-section names */
.hero-poster {
  width: 78%;
  height: 50%;
  left: 5%;
  top: 25%;
  transform: rotate(-3deg);
}
.small-poster {
  width: 48%;
  height: 31%;
}
.poster-hero {
  width: 46%;
  height: 32%;
  right: 3%;
  top: 8%;
  transform: rotate(7deg);
}
.poster-clover {
  width: 43%;
  height: 31%;
  right: 6%;
  bottom: 6%;
  transform: rotate(-7deg);
}
.hero-poster img,
.poster-hero img,
.smile-tile .tile-art img,
.hero-tile .tile-art img {
  object-fit: cover;
  padding: 0;
}
.mascot-sticker {
  left: 8px;
  top: 4px;
  width: clamp(92px, 13vw, 142px);
}
.latest-notes time,
.studio-log time {
  color: #9a2352;
  font-weight: 1000;
  text-transform: uppercase;
}
.latest-notes li span,
.studio-log li span {
  color: #604868;
}
.game-finder h2::after {
  content: " ✦";
  color: var(--pink);
}
@media (max-width: 560px) {
  .hero-poster { width: 78%; height: 48%; left: 4%; top: 26%; }
  .poster-hero { width: 47%; height: 30%; right: 2%; top: 11%; }
  .poster-clover { width: 45%; height: 30%; right: 4%; bottom: 5%; }
  .mascot-sticker { width: 86px; }
}

.after-tease {
  display: grid;
  place-items: end stretch;
  padding: 10px;
  background:
    radial-gradient(circle at 26% 25%, rgba(255,121,177,.58), transparent 34%),
    radial-gradient(circle at 78% 72%, rgba(111,61,255,.52), transparent 38%),
    repeating-linear-gradient(45deg, #2c1038 0 10px, #190b22 10px 20px);
}
.after-tease::before {
  content: "18+";
  position: absolute;
  right: 12px;
  top: 10px;
  z-index: 2;
  padding: 3px 8px;
  color: var(--paper);
  background: #140a1b;
  border: 2px solid var(--paper);
  border-radius: 999px;
  font-weight: 1000;
  font-size: .72rem;
}
.after-tease::after {
  background: linear-gradient(to bottom, transparent 30%, rgba(11,4,15,.72));
}
.after-tease span {
  position: relative;
  inset: auto;
  z-index: 2;
  display: block;
}

/* v7: simplified sections + uploaded Clover/Shopska vertical covers */
.release-mini,
.studio-log,
.whats-new.studio-log {
  display: none !important;
}

.games-board {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.game-tile .tile-art {
  aspect-ratio: 3 / 4;
  height: auto;
  background:
    radial-gradient(circle at 50% 38%, rgba(255,79,143,.20), transparent 42%),
    linear-gradient(135deg, #170a20, #32113d);
}

.game-tile .tile-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  padding: 7px;
  background: transparent;
}

.smile-tile .tile-art,
.hero-poster {
  background:
    radial-gradient(circle at 50% 42%, rgba(95,230,255,.24), transparent 46%),
    linear-gradient(135deg, #12172f, #225a9a);
}

.hero-tile .tile-art,
.poster-hero {
  background:
    radial-gradient(circle at 46% 38%, rgba(95,230,255,.20), transparent 48%),
    linear-gradient(135deg, #080d22, #1e3a64);
}

.shopska-tile .tile-art {
  background:
    radial-gradient(circle at 48% 44%, rgba(191,255,90,.22), transparent 46%),
    linear-gradient(135deg, #0b150d, #203d19);
}

.clover-tile .tile-art,
.clover-poster {
  background:
    radial-gradient(circle at 48% 42%, rgba(255,121,177,.25), transparent 44%),
    linear-gradient(135deg, #1a0922, #4b1648);
}

.hero-poster img,
.poster-hero img,
.poster-clover img {
  object-fit: contain !important;
  object-position: center center !important;
  padding: 5px !important;
  background: transparent !important;
}

.poster-hero {
  width: 46%;
  height: 34%;
  right: 3%;
  top: 8%;
  transform: rotate(7deg);
}

.poster-clover {
  width: 43%;
  height: 32%;
  right: 6%;
  bottom: 6%;
  transform: rotate(-7deg);
}

.clover-poster::before {
  content: "18+";
  position: absolute;
  right: 12px;
  top: 10px;
  z-index: 3;
  padding: 3px 8px;
  color: var(--paper);
  background: #140a1b;
  border: 2px solid var(--paper);
  border-radius: 999px;
  font-weight: 1000;
  font-size: .72rem;
}

.button-wall h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin-top: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--green));
}

@media (max-width: 1180px) {
  .games-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1050px) {
  .games-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .games-board { grid-template-columns: 1fr; }
  .poster-hero { width: 47%; height: 31%; right: 2%; top: 10%; }
  .poster-clover { width: 45%; height: 31%; right: 4%; bottom: 5%; }
}

/* v8: cleaner collage + aligned game tiles + art-backed Release Board */
.sprite-frame span,
.clover-poster::before {
  display: none !important;
  content: none !important;
}

.tower-visual .sprite-frame::after {
  background: linear-gradient(to bottom, transparent 64%, rgba(11,4,15,.30)) !important;
}

.tower-visual .sprite-frame img {
  padding: 0 !important;
}

.poster-hero img,
.hero-tile .tile-art img {
  object-fit: contain !important;
  object-position: center center !important;
}

.hero-tile .tile-art img {
  padding: 6px !important;
}

.roadmap-note {
  margin: 12px 14px 0;
  color: #604868;
  text-align: center;
  font-size: .86rem;
  font-weight: 800;
}

.games-board {
  align-items: stretch;
}

.game-tile {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
}

.game-tile .tile-copy {
  min-height: 292px;
  display: flex;
  flex-direction: column;
}

.game-tile .tag {
  min-height: 3.05em;
  display: flex;
  align-items: flex-start;
}

.game-tile h2 {
  min-height: 2.05em;
  display: flex;
  align-items: flex-start;
}

.game-tile .tile-copy p {
  min-height: 5.25em;
}

.game-tile .tile-copy .button {
  margin-top: auto;
  align-self: stretch;
}

.release-entry {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #fff8ee;
}

.release-entry::before,
.release-entry::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.release-entry::before {
  z-index: -2;
  background-size: cover;
  background-position: center;
  opacity: .22;
  filter: saturate(1.12) contrast(1.04);
}

.release-entry::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255,248,238,.99) 0%, rgba(255,248,238,.94) 58%, rgba(255,248,238,.70) 100%),
    radial-gradient(circle at 92% 50%, rgba(255,79,143,.20), transparent 42%);
}

.release-entry > * {
  position: relative;
  z-index: 1;
}

.hot-entry::before {
  background-image: url("assets/smile-dog-cover-4x3.webp");
  background-position: 86% 42%;
}

.midnight-entry::before {
  background-image: url("assets/clover-panties-cover-3x4.webp");
  background-position: 90% 36%;
}

.hero-entry::before {
  background-image: url("assets/heros-odyssey-cover-4x3.webp");
  background-position: 88% 38%;
}

.release-entry time {
  box-shadow: 3px 3px 0 rgba(36,19,45,.42);
}

@media (max-width: 1180px) {
  .game-tile .tile-copy { min-height: 260px; }
  .game-tile h2 { min-height: auto; }
  .game-tile .tile-copy p { min-height: 3.8em; }
}

@media (max-width: 620px) {
  .game-tile .tile-copy,
  .game-tile .tag,
  .game-tile .tile-copy p {
    min-height: 0;
  }
}

/* v8 final layer fix: make Release Board background art visible. */
.release-entry {
  background: transparent !important;
}
.release-entry::before,
.release-entry::after {
  z-index: 0 !important;
  pointer-events: none;
}
.release-entry time,
.release-entry div,
.release-entry > a {
  position: relative;
  z-index: 2;
}

/* v9: equal game tiles + compact date labels over release artwork */
.games-board {
  align-items: stretch;
  grid-auto-rows: 1fr;
}

@media (min-width: 621px) {
  .game-tile {
    height: 560px !important;
    min-height: 560px !important;
    max-height: 560px !important;
    display: grid !important;
    grid-template-rows: 258px 302px !important;
  }

  .game-tile .tile-art,
  .tile-art {
    height: 258px !important;
    min-height: 258px !important;
    max-height: 258px !important;
    aspect-ratio: auto !important;
  }

  .game-tile .tile-art img,
  .tile-art img,
  .hero-tile .tile-art img,
  .smile-tile .tile-art img,
  .shopska-tile .tile-art img,
  .clover-tile .tile-art img {
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    background: transparent !important;
  }

  .hero-tile .tile-art img {
    object-fit: contain !important;
    padding: 4px !important;
    background: #12091a !important;
  }

  .game-tile .tile-copy,
  .tile-copy {
    height: 302px !important;
    min-height: 302px !important;
    max-height: 302px !important;
    display: grid !important;
    grid-template-rows: 3.05em 3.55em 1fr auto !important;
    gap: 9px !important;
    overflow: hidden !important;
  }

  .game-tile .tag,
  .tile-copy .tag,
  .game-tile h2,
  .tile-copy h2,
  .game-tile .tile-copy p,
  .tile-copy p {
    min-height: 0 !important;
    margin: 0 !important;
  }

  .game-tile .tag,
  .tile-copy .tag {
    display: block !important;
    align-self: start !important;
  }

  .game-tile h2,
  .tile-copy h2 {
    display: block !important;
    align-self: start !important;
    line-height: .98 !important;
  }

  .game-tile .tile-copy p,
  .tile-copy p {
    overflow: hidden !important;
    align-self: start !important;
  }

  .game-tile .tile-copy .button,
  .tile-copy .button {
    margin-top: 0 !important;
    align-self: end !important;
    justify-self: stretch !important;
    width: 100% !important;
  }
}

.roadmap-list {
  gap: 10px !important;
}

.release-entry {
  grid-template-columns: 104px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 138px !important;
  padding: 10px !important;
  overflow: hidden !important;
  background: #fff8ee !important;
}

.release-entry::before,
.release-entry::after {
  display: none !important;
  content: none !important;
}

.release-date-art {
  position: relative;
  width: 104px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: #170a20;
  box-shadow: 3px 3px 0 rgba(36,19,45,.45);
}

.release-date-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.07) contrast(1.02);
}

.hero-entry .release-date-art img {
  object-fit: contain;
  object-position: center center;
  background: linear-gradient(135deg, #080d22, #1e3a64);
  padding: 3px;
}

.release-date-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,5,18,.03), rgba(13,5,18,.36));
  pointer-events: none;
}

.release-entry time,
.release-date-art time {
  position: absolute !important;
  left: 7px !important;
  top: 7px !important;
  z-index: 3 !important;
  display: inline-flex !important;
  place-items: unset !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 0 !important;
  min-width: 0 !important;
  width: auto !important;
  height: auto !important;
  padding: 4px 7px !important;
  border-radius: 999px !important;
  background: var(--paper) !important;
  color: var(--ink) !important;
  border: 2px solid var(--line) !important;
  box-shadow: 2px 2px 0 rgba(36,19,45,.70) !important;
  font-size: .72rem !important;
  line-height: 1 !important;
  letter-spacing: .02em !important;
  text-align: center !important;
  text-transform: uppercase !important;
  white-space: nowrap;
}

.hot-entry { background: linear-gradient(90deg, #fff8ee, #ffe3ea) !important; }
.midnight-entry { background: linear-gradient(90deg, #fff8ee, #eadcff) !important; }
.hero-entry { background: linear-gradient(90deg, #fff8ee, #d8f8ff) !important; }

.release-entry > * {
  position: relative;
  z-index: 1 !important;
}

.release-entry > a {
  white-space: nowrap;
}

@media (max-width: 820px) {
  .release-entry {
    grid-template-columns: 94px minmax(0, 1fr) !important;
  }
  .release-entry > a {
    grid-column: 2;
    justify-self: start;
  }
  .release-date-art {
    width: 94px;
  }
}

@media (max-width: 620px) {
  .game-tile {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    display: flex !important;
  }
  .game-tile .tile-art,
  .tile-art {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 3 / 4 !important;
  }
  .game-tile .tile-copy,
  .tile-copy {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    grid-template-rows: auto auto auto auto !important;
    overflow: visible !important;
  }
  .release-entry {
    grid-template-columns: 82px minmax(0, 1fr) !important;
    gap: 10px !important;
  }
  .release-date-art {
    width: 82px;
  }
  .release-entry time,
  .release-date-art time {
    font-size: .58rem !important;
    padding: 3px 5px !important;
  }
  .release-entry > a {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

/* v9.1: actual Release Board visual rows + equal desktop game tiles */
.release-board-visual {
  display: grid !important;
  gap: 12px !important;
  padding: 14px !important;
}

.release-card-row {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
  display: grid !important;
  grid-template-columns: 118px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 14px !important;
  min-height: 132px !important;
  padding: 10px !important;
  color: var(--ink) !important;
  background: #fff8ee !important;
  border: 3px solid var(--line) !important;
  border-radius: 16px !important;
}

.release-card-row::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: -1 !important;
  pointer-events: none !important;
  background:
    radial-gradient(circle at 96% 42%, rgba(255,79,143,.18), transparent 36%),
    linear-gradient(90deg, rgba(255,248,238,.98) 0%, rgba(255,248,238,.95) 68%, rgba(255,248,238,.82) 100%) !important;
}

.hot-release::after {
  background:
    radial-gradient(circle at 96% 42%, rgba(255,79,143,.20), transparent 36%),
    linear-gradient(90deg, rgba(255,248,238,.99) 0%, rgba(255,248,238,.92) 64%, rgba(255,208,220,.86) 100%) !important;
}

.midnight-release::after {
  background:
    radial-gradient(circle at 96% 42%, rgba(111,61,255,.17), transparent 36%),
    linear-gradient(90deg, rgba(255,248,238,.99) 0%, rgba(255,248,238,.92) 64%, rgba(223,207,255,.88) 100%) !important;
}

.hero-release::after {
  background:
    radial-gradient(circle at 96% 42%, rgba(95,230,255,.18), transparent 36%),
    linear-gradient(90deg, rgba(255,248,238,.99) 0%, rgba(255,248,238,.92) 64%, rgba(201,246,255,.88) 100%) !important;
}

.release-cover {
  position: relative !important;
  z-index: 2 !important;
  display: block !important;
  width: 100% !important;
  height: 112px !important;
  overflow: hidden !important;
  text-decoration: none !important;
  border: 3px solid var(--line) !important;
  border-radius: 14px !important;
  background: #160b1d !important;
  box-shadow: 4px 4px 0 rgba(36,19,45,.55) !important;
}

.release-cover img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

.hero-release .release-cover img {
  object-fit: contain !important;
  padding: 2px !important;
  background: #11091a !important;
}

.release-cover .date-pill {
  position: absolute !important;
  left: 7px !important;
  bottom: 7px !important;
  z-index: 4 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 0 !important;
  width: auto !important;
  min-width: 52px !important;
  padding: 3px 8px !important;
  background: var(--paper) !important;
  color: var(--ink) !important;
  border: 2px solid var(--line) !important;
  border-radius: 999px !important;
  box-shadow: 3px 3px 0 rgba(36,19,45,.72) !important;
  font-size: .72rem !important;
  line-height: 1 !important;
  font-weight: 1000 !important;
  letter-spacing: .02em !important;
  text-align: center !important;
}

.hot-release .date-pill {
  background: linear-gradient(135deg, #ff7ab1, #ffbd53) !important;
  color: #fff !important;
  text-shadow: 1px 1px 0 #3e1022 !important;
}

.midnight-release .date-pill {
  background: linear-gradient(135deg, #ffc7e3, #c6a3ff) !important;
}

.hero-release .date-pill {
  background: linear-gradient(135deg, #bff4ff, #fff1d8) !important;
}

.release-copy {
  position: relative !important;
  z-index: 2 !important;
}

.release-type {
  display: inline-flex !important;
  margin-bottom: 5px !important;
  color: #8a2150 !important;
  font-size: .72rem !important;
  font-weight: 1000 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

.release-card-row h2 {
  margin: 0 0 4px !important;
  font-size: 1.32rem !important;
}

.release-card-row p {
  margin: 0 !important;
  color: #65516e !important;
}

.release-link {
  position: relative !important;
  z-index: 2 !important;
  padding: 8px 10px !important;
  color: var(--ink) !important;
  background: var(--gold) !important;
  border: 2px solid var(--line) !important;
  border-radius: 999px !important;
  box-shadow: 3px 3px 0 rgba(36,19,45,.75) !important;
  font-weight: 1000 !important;
  text-decoration: none !important;
}

.midnight-release .release-link {
  background: linear-gradient(135deg, #ffc7e3, #c6a3ff) !important;
}

@media (min-width: 1181px) {
  .games-board {
    align-items: stretch !important;
  }

  .games-board .game-tile {
    height: 552px !important;
    min-height: 552px !important;
    max-height: 552px !important;
    display: grid !important;
    grid-template-rows: 248px 304px !important;
    overflow: hidden !important;
  }

  .games-board .game-tile .tile-art {
    height: 248px !important;
    min-height: 248px !important;
    max-height: 248px !important;
    aspect-ratio: auto !important;
  }

  .games-board .game-tile .tile-copy {
    min-height: 0 !important;
    height: 304px !important;
    padding: 15px !important;
    display: grid !important;
    grid-template-rows: 3.05em 3.4em minmax(5.05em, 1fr) 34px !important;
    gap: 8px !important;
    overflow: hidden !important;
  }

  .games-board .game-tile .tag,
  .games-board .game-tile h2,
  .games-board .game-tile .tile-copy p {
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
  }

  .games-board .game-tile h2 {
    align-items: flex-start !important;
  }

  .games-board .game-tile .tile-copy .button {
    min-height: 34px !important;
    height: 34px !important;
    align-self: end !important;
    justify-self: stretch !important;
    width: 100% !important;
  }
}

@media (max-width: 820px) {
  .release-card-row {
    grid-template-columns: 104px minmax(0, 1fr) !important;
  }

  .release-card-row .release-link {
    grid-column: 2 !important;
    justify-self: start !important;
  }

  .release-cover {
    height: 104px !important;
    grid-row: span 2 !important;
  }
}

@media (max-width: 560px) {
  .release-card-row {
    grid-template-columns: 1fr !important;
  }

  .release-card-row .release-link {
    grid-column: auto !important;
  }

  .release-cover {
    height: 172px !important;
    grid-row: auto !important;
  }
}

/* v9 final: actual Release Board markup + equal game cards */
.release-board-visual {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
  padding: 14px !important;
}

.release-card-row {
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: auto 1fr auto !important;
  align-items: stretch !important;
  gap: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #fff8ee !important;
  border: 3px solid var(--line) !important;
  border-radius: 18px !important;
  box-shadow: 5px 5px 0 rgba(36,19,45,.35) !important;
}

.release-cover {
  position: relative !important;
  display: block !important;
  aspect-ratio: 3 / 4 !important;
  overflow: hidden !important;
  background: #160a1d !important;
  border-bottom: 3px solid var(--line) !important;
  text-decoration: none !important;
}

.release-cover img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  padding: 0 !important;
  filter: saturate(1.04) contrast(1.02) !important;
}

.hero-release .release-cover img {
  object-fit: contain !important;
  object-position: center center !important;
  padding: 4px !important;
  background: #12091a !important;
}

.release-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,4,14,.03), rgba(10,4,14,.35));
  pointer-events: none;
}

.release-cover .date-pill,
.release-card-row time.date-pill,
time.date-pill {
  position: absolute !important;
  z-index: 3 !important;
  left: 10px !important;
  top: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 58px !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 6px 9px !important;
  border: 2px solid var(--line) !important;
  border-radius: 999px !important;
  background: var(--paper) !important;
  color: var(--ink) !important;
  font-size: .82rem !important;
  line-height: 1 !important;
  letter-spacing: .04em !important;
  font-weight: 1000 !important;
  text-align: center !important;
  box-shadow: 3px 3px 0 rgba(36,19,45,.78) !important;
}

.release-card-row .release-copy {
  display: grid !important;
  grid-template-rows: auto minmax(2.8em, auto) 1fr !important;
  gap: 6px !important;
  padding: 14px !important;
}

.release-card-row .release-type {
  margin: 0 !important;
  color: #8a2150 !important;
  font-size: .68rem !important;
  font-weight: 1000 !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
}

.release-card-row .release-copy h2 {
  color: var(--ink) !important;
  font-size: clamp(1.18rem, 1.85vw, 1.45rem) !important;
  line-height: .96 !important;
  margin: 0 !important;
}

.release-card-row .release-copy p {
  color: #65516e !important;
  margin: 0 !important;
  font-size: .9rem !important;
  line-height: 1.35 !important;
}

.release-card-row .release-link {
  justify-self: stretch !important;
  margin: 0 14px 14px !important;
  padding: 8px 10px !important;
  border: 2px solid var(--line) !important;
  border-radius: 999px !important;
  background: #fff9ef !important;
  color: var(--ink) !important;
  font-weight: 1000 !important;
  text-align: center !important;
  text-decoration: none !important;
  box-shadow: 3px 3px 0 rgba(36,19,45,.55) !important;
}

/* Equalize game tiles on desktop to the compact Hero's Odyssey height. */
@media (min-width: 1181px) {
  .games-board {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    grid-auto-rows: 538px !important;
  }

  .games-board .game-tile {
    display: grid !important;
    grid-template-rows: 252px 286px !important;
    height: 538px !important;
    min-height: 538px !important;
    max-height: 538px !important;
    overflow: hidden !important;
  }

  .games-board .tile-art {
    height: 252px !important;
    min-height: 252px !important;
    max-height: 252px !important;
    aspect-ratio: auto !important;
  }

  .games-board .tile-copy {
    display: grid !important;
    grid-template-rows: 3.05em 3.2em minmax(0, 1fr) 34px !important;
    gap: 8px !important;
    height: 286px !important;
    min-height: 286px !important;
    max-height: 286px !important;
    padding: 14px !important;
    overflow: hidden !important;
  }

  .games-board .tag {
    min-height: 0 !important;
    height: auto !important;
    display: block !important;
    overflow: hidden !important;
  }

  .games-board .tile-copy h2 {
    min-height: 0 !important;
    height: auto !important;
    display: block !important;
    overflow: hidden !important;
    font-size: clamp(1.42rem, 1.75vw, 1.72rem) !important;
    line-height: .96 !important;
  }

  .games-board .tile-copy p {
    min-height: 0 !important;
    height: auto !important;
    overflow: hidden !important;
    margin: 0 !important;
    line-height: 1.45 !important;
  }

  .games-board .tile-copy .button {
    min-height: 34px !important;
    height: 34px !important;
    align-self: end !important;
    justify-self: stretch !important;
    width: 100% !important;
    margin-top: 0 !important;
  }
}

@media (max-width: 1180px) {
  .release-board-visual {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .games-board .game-tile {
    grid-template-rows: 280px 255px !important;
    height: 535px !important;
    min-height: 535px !important;
    max-height: 535px !important;
  }
  .games-board .tile-art {
    height: 280px !important;
    min-height: 280px !important;
    max-height: 280px !important;
    aspect-ratio: auto !important;
  }
  .games-board .tile-copy {
    height: 255px !important;
    min-height: 255px !important;
    max-height: 255px !important;
  }
}

@media (max-width: 820px) {
  .release-board-visual {
    grid-template-columns: 1fr !important;
  }
  .release-card-row {
    grid-template-columns: 128px 1fr auto !important;
    grid-template-rows: auto !important;
    align-items: stretch !important;
  }
  .release-cover {
    aspect-ratio: auto !important;
    height: 138px !important;
    border-bottom: 0 !important;
    border-right: 3px solid var(--line) !important;
  }
  .release-card-row .release-copy {
    align-content: center !important;
    padding: 12px !important;
  }
  .release-card-row .release-link {
    align-self: center !important;
    margin: 12px !important;
  }
  .games-board .game-tile {
    grid-template-rows: 280px auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
  .games-board .tile-copy {
    height: auto !important;
    min-height: 235px !important;
    max-height: none !important;
  }
}

@media (max-width: 560px) {
  .release-card-row {
    grid-template-columns: 1fr !important;
  }
  .release-cover {
    height: auto !important;
    aspect-ratio: 3 / 4 !important;
    border-right: 0 !important;
    border-bottom: 3px solid var(--line) !important;
  }
  .release-card-row .release-link {
    margin: 0 14px 14px !important;
  }
  .games-board .game-tile,
  .games-board .tile-art,
  .games-board .tile-copy {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
  .games-board .tile-art {
    aspect-ratio: 3 / 4 !important;
  }
  .games-board .tile-copy {
    grid-template-rows: auto auto auto auto !important;
  }
}

/* v9: equal game tile heights + Release Board as image cards with small date stickers */
.release-board-visual {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
  padding: 14px !important;
}

.release-card-row {
  position: relative;
  display: grid !important;
  grid-template-rows: 218px minmax(168px, 1fr) auto !important;
  min-height: 480px;
  padding: 0 !important;
  overflow: hidden;
  border: 3px solid var(--line);
  border-radius: 18px;
  background: #fff3dc;
  box-shadow: 6px 6px 0 rgba(36, 19, 45, .58);
}

.release-card-row::before,
.release-card-row::after {
  display: none !important;
  content: none !important;
}

.release-cover {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  background: #150a1b;
  border-bottom: 3px solid var(--line);
  text-decoration: none;
}

.release-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.05) contrast(1.03);
}

.hero-release .release-cover img,
.hero-entry .release-cover img {
  object-position: center center;
}

.release-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(16, 7, 23, 0.02) 42%, rgba(16, 7, 23, 0.46) 100%),
    radial-gradient(circle at 18% 15%, rgba(255,255,255,.16), transparent 32%);
  pointer-events: none;
}

.date-pill {
  position: absolute !important;
  left: 10px !important;
  top: 10px !important;
  z-index: 3 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 4px 8px !important;
  border: 2px solid var(--line) !important;
  border-radius: 999px !important;
  background: rgba(255, 248, 238, .94) !important;
  color: var(--ink) !important;
  font-size: .78rem !important;
  line-height: 1 !important;
  font-weight: 1000 !important;
  letter-spacing: .04em !important;
  box-shadow: 3px 3px 0 rgba(36, 19, 45, .62) !important;
  transform: rotate(-3deg);
}

.midnight-release .date-pill { background: rgba(255, 216, 239, .95) !important; }
.hero-release .date-pill { background: rgba(224, 246, 255, .95) !important; }

.release-card-row .release-copy {
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  gap: 8px;
  padding: 14px 16px 8px;
}

.release-type {
  width: max-content;
  max-width: 100%;
  padding: 4px 8px;
  border: 2px solid rgba(36,19,45,.32);
  border-radius: 999px;
  background: rgba(255, 82, 132, .10);
  color: #9a2352;
  font-weight: 1000;
  font-size: .72rem;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.release-card-row h2 {
  margin: 0 !important;
  color: var(--ink) !important;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem) !important;
  line-height: .98 !important;
}

.release-card-row p {
  margin: 0 !important;
  color: #65516e !important;
  font-size: .94rem;
}

.release-card-row .release-link {
  margin: 0 14px 14px !important;
  justify-self: stretch !important;
  text-align: center !important;
  padding: 8px 10px !important;
  border: 2px solid var(--line) !important;
  border-radius: 999px !important;
  background: #fffaf2 !important;
  color: var(--ink) !important;
  font-weight: 1000 !important;
  text-decoration: none !important;
  box-shadow: 3px 3px 0 rgba(36,19,45,.75) !important;
}

.hot-release .release-link { background: linear-gradient(90deg, var(--pink), var(--gold)) !important; color: #fff !important; }
.midnight-release .release-link { background: linear-gradient(90deg, #ffc1dd, #c9a4ff) !important; }
.hero-release .release-link { background: linear-gradient(90deg, #fffaf2, #dff7ff) !important; }

/* Equalize desktop game tiles to the current Hero's Odyssey card height. */
@media (min-width: 821px) {
  .games-board {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    align-items: start !important;
  }

  .game-tile {
    height: 574px !important;
    min-height: 574px !important;
    max-height: 574px !important;
    display: grid !important;
    grid-template-rows: 260px 1fr !important;
    overflow: hidden !important;
  }

  .game-tile .tile-art {
    height: 260px !important;
    min-height: 260px !important;
    max-height: 260px !important;
    aspect-ratio: auto !important;
  }

  .game-tile .tile-art img,
  .smile-tile .tile-art img,
  .hero-tile .tile-art img,
  .shopska-tile .tile-art img,
  .clover-tile .tile-art img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    padding: 0 !important;
    background: transparent !important;
  }

  .game-tile .tile-copy,
  .tile-copy {
    min-height: 0 !important;
    height: 100% !important;
    display: grid !important;
    grid-template-rows: 3.1em 3.7em minmax(0, 1fr) auto !important;
    gap: 10px !important;
    overflow: hidden !important;
  }

  .game-tile .tag,
  .tile-copy .tag {
    min-height: 0 !important;
    height: 3.1em !important;
    overflow: hidden !important;
  }

  .game-tile h2,
  .tile-copy h2 {
    min-height: 0 !important;
    height: 3.7em !important;
    display: flex !important;
    align-items: flex-start !important;
    overflow: hidden !important;
  }

  .game-tile .tile-copy p,
  .tile-copy p {
    min-height: 0 !important;
    overflow: hidden !important;
  }

  .game-tile .tile-copy .button,
  .tile-copy .button {
    width: 100% !important;
    justify-self: stretch !important;
    align-self: end !important;
    margin-top: 0 !important;
  }
}

@media (max-width: 1180px) and (min-width: 821px) {
  .games-board { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 900px) {
  .release-board-visual { grid-template-columns: 1fr !important; }
  .release-card-row {
    min-height: 0;
    grid-template-columns: 155px minmax(0, 1fr) auto !important;
    grid-template-rows: auto !important;
    align-items: stretch;
  }
  .release-cover { height: 100%; min-height: 160px; border-bottom: 0; border-right: 3px solid var(--line); }
  .release-card-row .release-copy { padding: 14px; }
  .release-card-row .release-link { align-self: center !important; margin: 0 14px 0 0 !important; }
}

@media (max-width: 620px) {
  .release-card-row {
    grid-template-columns: 1fr !important;
  }
  .release-cover { height: 230px; border-right: 0; border-bottom: 3px solid var(--line); }
  .release-card-row .release-link { margin: 0 14px 14px !important; }
  .game-tile {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
  .game-tile .tile-art {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 3 / 4 !important;
  }
  .game-tile .tile-copy,
  .tile-copy {
    height: auto !important;
    min-height: 0 !important;
    grid-template-rows: auto auto auto auto !important;
    overflow: visible !important;
  }
  .game-tile .tag,
  .tile-copy .tag,
  .game-tile h2,
  .tile-copy h2 {
    height: auto !important;
    overflow: visible !important;
  }
}

/* v9.2 final: current markup release dates become small labels over the cover; game cards aligned to Hero card height */
.roadmap-list .release-entry {
  grid-template-columns: 96px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 108px !important;
  padding: 10px !important;
  background: #fff8ee !important;
}

.roadmap-list .release-entry::before,
.roadmap-list .release-entry::after {
  display: none !important;
  content: none !important;
}

.roadmap-list .release-date-art {
  position: relative !important;
  display: block !important;
  width: 96px !important;
  height: 96px !important;
  min-width: 96px !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 2px solid var(--line) !important;
  border-radius: 13px !important;
  background: #140a1b !important;
  box-shadow: 3px 3px 0 rgba(36,19,45,.55) !important;
}

.roadmap-list .release-date-art img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center center !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.roadmap-list .hero-entry .release-date-art img {
  object-fit: contain !important;
  background: #12091a !important;
  padding: 3px !important;
}

.roadmap-list .release-date-art time {
  position: absolute !important;
  top: 6px !important;
  left: 6px !important;
  z-index: 3 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 3px 7px !important;
  color: var(--ink) !important;
  background: var(--paper) !important;
  border: 2px solid var(--line) !important;
  border-radius: 999px !important;
  box-shadow: 2px 2px 0 rgba(36,19,45,.68) !important;
  font-size: .64rem !important;
  line-height: 1 !important;
  letter-spacing: .04em !important;
  font-weight: 1000 !important;
  text-align: center !important;
}

.roadmap-list .release-entry h2 {
  font-size: 1.34rem !important;
  line-height: .98 !important;
  margin: 0 0 4px !important;
}

.roadmap-list .release-entry p {
  margin: 0 !important;
  color: #65516e !important;
}

@media (min-width: 1181px) {
  .games-board {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    grid-auto-rows: 538px !important;
  }

  .games-board .game-tile {
    height: 538px !important;
    min-height: 538px !important;
    max-height: 538px !important;
    display: grid !important;
    grid-template-rows: 252px 286px !important;
    overflow: hidden !important;
  }

  .games-board .tile-art {
    height: 252px !important;
    min-height: 252px !important;
    max-height: 252px !important;
    aspect-ratio: auto !important;
  }

  .games-board .tile-copy {
    height: 286px !important;
    min-height: 286px !important;
    max-height: 286px !important;
    padding: 14px !important;
    overflow: hidden !important;
    display: grid !important;
    grid-template-rows: 3.05em 3.2em minmax(0, 1fr) 34px !important;
    gap: 8px !important;
  }

  .games-board .tag,
  .games-board .tile-copy h2,
  .games-board .tile-copy p {
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  .games-board .tile-copy h2 {
    display: block !important;
    font-size: clamp(1.42rem, 1.75vw, 1.72rem) !important;
    line-height: .96 !important;
  }

  .games-board .tile-copy p {
    line-height: 1.45 !important;
  }

  .games-board .tile-copy .button {
    min-height: 34px !important;
    height: 34px !important;
    align-self: end !important;
    justify-self: stretch !important;
    width: 100% !important;
    margin-top: 0 !important;
  }
}

@media (max-width: 820px) {
  .roadmap-list .release-entry {
    grid-template-columns: 84px minmax(0, 1fr) auto !important;
  }
  .roadmap-list .release-date-art {
    width: 84px !important;
    height: 84px !important;
    min-width: 84px !important;
  }
}

@media (max-width: 560px) {
  .roadmap-list .release-entry {
    grid-template-columns: 76px minmax(0, 1fr) !important;
  }
  .roadmap-list .release-entry > a {
    grid-column: 2 !important;
    justify-self: start !important;
    margin-top: 4px !important;
  }
  .roadmap-list .release-date-art {
    width: 76px !important;
    height: 76px !important;
    min-width: 76px !important;
  }
}

/* v9.2 final: current HTML uses .release-entry + .release-date-art */
.roadmap-list {
  display: grid !important;
  gap: 12px !important;
  padding: 14px !important;
}

.release-entry {
  display: grid !important;
  grid-template-columns: 118px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 14px !important;
  min-height: 132px !important;
  padding: 10px !important;
  background: #fff8ee !important;
  border: 3px solid var(--line) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  isolation: isolate !important;
}

.release-entry::before {
  display: none !important;
}

.release-entry::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: -1 !important;
  pointer-events: none !important;
  background:
    radial-gradient(circle at 96% 42%, rgba(255,79,143,.18), transparent 36%),
    linear-gradient(90deg, rgba(255,248,238,.98) 0%, rgba(255,248,238,.95) 68%, rgba(255,248,238,.82) 100%) !important;
}

.hot-entry::after {
  background:
    radial-gradient(circle at 96% 42%, rgba(255,79,143,.20), transparent 36%),
    linear-gradient(90deg, rgba(255,248,238,.99) 0%, rgba(255,248,238,.92) 64%, rgba(255,208,220,.86) 100%) !important;
}

.midnight-entry::after {
  background:
    radial-gradient(circle at 96% 42%, rgba(111,61,255,.18), transparent 36%),
    linear-gradient(90deg, rgba(255,248,238,.99) 0%, rgba(255,248,238,.92) 64%, rgba(223,207,255,.88) 100%) !important;
}

.hero-entry::after {
  background:
    radial-gradient(circle at 96% 42%, rgba(95,230,255,.18), transparent 36%),
    linear-gradient(90deg, rgba(255,248,238,.99) 0%, rgba(255,248,238,.92) 64%, rgba(201,246,255,.88) 100%) !important;
}

.release-date-art {
  position: relative !important;
  z-index: 2 !important;
  display: block !important;
  width: 100% !important;
  height: 112px !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 3px solid var(--line) !important;
  border-radius: 14px !important;
  background: #160b1d !important;
  box-shadow: 4px 4px 0 rgba(36,19,45,.55) !important;
}

.release-date-art img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  background: #160b1d !important;
}

.hero-entry .release-date-art img {
  object-fit: contain !important;
  padding: 2px !important;
  background: #11091a !important;
}

.release-date-art::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background: linear-gradient(to bottom, rgba(10,4,14,.02), rgba(10,4,14,.34)) !important;
  pointer-events: none !important;
}

.release-date-art time {
  position: absolute !important;
  left: 7px !important;
  bottom: 7px !important;
  top: auto !important;
  z-index: 3 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 0 !important;
  height: auto !important;
  width: auto !important;
  min-width: 52px !important;
  padding: 3px 8px !important;
  color: var(--ink) !important;
  background: var(--paper) !important;
  border: 2px solid var(--line) !important;
  border-radius: 999px !important;
  box-shadow: 3px 3px 0 rgba(36,19,45,.72) !important;
  font-size: .72rem !important;
  line-height: 1 !important;
  font-weight: 1000 !important;
  letter-spacing: .02em !important;
  text-align: center !important;
}

.hot-entry .release-date-art time {
  background: linear-gradient(135deg, #ff7ab1, #ffbd53) !important;
  color: #fff !important;
  text-shadow: 1px 1px 0 #3e1022 !important;
}

.midnight-entry .release-date-art time {
  background: linear-gradient(135deg, #ffc7e3, #c6a3ff) !important;
}

.hero-entry .release-date-art time {
  background: linear-gradient(135deg, #bff4ff, #fff1d8) !important;
}

.release-entry h2 {
  margin: 0 0 4px !important;
  font-size: 1.32rem !important;
}

.release-entry p {
  margin: 0 !important;
  color: #65516e !important;
}

.release-entry > a {
  align-self: center !important;
  justify-self: end !important;
}

/* v9.2 equal desktop game tiles: all cards take the Hero's Odyssey height rhythm. */
@media (min-width: 1181px) {
  .games-board {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    grid-auto-rows: 538px !important;
  }

  .games-board .game-tile {
    display: grid !important;
    grid-template-rows: 252px 286px !important;
    height: 538px !important;
    min-height: 538px !important;
    max-height: 538px !important;
    overflow: hidden !important;
  }

  .games-board .tile-art {
    height: 252px !important;
    min-height: 252px !important;
    max-height: 252px !important;
    aspect-ratio: auto !important;
  }

  .games-board .tile-copy {
    display: grid !important;
    grid-template-rows: 3.05em 3.2em minmax(0, 1fr) 34px !important;
    gap: 8px !important;
    height: 286px !important;
    min-height: 286px !important;
    max-height: 286px !important;
    padding: 14px !important;
    overflow: hidden !important;
  }

  .games-board .tag,
  .games-board .tile-copy h2,
  .games-board .tile-copy p {
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  .games-board .tile-copy h2 {
    display: block !important;
    font-size: clamp(1.42rem, 1.75vw, 1.72rem) !important;
    line-height: .96 !important;
  }

  .games-board .tile-copy p {
    line-height: 1.45 !important;
  }

  .games-board .tile-copy .button {
    min-height: 34px !important;
    height: 34px !important;
    align-self: end !important;
    justify-self: stretch !important;
    width: 100% !important;
    margin-top: 0 !important;
  }
}

@media (max-width: 820px) {
  .release-entry {
    grid-template-columns: 104px minmax(0, 1fr) !important;
  }

  .release-entry > a {
    grid-column: 2 !important;
    justify-self: start !important;
  }

  .release-date-art {
    height: 104px !important;
    grid-row: span 2 !important;
  }
}

@media (max-width: 560px) {
  .release-entry {
    grid-template-columns: 1fr !important;
  }

  .release-entry > a {
    grid-column: auto !important;
  }

  .release-date-art {
    height: 172px !important;
    grid-row: auto !important;
  }
}

/* v10: fixed After Midnight release layout + uploaded After Midnight logo + Smile Dog 3:4 capsule */
.page-midnight .topbar .mini-brand img {
  width: 58px;
  height: 58px;
  padding: 0;
  background: transparent;
  border-radius: 14px;
  object-fit: contain;
}

.age-modal-logo {
  display: block;
  width: min(132px, 34vw);
  height: auto;
  margin: 16px auto 4px;
  filter: drop-shadow(4px 5px 0 rgba(36, 19, 45, .52));
}

.midnight-single-art {
  position: relative;
}

.midnight-logo-sticker {
  position: absolute;
  z-index: 8;
  width: min(132px, 28%);
  height: auto;
  right: 8px;
  top: 8px;
  transform: rotate(8deg);
  filter: drop-shadow(4px 4px 0 rgba(0,0,0,.38));
  pointer-events: none;
}

.after-release-window {
  overflow: hidden;
}

.after-release-card {
  display: grid;
  grid-template-columns: minmax(170px, 240px) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  padding: 14px;
  background: #fff8ee;
  color: var(--ink);
  border-top: 3px solid var(--line);
}

.after-release-cover {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  aspect-ratio: 3 / 4;
  background: #160b1d;
  border: 3px solid var(--line);
  border-radius: 16px;
  box-shadow: 5px 5px 0 rgba(36,19,45,.58);
}

.after-release-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  padding: 0;
  background: #160b1d;
}

.after-release-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(14,6,20,.03), rgba(14,6,20,.28));
  pointer-events: none;
}

.after-release-cover time {
  position: absolute;
  z-index: 3;
  left: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  width: auto;
  padding: 4px 9px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(135deg, #ffc7e3, #c6a3ff);
  color: var(--ink);
  box-shadow: 3px 3px 0 rgba(36,19,45,.70);
  font-size: .74rem;
  line-height: 1;
  font-weight: 1000;
}

.after-release-copy {
  display: grid;
  align-content: center;
  gap: 10px;
  min-width: 0;
}

.after-release-copy .release-type {
  width: max-content;
  max-width: 100%;
  padding: 4px 9px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(135deg, #ffc7e3, #c6a3ff);
  color: var(--ink);
  font-size: .78rem;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.after-release-copy h2 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: .9;
}

.after-release-copy p {
  max-width: 58ch;
  margin: 0;
  color: #65516e;
}

.after-button-row {
  margin-top: 6px;
}

.after-release-copy .button {
  width: auto;
  min-width: 0;
}

@media (max-width: 720px) {
  .after-release-card {
    grid-template-columns: 1fr;
  }

  .after-release-cover {
    min-height: 0;
    width: min(320px, 100%);
    justify-self: center;
  }

  .after-release-copy {
    align-content: start;
  }
}

/* v10: After Midnight logo + fixed After Midnight release block + new Smile Dog 3:4 capsule rhythm */
.page-midnight .mini-brand img {
  width: 54px !important;
  height: 54px !important;
  object-fit: contain !important;
  border-radius: 12px !important;
  background: #0b0710 !important;
}

.age-logo {
  display: block;
  width: min(150px, 42vw);
  height: auto;
  margin: 14px auto 10px;
  object-fit: contain;
  filter: drop-shadow(4px 4px 0 rgba(36,19,45,.55));
}

.after-release-window {
  padding-bottom: 16px !important;
  overflow: hidden !important;
}

.after-release-card {
  display: grid;
  grid-template-columns: minmax(180px, 250px) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
  margin: 16px;
  padding: 16px;
  background: #fff8ee;
  border: 3px solid var(--line);
  border-radius: 18px;
  box-shadow: 5px 5px 0 rgba(36,19,45,.42);
}

.after-release-art {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: #160b1d;
  border: 3px solid var(--line);
  border-radius: 16px;
  box-shadow: 4px 4px 0 rgba(36,19,45,.55);
}

.after-release-art img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center center;
}

.after-release-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(10,4,14,.02), rgba(10,4,14,.32));
}

.after-release-art time {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  display: inline-flex;
  width: auto;
  min-width: 0;
  min-height: 0;
  height: auto;
  padding: 5px 10px;
  color: var(--ink);
  background: linear-gradient(135deg, #ffc7e3, #c6a3ff);
  border: 2px solid var(--line);
  border-radius: 999px;
  box-shadow: 3px 3px 0 rgba(36,19,45,.72);
  font-size: .76rem;
  line-height: 1;
  font-weight: 1000;
}

.after-release-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 8px 6px;
}

.after-release-copy .release-type {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 5px 9px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(135deg, #ffc7e3, #c6a3ff);
  color: var(--ink);
  font-size: .78rem;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.after-release-copy h2 {
  margin: 0 0 10px !important;
  font-size: clamp(2rem, 4vw, 3.7rem) !important;
  line-height: .9 !important;
  color: var(--ink) !important;
}

.after-release-copy p {
  max-width: 58ch;
  margin: 0;
  color: #65516e;
}

.after-release-actions {
  margin-top: 20px;
}

.disabled-button {
  cursor: default;
  opacity: .8;
}
.disabled-button:hover {
  transform: none;
  box-shadow: 4px 4px 0 rgba(36,19,45,.82);
}

/* Force all main game tiles into one visual rhythm after the new 3:4 art swap. */
@media (min-width: 1181px) {
  .games-board .game-tile {
    height: 548px !important;
    min-height: 548px !important;
    max-height: 548px !important;
    grid-template-rows: 262px 286px !important;
  }
  .games-board .tile-art {
    height: 262px !important;
    min-height: 262px !important;
    max-height: 262px !important;
  }
  .games-board .tile-art img {
    object-fit: cover !important;
    object-position: center center !important;
  }
  .games-board .hero-tile .tile-art img {
    object-fit: cover !important;
    object-position: center center !important;
  }
}

@media (max-width: 760px) {
  .after-release-card {
    grid-template-columns: 1fr;
  }
  .after-release-art,
  .after-release-art img {
    min-height: 420px;
  }
}

@media (max-width: 520px) {
  .after-release-card {
    margin: 12px;
    padding: 12px;
  }
  .after-release-art,
  .after-release-art img {
    min-height: 330px;
  }
}

/* v10 fixes: new Smile Dog 3:4 capsule + clean After Midnight release card */
.mini-brand .after-brand-logo {
  object-fit: cover;
  object-position: center;
  background: #08050c;
}

.page-midnight .age-modal-card {
  max-width: 640px;
  text-align: center;
}

.age-modal-logo {
  display: block;
  width: min(210px, 58vw);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  margin: 18px auto 14px;
  border: 3px solid var(--line);
  border-radius: 24px;
  background: #07060a;
  box-shadow: 6px 6px 0 rgba(36,19,45,.78);
}

.page-midnight .midnight-single-art {
  overflow: visible;
}

.midnight-logo-sticker {
  position: absolute;
  z-index: 6;
  right: 10px;
  bottom: 8px;
  width: min(118px, 28%);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 3px solid var(--paper);
  border-radius: 22px;
  box-shadow: 5px 5px 0 rgba(36,19,45,.76);
  transform: rotate(6deg);
  background: #07060a;
}

.after-release-window {
  margin-top: 14px;
  overflow: hidden;
}

.after-release-card {
  display: grid;
  grid-template-columns: minmax(210px, 290px) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
  padding: 18px;
  background: #fff8ee;
  color: var(--ink);
}

.after-release-cover {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  aspect-ratio: 3 / 4;
  border: 3px solid var(--line);
  border-radius: 18px;
  background: #160b1d;
  box-shadow: 5px 5px 0 rgba(36,19,45,.62);
}

.after-release-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.after-release-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,4,14,.02), rgba(10,4,14,.34));
  pointer-events: none;
}

.after-release-cover time {
  position: absolute;
  z-index: 4;
  left: 10px;
  top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 9px;
  color: var(--ink);
  background: linear-gradient(135deg, #ffc7e3, #c6a3ff);
  border: 2px solid var(--line);
  border-radius: 999px;
  box-shadow: 3px 3px 0 rgba(36,19,45,.72);
  font-size: .78rem;
  line-height: 1;
  font-weight: 1000;
  letter-spacing: .02em;
}

.after-release-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  min-width: 0;
}

.after-release-copy .release-type {
  align-self: flex-start;
  padding: 5px 9px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: #ffd6ea;
  color: #8a1745;
  font-size: .78rem;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.after-release-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: .88;
}

.after-release-copy p {
  max-width: 560px;
  margin: 0;
  color: #65516e;
  font-size: 1.05rem;
}

.after-button-row {
  margin-top: 6px;
}

.button-disabled {
  cursor: default;
  opacity: .82;
}

@media (max-width: 760px) {
  .after-release-card {
    grid-template-columns: 1fr;
  }

  .after-release-cover {
    min-height: 0;
    max-width: 360px;
    width: 100%;
    justify-self: center;
  }

  .after-release-copy {
    align-items: flex-start;
  }
}

/* v10: After Midnight layout fix + uploaded 3:4 Smile Dog capsule + After Midnight logo */
.page-midnight .mini-brand img.after-logo-mark {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: #100914;
}

.age-modal-card {
  text-align: center;
}

.age-modal-logo {
  display: block;
  width: min(180px, 48vw);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 18px auto 12px;
  border: 3px solid var(--line);
  border-radius: 24px;
  box-shadow: 5px 5px 0 rgba(36,19,45,.76);
  background: #120b18;
}

.midnight-single-art {
  position: relative;
}

.midnight-logo-sticker {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 5;
  width: 94px;
  height: 94px;
  object-fit: cover;
  border: 3px solid var(--paper);
  border-radius: 18px;
  box-shadow: 5px 5px 0 rgba(0,0,0,.42);
  transform: rotate(5deg);
  background: #100914;
}

.after-release-window {
  padding-bottom: 14px;
}

.after-release-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin: 14px;
  padding: 12px;
  color: var(--ink);
  background:
    radial-gradient(circle at 96% 38%, rgba(255,79,143,.18), transparent 34%),
    linear-gradient(90deg, #fff8ee 0%, #fff8ee 58%, #eadcff 100%);
  border: 3px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.after-release-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #160b1d;
  border: 3px solid var(--line);
  border-radius: 16px;
  box-shadow: 4px 4px 0 rgba(36,19,45,.55);
}

.after-release-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.after-release-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(10,4,14,.02), rgba(10,4,14,.22));
}

.after-release-cover time {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 9px;
  color: var(--ink);
  background: linear-gradient(135deg, #ffc7e3, #c6a3ff);
  border: 2px solid var(--line);
  border-radius: 999px;
  box-shadow: 3px 3px 0 rgba(36,19,45,.70);
  font-size: .72rem;
  line-height: 1;
  font-weight: 1000;
  letter-spacing: .03em;
}

.after-release-copy {
  min-width: 0;
}

.after-release-copy h2 {
  margin: 5px 0 8px;
  font-size: clamp(2.15rem, 4vw, 3.3rem);
  line-height: .92;
  letter-spacing: -.06em;
}

.after-release-copy p {
  margin: 0;
  color: #65516e;
  max-width: 46rem;
}

.after-release-actions {
  display: grid;
  gap: 8px;
  min-width: 150px;
}

.button-disabled {
  opacity: .68;
  pointer-events: none;
}

/* Use the new uploaded Smile Dog 3:4 capsule cleanly everywhere. */
.smile-tile .tile-art img,
.hero-poster img[src$="smile-dog-cover-vertical.webp"],
.hot-entry .release-date-art img,
.release-card-row.hot-release .release-cover img {
  object-fit: cover !important;
  object-position: center center !important;
  padding: 0 !important;
  background: #0f0a15 !important;
}

@media (max-width: 760px) {
  .after-release-card {
    grid-template-columns: 130px minmax(0, 1fr);
  }

  .after-release-actions {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    min-width: 0;
  }

  .after-release-cover {
    align-self: stretch;
  }
}

@media (max-width: 560px) {
  .after-release-card {
    grid-template-columns: 1fr;
  }

  .after-release-cover {
    width: min(240px, 100%);
    justify-self: center;
  }

  .after-release-actions {
    grid-column: auto;
  }

  .midnight-logo-sticker {
    width: 74px;
    height: 74px;
  }
}

/* v10: After Midnight release card fix + new uploaded assets */
.page-midnight .mini-brand img[src*="after-midnight-logo"] {
  object-fit: cover !important;
  background: #060509 !important;
  padding: 0 !important;
  border-radius: 14px !important;
}

.am-release-window {
  padding-bottom: 14px !important;
}

.am-release-card {
  display: grid !important;
  grid-template-columns: minmax(190px, 285px) minmax(0, 1fr) !important;
  gap: 18px !important;
  align-items: stretch !important;
  margin: 14px !important;
  padding: 14px !important;
  color: var(--ink) !important;
  background:
    radial-gradient(circle at 86% 12%, rgba(255, 121, 177, .18), transparent 30%),
    linear-gradient(135deg, #fff8ee, #f2e4ff) !important;
  border: 3px solid var(--line) !important;
  border-radius: 18px !important;
  box-shadow: 5px 5px 0 rgba(36, 19, 45, .52) !important;
  overflow: hidden !important;
}

.am-cover {
  position: relative !important;
  display: block !important;
  aspect-ratio: 3 / 4 !important;
  overflow: hidden !important;
  color: var(--ink) !important;
  background: #180a20 !important;
  border: 3px solid var(--line) !important;
  border-radius: 16px !important;
  box-shadow: 4px 4px 0 rgba(36, 19, 45, .58) !important;
  text-decoration: none !important;
}

.am-cover img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  padding: 0 !important;
  background: #180a20 !important;
  filter: saturate(1.04) contrast(1.02) !important;
}

.am-cover::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background: linear-gradient(to bottom, rgba(16, 7, 22, .02) 54%, rgba(16, 7, 22, .46) 100%) !important;
  pointer-events: none !important;
}

.am-cover time {
  position: absolute !important;
  left: 10px !important;
  top: 10px !important;
  z-index: 2 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 5px 9px !important;
  color: var(--ink) !important;
  background: linear-gradient(135deg, #ffc7e3, #c6a3ff) !important;
  border: 2px solid var(--line) !important;
  border-radius: 999px !important;
  box-shadow: 3px 3px 0 rgba(36, 19, 45, .72) !important;
  font-size: .76rem !important;
  line-height: 1 !important;
  font-weight: 1000 !important;
  letter-spacing: .03em !important;
  text-align: center !important;
  white-space: nowrap !important;
  transform: rotate(-3deg) !important;
}

.am-release-copy {
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 6px 4px !important;
}

.am-release-copy .release-type {
  align-self: flex-start !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 5px 9px !important;
  color: #8a2150 !important;
  background: rgba(255, 79, 143, .12) !important;
  border: 2px dashed rgba(36, 19, 45, .30) !important;
  border-radius: 999px !important;
  font-size: .72rem !important;
  line-height: 1 !important;
}

.am-release-copy h2 {
  margin: 0 !important;
  color: var(--ink) !important;
  font-size: clamp(2.2rem, 7vw, 4.5rem) !important;
  line-height: .88 !important;
  letter-spacing: -.065em !important;
  max-width: 7.5ch !important;
}

.am-release-copy p {
  margin: 0 !important;
  max-width: 50ch !important;
  color: #65516e !important;
  font-size: 1rem !important;
  line-height: 1.55 !important;
}

.am-release-actions {
  margin-top: 8px !important;
}

.disabled-button {
  opacity: .76 !important;
  cursor: default !important;
  pointer-events: none !important;
}

@media (max-width: 760px) {
  .am-release-card {
    grid-template-columns: 1fr !important;
  }
  .am-cover {
    width: min(360px, 100%) !important;
    margin: 0 auto !important;
  }
  .am-release-copy {
    align-items: flex-start !important;
  }
  .am-release-copy h2 {
    max-width: none !important;
  }
}

/* v10 final override: stable After Midnight release card, independent from Release Board styles. */
.page-midnight .after-release-window {
  padding-bottom: 14px !important;
  overflow: hidden !important;
}

.page-midnight .after-release-card {
  display: grid !important;
  grid-template-columns: minmax(170px, 240px) minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 18px !important;
  margin: 14px !important;
  padding: 14px !important;
  min-height: 0 !important;
  color: var(--ink) !important;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 121, 177, .18), transparent 32%),
    linear-gradient(135deg, #fff8ee 0%, #fff8ee 56%, #eadcff 100%) !important;
  border: 3px solid var(--line) !important;
  border-radius: 18px !important;
  box-shadow: 5px 5px 0 rgba(36, 19, 45, .52) !important;
  overflow: hidden !important;
}

.page-midnight .after-release-cover {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 3 / 4 !important;
  overflow: hidden !important;
  background: #160b1d !important;
  border: 3px solid var(--line) !important;
  border-radius: 16px !important;
  box-shadow: 4px 4px 0 rgba(36,19,45,.58) !important;
}

.page-midnight .after-release-cover img {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #160b1d !important;
}

.page-midnight .after-release-cover time {
  position: absolute !important;
  left: 10px !important;
  bottom: 10px !important;
  top: auto !important;
  z-index: 4 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 5px 10px !important;
  color: var(--ink) !important;
  background: linear-gradient(135deg, #ffc7e3, #c6a3ff) !important;
  border: 2px solid var(--line) !important;
  border-radius: 999px !important;
  box-shadow: 3px 3px 0 rgba(36,19,45,.70) !important;
  font-size: .76rem !important;
  line-height: 1 !important;
  font-weight: 1000 !important;
  white-space: nowrap !important;
}

.page-midnight .after-release-copy {
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 10px !important;
}

.page-midnight .after-release-copy .release-type {
  align-self: flex-start !important;
  width: auto !important;
  padding: 5px 9px !important;
  color: #8a2150 !important;
  background: rgba(255, 79, 143, .12) !important;
  border: 2px dashed rgba(36, 19, 45, .30) !important;
  border-radius: 999px !important;
  font-size: .72rem !important;
  font-weight: 1000 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  letter-spacing: .05em !important;
}

.page-midnight .after-release-copy h2 {
  margin: 0 !important;
  color: var(--ink) !important;
  font-size: clamp(2.3rem, 6vw, 4rem) !important;
  line-height: .88 !important;
  letter-spacing: -.065em !important;
}

.page-midnight .after-release-copy p {
  margin: 0 !important;
  max-width: 48ch !important;
  color: #65516e !important;
  font-size: 1rem !important;
  line-height: 1.55 !important;
}

.page-midnight .after-release-actions {
  display: grid !important;
  gap: 8px !important;
  min-width: 140px !important;
  align-self: center !important;
}

.page-midnight .after-release-actions .button {
  white-space: nowrap !important;
}

@media (max-width: 760px) {
  .page-midnight .after-release-card {
    grid-template-columns: 130px minmax(0, 1fr) !important;
  }
  .page-midnight .after-release-actions {
    grid-column: 2 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    min-width: 0 !important;
  }
}

@media (max-width: 560px) {
  .page-midnight .after-release-card {
    grid-template-columns: 1fr !important;
  }
  .page-midnight .after-release-cover {
    width: min(320px, 100%) !important;
    justify-self: center !important;
  }
  .page-midnight .after-release-actions {
    grid-column: auto !important;
  }
}

/* v10.3 final cleanup: stable After Midnight card + uploaded 3:4 Smile Dog capsule */
.page-main meta[property="og:image"] { content: url("assets/smile-dog-cover-vertical.webp"); }

.page-midnight .topbar .mini-brand img.after-logo-mark,
.page-midnight .topbar .mini-brand img {
  width: 56px !important;
  height: 56px !important;
  object-fit: cover !important;
  object-position: center !important;
  border: 2px solid var(--line) !important;
  border-radius: 14px !important;
  background: #0b0710 !important;
  padding: 0 !important;
}

.page-midnight .age-modal-card {
  max-width: 640px !important;
  text-align: center !important;
}

.page-midnight .age-logo {
  display: block !important;
  width: min(180px, 48vw) !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  object-position: center !important;
  margin: 18px auto 12px !important;
  border: 3px solid var(--line) !important;
  border-radius: 24px !important;
  background: #100914 !important;
  box-shadow: 5px 5px 0 rgba(36,19,45,.76) !important;
}

.page-midnight .midnight-visual {
  position: relative !important;
  overflow: visible !important;
}

.page-midnight .midnight-logo-sticker {
  position: absolute !important;
  z-index: 8 !important;
  right: 14px !important;
  top: 14px !important;
  width: min(104px, 26%) !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  border: 3px solid var(--paper) !important;
  border-radius: 22px !important;
  background: #100914 !important;
  box-shadow: 5px 5px 0 rgba(36,19,45,.76) !important;
  transform: rotate(6deg) !important;
  pointer-events: none !important;
}

.page-midnight .am-release-window {
  margin-top: 14px !important;
  padding-bottom: 16px !important;
  overflow: hidden !important;
}

.page-midnight .am-release-card {
  display: grid !important;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr) !important;
  gap: 20px !important;
  align-items: stretch !important;
  margin: 16px !important;
  padding: 16px !important;
  background: #fff8ee !important;
  color: var(--ink) !important;
  border: 3px solid var(--line) !important;
  border-radius: 18px !important;
  box-shadow: 5px 5px 0 rgba(36,19,45,.42) !important;
}

.page-midnight .am-cover {
  position: relative !important;
  display: block !important;
  min-height: 360px !important;
  aspect-ratio: 3 / 4 !important;
  overflow: hidden !important;
  border: 3px solid var(--line) !important;
  border-radius: 18px !important;
  background: #160b1d !important;
  box-shadow: 5px 5px 0 rgba(36,19,45,.62) !important;
  text-decoration: none !important;
}

.page-midnight .am-cover img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #160b1d !important;
}

.page-midnight .am-cover::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  background: linear-gradient(to bottom, rgba(10,4,14,.02), rgba(10,4,14,.34)) !important;
  pointer-events: none !important;
}

.page-midnight .am-cover time {
  position: absolute !important;
  z-index: 3 !important;
  left: 10px !important;
  top: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 0 !important;
  width: auto !important;
  min-width: 0 !important;
  padding: 4px 9px !important;
  color: var(--ink) !important;
  background: linear-gradient(135deg, #ffc7e3, #c6a3ff) !important;
  border: 2px solid var(--line) !important;
  border-radius: 999px !important;
  box-shadow: 3px 3px 0 rgba(36,19,45,.72) !important;
  font-size: .78rem !important;
  line-height: 1 !important;
  font-weight: 1000 !important;
  letter-spacing: .02em !important;
}

.page-midnight .am-release-copy {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 12px !important;
  min-width: 0 !important;
}

.page-midnight .am-release-copy .release-type {
  display: inline-flex !important;
  width: auto !important;
  padding: 5px 9px !important;
  border: 2px solid var(--line) !important;
  border-radius: 999px !important;
  background: #ffd6ea !important;
  color: #8a1745 !important;
  font-size: .78rem !important;
  font-weight: 1000 !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
}

.page-midnight .am-release-copy h2 {
  margin: 0 !important;
  color: var(--ink) !important;
  font-size: clamp(2rem, 4vw, 3.6rem) !important;
  line-height: .88 !important;
}

.page-midnight .am-release-copy p {
  max-width: 560px !important;
  margin: 0 !important;
  color: #65516e !important;
  font-size: 1.05rem !important;
}

.page-midnight .am-release-actions {
  margin-top: 6px !important;
}

.page-midnight .disabled-button {
  cursor: default !important;
  opacity: .82 !important;
}

/* Force all Smile Dog vertical placements to use the new uploaded 3:4 capsule cleanly. */
.smile-tile .tile-art img,
.hero-poster img[src*="smile-dog-cover-vertical"],
.hot-entry .release-date-art img {
  object-fit: cover !important;
  object-position: center center !important;
  padding: 0 !important;
  background: #160b1d !important;
}

@media (max-width: 780px) {
  .page-midnight .am-release-card {
    grid-template-columns: 1fr !important;
  }

  .page-midnight .am-cover {
    min-height: 0 !important;
    width: min(360px, 100%) !important;
    justify-self: center !important;
  }
}

/* v10 FINAL OVERRIDES: dedicated After Midnight release card; no inherited Release Board stretching */
.after-release-window {
  padding-bottom: 14px !important;
  overflow: hidden !important;
}

.after-release-card {
  display: grid !important;
  grid-template-columns: minmax(210px, 290px) minmax(0, 1fr) !important;
  grid-template-areas:
    "cover copy"
    "cover actions" !important;
  gap: 16px 20px !important;
  align-items: center !important;
  margin: 14px !important;
  padding: 14px !important;
  min-height: 0 !important;
  color: var(--ink) !important;
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 79, 143, .18), transparent 32%),
    linear-gradient(135deg, #fff8ee 0%, #fff8ee 58%, #eadcff 100%) !important;
  border: 3px solid var(--line) !important;
  border-radius: 18px !important;
  box-shadow: 5px 5px 0 rgba(36, 19, 45, .48) !important;
  overflow: hidden !important;
}

.after-release-cover {
  grid-area: cover !important;
  position: relative !important;
  display: block !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: 3 / 4 !important;
  overflow: hidden !important;
  background: #160b1d !important;
  border: 3px solid var(--line) !important;
  border-radius: 16px !important;
  box-shadow: 4px 4px 0 rgba(36, 19, 45, .55) !important;
}

.after-release-cover img {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  padding: 0 !important;
  background: #160b1d !important;
}

.after-release-cover time {
  position: absolute !important;
  left: 10px !important;
  top: 10px !important;
  bottom: auto !important;
  z-index: 4 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 4px 9px !important;
  color: var(--ink) !important;
  background: linear-gradient(135deg, #ffc7e3, #c6a3ff) !important;
  border: 2px solid var(--line) !important;
  border-radius: 999px !important;
  box-shadow: 3px 3px 0 rgba(36, 19, 45, .70) !important;
  font-size: .74rem !important;
  line-height: 1 !important;
  font-weight: 1000 !important;
  letter-spacing: .03em !important;
}

.after-release-copy {
  grid-area: copy !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: end !important;
  gap: 10px !important;
  padding: 4px 0 0 !important;
}

.after-release-copy .release-type {
  align-self: flex-start !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 5px 9px !important;
  color: #8a1745 !important;
  background: #ffd6ea !important;
  border: 2px solid var(--line) !important;
  border-radius: 999px !important;
  font-size: .76rem !important;
  line-height: 1 !important;
  font-weight: 1000 !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
}

.after-release-copy h2 {
  margin: 0 !important;
  color: var(--ink) !important;
  font-size: clamp(2.05rem, 4vw, 3.65rem) !important;
  line-height: .9 !important;
  letter-spacing: -.06em !important;
  max-width: 9ch !important;
}

.after-release-copy p {
  margin: 0 !important;
  max-width: 52ch !important;
  color: #65516e !important;
  font-size: 1rem !important;
  line-height: 1.55 !important;
}

.after-release-actions {
  grid-area: actions !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  align-items: start !important;
  min-width: 0 !important;
  margin: 0 !important;
}

.after-release-actions .button {
  width: auto !important;
  min-width: 120px !important;
}

.button-disabled {
  pointer-events: none !important;
  cursor: default !important;
  opacity: .74 !important;
}

@media (max-width: 760px) {
  .after-release-card {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "cover"
      "copy"
      "actions" !important;
  }
  .after-release-cover {
    width: min(360px, 100%) !important;
    justify-self: center !important;
  }
  .after-release-copy h2 {
    max-width: none !important;
  }
}

/* v10.1: After Midnight card has two columns because action buttons live inside the copy block. */
.page-midnight .after-release-card {
  grid-template-columns: minmax(170px, 240px) minmax(0, 1fr) !important;
}

.page-midnight .after-release-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  min-width: 0 !important;
  margin-top: 8px !important;
}

.page-midnight .after-release-actions .button {
  min-height: 40px !important;
  padding: 0 16px !important;
  font-size: .9rem !important;
}
