/* Kunning Fox Aurora UI — self-hosted, CSS-only neon and frosted-glass layer.
   The original dark geometric motif remains; effects are subtle and responsive. */
:root {
  --kf-aurora-cyan: #70e4ff;
  --kf-aurora-blue: #4b9eff;
  --kf-aurora-violet: #ac8dff;
  --kf-aurora-mint: #78f0d5;
  --kf-glass-edge: rgba(151,208,255,.23);
  --kf-glass-inset: inset 0 1px 0 rgba(220,244,255,.1);
  --kf-neon-shadow: 0 18px 48px rgba(1,9,24,.48),0 0 24px rgba(70,150,255,.08);
}
body.public-site {
  background-color:#08111f;
  background-image:
    radial-gradient(ellipse 750px 690px at 8% 15%,rgba(28,111,179,.23),transparent 68%),
    radial-gradient(ellipse 710px 630px at 95% 54%,rgba(82,46,166,.15),transparent 72%),
    linear-gradient(rgba(5,13,27,.76),rgba(5,13,27,.79)),
    url('/media/img/background/bg_dark.png');
  background-repeat:no-repeat,no-repeat,repeat,repeat;
  background-size:auto,auto,auto,800px 800px;
  background-attachment:fixed;
}
.public-site h1,.public-site h2,.public-site h3 { letter-spacing:-.018em; }
.public-site a:focus-visible,.public-site button:focus-visible,
.public-site input:focus-visible,.public-site select:focus-visible {
  outline:2px solid var(--kf-aurora-cyan);outline-offset:3px;
  box-shadow:0 0 0 5px rgba(67,170,245,.16);
}
/* Sticky navigation stays translucent over content, without sacrificing readability. */
.site-header { border-bottom-color:rgba(111,211,255,.23); }
.site-header::after { content:"";position:absolute;bottom:-1px;left:0;right:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(100,207,255,.62) 45%,rgba(177,139,255,.48) 75%,transparent);
  pointer-events:none; }
.brand-wordmark strong span { color:#77cbff;text-shadow:0 0 22px rgba(48,174,255,.34); }
.main-nav > a::after { background:linear-gradient(90deg,#5cc5ff,#7df4d8);box-shadow:0 0 12px rgba(93,201,255,.5); }
.utility-bar { background:rgba(4,11,26,.82); }
.social-ribbon { background:linear-gradient(90deg,rgba(13,28,52,.77),rgba(26,31,59,.74));
  border-bottom-color:rgba(124,191,255,.18); }
.ribbon-link:hover { background:rgba(67,164,230,.16);box-shadow:inset 0 0 0 1px rgba(94,181,253,.13); }
/* Ambient light in the hero, with artist artwork as the focal point. */
.hero { background-image:
  radial-gradient(ellipse at 85% 48%,rgba(76,161,246,.24),transparent 45%),
  radial-gradient(ellipse at 12% 85%,rgba(115,61,207,.19),transparent 42%),
  linear-gradient(90deg,rgba(5,15,32,.94),rgba(10,24,50,.81) 50%,rgba(8,25,48,.58)),
  image-set(url('/media/img/background/hero-orchestra-geometric.avif') type('image/avif'),url('/media/img/background/back-to-unova.webp') type('image/webp')); }
.hero-gradient { filter:drop-shadow(0 0 22px rgba(78,186,255,.23)); }
.hero-mini { color:#b4d1eb; }
.hero-mini span { padding:5px 10px;border:1px solid rgba(132,203,255,.16);
  background:rgba(15,37,64,.46);border-radius:0; }
.spotlight-disc { box-shadow:10px 20px 48px rgba(0,0,0,.65),0 0 54px rgba(60,141,255,.18); }
.hero-art-link { border-color:rgba(225,247,255,.93);
  box-shadow:6px 20px 45px rgba(0,0,0,.65),0 0 45px rgba(67,162,253,.27); }
/* Buttons retain their painted backgrounds on hover, avoiding flashes. */
.btn-kf-primary { background:#237bea linear-gradient(125deg,#267dff,#2b87d8 54%,#147fa0);
  border-color:rgba(131,213,255,.82);box-shadow:0 9px 29px rgba(15,118,238,.28),var(--kf-glass-inset); }
.btn-kf-primary:hover { filter:brightness(1.12);box-shadow:0 14px 34px rgba(15,118,238,.42),0 0 26px rgba(72,193,255,.15); }
.btn-kf-outline { background:#162a48 linear-gradient(115deg,rgba(42,78,127,.78),rgba(22,44,76,.95));
  border-color:rgba(132,195,255,.48);box-shadow:var(--kf-glass-inset); }
.btn-kf-outline:hover { filter:brightness(1.16);border-color:rgba(134,229,255,.9);box-shadow:0 0 24px rgba(51,166,255,.16),var(--kf-glass-inset); }
/* Frosted surfaces: strong text contrast, faint colored highlights, restrained glow. */
.platform-band { background:linear-gradient(90deg,rgba(8,22,43,.85),rgba(16,36,61,.81));border-bottom-color:var(--kf-glass-edge); }
.platform-band-links a,.contact-links a { border-color:rgba(136,194,251,.27);
  background:linear-gradient(135deg,rgba(47,91,137,.37),rgba(16,40,71,.46));
  box-shadow:var(--kf-glass-inset);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px); }
.platform-band-links a:hover,.contact-links a:hover { border-color:rgba(119,225,255,.78);
  background:linear-gradient(135deg,rgba(60,135,194,.49),rgba(29,72,108,.65));box-shadow:0 0 20px rgba(66,164,255,.14); }
.album-grid { gap:20px; }
.release-card { position:relative;isolation:isolate;
  background:linear-gradient(160deg,rgba(43,68,105,.72) 0%,rgba(21,39,67,.82) 43%,rgba(10,25,45,.95) 100%);
  border:1px solid rgba(125,183,237,.27);border-radius:0;
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  box-shadow:var(--kf-neon-shadow),var(--kf-glass-inset); }
.release-card:hover { border-color:rgba(121,226,255,.8);transform:translateY(-5px);
  box-shadow:0 22px 55px rgba(2,8,23,.62),0 0 27px rgba(58,154,241,.18),var(--kf-glass-inset); }
.release-cover-link { border-bottom:1px solid rgba(143,206,253,.25); }
.release-cover-link::after { content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(160deg,rgba(126,198,255,.1),transparent 36%,rgba(6,14,28,.14)); }
.release-card:hover .release-cover-link>picture>img { transform:scale(1.035); }
.release-cover-type { background:rgba(17,36,68,.27);border-color:rgba(171,224,255,.58);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 7px 20px rgba(3,13,26,.38),0 0 16px rgba(89,187,252,.15); }
.release-card-body { background:linear-gradient(160deg,rgba(31,58,91,.24),rgba(11,27,49,.31)); }
.release-eyebrow { gap:6px; }
.release-eyebrow span { color:#82d9ff; }
.release-eyebrow time { text-transform:none;letter-spacing:.01em;white-space:nowrap;
  color:#a9c6e4;font-variant-numeric:tabular-nums; }
.release-card h3 a:hover { color:#9be6ff; }
.source-more { border-color:rgba(115,214,255,.35);background:rgba(28,107,156,.35);border-radius:0; }
.quick-platform { background:linear-gradient(130deg,rgba(49,100,153,.28),rgba(20,45,78,.34));
  border-color:rgba(126,190,248,.26);border-radius:0;box-shadow:var(--kf-glass-inset); }
.quick-platform:hover { background:rgba(49,131,191,.38);border-color:rgba(112,220,255,.7);
  box-shadow:0 0 20px rgba(55,169,255,.15); }
.quick-more:hover { color:var(--kf-aurora-mint)!important;text-shadow:0 0 18px rgba(105,241,214,.55); }
.news-section { background:linear-gradient(90deg,rgba(9,20,38,.37),rgba(34,26,67,.16)); }
.article-card,.info-panel,.stacked-form,.filter-bar {
  background:linear-gradient(150deg,rgba(38,63,96,.74),rgba(15,32,55,.83));
  border:1px solid var(--kf-glass-edge);border-radius:0;
  box-shadow:var(--kf-neon-shadow),var(--kf-glass-inset);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px); }
.article-card { transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
.article-card:hover { transform:translateY(-3px);border-color:rgba(125,221,255,.7);box-shadow:0 17px 40px rgba(1,10,29,.38),0 0 22px rgba(72,159,239,.13); }
.article-card time { letter-spacing:.025em;text-transform:none; }
.support-section { background:
  radial-gradient(ellipse at 85% 50%,rgba(136,71,215,.22),transparent 58%),
  linear-gradient(105deg,rgba(19,48,87,.96),rgba(21,62,97,.9) 65%,rgba(30,36,84,.93));
  border-color:rgba(125,202,255,.33); }
.support-section::after { color:rgba(151,186,251,.085); }
.site-footer { background:linear-gradient(160deg,#080f20,#0b1629);border-top-color:rgba(110,182,255,.19); }
.footer-brand em { color:#82d2ff;text-shadow:0 0 19px rgba(76,167,255,.37); }
.page-heading-band { background:radial-gradient(ellipse at 85% 10%,rgba(75,104,192,.24),transparent 57%),
  linear-gradient(90deg,rgba(13,31,59,.95),rgba(19,46,77,.88));border-bottom-color:var(--kf-glass-edge); }
.album-meta>div,.release-rights { background:linear-gradient(150deg,rgba(39,66,99,.57),rgba(14,33,58,.74));
  border-color:var(--kf-glass-edge);border-radius:0;box-shadow:var(--kf-glass-inset);
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px); }
.provider-button { background:linear-gradient(135deg,rgba(39,81,128,.67),rgba(21,44,78,.75));
  border-color:rgba(123,194,248,.36);border-radius:0;box-shadow:var(--kf-glass-inset); }
.provider-button:hover { background:linear-gradient(135deg,rgba(51,117,180,.79),rgba(32,69,110,.87));
  border-color:rgba(120,230,255,.89);box-shadow:0 0 22px rgba(64,170,244,.2); }
.filter-bar select,.filter-bar input,.stacked-form input,.stacked-form textarea {
  border-color:rgba(127,193,240,.42);background:rgba(9,25,47,.73);border-radius:0; }
.filter-bar button,.stacked-form button { background:linear-gradient(125deg,#207cec,#247bca);
  border-color:rgba(119,204,255,.78);border-radius:0;box-shadow:0 5px 19px rgba(25,120,215,.19); }
.filter-bar button:hover,.stacked-form button:hover { background:linear-gradient(125deg,#308cf6,#2b97d8); }
.share-copy { border-radius:0;background:rgba(39,84,129,.75);border-color:rgba(132,197,255,.54); }
@media (max-width:940px) {
  .main-nav { background:rgba(12,26,48,.96);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px); }
}
@media (max-width:690px) {
  body.public-site { background-attachment:scroll; }
  .album-grid { gap:12px; }
  .release-card { border-radius:0; backdrop-filter:none; -webkit-backdrop-filter:none; }
  .release-eyebrow time { font-size:.7rem; white-space:normal; overflow-wrap:break-word; }
  .hero-mini span { padding:4px 8px; }
}
@media (prefers-reduced-motion:reduce) {
  .release-card:hover,.article-card:hover,.provider-button:hover { transform:none; }
  .hero-gradient { filter:none; }
}

/* Poly, languages and popovers (all assets and behavior hosted locally). */
.language-picker { position:relative;z-index:140; }
.language-toggle { list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px;
  min-height:34px;padding:5px 11px;border-radius:0;border:1px solid rgba(133,203,252,.31);
  background:rgba(38,76,117,.25);font-size:.82rem;font-weight:800;color:#eaf7ff;
  transition:border-color .2s ease,background-color .2s ease; }
.language-toggle::-webkit-details-marker { display:none; }
.language-toggle:hover,.language-picker[open] .language-toggle { border-color:rgba(118,222,252,.76);background:rgba(42,104,149,.36); }
.language-toggle:focus-visible { outline:2px solid #7bdfff;outline-offset:3px; }
.language-current-flag { width:19px;height:14px;object-fit:cover;border-radius:0; }
.language-chevron { color:#9fdbff;font-size:1.1rem;line-height:1;transition:transform .2s ease; }
.language-picker[open] .language-chevron { transform:rotate(180deg); }
.language-menu { position:absolute;right:0;top:calc(100% + 12px);width:min(325px,calc(100vw - 30px));
  max-height:min(70vh,480px);overflow-y:auto;padding:14px;border-radius:0;
  border:1px solid rgba(126,217,253,.39);background:rgba(10,25,48,.96);
  box-shadow:0 20px 50px rgba(0,0,0,.6),0 0 25px rgba(48,147,255,.16);
  backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px); }
.language-menu-heading { margin:2px 7px 9px;font-size:.73rem;letter-spacing:.12em;
  color:#95b9db;text-transform:uppercase;font-weight:800; }
.language-options { display:grid;grid-template-columns:1fr;gap:3px; }
.language-options a { display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:10px;
  min-height:40px;padding:8px 10px;border:1px solid transparent;border-radius:0;
  color:#d4e8fa;font-size:.88rem;font-weight:700; }
.language-options a:hover,.language-options a:focus-visible,.language-options a[aria-current=page] {
  color:#fff;background:rgba(53,115,171,.32);border-color:rgba(126,209,255,.36); }
.language-options img { width:21px;height:15px;object-fit:cover;border-radius:0; }
.language-options small { color:#9ec4e5;font-size:.73rem; }
/* The +N trigger is a real button; Popper positions its accessible content. */
.release-sources { display:block; }
.source-more { cursor:pointer;min-height:24px;padding:2px 8px;line-height:1.1;vertical-align:baseline;
  border:1px solid rgba(115,214,255,.42);font-family:inherit;color:#cfeeff; }
.source-more:hover,.source-more:focus-visible { border-color:#8eeaff;color:#fff;
  background:rgba(29,124,181,.55);box-shadow:0 0 16px rgba(73,190,255,.22); }
.kf-source-popover { --bs-popover-max-width:320px;--bs-popover-bg:#102741;
  --bs-popover-border-color:rgba(123,218,255,.49);--bs-popover-header-bg:#193856;
  --bs-popover-header-color:#dff4ff;--bs-popover-body-color:#cde7f7;
  box-shadow:0 14px 40px rgba(0,0,0,.5),0 0 24px rgba(45,166,246,.19); }
.kf-source-popover .popover-body { white-space:pre-line;overflow-wrap:anywhere;line-height:1.65;max-height:260px;overflow-y:auto; }
/* Poly keeps the original transparent silhouette rather than a cropped square. */
.poly-section { overflow:hidden;position:relative;padding:28px 0 36px;
  border-top:1px solid rgba(135,208,255,.16);border-bottom:1px solid rgba(135,208,255,.15);
  background:radial-gradient(ellipse at 18% 65%,rgba(36,172,198,.14),transparent 58%),
    linear-gradient(112deg,rgba(9,25,48,.89),rgba(16,32,65,.83)); }
.poly-inner { display:grid;grid-template-columns:minmax(200px,.8fr) minmax(0,1.2fr);
  align-items:center;gap:clamp(25px,6vw,90px); }
.poly-portrait { position:relative;display:flex;align-items:center;justify-content:center;min-height:335px;isolation:isolate; }
.poly-portrait::before { content:"";position:absolute;z-index:-1;inset:9% 4%;border-radius:50%;
  background:radial-gradient(circle,rgba(52,193,211,.25),rgba(67,129,211,.12) 48%,transparent 70%);
  filter:blur(25px); }
.poly-portrait img { position:relative;width:min(100%,260px);height:auto;object-fit:contain;
  filter:drop-shadow(0 15px 28px rgba(0,0,0,.42)) drop-shadow(0 0 24px rgba(30,192,205,.16));
  animation:poly-float 7s ease-in-out infinite; }
.poly-copy { padding:28px 0;max-width:600px; }
.poly-copy h2 { font-size:clamp(2rem,4.1vw,3.5rem);margin:0 0 18px; }
.poly-copy p:not(.eyebrow) { color:#c4ddee;font-size:1.12rem;line-height:1.7;margin:0 0 23px;max-width:52ch; }
.poly-about { display:flex;align-items:center;gap:24px;margin:29px 0;padding:18px 24px;
  border:1px solid rgba(121,207,244,.26);border-radius:0;
  background:linear-gradient(120deg,rgba(24,72,98,.31),rgba(30,47,85,.24)); }
.poly-about img { width:100px;height:auto;flex-shrink:0;filter:drop-shadow(0 0 16px rgba(20,185,196,.2)); }
.poly-about h2 { margin:0 0 9px;font-size:1.4rem; }
.poly-about p { margin:0!important; }
@keyframes poly-float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-10px); } }
@media (max-width:690px) {
  .language-menu { right:-5px; }
  .poly-inner { grid-template-columns:1fr;gap:0; }
  .poly-portrait { min-height:230px;padding-top:20px; }
  .poly-portrait img { width:min(48vw,205px); }
  .poly-copy { text-align:center;padding:5px 0 30px; }
  .poly-copy p:not(.eyebrow) { margin-left:auto;margin-right:auto; }
  .poly-about { flex-direction:column;text-align:center;padding:20px; }
  .poly-about img { width:105px; }
}
@media (prefers-reduced-motion:reduce) {
  .poly-portrait img { animation:none; }
  .language-chevron { transition:none; }
}

/* Source explorer: restore the original series > game taxonomy without a dropdown. */
.music-catalogue .catalogue-heading { display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:23px; }
.catalogue-heading h1 { margin:0;font-size:clamp(2.25rem,4.5vw,3.45rem); }
.catalogue-clear { color:#a2ddff!important;white-space:nowrap;font-size:.9rem;font-weight:800;border-bottom:1px solid rgba(139,201,255,.47); }
.catalogue-clear:hover { color:#fff!important;border-bottom-color:#fff; }
.music-catalogue .filter-bar { grid-template-columns:repeat(4,minmax(135px,1fr)) auto; }
.music-catalogue .filter-bar>label:last-of-type { grid-column:auto; }
.source-browser { margin:0 0 32px;padding:clamp(17px,3vw,26px);
  border:1px solid rgba(121,200,251,.29);border-radius:0;
  background:linear-gradient(140deg,rgba(22,43,73,.83),rgba(13,28,52,.88));
  box-shadow:var(--kf-neon-shadow),inset 0 1px 0 rgba(210,241,255,.1); }
.source-browser-header { display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 15px; }
.source-browser-header h2 { margin:0 0 4px;font-size:1.28rem;color:#f3faff; }
.source-browser-header p { margin:0;color:#b3cfe7;font-size:.91rem; }
.source-active { padding:7px 13px;border:1px solid rgba(114,215,255,.3);border-radius:0;
  background:rgba(16,79,125,.2);color:#a9d4f0;font-size:.79rem;white-space:normal; }
.source-active strong { color:#effaff; }
.source-all,.source-choice { display:inline-flex;align-items:center;gap:5px;padding:9px 15px;border-radius:0;
  border:1px solid rgba(129,189,235,.29);background:rgba(39,84,130,.23);
  color:#d7eaff!important;font-size:.89rem;font-weight:700;line-height:1.25;
  transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease; }
.source-all:hover,.source-choice:hover { background:rgba(49,134,187,.4);border-color:#81dbfa;color:#fff!important; }
.source-all.is-active,.source-choice.is-active { border-color:#77d7ff;color:#fff!important;
  background:linear-gradient(120deg,rgba(38,123,199,.75),rgba(34,120,148,.67));
  box-shadow:0 0 20px rgba(45,156,235,.19); }
.source-all { margin-bottom:17px; }
.source-families { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start; }
.source-family { overflow:hidden;border:1px solid rgba(123,196,251,.25);border-radius:0;
  background:linear-gradient(132deg,rgba(22,51,88,.68),rgba(15,30,55,.58)); }
.source-family[open] { border-color:rgba(124,211,255,.53);box-shadow:0 6px 25px rgba(10,37,70,.18); }
.source-family>summary { list-style:none;display:flex;align-items:center;gap:9px;
  min-height:48px;padding:12px 15px;cursor:pointer;color:#e9f7ff;font-weight:800; }
.source-family>summary::-webkit-details-marker { display:none; }
.source-family>summary:hover { background:rgba(55,125,186,.2); }
.source-family>summary:focus-visible { outline:2px solid #82defe;outline-offset:-3px; }
.source-family-count { margin-left:auto;min-width:25px;text-align:center;padding:2px 7px;border-radius:0;
  background:rgba(91,175,222,.16);border:1px solid rgba(113,195,239,.21);font-size:.74rem;color:#a5d8f7; }
.source-family-chevron { color:#8bd9ff;transition:transform .17s ease; }
.source-family[open] .source-family-chevron { transform:rotate(180deg); }
.source-choices { display:flex;flex-wrap:wrap;gap:8px;padding:13px 14px 16px;
  border-top:1px solid rgba(139,201,241,.19); }
.source-choice { font-size:.8rem;padding:8px 11px;border-radius:0;white-space:normal;text-align:left; }
.source-choice-all { width:100%;justify-content:center;border-style:dashed; }
.catalogue-empty { padding:35px 0;color:#b6d0e5;font-size:1.1rem; }
/* A clear artist introduction; the first paragraph leads the story. */
.about-biography { display:grid;gap:4px; }
.about-biography>p { margin:0 0 16px;line-height:1.85; }
.about-biography>p:first-child { color:#f2f9ff;font-size:1.17rem; }
/* Release milestones follow the site's sharp-corner, high-contrast visual style. */
.about-milestones { margin:25px 0 34px; }
.about-milestones>h2 { margin:0 0 17px;color:#ecf9ff;font-size:clamp(1.35rem,2.6vw,1.7rem); }
.about-milestones-list { display:grid;gap:10px;list-style:none;padding:0;margin:0; }
.about-milestone { display:grid;grid-template-columns:105px minmax(0,1fr);gap:20px;
  padding:19px 20px;border-left:3px solid rgba(102,207,255,.75);
  border-top:1px solid rgba(125,199,238,.22);border-right:1px solid rgba(125,199,238,.14);
  border-bottom:1px solid rgba(125,199,238,.14);
  background:linear-gradient(110deg,rgba(29,80,115,.35),rgba(14,31,60,.36)); }
.about-milestone-period { padding-top:2px;color:#9ee6ff;font-size:.88rem;font-weight:800;
  letter-spacing:.025em;white-space:nowrap; }
.about-milestone h3 { margin:0 0 9px;color:#f5fbff;font-size:1.17rem; }
.about-milestone p { margin:0 0 10px;color:#c6ddec;font-size:1rem;line-height:1.68; }
.about-milestone-link { display:inline-flex;align-items:center;gap:9px;color:#9ee6ff;
  text-decoration:none;font-weight:800;font-size:.91rem; }
.about-milestone-link:hover { color:#fff;text-decoration:underline;text-underline-offset:3px; }
.about-milestone-link:focus-visible { outline:2px solid #9ee6ff;outline-offset:4px; }
@media (max-width:690px) {
  .about-milestone { grid-template-columns:1fr;gap:7px;padding:16px; }
  .about-milestone-period { padding-top:0; }
}
/* The old hero heading could wrap into three large lines in English. */
.hero-copy h1 { font-size:clamp(2.55rem,4.3vw,4.15rem);line-height:1.065;max-width:740px; }
/* Only the page contents change during same-origin navigation; player host stays put. */
#main-content[aria-busy="true"] { opacity:.62;transition:opacity .14s ease; }
#main-content:focus { outline:none; }
@media (max-width:940px) {
  .music-catalogue .filter-bar { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .music-catalogue .filter-bar>button { grid-column:1/-1; }
}
@media (max-width:690px) {
  .hero-copy h1 { font-size:clamp(2.4rem,8vw,3.35rem);line-height:1.08; }
  .source-families { grid-template-columns:1fr; }
  .source-browser-header { flex-direction:column;align-items:start;gap:10px; }
  .source-all { margin-bottom:12px; }
  .source-family>summary { min-height:46px; }
  .music-catalogue .catalogue-heading { align-items:center; }
  .catalogue-clear { font-size:.77rem; }
}
@media (max-width:375px) {
  .music-catalogue .filter-bar { grid-template-columns:1fr; }
  .music-catalogue .filter-bar>button { grid-column:auto; }
}
@media (prefers-reduced-motion:reduce) {
  #main-content[aria-busy="true"] { transition:none; }
  .source-family-chevron { transition:none; }
}


/* Interactive source families: smooth height reveal via the Web Animations API. */
.source-family { position:relative; transition:border-color .28s ease, box-shadow .3s ease; }
.source-family[open] { box-shadow:0 12px 35px rgba(20,96,177,.2),0 0 18px rgba(66,174,238,.1); }
.source-family[open] > summary { background:linear-gradient(115deg,rgba(54,128,189,.24),rgba(70,68,168,.14)); }
.source-choices-viewport { overflow:hidden; }
.source-choices { transform-origin:top center; }
.source-family > summary::before { content:""; align-self:stretch; flex:0 0 3px; border-radius:0;
  background:linear-gradient(#74edff,#8b93ff); box-shadow:0 0 10px rgba(95,213,255,.6);
  opacity:0; transform:scaleY(.18); transform-origin:center;
  transition:opacity .34s ease,transform .42s cubic-bezier(.22,1,.36,1); }
.source-family[open] > summary::before { opacity:1; transform:scaleY(1); }
.source-family[open] > summary .source-family-chevron { filter:drop-shadow(0 0 7px rgba(100,229,255,.8)); }
@keyframes source-open-glow { from { box-shadow:0 0 0 rgba(75,186,255,0); } 55% { box-shadow:0 0 29px rgba(67,180,255,.29); } to { box-shadow:0 12px 35px rgba(20,96,177,.2); } }
.source-family.is-animating { animation:source-open-glow .38s ease-out; }

/* Unbroken social scroll positions when hovering, focusing and dragging. */
.ribbon-marquee { scrollbar-width:none; touch-action:pan-x pan-y; }
.ribbon-marquee .ribbon-link { cursor:pointer; }
.ribbon-marquee.is-dragging .ribbon-link { cursor:grabbing; }

/* Non-modal loading layer: intercept page clicks, but keep header navigation live.
   A single shade fades on its own; Poly has no opaque panel. */
html { scrollbar-gutter:stable; }
html.kf-navigation-locked { overflow:hidden; overscroll-behavior:none; }
html.kf-navigation-locked body { overscroll-behavior:none; }
.utility-bar { position:relative; z-index:110; }
.site-header { z-index:105; }
.page-loading-overlay { box-sizing:border-box; position:fixed; inset:0; z-index:90; margin:0;
  width:100%; height:100%; height:100dvh; padding:0;
  border:0; color:#f3faff; background:transparent; pointer-events:auto; touch-action:none;
  display:grid; place-items:center; overflow:hidden; }
.page-loading-overlay[hidden] { display:none!important; }
.page-loading-shade { position:absolute; inset:0; z-index:0; pointer-events:none;
  background:rgba(3,10,26,.64);
  backdrop-filter:blur(7px) saturate(130%); -webkit-backdrop-filter:blur(7px) saturate(130%);
  opacity:0; transition:opacity .3s ease-in-out; }
.page-loading-overlay.is-active .page-loading-shade { opacity:1; }
.page-loading-inner { position:relative; z-index:1; display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:10px; padding:30px; text-align:center; background:transparent; border:0; box-shadow:none; }
.page-loading-orbit { position:relative; display:grid; place-items:center; width:150px; height:168px; }
.page-loading-orbit::before { content:""; position:absolute; width:140px; height:140px; border:1px solid rgba(115,213,255,.35); border-radius:50%;
  border-top-color:#6ce9ff; border-right-color:#9a85ff; box-shadow:0 0 38px rgba(68,170,255,.19); animation:page-loading-spin 2.8s linear infinite; }
.page-loading-orbit::after { content:""; position:absolute; width:118px; height:118px; border:1px dashed rgba(121,238,213,.45); border-radius:50%;
  animation:page-loading-spin 5s linear infinite reverse; }
.page-loading-orbit img { width:104px; height:140px; object-fit:contain; filter:drop-shadow(0 8px 23px rgba(45,190,234,.24)); }
.page-loading-brand { font-size:1.5rem; font-weight:900; letter-spacing:.025em; margin:2px 0 0; }
.page-loading-brand span { color:#79d7ff; text-shadow:0 0 20px rgba(88,196,255,.5); }
.page-loading-label { font-size:.95rem; color:#a7cce7; letter-spacing:.04em; margin:0; }
.page-loading-bar { width:144px; height:3px; border-radius:0; overflow:hidden; background:rgba(104,176,234,.18); margin-top:14px; }
.page-loading-bar span { display:block; width:35%; height:100%; border-radius:0; background:linear-gradient(90deg,#70d9ff,#8d9aff,#7cf5da);
  box-shadow:0 0 14px rgba(84,192,255,.5); animation:page-loading-progress 1.15s ease-in-out infinite alternate; }
@keyframes page-loading-spin { to { transform:rotate(360deg); } }
@keyframes page-loading-progress { from {transform:translateX(-110%)} to {transform:translateX(295%)} }
@media (prefers-reduced-motion:reduce) {
  .page-loading-orbit::before,.page-loading-orbit::after,.page-loading-bar span,
  .source-family.is-animating { animation:none!important; }
}

/* One consistent glass-lit page header across the entire public site. */
.page-heading-band.page-heading-shared {
  position:relative; isolation:isolate; overflow:hidden;
  background:
    radial-gradient(ellipse 450px 240px at 92% 5%,rgba(86,88,187,.26),transparent 78%),
    radial-gradient(ellipse 560px 260px at 7% 90%,rgba(32,142,199,.2),transparent 75%),
    linear-gradient(105deg,rgba(10,30,56,.96),rgba(17,39,68,.92));
}
.page-heading-band.page-heading-shared::after {
  content:""; position:absolute; bottom:0; left:0; right:0; height:1px; pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(101,211,255,.6),rgba(168,134,254,.38),transparent);
}
.page-heading-shared .page-heading-row { position:relative; z-index:1; }
.page-heading-shared h1 { text-shadow:0 2px 24px rgba(48,136,221,.12); }
.page-heading-shared .eyebrow { color:#b2cfea; }
.page-heading-action { border-color:rgba(124,205,255,.48); }
.source-family.is-animating .source-choice { will-change:transform,opacity; }
@media (prefers-reduced-motion:reduce) {
  .source-family.is-animating .source-choice { will-change:auto; }
}

/* Mobile listening destinations: two readable columns instead of clipped chips. */
@media (max-width:690px) {
  .platform-band-inner { min-width:0; }
  .platform-band-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
    width:100%; min-width:0; gap:9px; overflow:visible; padding:0; }
  .platform-band-links a { display:flex; min-width:0; width:100%; min-height:50px;
    padding:10px 11px; gap:9px; white-space:normal; border-radius:0;
    justify-content:flex-start; line-height:1.25; }
  .platform-band-links a span { min-width:0; overflow-wrap:anywhere; }
  .platform-band-links a :is(img,.kf-brand-svg) { flex:0 0 18px; width:18px; height:18px; }
  .platform-band-links a:last-child:nth-child(odd) { grid-column:1/-1; }
}
@media (prefers-reduced-motion:reduce) {
  .source-family > summary::before { transition:none; }
}
/* Shared social sharing actions: subtle branded glow, all icons self-hosted. */
.share-actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.share-action { display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-height:41px; padding:9px 13px; border:1px solid rgba(134,196,255,.38);
  border-radius:0; color:#dfedff!important; font:700 .86rem/1.1 inherit;
  background:linear-gradient(125deg,rgba(36,81,125,.58),rgba(20,46,82,.75));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.09);
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease; }
.share-action:hover { border-color:rgba(115,220,255,.9); color:#fff!important;
  box-shadow:0 0 22px rgba(69,174,246,.2),inset 0 1px 0 rgba(255,255,255,.12);
  transform:translateY(-2px); }
.share-action img { width:16px; height:16px; flex:none; object-fit:contain;
  filter:brightness(0) invert(1); }
.share-action.share-reddit:hover { border-color:rgba(255,140,93,.85); }
.share-action.share-facebook-f:hover { border-color:rgba(120,174,255,.9); }
.share-action.share-vk:hover { border-color:rgba(106,197,255,.9); }
.share-copy { cursor:pointer; font-family:inherit; }
.share-copy-glyph { font-size:1.3rem; font-weight:600; line-height:.7; }
.share-feedback { flex-basis:100%; min-height:0; }
@media (max-width:690px) {
  .share-row { align-items:flex-start; flex-direction:column; }
  .share-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); width:100%; }
  .share-action { min-width:0; padding:10px 8px; }
  .share-actions>.share-copy { grid-column:1/-1; }
}
@media (prefers-reduced-motion:reduce) {
  .share-action { transition:none; }
  .share-action:hover { transform:none; }
}

/* Compositor-driven, genuinely continuous social marquee; CSS fallback when JS is off. */
.ribbon-marquee { overflow-x:hidden; touch-action:pan-y; }
.ribbon-track { animation:kf-ribbon-loop var(--kf-ribbon-duration,65s) linear infinite; }
.ribbon-marquee.is-dragging { cursor:grabbing; }
@media (prefers-reduced-motion:reduce) {
  .ribbon-marquee { overflow-x:auto; touch-action:pan-x pan-y; }
  .ribbon-track { animation:none; transform:none; will-change:auto; }
}

/* Decorative parallax lives in its own oversized layer, not the hero text. */
.hero { --kf-hero-offset:0px; background-image:
  radial-gradient(ellipse at 85% 48%,rgba(76,161,246,.21),transparent 45%),
  radial-gradient(ellipse at 12% 85%,rgba(115,61,207,.17),transparent 42%); }
.hero::before { content:""; position:absolute; z-index:-2; pointer-events:none;
  inset:-28% 0; background-image:
  linear-gradient(90deg,rgba(5,15,32,.82),rgba(10,24,50,.68) 50%,rgba(8,25,48,.45)),
  url('/media/img/background/back-to-unova.webp');
  background-image:
  linear-gradient(90deg,rgba(5,15,32,.82),rgba(10,24,50,.68) 50%,rgba(8,25,48,.45)),
  image-set(url('/media/img/background/hero-orchestra-geometric.avif') type('image/avif'),url('/media/img/background/back-to-unova.webp') type('image/webp'));
  background-position:48% center; background-size:cover;
  /* Soft-focus the image layer without blurring the hero's content. */
  filter:blur(3px);
  transform:translate3d(0,var(--kf-hero-offset),0); will-change:transform; }

/* Unframed 3D sleeve: release page and expanded player share the same tilt.
 * Retain a subtle depth shadow, without artificial point light or border. */
.album-art { perspective:1150px; }
.album-art-tilt { position:relative; isolation:isolate; transform-style:preserve-3d;
  --kf-tilt-x:2deg; --kf-tilt-y:-5deg;
  transform:rotateX(var(--kf-tilt-x)) rotateY(var(--kf-tilt-y));
  transition:transform .48s cubic-bezier(.22,1,.36,1);
  filter:drop-shadow(15px 18px 21px rgba(2,9,22,.35)); }
.album-art-tilt .album-main-cover { width:100%; display:block; }
.album-art-tilt .artwork-fallback { width:100%; aspect-ratio:1; }
.album-art-tilt + .cover-caption { margin-top:18px; }

/* Poly is delayed independently from the translucent shade. */
.page-loading-inner { transform:translate3d(0,12px,0) scale(.96); opacity:0;
  transition:opacity .32s ease,transform .32s cubic-bezier(.2,.8,.25,1); }
.page-loading-overlay.is-visible .page-loading-inner { transform:translate3d(0,0,0) scale(1); opacity:1; }
@media (max-width:690px) {
  .hero::before { inset:-5% 0; background-position:42% center; transform:none; will-change:auto;
    /* The asset builder replaces only the marked mobile URL. The original
     * remains the working fallback when a production build is unavailable. */
    background-image:linear-gradient(90deg,rgba(5,15,32,.82),rgba(10,24,50,.68) 50%,rgba(8,25,48,.45)),
      image-set(/* kf-mobile-hero */ url('/media/img/background/hero-orchestra-geometric.avif') type('image/avif'),url('/media/img/background/back-to-unova.webp') type('image/webp')); }
  .album-art-tilt { transform:none; filter:none; }
}
@media (prefers-reduced-motion:reduce) {
  .hero::before { transform:none!important; will-change:auto; }
  .album-art-tilt { transform:none!important; transition:none; filter:none; }
  .page-loading-shade,.page-loading-inner { transition:none!important; animation:none!important; }
}
