/* ExpansionTales v4 — dark illustrated pulp anthology */
:root {
  color-scheme: dark;
  --paper: #120b12;
  --paper-light: #21131d;
  --ink: #f6e9df;
  --blue: #b65c7b;
  --orange: #e47d91;
  --acid: #d6a65f;
  --pink: #e88eaa;
  --line: #724056;
  --text: #f6e9df;
  --muted: #c5a8b2;
  --panel: #21131d;
  --panel-strong: #301829;
  --coral: #e47d91;
  --mint: #c997b1;
  --gold: #d6a65f;
  --teal: #b65c7b;
  --shadow: 0 24px 70px rgba(0,0,0,.34);
}

html { background: #0c070c; }

body,
body.missexpansion-inner-page,
body.missexpansion-reader-page {
  background:
    radial-gradient(circle at 13% 10%, rgba(143,49,83,.2), transparent 28%),
    radial-gradient(circle at 88% 28%, rgba(105,52,92,.18), transparent 30%),
    #120b12 !important;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

body::before {
  z-index: -1;
  opacity: .24;
  background-image: radial-gradient(rgba(246,233,223,.22) .7px, transparent .7px);
  background-size: 9px 9px;
  mix-blend-mode: normal;
}

h1,
h2,
h3,
.inner-hero h1,
.reader-title h1 {
  font-family: "Arial Black", "Arial Narrow Bold", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -.055em;
}

.et2-story-copy strong,
.archive-copy h2,
.et2-lead-caption strong {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -.045em;
  text-transform: none;
}

.eyebrow,
.et2-kicker {
  color: var(--pink);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  letter-spacing: .18em;
}

.button,
.button-primary,
.button-soft,
.button-outline,
.game-float,
.patreon-float {
  min-height: 48px;
  border: 1px solid rgba(246,233,223,.5);
  border-radius: 999px;
  padding: 0 23px;
  background: rgba(255,255,255,.035);
  color: var(--ink);
  box-shadow: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  clip-path: none;
}

.button-primary,
.game-float {
  border-color: var(--pink);
  background: var(--pink);
  color: #260d19;
}

.patreon-float {
  border-color: var(--gold);
  background: transparent;
  color: #f2c984;
}

.button:hover,
.button-primary:hover,
.button-soft:hover,
.game-float:hover,
.patreon-float:hover {
  box-shadow: 0 10px 30px rgba(232,142,170,.2);
  transform: translateY(-2px);
}

.top-action {
  width: min(1320px, calc(100% - 48px));
  margin-top: 18px;
  border-bottom: 1px solid rgba(246,233,223,.15);
  padding-bottom: 18px;
}

.top-action::after { display: none; }

.top-logo { height: 52px; }

.top-logo img {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: transparent;
}

.top-logo::after {
  content: "ExpansionTales";
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: none;
}

.patreon-status,
.patreon-notice {
  border: 1px solid var(--gold);
  border-radius: 18px;
  background: #2b171c;
  color: var(--ink);
  box-shadow: none;
}

.et2-cover {
  width: min(1320px, calc(100% - 48px));
  padding: 68px 0 80px;
}

.et2-masthead > p {
  border: 0;
  padding: 0;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
}

.et2-masthead > p span:nth-child(2) {
  color: var(--pink);
  font-weight: 900;
}

.et2-masthead h1 {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin: 20px 0 54px;
  border: 0;
  padding: 0;
  font-family: "Arial Black", Arial, sans-serif;
  font-size: clamp(5rem, 12.7vw, 12rem);
  line-height: .69;
  letter-spacing: -.085em;
}

.et2-masthead h1 span:first-child {
  color: var(--ink);
  text-shadow: 0 18px 60px rgba(0,0,0,.35);
}

.et2-masthead h1 span:last-child {
  align-self: flex-end;
  color: var(--pink);
  -webkit-text-stroke: 0;
  text-shadow: 0 18px 60px rgba(232,142,170,.16);
}

.et2-cover-grid {
  grid-template-columns: minmax(0, .76fr) minmax(520px, 1.24fr);
  gap: clamp(40px, 6vw, 86px);
  align-items: center;
  border: 0;
  padding: 0;
  background: transparent;
}

.et2-intro {
  padding: 0;
}

.et2-intro::after { display: none; }

.et2-intro h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 4.4vw, 5rem);
  font-style: italic;
  font-weight: 700;
  line-height: .94;
  letter-spacing: -.045em;
}

.et2-intro > p:not(.et2-kicker) {
  max-width: 560px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
}

.et2-actions { margin-top: 32px; }

.et2-text-link {
  border-bottom: 1px solid var(--pink);
  color: var(--pink);
  font-family: Arial, Helvetica, sans-serif;
}

.et2-text-link span { color: var(--gold); }

.et2-data {
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 46px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.et2-data div {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  border: 1px solid rgba(246,233,223,.16);
  border-radius: 999px;
  padding: 12px 18px;
  background: rgba(255,255,255,.025);
}

.et2-data div + div { border: 1px solid rgba(246,233,223,.16); }

.et2-data dt {
  color: var(--pink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-style: italic;
}

.et2-data dd {
  color: var(--muted);
  font-size: .62rem;
}

.et2-lead {
  grid-template-columns: minmax(290px, 1fr) minmax(250px, .78fr);
  min-height: 610px;
  overflow: hidden;
  border: 1px solid rgba(246,233,223,.28);
  border-radius: 260px 260px 28px 28px;
  background: #24121f;
  box-shadow: 0 30px 80px rgba(0,0,0,.44);
}

.et2-lead:hover {
  box-shadow: 0 36px 90px rgba(0,0,0,.52);
  transform: translateY(-4px);
}

.et2-lead-label {
  top: 22px;
  left: 50%;
  border: 1px solid rgba(246,233,223,.42);
  border-radius: 999px;
  padding: 9px 15px;
  background: rgba(33,19,29,.88);
  color: var(--pink);
  transform: translateX(-50%);
  white-space: nowrap;
}

.et2-lead-art {
  border: 0;
  border-right: 1px solid rgba(246,233,223,.2);
  background: #36182a;
}

.et2-lead-art img,
.et2-story-cover img,
.archive-cover img {
  filter: saturate(.92) contrast(1.03);
}

.et2-burst {
  top: 90px;
  right: 34px;
  width: 82px;
  height: 82px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: #3b1830;
  color: #f3c984;
  clip-path: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .64rem;
  transform: rotate(7deg);
}

.et2-lead-caption { padding: 48px 30px 38px; }
.et2-lead-caption small { color: var(--gold); }

.et2-lead-caption strong {
  margin-top: 12px;
  font-size: clamp(2.8rem, 4.5vw, 5rem);
  line-height: .88;
}

.et2-lead-caption em {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.6;
}

.et2-lead-caption b {
  border-top: 1px solid rgba(246,233,223,.2);
  color: var(--pink);
}

.et2-newswire {
  min-width: 0;
  border-top: 1px solid rgba(246,233,223,.14);
  border-bottom: 1px solid rgba(246,233,223,.14);
  padding: 17px 24px;
  background: #351424;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
}

.et2-newswire strong { background: transparent; color: #f4c7d4; }
.et2-newswire i { color: var(--pink); }

.section.et2-library,
.section.et2-game,
.section.et2-membership {
  width: min(1320px, calc(100% - 48px));
}

.et2-library { padding: 110px 0 125px; }

.et2-section-head {
  align-items: end;
  border-bottom: 1px solid rgba(246,233,223,.16);
  padding-bottom: 24px;
}

.et2-section-head span { color: var(--pink); }

.et2-section-head h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 7vw, 7.5rem);
  font-style: italic;
  text-transform: none;
}

.et2-section-head p {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  text-transform: none;
}

.et2-section-head > a {
  border: 1px solid var(--pink);
  border-radius: 999px;
  background: transparent;
  color: var(--pink);
  box-shadow: none;
}

.et2-story-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.et2-story-card,
.et2-story-1,
.et2-story-2,
.et2-story-3 {
  grid-column: auto;
  margin-top: 0;
  overflow: hidden;
  border: 1px solid rgba(246,233,223,.2);
  border-radius: 120px 120px 22px 22px;
  background: #21131d;
  box-shadow: 0 22px 58px rgba(0,0,0,.3);
}

.et2-story-card:nth-child(2) { margin-top: 52px; }

.et2-story-card:hover {
  border-color: rgba(232,142,170,.62);
  box-shadow: 0 30px 70px rgba(0,0,0,.4);
  transform: translateY(-6px);
}

.et2-story-index {
  top: 18px;
  left: 50%;
  border: 1px solid rgba(246,233,223,.3);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(35,17,29,.88);
  color: var(--gold);
  transform: translateX(-50%);
}

.et2-story-cover {
  aspect-ratio: 4 / 5;
  border-bottom: 1px solid rgba(246,233,223,.16);
  background: #32192a;
}

.et2-story-copy,
.et2-story-1 .et2-story-copy,
.et2-story-2 .et2-story-copy,
.et2-story-3 .et2-story-copy {
  min-height: 280px;
  padding: 25px;
  background: linear-gradient(180deg, #2a1624, #1d111a);
}

.et2-story-copy small { color: var(--gold); }

.et2-story-copy strong {
  font-size: clamp(2.3rem, 3.5vw, 4rem);
  line-height: .9;
}

.et2-story-copy em {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.55;
}

.et2-story-copy b { color: var(--pink); }

.et2-game {
  grid-template-columns: minmax(520px, 1.08fr) minmax(380px, .92fr);
  overflow: hidden;
  border: 1px solid rgba(246,233,223,.25);
  border-radius: 30px;
  background: #21131d;
  box-shadow: 0 32px 90px rgba(0,0,0,.4);
}

.et2-game-screen {
  border-right: 1px solid rgba(246,233,223,.2);
  background: #30172a;
}

.et2-screen-bar {
  border-bottom: 1px solid rgba(246,233,223,.18);
  background: #3a1930;
  color: #efc0ce;
  font-family: Arial, Helvetica, sans-serif;
}

.et2-screen-body {
  min-height: 570px;
  background:
    radial-gradient(circle at 50% 24%, rgba(238,152,181,.38), transparent 22%),
    radial-gradient(ellipse at 50% 100%, #55213e 0 28%, transparent 29%),
    linear-gradient(155deg, #241121, #51203e 55%, #1d101a);
}

.et2-screen-body::before,
.et2-screen-body::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(246,233,223,.14);
  border-radius: 50%;
}

.et2-screen-body::before { inset: 58px 90px 90px; }
.et2-screen-body::after { inset: 92px 126px 126px; }

.et2-pixel-moon {
  top: 38px;
  right: 48px;
  width: 108px;
  height: 108px;
  border: 1px solid rgba(246,233,223,.45);
  background: rgba(246,233,223,.08);
  box-shadow: 0 0 50px rgba(232,142,170,.2);
}

.et2-pixel-figure {
  z-index: 2;
  bottom: 90px;
  width: 250px;
  height: 390px;
  border: 0;
  border-radius: 48% 48% 24% 24%;
  background:
    radial-gradient(circle at 50% 13%, #e7b19f 0 11%, #2a1426 11.5% 16%, transparent 16.5%),
    radial-gradient(circle at 34% 48%, #7e2947 0 20%, transparent 20.5%),
    radial-gradient(circle at 66% 48%, #7e2947 0 20%, transparent 20.5%),
    linear-gradient(165deg, transparent 0 24%, #261326 25% 100%);
  filter: none;
}

.et2-choice-box {
  right: 30px;
  bottom: 25px;
  left: 30px;
  z-index: 4;
  border: 1px solid rgba(246,233,223,.4);
  border-radius: 24px 24px 24px 5px;
  padding: 20px 24px;
  background: rgba(27,13,23,.94);
  box-shadow: 0 16px 38px rgba(0,0,0,.32);
}

.et2-choice-box small { color: var(--gold); font-family: Arial, Helvetica, sans-serif; }

.et2-choice-box p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 700;
}

.et2-choice-box span { color: var(--pink); font-family: Arial, Helvetica, sans-serif; }

.et2-game-copy {
  padding: clamp(42px, 6vw, 80px);
  background:
    radial-gradient(circle at 110% 0, rgba(232,142,170,.22), transparent 34%),
    #24131f;
}

.et2-game-copy h2 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.5rem, 7vw, 8rem);
  font-style: italic;
  line-height: .76;
}

.et2-game-copy > p:not(.et2-kicker) {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.65;
}

.et2-game-copy li {
  border-top: 1px solid rgba(246,233,223,.16);
  color: #efb4c5;
}

.et2-vertical-word {
  color: rgba(232,142,170,.07);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

.et2-membership {
  margin-top: 120px;
  margin-bottom: 120px;
  overflow: hidden;
  border: 1px solid rgba(214,166,95,.5);
  border-radius: 180px 30px 30px 30px;
  padding: clamp(56px, 7vw, 94px);
  background:
    radial-gradient(circle at 0 0, rgba(214,166,95,.12), transparent 32%),
    #21131a;
  box-shadow: 0 28px 80px rgba(0,0,0,.35);
}

.et2-membership::before { display: none; }

.et2-membership h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  text-transform: none;
}

.et2-membership p {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
}

.et2-membership-stamp {
  top: 26px;
  right: 30px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: #2c171d;
  color: #efc57f;
  box-shadow: none;
  font-family: Arial, Helvetica, sans-serif;
}

/* Inner archive, reader, and game pages */
.inner-hero {
  width: min(1260px, calc(100% - 48px));
  border-bottom: 1px solid rgba(246,233,223,.16);
}

.inner-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  text-transform: none;
}

.back-link,
.back-link::before { color: var(--pink); }

.archive-filters a {
  border: 1px solid rgba(246,233,223,.2);
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
}

.archive-card {
  overflow: hidden;
  border: 1px solid rgba(246,233,223,.2);
  border-radius: 90px 90px 20px 20px;
  background: var(--panel);
  box-shadow: 0 20px 55px rgba(0,0,0,.28);
}

.archive-card:hover {
  border-color: var(--pink);
  box-shadow: 0 28px 70px rgba(0,0,0,.36);
  transform: translateY(-5px);
}

.archive-cover { border-bottom: 1px solid rgba(246,233,223,.18); }

.archive-cover-badge,
.release-label,
.tag,
.status-pill {
  border: 1px solid rgba(214,166,95,.56);
  border-radius: 999px;
  background: #351a25;
  color: #efc57f;
}

.archive-button,
.release-button {
  border: 1px solid var(--pink);
  border-radius: 999px;
  background: var(--pink);
  color: #260d19;
  box-shadow: none;
}

.legal-panel,
.faq-item,
.comments-panel,
.reader-finish-panel,
.member-status-list span,
.comment-locked,
.comment-list li,
.reader-stat,
.reader-bottom-nav a,
.disabled-link {
  border: 1px solid rgba(246,233,223,.18);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: 0 16px 44px rgba(0,0,0,.24);
}

.faq-question { background: #351827; color: var(--ink); }

.reader-title { border-bottom: 1px solid rgba(246,233,223,.16); }
.reader-title h1 { font-family: Georgia, "Times New Roman", serif; font-style: italic; text-transform: none; }

.reader-locked-page {
  border: 1px solid rgba(214,166,95,.5);
  border-radius: 30px;
  background: #2b171d;
  box-shadow: 0 24px 65px rgba(0,0,0,.32);
}

.reader-locked-page a,
.comment-locked a {
  border: 1px solid var(--pink);
  border-radius: 999px;
  background: var(--pink);
  color: #260d19;
  box-shadow: none;
}

.reader-page-image,
.reader-placeholder-page {
  border: 1px solid rgba(246,233,223,.18);
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(0,0,0,.34);
}

.et-build-placeholder {
  border: 1px solid rgba(246,233,223,.24);
  border-radius: 32px;
  background:
    radial-gradient(circle at 85% 15%, rgba(232,142,170,.2), transparent 30%),
    #24131f;
  box-shadow: 0 28px 80px rgba(0,0,0,.36);
}

.et-build-placeholder h2 { font-family: Georgia, "Times New Roman", serif; font-style: italic; text-transform: none; }
.et-build-orbit { border: 1px solid var(--pink); border-radius: 50%; }
.et-build-orbit::before, .et-build-orbit::after { border: 1px solid var(--gold); border-radius: 50%; }
.et-build-status { border: 1px solid var(--gold); border-radius: 999px; background: #2b171d; color: #efc57f; }

.age-gate { background: rgba(18,8,15,.96); backdrop-filter: blur(14px); }

.age-panel {
  border: 1px solid rgba(246,233,223,.28);
  border-radius: 32px;
  background: #24131f;
  box-shadow: 0 30px 100px rgba(0,0,0,.55);
}

.age-panel h2 { font-family: Georgia, "Times New Roman", serif; font-style: italic; text-transform: none; }

.site-footer {
  border-top: 1px solid rgba(246,233,223,.14);
  background: #160c13;
  color: var(--muted);
}

.site-footer p,
.site-footer .footer-disclaimer { color: var(--muted); }

.footer-social {
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: transparent;
  color: #efc57f;
}

@media (max-width: 1020px) {
  .et2-cover-grid { grid-template-columns: 1fr; }
  .et2-intro { max-width: 720px; }
  .et2-data { grid-template-columns: repeat(3, 1fr); }
  .et2-data div { display: block; border-radius: 18px; }
  .et2-lead { min-height: 650px; border-left: 1px solid rgba(246,233,223,.28); }
  .et2-story-grid { grid-template-columns: repeat(2, 1fr); }
  .et2-story-card:last-child { grid-column: 1 / -1; width: calc(50% - 13px); justify-self: center; }
  .et2-game { grid-template-columns: 1fr; }
  .et2-game-screen { border-right: 0; border-bottom: 1px solid rgba(246,233,223,.2); }
}

@media (max-width: 700px) {
  .top-action,
  .et2-cover,
  .section.et2-library,
  .section.et2-game,
  .section.et2-membership,
  .inner-hero { width: calc(100% - 24px); }

  .et2-cover { padding-top: 44px; }
  .et2-masthead h1 { font-size: clamp(4rem, 21.5vw, 6.4rem); line-height: .72; margin-bottom: 38px; }
  .et2-intro h2 { font-size: 3rem; }
  .et2-data { grid-template-columns: 1fr; }
  .et2-data div { display: grid; grid-template-columns: 100px 1fr; border-radius: 999px; }
  .et2-lead { grid-template-columns: 1fr; min-height: 0; border-radius: 150px 150px 24px 24px; }
  .et2-lead-art { min-height: 520px; border-right: 0; border-bottom: 1px solid rgba(246,233,223,.2); }
  .et2-lead-label { top: 18px; max-width: calc(100% - 50px); overflow: hidden; text-overflow: ellipsis; }
  .et2-newswire { justify-content: flex-start; overflow: hidden; }
  .et2-section-head h2 { font-size: 3.8rem; }
  .et2-story-grid { grid-template-columns: 1fr; }
  .et2-story-card,
  .et2-story-card:nth-child(2),
  .et2-story-card:last-child { grid-column: auto; width: auto; margin-top: 0; }
  .et2-story-cover { aspect-ratio: 4 / 5; }
  .et2-screen-body { min-height: 520px; }
  .et2-pixel-figure { width: 210px; height: 340px; }
  .et2-choice-box { right: 16px; bottom: 16px; left: 16px; }
  .et2-membership { border-radius: 90px 24px 24px 24px; padding: 76px 24px 42px; }
  .et2-membership-stamp { top: 20px; right: 20px; }
}
