/* Keep Chibo's light editorial system; let real festival artwork provide warmth. */
.kotoba-page{--blue:#245b54}
.kotoba-page .product-hero{gap:64px;padding-block:48px 60px}
.kotoba-page .product-hero h1{font-size:clamp(46px,5.1vw,73px)}
.kotoba-page .product-hero .lead{max-width:39ch}
.festival-hero{margin:0;overflow:hidden;border-radius:20px;background:#102e32}
.festival-hero>img{width:100%;height:565px;object-fit:cover;object-position:center 65%}
.festival-hero figcaption{font-size:12px;padding:12px 20px;color:#f7e4bd}
.restoration,.play-section{padding-block:76px 0}
.world-pair{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.world-pair figure{overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#fff}
.world-pair img{width:100%;aspect-ratio:3/2;object-fit:cover}
.world-pair figcaption{padding:17px 22px;font-size:15px}
.world-pair figcaption span{display:block;font-size:10px;letter-spacing:.12em;color:var(--soft);font-weight:700;margin-bottom:4px}
.asset-note{font-size:12px;color:var(--soft);margin-top:14px}
.play-layout{display:grid;grid-template-columns:1.12fr 1fr;gap:60px;align-items:start}
.game-screens{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:26px;background:#e5ece8;border-radius:20px}
.game-screens figure:last-child{margin-top:48px}
.game-screens img{border-radius:14px;border:1px solid #58736b;width:100%}
.game-screens figcaption{font-size:12px;line-height:1.5;margin-top:12px;color:#344d48}
.play-layout .feature-rows article:first-child{padding-top:0}
.first-words{display:grid;grid-template-columns:1.1fr 1fr;gap:65px;align-items:center;background:#e5ece8;border-radius:20px;margin-top:76px;padding:48px}
.first-words h2{margin:16px 0 24px}
.first-words p{color:#415d55}
.first-words .text-arrow{margin-top:22px;display:inline-block}
.phrase-example{background:#fff8df;border:1px solid #d9cdb0;border-radius:12px;padding:35px;text-align:center}
.phrase-example .paper-label{display:block;color:#616454;font-size:10px}
.phrase-example strong{font-size:clamp(28px,3vw,43px);font-weight:600;display:block;letter-spacing:.01em;margin-top:24px}
.phrase-example>span:not(.paper-label){font-size:15px;color:#52655a}
.phrase-example>p{margin:15px auto 0}.phrase-example .phrase-note{font-size:13px;max-width:25ch;padding-top:16px;border-top:1px solid #d9cdb0}
.kotoba-page .closing-cta{background:#e5ece8;padding:48px;margin-top:15px}
@media(max-width:1050px){.kotoba-page .product-hero{gap:35px}.festival-hero>img{height:530px}.play-layout{gap:30px;grid-template-columns:1fr 1fr}.game-screens{padding:15px;gap:12px}.first-words{gap:30px;padding:35px}}
@media(max-width:780px){.kotoba-page .product-hero{grid-template-columns:1fr 1fr}.kotoba-page .product-hero h1{font-size:48px}.festival-hero>img{height:520px}.play-layout{grid-template-columns:1fr}.game-screens{max-width:560px;margin:auto;padding:24px;gap:20px}.first-words{grid-template-columns:1fr}.phrase-example{max-width:480px;width:100%;margin:auto}.restoration,.play-section{padding-top:52px}}
@media(max-width:600px){.kotoba-page .product-hero{grid-template-columns:1fr;gap:28px;padding-block:32px}.kotoba-page .product-hero h1{font-size:clamp(43px,10vw,58px)}.festival-hero>img{height:auto;max-height:530px;object-fit:cover}.world-pair{gap:16px;grid-template-columns:1fr}.world-pair figcaption{padding:14px 18px}.world-pair img{aspect-ratio:3/2}.restoration .section-heading,.play-section .section-heading{display:block}.section-heading>p{margin-top:20px}.game-screens{padding:14px;gap:10px}.game-screens figure:last-child{margin-top:30px}.game-screens figcaption{font-size:11px}.first-words{margin-top:48px;padding:25px;gap:28px}.phrase-example{padding:26px 16px}.phrase-example strong{font-size:29px}.kotoba-page .closing-cta{padding:28px}.product-facts span{font-size:10px}}

/* Show the playable experience first, with readable screens at phone size. */
.kotoba-page .product-hero{grid-template-columns:1.2fr 1fr;gap:65px;align-items:center}
.kotoba-page .product-hero h1{font-size:clamp(46px,5vw,70px)}
.hero-game{display:grid;grid-template-columns:minmax(0,300px) 1fr;gap:22px;align-items:end;margin:0}
.hero-game>a{display:block;background:#123537;border-radius:18px;overflow:hidden;border:1px solid #59776d}
.hero-game img{width:100%;height:auto}
.hero-game figcaption{font-size:13px;line-height:1.65;color:var(--soft);max-width:15ch;padding-bottom:12px}
.hero-game figcaption strong{display:block;color:var(--ink);font-size:17px;margin-bottom:12px}
.hero-game figcaption>a{display:block;margin-top:15px}
.game-intro{display:grid;grid-template-columns:1fr 1fr;gap:22px 65px;padding-block:64px}
.game-intro .eyebrow{grid-column:1/-1}.game-intro h2{grid-row:2/4}.game-intro>p:not(.eyebrow){color:var(--soft)}
.walkthrough{padding-top:12px}.walkthrough-controls{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:25px}.walkthrough-controls[hidden],.walkthrough-panel[hidden]{display:none}
.walkthrough-controls button{font:inherit;font-size:16px;font-weight:650;min-height:48px;border:1px solid #b8cbc4;border-radius:8px;background:#fff;color:#245b54;padding:10px 22px;cursor:pointer}
.walkthrough-controls button[aria-pressed=true]{background:#245b54;color:#fff;border-color:#245b54}
.walkthrough-controls button:hover{border-color:#245b54;box-shadow:0 0 0 1px #245b54}
.walkthrough-panel{display:grid;grid-template-columns:390px minmax(0,1fr);gap:70px;padding:36px 60px;align-items:center;background:#e5ece8;border-radius:20px;margin-bottom:20px}
.walkthrough-panel figure{margin:0}.walkthrough-panel img{width:100%;height:auto;border:1px solid #58736b;border-radius:14px}.walkthrough-panel figcaption{font-size:12px;color:#415d55;margin-top:12px}
.screen-explanation h3{font-size:36px;margin-top:14px;max-width:14ch}.screen-explanation h4{font-size:13px;text-transform:uppercase;letter-spacing:.08em;margin:30px 0 10px;color:#245b54}.screen-explanation>p:not(.eyebrow){font-size:18px;color:#344d48;max-width:36ch}.screen-explanation .screen-position{font-size:13px!important;border-top:1px solid #b8cbc4;margin-top:30px;padding-top:18px}
@media(max-width:1050px){.kotoba-page .product-hero{gap:35px}.hero-game{grid-template-columns:1fr;max-width:310px;margin:auto;gap:12px}.hero-game figcaption{max-width:none;padding:0}.hero-game figcaption strong{display:inline;font-size:14px;margin-right:5px}.hero-game figcaption>a{display:inline;margin-left:5px}.walkthrough-panel{grid-template-columns:minmax(0,340px) 1fr;gap:35px;padding:30px}.game-intro{gap:20px 35px}.screen-explanation h3{font-size:31px}}
@media(max-width:780px){.kotoba-page .product-hero{grid-template-columns:1.1fr 1fr}.walkthrough-panel{grid-template-columns:minmax(0,300px) 1fr;gap:25px;padding:24px}.screen-explanation>p:not(.eyebrow){font-size:16px}.screen-explanation h3{font-size:27px}.screen-explanation h4{margin-top:22px}}
@media(max-width:600px){.kotoba-page .product-hero{grid-template-columns:1fr;gap:30px}.hero-game{max-width:350px;width:100%;padding:0}.hero-game img{width:100%}.game-intro{grid-template-columns:1fr;padding-block:42px;gap:18px}.game-intro h2{grid-row:auto}.walkthrough-controls{display:grid;grid-template-columns:1fr 1fr;gap:8px}.walkthrough-controls button{font-size:15px;padding-inline:12px}.walkthrough-panel{grid-template-columns:1fr;padding:16px;gap:25px}.walkthrough-panel figure{max-width:390px;margin:auto;width:100%}.screen-explanation{padding:0 5px 12px}.screen-explanation h3{font-size:30px;max-width:18ch}.screen-explanation>p:not(.eyebrow){font-size:17px;max-width:none}.walkthrough .section-heading{display:block}.walkthrough .section-heading>p{margin-top:20px}}
.chapter-result{padding-top:70px}
.chapter-result .screen-explanation>p{margin-top:24px}
@media(max-width:600px){.chapter-result{padding-top:45px}.chapter-result .section-heading{display:block}.walkthrough-controls button:last-child:nth-child(odd){grid-column:1/-1}}
.battle-stakes{list-style:none;padding:0;margin:0 0 28px;display:grid;gap:15px;max-width:43ch}
.battle-stakes li{border-left:3px solid #bd9345;padding-left:15px}
.battle-stakes strong{display:block;font-size:19px;line-height:1.35;letter-spacing:-.015em}
.battle-stakes span{display:block;font-size:15px;line-height:1.6;color:var(--soft);margin-top:3px}
.kotoba-page .product-hero .lead{margin-bottom:22px}
.kotoba-page .walkthrough{padding-top:58px}
.phone-play{display:grid;grid-template-columns:1fr 1fr;gap:48px;padding-block:42px;border-bottom:1px solid var(--line);scroll-margin-top:24px}
.phone-play h2{font-size:clamp(30px,3.1vw,43px);line-height:1.15;letter-spacing:-.035em;margin:12px 0 20px}
.phone-play-intro>p:last-child{max-width:44ch;color:var(--soft)}
.phone-install-steps{display:grid;gap:20px;align-content:start}
.phone-install-steps article{padding-left:17px;border-left:3px solid #bd9345}
.phone-install-steps h3{font-size:20px;line-height:1.3;margin:0 0 3px}
.phone-install-steps article p{font-size:16px;line-height:1.6;margin:6px 0 0}
.phone-install-steps .phone-browser,.phone-install-steps .phone-tip{color:var(--soft);font-size:14px}
.phone-return{font-size:14px;color:var(--soft);margin:0}
@media(max-width:600px){.phone-play{grid-template-columns:1fr;gap:24px;padding-block:30px}.phone-play h2{font-size:32px}.phone-play-intro>p:last-child{font-size:16px}.phone-install-steps{gap:20px}}
@media(max-width:600px){.battle-stakes{gap:13px;margin-bottom:24px}.battle-stakes strong{font-size:18px}.battle-stakes span{font-size:15px}.kotoba-page .walkthrough{padding-top:40px}}
