/* Layout: product-page rhythm. Pure black stage, centered eyebrow + oversized two-line headline, then one big piece of media per section. Single dark look by choice. */
:root {
  color-scheme: dark;
  --bg: #06080d;        /* stage */
  --bg-2: #0c0f16;      /* alternate section */
  --line: #1f2430;      /* hairlines, card edges */
  --card: #131722;      /* tiles */
  --fg: #f5f5f7;         /* headline + body */
  --muted: #9a9aa1;      /* secondary copy */
  --red: #ff3b2f;        /* the SAVE knob: eyebrows, primary action */
  --amber: #ffb340;      /* focus ring, glow */
  --f-jp: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  --f-latin: degular, "Noto Sans", "Helvetica Neue", Arial;            /* Adobe Fonts kit wqd1ohz */
  --f-display: degular-display, degular, "Noto Sans", "Helvetica Neue", Arial;
  --f-logo: "Yellowtail", "Brush Script MT", cursive;
  --f: var(--f-latin), var(--f-jp);
  --f-head: var(--f-display), var(--f-jp);
  --wrap: 1180px;
}
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--f); font-size: 17px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
html[data-lang="ja"] .en, html[data-lang="en"] .ja, html:not([data-lang]) .en { display: none !important; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
h1, h2, h3, .big, .h2, .sub, .price-card .amount { font-family: var(--f-head); }
p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.band { padding-block: clamp(80px, 12vw, 160px); }
.band.alt { background: var(--bg-2); }
.eyebrow { font-family: var(--f); font-weight: 700; font-size: 16px; line-height: 1; letter-spacing: .03em; color: var(--red); }
.big { font-weight: 900; font-size: clamp(26px, 7.4vw, 92px); line-height: 1.14; letter-spacing: -.01em; }
.h2 { font-weight: 900; font-size: clamp(30px, 4.8vw, 62px); line-height: 1.16; letter-spacing: -.01em; }
html[data-lang="en"] .big, html[data-lang="en"] .h2 { letter-spacing: -.012em; word-spacing: .04em; }
.sub { font-weight: 900; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.25; }
.lead { color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.75; max-width: 34em; }
.head { display: grid; gap: 20px; justify-items: center; text-align: center; margin-bottom: clamp(48px, 6vw, 88px); }
.head .lead { margin-inline: auto; }
kbd { display: inline-grid; place-items: center; min-width: 1.9em; height: 1.9em; padding: 0 .45em; margin: 0 .1em; border-radius: 7px; font: 600 .82em/1 var(--f-latin); color: var(--fg);
  background: linear-gradient(180deg, #2c2c30, #18181b); border: 1px solid #3a3a3f; box-shadow: 0 2px 0 #050505; vertical-align: .1em; }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: transparent; border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s, backdrop-filter .3s, -webkit-backdrop-filter .3s; }
/* frosted glass once the page has scrolled (class set by site.js) */
.top.scrolled { background: rgba(14,15,22,.55); -webkit-backdrop-filter: saturate(170%) blur(18px); backdrop-filter: saturate(170%) blur(18px); border-bottom-color: rgba(255,255,255,.08); }
/* on the landing page the header floats over the hero gradient */
body:has(.hero) .top { margin-bottom: calc(-1 * var(--top-h, 81px)); }
body:has(.hero) .hero { padding-top: calc(var(--top-h, 81px) + clamp(48px, 8vw, 112px)); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--bg); }
.top .wrap { display: flex; align-items: center; gap: 16px; max-width: none; height: auto; padding: 24px 40px; }
@media (max-width: 640px) { .top .wrap { padding: 16px 20px; } }
.logo { font: 400 28px/1 var(--f-logo); color: var(--fg); text-decoration: none; display: flex; align-items: center; gap: 9px; }
.logo i { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { display: flex; gap: 2px; }
.lang button { border: 0; background: none; color: var(--muted); font-family: var(--f); font-weight: 600; font-size: 13px; line-height: 1; padding: 8px 10px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { color: var(--fg); background: #1d1d20; }
.top .mini-cta { font-family: var(--f); font-weight: 700; font-size: 13px; line-height: 1; text-decoration: none; padding: 9px 16px; border-radius: 999px; background: var(--red); color: #fff; }
@media (max-width: 560px) { .top .mini-cta { display: none; } }

/* store buttons */
.ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 11px 22px 11px 18px; border-radius: 14px; text-decoration: none; color: #fff; background: var(--bg); border: 1px solid #555b6a; transition: border-color .15s, background .15s; }
.store:hover { border-color: #fff; background: #111520; }
.store svg { width: 26px; height: 26px; flex: none; fill: currentColor; }
.store span { display: grid; line-height: 1.15; text-align: left; }
.store small { font-size: 11px; color: #c7c7cc; }
.store b { font-family: var(--f); font-weight: 700; font-size: 18px; line-height: 1.2; }
.store:focus-visible, .lang button:focus-visible, .top .mini-cta:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

/* hero */
.hero { padding-block: clamp(64px, 10vw, 128px) clamp(80px, 10vw, 140px); overflow: hidden; text-align: center; }
.hero .wrap { display: grid; gap: 24px; justify-items: center; }
.hero .meta { color: var(--muted); font-size: 14px; }
.hero .lead { font-weight: 700; color: #c9cad6; }
.hero .meta { color: #b4b5c2; }
.stage { position: relative; width: 100%; margin-top: clamp(32px, 5vw, 64px); }
.stage::before { content: ""; position: absolute; left: 50%; top: 55%; width: min(1100px, 120%); aspect-ratio: 2 / 1; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(255,59,47,.4), rgba(255,179,64,.12) 55%, transparent 75%); filter: blur(10px); pointer-events: none; }
.desk { position: relative; width: min(1080px, 100%); margin: 0 auto; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; border: 1px solid #2e2e33;
  background: radial-gradient(110% 90% at 15% 0%, #2b3442 0%, #161a22 50%, #0a0b0e 100%); box-shadow: 0 40px 120px rgba(0,0,0,.85); }
.desk .bar { position: absolute; inset: 0 0 auto; height: 3.6%; background: rgba(255,255,255,.07); }
.win { position: absolute; left: 5%; top: 10%; width: 62%; height: 76%; border-radius: 10px; background: #1c1d21; border: 1px solid #2c2d32; box-shadow: 0 16px 40px rgba(0,0,0,.5); overflow: hidden; }
.win::before { content: ""; position: absolute; inset: 0 0 auto; height: 7%; background: #25262b; }
.win .dots { position: absolute; left: 3%; top: 2.2%; display: flex; gap: 6px; }
.win .dots i { width: 8px; height: 8px; border-radius: 50%; background: #3d3e44; }
.win .ln { position: absolute; left: 8%; height: 2.8%; border-radius: 4px; background: #2b2c31; }
.win .ln.h { background: #3a3b41; height: 4.2%; }
.dock-shot { position: absolute; right: 3%; bottom: 4%; width: 25%; }
.dock-shot img { width: 100%; border-radius: 10px; box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 18px 40px rgba(0,0,0,.7), 0 0 60px rgba(255,59,47,.25); }
.dock-tag { position: absolute; right: 30%; bottom: 14%; font-family: var(--f); font-weight: 700; font-size: 13px; line-height: 1.3; color: #fff; background: var(--red); padding: 7px 12px; border-radius: 999px; white-space: nowrap; }
.dock-tag::after { content: ""; position: absolute; right: -10px; top: 50%; width: 10px; height: 2px; background: var(--red); }
@media (max-width: 560px) { .dock-tag { display: none; } .dock-shot { width: 30%; } }

/* media */
.media { display: flex; justify-content: center; align-items: flex-end; gap: clamp(16px, 3vw, 40px); flex-wrap: wrap; }
.shot { display: grid; gap: 14px; justify-items: center; margin: 0; min-width: 0; }
.shot img { border-radius: 12px; box-shadow: 0 30px 70px rgba(0,0,0,.75); }
.shot figcaption { font-family: var(--f); font-weight: 600; font-size: 15px; line-height: 1.4; color: var(--fg); }
.shot figcaption small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.shot.s img { width: clamp(150px, 22vw, 280px); }
.shot.m img { width: clamp(220px, 30vw, 380px); }
.shot.w img { width: clamp(280px, 40vw, 520px); }
.shot.l { width: 100%; }
.shot.l img { width: 100%; max-width: 820px; }

/* split rows */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split + .split { margin-top: clamp(96px, 12vw, 160px); }
.split .txt { display: grid; gap: 20px; align-content: start; }
.split.flip .media { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } .split.flip .media { order: 0; } }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; }
.ticks li::before { content: ""; width: 12px; height: 12px; margin-top: .5em; border-radius: 50%; border: 2px solid var(--red); }

/* save knob close-up */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1.05fr) 64px minmax(0, 1.2fr) 64px minmax(0, 1fr); gap: 16px; align-items: center; }
.step { display: grid; gap: 18px; justify-items: center; min-width: 0; }
.step > div { width: 100%; }
.cap { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; text-align: center; }
.cap b { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font: 700 13px/1 var(--f-latin); }
.arrow svg { width: 64px; height: 24px; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; overflow: visible; filter: drop-shadow(0 0 6px rgba(192,74,214,.55)) drop-shadow(0 0 12px rgba(255,59,47,.35)); }
.arrow .a-flow { stroke: #fff; stroke-width: 2.5; stroke-dasharray: 8 60; stroke-dashoffset: 68; opacity: .85; animation: a-flow 1.6s cubic-bezier(.4,0,.2,1) infinite; }
@keyframes a-flow { from { stroke-dashoffset: 68; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .arrow .a-flow { display: none; } }
.browser { border-radius: 12px; overflow: hidden; background: #1c1d21; border: 1px solid #2e2f35; box-shadow: 0 24px 60px rgba(0,0,0,.7); }
.b-bar { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #25262b; }
.b-bar .dots { display: flex; gap: 5px; flex: none; }
.b-bar .dots i { width: 8px; height: 8px; border-radius: 50%; background: #45464d; }
.b-bar .url { flex: 1; min-width: 0; background: #111214; border-radius: 999px; padding: 4px 10px; font: 500 12px/1.4 var(--f-latin); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-bar .sel { background: #2f5fb8; color: #fff; border-radius: 3px; padding: 0 2px; }
.b-bar .copy { flex: none; font: 700 11px/1 var(--f-latin); color: #111; background: var(--amber); border-radius: 6px; padding: 5px 7px; }
.browser img { width: 100%; }
.card img { width: 100%; border-radius: 6px; box-shadow: 0 24px 60px rgba(0,0,0,.7), 0 0 30px rgba(255,179,64,.25); }
@media (max-width: 900px) {
  .flow { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; gap: 14px; }
  .arrow-li { justify-self: center; transform: rotate(90deg); }
}
.savebar { position: relative; width: 100%; margin: 0 auto; }
.savebar img { width: 100%; border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.8), 0 0 0 1px var(--line); }
.savebar .ping { position: absolute; left: 46.8%; top: 46%; width: 11%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 3px solid var(--amber); box-shadow: 0 0 28px rgba(255,179,64,.7); animation: ping 2.4s ease-out infinite; pointer-events: none; }
@keyframes ping { 0% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 70%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.6); } }
@media (prefers-reduced-motion: reduce) { .savebar .ping { animation: none; } }
.trio kbd { font-size: .78em; }

/* big keycaps */
.keys-big { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(8px, 1.4vw, 16px); }
.keys-big kbd { font-size: clamp(30px, 5.4vw, 64px); border-radius: 18px; min-width: 1.6em; height: 1.6em; margin: 0; }
.keys-big kbd.go { color: #fff; background: linear-gradient(180deg, #ff5a47, #c81d12); border-color: #ff7a6b; box-shadow: 0 3px 0 #5a0b05, 0 0 48px rgba(255,59,47,.5); }
.keys-alt { text-align: center; color: var(--muted); margin-top: 24px; font-size: 15px; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: clamp(56px, 7vw, 88px); }
.trio div { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 6px; }
.trio b { font-size: 18px; }
.trio p { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .trio { grid-template-columns: minmax(0, 1fr); } }

/* name grid */
.names { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.names .shot img { width: 100%; }
@media (max-width: 760px) { .names { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* everything else */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cell { background: var(--card); border-radius: 18px; padding: 26px 22px; display: grid; gap: 10px; align-content: start; }
.cell svg { width: 30px; height: 30px; stroke: var(--fg); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cell h3 { font-size: 17px; font-weight: 700; line-height: 1.4; }
.cell p { font-size: 14px; color: var(--muted); line-height: 1.65; }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .grid { grid-template-columns: minmax(0, 1fr); } }

/* price */
.price-card { max-width: 700px; margin: 0 auto; text-align: center; display: grid; gap: 14px; justify-items: center; padding: clamp(36px, 5vw, 56px) clamp(20px, 4vw, 48px); border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.price-card .amount { font-weight: 900; font-size: clamp(64px, 10vw, 104px); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price-card .amount small { font-size: 20px; font-weight: 700; letter-spacing: 0; margin-left: 6px; color: var(--muted); }
.price-card .ticks { text-align: left; margin-block: 8px 12px; }
.note { font-size: 14px; color: var(--muted); }

/* faq */
.faq { display: grid; max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 48px 24px 0; font-weight: 700; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 300 30px/1 var(--f-latin); color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .a { padding: 0 0 26px; color: var(--muted); }

/* final */
.final .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; justify-items: center; text-align: center; }
.final .logo-big { font: 400 clamp(64px, 10vw, 128px)/1 var(--f-logo); color: #fff4f2;
  --neon: #ff3b2f;
  text-shadow: 0 0 2px #fff, 0 0 6px color-mix(in srgb, var(--neon) 30%, #fff), 0 0 14px var(--neon), 0 0 28px var(--neon), 0 0 52px var(--neon), 0 0 90px color-mix(in srgb, var(--neon) 70%, transparent), 0 0 140px color-mix(in srgb, var(--neon) 45%, transparent);
  animation: neon-hue 16s linear infinite; }
/* the glow color fades red → magenta → blue → teal → amber → red */
@property --neon { syntax: "<color>"; inherits: true; initial-value: #ff3b2f; }
@keyframes neon-hue {
  0%, 100% { --neon: #ff3b2f; }
  20% { --neon: #e0399c; }
  40% { --neon: #5a7cff; }
  60% { --neon: #1fc8c8; }
  80% { --neon: #ffb340; }
}
@media (prefers-reduced-motion: reduce) { .final .logo-big { animation: none; } }
.final .logo-big { margin-bottom: 56px; } /* 24px gap + 56px = 80px */
.final .ctas { margin-top: 32px; } /* 24px gap + 32px = 56px */
.final .store, #price .store { gap: 16px; padding: 16px 32px 16px 26px; border-radius: 18px; }
.final .store svg, #price .store svg { width: 36px; height: 36px; }
.final .store small, #price .store small { font-size: 13px; }
.final .store b, #price .store b { font-size: 24px; }
@media (max-width: 640px) { .final .store, #price .store { padding: 14px 24px 14px 20px; } .final .store svg, #price .store svg { width: 30px; height: 30px; } .final .store b, #price .store b { font-size: 20px; } }

footer { border-top: 1px solid var(--line); padding-block: 36px; color: var(--muted); font-size: 13px; line-height: 1.7; }
footer .wrap { display: grid; gap: 12px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--fg); }

/* sub pages (privacy, support) */
.doc { max-width: 760px; }
.doc h1 { font-weight: 900; font-size: clamp(34px, 5vw, 56px); line-height: 1.15; margin: 14px 0 10px; }
.doc .updated { color: var(--muted); font-size: 14px; }
.doc h2 { font-size: 22px; font-weight: 900; margin: 48px 0 12px; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 1.3em; margin: 12px 0 0; display: grid; gap: 6px; }
.doc .muted { color: var(--muted); }
.contact { margin-top: 16px; padding: 24px 26px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 6px; }
.contact b { font: 700 13px/1 var(--f-latin); letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.contact .mail { font-weight: 700; font-size: 22px; line-height: 1.4; word-break: break-all; user-select: all; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
#view .shot.s img { width: clamp(130px, 16vw, 210px); }
#view .shot.m img { width: clamp(130px, 16vw, 210px); } /* same width as normal: both windows are 400px wide in the app */
#view .shot.w img { width: clamp(280px, 44vw, 588px); } /* 1120px in the app = 2.8x the 400px normal window */
.shot figcaption { text-align: center; }

.screen { position: relative; width: min(1120px, 100%); margin: 0 auto; padding: clamp(6px, 1vw, 12px); border-radius: clamp(12px, 1.8vw, 22px); background: #1a1a1d; border: 1px solid #2e2e33; box-shadow: 0 40px 120px rgba(0,0,0,.85); }
.screen img { width: 100%; border-radius: clamp(6px, 1vw, 12px); }
.scr-in { position: relative; }
/* amber halo over the JukeDock in the bottom-right of the desktop shot (gadget = 470x822 at right/bottom 20px of 2560x1440) */
.screen .glow { position: absolute; left: 80.86%; top: 41.53%; width: 18.36%; height: 57.08%; border-radius: clamp(4px, .7vw, 9px); pointer-events: none;
  box-shadow: 0 0 0 2px rgba(255,179,64,.95), 0 0 18px 4px rgba(255,179,64,.75), 0 0 60px 14px rgba(255,140,40,.45);
  animation: glow 2.4s ease-in-out infinite; }
@keyframes glow { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .screen .glow { animation: none; opacity: .9; } }
.screen .dock-tag { right: 18.5%; bottom: auto; top: 70%; }
.cell h3, .trio b, .cap, .shot figcaption { font-weight: 900; }
/* app-window shots carry their own rounded, transparent corners — don't clip them again */
img[data-shot$="-small"], img[data-shot$="-mini"], img[data-shot$="-big"] { border-radius: 0; box-shadow: none; filter: drop-shadow(0 24px 36px rgba(0,0,0,.7)); }

/* save flow: captions share one bottom line, arrows centre on the visuals, captions above the savebar shadow */
@media (min-width: 901px) {
  #save .flow { align-items: stretch; }
  #save .step { grid-template-rows: minmax(0, 1fr) auto; }
  #save .step > div { align-self: center; }
  #save .arrow-li { align-self: center; margin-bottom: 42px; }
}
#save .cap { position: relative; z-index: 1; color: var(--fg); }
#save .card { max-width: 260px; margin: 0 auto; }
#save .card img { border-radius: 10px; }

/* the playing record on the hero desktop shot spins (disc centre 2184.9,1247.5 r 37.6 in the 2560x1440 shot) */
.screen .disc { position: absolute; left: 83.877%; top: 84.019%; width: 2.9375%; aspect-ratio: 1; border-radius: 50%; background: url(img/disc.webp) center / 100% 100% no-repeat; animation: spin 1.8s linear infinite; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .screen .disc { animation: none; } }
/* first view: the same wallpaper gradient as the desktop shot, fading into the black page below */
.hero { position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 60% at 15% 12%, rgba(63,79,134,.95) 0%, transparent 62%),
    radial-gradient(50% 55% at 88% 38%, rgba(107,47,87,.9) 0%, transparent 62%),
    radial-gradient(45% 45% at 58% 8%, rgba(31,94,116,.85) 0%, transparent 60%),
    #141625;
  -webkit-mask-image: linear-gradient(#000 55%, transparent 92%); mask-image: linear-gradient(#000 55%, transparent 92%); }
.nw { white-space: nowrap; }

/* "when it ends, the next one starts": the big view crossfades from the ending song to the next one */
.nextfx { position: relative; width: 100%; max-width: 820px; margin: 0 auto; filter: drop-shadow(0 24px 36px rgba(0,0,0,.7)); }
.nextfx img { display: block; width: 100%; height: auto; border-radius: 0; box-shadow: none; }
.nextfx img.b { position: absolute; inset: 0; opacity: 0; animation: nextfade 7s ease-in-out infinite; }
@keyframes nextfade { 0%, 42% { opacity: 0; } 52%, 92% { opacity: 1; } 100% { opacity: 0; } }
.next-pill { position: absolute; left: 30.5%; top: 44%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(10,10,14,.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font: 700 clamp(12px, 1.3vw, 16px)/1 var(--f); box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 0 24px rgba(255,59,47,.45); opacity: 0; animation: nextpill 7s ease-in-out infinite; pointer-events: none; white-space: nowrap; }
.next-pill svg { width: 14px; height: 14px; fill: var(--red); }
@keyframes nextpill { 0%, 34% { opacity: 0; transform: translate(-50%, -50%) scale(.92); } 40%, 56% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 64%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1); } }
@media (prefers-reduced-motion: reduce) { .nextfx img.b { animation: none; opacity: 1; } .next-pill { animation: none; opacity: 0; } }
/* "next song": text and visual sit together as one centred group */
@media (min-width: 861px) { .split.flip { grid-template-columns: auto minmax(0, 600px); justify-content: center; } }
/* hero desktop: a little narrower and truly centred (padding counted inside the width) */
.stage .screen { box-sizing: border-box; width: min(1040px, 100%); margin-left: auto; margin-right: auto; }

/* the gadget's screen in the hero desktop plays the video on a loop (screen rect in the 2560x1440 shot: 2100,794 409.6x228.65) */
.screen .kv-vid { position: absolute; left: 82.039%; top: 55.139%; width: 16%; height: 15.878%; object-fit: cover; border-radius: 2px; background: #000; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .screen .kv-vid { display: none; } }

/* hero: the gadget alternates between the rock live video and the pop MV */
.scr-in .kv-alt { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.scr-in .kv-vid { transition: opacity .25s ease; }
.scr-in .kv-vid.pop { opacity: 0; }
.scr-in[data-track="1"] .kv-alt, .scr-in[data-track="1"] .kv-vid.pop { opacity: 1; }
.scr-in[data-track="1"] .kv-vid.rock { opacity: 0; }
.scr-in[data-track="1"] .disc { background-image: url(img/disc-pop.webp); }
@media (prefers-reduced-motion: reduce) { .scr-in .kv-alt { display: none; } }

/* Japanese version: Latin letters and numbers in Inter */
:root[data-lang="ja"] { --f-latin: "Inter", "Noto Sans", "Helvetica Neue", Arial; --f-display: "Inter", "Noto Sans", "Helvetica Neue", Arial; }
