:root {
  color-scheme: light;
  /* surfaces */
  --bg: #fffaf2;
  --bg-sky: #e8f3ff;
  --surface: #ffffff;
  --panel-lilac: #efe7ff;
  --panel-peach: #ffe9dc;
  --panel-mint: #e3f5ec;
  --footer: #2b2f45;
  /* ink */
  --ink: #1f2340;
  --ink-muted: #5d6280;
  --ink-invert: #f7f5ff;
  --line: #ebe4f5;
  /* accents */
  --accent: #6b4de6;
  --accent-2: #ff8a5b;
  --cta: #ffc93c;
  --cta-ink: #1f2340;
  /* platform brand fills */
  --yt: #ff0033;
  --ig: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
  --x: #000;
  --tt: #111;
  /* shape */
  --r-sm: 12px; --r-md: 20px; --r-lg: 32px; --r-pill: 999px;
  --shadow-1: 0 4px 14px rgb(31 35 64 / .08);
  --shadow-2: 0 18px 40px rgb(107 77 230 / .16);
  /* layout */
  --gap-section: clamp(64px, 9vw, 120px);
  --content: 1180px;
  --pad-x: clamp(20px, 5vw, 48px);
  /* type: system only */
  --font-display: ui-rounded, "SF Pro Rounded", "Nunito", "Segoe UI Variable Display", "Avenir Next", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans JP", "Noto Sans KR", sans-serif;
  --fs-h1: clamp(36px, 6vw, 64px);
  --fs-h2: clamp(26px, 3.6vw, 40px);
  --fs-body: 17px;
}


* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font: var(--fs-body)/1.55 var(--font-body); color: var(--ink); background: var(--bg); font-synthesis: none; -webkit-text-size-adjust: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.5px; margin: 0; line-height: 1.1; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ko) h1, :lang(ko) h2, :lang(ko) h3 { letter-spacing: 0; line-height: 1.25; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 50; padding: 12px 18px; background: var(--surface); border-radius: var(--r-sm); box-shadow: var(--shadow-1); }
.skip-link:focus { top: 12px; }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 20; background: transparent; transition: background .2s ease, box-shadow .2s ease; }
.topbar.is-scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.topbar-inner { max-width: var(--content); margin: auto; padding: 10px var(--pad-x); display: flex; align-items: center; gap: 12px; min-height: 64px; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; font: 800 20px/1 var(--font-display); letter-spacing: -.4px; margin-right: auto; }
.wordmark img { width: 32px; height: 32px; border-radius: 50%; background: var(--panel-peach); }
.wordmark b { color: var(--accent); }
.site-nav { display: flex; gap: 4px; }
.site-nav a { padding: 10px 14px; border-radius: var(--r-pill); font-weight: 600; font-size: 15px; color: var(--ink-muted); }
.site-nav a:hover { color: var(--ink); background: var(--panel-lilac); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-1); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; fill: none; }

/* language pill */
.languages { position: relative; }
.languages button { display: flex; align-items: center; gap: 10px; min-height: 44px; border: 0; background: transparent; font-size: 14px; font-weight: 650; cursor: pointer; }
#language-toggle { gap: 8px; padding: 6px 12px 6px 7px; border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--shadow-1); transition: transform .18s ease, box-shadow .18s ease; }
#language-toggle:hover, #language-toggle[aria-expanded="true"] { transform: translateY(-1px); box-shadow: var(--shadow-2); }
.languages button:disabled { cursor: default; }
.flag { width: 22px; height: 22px; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 1.5px #fff, 0 1px 4px rgb(31 35 64 / .2); flex-shrink: 0; background: #eee; }
#language-toggle .flag { width: 28px; height: 28px; }
.chevron { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.6; fill: none; transition: transform .18s ease; }
[aria-expanded="true"] .chevron { transform: rotate(180deg); }
#language-options { position: absolute; top: calc(100% + 8px); right: 0; width: 220px; padding: 7px; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-2); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility 0s .18s; }
#language-options.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
#language-options button { width: 100%; padding: 9px 10px; border-radius: var(--r-sm); text-align: left; }
#language-options button:hover { background: var(--panel-lilac); }
#language-options button[aria-pressed="true"] { background: var(--panel-mint); }
.option-code { margin-left: auto; font-size: 11px; color: var(--ink-muted); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 0; border-radius: var(--r-pill); font: 750 16px/1 var(--font-display); cursor: pointer; box-shadow: var(--shadow-1); transition: transform .18s ease, box-shadow .18s ease; }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn-primary { background: var(--cta); color: var(--cta-ink); }
.btn-youtube { background: var(--yt); color: #fff; }
.btn-youtube .icon svg { fill: none; width: 22px; height: 22px; }
.btn[aria-disabled="true"] { cursor: not-allowed; filter: saturate(.55); }
.btn[aria-disabled="true"]:hover { transform: none; box-shadow: var(--shadow-1); }
.mini-soon { font: 700 11px/1 var(--font-body); padding: 4px 8px; border-radius: var(--r-pill); background: rgb(255 255 255 / .9); color: var(--cta-ink); }
.icon { display: inline-flex; }
.icon svg { width: 24px; height: 24px; }

/* ---------- social tiles ---------- */
.social-tiles { display: flex; gap: 16px; flex-wrap: wrap; }
.social-tile { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 0; border: 0; background: none; cursor: pointer; font-size: 13px; font-weight: 650; color: var(--ink); }
.tile-face { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: var(--r-md); color: #fff; box-shadow: var(--shadow-1); transition: transform .18s ease, box-shadow .18s ease; }
.tile-face .icon svg { width: 32px; height: 32px; }
.social-tile[data-platform="youtube"] .tile-face { background: var(--yt); }
.social-tile[data-platform="instagram"] .tile-face { background: var(--ig); }
.social-tile[data-platform="x"] .tile-face { background: var(--x); }
.social-tile:hover .tile-face { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.social-tile[aria-disabled="true"] { cursor: not-allowed; }
.social-tile[aria-disabled="true"] .tile-face { filter: saturate(.55); }
.social-tile[aria-disabled="true"]:hover .tile-face { transform: none; box-shadow: var(--shadow-1); }
.tile-soon { position: absolute; bottom: -7px; left: 50%; transform: translateX(-50%); padding: 3px 7px; border-radius: var(--r-pill); background: var(--surface); color: var(--ink); font-size: 10px; font-weight: 750; white-space: nowrap; box-shadow: var(--shadow-1); }
.tiles-label { margin: 0 0 10px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-muted); }
:lang(ja) .tiles-label, :lang(ko) .tiles-label { letter-spacing: 0; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(180deg, var(--bg-sky), var(--bg)); margin-top: -64px; padding-top: 64px; overflow: hidden; }
.hero-inner { max-width: var(--content); margin: auto; padding: 24px var(--pad-x) 40px; display: grid; gap: 20px; text-align: center; }
.hero-copy { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.eyebrow-chip { margin: 0; padding: 7px 14px; border-radius: var(--r-pill); background: var(--surface); color: var(--accent); font-weight: 700; font-size: 14px; box-shadow: var(--shadow-1); }
.hero h1 { font-size: var(--fs-h1); }
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--accent); }
.hero-body { margin: 0; max-width: 34em; color: var(--ink-muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; order: 4; }
.hero-socials { order: 3; }
.hero-socials .social-tiles { justify-content: center; }
.trust-chips { order: 5; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.trust-chips li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: var(--r-pill); background: var(--panel-mint); font-size: 14px; font-weight: 600; }
.trust-chips li::before { content: ""; width: 14px; height: 8px; border-left: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(-45deg) translate(1px, -2px); }
.hero-art { position: relative; width: min(220px, 60vw); aspect-ratio: 1; margin: 0 auto; }
.hero-art .blob { position: absolute; inset: -10%; width: 120%; height: 120%; fill: var(--panel-lilac); }
.hero-avatar { position: relative; width: 74%; aspect-ratio: 1; margin: 13%; border-radius: 50%; background: var(--panel-peach); border: 6px solid var(--surface); box-shadow: var(--shadow-2); animation: float 6s ease-in-out infinite; overflow: hidden; }
.hero-avatar img { width: 100%; height: 100%; object-fit: contain; padding: 6%; display: block; }
.sparkle { position: absolute; color: var(--accent-2); font-size: 26px; animation: twinkle 3s ease-in-out infinite; }
.s1 { top: 2%; right: 8%; } .s2 { bottom: 8%; left: 0; font-size: 18px; color: var(--accent); animation-delay: 1s; } .s3 { top: 40%; right: -4%; font-size: 16px; color: var(--cta); animation-delay: 2s; }
.cloud { position: absolute; height: 22px; border-radius: var(--r-pill); background: var(--surface); opacity: .9; box-shadow: var(--shadow-1); }
.c1 { width: 70px; top: 14%; left: -8%; } .c2 { width: 54px; bottom: 2%; right: 4%; }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes twinkle { 50% { opacity: .35; transform: scale(.8) rotate(20deg); } }

/* ---------- sections ---------- */
#load-status, .notice { max-width: var(--content); margin: 24px auto; padding: 0 var(--pad-x); text-align: center; color: var(--ink-muted); }
.band { max-width: var(--content); margin: var(--gap-section) auto 0; padding: 0 var(--pad-x); }
.band:first-child { margin-top: 40px; }
.section-head { margin-bottom: 28px; }
.section-head h2, .featured-copy h2, .app-copy h2 { font-size: var(--fs-h2); }
.section-head p { margin: 8px 0 0; color: var(--ink-muted); }
.eyebrow { margin: 0 0 8px; color: var(--accent); font-weight: 750; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
:lang(ja) .eyebrow, :lang(ko) .eyebrow { letter-spacing: 0; }

/* featured */
.featured-panel { display: grid; gap: 28px; align-items: center; padding: clamp(24px, 5vw, 56px); border-radius: var(--r-lg); background: linear-gradient(135deg, var(--panel-lilac), var(--panel-peach)); box-shadow: var(--shadow-2); }
.checks { display: grid; gap: 10px; margin: 20px 0 26px; }
.checks li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.checks li::before { content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/16px no-repeat; }
.tablet { padding: 14px; border-radius: 28px; background: #1f2340; box-shadow: var(--shadow-2), inset 0 0 0 2px #3a3f63; transform: rotate(2deg); }
.tablet-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; }
.tablet-screen img, .tablet-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tablet-screen video { opacity: 0; transition: opacity .4s ease; }
.tablet-screen video.is-playing { opacity: 1; }
#featured-play.is-missing { display: none; }

/* gallery */
.gallery { display: grid; gap: 20px; grid-template-columns: 1fr; }
.film { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-1); overflow: hidden; text-align: left; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.film:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.poster { position: relative; aspect-ratio: 16 / 9; background: var(--panel-lilac); }
.poster img, .poster video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.poster video { opacity: 0; transition: opacity .3s ease; }
.poster.is-previewing video { opacity: 1; }
.play-badge { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgb(255 255 255 / .92); color: var(--accent); box-shadow: var(--shadow-2); transition: transform .2s ease, opacity .2s ease; }
.play-badge svg { width: 28px; height: 28px; margin-left: 4px; }
.film:hover .play-badge { transform: scale(1.08); }
.poster.is-previewing .play-badge { opacity: 0; }
.duration { position: absolute; right: 12px; bottom: 12px; padding: 4px 9px; border-radius: var(--r-pill); background: rgb(31 35 64 / .85); color: #fff; font-size: 12px; font-weight: 650; font-variant-numeric: tabular-nums; }
.missing-pill { display: none; position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: var(--r-pill); background: var(--cta); color: var(--cta-ink); font-size: 12px; font-weight: 750; }
.film.is-missing { cursor: default; }
.film.is-missing .missing-pill { display: block; }
.film.is-missing .play-badge, .film.is-missing .duration { display: none; }
.film-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px 18px; }
.film-caption h3 { font-size: 19px; }
.dub-chips { display: flex; gap: 6px; flex: none; }
.dub-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px 4px 4px; border-radius: var(--r-pill); background: var(--panel-mint); font-size: 12px; font-weight: 700; }
.dub-chip .flag { width: 18px; height: 18px; }

/* values */
.values { display: grid; gap: 18px; }
.value-card { padding: 28px; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-1); }
.value-card:nth-child(1) { background: var(--panel-mint); }
.value-card:nth-child(2) { background: var(--panel-peach); }
.value-card:nth-child(3) { background: var(--panel-lilac); }
.value-card .icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 16px; background: var(--surface); color: var(--accent); box-shadow: var(--shadow-1); }
.value-card .icon svg { width: 28px; height: 28px; }
.value-card h3 { font-size: 21px; margin-bottom: 8px; }
.value-card p { margin: 0; color: var(--ink-muted); }

/* friends */
.friends-scene { position: relative; display: flex; flex-direction: column; padding: 0 clamp(16px, 4vw, 40px) clamp(24px, 4vw, 40px); border-radius: var(--r-lg); background: linear-gradient(180deg, #dff3ff, var(--panel-mint)); overflow: hidden; }
.island { display: block; width: calc(100% + 2 * clamp(16px, 4vw, 40px)); max-width: none; height: auto; margin: 0 calc(-1 * clamp(16px, 4vw, 40px)); }
.friends-head { order: -1; padding-top: 24px; margin-bottom: 0; text-align: center; color: #1f2340; }
.friends-head p { color: #3d4263; }
.friends { position: relative; display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(-120px, -10vw, -24px); }
.friend { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 12px 20px; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-1); text-align: center; transition: transform .2s ease, box-shadow .2s ease; }
.friend:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.friend-portrait { display: block; width: min(120px, 100%); aspect-ratio: 1; margin-bottom: 8px; border-radius: 50%; overflow: hidden; background: #f7f1e8; border: 5px solid var(--surface); box-shadow: 0 0 0 3px var(--panel-lilac), var(--shadow-1); }
.friend-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--zoom, 1)); transform-origin: var(--focus, 50% 50%); }
.friend h3 { font-size: 19px; }
.friend p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink-muted); }

/* downloads */
.packs { display: grid; gap: 18px; }
.pack { display: flex; flex-direction: column; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-1); overflow: hidden; }
.pack-cover { position: relative; aspect-ratio: 16 / 9; background: var(--panel-peach); }
.pack-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pack-body { display: grid; gap: 10px; padding: 16px 18px 20px; }
.pack-body h3 { font-size: 19px; }
.pack-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.pack-badge { padding: 4px 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 750; }
.pack-badge.is-coloring { background: var(--panel-peach); }
.pack-badge.is-ebook { background: var(--panel-lilac); }
.pack-actions { display: grid; gap: 8px; margin-top: 4px; }
.btn-small { justify-content: flex-start; min-height: 44px; padding: 0 12px 0 16px; font-size: 14px; white-space: nowrap; background: var(--panel-mint); color: var(--ink); box-shadow: none; }
.btn-small .icon svg { width: 18px; height: 18px; fill: none; }
.btn-small .mini-soon { margin-left: auto; background: var(--surface); color: var(--ink); }

/* app */
.app-panel { display: grid; gap: 24px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-lg); background: linear-gradient(135deg, var(--panel-mint), var(--bg-sky)); text-align: center; }
.app-phone { width: min(180px, 46vw); margin: auto; transform: rotate(-4deg); filter: drop-shadow(0 18px 30px rgb(31 35 64 / .22)); }
.app-phone img { display: block; width: 100%; height: auto; }
.app-copy p { margin: 10px 0 0; color: var(--ink-muted); }
.app-copy .eyebrow { margin: 0 0 8px; color: var(--accent); }
.soon-pill { display: inline-block; margin-top: 20px; padding: 10px 18px; border-radius: var(--r-pill); background: var(--surface); color: var(--accent); font-weight: 750; box-shadow: var(--shadow-1); }

/* follow */
.follow { text-align: center; }
.follow .social-tiles { justify-content: center; }
.language-label { display: inline-flex; align-items: center; gap: 8px; }
.socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.social { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 10px 6px 8px; border: 0; border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--shadow-1); font-size: 15px; font-weight: 650; cursor: pointer; }
.social .icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--tt); color: #fff; }
.social .icon svg { width: 20px; height: 20px; }
.social .mini-soon { background: var(--panel-lilac); color: var(--ink); }
.social[aria-disabled="true"] { cursor: not-allowed; }

/* footer */
.site-footer { margin-top: var(--gap-section); background: var(--footer); color: var(--ink-invert); }
.footer-inner { max-width: var(--content); margin: auto; padding: 48px var(--pad-x) 40px; display: grid; gap: 20px; justify-items: center; text-align: center; }
.site-footer .wordmark { margin: 0; }
.site-footer .wordmark b { color: #b9a8ff; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
.footer-nav a { padding: 8px 0; opacity: .85; }
.footer-nav a:hover { opacity: 1; text-decoration: underline; }
.footer-socials { display: flex; gap: 10px; }
.footer-social { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .1); color: var(--ink-invert); cursor: pointer; }
.footer-social[aria-disabled="true"] { opacity: .6; cursor: not-allowed; }
.footer-social .icon svg { width: 20px; height: 20px; }
/* support: deliberately quiet disclosure */
.support { width: 100%; max-width: 560px; font-size: 14px; color: #c9c7e0; }
.support summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; cursor: pointer; list-style: none; opacity: .85; }
.support summary::-webkit-details-marker { display: none; }
.support summary::after { content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .18s ease; }
.support[open] summary::after { transform: rotate(-135deg) translate(-2px, 0); }
.support summary:hover { opacity: 1; text-decoration: underline; }
.support-body { padding: 4px 0 8px; }
.support-body p { margin: 8px 0; }
.support-amounts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 10px 0; }
.support-amount { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid rgb(255 255 255 / .25); border-radius: var(--r-pill); background: transparent; color: var(--ink-invert); font-size: 14px; font-weight: 650; cursor: pointer; }
.support-amount[aria-disabled="true"] { cursor: not-allowed; opacity: .75; }
.support-amount .mini-soon { background: rgb(255 255 255 / .15); color: var(--ink-invert); }
.iban { padding: 2px 6px; border-radius: 6px; background: rgb(255 255 255 / .1); color: var(--ink-invert); font-size: 13px; }
.footer-privacy, .footer-copy { margin: 0; font-size: 14px; color: #c9c7e0; }
.site-footer :focus-visible { outline-color: var(--cta); }

/* ---------- player ---------- */
.player-open { overflow: hidden; }
.player-modal { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 16px; }
.player-backdrop { position: absolute; inset: 0; background: rgb(20 18 40 / .78); backdrop-filter: blur(6px); }
.player-dialog { position: relative; width: min(960px, 100%); padding: 16px; border-radius: 24px; background: var(--surface); box-shadow: 0 30px 80px rgb(0 0 0 / .4); }
.player-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding: 0 4px; }
.player-top h2 { font-size: 22px; margin-right: auto; }
.player-dialog .dub-chip { padding: 5px 10px; }
.player-close { min-height: 44px; padding: 0 18px; border: 0; border-radius: var(--r-pill); background: var(--panel-lilac); font-weight: 700; cursor: pointer; }
#player-video { display: block; width: 100%; max-height: 76vh; border-radius: 14px; background: #000; }

/* ---------- breakpoints ---------- */
@media (max-width: 899px) {
  .menu-toggle { display: inline-flex; }
  .topbar .site-nav { position: absolute; top: 100%; left: 12px; right: 12px; flex-direction: column; padding: 8px; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-2); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility 0s .18s; }
  .topbar .site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .topbar .site-nav a { padding: 14px 16px; font-size: 17px; }
}
@media (min-width: 560px) {
  .gallery, .packs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .friends { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .tile-face { width: 72px; height: 72px; }
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.15fr .85fr; align-items: center; padding-top: 48px; padding-bottom: 72px; text-align: left; }
  .hero-art { order: 2; width: min(380px, 100%); }
  .hero-copy { align-items: flex-start; }
  .hero-ctas { order: 0; justify-content: flex-start; }
  .hero-socials { order: 0; }
  .hero-socials .social-tiles, .trust-chips { justify-content: flex-start; }
  .trust-chips { order: 0; }
  .featured-panel { grid-template-columns: 1fr 1.1fr; }
  .values { grid-template-columns: repeat(3, 1fr); }
  .app-panel { grid-template-columns: auto 1fr; text-align: left; }
  .packs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .friends { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .friend-portrait { width: min(132px, 100%); }
  .friends-head { position: absolute; top: clamp(16px, 4vw, 40px); left: 0; right: 0; padding: 0 var(--pad-x); }
  .support { grid-column: 1 / -1; justify-self: center; text-align: center; }
  .footer-inner { grid-template-columns: auto 1fr auto; justify-items: start; text-align: left; }
  .footer-nav { justify-content: center; justify-self: center; }
  .footer-privacy { grid-column: 1 / 3; }
  .footer-copy { justify-self: end; }
}
@media (max-width: 380px) {
  .wordmark span { font-size: 18px; }
  .social-tiles { gap: 12px; }
  .film-caption { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .friend:hover, .film:hover, .btn:hover { transform: none; }
}

/* v3: real island art, first-film badge, friend tags */
.island { aspect-ratio: 16/9; object-fit: cover; animation: island-float 6s ease-in-out infinite; }
@keyframes island-float { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .island { animation: none; } }
.friends-scene { background: linear-gradient(180deg, #cfe9fb, var(--panel-mint)); }
.friend { position: relative; }
.friend-portrait img { object-fit: cover; }
.friend-tag { position: absolute; top: 10px; right: 10px; padding: 2px 9px; border-radius: 999px; background: #ffe2ef; color: #a1275f; font-size: 12px; font-weight: 700; }
.friend.is-seasonal .friend-tag { background: #e3f6e8; color: #1f6b3a; }
.film-badge { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: #ffd84d; color: #3a2a00; font-size: 13px; font-weight: 800; box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.friends-scene .friends-head { position: static; order: -1; padding-top: clamp(24px, 4vw, 40px); margin-bottom: 0; }
.friends-scene .island { margin-top: -8px; }

/* v4 hero: hopko-style layout (copy left, island right; stacked on mobile) */
.hero { position: relative; background: linear-gradient(180deg, #cfe6ff 0%, #e6f1ff 55%, var(--bg) 100%); }
.hero .sky-cloud { position: absolute; border-radius: 50%; background: #fff; filter: blur(28px); opacity: .75; pointer-events: none; }
.hero .k1 { width: 420px; height: 160px; top: 70px; left: -120px; }
.hero .k2 { width: 520px; height: 200px; top: 40px; right: -160px; }
.hero .k3 { width: 380px; height: 140px; bottom: 30px; left: 35%; opacity: .55; }
.hero-inner { position: relative; grid-template-columns: 1fr; gap: 8px; padding-top: 32px; padding-bottom: 48px; }
.hero h1 { font-size: clamp(40px, 9vw, 64px); line-height: 1.05; letter-spacing: -.02em; }
.hero-body { font-weight: 600; color: var(--ink); max-width: 26em; }
.hero-ctas { order: 0; }
.trust-chips { order: 0; gap: 18px; }
.trust-chips li { background: none; padding: 0; font-size: 15px; font-weight: 700; color: var(--ink); }
.trust-chips li::before { content: none; }
.trust-chips svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-socials { order: 0; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.hero-island { margin: 8px auto 0; width: min(560px, 100%); }
.hero-island img { display: block; width: 100%; height: auto; -webkit-mask-image: radial-gradient(ellipse 72% 80% at 50% 45%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 72% 80% at 50% 45%, #000 62%, transparent 100%); animation: island-float 6s ease-in-out infinite; filter: drop-shadow(0 26px 22px rgba(40,60,110,.18)); }
@media (prefers-reduced-motion: reduce) { .hero-island img { animation: none; } }
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1fr 1.05fr; align-items: center; gap: 24px; padding-top: 56px; padding-bottom: 96px; text-align: left; }
  .hero-copy { align-items: flex-start; gap: 22px; }
  .hero-ctas, .trust-chips, .hero-socials .social-tiles { justify-content: flex-start; }
  .hero-island { width: 100%; margin: 0; transform: translateX(2%); }
}
.hero .btn-youtube { background: var(--cta); color: var(--cta-ink); }
.hero-island img { -webkit-mask-image: radial-gradient(ellipse 58% 62% at 50% 42%, #000 60%, transparent 100%); mask-image: radial-gradient(ellipse 58% 62% at 50% 42%, #000 60%, transparent 100%); }
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: .9fr 1.25fr; padding-top: 40px; padding-bottom: 72px; }
  .hero h1 { font-size: clamp(48px, 4.6vw, 64px); }
  .hero-island { transform: scale(1.18) translate(3%, -2%); transform-origin: center; }
}

/* Plain text pages (about, privacy) */
.plain-page { background: #fffaf2; }
.plain { max-width: 42rem; margin: 0 auto; padding: 3rem 1.25rem 4rem; line-height: 1.6; font-size: 1.05rem; }
.plain h1 { font-size: 2rem; margin: 1rem 0; }

/* Avoid layout shift when JS fills the hero: keep the island pinned to the top of the row
   and reserve room for the YouTube button, chips and social tiles. */
@media (min-width: 900px) {
  .hero-inner { align-items: start; }
  .hero-island { align-self: start; }
}
#hero-youtube:empty { display: inline-block; min-height: 48px; min-width: 140px; }
.trust-chips:empty { min-height: 36px; }
.social-tiles:empty { min-height: 76px; }

/* Keep the footer below the fold until the films load. */
main { min-height: 100vh; }
.plain-page main { min-height: 0; }

/* ---- v5: mobile readability + CJK typography ---- */
:root { --ink-muted: #4c516f; --accent: #5b3fd6; }
:lang(ja) { --font-body: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Noto Sans CJK JP", "Yu Gothic UI", Meiryo, system-ui, sans-serif;
            --font-display: "Hiragino Maru Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Noto Sans CJK JP", system-ui, sans-serif; }
:lang(ko) { --font-body: "Apple SD Gothic Neo", "Noto Sans KR", "Noto Sans CJK KR", "Malgun Gothic", system-ui, sans-serif;
            --font-display: "Apple SD Gothic Neo", "Noto Sans KR", "Noto Sans CJK KR", "Malgun Gothic", system-ui, sans-serif; }
html:lang(ja) body { line-break: strict; word-break: normal; overflow-wrap: anywhere; line-height: 1.75; }
html:lang(ko) body { word-break: keep-all; overflow-wrap: break-word; line-height: 1.7; }
h1, h2, h3, .btn, .hero-body, .eyebrow { text-wrap: balance; }
p, li { text-wrap: pretty; }
:lang(ja) .hero h1, :lang(ko) .hero h1 { line-height: 1.25; letter-spacing: 0; }
.hero-body { font-size: 17px; line-height: 1.6; color: var(--ink); }
.friend p { font-size: 16px; line-height: 1.55; }
.tiles-label, .eyebrow { font-size: 14px; letter-spacing: .04em; }
:lang(ja) .tiles-label, :lang(ko) .tiles-label, :lang(ja) .eyebrow, :lang(ko) .eyebrow { letter-spacing: 0; text-transform: none; }
.social-tile { font-size: 14px; }
.tile-soon { font-size: 11px; padding: 3px 8px; }
.trust-chips li { font-size: 16px; line-height: 1.4; }
.btn { line-height: 1.3; }
.btn-small, .support-amount, .footer-privacy, .footer-copy, .support { font-size: 15px; }
.duration, .dub-chip, .pack-badge, .friend-tag { font-size: 13px; }
@media (max-width: 480px) {
  .hero-inner { padding-top: 20px; padding-bottom: 32px; gap: 4px; }
  .hero-copy { gap: 16px; }
  .hero h1 { font-size: clamp(34px, 10vw, 44px); }
  :lang(ja) .hero h1, :lang(ko) .hero h1 { font-size: clamp(30px, 8.6vw, 40px); }
  .hero-body { max-width: 30em; }
  .hero-ctas { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; }
  .hero-ctas .btn, #hero-youtube > * { width: 100%; justify-content: center; }
  .trust-chips { flex-direction: column; align-items: center; gap: 6px; }
  .btn { white-space: normal; text-align: center; }
  .section-head h2, .featured-copy h2, .app-copy h2 { font-size: clamp(26px, 7.4vw, 32px); }
}
@supports (word-break: auto-phrase) { html:lang(ja) body { word-break: auto-phrase; } }

/* ---- v6: warm hopko-style hero palette (light-only site; no dark-mode inversion over the sky) ---- */
:root { --hero-ink: #2a2257; --hero-accent: #e0562f; --hero-body: #3d3760; }
.hero h1 { color: var(--hero-ink); }
.hero h1 .accent { color: var(--hero-accent); background: linear-gradient(90deg, #e0562f, #f08a24); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-bottom: .06em; }
.hero-body { color: var(--hero-body); font-weight: 600; }
.trust-chips, .trust-chips * { color: var(--hero-ink); }
.trust-chips svg { color: var(--hero-accent); stroke: currentColor; }
.hero .tiles-label { color: #5a4f86; }
