
:root {
  color-scheme: dark;
  --bg: #070b10;
  --bg-soft: #0d141c;
  --panel: #111a24;
  --panel-2: #172330;
  --border: rgba(255,255,255,.13);
  --text: #f4efe5;
  --muted: #aab5c2;
  --gold: #d4ae61;
  --gold-bright: #f2d28e;
  --storm: #6aa8ca;
  --danger: #8e3238;
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% -10%, rgba(74,126,161,.24), transparent 34rem),
    linear-gradient(180deg, #09101a, var(--bg) 42rem);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: rgba(5,9,14,.96);
}

.header-inner {
  display: flex;
  width: min(var(--max), calc(100% - 32px));
  min-height: 82px;
  margin: auto;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  text-decoration: none;
}

.brand span {
  display: block;
  color: var(--gold);
  font-size: .69rem;
  font-weight: 900;
  letter-spacing: .19em;
}

.brand strong {
  display: block;
  margin-top: 2px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
}

nav {
  display: flex;
  gap: 22px;
}

nav a {
  color: var(--muted);
  font-size: .92rem;
  font-weight: 800;
  text-decoration: none;
}

nav a:hover {
  color: var(--gold-bright);
}

.private-banner {
  padding: 7px 15px;
  background: #63242a;
  color: white;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-align: center;
}

.hero {
  position: relative;
  min-height: 600px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background-position: center;
  background-size: cover;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(4,8,13,.96) 0%, rgba(4,8,13,.72) 42%, rgba(4,8,13,.16) 76%),
    linear-gradient(0deg, #070b10 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 100px 0 72px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold-bright);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero h1,
.page-title,
.reader-title {
  margin: 0;
  max-width: 850px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 7vw, 5.8rem);
  line-height: .98;
  text-shadow: 0 5px 24px rgba(0,0,0,.58);
}

.hero-copy {
  max-width: 720px;
  margin: 24px 0 0;
  color: #d3d9df;
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.button-row {
  display: flex;
  margin-top: 28px;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 19px;
  border: 1px solid var(--gold);
  border-radius: 7px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #20180b;
  font-weight: 900;
  text-decoration: none;
}

.button.secondary {
  border-color: var(--border);
  background: rgba(7,11,16,.76);
  color: var(--text);
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.section + .section {
  border-top: 1px solid var(--border);
}

.section-heading {
  display: flex;
  margin-bottom: 25px;
  gap: 20px;
  align-items: end;
  justify-content: space-between;
}

.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.section-heading p {
  max-width: 670px;
  margin: 8px 0 0;
  color: var(--muted);
}

.notice {
  padding: 24px;
  border: 1px solid rgba(212,174,97,.42);
  border-radius: 12px;
  background:
    linear-gradient(120deg, rgba(212,174,97,.13), transparent 50%),
    var(--panel);
}

.notice strong {
  display: block;
  margin-bottom: 7px;
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
}

.card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--panel);
  box-shadow: 0 17px 42px rgba(0,0,0,.24);
}

.card-image {
  display: flex;
  height: 280px;
  padding: 10px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at center, rgba(70,94,117,.18), transparent 65%),
    #020406;
}

.card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .24s ease;
}

.card:hover .card-image img {
  transform: scale(1.035);
}

.card-body {
  padding: 20px;
}

.card-kicker {
  color: var(--gold);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.card h3 {
  margin: 7px 0 9px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.15;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--gold-bright);
  font-weight: 900;
  text-decoration: none;
}

.page-hero {
  padding: 92px 0 60px;
  border-bottom: 1px solid var(--border);
}

.page-hero-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: auto;
}

.page-intro {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.08rem;
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
}

.character-card img {
  width: 100%;
  height: 390px;
  object-fit: contain;
  background:
    radial-gradient(circle, #253a4d, #080c11 72%);
}

.reader-hero {
  position: relative;
  min-height: 430px;
  display: grid;
  align-items: end;
  background-position: center;
  background-size: cover;
}

.reader-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(0deg, #070b10 0%, rgba(7,11,16,.6) 65%, rgba(7,11,16,.28)),
    linear-gradient(90deg, rgba(7,11,16,.92), transparent 76%);
}

.reader-hero-inner {
  position: relative;
  z-index: 1;
  width: min(970px, calc(100% - 32px));
  margin: 0 auto;
  padding: 90px 0 48px;
}

.reader-title {
  font-size: clamp(2.4rem, 7vw, 5rem);
}

.reader-meta {
  margin-top: 17px;
  color: #d7dce1;
  font-weight: 700;
}

.reader-wrap {
  width: min(970px, calc(100% - 32px));
  margin: auto;
  padding: 52px 0 80px;
}

.noncanon-label {
  margin-bottom: 34px;
  padding: 19px;
  border-left: 5px solid var(--gold);
  background: var(--panel);
  color: #d9dfe5;
}

.story-article {
  padding: clamp(24px, 5vw, 62px);
  border: 1px solid var(--border);
  border-radius: 13px;
  background: rgba(14,21,29,.92);
  box-shadow: 0 20px 55px rgba(0,0,0,.28);
}

.story-article p {
  margin: 0 0 1.35em;
  color: #e0e3e6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 2vw, 1.18rem);
  line-height: 1.82;
}

.story-article h2 {
  margin: 2.2em 0 .8em;
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.story-gallery {
  display: grid;
  margin-top: 42px;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 15px;
}

.story-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
}

.story-gallery img {
  display: block;
  width: 100%;
  height: 330px;
  object-fit: contain;
  background: #030507;
}

.story-gallery figcaption {
  padding: 10px 13px;
  color: var(--muted);
  font-size: .78rem;
}

.reader-navigation {
  display: grid;
  margin-top: 30px;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 15px;
}

.reader-navigation a {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--panel);
  color: var(--gold-bright);
  font-weight: 900;
  text-decoration: none;
}

.reader-navigation a:last-child {
  text-align: right;
}

.back-to-library {
  display: block;
  margin-top: 16px;
  padding: 19px;
  border-radius: 9px;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #20180b;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.site-footer {
  padding: 40px 20px;
  border-top: 1px solid var(--border);
  background: #05080c;
  color: var(--muted);
  text-align: center;
}

.site-footer a {
  color: var(--gold-bright);
  font-weight: 800;
}

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

  .hero {
    min-height: 520px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    min-height: auto;
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    gap: 17px;
    justify-content: space-between;
  }

  .hero {
    min-height: 540px;
  }

  .grid,
  .character-grid {
    grid-template-columns: 1fr;
  }

  .card-image {
    height: 300px;
  }

  .character-card img {
    height: 420px;
  }

  .story-gallery {
    grid-template-columns: 1fr;
  }

  .story-gallery img {
    height: 300px;
  }

  .reader-navigation {
    grid-template-columns: 1fr;
  }

  .reader-navigation a:last-child {
    text-align: left;
  }
}

/* ISTRAM FULL STORY ART FIX */
.card-image {
  display: flex;
  height: 280px;
  padding: 10px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at center, rgba(81,110,137,.20), transparent 68%),
    #020406;
}

.card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 640px) {
  .card-image {
    height: 300px;
  }
}



/* NORTH BY CROSSBOW AUDIO PLAYER START */

.story-audio{
  margin:24px 0 34px;
  padding:clamp(20px,4vw,30px);
  border:1px solid rgba(221,169,74,.5);
  border-radius:18px;
  background:
    linear-gradient(
      145deg,
      rgba(37,27,20,.98),
      rgba(17,14,13,.98)
    );
  box-shadow:
    0 18px 42px rgba(0,0,0,.3),
    inset 0 1px 0 rgba(255,255,255,.05);
}

.story-audio-copy{
  margin-bottom:18px;
}

.story-audio-kicker{
  margin:0 0 7px;
  color:#dba94f;
  font-family:Arial,sans-serif;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.story-audio h2{
  margin:0 0 9px;
  color:#f4e7cf;
  font-size:clamp(1.35rem,4vw,1.8rem);
  line-height:1.2;
}

.story-audio-copy > p:last-child{
  margin:0;
  color:rgba(244,231,207,.78);
  line-height:1.55;
}

.story-audio audio{
  display:block;
  width:100%;
  margin:0;
}

.story-audio-note{
  margin:12px 0 0;
  color:rgba(244,231,207,.55);
  font-family:Arial,sans-serif;
  font-size:.72rem;
  line-height:1.4;
}

@media(max-width:600px){
  .story-audio{
    margin:18px 0 28px;
    padding:18px 15px;
    border-radius:14px;
  }
}

/* NORTH BY CROSSBOW AUDIO PLAYER END */
