:root {
  --cream: #fff7ef; --cream-deep: #f8ebdf; --paper: #fffdf9;
  --ink: #4c4352; --ink-soft: #796f7e; --red: #d85e6c;
  --red-deep: #a83f50; --blue: #5a9fdc; --blue-deep: #3577b1;
  --gold: #e9b15f; --green: #52745d; --line: rgba(91, 69, 82, .13);
  --shadow: 0 24px 70px rgba(97, 64, 74, .14);
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: var(--sans); line-height: 1.75; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 20; opacity: .18; background-image: radial-gradient(#926f5920 .7px, transparent .7px); background-size: 6px 6px; mix-blend-mode: multiply; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.2; }
em { color: var(--red); font-style: normal; }
.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; z-index: 100; left: 16px; top: -80px; padding: 10px 18px; border-radius: 999px; color: white; background: var(--red-deep); transition: top .2s; }
.skip-link:focus { top: 16px; }

.site-header { position: fixed; z-index: 30; inset: 0 0 auto; height: 78px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(24px, 5vw, 78px); color: #514553; transition: background .35s, box-shadow .35s, height .35s; }
.site-header.is-scrolled { height: 68px; background: rgba(255, 250, 245, .91); box-shadow: 0 8px 34px rgba(89, 57, 69, .1); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 11px; min-width: 190px; }
.music-toggle { position: relative; flex: 0 0 auto; width: 40px; height: 40px; padding: 2px; border: 0; border-radius: 50%; color: inherit; background: transparent; cursor: pointer; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50% 52% 48% 54%; color: white; background: linear-gradient(135deg, var(--red), var(--blue)); box-shadow: 0 7px 20px rgba(129, 76, 103, .24); transform: rotate(-8deg); }
.music-toggle:hover .brand-mark, .music-toggle:focus-visible .brand-mark { box-shadow: 0 8px 24px rgba(129, 76, 103, .38); }
.music-toggle:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.music-toggle.is-playing .brand-mark { animation: music-spin 4.8s linear infinite; }
.music-tooltip { position: absolute; left: 50%; top: calc(100% + 10px); width: max-content; padding: 5px 9px; border-radius: 999px; color: white; background: rgba(66,54,65,.9); font-size: 10px; font-weight: 700; letter-spacing: .04em; opacity: 0; pointer-events: none; transform: translate(-50%, -5px); transition: opacity .2s, transform .2s; }
.music-toggle:hover .music-tooltip, .music-toggle:focus-visible .music-tooltip { opacity: 1; transform: translate(-50%, 0); }
.brand-copy { display: block; }
.brand b, .brand small { display: block; }
.brand b { font-family: var(--serif); font-size: 18px; letter-spacing: .1em; }
.brand small { color: var(--ink-soft); font: 9px/1.2 Georgia, serif; letter-spacing: .15em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 46px); }
.site-nav a { position: relative; padding: 8px 0; font-size: 14px; font-weight: 700; letter-spacing: .12em; }
.site-nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 2px; height: 2px; border-radius: 10px; background: linear-gradient(90deg, var(--red), var(--blue)); transition: left .25s, right .25s; }
.site-nav a:hover::after, .site-nav a.is-active::after { left: 0; right: 0; }
.site-nav .language-link { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid rgba(82,69,82,.18); border-radius: 999px; letter-spacing: .04em; background: rgba(255,255,255,.55); }
.site-nav .language-link span { display: grid; place-items: center; min-width: 23px; height: 23px; padding: 0 5px; border-radius: 999px; color: white; font-size: 9px; letter-spacing: .04em; background: linear-gradient(135deg,var(--red),var(--blue)); }
.site-nav .language-link::after { display: none; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.7); cursor: pointer; }
.nav-toggle > span:not(.sr-only) { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--ink); transition: transform .25s, opacity .25s; }

.hero { position: relative; min-height: min(920px, 100svh); overflow: hidden; background: #f5dfce; }
.hero-image, .hero-wash { position: absolute; inset: 0; }
.hero-image { background: url("generated/hero-key-visual-v1.png") center center / cover no-repeat; transform: scale(1.015); animation: hero-breathe 18s ease-in-out infinite alternate; }
.hero-wash { background: linear-gradient(90deg, rgba(255,247,239,.98) 0%, rgba(255,247,239,.90) 27%, rgba(255,247,239,.28) 50%, transparent 72%), linear-gradient(0deg, rgba(255,247,239,.64), transparent 26%); }
.hero-content { position: relative; z-index: 3; width: min(650px, 86vw); padding-top: clamp(165px, 22vh, 240px); margin-left: clamp(26px, 8vw, 150px); }
.eyebrow, .section-kicker { color: var(--red-deep); font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 34px; height: 1px; background: var(--red); }
.hero h1 { margin: 12px 0 0; font-family: var(--serif); font-size: clamp(68px, 8.2vw, 130px); font-weight: 600; letter-spacing: .08em; line-height: .98; text-shadow: 0 3px 0 #fff7; }
.hero-en { margin: 18px 0 32px; color: var(--red-deep); font: italic clamp(16px, 1.5vw, 22px)/1.2 Georgia, serif; letter-spacing: .12em; }
.hero-lead { margin-bottom: 32px; font-family: var(--serif); font-size: clamp(17px, 1.5vw, 22px); line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 58px; padding: 0 30px; border: 1px solid transparent; border-radius: 999px; font-size: 18px; font-weight: 800; letter-spacing: .06em; transition: transform .25s, box-shadow .25s, background .25s; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: white; background: linear-gradient(135deg, var(--red), var(--red-deep)); box-shadow: 0 13px 30px rgba(180, 67, 84, .28); }
.button-primary:hover { box-shadow: 0 17px 36px rgba(180, 67, 84, .38); }
.button-quiet { color: var(--ink); border-color: rgba(95, 69, 81, .22); background: rgba(255,255,255,.5); backdrop-filter: blur(10px); }
.steam-support { display: flex; align-items: center; gap: 18px; width: min(640px, 100%); padding: 14px 16px 14px 20px; margin-top: 18px; border: 1px solid rgba(72,64,73,.14); border-radius: 22px; background: rgba(255,253,249,.76); box-shadow: 0 13px 34px rgba(83,58,67,.11); backdrop-filter: blur(16px); }
.steam-support-copy { flex: 1; min-width: 0; }
.steam-support-copy strong { display: block; margin-bottom: 2px; color: var(--red-deep); font-family: var(--serif); font-size: 15px; letter-spacing: .05em; }
.steam-support-copy p { margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.55; }
.button-steam { flex: 0 0 auto; min-height: 52px; padding: 0 22px; color: white; background: linear-gradient(135deg, #30343c, #171a20); box-shadow: 0 10px 24px rgba(23,26,32,.22); font-size: 16px; }
.button-steam:hover { box-shadow: 0 14px 30px rgba(23,26,32,.32); }
.hero-tags { display: flex; gap: 10px; padding: 0; margin: 32px 0 0; list-style: none; }
.hero-tags li { padding: 5px 12px; border: 1px solid rgba(114, 82, 92, .15); border-radius: 999px; color: var(--ink-soft); background: rgba(255,255,255,.38); font-size: 11px; }
.scroll-cue { display: none; }
.scroll-cue i { display: block; width: 1px; height: 38px; background: linear-gradient(var(--red), transparent); animation: cue 1.8s ease-in-out infinite; }
.petal { position: absolute; z-index: 2; top: -8%; width: 10px; height: 16px; border-radius: 80% 20% 70% 30%; background: var(--red); opacity: .5; animation: petal-fall linear infinite; }

html[lang="en"] { --serif: Georgia, "Times New Roman", serif; --sans: Inter, "Segoe UI", Arial, sans-serif; }
html[lang="en"] .brand { min-width: 250px; }
html[lang="en"] .brand b { font-size: 16px; letter-spacing: .035em; }
html[lang="en"] .hero-content { width: min(760px, 88vw); }
html[lang="en"] .hero h1 { max-width: 760px; font-size: clamp(52px, 5.8vw, 92px); letter-spacing: -.025em; line-height: 1.02; }
html[lang="en"] .hero-en { font-style: normal; letter-spacing: .18em; }
html[lang="en"] .button { font-size: 16px; letter-spacing: .025em; }
html[lang="en"] .steam-support { width: min(720px, 100%); }
html[lang="en"] .steam-support-copy strong { font-family: var(--sans); }

.section { position: relative; padding: clamp(96px, 11vw, 160px) 0; }
.section-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.section-kicker { margin-bottom: 15px; }
.section-kicker.light { color: #ffe3b1; }
.section-heading { max-width: 700px; margin-bottom: 58px; }
.section-heading.centered { margin-right: auto; margin-left: auto; text-align: center; }
.section-heading h2, .section-copy h2, .world-content h2, .promise-copy h2, .final-content h2 { margin-bottom: 24px; font-family: var(--serif); font-size: clamp(40px, 5.3vw, 72px); font-weight: 500; letter-spacing: .02em; }
.section-heading > p:last-child, .world-content > p, .promise-copy > p, .final-content > p { color: var(--ink-soft); font-size: 16px; }

.story-section { background: radial-gradient(circle at 18% 28%, #fff 0, transparent 30%), linear-gradient(135deg, #fffaf4, #f8eee7); }
.story-section::after { content: ""; position: absolute; inset: 32px; border: 1px solid var(--line); border-radius: 44px; pointer-events: none; }
.story-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(60px, 10vw, 130px); align-items: center; }
.section-copy { max-width: 690px; }
.section-copy > p { color: var(--ink-soft); }
.section-copy .lead-copy { color: var(--ink); font-size: 19px; }
blockquote { position: relative; margin: 34px 0 0; padding: 24px 30px; border-left: 3px solid var(--red); border-radius: 0 18px 18px 0; color: var(--red-deep); background: rgba(216,94,108,.07); font-family: var(--serif); font-size: 18px; line-height: 1.8; }
.story-note { position: relative; text-align: center; }
.record { position: relative; width: min(330px, 68vw); aspect-ratio: 1; margin: auto; border: 12px solid #453843; border-radius: 50%; background: repeating-radial-gradient(circle, #382f39 0 2px, #4c404a 3px 5px); box-shadow: var(--shadow), inset 0 0 0 1px #fff2; animation: record-spin 22s linear infinite; }
.record::after { content: ""; position: absolute; inset: 46%; border: 5px solid #2e2730; border-radius: 50%; background: var(--cream); }
.record-label { position: absolute; inset: 31%; display: grid; place-items: center; align-content: center; border-radius: 50%; color: white; background: linear-gradient(135deg, var(--red), var(--blue)); }
.record-label span { font-family: var(--serif); font-size: 18px; letter-spacing: .1em; }
.record-label small { font-size: 8px; letter-spacing: .16em; text-transform: uppercase; }
.story-note > p { margin-top: 28px; color: var(--ink-soft); font-family: var(--serif); }
.note { position: absolute; z-index: 2; color: var(--gold); font-family: Georgia, serif; }
.note-one { left: 0; top: 15%; font-size: 42px; transform: rotate(-12deg); }
.note-two { right: 3%; bottom: 16%; font-size: 70px; }

.characters-section { background: var(--cream); }
.characters-section::before { content: ""; position: absolute; left: -12vw; top: 18%; width: 35vw; aspect-ratio: 1; border-radius: 50%; background: rgba(216,94,108,.07); filter: blur(3px); }
.character-pair { position: relative; display: grid; grid-template-columns: 1fr 90px 1fr; gap: 24px; align-items: center; }
.character-card { overflow: hidden; border: 1px solid var(--line); border-radius: 34px; background: rgba(255,255,255,.7); box-shadow: var(--shadow); }
.character-art { position: relative; height: 500px; overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.45)); }
.rose-card .character-art { background-color: #fae6e8; }
.lilia-card .character-art { background-color: #e5f1fa; }
.character-art::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, rgba(255,255,255,.85)); }
.character-art img { width: 100%; height: 100%; object-fit: contain; object-position: center 12%; mix-blend-mode: multiply; transition: transform .5s ease; }
.character-card:hover .character-art img { transform: scale(1.035) translateY(-5px); }
.character-number { display: none; }
.character-info { position: relative; padding: 28px 34px 34px; }
.character-role { margin-bottom: 7px; color: var(--red); font: 700 10px/1.2 Georgia, serif; letter-spacing: .2em; }
.lilia-card .character-role { color: var(--blue-deep); }
.character-info h3 { margin-bottom: 14px; font: 500 42px/1.1 Georgia, var(--serif); }
.character-info h3 small { margin-left: 8px; color: var(--ink-soft); font: 500 15px/1 var(--sans); }
.character-info > p:not(.character-role) { color: var(--ink-soft); }
.character-info ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 20px 0 0; list-style: none; }
.character-info li { padding: 5px 11px; border-radius: 999px; color: var(--red-deep); background: rgba(216,94,108,.09); font-size: 11px; }
.lilia-card .character-info li { color: var(--blue-deep); background: rgba(90,159,220,.11); }
.link-heart { text-align: center; }
.link-heart span { display: block; color: var(--ink-soft); font: 9px/1.4 Georgia, serif; letter-spacing: .18em; }
.link-heart i { display: grid; place-items: center; width: 56px; height: 56px; margin: 9px auto; border: 1px solid var(--line); border-radius: 50%; color: var(--red); background: white; font-style: normal; box-shadow: 0 10px 30px #76495d1a; }
.link-heart b { display: block; font-family: var(--serif); font-size: 13px; writing-mode: vertical-rl; margin: 15px auto 0; letter-spacing: .2em; }

.world-section { position: relative; min-height: 850px; display: flex; align-items: center; overflow: hidden; color: white; }
.world-backdrop, .world-overlay { position: absolute; inset: 0; }
.world-backdrop { background: url("generated/capybara-town-v1.png") center / cover no-repeat; }
.world-overlay { background: linear-gradient(90deg, rgba(42,40,39,.78), rgba(42,40,39,.30) 55%, rgba(42,40,39,.08)), linear-gradient(0deg, rgba(25,25,24,.55), transparent 58%); }
.world-content { position: relative; z-index: 1; }
.world-content h2 { font-size: clamp(55px, 7vw, 92px); text-shadow: 0 4px 30px #0006; }
.world-content h2 em { color: #ffe3a7; }
.world-content > p { max-width: 600px; color: rgba(255,255,255,.82); font-size: 18px; }
.world-facts { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 880px; margin-top: 58px; border: 1px solid #fff3; border-radius: 26px; background: rgba(42,38,35,.38); backdrop-filter: blur(14px); }
.world-facts article { display: flex; gap: 17px; padding: 24px 26px; }
.world-facts article + article { border-left: 1px solid #fff3; }
.world-facts article > span { color: #ffe3a7; font-size: 30px; line-height: 1.2; }
.world-facts h3 { margin: 0 0 4px; font-family: var(--serif); font-size: 18px; }
.world-facts p { margin: 0; color: #fff9; font-size: 12px; line-height: 1.6; }

.gameplay-section { background: linear-gradient(180deg, #fffaf5, #f8ece4); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card { position: relative; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; min-height: 330px; padding: 64px 32px 40px; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: rgba(255,255,255,.8); text-align: left; transition: transform .35s, box-shadow .35s; }
.feature-card:hover { transform: translateY(-9px); box-shadow: var(--shadow); }
.feature-card::after { content: ""; position: absolute; right: -50px; bottom: -60px; width: 150px; height: 150px; border-radius: 50%; opacity: .11; background: currentColor; }
.feature-red { color: var(--red); }.feature-blue { color: var(--blue); }.feature-gold { color: #c88a30; }.feature-green { color: var(--green); }
.feature-index { position: absolute; right: 20px; top: 18px; font: 700 11px/1 Georgia, serif; letter-spacing: .12em; opacity: .55; }
.feature-icon { display: none; }
.feature-card h3 { display: flex; align-items: flex-start; min-height: 60px; margin-bottom: 14px; color: var(--ink); font-family: var(--serif); font-size: 25px; }
.feature-card p { max-width: 22em; margin-bottom: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.9; }

.gallery-section { background: var(--paper); }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.gallery-item { position: relative; min-height: 360px; padding: 0; overflow: hidden; border: 0; border-radius: 24px; color: white; background: #322d34; cursor: zoom-in; box-shadow: 0 18px 45px rgba(64,44,52,.14); }
.gallery-wide { grid-column: 1 / -1; min-height: 560px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .7s; }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(30,24,29,.82)); }
.gallery-item:hover img { transform: scale(1.035); filter: saturate(1.07); }
.gallery-item > span { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 24px; display: flex; justify-content: space-between; align-items: end; text-align: left; }
.gallery-item b { font-family: var(--serif); font-size: 21px; }
.gallery-item small { color: #fff9; font: 9px/1.3 Georgia, serif; letter-spacing: .16em; text-transform: uppercase; }

.promise-section { position: relative; min-height: 820px; display: flex; align-items: center; justify-content: flex-end; overflow: hidden; }
.promise-image, .promise-overlay { position: absolute; inset: 0; }
.promise-image { background: url("generated/after-school-promise-v1.png") center / cover no-repeat; }
.promise-overlay { background: linear-gradient(90deg, transparent 24%, rgba(89,51,60,.13) 52%, rgba(54,34,42,.76) 100%); }
.promise-copy { position: relative; z-index: 1; width: min(560px, 88vw); margin-right: clamp(26px, 8vw, 150px); color: white; text-shadow: 0 2px 20px #2b192b55; }
.promise-copy h2 { font-size: clamp(48px, 6vw, 80px); }
.promise-copy h2 em { color: #ffd8ae; }
.promise-copy > p { color: #fffbd4; max-width: 500px; }

.final-section { position: relative; padding: 130px 0; overflow: hidden; text-align: center; background: radial-gradient(circle at 50% 100%, rgba(90,159,220,.16), transparent 42%), var(--cream); }
.final-notes { position: absolute; left: 50%; top: 25px; color: rgba(216,94,108,.15); font: clamp(60px, 10vw, 150px)/1 Georgia, serif; white-space: nowrap; transform: translateX(-50%); }
.final-content { position: relative; }
.final-content h2 { margin-bottom: 18px; }
.final-content .button { margin-top: 20px; }

.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; padding: 36px clamp(24px, 5vw, 78px); border-top: 1px solid var(--line); color: var(--ink-soft); background: #f5e9de; font-size: 11px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand > span { color: var(--red); font-size: 24px; }
.footer-brand b, .footer-brand small { display: block; }
.footer-brand b { color: var(--ink); font-family: var(--serif); font-size: 15px; }
.footer-brand small { font: 8px/1 Georgia, serif; letter-spacing: .12em; }
.site-footer > p { margin: 0; }
.footer-note { text-align: right; }

.lightbox { width: min(1500px, 94vw); max-width: none; padding: 0; overflow: visible; border: 0; border-radius: 18px; background: #161218; box-shadow: 0 30px 120px #000a; }
.lightbox::backdrop { background: rgba(28,20,25,.88); backdrop-filter: blur(10px); }
.lightbox img { width: 100%; max-height: 88vh; object-fit: contain; border-radius: 18px; }
.lightbox-close { position: absolute; z-index: 2; right: -14px; top: -14px; width: 42px; height: 42px; border: 0; border-radius: 50%; color: white; background: var(--red); font-size: 28px; line-height: 1; cursor: pointer; box-shadow: 0 8px 25px #0005; }
.community-float { position: fixed; z-index: 45; right: 24px; bottom: 24px; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.community-toggle { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 7px 18px 7px 8px; border: 1px solid rgba(90,159,220,.2); border-radius: 999px; color: white; background: linear-gradient(135deg, var(--blue), var(--blue-deep)); box-shadow: 0 16px 38px rgba(53,119,177,.32); cursor: pointer; transition: transform .25s, box-shadow .25s; }
.community-toggle:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(53,119,177,.42); }
.community-toggle span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--blue-deep); background: white; font: 800 11px/1 var(--sans); }
.community-toggle b { font-size: 13px; letter-spacing: .08em; }
.community-panel { position: relative; width: min(320px, calc(100vw - 32px)); padding: 24px; border: 1px solid rgba(90,159,220,.18); border-radius: 24px; color: var(--ink); background: rgba(255,253,249,.97); box-shadow: 0 22px 64px rgba(63,59,77,.22); backdrop-filter: blur(18px); }
.community-panel[hidden], .music-unlock[hidden] { display: none; }
.community-panel::after { content: ""; position: absolute; right: 34px; bottom: -8px; width: 16px; height: 16px; background: rgba(255,253,249,.97); transform: rotate(45deg); }
.community-panel > strong { display: block; margin: 4px 28px 8px 0; font-family: var(--serif); font-size: 18px; }
.community-panel > p { margin: 0 0 14px; color: var(--ink-soft); font-size: 13px; }
.community-panel > p b { color: var(--blue-deep); letter-spacing: .08em; }
.community-kicker { color: var(--blue-deep); font: 800 9px/1.2 Georgia, serif; letter-spacing: .16em; }
.community-close { position: absolute; right: 12px; top: 12px; width: 30px; height: 30px; border: 0; border-radius: 50%; color: var(--ink-soft); background: rgba(90,159,220,.1); cursor: pointer; }
.community-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.community-actions button, .community-actions a { display: grid; place-items: center; min-height: 40px; border: 0; border-radius: 999px; font-size: 12px; font-weight: 800; cursor: pointer; }
.community-actions button { color: var(--blue-deep); background: rgba(90,159,220,.12); }
.community-actions a { color: white; background: linear-gradient(135deg, var(--blue), var(--blue-deep)); }
.community-panel small { display: block; min-height: 16px; margin-top: 6px; color: var(--green); font-size: 10px; text-align: center; }
.music-unlock { position: fixed; z-index: 44; left: 50%; top: 92px; bottom: auto; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; border: 1px solid rgba(216,94,108,.2); border-radius: 999px; color: var(--red-deep); background: rgba(255,253,249,.94); box-shadow: 0 12px 34px rgba(89,57,69,.2); backdrop-filter: blur(14px); cursor: pointer; font-size: 17px; font-weight: 700; transform: translateX(-50%); }
.music-unlock span { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; color: white; background: linear-gradient(135deg, var(--red), var(--blue)); }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes hero-breathe { to { transform: scale(1.045) translate3d(-.5%, -.3%, 0); } }
@keyframes cue { 0%, 100% { transform: scaleY(.35); transform-origin: top; opacity: .3; } 50% { transform: scaleY(1); opacity: 1; } }
@keyframes petal-fall { to { transform: translate3d(var(--drift), 112vh, 0) rotate(720deg); } }
@keyframes record-spin { to { transform: rotate(360deg); } }
@keyframes music-spin { from { transform: rotate(-8deg); } to { transform: rotate(352deg); } }

.content-linebreak { white-space: pre-line; }
.editor-toolbar { position: fixed; z-index: 1000; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 36px); padding: 9px 16px; border: 1px solid rgba(216,94,108,.26); border-radius: 999px; color: #514553; background: rgba(255,253,249,.96); box-shadow: 0 10px 34px rgba(89,57,69,.18); backdrop-filter: blur(16px); font-size: 12px; }
.editor-toolbar strong { color: var(--red-deep); white-space: nowrap; }
.editor-toolbar span { color: var(--ink-soft); white-space: nowrap; }
.editor-status { min-width: 64px; color: var(--blue-deep) !important; font-weight: 800; text-align: right; }
.text-editable { display: inline; border-radius: 4px; outline: 1px dashed transparent; outline-offset: 3px; cursor: text; transition: background .15s, outline-color .15s; white-space: pre-line; }
.text-editable:hover { background: rgba(255,236,182,.48); outline-color: rgba(216,94,108,.45); }
.text-editable:empty { display: inline-block; min-width: 2em; min-height: 1em; }
.text-editable[contenteditable="true"] { background: #fff9dc; outline: 2px solid var(--red); outline-offset: 4px; box-shadow: 0 4px 18px rgba(122,74,83,.15); }

@media (max-width: 980px) {
  .site-header { height: 68px; padding: 0 22px; background: rgba(255,250,245,.88); backdrop-filter: blur(16px); }
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 68px 14px auto; display: grid; gap: 0; padding: 14px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,251,247,.98); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .25s, visibility .25s; }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav a { padding: 13px 14px; }
  .site-nav .language-link { justify-content: center; margin-top: 4px; }
  .nav-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .hero { min-height: 860px; }.hero-image { background-position: 63% center; }
  .hero-wash { background: linear-gradient(90deg, rgba(255,247,239,.97), rgba(255,247,239,.80) 46%, rgba(255,247,239,.12) 76%), linear-gradient(0deg, rgba(255,247,239,.82), transparent 50%); }
  .story-grid { grid-template-columns: 1fr; }.story-note { max-width: 430px; margin: auto; }
  .character-pair { grid-template-columns: 1fr; }
  .link-heart { display: flex; align-items: center; justify-content: center; gap: 12px; }
  .link-heart span { display: inline; }.link-heart i { margin: 0; }.link-heart b { writing-mode: initial; margin: 0; }
  .world-facts { grid-template-columns: 1fr; max-width: 480px; }
  .world-facts article + article { border-top: 1px solid #fff3; border-left: 0; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .promise-overlay { background: linear-gradient(0deg, rgba(49,31,39,.87), rgba(54,34,42,.05) 70%); }
  .promise-section { align-items: end; justify-content: start; }.promise-copy { margin: 0 26px 70px; }
  .steam-support { align-items: stretch; flex-direction: column; max-width: 460px; }
  .button-steam { align-self: flex-start; }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 68px; }.section { padding: 88px 0; }.section-shell { width: min(100% - 32px, 1180px); }
  .story-section::after { inset: 12px; border-radius: 28px; }
  .hero { min-height: 780px; }.hero-image { background-position: 67% center; }
  .hero-wash { background: linear-gradient(0deg, rgba(255,247,239,.99) 3%, rgba(255,247,239,.86) 50%, rgba(255,247,239,.08) 100%); }
  .hero-content { width: calc(100% - 36px); padding-top: 315px; margin: 0 auto; text-align: center; }
  .eyebrow { justify-content: center; }.hero h1 { font-size: clamp(53px, 17vw, 78px); }.hero-lead { font-size: 15px; }
  .hero-actions, .hero-tags { justify-content: center; }.scroll-cue { display: none; }
  .steam-support { align-items: center; padding: 14px; margin-right: auto; margin-left: auto; text-align: center; }
  .button-steam { align-self: center; width: 100%; }
  .section-heading h2, .section-copy h2, .world-content h2, .promise-copy h2, .final-content h2 { font-size: clamp(38px, 11vw, 56px); }
  .character-art { height: 390px; }.character-info { padding: 25px 24px 30px; }
  .world-section { min-height: 920px; align-items: end; }
  .world-overlay { background: linear-gradient(0deg, rgba(37,35,33,.9), rgba(37,35,33,.08) 78%); }
  .world-content { padding-bottom: 48px; }.world-content > p { font-size: 14px; }.world-facts { margin-top: 30px; }.world-facts article { padding: 16px 18px; }
  .feature-grid, .gallery-grid { grid-template-columns: 1fr; }.feature-card { min-height: 270px; }.feature-icon { margin-bottom: 34px; }
  .gallery-wide { grid-column: auto; }.gallery-item, .gallery-wide { min-height: 250px; }.gallery-item > span { left: 18px; right: 18px; bottom: 16px; }.gallery-item small { display: none; }
  .promise-section { min-height: 720px; }.promise-image { background-position: 38% center; }.promise-copy { margin: 0 20px 48px; }
  .site-footer { grid-template-columns: 1fr; text-align: center; }.footer-brand { justify-content: center; }.footer-note { text-align: center; }
  .editor-toolbar { right: 10px; bottom: 10px; max-width: calc(100vw - 20px); }
  .editor-toolbar span:not(.editor-status) { display: none; }
  .community-float { right: 14px; bottom: 14px; }
  .community-toggle { min-height: 50px; padding-right: 14px; }
  .community-toggle span { width: 36px; height: 36px; }
  .music-unlock { top: 80px; bottom: auto; width: max-content; max-width: calc(100vw - 28px); font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
