/* bonus-the-black-concord-v2.10.73.css */
:root{--tbc-gold:#c49a50;--tbc-gold-bright:#e1bc72;--tbc-ivory:#eee5d7;--tbc-muted:#b5a895;--tbc-red:#7b2927;--tbc-line:rgba(196,154,80,.42)}body.tbc-access-page,body.tbc-vault-page{--shell:1180px;background:#050404;color:var(--tbc-ivory)}.tbc-access-page .site-header,.tbc-vault-page .site-header{background:linear-gradient(180deg,rgba(2,2,2,.98),rgba(2,2,2,.76) 76%,transparent)}.tbc-access-page .primary-nav>a.current,.tbc-vault-page .primary-nav>a.current{color:var(--tbc-gold-bright)}.tbc-breadcrumb{display:flex;align-items:center;gap:9px;margin-bottom:28px;color:#9f927f;font:700 9px/1.3 Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase}.tbc-breadcrumb a{color:#d5b36f}.tbc-breadcrumb a:hover,.tbc-breadcrumb a:focus{text-decoration:underline}.tbc-kicker,.tbc-section-kicker{margin:0 0 12px;color:var(--tbc-gold-bright);font:700 10px/1.3 Arial,sans-serif;letter-spacing:.28em;text-transform:uppercase}.tbc-gate-hero{position:relative;min-height:760px;display:grid;align-items:center;overflow:hidden;border-bottom:1px solid rgba(196,154,80,.28);background:#050404}.tbc-gate-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(.88) contrast(1.07) brightness(.54);transform:scale(1.015)}.tbc-gate-hero::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(0,0,0,.92),rgba(0,0,0,.70) 48%,rgba(0,0,0,.42)),linear-gradient(180deg,rgba(0,0,0,.28),rgba(0,0,0,.12) 60%,rgba(0,0,0,.94))}.tbc-gate-grid{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.72fr);gap:72px;align-items:center;padding-top:138px;padding-bottom:82px}.tbc-gate-copy{max-width:720px}.tbc-gate-copy h1,.tbc-vault-hero h1{margin:0;display:flex;flex-direction:column;text-transform:uppercase;text-shadow:0 10px 38px rgba(0,0,0,.92)}.tbc-gate-copy h1 span{color:#f3ece2;font-size:clamp(54px,6.6vw,92px);line-height:.92;font-weight:400;letter-spacing:.03em}.tbc-gate-copy h1 strong{color:var(--tbc-gold-bright);font-size:clamp(74px,8.8vw,125px);line-height:.82;font-weight:400;letter-spacing:.02em}.tbc-gate-lead{max-width:670px;margin:27px 0 0;color:#dfd6ca;font-size:clamp(18px,1.8vw,24px);line-height:1.52;font-style:italic}.tbc-access-notes{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}.tbc-access-notes span{padding:9px 12px;border:1px solid rgba(196,154,80,.34);background:rgba(0,0,0,.38);color:#cbbdA8;font:700 9px/1.2 Arial,sans-serif;letter-spacing:.09em;text-transform:uppercase}.tbc-gate-panel{padding:30px 32px 33px;border:1px solid rgba(196,154,80,.55);background:linear-gradient(145deg,rgba(18,13,11,.95),rgba(5,4,4,.98));box-shadow:0 30px 80px rgba(0,0,0,.64),inset 0 0 0 1px rgba(255,255,255,.018)}.tbc-gate-panel>img{display:block;width:145px;height:100px;object-fit:cover;margin:0 auto 20px;border:1px solid rgba(196,154,80,.35)}.tbc-panel-label{margin:0;text-align:center;color:var(--tbc-gold-bright);font:700 9px/1.3 Arial,sans-serif;letter-spacing:.2em;text-transform:uppercase}.tbc-gate-panel h2{margin:12px 0 11px;text-align:center;color:#f0e8dc;font-size:36px;line-height:1.05;font-weight:400}.tbc-gate-panel>p:not(.tbc-panel-label):not(.tbc-help-note){margin:0;color:#bdb2a3;font-size:14px;line-height:1.6;text-align:center}.tbc-access-form{margin-top:24px}.tbc-access-form label{display:block;margin-bottom:8px;color:#d6c8b2;font:700 9px/1.3 Arial,sans-serif;letter-spacing:.13em;text-transform:uppercase}.tbc-code-row{display:grid;grid-template-columns:1fr auto}.tbc-code-row input{min-width:0;height:52px;padding:0 15px;border:1px solid rgba(196,154,80,.58);border-right:0;background:#070606;color:#f0e7da;font:700 18px/1 Arial,sans-serif;letter-spacing:.16em;outline:0}.tbc-code-row input:focus{box-shadow:0 0 0 2px rgba(225,188,114,.23)}.tbc-reveal-code{width:70px;border:1px solid rgba(196,154,80,.58);background:#17110d;color:#d4b36f;font:700 9px/1 Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase}.tbc-unlock-button{width:100%;display:flex;align-items:center;justify-content:space-between;margin-top:12px;padding:15px 17px;border:1px solid var(--tbc-gold-bright);background:var(--tbc-gold-bright);color:#080605;font:700 11px/1 Arial,sans-serif;letter-spacing:.09em;text-transform:uppercase;cursor:pointer;transition:transform .2s ease,background .2s ease}.tbc-unlock-button:hover,.tbc-unlock-button:focus{transform:translateY(-2px);background:#f0d08e}.tbc-unlock-button[disabled]{opacity:.62;cursor:wait;transform:none}.tbc-form-message{min-height:20px;margin:10px 0 0;color:#d38a83;font-size:12px;line-height:1.45}.tbc-form-message.is-success{color:#d7bd83}.tbc-help-note{margin:9px 0 0!important;color:#8f8373!important;font-size:11px!important;line-height:1.5!important;text-align:left!important}.tbc-gate-about{padding:92px 0;background:radial-gradient(circle at 16% 15%,rgba(196,154,80,.08),transparent 28%),#080606}.tbc-about-grid,.tbc-overview-grid{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:74px;align-items:start}.tbc-about-grid h2,.tbc-overview-grid h2,.tbc-downloads-heading h2,.tbc-complete-pack h2{margin:0;color:#f0e8dc;font-size:clamp(39px,4.8vw,63px);line-height:1.05;font-weight:400}.tbc-about-grid>div:last-child,.tbc-overview-copy{padding-left:34px;border-left:1px solid var(--tbc-line)}.tbc-about-grid p,.tbc-overview-copy>p{margin:0 0 17px;color:#c4b9aa;font-size:17px;line-height:1.72}.tbc-vault-hero{position:relative;min-height:690px;display:grid;align-items:end;overflow:hidden;border-bottom:1px solid rgba(196,154,80,.28);background:#050404}.tbc-vault-hero-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(.78) contrast(1.06) brightness(.53);transform:scale(1.015)}.tbc-vault-hero::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(0,0,0,.94) 0%,rgba(0,0,0,.70) 46%,rgba(0,0,0,.28) 78%,rgba(0,0,0,.62)),linear-gradient(180deg,rgba(0,0,0,.20),rgba(0,0,0,.14) 54%,rgba(0,0,0,.96))}.tbc-vault-hero-inner{position:relative;z-index:2;padding-top:140px;padding-bottom:78px}.tbc-vault-hero h1 span{color:#f1e9dd;font-size:clamp(48px,6.2vw,84px);line-height:.95;font-weight:400}.tbc-vault-hero h1 strong{margin-top:7px;color:var(--tbc-gold-bright);font-size:clamp(36px,4.5vw,62px);line-height:.95;font-weight:400}.tbc-vault-lead{max-width:720px;margin:22px 0 0;color:#ddd3c6;font-size:clamp(17px,1.7vw,22px);line-height:1.52;font-style:italic}.tbc-vault-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:30px}.tbc-primary-button,.tbc-secondary-button{display:inline-flex;align-items:center;justify-content:space-between;gap:22px;min-height:50px;padding:15px 18px;border:1px solid var(--tbc-gold-bright);font:700 10px/1.2 Arial,sans-serif;letter-spacing:.07em;text-transform:uppercase;transition:transform .2s ease,background .2s ease,color .2s ease}.tbc-primary-button{min-width:220px;background:var(--tbc-gold-bright);color:#080605}.tbc-secondary-button{min-width:330px;background:rgba(3,3,3,.72);color:#e2bf78}.tbc-secondary-button span{color:#a99b89;font-size:9px;letter-spacing:.03em}.tbc-primary-button:hover,.tbc-primary-button:focus,.tbc-secondary-button:hover,.tbc-secondary-button:focus{transform:translateY(-2px)}.tbc-secondary-button:hover,.tbc-secondary-button:focus{background:var(--tbc-gold-bright);color:#080605}.tbc-secondary-button:hover span,.tbc-secondary-button:focus span{color:#594015}.tbc-vault-overview{padding:88px 0;background:radial-gradient(circle at 86% 12%,rgba(112,33,27,.10),transparent 26%),#080606;border-bottom:1px solid rgba(196,154,80,.16)}.tbc-spoiler-note{display:grid;grid-template-columns:140px 1fr;gap:17px;margin-top:22px;padding:17px 18px;border:1px solid rgba(196,154,80,.28);background:rgba(196,154,80,.045)}.tbc-spoiler-note strong{color:var(--tbc-gold-bright);font:700 9px/1.35 Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase}.tbc-spoiler-note span{color:#bcb0a0;font-size:13px;line-height:1.55}.tbc-vault-page--book-two .tbc-spoiler-note{border-color:rgba(142,50,46,.52);background:rgba(112,33,27,.10)}.tbc-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:29px 0 0}.tbc-stats div{padding-top:17px;border-top:1px solid rgba(196,154,80,.28)}.tbc-stats dt{color:var(--tbc-gold-bright);font-size:28px;line-height:1}.tbc-stats dd{margin:8px 0 0;color:#9e9282;font:700 9px/1.35 Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase}.tbc-downloads{position:relative;padding:94px 0 108px;overflow:hidden;background:radial-gradient(circle at 88% 20%,rgba(116,30,25,.11),transparent 27%),radial-gradient(circle at 10% 76%,rgba(196,154,80,.07),transparent 24%),#030202}.tbc-downloads::before{content:"";position:absolute;inset:0;opacity:.09;background-image:linear-gradient(rgba(255,255,255,.02) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.016) 1px,transparent 1px);background-size:82px 82px;mask-image:linear-gradient(180deg,transparent,#000 8%,#000 92%,transparent)}.tbc-downloads>.shell{position:relative;z-index:1}.tbc-downloads-heading{max-width:800px;margin:0 auto 46px;text-align:center}.tbc-downloads-heading>p:last-child{max-width:690px;margin:18px auto 0;color:#ada093;font-size:16px;line-height:1.65}.tbc-material-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.tbc-material-card{display:grid;grid-template-rows:300px minmax(0,1fr);overflow:hidden;border:1px solid var(--tbc-line);background:linear-gradient(145deg,rgba(18,13,11,.98),rgba(5,4,4,.99));box-shadow:0 22px 55px rgba(0,0,0,.44),inset 0 0 0 1px rgba(255,255,255,.015)}.tbc-material-visual{position:relative;overflow:hidden;background:#050404}.tbc-material-visual::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.02),rgba(5,4,4,.88))}.tbc-material-visual img{width:100%;height:100%;object-fit:cover;object-position:center top;transition:transform .4s ease,filter .4s ease}.tbc-material-card:hover .tbc-material-visual img{transform:scale(1.025);filter:brightness(1.06)}.tbc-material-content{display:flex;flex-direction:column;padding:30px 30px 32px}.tbc-material-type{color:var(--tbc-gold-bright);font:700 9px/1.35 Arial,sans-serif;letter-spacing:.16em;text-transform:uppercase}.tbc-material-content h3{margin:12px 0 13px;color:#f1e9dd;font-size:clamp(31px,3.1vw,44px);line-height:1.02;font-weight:400}.tbc-material-content>p{margin:0;color:#bdb1a1;font-size:15px;line-height:1.65}.tbc-file-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:auto;padding-top:23px;border-top:1px solid rgba(196,154,80,.20)}.tbc-file-actions a{display:flex;flex-direction:column;gap:5px;padding:12px 13px;border:1px solid rgba(196,154,80,.55);color:#e1bd75;background:rgba(0,0,0,.22);font:700 10px/1.2 Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase;transition:background .2s ease,color .2s ease,border-color .2s ease}.tbc-file-actions a span{color:#918475;font-size:9px;letter-spacing:.03em}.tbc-file-actions a:hover,.tbc-file-actions a:focus{background:var(--tbc-gold-bright);color:#080605;border-color:var(--tbc-gold-bright)}.tbc-file-actions a:hover span,.tbc-file-actions a:focus span{color:#5b4217}.tbc-material-card--wide{grid-column:1/-1;grid-template-columns:minmax(0,1.28fr) minmax(360px,.72fr);grid-template-rows:none}.tbc-material-card--wide .tbc-material-visual{min-height:360px}.tbc-material-card--wide .tbc-material-visual img{object-position:center}.tbc-material-card--wide .tbc-material-content{justify-content:center}.tbc-complete-pack{padding:84px 0;border-top:1px solid rgba(196,154,80,.15);border-bottom:1px solid rgba(196,154,80,.24);background:#090706}.tbc-complete-inner{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:60px;align-items:center}.tbc-complete-pack p:not(.tbc-section-kicker){max-width:680px;margin:16px 0 0;color:#c5b9aa;font-size:17px;line-height:1.65}.tbc-complete-button{display:flex;flex-direction:column;gap:7px;padding:20px 22px;border:1px solid var(--tbc-gold-bright);background:var(--tbc-gold-bright);color:#080605;text-transform:uppercase;transition:transform .2s ease,background .2s ease}.tbc-complete-button span{font:700 12px/1.2 Arial,sans-serif;letter-spacing:.07em}.tbc-complete-button small{font:700 9px/1.3 Arial,sans-serif;letter-spacing:.04em;color:#543c15}.tbc-complete-button:hover,.tbc-complete-button:focus{transform:translateY(-2px);background:#efd08e}.tbc-vault-footer-note{padding:48px 0 58px;background:#070505}.tbc-footer-note-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:36px;align-items:center}.tbc-footer-note-inner h2{margin:0;color:#eee5d8;font-size:27px;font-weight:400}.tbc-footer-note-inner p{margin:10px 0 0;color:#aaa093;font-size:14px;line-height:1.65}.tbc-vault-links{display:flex;align-items:center;gap:13px;flex-wrap:wrap}.tbc-vault-links a,.tbc-vault-links button{padding:12px 14px;border:1px solid rgba(196,154,80,.46);background:transparent;color:#d7b46d;font:700 9px/1.2 Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}.tbc-vault-links form{margin:0}.tbc-vault-links a:hover,.tbc-vault-links a:focus,.tbc-vault-links button:hover,.tbc-vault-links button:focus{background:var(--tbc-gold-bright);color:#080605}.archive-record-card--black-concord{border-color:rgba(196,154,80,.52);background:linear-gradient(150deg,rgba(16,11,10,.98),rgba(4,3,3,.99))}.archive-record-card--black-concord .record-status{color:#e1bc72}.archive-record-card--black-concord .archive-record-button{border-color:#b68b45;background:#b68b45;color:#080605}.archive-record-card--black-concord .archive-record-button:hover,.archive-record-card--black-concord .archive-record-button:focus{background:#e1bc72}.archive-record-card--black-concord .archive-record-card-art img{object-position:center center}@media(max-width:900px){.tbc-gate-grid{grid-template-columns:1fr;gap:42px}.tbc-gate-copy{max-width:790px}.tbc-gate-panel{max-width:620px}.tbc-about-grid,.tbc-overview-grid{gap:42px}.tbc-complete-inner{grid-template-columns:1fr;gap:32px}.tbc-complete-button{max-width:460px}}@media(max-width:820px){.tbc-access-page .site-header,.tbc-vault-page .site-header{background:#050404}.tbc-gate-hero{min-height:auto}.tbc-gate-grid{padding-top:105px;padding-bottom:68px}.tbc-vault-hero{min-height:590px}.tbc-about-grid,.tbc-overview-grid{grid-template-columns:1fr;gap:30px}.tbc-about-grid>div:last-child,.tbc-overview-copy{padding:26px 0 0;border-left:0;border-top:1px solid var(--tbc-line)}.tbc-material-grid{grid-template-columns:1fr}.tbc-material-card--wide{grid-column:auto;grid-template-columns:1fr;grid-template-rows:260px auto}.tbc-footer-note-inner{grid-template-columns:1fr}}@media(max-width:620px){.tbc-gate-copy h1 span{font-size:42px}.tbc-gate-copy h1 strong{font-size:61px}.tbc-gate-grid{padding-top:88px;padding-bottom:58px}.tbc-gate-panel{padding:27px 22px 30px}.tbc-gate-about,.tbc-vault-overview,.tbc-downloads,.tbc-complete-pack{padding-top:68px;padding-bottom:72px}.tbc-about-grid h2,.tbc-overview-grid h2,.tbc-downloads-heading h2,.tbc-complete-pack h2{font-size:38px}.tbc-vault-hero{min-height:auto}.tbc-vault-hero-inner{padding-top:105px;padding-bottom:62px}.tbc-vault-hero h1 span{font-size:40px}.tbc-vault-hero h1 strong{font-size:34px}.tbc-vault-actions{flex-direction:column;align-items:stretch}.tbc-primary-button,.tbc-secondary-button{width:100%;min-width:0}.tbc-spoiler-note{grid-template-columns:1fr;gap:7px}.tbc-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.tbc-material-card{grid-template-rows:240px auto}.tbc-material-content{padding:27px 22px 30px}.tbc-file-actions{grid-template-columns:1fr}.tbc-vault-links{align-items:stretch;flex-direction:column}.tbc-vault-links a,.tbc-vault-links form,.tbc-vault-links button{width:100%;text-align:center}}@media(prefers-reduced-motion:reduce){.tbc-gate-art,.tbc-vault-hero-art{transform:none}.tbc-unlock-button,.tbc-primary-button,.tbc-secondary-button,.tbc-material-visual img,.tbc-file-actions a,.tbc-complete-button{transition:none}}

/* v2.10.70 surgical fix: preserve full Black Concord document preview covers */
.tbc-material-card:not(.tbc-material-card--wide){grid-template-rows:520px minmax(0,1fr)}
.tbc-material-card:not(.tbc-material-card--wide) .tbc-material-visual{display:flex;align-items:flex-start;justify-content:center;padding:26px 26px 0;background:radial-gradient(circle at 50% 12%,rgba(196,154,80,.08),transparent 30%),linear-gradient(180deg,#0a0908,#040303)}
.tbc-material-card:not(.tbc-material-card--wide) .tbc-material-visual::after{background:linear-gradient(180deg,rgba(0,0,0,0),rgba(5,4,4,.82))}
.tbc-material-card:not(.tbc-material-card--wide) .tbc-material-visual img{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;object-position:center top;border:1px solid rgba(196,154,80,.42);box-shadow:0 18px 44px rgba(0,0,0,.46),0 0 0 10px rgba(10,8,7,.72)}
.tbc-material-card--wide .tbc-material-visual{padding:0}
.tbc-material-card--wide .tbc-material-visual img{width:100%;height:100%;object-fit:cover;object-position:center}
@media(max-width:900px){.tbc-material-card:not(.tbc-material-card--wide){grid-template-rows:500px minmax(0,1fr)}}
@media(max-width:620px){.tbc-material-card:not(.tbc-material-card--wide){grid-template-rows:420px auto}.tbc-material-card:not(.tbc-material-card--wide) .tbc-material-visual{padding:20px 20px 0}}

/* v2.10.73 approved cover system: identical 3:4 previews, no cropping, no extra frame */
.tbc-material-card:not(.tbc-material-card--wide){grid-template-rows:auto minmax(0,1fr)}
.tbc-material-card:not(.tbc-material-card--wide) .tbc-material-visual{
  display:block;
  aspect-ratio:3/4;
  padding:0;
  background:#060505;
}
.tbc-material-card:not(.tbc-material-card--wide) .tbc-material-visual::after{display:none}
.tbc-material-card:not(.tbc-material-card--wide) .tbc-material-visual img{
  display:block;
  width:100%;
  height:100%;
  max-width:none;
  max-height:none;
  object-fit:cover;
  object-position:center;
  border:0;
  box-shadow:none;
}
.tbc-material-card:not(.tbc-material-card--wide):hover .tbc-material-visual img{
  transform:none;
  filter:brightness(1.035);
}
@media(max-width:900px){
  .tbc-material-card:not(.tbc-material-card--wide){grid-template-rows:auto minmax(0,1fr)}
}
@media(max-width:620px){
  .tbc-material-card:not(.tbc-material-card--wide){grid-template-rows:auto auto}
  .tbc-material-card:not(.tbc-material-card--wide) .tbc-material-visual{padding:0}
}

/* release-hardening-v2.10.69.css */
/* v2.10.60 — release hardening, accessibility, stable media rendering */
html{scroll-padding-top:92px}
img{max-width:100%}
img.seo-cover-image{background:#030303}
:focus-visible{outline:3px solid #e6bd69!important;outline-offset:4px!important}
.site-footer .template-credit,.template-credit{font-size:12px!important;line-height:1.55!important;color:#a49d91!important}
.site-footer a:not(.social-facebook):not(.social-tiktok):not(.social-pinterest):not(.social-youtube){padding-block:3px}
.cookie-detail-card{display:block!important;margin-top:18px}
.cookie-detail-card span{display:block;margin-bottom:8px;color:#d6ad5b;font-weight:700;overflow-wrap:anywhere}
.cookie-detail-card p{margin:4px 0!important}
@media (pointer:coarse){
  .site-footer a:not(.social-facebook):not(.social-tiktok):not(.social-pinterest):not(.social-youtube){display:flex;align-items:center;min-height:40px}
}

.site-footer .copyright,.copyright{font-size:11px!important;line-height:1.55!important;color:#a49d91!important}

/* v2.10.63 — full-site media and collection layout repair */
/* Preserve each page's own object-fit rules. The previous global !important
   caused cover letterboxing, giant empty bands and unreadable previews. */
img.seo-cover-image{background:#030303}

/* Collection hero covers: keep the blending veil behind the actual book. */
.pale-sequence-page .hero-visual::after,
.blackmere-files-page .hero-visual::after{z-index:2;opacity:.38}
.pale-sequence-page .hero-cover,
.blackmere-files-page .hero-cover{overflow:visible}
.pale-sequence-page .hero-cover img,
.blackmere-files-page .hero-cover img{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain}

/* Collection book covers: use the natural cover ratio and never create
   oversized empty rectangles around the artwork. */
.pale-sequence-page .cover-frame img,
.blackmere-files-page .cover-frame img{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain}
.heart-of-steam-page .cover-frame{aspect-ratio:5/8}
.heart-of-steam-page .cover-frame img{object-fit:cover;object-position:center}
.orbital-command-academy-page .book-cover img{object-fit:cover;object-position:center top}
.orbital-command-academy-page .book-card:nth-child(2) .book-cover img,
.orbital-command-academy-page .book-card:nth-child(3) .book-cover img{object-fit:contain}

/* Heart of Steam centerpiece: show the whole mechanical heart rather than a
   narrow bright slice disappearing into the black background. */
.heart-of-steam-page .mechanical-heart{overflow:visible}
.heart-of-steam-page .mechanical-heart img{width:88%;height:auto;aspect-ratio:auto;object-fit:contain;border-radius:50%;background:radial-gradient(circle,rgba(8,17,22,.22),rgba(2,5,7,.92));box-shadow:0 0 0 1px rgba(229,185,94,.24),0 24px 65px rgba(0,0,0,.52);}

/* Thirteenth Seal collection: contain large editorial art within readable
   columns and keep covers/maps at their natural ratio. */
.thirteenth-seal-academy-page .map-frame{width:min(100%,620px);justify-self:center}
.thirteenth-seal-academy-page .map-frame img,
.thirteenth-seal-academy-page .book-stage img{height:auto;object-fit:contain}
.thirteenth-seal-academy-page .fox-panel img{object-position:center top}

/* Bonus archives — document previews must be readable in full. Portrait PDFs
   get a taller stage; landscape material gets a lower wide stage. */
.hos-bonus-page .hos-material-card,
.oca-bonus-page .oca-material-card,
.blackmere-bonus-page .bm-material-card,
.pale-bonus-page .pale-material-card,
.tsa-bonus-page .tsa-material-card,
.tbc-vault-page .tbc-material-card{grid-template-rows:auto minmax(0,1fr)}

.hos-bonus-page .hos-material-visual,
.oca-bonus-page .oca-material-visual,
.blackmere-bonus-page .bm-material-visual,
.pale-bonus-page .pale-material-visual,
.tsa-bonus-page .tsa-material-visual,
.tbc-vault-page .tbc-material-visual{height:320px;display:grid;place-items:center;padding:12px;background:radial-gradient(circle at 50% 40%,rgba(255,255,255,.035),transparent 62%),#030506}

.hos-bonus-page .hos-material-visual--portrait,
.oca-bonus-page .oca-material-visual--portrait,
.blackmere-bonus-page .bm-material-visual--portrait,
.pale-bonus-page .pale-material-visual--portrait,
.tsa-bonus-page .tsa-material-visual--portrait,
.tbc-vault-page .tbc-material-card:not(.tbc-material-card--wide) .tbc-material-visual{height:460px}

.tsa-bonus-page .tsa-material-visual--wide{height:300px}

.hos-bonus-page .hos-material-visual img,
.oca-bonus-page .oca-material-visual img,
.blackmere-bonus-page .bm-material-visual img,
.pale-bonus-page .pale-material-visual img,
.tsa-bonus-page .tsa-material-visual img,
.tbc-vault-page .tbc-material-visual img{display:block;width:100%;height:100%;object-fit:contain!important;object-position:center!important;transform:none}

.hos-bonus-page .hos-material-visual::after,
.oca-bonus-page .oca-material-visual::after,
.blackmere-bonus-page .bm-material-visual::after,
.pale-bonus-page .pale-material-visual::after,
.tsa-bonus-page .tsa-material-visual::after,
.tbc-vault-page .tbc-material-visual::after{background:linear-gradient(180deg,transparent 72%,rgba(3,5,6,.48));pointer-events:none}

.hos-bonus-page .hos-material-card--wide,
.oca-bonus-page .oca-material-card--wide,
.pale-bonus-page .pale-material-card--wide,
.tbc-vault-page .tbc-material-card--wide{grid-template-rows:none}
.hos-bonus-page .hos-material-card--wide .hos-material-visual,
.oca-bonus-page .oca-material-card--wide .oca-material-visual,
.pale-bonus-page .pale-material-card--wide .pale-material-visual,
.tbc-vault-page .tbc-material-card--wide .tbc-material-visual{height:auto;min-height:360px}

/* Avoid headings or buttons forcing horizontal overflow on smaller screens. */
.primary-nav a,.hero-copy,.book-copy,.material-content{min-width:0}
h1,h2,h3,p,a{overflow-wrap:break-word}

@media(max-width:900px){
  .pale-sequence-page .hero-cover,
  .blackmere-files-page .hero-cover{width:min(350px,82vw)}
  .heart-of-steam-page .mechanical-heart img{width:92%}
  .thirteenth-seal-academy-page .map-frame{width:min(100%,560px)}
  .hos-bonus-page .hos-material-visual--portrait,
  .oca-bonus-page .oca-material-visual--portrait,
  .blackmere-bonus-page .bm-material-visual--portrait,
  .pale-bonus-page .pale-material-visual--portrait,
  .tsa-bonus-page .tsa-material-visual--portrait,
  .tbc-vault-page .tbc-material-card:not(.tbc-material-card--wide) .tbc-material-visual{height:430px}
}

@media(max-width:620px){
  .pale-sequence-page .cover-frame,
  .blackmere-files-page .cover-frame{max-width:360px;margin-inline:auto}
  .heart-of-steam-page .mechanical-heart img{width:96%}
  .hos-bonus-page .hos-material-visual,
  .oca-bonus-page .oca-material-visual,
  .blackmere-bonus-page .bm-material-visual,
  .pale-bonus-page .pale-material-visual,
  .tsa-bonus-page .tsa-material-visual,
  .tbc-vault-page .tbc-material-visual{height:250px;padding:9px}
  .hos-bonus-page .hos-material-visual--portrait,
  .oca-bonus-page .oca-material-visual--portrait,
  .blackmere-bonus-page .bm-material-visual--portrait,
  .pale-bonus-page .pale-material-visual--portrait,
  .tsa-bonus-page .tsa-material-visual--portrait,
  .tbc-vault-page .tbc-material-card:not(.tbc-material-card--wide) .tbc-material-visual{height:390px}
  .tsa-bonus-page .tsa-material-visual--wide{height:230px}
  .hos-bonus-page .hos-material-card--wide,
  .oca-bonus-page .oca-material-card--wide,
  .pale-bonus-page .pale-material-card--wide,
  .tbc-vault-page .tbc-material-card--wide{grid-template-rows:auto minmax(0,1fr)}
  .hos-bonus-page .hos-material-card--wide .hos-material-visual,
  .oca-bonus-page .oca-material-card--wide .oca-material-visual,
  .pale-bonus-page .pale-material-card--wide .pale-material-visual,
  .tbc-vault-page .tbc-material-card--wide .tbc-material-visual{height:250px;min-height:0}
}

/* v2.10.64 — Thirteenth Seal Fox section proportion repair */
@media (min-width:981px){
  .thirteenth-seal-academy-page .fox-grid{
    grid-template-columns:minmax(320px,440px) minmax(0,1fr);
    align-items:center;
  }
  .thirteenth-seal-academy-page .fox-panel{
    width:100%;
    aspect-ratio:4/5;
    max-height:620px;
    align-self:center;
  }
  .thirteenth-seal-academy-page .fox-panel img{
    display:block;
    width:100%;
    height:100%;
    aspect-ratio:auto;
    object-fit:cover;
    object-position:center center;
  }
  .thirteenth-seal-academy-page .fox-copy{
    align-self:center;
  }
}
@media (max-width:980px){
  .thirteenth-seal-academy-page .fox-panel{
    width:min(100%,620px);
    aspect-ratio:4/5;
  }
  .thirteenth-seal-academy-page .fox-panel img{
    display:block;
    width:100%;
    height:100%;
    aspect-ratio:auto;
    object-fit:cover;
    object-position:center center;
  }
}

/* v2.10.65 — News page editorial image alignment */
/* Keep the Saintless Bride artwork at its existing scale, give the portrait
   enough vertical room, and lift it slightly so the complete title remains
   readable without clipping the bride's head. */
@media (min-width:761px){
  .news-page .news-card-media--portrait{
    height:520px;
    align-items:start;
  }
  .news-page .news-card-media--portrait img{
    display:block;
    width:100%;
    height:auto;
    max-height:none;
    object-fit:initial;
    object-position:center top;
    transform:translateY(-30px);
  }
}
@media (min-width:471px) and (max-width:760px){
  .news-page .news-card-media--portrait{
    height:500px;
    align-items:start;
  }
  .news-page .news-card-media--portrait img{
    display:block;
    width:100%;
    height:auto;
    max-height:none;
    object-fit:initial;
    object-position:center top;
    transform:translateY(-22px);
  }
}
@media (max-width:470px){
  .news-page .news-card-media--portrait{
    height:430px;
    align-items:start;
  }
  .news-page .news-card-media--portrait img{
    display:block;
    width:100%;
    height:auto;
    max-height:none;
    object-fit:initial;
    object-position:center top;
    transform:translateY(-18px);
  }
}

/* Use the first archive card's 12:7 landscape canvas as the common visual
   standard. Portrait and extra-wide sources stay undistorted and receive
   controlled black letterboxing inside an identical image area. */
.news-page .news-archive-image img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:12/7;
  object-fit:contain;
  object-position:center;
  background:#000;
  transform:none;
}


/* v2.10.67 — compact, top-aligned footer for collection and standalone-book detail pages. */
.editorial-detail-page .site-footer{
  padding:38px 0 18px!important;
  min-height:0!important;
}
.editorial-detail-page .site-footer .footer-grid{
  grid-template-columns:minmax(140px,1.15fr) repeat(4,minmax(0,1fr))!important;
  gap:30px!important;
  align-items:start!important;
}
.editorial-detail-page .site-footer .footer-brand{
  align-self:start!important;
  justify-content:flex-start!important;
  transform:none!important;
}
.editorial-detail-page .site-footer .footer-brand img{
  width:auto!important;
  height:96px!important;
  max-width:130px!important;
  margin:0!important;
  object-fit:contain!important;
}
.editorial-detail-page .site-footer h2{
  margin:0 0 10px!important;
}
.editorial-detail-page .site-footer a:not(.social-facebook):not(.social-tiktok):not(.social-pinterest):not(.social-youtube){
  margin:5px 0!important;
  padding:0!important;
  line-height:1.35!important;
}
.editorial-detail-page .site-footer .follow{
  align-self:start!important;
}
.editorial-detail-page .site-footer .copyright{
  margin:26px 0 0!important;
}
.editorial-detail-page .site-footer .template-credit{
  display:none!important;
}
@media(max-width:980px){
  .editorial-detail-page .site-footer .footer-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:28px 40px!important;
  }
  .editorial-detail-page .site-footer .footer-brand{
    grid-column:1/-1!important;
  }
}
@media(max-width:620px){
  .editorial-detail-page .site-footer{
    padding:34px 0 18px!important;
  }
  .editorial-detail-page .site-footer .footer-grid{
    grid-template-columns:1fr!important;
    gap:24px!important;
    text-align:center!important;
  }
  .editorial-detail-page .site-footer .footer-brand{
    grid-column:auto!important;
    justify-content:center!important;
  }
  .editorial-detail-page .site-footer .footer-brand img{
    margin:0 auto!important;
  }
  .editorial-detail-page .site-footer .socials{
    justify-content:center!important;
  }
}

/* v2.10.69 — Pale Sequence cover alignment
   Keep all six cover frames identical in height while preserving the full artwork. */
.pale-sequence-page .books-grid .cover-frame{
  aspect-ratio:5/8;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
.pale-sequence-page .books-grid .cover-frame img.seo-cover-image{
  display:block;
  width:100%;
  height:100%;
  max-height:none;
  aspect-ratio:auto;
  object-fit:contain;
  object-position:center;
}


/* v2.11.10 — FOOTER-ONLY REPAIR
   Scope deliberately limited to the global footer:
   - keep all five desktop columns inside the viewport;
   - keep the social controls visible and optically consistent;
   - give the copyright line enough bottom breathing room;
   - preserve responsive stacking without touching page content. */
.site-footer{
  min-height:0!important;
  padding-bottom:28px!important;
  overflow:visible!important;
}
.site-footer .footer-grid{
  grid-template-columns:150px repeat(4,minmax(0,1fr))!important;
  column-gap:clamp(18px,2.2vw,34px)!important;
  row-gap:24px!important;
  align-items:start!important;
}
.site-footer .footer-grid>*{
  min-width:0!important;
}
.site-footer .footer-brand{
  align-self:start!important;
  transform:none!important;
}
.site-footer .follow{
  min-width:0!important;
}
.site-footer .socials{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:10px!important;
}
.site-footer .socials a{
  box-sizing:border-box!important;
  flex:0 0 36px!important;
  width:36px!important;
  height:36px!important;
  margin:0!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  line-height:1!important;
}
.site-footer .socials svg{
  display:block!important;
  width:17px!important;
  height:17px!important;
  fill:currentColor!important;
  transform:none!important;
}
.site-footer .social-facebook svg{
  width:17px!important;
  height:17px!important;
}
.site-footer .social-tiktok svg{
  width:17px!important;
  height:17px!important;
}
.site-footer .social-pinterest svg{
  width:18px!important;
  height:18px!important;
}
.site-footer .social-youtube svg{
  width:18px!important;
  height:18px!important;
}
.site-footer .copyright{
  margin:30px 0 0!important;
  padding:0 12px 6px!important;
  line-height:1.45!important;
  overflow:visible!important;
}

/* Detail pages already had a compact footer; only inherit the safety fixes. */
.editorial-detail-page .site-footer{
  padding-bottom:28px!important;
}
.editorial-detail-page .site-footer .copyright{
  margin:30px 0 0!important;
  padding-bottom:6px!important;
}

@media(max-width:980px){
  .site-footer .footer-grid,
  .editorial-detail-page .site-footer .footer-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:26px 40px!important;
  }
  .site-footer .footer-brand,
  .editorial-detail-page .site-footer .footer-brand{
    grid-column:1/-1!important;
    justify-content:flex-start!important;
  }
}
@media(max-width:620px){
  .site-footer,
  .editorial-detail-page .site-footer{
    padding-bottom:30px!important;
  }
  .site-footer .footer-grid,
  .editorial-detail-page .site-footer .footer-grid{
    grid-template-columns:1fr!important;
    gap:22px!important;
    text-align:center!important;
  }
  .site-footer .footer-brand,
  .editorial-detail-page .site-footer .footer-brand{
    grid-column:auto!important;
    justify-content:center!important;
  }
  .site-footer .footer-brand img,
  .editorial-detail-page .site-footer .footer-brand img{
    margin-left:auto!important;
    margin-right:auto!important;
  }
  .site-footer .socials,
  .editorial-detail-page .site-footer .socials{
    justify-content:center!important;
  }
}
