/* 《妖怪出沒請小心》作品頁
   視覺語言：圖書館調查冊 × 可愛妖怪魔法繪本。
   作品名稱可換，--yokai-* 只負責世界觀，不綁定遊戲答案。 */
:root {
  --yokai-ink: #061c33;
  --yokai-ink-soft: #0c2b4c;
  --yokai-mint: #65d7c5;
  --yokai-mint-deep: #0f897f;
  --yokai-gold: #ffc857;
  --yokai-paper: #f6efd9;
  --yokai-cream: #fff8e8;
  --yokai-muted: #93b4c4;
  --yokai-line: rgba(255, 200, 87, .3);
}

.yokai-page { overflow-x: hidden; background: var(--yokai-ink); color: var(--yokai-ink); }
.yokai-page .site-header { background: linear-gradient(180deg, rgba(4, 19, 37, .62), transparent); }
.yokai-page .site-header.is-scrolled { background: rgba(4, 19, 37, .92); }
.yokai-page .site-footer { background: #041527; }
.yokai-page .site-footer p { color: rgba(247, 242, 232, .64); }

.yokai-hero { position: relative; min-height: min(900px, 100svh); isolation: isolate; overflow: hidden; color: var(--yokai-cream); background: var(--yokai-ink); }
.yokai-hero-bg { position: absolute; z-index: -4; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 54%; filter: saturate(.84) contrast(1.05); transform: scale(1.02); }
.yokai-hero-scrim { position: absolute; z-index: -3; inset: 0; background: linear-gradient(90deg, rgba(3, 18, 36, .98) 0%, rgba(3, 18, 36, .9) 29%, rgba(3, 18, 36, .58) 52%, rgba(3, 18, 36, .48) 100%), linear-gradient(0deg, rgba(3, 18, 36, .96) 0%, rgba(3, 18, 36, .14) 54%, rgba(3, 18, 36, .62) 100%); }
.yokai-hero-frame { position: absolute; z-index: -1; inset: 22px; border: 1px solid rgba(255, 200, 87, .42); pointer-events: none; }
.yokai-hero-frame::before, .yokai-hero-frame::after { position: absolute; width: 26px; height: 26px; border-color: var(--yokai-gold); content: ""; }
.yokai-hero-frame::before { top: -1px; left: -1px; border-top: 2px solid; border-left: 2px solid; }
.yokai-hero-frame::after { right: -1px; bottom: -1px; border-right: 2px solid; border-bottom: 2px solid; }
.yokai-hero-inner { display: grid; width: var(--page); min-height: min(900px, 100svh); margin: 0 auto; padding: 150px 0 108px; grid-template-columns: minmax(0, .94fr) minmax(420px, 1.06fr); align-items: center; gap: clamp(24px, 4vw, 82px); }
.yokai-hero-copy { width: 100%; min-width: 0; max-width: 590px; padding: clamp(24px, 3vw, 44px); border: 1px solid rgba(101, 215, 197, .3); background: linear-gradient(135deg, rgba(4, 27, 50, .94), rgba(6, 28, 51, .72)); box-shadow: 14px 16px 0 rgba(101, 215, 197, .08); backdrop-filter: blur(8px); }
.yokai-hero-copy .eyebrow { color: var(--yokai-mint); font-size: 12px; letter-spacing: .16em; }
.yokai-kicker { margin-top: 24px; color: var(--yokai-gold); font-family: var(--body); font-size: 14px; letter-spacing: .16em; }
.yokai-hero h1 { max-width: 560px; margin-top: 14px; font-family: var(--display); font-size: clamp(56px, 7.2vw, 108px); font-weight: 500; letter-spacing: -.09em; line-height: 1.02; text-wrap: balance; }
.yokai-hero h1 em { display: inline-block; color: var(--yokai-gold); font-style: normal; }
.yokai-hero-lede { width: 100%; max-width: 480px; margin-top: 28px; color: var(--yokai-cream); font-family: var(--display); font-size: clamp(22px, 2.3vw, 31px); letter-spacing: -.04em; line-height: 1.55; overflow-wrap: anywhere; word-break: break-word; }
.yokai-hero-copy-text { width: 100%; max-width: 480px; margin-top: 12px; color: rgba(255, 248, 232, .76); font-size: 15px; line-height: 2; overflow-wrap: anywhere; word-break: break-word; }
.yokai-offer { display: grid; margin-top: 26px; padding: 17px 19px; gap: 6px; border-left: 3px solid var(--yokai-gold); background: linear-gradient(110deg, rgba(255, 200, 87, .12), rgba(101, 215, 197, .07)); }
.yokai-offer-tag { color: var(--yokai-mint); font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.yokai-offer-numbers { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; }
.yokai-offer-numbers del, .yokai-final-price del { color: rgba(255, 248, 232, .55); font-size: 14px; text-decoration-thickness: 1px; }
.yokai-offer-numbers strong { color: var(--yokai-gold); font-family: var(--display); font-size: clamp(25px, 3vw, 36px); font-weight: 600; letter-spacing: -.03em; }
.yokai-offer-numbers small { font-family: var(--body); font-size: 13px; font-weight: 400; }
.yokai-offer p { color: rgba(255, 248, 232, .66); font-size: 11px; line-height: 1.6; }
.yokai-page [data-buy-cta]:disabled { cursor: not-allowed; opacity: .52; }
.yokai-page [data-buy-cta]:focus-visible { outline: 2px solid var(--yokai-mint); outline-offset: 3px; }
.yokai-hero-actions { display: flex; margin-top: 30px; align-items: center; flex-wrap: wrap; gap: 22px 26px; }
.yokai-hero-actions .text-link { color: var(--yokai-cream); border-bottom-color: rgba(255, 200, 87, .55); cursor: pointer; }
.yokai-meta { display: flex; margin: 36px 0 0; padding: 17px 0 0; align-items: stretch; border-top: 1px solid rgba(101, 215, 197, .28); list-style: none; }
.yokai-meta li { display: flex; min-width: 98px; padding-right: 20px; flex-direction: column; border-right: 1px solid rgba(101, 215, 197, .23); }
.yokai-meta li + li { padding-left: 20px; }
.yokai-meta li:last-child { border-right: 0; }
.yokai-meta strong { color: var(--yokai-gold); font-family: var(--latin); font-size: 22px; font-weight: 500; letter-spacing: .04em; line-height: 1.2; }
.yokai-meta span { margin-top: 4px; color: rgba(255, 248, 232, .62); font-size: 12px; letter-spacing: .1em; }

.yokai-hero-cast { position: relative; min-height: 550px; }
.yokai-hero-trace { position: absolute; z-index: 0; inset: 7% 0 auto auto; width: min(100%, 560px); height: auto; color: var(--yokai-mint); opacity: .6; filter: drop-shadow(0 0 12px rgba(101, 215, 197, .48)); }
.yokai-file-stamp { position: absolute; z-index: 4; top: 2%; right: 3%; padding: 8px 13px; border: 1px solid rgba(255, 200, 87, .55); color: var(--yokai-gold); font-family: var(--latin); font-size: 12px; letter-spacing: .18em; transform: rotate(4deg); }
.yokai-file-stamp span { margin-left: 8px; color: var(--yokai-cream); }
.yokai-hero-characters { position: absolute; inset: 5% 0 0; min-height: 510px; }
.yokai-hero-characters img { position: absolute; width: auto; object-fit: contain; filter: drop-shadow(0 16px 22px rgba(1, 10, 21, .42)); }
.yokai-hero-owl { z-index: 3; right: 25%; bottom: 5%; height: 76%; }
.yokai-hero-monster { z-index: 2; bottom: 8%; height: 48%; }
.yokai-hero-monster-confused { left: 1%; transform: rotate(-6deg); }
.yokai-hero-monster-eater { left: 22%; bottom: 4%; height: 42%; transform: rotate(4deg); }
.yokai-hero-monster-merry { right: 3%; bottom: 9%; height: 45%; transform: rotate(6deg); }
.yokai-hero-monster-liar { right: 12%; bottom: 5%; height: 42%; transform: rotate(-5deg); }
.yokai-hero-note { position: absolute; z-index: 5; right: 0; bottom: 2%; max-width: 230px; padding: 11px 14px; border-left: 2px solid var(--yokai-gold); background: rgba(4, 22, 42, .74); color: rgba(255, 248, 232, .84); font-size: 12px; line-height: 1.75; }
.yokai-hero-note span { margin-right: 7px; color: var(--yokai-gold); }
.yokai-scroll-cue { position: absolute; right: clamp(24px, 5vw, 72px); bottom: 32px; display: inline-flex; align-items: center; gap: 12px; color: rgba(255, 248, 232, .68); font-family: var(--latin); font-size: 10px; letter-spacing: .18em; }
.yokai-scroll-cue i { color: var(--yokai-gold); font-size: 18px; font-style: normal; }

.yokai-story { display: grid; position: relative; width: var(--page); margin: 0 auto; padding: clamp(110px, 13vw, 190px) 0; grid-template-columns: 80px minmax(0, 1fr) minmax(300px, .8fr); gap: clamp(30px, 6vw, 96px); align-items: center; background: var(--yokai-paper); color: var(--yokai-ink); }
.yokai-story::before { position: absolute; z-index: -1; top: 15%; right: -18vw; width: 45vw; aspect-ratio: 1; border: 1px solid rgba(15, 137, 127, .17); border-radius: 50%; box-shadow: 0 0 0 60px rgba(15, 137, 127, .05), 0 0 0 120px rgba(15, 137, 127, .035); content: ""; }
.yokai-section-rail { display: flex; height: 230px; align-items: center; color: var(--yokai-mint-deep); font-family: var(--latin); font-size: 11px; letter-spacing: .16em; writing-mode: vertical-rl; }
.yokai-section-rail span:first-child { color: var(--yokai-gold); font-size: 20px; }
.yokai-section-rail i { width: 1px; height: 68px; margin: 18px 0; background: rgba(15, 137, 127, .4); }
.yokai-story-copy { max-width: 630px; }
.yokai-story-copy .eyebrow { color: var(--yokai-mint-deep); font-size: 12px; }
.yokai-story-copy h2 { margin-top: 18px; font-family: var(--display); font-size: clamp(42px, 5vw, 74px); font-weight: 400; letter-spacing: -.08em; line-height: 1.08; }
.yokai-story-copy h2 em, .yokai-how h2 em, .yokai-route h2 em, .yokai-cast h2 em, .yokai-info h2 em { color: var(--yokai-mint-deep); font-style: normal; }
.yokai-story-copy > p { max-width: 600px; margin-top: 24px; color: #354e59; font-size: 16px; line-height: 2.05; }
.yokai-story-callout { display: flex; margin-top: 34px !important; padding: 18px 20px; align-items: baseline; gap: 14px; border-left: 3px solid var(--yokai-gold); background: #fff8e8; color: var(--yokai-ink) !important; font-size: 15px !important; line-height: 1.85 !important; box-shadow: 8px 8px 0 rgba(6, 28, 51, .06); }
.yokai-story-callout span { flex: none; color: #9a6b0c; font-family: var(--latin); font-size: 11px; letter-spacing: .1em; }
.yokai-life-tree { position: relative; display: grid; min-height: 400px; place-items: center; overflow: hidden; border: 1px solid rgba(15, 137, 127, .28); background: radial-gradient(circle at 50% 45%, rgba(101, 215, 197, .28), transparent 27%), linear-gradient(145deg, #e6f0e7, #b6d8d0); box-shadow: 12px 14px 0 rgba(15, 137, 127, .1); }
.yokai-life-tree::before { position: absolute; inset: 18px; border: 1px solid rgba(6, 28, 51, .22); content: ""; }
.yokai-tree-orbit { position: absolute; border: 1px solid rgba(6, 28, 51, .24); border-radius: 50%; transform: rotate(-27deg); }
.orbit-one { width: 82%; height: 42%; }
.orbit-two { width: 62%; height: 76%; transform: rotate(28deg); }
.yokai-tree-trunk { position: absolute; bottom: 15%; width: 5px; height: 55%; background: linear-gradient(#0f897f, #061c33); border-radius: 5px; transform: rotate(4deg); box-shadow: 0 0 20px rgba(15, 137, 127, .45); }
.yokai-tree-trunk::before, .yokai-tree-trunk::after { position: absolute; width: 4px; height: 125px; background: #0f897f; border-radius: 4px; content: ""; transform-origin: bottom; }
.yokai-tree-trunk::before { bottom: 45%; left: -48px; transform: rotate(-42deg); }
.yokai-tree-trunk::after { bottom: 58%; right: -48px; transform: rotate(43deg); }
.yokai-tree-crack { position: absolute; width: 78px; height: 106px; border-right: 2px solid var(--yokai-gold); border-bottom: 2px solid var(--yokai-gold); transform: translate(18px, -48px) rotate(14deg); opacity: .82; }
.yokai-tree-star { position: absolute; z-index: 2; color: var(--yokai-gold); font-size: 27px; filter: drop-shadow(0 0 8px rgba(255, 200, 87, .8)); }
.star-one { top: 23%; left: 23%; }.star-two { right: 20%; bottom: 24%; }
.yokai-life-tree > p { position: relative; z-index: 3; margin-top: 220px; color: var(--yokai-ink); font-family: var(--latin); font-size: 12px; letter-spacing: .2em; line-height: 1.7; text-align: center; }
.yokai-life-tree > p em { color: var(--yokai-mint-deep); font-family: var(--display); font-size: 17px; letter-spacing: .03em; }

.yokai-how { padding: clamp(100px, 12vw, 170px) max(32px, calc((100vw - min(1400px, calc(100vw - 64px))) / 2)); background: var(--yokai-ink); color: var(--yokai-cream); }
.yokai-how-head { display: grid; max-width: 1160px; margin: 0 auto; grid-template-columns: minmax(0, 1.1fr) minmax(270px, .7fr); gap: 60px; align-items: end; }
.yokai-section-label { color: var(--yokai-gold); font-family: var(--latin); font-size: 12px; letter-spacing: .18em; }
.yokai-how h2, .yokai-route h2, .yokai-cast h2, .yokai-info h2 { margin-top: 19px; font-family: var(--display); font-size: clamp(39px, 4.7vw, 70px); font-weight: 400; letter-spacing: -.07em; line-height: 1.12; }
.yokai-how h2 em { color: var(--yokai-mint); }
.yokai-how-head > p { max-width: 390px; color: rgba(255, 248, 232, .7); font-size: 15px; line-height: 2; }
.yokai-method-list { display: grid; max-width: 1160px; margin: clamp(55px, 7vw, 94px) auto 0; padding: 0; grid-template-columns: repeat(4, 1fr); list-style: none; }
.yokai-method-list li { position: relative; min-height: 258px; padding: 20px 24px 24px; border-top: 1px solid rgba(101, 215, 197, .35); border-right: 1px solid rgba(101, 215, 197, .2); transition: background .3s ease, transform .3s var(--ease); }
.yokai-method-list li:first-child { border-left: 1px solid rgba(101, 215, 197, .2); }
.yokai-method-list li:hover { z-index: 1; background: rgba(101, 215, 197, .08); transform: translateY(-6px); }
.yokai-method-no { color: var(--yokai-gold); font-family: var(--latin); font-size: 13px; letter-spacing: .14em; }
.yokai-method-list h3 { margin-top: 52px; color: var(--yokai-cream); font-family: var(--display); font-size: 26px; font-weight: 500; }
.yokai-method-list p { margin-top: 12px; color: rgba(255, 248, 232, .64); font-size: 14px; line-height: 1.9; }
.yokai-method-glyph { position: absolute; right: 21px; bottom: 17px; color: var(--yokai-mint); font-family: var(--display); font-size: 27px; }
.yokai-mechanics { display: grid; max-width: 1160px; margin: 38px auto 0; padding: 20px 0 0; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid rgba(101, 215, 197, .19); }
.yokai-mechanics > div { display: flex; align-items: flex-start; gap: 13px; }
.yokai-mechanics-icon { display: grid; width: 30px; height: 30px; flex: none; place-items: center; border: 1px solid var(--yokai-gold); border-radius: 50%; color: var(--yokai-gold); font-size: 16px; }
.yokai-mechanics p { color: rgba(255, 248, 232, .67); font-size: 13px; line-height: 1.75; }
.yokai-mechanics strong { display: block; margin-bottom: 3px; color: var(--yokai-cream); font-size: 14px; }

.yokai-route { position: relative; padding: clamp(100px, 12vw, 170px) max(32px, calc((100vw - min(1400px, calc(100vw - 64px))) / 2)); overflow: hidden; background: var(--yokai-paper); }
.yokai-route::before { position: absolute; top: -100px; right: -70px; width: 340px; height: 340px; border: 1px solid rgba(15, 137, 127, .2); border-radius: 50%; box-shadow: 0 0 0 36px rgba(15, 137, 127, .05), 0 0 0 72px rgba(15, 137, 127, .035); content: ""; }
.yokai-route-head { position: relative; z-index: 1; max-width: 660px; margin: 0 auto; text-align: center; }
.yokai-route-head .yokai-section-label { color: var(--yokai-mint-deep); }
.yokai-route h2 em { color: var(--yokai-mint-deep); }
.yokai-route-head > p:last-child { max-width: 540px; margin: 21px auto 0; color: #435d67; font-size: 15px; line-height: 1.95; }
.yokai-footprint-line { position: absolute; top: 55%; left: 12%; width: 76%; height: 1px; background: repeating-linear-gradient(90deg, var(--yokai-mint-deep) 0 6px, transparent 6px 15px); opacity: .48; transform: rotate(-3deg); }
.yokai-route-list { display: grid; position: relative; z-index: 1; max-width: 1160px; margin: clamp(56px, 8vw, 100px) auto 0; padding: 0; grid-template-columns: repeat(5, 1fr); gap: 12px; list-style: none; }
.yokai-route-list li { display: flex; min-height: 160px; padding: 16px; flex-direction: column; justify-content: space-between; border: 1px solid rgba(15, 137, 127, .3); background: rgba(255, 248, 232, .78); box-shadow: 7px 8px 0 rgba(15, 137, 127, .08); transform: translateY(var(--route-offset, 0)); }
.yokai-route-list li:nth-child(2), .yokai-route-list li:nth-child(4) { --route-offset: 22px; }
.yokai-route-list li:nth-child(3) { --route-offset: -10px; }
.yokai-route-index { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid var(--yokai-gold); border-radius: 50%; color: #9a6b0c; font-family: var(--latin); font-size: 12px; }
.yokai-route-list strong { display: block; color: var(--yokai-ink); font-family: var(--display); font-size: 20px; font-weight: 500; }
.yokai-route-list li div span { display: block; margin-top: 7px; color: #5a7279; font-size: 13px; line-height: 1.75; }

.yokai-cast { padding: clamp(105px, 13vw, 180px) max(32px, calc((100vw - min(1400px, calc(100vw - 64px))) / 2)); background: #0b2447; color: var(--yokai-cream); }
.yokai-cast-head { display: grid; max-width: 1160px; margin: 0 auto; grid-template-columns: minmax(0, 1.15fr) minmax(270px, .65fr); gap: 50px; align-items: end; }
.yokai-cast-head .yokai-section-label { grid-column: 1 / -1; }
.yokai-cast h2 { margin: 0; }
.yokai-cast h2 em { color: var(--yokai-mint); }
.yokai-cast-head > p:last-child { max-width: 370px; color: rgba(255, 248, 232, .67); font-size: 15px; line-height: 2; }
.yokai-cast-grid { display: grid; max-width: 1160px; margin: clamp(54px, 7vw, 90px) auto 0; grid-template-columns: repeat(12, 1fr); gap: 14px; align-items: end; }
.yokai-cast-card { display: flex; min-height: 380px; padding: 13px; flex-direction: column; justify-content: flex-end; overflow: hidden; border: 1px solid rgba(101, 215, 197, .32); background: linear-gradient(165deg, rgba(9, 46, 74, .98), rgba(6, 28, 51, .98)); transition: transform .35s var(--ease), border-color .3s ease; }
.yokai-cast-card:hover { border-color: var(--yokai-gold); transform: translateY(-9px) rotate(-1deg); }
.yokai-cast-card > div:last-child { position: relative; z-index: 1; padding: 13px 5px 5px; }
.yokai-cast-card > div:last-child > span { color: var(--yokai-gold); font-family: var(--latin); font-size: 10px; letter-spacing: .16em; }
.yokai-cast-card h3 { margin-top: 6px; color: var(--yokai-cream); font-family: var(--display); font-size: 24px; font-weight: 500; }
.yokai-cast-card p { margin-top: 7px; color: rgba(255, 248, 232, .65); font-size: 13px; line-height: 1.8; }
.yokai-cast-image { display: grid; min-height: 232px; place-items: end center; overflow: hidden; background: radial-gradient(circle at 50% 50%, rgba(101, 215, 197, .18), transparent 65%); }
.yokai-cast-image img { width: 100%; height: 275px; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 10px 13px rgba(0, 0, 0, .4)); transition: transform .4s var(--ease); }
.yokai-cast-card:hover .yokai-cast-image img { transform: scale(1.06) translateY(-3px); }
.cast-confused { grid-column: span 3; transform: translateY(12px); }.cast-eater { grid-column: span 3; }.cast-merry { grid-column: span 2; transform: translateY(-16px); }.cast-liar { grid-column: span 2; transform: translateY(22px); }.cast-owl { grid-column: span 2; min-height: 420px; transform: translateY(-4px); }
.cast-owl .yokai-cast-image { min-height: 270px; }.cast-owl .yokai-cast-image img { height: 315px; }

.yokai-info { padding: clamp(100px, 12vw, 165px) max(22px, calc((100vw - min(1120px, calc(100vw - 44px))) / 2)); background: var(--yokai-paper); }
.yokai-info-card { padding: clamp(28px, 5vw, 68px); border: 1px solid rgba(15, 137, 127, .34); background: var(--yokai-cream); box-shadow: 12px 13px 0 rgba(15, 137, 127, .1); }
.yokai-info-card .yokai-section-label { color: var(--yokai-mint-deep); }
.yokai-info h2 { margin-top: 15px; color: var(--yokai-ink); }.yokai-info h2 em { color: var(--yokai-mint-deep); }
.yokai-info-grid { display: grid; margin-top: 50px; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(15, 137, 127, .25); }
.yokai-info-grid > div { min-height: 140px; padding: 22px 17px 0; border-right: 1px solid rgba(15, 137, 127, .2); }.yokai-info-grid > div:first-child { padding-left: 0; }.yokai-info-grid > div:last-child { border-right: 0; }
.yokai-info-grid span { color: var(--yokai-mint-deep); font-family: var(--latin); font-size: 11px; letter-spacing: .14em; }.yokai-info-grid strong { display: block; margin-top: 12px; color: var(--yokai-ink); font-family: var(--display); font-size: 23px; font-weight: 500; }.yokai-info-grid small { display: block; margin-top: 8px; color: #5c7275; font-size: 12px; line-height: 1.75; }

.yokai-final { position: relative; padding: clamp(120px, 15vw, 220px) 22px; overflow: hidden; background: var(--yokai-ink); color: var(--yokai-cream); text-align: center; }
.yokai-final .yokai-final-price { display: flex; width: fit-content; max-width: 100%; margin: 25px auto 0; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 8px 16px; color: var(--yokai-cream); }
.yokai-final-price strong { color: var(--yokai-gold); font-family: var(--display); font-size: clamp(25px, 4vw, 39px); font-weight: 600; }
.purchase-price-line, .purchase-estimate { margin: 15px 0; padding: 12px 15px; border-left: 3px solid var(--yokai-mint-deep); background: rgba(15, 137, 127, .08); color: var(--yokai-ink); font-size: 14px; }
.purchase-price-line strong { margin: 0 6px; color: #9a6300; font-size: 18px; }
.purchase-price-line span { display: block; margin-top: 4px; color: #506773; font-size: 12px; }
.purchase-estimate { margin-bottom: 6px; font-weight: 700; }
.yokai-final::before { position: absolute; top: 11%; left: 50%; width: min(730px, 90vw); aspect-ratio: 1; border: 1px solid rgba(101, 215, 197, .14); border-radius: 50%; box-shadow: 0 0 0 60px rgba(101, 215, 197, .035), 0 0 0 120px rgba(101, 215, 197, .025); content: ""; transform: translateX(-50%); }
.yokai-final > *:not(.yokai-final-orbit) { position: relative; z-index: 1; }
.yokai-final .eyebrow { justify-content: center; color: var(--yokai-mint); font-size: 11px; }.yokai-final h2 { max-width: 800px; margin: 21px auto 0; font-family: var(--display); font-size: clamp(42px, 5vw, 75px); font-weight: 400; letter-spacing: -.08em; line-height: 1.12; }.yokai-final h2 em { color: var(--yokai-gold); font-style: normal; }.yokai-final > p:not(.eyebrow) { max-width: 510px; margin: 24px auto 0; color: rgba(255, 248, 232, .68); font-size: 15px; line-height: 2; }.yokai-final .button { margin-top: 31px; }.yokai-back-link { display: block; width: max-content; margin: 36px auto 0; padding-bottom: 4px; border-bottom: 1px solid rgba(101, 215, 197, .48); color: var(--yokai-mint); font-size: 13px; letter-spacing: .1em; }.yokai-back-link span { margin-left: 7px; }.yokai-final-orbit { position: absolute; z-index: 0; top: 30px; left: calc(50% - 39px); display: grid; width: 78px; height: 78px; place-items: center; border: 1px solid rgba(255, 200, 87, .43); border-radius: 50%; color: var(--yokai-gold); font-size: 22px; animation: yokai-orbit 8s linear infinite; }.yokai-final-orbit i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--yokai-mint); transform: translate(33px, -22px); }
@keyframes yokai-orbit { to { transform: rotate(360deg); } }

@media (max-width: 1020px) {
  .yokai-hero-inner { grid-template-columns: minmax(0, .9fr) minmax(340px, 1fr); gap: 24px; }
  .yokai-hero-cast { min-height: 500px; }.yokai-hero-characters { min-height: 470px; }.yokai-hero-owl { right: 20%; }.yokai-hero-monster-confused { left: -5%; }.yokai-hero-monster-eater { left: 15%; }.yokai-hero-monster-merry { right: -5%; }.yokai-hero-monster-liar { right: 6%; }
  .yokai-story { grid-template-columns: 45px minmax(0, 1fr) minmax(260px, .72fr); gap: 30px; }.yokai-info-grid strong { font-size: 20px; }
}

@media (max-width: 900px) {
  .yokai-hero { min-height: auto; }.yokai-hero-inner { min-height: auto; min-width: 0; padding: 140px 0 110px; grid-template-columns: minmax(0, 1fr); }.yokai-hero-copy { max-width: 670px; min-width: 0; }.yokai-hero-cast { width: min(100%, 620px); min-width: 0; min-height: 500px; margin: 0 auto; }.yokai-hero-characters { min-height: 470px; }.yokai-hero-owl { right: 27%; }.yokai-hero-monster-confused { left: 2%; }.yokai-hero-monster-merry { right: 1%; }.yokai-hero-monster-liar { right: 16%; }
  .yokai-story { width: auto; margin: 0; padding: 105px 32px; grid-template-columns: 42px minmax(0, 1fr); }.yokai-life-tree { grid-column: 2; max-width: 560px; min-height: 340px; margin-top: 24px; }.yokai-method-list { grid-template-columns: repeat(2, 1fr); }.yokai-method-list li:nth-child(odd) { border-left: 1px solid rgba(101, 215, 197, .2); }.yokai-mechanics { grid-template-columns: 1fr; gap: 15px; }.yokai-route-list { grid-template-columns: repeat(3, 1fr); }.yokai-route-list li:nth-child(n) { --route-offset: 0; }.yokai-footprint-line { top: 64%; width: 72%; left: 14%; transform: rotate(6deg); }.yokai-cast-head { grid-template-columns: 1fr; gap: 20px; }.yokai-cast-head .yokai-section-label { grid-column: auto; }.yokai-cast-grid { grid-template-columns: repeat(6, 1fr); }.cast-confused, .cast-eater, .cast-merry, .cast-liar, .cast-owl { grid-column: span 2; transform: none; }.cast-owl { min-height: 380px; }.yokai-info-grid { grid-template-columns: repeat(2, 1fr); }.yokai-info-grid > div:nth-child(2) { border-right: 0; }.yokai-info-grid > div:nth-child(n+3) { border-top: 1px solid rgba(15, 137, 127, .2); }.yokai-info-grid > div:nth-child(3) { padding-left: 0; }
}

@media (max-width: 620px) {
  .yokai-page .site-header { background: rgba(4, 19, 37, .68); }.yokai-hero-frame { inset: 12px; }.yokai-hero-inner { width: auto; padding: 113px 22px 94px; }.yokai-hero-copy { padding: 25px 20px 22px; }.yokai-hero-copy .eyebrow { font-size: 10px; letter-spacing: .1em; }.yokai-kicker { margin-top: 20px; font-size: 12px; letter-spacing: .1em; }.yokai-hero h1 { margin-top: 12px; font-size: clamp(52px, 17vw, 75px); }.yokai-hero-lede { margin-top: 22px; font-size: 20px; letter-spacing: -.06em; word-break: break-all; }.yokai-hero-copy-text { font-size: 14px; line-height: 1.9; word-break: break-all; }.yokai-hero-actions { margin-top: 25px; align-items: stretch; flex-direction: column; gap: 13px; }.yokai-hero-actions .button, .yokai-hero-actions .text-link { width: 100%; justify-content: center; }.yokai-meta { margin-top: 27px; }.yokai-meta li { min-width: 0; flex: 1; padding-right: 8px; }.yokai-meta li + li { padding-left: 10px; }.yokai-meta strong { font-size: 18px; }.yokai-meta span { font-size: 10px; letter-spacing: .04em; }.yokai-hero-cast { min-height: 350px; margin-top: 7px; }.yokai-hero-characters { min-height: 340px; }.yokai-hero-owl { right: 25%; height: 72%; }.yokai-hero-monster { bottom: 7%; height: 43%; }.yokai-hero-monster-confused { left: -3%; }.yokai-hero-monster-eater { left: 13%; height: 39%; }.yokai-hero-monster-merry { right: -5%; height: 39%; }.yokai-hero-monster-liar { right: 11%; height: 37%; }.yokai-file-stamp { top: 0; right: 4%; font-size: 9px; }.yokai-hero-note { right: 0; bottom: -3%; max-width: 190px; font-size: 10px; }.yokai-scroll-cue { right: 24px; bottom: 23px; font-size: 8px; }
  .yokai-story { width: auto; min-width: 0; padding: 83px 22px 100px; grid-template-columns: minmax(0, 1fr); gap: 18px; }.yokai-section-rail { display: flex; height: auto; flex-direction: row; writing-mode: horizontal-tb; }.yokai-section-rail i { width: 42px; height: 1px; margin: 0 12px; }.yokai-story-copy { min-width: 0; }.yokai-story-copy h2 { margin-top: 14px; font-size: 42px; }.yokai-story-copy > p { font-size: 15px; line-height: 1.95; }.yokai-story-callout { display: block; }.yokai-story-callout span { display: block; margin-bottom: 7px; }.yokai-life-tree { grid-column: auto; min-width: 0; min-height: 300px; }.yokai-life-tree > p { margin-top: 164px; }
  .yokai-how, .yokai-route, .yokai-cast { padding-right: 22px; padding-left: 22px; }.yokai-how { padding-top: 83px; padding-bottom: 94px; }.yokai-how-head { display: block; }.yokai-how-head > p { margin-top: 24px; }.yokai-how h2, .yokai-route h2, .yokai-cast h2, .yokai-info h2 { font-size: 40px; }.yokai-method-list { margin-top: 47px; grid-template-columns: 1fr; }.yokai-method-list li, .yokai-method-list li:first-child, .yokai-method-list li:nth-child(odd) { min-height: 185px; border-left: 1px solid rgba(101, 215, 197, .2); }.yokai-method-list h3 { margin-top: 26px; }.yokai-mechanics { margin-top: 28px; }
  .yokai-route { padding-top: 84px; padding-bottom: 100px; }.yokai-route-head { text-align: left; }.yokai-route-head > p:last-child { margin-left: 0; }.yokai-route-list { margin-top: 49px; grid-template-columns: 1fr; gap: 10px; }.yokai-route-list li { min-height: 105px; flex-direction: row; align-items: center; gap: 16px; }.yokai-route-list li div { flex: 1; }.yokai-route-list li div span { margin-top: 3px; }.yokai-footprint-line { top: auto; bottom: 19%; left: 37px; width: 1px; height: 49%; background: repeating-linear-gradient(0deg, var(--yokai-mint-deep) 0 6px, transparent 6px 15px); transform: none; }
  .yokai-cast { padding-top: 85px; padding-bottom: 100px; }.yokai-cast-grid { margin-top: 48px; grid-template-columns: repeat(2, 1fr); gap: 10px; }.cast-confused, .cast-eater, .cast-merry, .cast-liar { grid-column: span 1; }.cast-owl { grid-column: 1 / -1; min-height: 320px; }.yokai-cast-card { min-height: 330px; padding: 9px; }.yokai-cast-image { min-height: 185px; }.yokai-cast-image img { height: 220px; }.cast-owl .yokai-cast-image { min-height: 220px; }.cast-owl .yokai-cast-image img { height: 250px; }.yokai-cast-card h3 { font-size: 21px; }.yokai-cast-card p { font-size: 12px; line-height: 1.65; }
  .yokai-info { padding: 83px 22px 96px; }.yokai-info-card { padding: 28px 20px; }.yokai-info-grid { margin-top: 36px; grid-template-columns: 1fr; }.yokai-info-grid > div, .yokai-info-grid > div:first-child, .yokai-info-grid > div:nth-child(3) { min-height: 0; padding: 17px 0; border-right: 0; border-bottom: 1px solid rgba(15, 137, 127, .2); }.yokai-info-grid > div:last-child { border-bottom: 0; }.yokai-info-grid > div:nth-child(n+3) { border-top: 0; }.yokai-info-grid strong { margin-top: 6px; font-size: 21px; }.yokai-info-grid small { margin-top: 4px; }
  .yokai-final { padding: 125px 22px 110px; }.yokai-final h2 { font-size: 42px; }.yokai-final > p:not(.eyebrow) { font-size: 14px; }.yokai-final .button { width: 100%; }.yokai-back-link { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .yokai-final-orbit, .yokai-cast-card, .yokai-method-list li, .yokai-cast-image img, .yokai-hero-characters img { animation: none; transition: none; }
}
