/* Firelight edition — old-world oil gallery, luminous bronze and gilded carving. */
:root {
  --ink: #422918;
  --paper: #e8cca0;
  --paper-light: #fff1d3;
  --gold: #e2b767;
  --accent: #8f4d1e;
}
body {
  background-color: #ead1a9;
  background-image: radial-gradient(ellipse at 50% 10%, #fff5d5c9, transparent 65%),
    radial-gradient(ellipse at 0 50%, #bc743033, transparent 55%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23895328' opacity='.08' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}
.collection-banner { background: #28180f; border-color: #b2813c; color: #d0a66b; }
.site-header {
  background: radial-gradient(ellipse at 50% 0, #71452366, transparent 75%), linear-gradient(180deg, #432a1b, #25170f);
  border-bottom: 4px double #c6a15d;
  box-shadow: 0 5px 0 #4d2e1766, 0 12px 24px #3e221f38;
}
.brand > span { color: #f7daa0; }
.brand small { color: #c7a36c; }
.site-header nav a { color: #dfc296; }
.play-link {
  border: 3px double #bb9452;
  padding: 10px 16px;
  color: #f5d79b;
  background: linear-gradient(120deg, #6c40244d, #ac78351a, #6c40244d);
  box-shadow: inset 0 0 0 3px #291b13;
}
.hero.wrap {
  min-height: 795px;
  margin-block: 35px 43px;
  padding-block: 65px 70px;
  background: radial-gradient(ellipse at 79% 35%, #db83337a, transparent 55%),
    radial-gradient(ellipse at 5% 20%, #84502d88, transparent 70%),
    linear-gradient(135deg, #3d2114, #27180f 65%, #5f351c);
  border: 6px ridge #aa7b39;
  box-shadow: 0 0 0 1px #ffdc8c, 0 0 0 5px #4a2a14, 0 0 0 7px #bd934e,
    0 12px 0 #63401e, 0 24px 42px #4e281645;
}
.hero > .hero-mural {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  opacity: .13;
  filter: sepia(.2) saturate(1.5) blur(4px);
  mix-blend-mode: luminosity;
  pointer-events: none;
}
.hero::before {
  inset: 13px;
  border-color: #d8ac625e;
  outline-color: #f0d08f36;
  background-size: 155px, 155px;
  background-color: #26180f4d;
}
.hero-copy { z-index: 1; }
.hero-crest { width: 108px; height: 92px; filter: drop-shadow(0 2px 3px #150b07); }
.hero .eyebrow { color: #d7b271; }
.hero-label { color: #e5c28c; font-size: 12px; margin-top: 28px; }
.hero h1 { color: #fbe7bd; text-shadow: 0 2px 0 #3d1c0f, 0 5px 18px #14080566; }
.hero h1 span { color: #f0c477; }
.hero-description { color: #e4c9a0; }
.hero-art { margin-top: 35px; min-height: 535px; z-index: 1; }
.heroine-portrait {
  padding: 20px 20px 0;
  border: 8px ridge #b78d4e;
  background: linear-gradient(135deg, #f0d194, #a37431 20%, #ffdf96 35%, #8c5b25 60%, #e6bb70 80%, #87591f);
  box-shadow: 0 0 0 2px #412511, 0 0 0 5px #e9c681, 0 0 0 8px #4b2b13,
    inset 0 0 0 3px #f7db9e, 10px 20px 35px #14090599, 0 0 70px #df8d3838;
  transform: rotate(1deg);
}
.heroine-portrait > .painting { border: 4px solid #58351a; outline-color: #f0d18d; box-shadow: 0 0 0 5px #aa7938; }
.heroine-portrait .frame-corner { width: 140px; height: 140px; filter: drop-shadow(0 2px 1px #331709); }
.heroine-portrait .corner-tl { top: -22px; left: -22px; }
.heroine-portrait .corner-br { bottom: -22px; right: -22px; }
.portrait-caption {
  margin: 14px -16px 0;
  padding: 0 14px 10px;
  background: linear-gradient(110deg, #442616, #624021, #3c2314);
  border-top: 1px solid #d3a85e;
}
.portrait-caption > b { color: #f0d29b; }
.portrait-caption > small { color: #d1ae74; }
.small-photo { bottom: -3%; left: -7%; transform: rotate(-8deg); box-shadow: 0 0 0 1px #e1bd79, 5px 12px 20px #15090599; }
.hero-handwriting { bottom: -44px; color: #e4b873; text-shadow: 0 2px 5px #160b05; }
.paper-label { right: -8%; top: 5%; border-color: #b88f4d; background: linear-gradient(145deg, #ffe5ab, #d0a967); }
.wax-seal { background: radial-gradient(circle at 35% 30%, #b6633d, #822b1d 70%); box-shadow: 0 0 0 2px #9c6b37, inset 0 0 0 3px #59201877, 3px 6px 12px #1a0808a6; }
.hero .button.primary, .button.primary {
  background: linear-gradient(125deg, #b47c31, #f3d691 35%, #e0b164 60%, #b27b32);
  border: 3px double #f5da97;
  box-shadow: inset 0 0 0 2px #9a642d, 0 3px 0 #563416, 0 7px 18px #160a063b;
  color: #4b2910;
  padding-block: 11px;
}
.hero .button.primary:hover, .button.primary:hover { background: linear-gradient(125deg, #d69e4d, #ffe6ac 35%, #ecc27d 60%, #d69e4d); }
.stats-bar { margin-top: 0; background: radial-gradient(ellipse at 50% 20%, #a27139, #57351e); border-block-width: 4px; }
.stats-inner { padding-block: 28px; }
.stats-inner b { color: #ffe2a2; }
.stats-inner > div span { color: #e8c894; }
.section-heading::before { width: 270px; height: 44px; top: -13px; }
.section-heading h2 { color: #70401c; text-shadow: 0 1px #fff1c4; font-size: 30px; }
.section-heading .eyebrow { letter-spacing: .17em; }
.dossier-cover {
  background: radial-gradient(ellipse at 30% 10%, #c5874140, transparent 70%),
    repeating-linear-gradient(55deg, transparent 0 4px, #e6a55a0d 5px, transparent 6px),
    linear-gradient(100deg, #4c281d, #75472a 50%, #442419);
  border: 7px ridge #b08747;
  box-shadow: 0 0 0 1px #69401c, 0 6px 0 #e1be7a, 0 9px 0 #714920, 0 23px 30px #61361640;
}
.dossier-cover::before { border: 3px double #d2a6638c; background-size: 120px; }
.dossier-title h3 { color: #f9dfaa; }
.dossier-title p { color: #e3c293; }
.dossier-crest { width: 160px; height: 136px; top: 24px; opacity: .95; }
.dossier-bottom > b { color: #f4d293; }
.witness-section {
  background: radial-gradient(ellipse at 50% 0, #a569347a, transparent 70%),
    repeating-linear-gradient(0deg, #452b1d33 0 1px, transparent 2px 9px), #332014;
  border-block: 6px double #b28a47;
}
.witness-section .section-heading h2, .cabinet .section-heading h2 { color: #ffe2a6; text-shadow: 0 2px #271207; }
.witness-image { border: 5px ridge #c09651; padding: 9px; background: linear-gradient(130deg, #9e692e, #ffe0a0 30%, #a06f31 60%, #e0b576); box-shadow: 0 0 0 1px #342011, 0 0 0 3px #dab575, 0 12px 24px #1d0e096b; }
.witness h3 { color: #f2d4a1; }
.witness > p { color: #dec29a; }
.witness-role { color: #d8b681; }
.witness .view-record { color: #f0c986; }
.chapter-route { border: 5px double #b58c4a; background: linear-gradient(125deg, #f3dcaf, #d1ac70); box-shadow: inset 0 0 0 4px #fff1c244, 0 5px 10px #7548251a; }
.chapter-route > a > span { font-size: 28px; }
.chapter-route h3 { color: #6b3d1c; }
.cabinet { background: radial-gradient(ellipse at 50% 40%, #8d582e66, transparent 75%), #2b1a12; border-block: 6px double #b78f4e; }
.curiosity-grid > button { padding: 7px; background: linear-gradient(130deg, #a57336, #e6c38a, #8b5e29 60%, #c39755); border: 5px ridge #b78c45; box-shadow: 0 0 0 1px #e5bf7a, 0 15px 25px #13090699; }
.curiosity-grid .painting { border: 3px solid #4c2c15; }
.curiosity-grid > button > span:last-child { margin-top: 6px; color: #f4d69d; border: 1px solid #c0924a6b; background: linear-gradient(110deg, #442819, #694326, #3d2317); }
.boss-grid { gap: 34px 28px; }
.boss-record { padding: 10px; border: 5px ridge #bb9252; background: linear-gradient(140deg, #b28442, #f3d492, #9c6d34 55%, #c49a5e); box-shadow: 0 0 0 1px #68421e, 0 5px 0 #71502b, 0 12px 20px #75462638; }
.boss-photo { padding: 3px; border: 3px solid #664121; background: #c8a269; box-shadow: inset 0 0 0 1px #f5db9e; overflow: visible; }
.boss-info { background: linear-gradient(140deg, #654126, #3c2417); padding: 19px 13px 14px; border: 1px solid #b4854266; }
.boss-info .eyebrow, .record-role { color: #d5b57e; }
.boss-info h2 { color: #f5d89f; }
.boss-info p { color: #e1c59d; }
.card-grid { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 32px 25px; }
.collection-card {
  position: relative;
  padding: 9px;
  border: 5px ridge #b48a43;
  background: radial-gradient(ellipse at 50% 0, #ffe0a1, transparent 70%), linear-gradient(130deg, #bc8a46, #f1cc85 30%, #97662e 65%, #cfaa6c);
  box-shadow: 0 0 0 1px #e1ba76, 0 5px 0 #714a21, 0 12px 18px #71411a40;
}
.card-mat { border: 3px solid #55341a; padding: 4px; background: linear-gradient(125deg, #e4c183, #a16c2d); box-shadow: inset 0 0 0 1px #ffdfa4; }
.card-caption { background: radial-gradient(ellipse at 50% 0, #7d522e, #442819); border: 3px double #c19753; margin-top: 9px; padding: 13px 9px 9px; text-align: center; }
.card-caption > span { color: #d6b37c; font-size: 8px; }
.card-caption > h2 { color: #f7dba8; font-size: 16px; margin: 7px 0 5px; text-shadow: 0 1px #26150c; }
.card-art-line { display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 8px; color: #cba267; padding-block: 2px 9px; }
.card-art-line::before, .card-art-line::after { content: ''; width: 23px; height: 1px; background: linear-gradient(90deg, transparent, #c19758); }
.card-art-line::after { transform: rotate(180deg); }
.card-statline { color: #e9c690; border-color: #bc915c66; justify-content: center; font-size: 9px; padding-top: 10px; }
.card-statline b { color: #f1cd8e; }
.card-statline > span { border: 1px solid #a4773f55; background: #42261666; padding: 2px 5px; }
.card-statline > b { margin-left: 0; }
.card-flourish {
  display: block;
  position: absolute;
  width: 92px;
  height: 35px;
  pointer-events: none;
  z-index: 2;
  background: url('assets/filigree-divider.svg') center / contain no-repeat;
  filter: drop-shadow(0 1px 1px #4b2d13);
}
.flourish-top { top: -19px; left: calc(50% - 46px); }
.flourish-bottom { bottom: -19px; left: calc(50% - 46px); transform: rotate(180deg); }
.card-mat .saved-marker { left: 10px; top: 10px; }
.gold-badge { right: 10px; top: 10px; background: #6e4424e6; border: 3px double #f3d18a; color: #ffe1a3; padding: 4px 5px; }
.collection-card.gold { padding: 9px; border: 5px ridge #edc86e; background: linear-gradient(130deg, #cc9a3f, #fff3b5 25%, #d4a946 50%, #fae19b 75%, #bb8629); box-shadow: 0 0 0 1px #956927, 0 0 0 3px #eac580, 0 5px 0 #76501c, 0 12px 25px #b17b3345; }
.collection-card.gold .card-caption { color: #f8d69b; background: radial-gradient(ellipse at 50% 0, #8f632f, #4d2c16); border-color: #f0d18a; }
.collection-card.gold .card-mat { border-color: #9e681d; }
.boss-record:hover, .collection-card:hover { transform: translateY(-5px); box-shadow: 0 0 0 1px #d8b170, 0 7px 0 #7e5427, 0 17px 28px #7649214d; }
.detail-art { background: radial-gradient(ellipse at 50% 20%, #a96a32, #3c2517 65%, #26180f); padding: 30px; }
.detail-art > .painting { border: 12px ridge #c39b55; outline: 3px double #f1d193; box-shadow: 0 0 0 6px #58381e, 0 20px 35px #140b0680; }
.detail-art > div { color: #d4b17a; }
.detail-art b { color: #ffe0a5; }
.detail-copy { background: radial-gradient(ellipse at 50% 20%, #fff6dc, #eed5aa); }
.detail-copy > p:not(.detail-subtitle) { color: #735333; }
.detail-tags .tag { color: #865e2f; border-color: #b7955e; }
.reading-paper, .about-paper { border: 7px double #b28a49; background: radial-gradient(ellipse at 50% 0, #fff7e3, transparent 80%), #f4dfb9; box-shadow: 0 0 0 2px #77512e, 5px 7px 0 #d8b675, 8px 10px 0 #96723f, 0 20px 40px #57371a29; }
.site-footer { background: radial-gradient(ellipse at 50% 0, #68402166, transparent 80%), linear-gradient(180deg, #422819, #25170f); border-color: #bd914e; }
.site-footer > p, .site-footer > div { color: #d8b67e; }
.site-footer > small { color: #bd965d; }
@media (max-width: 1100px) {
  .hero.wrap { min-height: 750px; padding: 50px 40px 65px; }
  .hero-art { min-height: 445px; margin-top: 105px; }
  .heroine-portrait { padding: 14px 14px 0; border-width: 6px; }
  .heroine-portrait .frame-corner { width: 110px; height: 110px; }
  .portrait-caption { margin: 12px -11px 0; padding-inline: 9px; }
  .card-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 30px 23px; }
}
@media (max-width: 760px) {
  .site-header .play-link { padding: 7px 11px; font-size: 10px; border-width: 3px; }
  .hero.wrap { width: calc(100% - 28px); padding: 28px 20px 55px; margin-block: 24px 35px; min-height: 0; border-width: 4px; }
  .hero::before { inset: 8px; background-size: 110px; }
  .hero-crest { width: 88px; height: 75px; margin-bottom: 20px; }
  .hero .eyebrow { font-size: 7px; }
  .hero-label { font-size: 11px; margin-top: 22px; }
  .hero h1 { font-size: clamp(27px, 6.2vw, 38px); }
  .hero-description { font-size: 12px; }
  .hero .button { font-size: 10px; padding-inline: 12px; gap: 15px; }
  .hero .text-link { font-size: 10px; }
  .hero-actions { gap: 16px; }
  .hero-art { min-height: 355px; margin: 30px auto 0; width: 100%; }
  .heroine-portrait { left: 10%; width: 73%; padding: 10px 10px 0; border-width: 5px; transform: rotate(1deg); }
  .heroine-portrait > .painting { border-width: 3px; box-shadow: 0 0 0 3px #aa7938; }
  .heroine-portrait .frame-corner { width: 95px; height: 95px; }
  .heroine-portrait .corner-tl { top: -16px; left: -16px; }
  .heroine-portrait .corner-br { bottom: -16px; right: -16px; }
  .portrait-caption { margin: 9px -7px 0; padding: 0 5px 8px; }
  .portrait-caption > b { font-size: 10px; }
  .portrait-caption > small { font-size: 8px; }
  .small-photo { left: -1%; width: 34%; bottom: 1%; }
  .paper-label { right: -2%; top: 7%; }
  .hero-handwriting { bottom: -25px; right: 0; }
  .stats-inner { padding-block: 24px; }
  .section-heading::before { width: 205px; height: 34px; top: -10px; }
  .section-heading h2 { font-size: 21px; }
  .dossier-cover { border-width: 5px; }
  .dossier-cover::before { background-size: 83px; border-width: 1px; }
  .dossier-crest { width: 82px; height: 70px; top: 17px; }
  .witness-grid { gap: 30px 17px; }
  .witness-image { border-width: 3px; padding: 6px; }
  .witness h3 { font-size: 19px; }
  .chapter-route > a > span { font-size: 24px; }
  .curiosity-grid { gap: 24px 18px; }
  .curiosity-grid > button { padding: 4px; border-width: 3px; }
  .curiosity-grid .painting { border-width: 2px; }
  .curiosity-grid > button > span:last-child { margin-top: 4px; padding: 12px 7px; font-size: 12px; }
  .boss-grid { gap: 26px 17px; }
  .boss-record { padding: 6px; border-width: 3px; }
  .boss-photo { padding: 2px; border-width: 2px; }
  .boss-info { padding: 14px 6px 8px; }
  .card-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px 13px; }
  .collection-card, .collection-card.gold { padding: 5px; border-width: 3px; }
  .card-mat { padding: 2px; border-width: 2px; }
  .card-caption { padding: 10px 3px 6px; margin-top: 6px; border-width: 2px; }
  .card-caption > span { font-size: 6px; }
  .card-caption > h2 { font-size: 12px; line-height: 1.6; margin-block: 5px 3px; }
  .card-art-line { font-size: 7px; padding-bottom: 6px; }
  .card-art-line::before, .card-art-line::after { width: 13px; }
  .card-statline { font-size: 6px; padding-top: 7px; gap: 4px; flex-wrap: wrap; }
  .card-statline > span { padding: 1px 2px; }
  .card-statline > b { font-size: 11px; }
  .card-flourish { width: 65px; height: 26px; }
  .flourish-top { top: -14px; left: calc(50% - 32.5px); }
  .flourish-bottom { bottom: -14px; left: calc(50% - 32.5px); }
  .gold-badge { font-size: 7px; padding: 2px 3px; border-width: 1px; top: 6px; right: 6px; }
  .detail-art { padding: 22px 21%; }
  .detail-art > .painting { border-width: 8px; }
  .reading-paper, .about-paper { border-width: 5px; }
}
@media (max-width: 360px) {
  .hero.wrap { padding-inline: 17px; }
  .hero h1 { font-size: 24px; }
  .hero-actions { gap: 13px; }
  .hero .button { font-size: 9px; padding-inline: 10px; gap: 12px; }
  .hero .text-link { font-size: 9px; }
  .hero-art { min-height: 300px; }
  .paper-label { font-size: 7px; padding: 6px; right: -3%; }
  .paper-label strong { font-size: 19px; }
  .portrait-caption { height: 45px; }
  .hero-handwriting { font-size: 20px; }
  .section-heading h2 { font-size: 19px; }
  .witness-grid { gap: 27px 13px; }
  .witness-image { padding: 4px; }
  .card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 16px; }
  .card-caption > h2 { font-size: 14px; }
  .card-caption > span { font-size: 7px; }
  .card-statline { font-size: 8px; }
}
@media print {
  .reading-paper, .about-paper { background: white; box-shadow: none; border: 0; }
}

/* Cost remains visible on each catalogue card, including zero-cost cards. */
.card-cost{position:absolute;top:9px;left:9px;z-index:3;width:35px;height:35px;display:flex;align-items:center;justify-content:center;gap:1px;border:3px double #f1ce83;border-radius:50%;background:radial-gradient(circle at 35% 25%,#ab783d,#4c2c15);color:#ffe4a6;box-shadow:0 2px 5px #1e0d0870;text-shadow:0 1px #3e200e}
.card-cost strong{font:700 19px/1 Georgia,serif}
.card-cost small{font:8px/1 var(--sans)}
.card-mat .saved-marker{left:auto;right:9px;top:auto;bottom:9px}
@media(max-width:760px){.card-cost{top:5px;left:5px;width:28px;height:28px;border-width:2px}.card-cost strong{font-size:16px}.card-cost small{font-size:7px}}

/* All preview entry points share the same prominent cost and card statistics. */
.detail-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:8px 0 0}
.detail-heading h2{font-size:33px;line-height:1.5;letter-spacing:.09em;color:#6c421c;font-weight:500;margin:0;overflow-wrap:anywhere}
.detail-cost{display:flex;flex-shrink:0;align-items:center;justify-content:center;gap:3px;min-width:59px;height:46px;padding:6px 11px;border:3px double #ba8b3d;background:radial-gradient(ellipse at 35% 25%,#fff0bc,#d9b36f);box-shadow:inset 0 0 0 2px #b7883922;color:#5b3414}
.detail-cost strong{font:700 27px/1 Georgia,serif}
.detail-cost small{font:11px/1 var(--sans)}
@media(max-width:760px){.detail-heading h2{font-size:28px}.detail-cost{min-width:54px;height:42px;padding:5px 9px}.detail-cost strong{font-size:24px}.detail-cost small{font-size:10px}}
