/*
 * Pukpui Onsen — static landing page
 * Change the colors and content width here. No animation or transitions.
 * Static language pages work without JavaScript; scripts enhance menus only.
 */
:root {
  --pink: #d7316f;
  --pink-bright: #ed5c97;
  --pink-soft: #ffd8e5;
  --pink-border: #ffcadb;
  --paper: #fff8f8;
  --world: #fff0f4;
  --ink: #623650;
  --muted: #82536c;
  --container: 1240px;
  --font: "Nunito", "Trebuchet MS", ui-rounded, system-ui, sans-serif;
  --shadow-soft: 0 5px 0 #fbc4d54d, 0 12px 28px #c7628820;
}

/* Base / accessibility */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; scroll-padding-top: 24px; }
body { margin: 0; background: var(--world); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, summary { -webkit-tap-highlight-color: transparent; }
button { color: inherit; font: inherit; }
button, a, summary { touch-action: manipulation; }
button { cursor: pointer; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 900; line-height: 1.2; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid #733b98; outline-offset: 5px; }
[hidden] { display: none !important; }
.container { width: min(var(--container), calc(100% - 72px)); margin-inline: auto; }
.icon { width: 24px; height: 24px; display: inline-block; vertical-align: middle; flex: 0 0 auto; fill: currentColor; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 12px; z-index: 999; padding: 12px 18px; background: white; border: 2px solid var(--pink); border-radius: 14px; font-weight: 800; transform: translateY(-180%); }
.skip-link:focus { transform: none; }

/* Shared buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 58px; padding: 13px 25px; border: 3px solid #fff; border-radius: 999px; font-size: 18px; font-weight: 900; line-height: 1.3; text-align: center; }
.button-primary { color: #fff; background: linear-gradient(180deg, #d93270, #c92360); box-shadow: inset 0 2px 2px #ffffff70, 0 5px 0 #d7336c33, 0 8px 24px #d8447640; }
.button-primary .icon { width: 25px; height: 27px; filter: drop-shadow(0 1px 1px #872c5c25); }
.button-primary:hover { background: linear-gradient(180deg, #c92b64, #af1d50); }
.button-primary:active { box-shadow: inset 0 2px 4px #92225133, 0 2px 0 #d7336c33; }
.button-secondary { color: #9c2854; background: linear-gradient(180deg, #fffdfc, #ffe7ef); border-color: #fff5f7; box-shadow: 0 5px 0 #d7336c19, 0 8px 24px #ae598a20; }
.button-secondary:hover { background: #fff; border-color: #f9a5c2; }

/* Floating header, deliberately not sticky / animated */
.site-header { position: absolute; top: 22px; left: 50%; z-index: 20; transform: translateX(-50%); width: min(1120px, calc(100% - 80px)); min-height: 76px; padding: 8px 11px 8px 24px; display: flex; align-items: center; justify-content: space-between; gap: 22px; border: 2px solid #fff; border-radius: 28px; background: #fff9fbea; box-shadow: 0 4px 22px #697d9320; }
.header-logo { width: 150px; flex: 0 0 150px; }
.desktop-nav { display: flex; gap: 6px; align-items: center; }
.desktop-nav a { padding: 11px 14px; border-radius: 999px; font-weight: 800; font-size: 14px; }
.desktop-nav a:first-child { background: #ffdfeb; color: #b5205a; }
.desktop-nav a:hover { background: #ffdfeb; color: #a82455; }
.header-play { padding: 12px 19px; min-height: 51px; font-size: 15px; gap: 8px; border-width: 2px; white-space: nowrap; }
.header-play .icon { width: 22px; height: 23px; }
.mobile-menu { display: none; }

/* Hero key art and actual HTML copy */
.hero { position: relative; isolation: isolate; height: clamp(710px, 54vw, 860px); overflow: hidden; background: #d8edf6; }
.hero-picture { position: absolute; inset: 0; z-index: -3; }
.hero-picture img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero-scrim { position: absolute; z-index: -2; inset: 0; background: radial-gradient(ellipse 35% 47% at 28% 45%, #fff9f1a6 0%, #fffaf368 55%, #fff0 100%); }
.hero-inner { height: 100%; display: flex; align-items: center; padding-bottom: 16px; padding-top: 76px; }
.hero-copy { width: 48%; max-width: 575px; text-align: center; position: relative; }
.hero-logo { width: 100%; margin-inline: auto; filter: drop-shadow(0 5px 12px #b984b32b); }
.hero-tagline { margin-top: 13px; font-size: clamp(25px, 2.2vw, 34px); font-weight: 900; letter-spacing: -.7px; text-shadow: 0 2px 3px #fff, 0 0 15px #fff; line-height: 1.2; }
.hero-description { margin-top: 10px; font-size: 20px; font-weight: 700; line-height: 1.45; text-shadow: 0 1px 3px white, 0 0 12px #fff; }
.hero-actions { margin-top: 24px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; }
.hero-whisper { display: flex; justify-content: center; align-items: center; gap: 7px; margin-top: 18px; font-size: 13px; font-weight: 800; color: #664054; text-shadow: 0 1px 5px #fff, 0 0 10px #fff; }
.hero-whisper .icon { width: 13px; height: 13px; color: #b62c63; }
.hero-wave { position: absolute; bottom: -1px; width: 100%; height: 76px; z-index: -1; }

/* Section framing */
.pink-world { position: relative; background: radial-gradient(ellipse at 20% 19%, #ffdae645, transparent 39%), linear-gradient(#fff0f4, #ffedf2 70%, #fff3f5); }
.section-heading { text-align: center; margin-bottom: 28px; }
.section-heading h2 { display: flex; justify-content: center; align-items: center; gap: 15px; font-size: clamp(24px, 2.15vw, 32px); letter-spacing: -.65px; }
.section-heading h2 .icon { width: 28px; height: 28px; color: #ed779f; }
.section-heading p { color: var(--muted); font-size: 17px; margin-top: 8px; font-weight: 600; }
.sakura { position: absolute; width: clamp(125px, 15vw, 245px); height: auto; pointer-events: none; }
.sakura-left { left: -70px; top: 125px; }
.sakura-right { right: -68px; top: -32px; transform: scaleX(-1); }

/* Features */
.features-section { position: relative; padding-bottom: 40px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; margin-top: -28px; z-index: 2; }
.feature-card { padding: 12px 12px 20px; border: 2px solid #fff; border-radius: 29px; background: linear-gradient(150deg, #fffdfb, #fff1f4); box-shadow: var(--shadow-soft); }
.feature-art { height: 175px; border-radius: 19px; position: relative; overflow: hidden; border: 1px solid #fbdce4; }
.feature-art img { width: 100%; height: 100%; object-fit: cover; }
.feature-art-merge { background: radial-gradient(circle at 45% 30%, #fffaf5 0%, #ffe0e8 90%); display: flex; align-items: flex-end; justify-content: center; padding: 0 5px 10px; }
.feature-art-merge img { position: relative; width: 36%; height: auto; object-fit: contain; }
.feature-art-merge img:first-child { width: 28%; }
.feature-art-merge img:last-child { width: 41%; }
.feature-art-merge .icon { width: 12px; height: 20px; margin: 0 -3px 38px; color: #ed89af; }
.feature-art-bubble img { object-position: center 36%; }
.feature-art-friends { background: radial-gradient(ellipse at 30% 20%, #fffdf9, #d4f3ef); }
.feature-art-friends img { position: absolute; width: 46%; height: auto; object-fit: contain; }
.feature-art-friends .mini-rabbit { width: 43%; left: 0; bottom: 18px; }
.feature-art-friends .mini-cat { width: 42%; right: -2%; bottom: 13px; }
.feature-art-friends .mini-panda { width: 51%; left: 26%; bottom: 7px; }
.feature-art-friends .mini-bear { width: 35%; left: 17%; bottom: -29px; }
.feature-art-friends .mini-sheep { width: 36%; right: 15%; bottom: -35px; }
.feature-art-retreat img { object-position: center 45%; }
.feature-copy { display: flex; align-items: flex-start; gap: 11px; padding: 17px 6px 0; }
.feature-copy > .icon { color: #e877a0; width: 26px; height: 26px; margin-top: 1px; }
.feature-retreat .feature-copy > .icon { color: #76a865; }
.feature-copy h3 { font-size: 18px; letter-spacing: -.35px; line-height: 1.28; }
.feature-copy p { font-size: 14px; line-height: 1.45; margin-top: 7px; color: #74435f; }

/* Evolution: ten original sprites in the original order */
.evolution-section { position: relative; z-index: 1; padding-bottom: 35px; }
.evolution-frame { position: relative; padding: 25px 29px 18px; border: 5px solid #f4c9ba; border-radius: 15px; background: radial-gradient(ellipse at center, #fffdf7, #fff4ee 73%, #ffe2df); box-shadow: inset 0 0 0 3px #fffdf3, inset 0 0 0 7px #ffe2d650, 0 5px 12px #a35d7c16; }
.evolution-frame::before, .evolution-frame::after { content: ""; position: absolute; top: -11px; bottom: -11px; width: 13px; border: 1px solid #d69a864d; border-radius: 9px; background: linear-gradient(90deg, #eeb5a0, #ffe0c9 45%, #e9b7a3); box-shadow: 0 2px 3px #9c6a6b10; }
.evolution-frame::before { left: -10px; }
.evolution-frame::after { right: -10px; }
.evolution-heading { margin-bottom: 13px; }
.evolution-heading h2 { font-size: clamp(22px, 1.85vw, 28px); }
.evolution-heading h2 .icon { color: #dc6c76; }
.evolution-heading p { font-size: 15px; color: #a14464; margin-top: 5px; }
.evolution-list { list-style: none; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 10px; }
.evolution-step { position: relative; display: flex; flex-direction: column; align-items: center; }
.evolution-step > img { width: 100%; aspect-ratio: 1; object-fit: contain; position: relative; z-index: 1; }
.step-number { align-self: flex-start; color: #94546e; font-size: 10px; font-weight: 800; padding-left: 6px; }
.step-label { display: block; font-size: 12px; font-weight: 800; margin-top: 2px; }
.evolution-arrow { position: absolute; top: 46%; right: -14px; color: #e882a0; width: 19px; height: 19px; }
.evolution-step-king::before { content: ""; position: absolute; top: 9px; width: 100%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #ffe39b88, #ffead633 59%, transparent 70%); }
.evolution-note { display: flex; justify-content: center; align-items: center; gap: 8px; color: #a24c6c; font-size: 12px; font-weight: 700; margin-top: 15px; }
.evolution-note .icon { width: 12px; height: 12px; color: #dc5c8a; }

/* Gameplay showcase */
.gameplay-section { position: relative; isolation: isolate; padding: 22px 0 51px; overflow: hidden; }
.gameplay-scenery { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(180deg, #fff0f4 0%, #fff0f4ba 13%, #fff4f399 58%, #fff0f4cc 93%, #fff0f4 100%), url('../images/onsen-hero-1672.webp'); background-size: cover; background-position: center 62%; }
.gameplay-section .section-heading h2 { text-shadow: 0 2px 4px #fff; }
.gameplay-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gameplay-card { min-width: 0; text-align: center; }
.gameplay-image { display: block; position: relative; padding: 7px; border: 3px solid #fff; border-radius: 31px; background: #fff8f8ce; box-shadow: 0 7px 0 #f3c2d238, 0 10px 25px #84568425; }
.gameplay-image img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 21px; }
.gameplay-card figcaption { position: relative; margin-top: -25px; }
.gameplay-label { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 55px; padding: 12px 22px; border-radius: 999px; border: 2px solid #fff; background: linear-gradient(#fffafa, #ffe7ed); box-shadow: 0 4px 9px #a3487030; font-weight: 900; font-size: 18px; color: #a92c59; line-height: 1.2; }
.gameplay-label .icon { color: #e66893; }
.gameplay-description { display: block; font-weight: 700; margin-top: 14px; font-size: 14px; text-shadow: 0 1px 2px #fff, 0 0 7px #fff; }

/* Character roster */
.friends-section { position: relative; padding: 28px 0 34px; background: radial-gradient(ellipse at center, #fffaf8, #ffedf2); border-top: 3px solid #fffaf9; border-radius: 48% 48% 0 0 / 28px 28px 0 0; margin-top: -10px; }
.friends-section .section-heading { margin-bottom: 26px; }
.friend-roster { list-style: none; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 13px; text-align: center; }
.friend-portrait { aspect-ratio: 1; position: relative; border: 3px solid #fff; border-radius: 50%; background: linear-gradient(160deg, #fffdfa, #ffdce8); box-shadow: 0 2px 9px #e694b324; }
.friend-portrait img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.friend-panda .friend-portrait, .friend-koala .friend-portrait { background: linear-gradient(140deg, #fff, #e3e4f0); }
.friend-cat .friend-portrait { background: linear-gradient(140deg, #fff, #ddf1ff); }
.friend-sheep .friend-portrait { background: linear-gradient(140deg, #fff, #d3f3e8); }
.friend-chick .friend-portrait, .friend-dog .friend-portrait { background: linear-gradient(140deg, #fff, #fff1d7); }
.friend-bear .friend-portrait { background: linear-gradient(140deg, #fff, #eadbff); }
.friend-king .friend-portrait { background: linear-gradient(140deg, #fff, #ffdece); }
.friend-rabbit .friend-portrait img { padding-top: 0; }
.friend-name { display: block; margin-top: 11px; font-weight: 800; font-size: 12px; white-space: nowrap; }

/* Final illustrated CTA */
.closing-section { padding-top: 13px; padding-bottom: 30px; }
.cta-banner { position: relative; isolation: isolate; border: 5px solid #fff; border-radius: 34px; min-height: 270px; padding: 34px 44px 32px; overflow: hidden; background: #d2edf8; box-shadow: 0 5px 0 #f9c8d54d, 0 10px 22px #ce8ea128; }
.cta-art { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 63%; transform: scaleX(-1); }
.cta-scrim { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, #fff0 14%, #fff9f8a8 44%, #fff8f9ec 63%, #fff5fbc9 85%, #fff0 100%); }
.cta-copy { width: 67%; margin-left: auto; text-align: center; }
.eyebrow { font-size: 11px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; color: #984669; }
.cta-copy h2 { font-size: clamp(25px, 2.4vw, 35px); margin-top: 6px; letter-spacing: -.8px; text-shadow: 0 2px 2px white; }
.cta-copy > p:not(.eyebrow) { margin-top: 9px; font-size: 16px; font-weight: 700; text-shadow: 0 1px 5px white; }
.cta-copy .button { margin-top: 21px; }

/* Footer: real links only, no invented news/social destinations */
.site-footer { background: linear-gradient(#fff6f8, #fff0f4); padding: 14px 0 24px; }
.footer-main { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 22px; }
.footer-logo { width: 164px; flex: 0 0 164px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px 20px; padding: 0 10px; }
.footer-nav a { padding: 8px 0; font-size: 12px; font-weight: 800; }
.footer-nav a:hover { color: #ab275a; text-decoration: underline; text-underline-offset: 4px; }
.support-link { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.support-link > .icon { color: #b54472; width: 26px; height: 26px; }
.support-link span { font-size: 12px; }
.support-link strong { display: block; font-size: 14px; }
.support-link:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { border-top: 1px solid #efd5df; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; color: #85586f; font-size: 11px; font-weight: 600; }
.footer-bottom p:last-child { display: flex; align-items: center; gap: 7px; }
.footer-bottom .icon { width: 12px; height: 12px; color: #af446c; }

/* Mid-sized desktops and tablets */
@media (min-width: 1680px) {
 .hero-inner { max-width: 1380px; }
 .hero-copy { max-width: 610px; }
}
@media (max-width: 1150px) {
 .site-header { width: calc(100% - 52px); gap: 13px; padding-left: 16px; }
 .header-logo { width: 132px; flex-basis: 132px; }
 .desktop-nav { gap: 0; }
 .desktop-nav a { padding: 10px 10px; font-size: 13px; }
 .header-play { padding: 12px 16px; font-size: 14px; }
 .hero { height: 690px; min-height: 0; }
 .hero-copy { width: 50%; }
 .hero-actions { gap: 10px; }
 .hero-actions .button { font-size: 16px; padding: 13px 18px; }
 .hero-description { font-size: 18px; }
 .feature-grid { gap: 13px; }
 .feature-card { padding: 10px 10px 18px; border-radius: 24px; }
 .feature-art { height: 143px; }
 .feature-copy { gap: 7px; padding-inline: 1px; }
 .feature-copy > .icon { width: 22px; height: 22px; }
 .feature-copy h3 { font-size: 16px; }
 .feature-copy p { font-size: 13px; }
 .evolution-frame { padding-inline: 23px; }
 .evolution-list { gap: 8px; }
 .step-label { font-size: 11px; }
 .evolution-arrow { width: 15px; right: -13px; }
 .gameplay-grid { gap: 19px; }
 .gameplay-label { font-size: 15px; padding-inline: 17px; }
 .gameplay-label .icon { width: 21px; height: 21px; }
 .gameplay-description { font-size: 12px; }
 .friend-roster { gap: 10px; }
 .friend-name { font-size: 10px; }
 .footer-main { gap: 18px; }
 .footer-logo { width: 140px; flex-basis: 140px; }
 .footer-nav { gap: 6px 14px; }
}
@media (max-width: 900px) {
 .container { width: calc(100% - 44px); }
 .desktop-nav { display: none; }
 .site-header { min-height: 68px; top: 16px; border-radius: 23px; }
 .header-play { margin-left: auto; }
 .mobile-menu { display: block; }
 .mobile-menu summary { display: flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; padding: 11px 13px; border-radius: 999px; font-weight: 800; font-size: 13px; background: #ffe6ef; list-style: none; }
 .mobile-menu summary::-webkit-details-marker { display: none; }
 .mobile-menu summary .icon { width: 20px; height: 20px; }
 .mobile-menu[open] summary { background: #f7c4d7; }
 .mobile-menu nav { position: absolute; top: calc(100% + 10px); right: 0; width: min(310px, calc(100vw - 44px)); display: flex; flex-direction: column; padding: 13px; border: 2px solid white; border-radius: 23px; background: #fff8fb; box-shadow: 0 12px 32px #74375835; }
 .mobile-menu nav > a:not(.button) { padding: 12px 16px; border-radius: 12px; font-size: 15px; font-weight: 800; }
 .mobile-menu nav > a:not(.button):hover { background: #ffe1ec; }
 .mobile-play { margin-top: 7px; font-size: 16px; }
 .hero { height: 650px; }
 .hero-inner { padding-top: 70px; }
 .hero-copy { width: 50%; }
 .hero-tagline { font-size: 25px; }
 .hero-description { font-size: 17px; }
 .hero-actions .button { font-size: 14px; padding: 12px 15px; min-height: 50px; gap: 8px; }
 .hero-actions .button .icon { width: 21px; height: 22px; }
 .hero-whisper { font-size: 11px; }
 .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px; max-width: 720px; }
 .feature-art { height: 186px; }
 .feature-copy { padding: 15px 5px 0; gap: 10px; }
 .feature-copy h3 { font-size: 19px; }
 .feature-copy p { font-size: 15px; }
 .feature-card { border-radius: 28px; }
 .feature-copy > .icon { width: 25px; height: 25px; }
 .feature-art-merge { padding-bottom: 7px; }
 .feature-art-merge img { max-height: 90%; }
 .feature-art-merge img:last-child { max-height: 98%; }
 .evolution-frame { padding: 24px 23px 19px; }
 .evolution-list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 15px 18px; max-width: 670px; margin-inline: auto; }
 .evolution-step img { width: min(105px, 100%); }
 .evolution-step:nth-child(5) .evolution-arrow { display: none; }
 .step-number { padding-left: 16%; }
 .step-label { font-size: 12px; }
 .evolution-arrow { width: 19px; right: -17px; }
 .gameplay-grid { gap: 15px; }
 .gameplay-image { padding: 4px; border-radius: 22px; }
 .gameplay-image img { border-radius: 15px; }
 .gameplay-card figcaption { margin-top: -18px; }
 .gameplay-label { font-size: 13px; gap: 7px; padding: 10px 10px; min-height: 48px; }
 .gameplay-label .icon { width: 18px; height: 18px; }
 .gameplay-description { font-size: 12px; }
 .friend-roster { grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 640px; margin-inline: auto; gap: 22px 22px; }
 .friend-name { font-size: 12px; }
 .cta-banner { min-height: 268px; padding: 30px 18px; }
 .cta-copy { width: 70%; }
 .cta-copy h2 { font-size: 27px; }
 .cta-copy > p:not(.eyebrow) { font-size: 15px; }
 .footer-main { flex-wrap: wrap; }
 .footer-nav { order: 3; width: 100%; justify-content: center; }
 .footer-logo { flex-basis: 140px; }
 .footer-bottom { font-size: 10px; }
}

/* Phones: copy above the illustration, not over a cropped fox's face */
@media (max-width: 700px) {
 html { scroll-padding-top: 16px; }
 .container { width: calc(100% - 36px); }
 .site-header { top: 12px; width: calc(100% - 28px); min-height: 62px; padding: 7px 10px 7px 15px; gap: 10px; border-radius: 22px; }
 .header-logo { width: 114px; flex-basis: 114px; }
 .header-play { display: none; }
 .mobile-menu summary { font-size: 13px; padding: 10px 12px; }
 .mobile-menu nav { width: min(310px, calc(100vw - 28px)); }
 .hero { height: 810px; background: #fff0f4; }
 .hero-picture { top: 350px; bottom: 0; }
 .hero-picture img { object-fit: cover; object-position: 52% 65%; }
 .hero-scrim { background: linear-gradient(180deg, #fff0f4 0%, #fff0f4 39%, #fff0f4bf 46%, #fff0 57%); }
 .hero-inner { align-items: flex-start; justify-content: center; padding-top: 107px; padding-bottom: 0; }
 .hero-copy { width: 100%; max-width: 450px; }
 .hero-logo { width: min(310px, 86%); }
 .hero-tagline { margin-top: 10px; font-size: 25px; letter-spacing: -.8px; }
 .hero-description { font-size: 17px; line-height: 1.4; margin-top: 9px; }
 .hero-actions { gap: 10px; margin-top: 20px; flex-wrap: nowrap; }
 .hero-actions .button { font-size: 15px; min-height: 51px; padding: 11px 16px; gap: 8px; }
 .hero-actions .button .icon { width: 21px; height: 23px; }
 .hero-whisper { font-size: 11px; margin-top: 13px; }
 .hero-wave { height: 43px; }
 .features-section { padding-bottom: 29px; }
 .feature-grid { margin-top: -15px; gap: 13px; }
 .feature-card { padding: 8px 8px 15px; border-radius: 23px; }
 .feature-art { height: clamp(130px, 30vw, 175px); border-radius: 16px; }
 .feature-art-merge { padding-bottom: 8px; padding-inline: 0; }
 .feature-art-merge img { max-height: 98%; }
 .feature-art-merge .icon { width: 9px; margin: 0 -4px 25px; }
 .feature-copy { display: block; padding: 12px 4px 0; }
 .feature-copy > .icon { display: none; }
 .feature-copy h3 { font-size: 16px; line-height: 1.27; }
 .feature-copy p { font-size: 13px; margin-top: 6px; line-height: 1.45; }
 .sakura-left { left: -67px; top: 225px; width: 155px; opacity: .85; }
 .sakura-right { right: -67px; width: 155px; top: 0; opacity: .8; }
 .section-heading { margin-bottom: 23px; }
 .section-heading h2 { font-size: 25px; letter-spacing: -.7px; gap: 10px; }
 .section-heading h2 .icon { width: 21px; height: 21px; }
 .section-heading p { font-size: 15px; }
 .evolution-section { width: calc(100% - 46px); padding-bottom: 28px; }
 .evolution-frame { padding: 22px 15px 18px; border-width: 4px; }
 .evolution-frame::before, .evolution-frame::after { width: 10px; }
 .evolution-frame::before { left: -8px; }
 .evolution-frame::after { right: -8px; }
 .evolution-heading h2 { font-size: 23px; gap: 6px; }
 .evolution-heading h2 .icon { width: 19px; height: 19px; }
 .evolution-heading p { font-size: 13px; }
 .evolution-heading { margin-bottom: 21px; }
 .evolution-list { gap: 15px 10px; }
 .step-number { align-self: center; padding-left: 0; font-size: 9px; }
 .step-label { font-size: 10px; white-space: nowrap; }
 .evolution-arrow { width: 12px; right: -11px; }
 .evolution-note { font-size: 11px; margin-top: 20px; }
 .gameplay-section { padding-top: 12px; padding-bottom: 39px; }
 .gameplay-scenery { background-size: auto 100%; background-position: 65% center; background-image: linear-gradient(180deg, #fff0f4 0%, #fff0f4a6 13%, #fff4f3ad 86%, #fff0f4 100%), url('../images/onsen-hero-800.webp'); }
 .gameplay-grid { grid-template-columns: 1fr; gap: 27px; width: min(400px, 100%); margin-inline: auto; }
 .gameplay-image { padding: 7px; border-radius: 31px; }
 .gameplay-image img { border-radius: 22px; }
 .gameplay-card figcaption { margin-top: -24px; }
 .gameplay-label { min-height: 51px; padding: 12px 25px; font-size: 17px; gap: 10px; }
 .gameplay-label .icon { width: 24px; height: 24px; }
 .gameplay-description { font-size: 13px; margin-top: 12px; }
 .friends-section { padding: 25px 0 28px; }
 .friends-section .section-heading { margin-bottom: 22px; }
 .friends-section .section-heading h2 { font-size: 23px; gap: 7px; }
 .friends-section .section-heading h2 .icon { width: 19px; height: 19px; }
 .friend-roster { gap: 19px 9px; }
 .friend-portrait { border-width: 2px; }
 .friend-portrait img { padding: 2px; }
 .friend-name { font-size: 10px; margin-top: 7px; }
 .closing-section { padding-top: 8px; padding-bottom: 18px; }
 .cta-banner { min-height: 468px; border-width: 4px; border-radius: 28px; padding: 28px 16px 230px; }
 .cta-art { height: 100%; width: 100%; object-fit: cover; object-position: 69% center; transform: none; }
 .cta-scrim { background: linear-gradient(180deg, #fff7f9fa 0%, #fff7f9f5 25%, #fff7f9c4 43%, #fff7f90d 66%, #fff0 100%); }
 .cta-copy { width: 100%; }
 .eyebrow { font-size: 9px; letter-spacing: 1.7px; }
 .cta-copy h2 { font-size: 27px; line-height: 1.15; margin-top: 8px; }
 .cta-copy > p:not(.eyebrow) { font-size: 14px; line-height: 1.4; margin-top: 10px; }
 .cta-copy .button { min-height: 52px; font-size: 17px; padding: 11px 23px; margin-top: 19px; }
 .site-footer { padding-top: 19px; }
 .footer-main { gap: 20px; padding-bottom: 19px; }
 .footer-logo { width: 125px; flex-basis: 125px; }
 .support-link { gap: 8px; }
 .support-link span { font-size: 10px; }
 .support-link strong { font-size: 12px; }
 .support-link > .icon { width: 23px; height: 23px; }
 .footer-nav { gap: 2px 18px; padding: 0; }
 .footer-nav a { font-size: 11px; min-height: 38px; display: flex; align-items: center; }
 .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 7px; padding-top: 16px; font-size: 10px; }
}
@media (max-width: 360px) {
 .container { width: calc(100% - 28px); }
 .hero { height: 850px; }
 .hero-logo { width: 255px; }
 .hero-tagline { font-size: 22px; }
 .hero-description { font-size: 16px; }
 .hero-picture { top: 390px; }
 .hero-actions { gap: 9px; }
 .hero-actions .button { font-size: 13px; padding-inline: 12px; gap: 5px; border-width: 2px; }
 .hero-actions .button .icon { width: 18px; height: 20px; }
 .feature-grid { gap: 10px; }
 .feature-art { height: 115px; }
 .feature-copy h3 { font-size: 15px; }
 .feature-copy p { font-size: 12px; }
 .evolution-frame { padding-inline: 9px; }
 .evolution-section { width: calc(100% - 40px); }
 .evolution-heading h2 { font-size: 21px; }
 .evolution-heading h2 .icon { display: none; }
 .evolution-list { gap: 14px 9px; }
 .step-label { font-size: 9px; }
 .evolution-note { font-size: 10px; }
 .friends-section .section-heading h2 { font-size: 21px; }
 .friends-section .section-heading h2 .icon { display: none; }
 .friend-name { font-size: 8px; }
 .friend-roster { gap: 18px 7px; }
 .cta-copy h2 { font-size: 25px; }
}

/* Printing stays readable without relying on decorative backgrounds. */
@media print {
 .site-header, .hero-picture, .hero-scrim, .hero-wave, .sakura, .gameplay-scenery, .cta-art, .cta-scrim { display: none !important; }
 body, .pink-world, .hero, .cta-banner, .site-footer { background: white; }
 .hero { height: auto; padding: 25px 0; }
 .hero-inner { padding: 0; }
 .hero-copy { width: 100%; margin-inline: auto; }
 .hero-logo { width: 280px; }
 .feature-grid { margin-top: 0; }
 .features-section { padding-top: 20px; }
 .feature-card, .evolution-frame, .gameplay-card, .cta-banner { break-inside: avoid; box-shadow: none; }
 .cta-banner { min-height: 0; padding: 25px; }
 .cta-copy { width: 100%; }
}


/* Content polish only. The approved layout above is kept unchanged. */
.google-play-icon { object-fit: contain; }
.button-primary .google-play-icon { filter: none; }
.language-mobile { display: none; }
html:lang(th) { --font: "Noto Sans Thai", "Tahoma", system-ui, sans-serif; }
html:lang(ja) { --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif; }
.feature-art-pet img { object-position: center; }
.feature-art-garden img { object-position: center; }
.feature-copy > div { min-width: 0; }
.step-label, .friend-name { white-space: normal; text-align: center; line-height: 1.3; }
.gameplay-modes .gameplay-image, .gameplay-modes .gameplay-image img { background-color: #ffd1e3; }
.gameplay-description { text-wrap: pretty; }
@media (max-width: 1150px) and (min-width: 901px) {
 .site-header { gap: 10px; }
 .desktop-nav a { padding-inline: 8px; }
}
@media (max-width: 900px) {
 .language-desktop { display: none; }
 .language-mobile { display: flex; justify-content: flex-end; padding: 2px 4px 9px; }
}
@media (max-width: 700px) {
 html:lang(ja) .hero-tagline { font-size: 23px; }
 html:lang(th) .hero-tagline { font-size: 23px; }
 html:lang(ja) .hero-actions .button { font-size: 13px; padding-inline: 12px; }
}
@media (max-width: 360px) {
 html:lang(th) .hero-tagline, html:lang(ja) .hero-tagline { font-size: 20px; }
 html:lang(th) .hero-actions .button { font-size: 12px; padding-inline: 9px; }
 html:lang(ja) .hero-actions .button { font-size: 12px; padding-inline: 9px; }
}

/* v6: native language menu; visible and functional even when scripts are blocked. */
.language-control { position: relative; display: block; flex: 0 0 auto; }
.language-control > .language-summary {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  width: 76px; min-height: 42px; padding: 8px 10px;
  border: 1px solid #f0d3df; border-radius: 999px;
  background: #fff6fa; color: #753653; font: 800 12px var(--font);
  cursor: pointer; list-style: none; margin: 0;
}
.language-control > .language-summary::-webkit-details-marker { display: none; }
.language-control > .language-summary::after {
  content: ""; width: 6px; height: 6px; margin-right: 2px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); flex: 0 0 auto;
}
.language-control[open] > .language-summary::after { transform: rotate(225deg); }
.language-options {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 30;
  width: 146px; display: grid; gap: 3px; padding: 6px;
  background: #fff8fb; border: 2px solid #fff; border-radius: 16px;
  box-shadow: 0 7px 22px #74375835;
}
.language-options a {
  display: flex; align-items: center; min-height: 44px;
  padding: 9px 13px; border-radius: 10px; color: #753653;
  font-size: 13px; font-weight: 800; line-height: 1.4;
}
.language-options a[aria-current="page"], .language-options a:hover { background: #ffdfeb; color: #a82455; }
.language-options a:focus-visible { outline-offset: 1px; }
.language-mobile { display: none; }
.gameplay-image { cursor: default; }
.cta-banner { z-index: 0; }
@media (max-width: 900px) {
  .language-desktop { display: none; }
  .language-mobile { display: block; padding: 2px 4px 9px; }
  .mobile-menu .language-control > .language-summary { margin-left: auto; background: #fff6fa; }
  .language-mobile .language-options { right: 4px; top: calc(100% - 3px); }
}
