/* Sword King campaign. Presentation only; retain all existing motion and UI hooks. */
body.pw-sword { --sword-night: #101b2c; --sword-gold: #d9c292; --sword-silver: #d7e3f0; --pw-accent: #345d83; }
body.pw-sword.pw-edition { --edition-ink: #17283d; --edition-gold: #d9c292; }
.pw-site.pw-sword.pw-edition .pw-header { background: #101b2cf2; border-bottom-color: #d7e3f01a; }
.pw-site.pw-sword.pw-edition .pw-mobile-nav { background: #101b2c; }
.pw-site.pw-sword.pw-edition .pw-header :is(.pw-brand small,.pw-desktop-nav a,.pw-account-link,.pw-account-link span) { color: #c3d0e0; }
.pw-site.pw-sword.pw-edition .pw-nav-download { color: #16283d; background: #eee6d3; border-color: #eee6d3; }
.pw-site.pw-sword.pw-edition .pw-header::after { background: #d9c292; }
.pw-sword .cinema-hero { background: #101b2c; --scene-focus: 61%; }
.pw-sword .cinema-hero[data-scene=blade] { --scene-focus: 52%; }
.pw-sword .cinema-hero[data-scene=oath] { --scene-focus: 67%; }
.pw-sword .cinema-inner { grid-template-columns: .78fr 1.38fr; gap: 0 55px; }
.pw-sword .cinema-eyebrow { color: #d9c292; letter-spacing: .17em; }
.pw-sword .cinema-eyebrow > span { background: #d9c292; }
.pw-sword .cinema-tagline { color: #f2f5f9; font-size: clamp(34px,3.3vw,48px); line-height: 1.35; }
.pw-sword .cinema-tagline > span { color: #d9c292; }
.pw-sword .cinema-description { color: #b3c2d5; }
.pw-sword .cinema-visual { background: #162339; }
.pw-sword .cinema-art img { object-position: var(--scene-focus) 52%; transform-origin: 60% 48%; filter: saturate(.96) brightness(.98); }
.pw-sword .v8-scroll-ready .cinema-art img { filter: saturate(.96) brightness(.98); }
.pw-sword .cinema-shade { background: linear-gradient(180deg,#0c142aa6,transparent 24%,transparent 72%,#0c182dde); }
.pw-sword .v8-scroll-ready .cinema-shade { background: linear-gradient(180deg,#0c142a99,transparent 24%,transparent 70%,#0c182dde); }
.pw-sword .v8-scroll-ready .cinema-shade::after { background: linear-gradient(90deg,#0b162dd9,transparent 68%),linear-gradient(0deg,#0b162df0,transparent 65%); }
.pw-sword :is(.cinema-visual-top,.cinema-visual-caption) { color: #f4f2e8; }
.pw-sword .cinema-visual-top > span:last-child { color: #d0daea; }
.pw-sword .cinema-visual-caption b { color: #cfdaeb; }
.pw-sword .cinema-download { color: #18293e; background: #eee6d3; border-color: #eee6d3; }
.pw-sword .cinema-download:hover { background: #fff2d5; }
.pw-sword :is(.cinema-play,.cinema-scroll,.cinema-hero .motion-toggle) { color: #c3d0e0; }
.pw-sword .cinema-identity p { color: #a6bbd2; }
.pw-sword .cinema-identity p > span { color: #b8cbe1; }
.pw-sword .cinema-identity h2 { color: #eef3f9; }
.pw-sword .cinema-scene-tabs button { color: #c2cee0; border-bottom-color: #b8cbe130; }
.pw-sword .cinema-scene-tabs button[aria-selected=true] { color: #ecd39e; border-color: #d9c292; }
.pw-sword .cinema-scroll-story > p { color: #f3f6fc; }
.pw-sword .cinema-scroll-story > p > span + span { color: #e6d1a0; }
.pw-sword .cinema-scroll-story > small { color: #c1d0e4; }
.pw-sword .cinema-sequence-line > span { background: #d9c292; }

/* A quiet game-art chapter follows the cinematic opening. */
.pw-site.pw-sword .sword-chapter { background: #f4f5f7; color: #17283d; padding: 110px 0 70px; }
.sword-profile { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 80px; }
.pw-sword .sword-profile-copy .pw-kicker { color: #647d99; font-size: 11px; letter-spacing: .15em; margin: 0 0 28px; }
.pw-sword .sword-profile-copy h2 { color: #17283d; font-size: clamp(40px,4.5vw,64px); font-weight: 600; line-height: 1.3; letter-spacing: -.05em; margin: 0 0 26px; }
.sword-profile-copy h2 > span { color: #657e9d; }
.sword-profile-intro { font-size: 16px; line-height: 1.95; color: #607185; margin-bottom: 25px; }
.sword-profile-tags { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 32px; }
.sword-profile-tags > span { border: 1px solid #cbd4de; border-radius: 5px; color: #4a617d; padding: 6px 10px; font-size: 11px; }
.pw-sword .sword-profile-copy .pw-link { color: #385f89; font-size: 14px; }
.sword-profile-art { margin: 0; position: relative; isolation: isolate; text-align: center; }
.sword-profile-art::before { content: ''; position: absolute; z-index: -1; inset: 18% 5% 5%; background: radial-gradient(ellipse,#b3cbe15e,transparent 67%); }
.sword-profile-art img { width: 100%; height: auto; max-height: 440px; object-fit: contain; display: block; }
.sword-profile-art figcaption { margin-top: 14px; color: #75869a; font-size: 10px; letter-spacing: .1em; }
.sword-art-line { position: absolute; z-index: -1; top: 40%; left: -10%; width: 120%; height: 1px; background: linear-gradient(90deg,transparent,#b7c8dc,transparent); transform: rotate(-24deg); }
.sword-skills { margin-top: 65px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; }
.sword-skills article { border-top: 1px solid #cbd4de; padding-top: 24px; min-width: 0; }
.sword-skill-number { color: #6b7e95; font-size: 10px; letter-spacing: .13em; }
.pw-sword .sword-skills h3 { font-size: 23px; font-weight: 600; margin: 16px 0 12px; color: #243c58; }
.sword-skills p { margin: 0; font-size: 14px; line-height: 1.9; color: #607185; max-width: 320px; }
.sword-rules-note { margin: 30px 0 0; font-size: 11px; line-height: 1.8; color: #7b8a9c; }

/* Keep the catalogue's existing filters and cards; only the new entry gets a launch treatment. */
body.pw-sword.pw-edition .myth-collection { background: #101b2c; }
body.pw-sword.pw-edition .myth-heading-aside p { color: #c3cee0; }
body.pw-sword.pw-edition .myth-type-field select { background: #1c2a40; border-color: #5d708b; }
body.pw-sword.pw-edition .myth-search-field { border-color: #5d708b; }
body.pw-sword.pw-edition .myth-card[data-myth-card='4595'] { background: linear-gradient(140deg,#e3ebf6,#f6f3eb 65%,#e1e7f0); border-color: #e0d1ad; }
body.pw-sword.pw-edition .myth-card[data-myth-card='4595'] .myth-card-number { color: #4f6e94; }
body.pw-sword.pw-edition .myth-card[data-myth-card='4595'] .myth-rarity { color: #80643a; }
body.pw-sword.pw-edition .myth-card[data-myth-card='4595'] > img { object-fit: contain; object-position: center; }

/* Introduction and release pages use the same key visual with the existing expansion animation. */
.pw-site.pw-sword:not(.pw-home) { --pw-primary: #385f89; --pw-primary-hover: #294967; }
.pw-site.pw-sword .pw-visual-hero .pw-visual-hero-art { background: #101b2c; }
.pw-site.pw-sword .pw-visual-hero-art img { object-position: 61% 50%; }
.pw-site.pw-sword .sword-gallery-portrait > a { background: radial-gradient(ellipse at 50% 20%,#233d5b,#101b2c); }
.pw-site.pw-sword .sword-gallery-portrait img { object-fit: contain; }

@media(min-width:1700px) {
 .pw-sword .cinema-inner { gap: 0 75px; }
}
@media(min-width:761px) and (max-height:810px) {
 .pw-sword .v8-scroll-ready .cinema-tagline { font-size: 33px; }
}
@media(max-width:1150px) and (min-width:761px) {
 .pw-sword .cinema-inner { gap: 0 32px; }
 .sword-profile { gap: 40px; }
}
@media(max-width:760px) {
 .pw-sword .cinema-inner { grid-template-columns: 1fr; }
 .pw-sword .cinema-hero { --scene-focus: 61%; }
 .pw-sword .cinema-tagline { font-size: 23px; letter-spacing: -.02em; }
 .pw-sword .cinema-tagline br { display: none; }
 .pw-sword .cinema-tagline > span { margin-left: .25em; }
 .pw-sword .v8-scroll-ready .cinema-tagline { font-size: 20px; }
 .pw-sword .cinema-visual { height: auto; min-height: 0; aspect-ratio: 1672 / 941; }
 .pw-sword .cinema-art { inset: 0; }
 .pw-sword .cinema-art img { object-fit: cover; }
 .pw-sword .cinema-visual-top { top: 13px; left: 15px; right: 15px; font-size: 9px; }
 .pw-sword .cinema-visual-caption { bottom: 12px; left: 15px; right: 15px; gap: 8px; }
 .pw-sword .cinema-visual-caption > p { font-size: 10px; }
 .pw-sword .cinema-visual-caption .cinema-art-note { font-size: 8px; }
 .pw-sword .cinema-visual-caption > span { font-size: 16px; }
 .pw-sword .v8-scroll-ready .cinema-inner { grid-template-rows: auto auto auto auto auto; align-content: center; }
 .pw-sword .v8-scroll-ready .cinema-visual-slot { aspect-ratio: 1672 / 941; }
 .pw-sword .v8-scroll-ready .cinema-visual { height: var(--v8-frame-h,100%); aspect-ratio: auto; }
 .pw-sword .v8-scroll-ready .cinema-shade::after { background: linear-gradient(0deg,#0b162dfa,#0b162dba 30%,transparent 77%); }
 .pw-sword .cinema-identity h2 { font-size: 13px; }
 .pw-sword .cinema-scene-tabs button { font-size: 10px; padding-inline: 6px; }
 .pw-site.pw-sword .sword-chapter { padding: 65px 0 42px; }
 .sword-profile { grid-template-columns: 1fr; gap: 25px; }
 .pw-sword .sword-profile-copy .pw-kicker { margin-bottom: 19px; }
 .pw-sword .sword-profile-copy h2 { font-size: clamp(34px,8.5vw,44px); margin-bottom: 20px; }
 .sword-profile-intro { font-size: 14px; }
 .sword-profile-tags { margin-bottom: 23px; gap: 7px; }
 .sword-profile-tags > span { font-size: 10px; }
 .sword-profile-art { width: 100%; max-width: 430px; margin: 0 auto; }
 .sword-profile-art img { max-height: 340px; }
 .sword-art-line { left: 0; width: 100%; }
 .sword-skills { margin-top: 40px; grid-template-columns: 1fr; gap: 23px; }
 .sword-skills article { padding-top: 19px; }
 .pw-sword .sword-skills h3 { font-size: 21px; margin: 10px 0 8px; }
 .sword-skills p { max-width: none; font-size: 13px; }
 .sword-rules-note { font-size: 10px; }
}
@media(max-width:350px) {
 .pw-sword .cinema-tagline { font-size: 19px; }
 .pw-sword .v8-scroll-ready .cinema-tagline { font-size: 17px; }
 .pw-sword .cinema-scene-tabs button > span { display: none; }
 .pw-sword .cinema-scene-tabs button { padding-inline: 7px; }
 .pw-sword .cinema-visual-caption .cinema-art-note { display: none; }
}
@media(prefers-reduced-motion:reduce) {
 .pw-sword .sword-profile-art * { animation: none!important; }
}
