:root {
  --ink: #1d1d1f;
  --ink-soft: #424245;
  --muted: #6e6e73;
  --muted-2: #86868b;
  --surface: #ffffff;
  --soft: #f5f5f7;
  --soft-2: #fbfbfd;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.14);
  --line-dark: rgba(255, 255, 255, 0.16);
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --blue-soft: rgba(0, 113, 227, 0.12);
  --button-primary-bg: #f5f5f7;
  --button-primary-hover: #ffffff;
  --button-primary-text: #1d1d1f;
  --poster-shadow: rgba(0, 0, 0, 0.14);
  --poster-shadow-hover: rgba(0, 0, 0, 0.2);
  --card-surface: #f5f5f7;
  --card-hover: #ffffff;
  --card-border: rgba(0, 0, 0, 0.06);
  --card-hover-border: rgba(0, 0, 0, 0.12);
  --card-shadow: rgba(0, 0, 0, 0.06);
  --pill-surface: rgba(0, 0, 0, 0.05);
  --pill-surface-hover: rgba(0, 0, 0, 0.08);
  --transition-surface: #ffffff;
  --transition-line: rgba(0, 0, 0, 0.08);
  --transition-handle: rgba(0, 0, 0, 0.16);
  --header-scrolled-text: var(--ink);
  --header-scrolled-bg: rgba(251, 251, 253, 0.72);
  --header-scrolled-border: rgba(0, 0, 0, 0.06);
  --header-control-bg: rgba(0, 0, 0, 0.05);
  --header-control-hover: rgba(0, 0, 0, 0.08);
  --header-control-active-bg: rgba(255, 255, 255, 0.86);
  --header-control-active-shadow: 0 1px 7px rgba(0, 0, 0, 0.08);
  --island-surface: rgba(255, 255, 255, 0.78);
  --island-text: #1d1d1f;
  --island-muted: rgba(29, 29, 31, 0.56);
  --island-line: rgba(0, 0, 0, 0.08);
  --island-key-bg: rgba(29, 29, 31, 0.06);
  --island-accent: #0071e3;
  --island-accent-soft: rgba(0, 113, 227, 0.12);
  --island-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
  --menu-surface: rgba(255, 255, 255, 0.78);
  --menu-border: rgba(0, 0, 0, 0.06);
  --menu-shadow: 0 24px 64px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
  --menu-divider: rgba(0, 0, 0, 0.06);
  --avatar-ring: rgba(0, 0, 0, 0.08);
  --avatar-ring-hover: rgba(0, 113, 227, 0.32);
  --radius: 16px;
  --radius-lg: 22px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --surface-alt: var(--soft);
  --liquid-glass-strength: 1;
  --glass-bg-light: rgba(255, 255, 255, 0.12);
  --glass-bg-medium: rgba(255, 255, 255, 0.18);
  --glass-bg-heavy: rgba(255, 255, 255, 0.28);
  --glass-bg-dark-light: rgba(0, 0, 0, 0.12);
  --glass-bg-dark-medium: rgba(0, 0, 0, 0.25);
  --glass-blur-sm: blur(8px);
  --glass-blur-md: blur(16px);
  --glass-blur-lg: blur(32px);
  --glass-blur-xl: blur(48px);
  --glass-filter-sm: blur(calc(8px * var(--liquid-glass-strength, 1))) saturate(1.8);
  --glass-filter-md: blur(calc(16px * var(--liquid-glass-strength, 1))) saturate(1.8);
  --glass-filter-lg: blur(calc(32px * var(--liquid-glass-strength, 1))) saturate(1.8);
  --glass-filter-xl: blur(calc(48px * var(--liquid-glass-strength, 1))) saturate(1.8);
  --glass-filter-navbar: blur(calc(24px * var(--liquid-glass-strength, 1))) saturate(2);
  --glass-filter-modal: blur(calc(40px * var(--liquid-glass-strength, 1))) saturate(1.6);
  --glass-border-light: 1px solid rgba(255, 255, 255, 0.35);
  --glass-border-medium: 1px solid rgba(255, 255, 255, 0.20);
  --glass-border-dark: 1px solid rgba(255, 255, 255, 0.08);
  --glass-inner-glow: inset 0 1px 1px rgba(255, 255, 255, 0.55),
                      inset 0 -1px 1px rgba(0, 0, 0, 0.08);
  --glass-shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.05);
  --glass-shadow-md: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
  --glass-shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.18), 0 4px 16px rgba(0, 0, 0, 0.10);
  --glass-highlight-gradient: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.30) 0%,
    rgba(255, 255, 255, 0.00) 100%
  );
  --glass-saturate: saturate(1.8);
  --liquid-glass-card-filter: blur(calc(20px * var(--liquid-glass-strength, 1))) saturate(1.8);
  --liquid-glass-btn-filter: blur(calc(12px * var(--liquid-glass-strength, 1))) saturate(1.5);
  --liquid-glass-chip-filter: blur(calc(20px * var(--liquid-glass-strength, 1))) saturate(1.8);
  --liquid-glass-map-filter: blur(calc(10px * var(--liquid-glass-strength, 1))) saturate(1.8);
  --liquid-glass-queue-filter: blur(calc(26px * var(--liquid-glass-strength, 1))) saturate(1.8);
  color-scheme: light;
  color: var(--ink);
}

html[data-glass="low"] { --liquid-glass-strength: 0.5; }
html[data-glass="high"] { --liquid-glass-strength: 1.6; }
html[data-glass="off"] { --liquid-glass-strength: 0; }

html[data-glass="off"] *,
html[data-glass="off"] *::before,
html[data-glass="off"] *::after {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* The header keeps its liquid glass even when the global glass toggle is off. */
html[data-glass="off"] .site-header {
  background: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: var(--glass-filter-navbar) !important;
  backdrop-filter: var(--glass-filter-navbar) !important;
}

html[data-glass="off"] .site-header.scrolled {
  background: var(--header-scrolled-bg);
  -webkit-backdrop-filter: var(--glass-filter-navbar) !important;
  backdrop-filter: var(--glass-filter-navbar) !important;
}

html[data-theme="dark"] {
  --ink: #f5f5f7;
  --ink-soft: #d2d2d7;
  --muted: #a1a1a6;
  --muted-2: #86868b;
  --surface: #000000;
  --soft: #161617;
  --soft-2: #1d1d1f;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --blue: #2997ff;
  --blue-hover: #4faaff;
  --blue-soft: rgba(41, 151, 255, 0.18);
  --button-primary-bg: #ffffff;
  --button-primary-hover: #f5f5f7;
  --button-primary-text: #1d1d1f;
  --poster-shadow: rgba(0, 0, 0, 0.48);
  --poster-shadow-hover: rgba(0, 0, 0, 0.6);
  --card-surface: #1c1c1e;
  --card-hover: #232325;
  --card-border: rgba(255, 255, 255, 0.08);
  --card-hover-border: rgba(255, 255, 255, 0.16);
  --card-shadow: rgba(0, 0, 0, 0.44);
  --pill-surface: rgba(255, 255, 255, 0.08);
  --pill-surface-hover: rgba(255, 255, 255, 0.14);
  --transition-surface: #000000;
  --transition-line: rgba(255, 255, 255, 0.12);
  --transition-handle: rgba(255, 255, 255, 0.24);
  --header-scrolled-text: #f5f5f7;
  --header-scrolled-bg: rgba(22, 22, 23, 0.72);
  --header-scrolled-border: rgba(255, 255, 255, 0.08);
  --header-control-bg: rgba(255, 255, 255, 0.1);
  --header-control-hover: rgba(255, 255, 255, 0.16);
  --header-control-active-bg: rgba(255, 255, 255, 0.18);
  --header-control-active-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  --island-surface: rgba(22, 22, 24, 0.76);
  --island-text: #f5f5f7;
  --island-muted: rgba(245, 245, 247, 0.58);
  --island-line: rgba(255, 255, 255, 0.12);
  --island-key-bg: rgba(255, 255, 255, 0.1);
  --island-accent: #2997ff;
  --island-accent-soft: rgba(41, 151, 255, 0.18);
  --island-shadow: 0 6px 32px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.3);
  --menu-surface: rgba(28, 28, 30, 0.78);
  --menu-border: rgba(255, 255, 255, 0.08);
  --menu-shadow: 0 24px 64px rgba(0, 0, 0, 0.6), 0 4px 12px rgba(0, 0, 0, 0.4);
  --menu-divider: rgba(255, 255, 255, 0.08);
  --avatar-ring: rgba(255, 255, 255, 0.16);
  --avatar-ring-hover: rgba(41, 151, 255, 0.5);
  --surface-alt: #111113;
  --glass-bg-light: rgba(255, 255, 255, 0.10);
  --glass-bg-medium: rgba(255, 255, 255, 0.14);
  --glass-bg-heavy: rgba(255, 255, 255, 0.18);
  --glass-bg-dark-light: rgba(0, 0, 0, 0.18);
  --glass-bg-dark-medium: rgba(0, 0, 0, 0.32);
  --glass-border-light: 1px solid rgba(255, 255, 255, 0.24);
  --glass-border-medium: 1px solid rgba(255, 255, 255, 0.16);
  --glass-border-dark: 1px solid rgba(255, 255, 255, 0.08);
  --glass-inner-glow: inset 0 1px 1px rgba(255, 255, 255, 0.18),
                      inset 0 -1px 1px rgba(0, 0, 0, 0.22);
  --glass-shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.24), 0 1px 4px rgba(0, 0, 0, 0.18);
  --glass-shadow-md: 0 8px 32px rgba(0, 0, 0, 0.36), 0 2px 8px rgba(0, 0, 0, 0.24);
  --glass-shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.46), 0 4px 16px rgba(0, 0, 0, 0.30);
  --glass-highlight-gradient: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.00) 100%
  );
  color-scheme: dark;
}

.glass,
.glass-sm,
.glass-lg,
.glass-dark,
.glass-modal,
.glass-card,
.glass-btn {
  position: relative;
}

.glass,
.glass-lg,
.glass-modal,
.glass-card,
.glass-btn {
  overflow: hidden;
}

.glass {
  background: var(--glass-bg-light);
  border: var(--glass-border-light);
  box-shadow: var(--glass-inner-glow), var(--glass-shadow-md);
}

.glass-sm {
  background: var(--glass-bg-light);
  border: var(--glass-border-medium);
  box-shadow: var(--glass-inner-glow), var(--glass-shadow-sm);
}

.glass-lg {
  background: var(--glass-bg-heavy);
  border: var(--glass-border-light);
  box-shadow: var(--glass-inner-glow), var(--glass-shadow-lg);
}

.glass-dark {
  background: var(--glass-bg-dark-medium);
  border: var(--glass-border-dark);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.10),
    inset 0 -1px 1px rgba(0, 0, 0, 0.20),
    var(--glass-shadow-md);
}

.glass-navbar {
  background: rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 1px 24px rgba(0, 0, 0, 0.06);
}

.glass-modal {
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.40);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.60),
    inset 0 -1px 1px rgba(0, 0, 0, 0.05),
    0 24px 64px rgba(0, 0, 0, 0.20);
}

.glass-card {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.50),
    0 8px 24px rgba(0, 0, 0, 0.10);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.20);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.60),
    0 12px 36px rgba(0, 0, 0, 0.14);
}

.glass-btn {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.50),
    0 2px 8px rgba(0, 0, 0, 0.10);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.glass-btn:hover {
  background: rgba(255, 255, 255, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 4px 16px rgba(0, 0, 0, 0.14);
  transform: translateY(-1px);
}

.glass-btn:active {
  transform: translateY(0);
  box-shadow:
    inset 0 1px 4px rgba(0, 0, 0, 0.15),
    0 1px 4px rgba(0, 0, 0, 0.10);
}

.glass::before,
.glass-lg::before,
.glass-card::before,
.glass-modal::before,
.glass-btn::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 50%;
  border-radius: inherit;
  background: var(--glass-highlight-gradient);
  pointer-events: none;
}

@supports (backdrop-filter: blur(16px)) or (-webkit-backdrop-filter: blur(16px)) {
  .glass {
    backdrop-filter: var(--glass-filter-md);
    -webkit-backdrop-filter: var(--glass-filter-md);
  }

  .glass-sm {
    backdrop-filter: var(--glass-filter-sm);
    -webkit-backdrop-filter: var(--glass-filter-sm);
  }

  .glass-lg {
    backdrop-filter: var(--glass-filter-xl);
    -webkit-backdrop-filter: var(--glass-filter-xl);
  }

  .glass-dark {
    backdrop-filter: var(--glass-filter-md);
    -webkit-backdrop-filter: var(--glass-filter-md);
  }

  .glass-navbar {
    backdrop-filter: var(--glass-filter-navbar);
    -webkit-backdrop-filter: var(--glass-filter-navbar);
  }

  .glass-modal {
    backdrop-filter: var(--glass-filter-modal);
    -webkit-backdrop-filter: var(--glass-filter-modal);
  }

  .glass-card {
    backdrop-filter: var(--liquid-glass-card-filter);
    -webkit-backdrop-filter: var(--liquid-glass-card-filter);
  }

  .glass-btn {
    backdrop-filter: var(--liquid-glass-btn-filter);
    -webkit-backdrop-filter: var(--liquid-glass-btn-filter);
  }
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  background: #000;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  max-width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--surface);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.52;
  font-feature-settings: "cv11", "ss01";
  font-optical-sizing: auto;
  transition: background 260ms ease, color 260ms ease;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

body::before {
  display: none;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
dl,
dd,
figure {
  margin: 0;
}

h1,
h2 {
  font-weight: 700;
  letter-spacing: -0.025em;
}

h3,
h4,
h5,
h6,
strong {
  font-weight: 500;
}

main {
  background: var(--surface);
  transition: background 160ms ease;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 8px 32px;
  color: #f5f5f7;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 24px rgba(0, 0, 0, 0.06);
  transition: background 240ms ease, border-color 240ms ease, color 240ms ease;
}

/* Liquid glass header stays translucent everywhere, independent of the global toggle. */
@supports (backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px)) {
  .site-header {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: var(--glass-filter-navbar);
    -webkit-backdrop-filter: var(--glass-filter-navbar);
  }
}

.site-header.scrolled {
  color: var(--header-scrolled-text);
  background: var(--header-scrolled-bg);
  border-bottom-color: var(--header-scrolled-border);
}

@supports (backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px)) {
  .site-header.scrolled {
    backdrop-filter: var(--glass-filter-navbar);
    -webkit-backdrop-filter: var(--glass-filter-navbar);
  }
}

.header-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  height: 36px;
  padding: 3px 12px 3px 3px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background 200ms ease, transform 180ms var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.brand:hover {
  background: rgba(255, 255, 255, 0.12);
}

.site-header.scrolled .brand:hover {
  background: var(--header-control-bg);
}

.brand:active {
  transform: scale(0.97);
}

.brand-avatar {
  position: relative;
  display: inline-flex;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  overflow: hidden;
  transition: box-shadow 200ms ease, transform 180ms var(--ease);
}

.site-header.scrolled .brand-avatar {
  background: var(--header-control-bg);
  box-shadow: inset 0 0 0 1px var(--avatar-ring);
}

.brand:hover .brand-avatar {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5), 0 0 0 3px rgba(255, 255, 255, 0.14);
}

.site-header.scrolled .brand:hover .brand-avatar {
  box-shadow: inset 0 0 0 1px var(--avatar-ring-hover), 0 0 0 3px var(--blue-soft);
}

.brand.is-signed-in .brand-avatar {
  box-shadow: inset 0 0 0 1px rgba(52, 199, 89, 0.7);
}

.brand-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  white-space: nowrap;
}

.brand-caret {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  margin-left: -2px;
  background: currentColor;
  opacity: 0.55;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'><path d='M2 3.5 5 6.5l3-3' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'><path d='M2 3.5 5 6.5l3-3' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
  transition: transform 220ms var(--ease), opacity 220ms ease;
}

.brand[aria-expanded="true"] .brand-caret {
  transform: rotate(180deg);
  opacity: 0.9;
}

.brand:hover .brand-caret {
  opacity: 0.9;
}

.header-socials {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}

.header-socials a {
  font-size: 13px;
  font-weight: 400;
  color: inherit;
  opacity: 0.78;
  white-space: nowrap;
  transition: color 180ms ease, opacity 180ms ease;
}

.header-socials a:hover,
.site-header.scrolled .header-socials a:hover {
  color: var(--blue);
  opacity: 1;
}

.header-socials .nav-special-events {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  opacity: 1;
  font-weight: 600;
}

.site-header.scrolled .header-socials .nav-special-events {
  border-color: var(--line);
  background: var(--header-control-bg);
}

.header-socials .nav-special-events:hover,
.site-header.scrolled .header-socials .nav-special-events:hover {
  border-color: color-mix(in srgb, var(--blue) 42%, transparent);
  background: var(--blue-soft);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lang-switch-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: auto;
  height: 32px;
  padding: 2px;
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: inherit;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled .lang-switch-wrapper {
  background: var(--header-control-bg);
}

.lang-switch-wrapper:hover,
.site-header.scrolled .lang-switch-wrapper:hover {
  background: rgba(0, 102, 204, 0.12);
}

.lang-flag-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms var(--ease), box-shadow 180ms ease, opacity 180ms ease, width 180ms var(--ease);
}

.lang-switch-wrapper:not(.expanded) .lang-flag-button:not(.active) {
  width: 0 !important;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.lang-flag-button:hover {
  background: rgba(255, 255, 255, 0.18);
}

.site-header.scrolled .lang-flag-button:hover {
  background: var(--header-control-hover);
}

.lang-flag-button.active {
  order: -1;
  background: rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38);
}

.site-header.scrolled .lang-flag-button.active {
  background: var(--header-control-active-bg);
  box-shadow: var(--header-control-active-shadow);
}

.lang-flag-button:active {
  transform: scale(0.94);
}

.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  flex-shrink: 0;
  border: 0;
  border-radius: 50%;
  color: inherit;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms var(--ease), box-shadow 180ms ease;
}

.site-header.scrolled .theme-toggle {
  background: var(--header-control-bg);
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

.site-header.scrolled .theme-toggle:hover {
  background: var(--header-control-hover);
}

.theme-toggle:active {
  transform: scale(0.94);
}

.user-menu-anchor {
  position: relative;
  display: flex;
  align-items: center;
}

.user-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 248px;
  padding: 10px;
  border: var(--glass-border-medium);
  border-radius: 18px;
  background: var(--glass-bg-medium);
  box-shadow: var(--glass-inner-glow), var(--menu-shadow);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--ink);
  overflow: hidden;
  transform-origin: top left;
  transform: scale(0.96) translateY(-6px);
  opacity: 0;
  pointer-events: none;
  transition: transform 220ms var(--ease), opacity 220ms var(--ease);
}

.user-menu::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 50%;
  border-radius: inherit;
  background: var(--glass-highlight-gradient);
  pointer-events: none;
}

.user-menu[data-open] {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

@supports (backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px)) {
  .user-menu {
    backdrop-filter: var(--glass-filter-lg);
    -webkit-backdrop-filter: var(--glass-filter-lg);
  }
}

.user-menu-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 10px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--menu-divider);
}

.user-menu-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), color-mix(in srgb, var(--blue) 60%, #8e8eff));
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.user-menu-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

.user-menu-top {
  display: flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: background 160ms var(--ease), color 160ms var(--ease);
}

.user-menu-top::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 10px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><path d='M7 11V3M3.5 6.5 7 3l3.5 3.5' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><path d='M7 11V3M3.5 6.5 7 3l3.5 3.5' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
  opacity: 0.7;
}

.user-menu-top:hover {
  background: var(--blue-soft);
  color: var(--blue);
}

.user-menu-socials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 6px 0;
  margin-top: 2px;
  border-top: 1px solid var(--menu-divider);
}

.user-menu-social {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  transition: background 160ms var(--ease), color 160ms var(--ease);
}

.user-menu-social:hover {
  background: var(--blue-soft);
  color: var(--blue);
}

.user-menu-auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding-top: 8px;
  margin-top: 2px;
  border-top: 1px solid var(--menu-divider);
}

.user-menu-auth[hidden] {
  display: none;
}

.user-menu-login,
.user-menu-register {
  height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: background 160ms var(--ease), color 160ms var(--ease), transform 180ms var(--ease);
}

.user-menu-login {
  background: var(--blue);
  color: #fff;
}

.user-menu-login:hover {
  background: var(--blue-hover);
}

.user-menu-register {
  background: var(--pill-surface);
  color: var(--ink);
}

.user-menu-register:hover {
  background: var(--pill-surface-hover);
}

.user-menu-login:active,
.user-menu-register:active {
  transform: scale(0.97);
}

.user-menu-glass {
  display: grid;
  gap: 6px;
  padding: 8px 12px 10px;
  margin-top: 2px;
  border-top: 1px solid var(--menu-divider);
}

.user-menu-glass-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.user-menu-glass-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.user-menu-glass-options button {
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--pill-surface);
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 160ms var(--ease), color 160ms var(--ease);
}

.user-menu-glass-options button:hover {
  background: var(--pill-surface-hover);
}

.user-menu-glass-options button.active {
  background: var(--blue);
  color: #fff;
}

.user-menu-library {
  display: flex;
  align-items: center;
  padding: 9px 12px;
  margin-top: 2px;
  border-top: 1px solid var(--menu-divider);
  border-radius: 0;
  background: transparent;
  color: var(--blue);
  font: inherit;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: background 160ms var(--ease);
}

.user-menu-library[hidden] {
  display: none;
}

.user-menu-library::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 10px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><path d='M2.5 3.5h9v7h-9z M5 3.5v7 M8.5 3.5v7' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><path d='M2.5 3.5h9v7h-9z M5 3.5v7 M8.5 3.5v7' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
}

.user-menu-library:not([hidden]) {
  border-radius: 10px;
  margin-top: 4px;
  border-top: 0;
  background: var(--blue-soft);
}

.user-menu-library:hover {
  background: color-mix(in srgb, var(--blue) 20%, transparent);
}

.user-menu-logout {
  width: 100%;
  height: 36px;
  padding: 0 12px;
  margin-top: 6px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #ff3b30;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: background 160ms var(--ease);
}

.user-menu-logout:hover {
  background: rgba(255, 59, 48, 0.12);
}

html[data-theme="dark"] .user-menu-logout {
  color: #ff453a;
}

html[data-theme="dark"] .user-menu-logout:hover {
  background: rgba(255, 69, 58, 0.18);
}

.theme-toggle-icon {
  position: relative;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: currentColor;
  transform: scale(0.78);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms var(--ease);
}

.theme-toggle-icon::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -4px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.24);
  transition: opacity 180ms ease, transform 180ms var(--ease), background 180ms ease;
}

.site-header.scrolled .theme-toggle-icon::before {
  background: var(--header-scrolled-bg);
}

html[data-theme="dark"] .theme-toggle-icon {
  transform: scale(0.7);
  box-shadow: 0 -12px 0 -5px currentColor, 0 12px 0 -5px currentColor, 12px 0 0 -5px currentColor, -12px 0 0 -5px currentColor, 8px 8px 0 -5px currentColor, -8px 8px 0 -5px currentColor, 8px -8px 0 -5px currentColor, -8px -8px 0 -5px currentColor;
}

html[data-theme="dark"] .theme-toggle-icon::before {
  opacity: 0;
  transform: translateX(8px) scale(0.4);
}

.flag-icon {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.flag-zh {
  background: #de2910;
}

.flag-zh::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffde00;
  box-shadow: 5px -2px 0 -1px #ffde00, 7px 2px 0 -1px #ffde00, 4px 6px 0 -1px #ffde00;
}

.flag-en {
  background: repeating-linear-gradient(180deg, #b22234 0 2px, #fff 2px 4px);
}

.flag-en::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 9px;
  height: 10px;
  background: #3c3b6e;
}

.flag-ja {
  background: #fff;
}

.flag-ja::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #bc002d;
  transform: translate(-50%, -50%);
}

.flag-de {
  background: linear-gradient(180deg, #000 0 33.333%, #dd0000 33.333% 66.666%, #ffce00 66.666% 100%);
}

.flag-es {
  background: linear-gradient(180deg, #aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75% 100%);
}

.privacy-consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: min(520px, calc(100vw - 36px));
  padding: 16px;
  border: var(--glass-border-medium);
  border-radius: 18px;
  background: var(--glass-bg-medium);
  color: var(--ink);
  box-shadow: var(--glass-inner-glow), var(--menu-shadow);
  overflow: hidden;
}

.privacy-consent::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 50%;
  border-radius: inherit;
  background: var(--glass-highlight-gradient);
  pointer-events: none;
}

@supports (backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px)) {
  .privacy-consent {
    backdrop-filter: var(--glass-filter-lg);
    -webkit-backdrop-filter: var(--glass-filter-lg);
  }
}

.privacy-consent[hidden] {
  display: none;
}

.privacy-consent p {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.5;
}

.privacy-consent-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.privacy-consent-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--pill-surface);
  color: var(--ink);
  font: inherit;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease, transform 180ms var(--ease);
}

.privacy-consent-button.primary {
  background: var(--blue);
  color: #fff;
}

.privacy-consent-button.primary:hover {
  background: var(--blue-hover);
}

.privacy-consent-button:hover {
  background: var(--pill-surface-hover);
}

.privacy-consent-button:active {
  transform: scale(0.97);
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.42);
  -webkit-backdrop-filter: var(--glass-filter-sm);
  backdrop-filter: var(--glass-filter-sm);
  animation: authBackdropIn 220ms var(--ease);
}

.auth-modal[hidden] {
  display: none;
}

@keyframes authBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes authDialogIn {
  from { opacity: 0; transform: translateY(8px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-dialog {
  position: relative;
  width: min(420px, 100%);
  padding: 24px;
  border: var(--glass-border-light);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.22);
  color: var(--ink);
  box-shadow:
    var(--glass-inner-glow),
    0 30px 80px rgba(0, 0, 0, 0.24),
    0 6px 18px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  animation: authDialogIn 260ms var(--ease);
}

.auth-dialog::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 50%;
  border-radius: inherit;
  background: var(--glass-highlight-gradient);
  pointer-events: none;
}

html[data-theme="dark"] .auth-dialog {
  background: rgba(28, 28, 30, 0.78);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 6px 18px rgba(0, 0, 0, 0.5);
}

@supports (backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px)) {
  .auth-dialog {
    backdrop-filter: var(--glass-filter-modal);
    -webkit-backdrop-filter: var(--glass-filter-modal);
  }

  html[data-theme="dark"] .auth-dialog {
    background: rgba(28, 28, 30, 0.78);
  }
}

.auth-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--pill-surface);
  color: var(--ink);
  font: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease, transform 180ms var(--ease);
}

.auth-close:hover {
  background: var(--pill-surface-hover);
}

.auth-close:active {
  transform: scale(0.94);
}

.auth-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  background: var(--pill-surface);
}

.auth-tab {
  min-width: 68px;
  height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  cursor: pointer;
}

.auth-tab.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
}

.auth-dialog h2 {
  margin-top: 20px;
  font-size: 24px;
  line-height: 1.15;
}

.auth-helper {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

.auth-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.auth-field {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 12px;
}

.auth-field input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
  color: var(--ink);
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

html[data-theme="dark"] .auth-field input {
  background: #2c2c2e;
  border-color: rgba(255, 255, 255, 0.1);
}

.auth-field input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}

.auth-google-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms var(--ease);
}

.auth-google-button:hover {
  border-color: var(--blue);
  background: var(--wash);
}

.auth-google-button:active {
  transform: scale(0.98);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.auth-cookie-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.45;
}

.auth-cookie-check input {
  margin-top: 2px;
}

.auth-message {
  min-height: 18px;
  color: var(--blue);
  font-size: 12px;
  line-height: 1.5;
}

.auth-message.error {
  color: #d93025;
}

.auth-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms var(--ease);
}

.auth-submit:hover {
  background: var(--blue-hover);
}

.auth-submit:disabled {
  cursor: progress;
  opacity: 0.62;
}

.auth-submit:active {
  transform: scale(0.98);
}

.sub-en {
  display: block;
  margin-top: 7px;
  color: inherit;
  font-size: 0.58em;
  font-weight: 400;
  line-height: 1.38;
}

p .sub-en {
  font-size: 0.94em;
  line-height: 1.55;
}

h3 .sub-en,
strong .sub-en {
  font-size: 0.76em;
}

.special-events-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 100vh;
  min-height: 100svh;
  padding: 96px 24px 104px;
  overflow: hidden;
  color: #f5f5f7;
  background: radial-gradient(120% 120% at 50% 0%, #15181d 0%, #000 72%);
  isolation: isolate;
  text-align: center;
}

.special-events-section::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 160px;
  z-index: -1;
  background: linear-gradient(180deg, transparent, #000);
}

.special-events-title {
  margin: 0;
  max-width: 100%;
  font-size: clamp(46px, 13vw, 128px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fff, #7e8590);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.special-events-title span {
  display: inline-block;
  max-width: 100%;
}

.special-events-lede {
  max-width: 30em;
  margin: 0;
  color: rgba(245, 245, 247, 0.56);
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.special-events-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  min-width: 160px;
  margin-top: 6px;
  padding: 14px 30px;
  border-radius: 999px;
  border: 0;
  background: #fff;
  color: #111;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: transform 150ms ease, opacity 150ms ease;
}

.special-events-cta:hover,
.special-events-cta:focus-visible {
  transform: translateY(-2px);
  opacity: 0.9;
}

.hero-container {
  position: relative;
  height: 185vh;
  margin-top: -52px;
  background: #000;
}

.special-events-section + .hero-container {
  margin-top: 0;
}

.hero-sticky {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #000;
}

.hero-video-shell {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--hero-video-w, 100vw);
  height: var(--hero-video-h, 100vh);
  max-width: none;
  overflow: hidden;
  border-radius: calc(var(--hero-video-radius, 0) * 1px);
  background: #000;
  box-shadow: 0 calc(var(--hero-shadow-opacity, 0) * 34px) calc(var(--hero-shadow-opacity, 0) * 92px) rgba(0, 0, 0, 0.42);
  transform: translate(-50%, -50%) translateY(calc(var(--hero-video-lift, 0) * -1px));
  transform-origin: center;
  z-index: 1;
  will-change: width, height, transform, border-radius, box-shadow;
}

.hero-video {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: #000;
  opacity: var(--overlay-opacity, 0);
  will-change: opacity;
}

.hero-copy {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: min(100%, 980px);
  padding: 0 32px;
  text-align: center;
  color: #f5f5f7;
  opacity: 1;
  transform: translate(-50%, calc(-50% + (var(--hero-y, 150) * 1px))) scale(var(--hero-scale, 0.98));
  will-change: transform;
}

.eyebrow,
.section-kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  opacity: 0.92;
}

.eyebrow {
  color: rgba(245, 245, 247, 0.82);
  opacity: 1;
}

.hero-copy h1 {
  font-size: 96px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  background: linear-gradient(180deg, #ffffff 20%, rgba(255, 255, 255, 0.72) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lede {
  max-width: 680px;
  margin: 24px auto 0;
  color: rgba(245, 245, 247, 0.82);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.47;
  letter-spacing: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 142px;
  border-radius: 999px;
  padding: 0 26px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: -0.01em;
  transition: transform 260ms var(--ease-spring), background 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.button:active {
  transform: translateY(0) scale(0.98);
}

.button:focus-visible,
a:focus-visible,
.lang-flag-button:focus-visible,
.dynamic-island-inner:focus-visible,
.entertainment-dots button:focus-visible,
.theme-toggle:focus-visible,
.brand:focus-visible,
.user-menu-login:focus-visible,
.user-menu-register:focus-visible,
.user-menu-logout:focus-visible,
.user-menu-top:focus-visible,
.user-menu-social:focus-visible,
.user-menu-library:focus-visible,
.auth-close:focus-visible,
.auth-tab:focus-visible,
.auth-submit:focus-visible,
.auth-google-button:focus-visible,
.auth-field input:focus-visible,
.auth-cookie-check input:focus-visible,
select:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--blue) 35%, transparent);
  outline-offset: 3px;
}

.brand:focus-visible {
  outline-offset: 2px;
}

.button-primary {
  background: var(--button-primary-bg);
  color: var(--button-primary-text);
}

.button-primary:hover {
  background: var(--button-primary-hover);
}

.button-secondary {
  color: #f5f5f7;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.button-dark {
  background: var(--blue);
  color: #fff;
}

.button-dark:hover {
  background: var(--blue-hover);
}

.social-system,
.intro-section,
.feature-section,
.video-grid-section,
.private-library-section,
.listening-section,
.watchlist-section {
  max-width: 1220px;
  margin: 0 auto;
  padding-right: 32px;
  padding-left: 32px;
}

.social-system,
.feature-section,
.private-library-section {
  background: var(--surface);
  box-shadow: 0 0 0 100vmax var(--surface);
  clip-path: inset(0 -100vmax);
}

.intro-section,
.video-grid-section,
.listening-section {
  background: var(--surface-alt);
  box-shadow: 0 0 0 100vmax var(--surface-alt);
  clip-path: inset(0 -100vmax);
}

.social-system {
  padding-top: 86px;
  padding-bottom: 92px;
}

.social-copy,
.listening-copy {
  max-width: 860px;
  margin: 0 auto 46px;
  text-align: center;
}

.social-copy h2,
.listening-copy h2 {
  margin-top: 14px;
  color: var(--ink);
  font-size: 64px;
  line-height: 1.06;
  letter-spacing: -0.028em;
}

.social-copy p,
.listening-copy p {
  max-width: 760px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.65;
  letter-spacing: -0.003em;
}

.social-copy {
  max-width: 720px;
  margin-bottom: 30px;
}

.social-copy h2 {
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.1;
}

.social-copy p {
  max-width: 620px;
  margin-top: 14px;
  font-size: 18px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.platform-card,
.video-card,
.music-card,
.watch-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  transition: transform 320ms var(--ease-spring), box-shadow 220ms var(--ease), border-color 220ms ease, background 220ms ease;
}

.platform-card,
.video-card,
.music-card {
  background: var(--card-surface);
  border: 1px solid var(--card-border);
}

.platform-card:hover,
.video-card:hover,
.music-card:hover {
  transform: translateY(-4px) scale(1.008);
  background: var(--card-hover);
  border-color: var(--card-hover-border);
  box-shadow: 0 22px 54px var(--card-shadow), 0 6px 16px var(--card-shadow);
}

html[data-theme="dark"] .platform-card:hover,
html[data-theme="dark"] .video-card:hover,
html[data-theme="dark"] .music-card:hover {
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.6), 0 8px 20px rgba(0, 0, 0, 0.44);
}

.platform-card {
  display: flex;
  flex-direction: column;
  min-height: 236px;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0) 46%),
    var(--card-surface);
  isolation: isolate;
}

.platform-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), transparent 34%);
  opacity: 0;
  transition: opacity 220ms ease;
}

html[data-theme="dark"] .platform-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 48%),
    var(--card-surface);
}

html[data-theme="dark"] .platform-card::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 34%);
}

.platform-card:hover::before {
  opacity: 1;
}

.platform-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.platform-card-top::after {
  content: "\2197";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--blue);
  background: var(--pill-surface);
  font-size: 14px;
  line-height: 1;
}

.platform-label {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
}

.platform-card strong {
  display: block;
  max-width: 520px;
  margin-top: 20px;
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 600;
  line-height: 1.05;
  color: var(--ink);
}

.platform-card strong .sub-en {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.42em;
  line-height: 1.22;
}

.platform-card p {
  max-width: 560px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.platform-card p .sub-en {
  margin-top: 8px;
  color: var(--muted-2);
  font-size: 0.92em;
  line-height: 1.45;
}

.platform-card em {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 6px;
  width: fit-content;
  margin-top: auto;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
  background: var(--pill-surface);
  font-size: 13px;
  line-height: 1.3;
  font-style: normal;
  font-weight: 500;
}

.platform-card em .sub-en {
  display: inline;
  margin-top: 0;
  color: inherit;
  font-size: 1em;
  line-height: inherit;
}

.platform-card em .sub-en::before {
  content: " / ";
}

.intro-section {
  padding-top: 94px;
  padding-bottom: 86px;
  text-align: center;
}

.intro-section h2 {
  max-width: 860px;
  margin: 16px auto 0;
  font-size: 56px;
  line-height: 1.06;
  letter-spacing: -0.028em;
}

.intro-section p {
  max-width: 800px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.62;
}

.feature-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 64px;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 96px;
}

.feature-copy h2 {
  margin-top: 14px;
  font-size: 56px;
  line-height: 1.06;
  letter-spacing: -0.028em;
}

.feature-copy p {
  margin-top: 22px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
  letter-spacing: -0.003em;
}

.release-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 36px 0;
}

.release-meta div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.release-meta dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.release-meta dd {
  margin-top: 8px;
  color: var(--ink);
  font-size: 23px;
  font-weight: 500;
}

.feature-poster {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
  box-shadow: 0 28px 76px var(--poster-shadow);
  transition: transform 340ms var(--ease-spring), box-shadow 260ms var(--ease);
}

.feature-poster:hover {
  transform: translateY(-5px) scale(1.005);
  box-shadow: 0 40px 100px var(--poster-shadow-hover);
}

.feature-poster img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 420ms var(--ease);
}

.feature-poster:hover img {
  transform: scale(1.025);
}

.video-grid-section {
  padding-top: 70px;
  padding-bottom: 108px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 38px;
}

.section-heading h2 {
  margin-top: 10px;
  font-size: 56px;
  line-height: 1.06;
  letter-spacing: -0.028em;
}

.section-heading p {
  max-width: 340px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  text-align: right;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.video-card {
  display: flex;
  flex-direction: column;
}

.video-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  background: #000;
}

.video-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 360ms var(--ease);
}

.video-card:hover .video-thumb img {
  transform: scale(1.025);
}

.video-thumb span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.58);
  font-size: 12px;
  font-weight: 500;
}

.video-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.video-date {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.video-body h3 {
  margin-top: 8px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.42;
}

.video-body p:not(.video-date) {
  flex: 1;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.video-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.video-stats span {
  min-height: 24px;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--pill-surface);
}

.tone-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 80px 96px;
  align-items: start;
  padding: 132px max(32px, calc((100vw - 1180px) / 2));
  color: #f5f5f7;
  background: #000;
}

.tone-section .section-kicker {
  color: #64d2ff;
}

.tone-intro h2,
.tone-section h2 {
  margin-top: 14px;
  font-size: 56px;
  line-height: 1.04;
  letter-spacing: -0.028em;
}

.tone-lede {
  margin-top: 28px;
  max-width: 480px;
  color: #d2d2d7;
  font-size: 17px;
  line-height: 1.6;
}

.tone-lede .sub-en {
  color: #86868b;
}

.tone-tracks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.tone-track {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 104px;
  align-items: start;
  column-gap: 28px;
  padding: 38px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tone-track:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tone-track-no {
  font-family: 'SF Mono', ui-monospace, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: #6e6e73;
  margin-top: 18px;
}

.tone-track-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.tone-anchor {
  margin: 0;
  font-size: 46px;
  line-height: 1.0;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: #f5f5f7;
}

.tone-line {
  margin: 0;
  color: #d2d2d7;
  font-size: 16px;
  line-height: 1.6;
  max-width: 560px;
}

.tone-line .sub-en {
  color: #86868b;
}

.tone-track-thumb {
  display: block;
  width: 104px;
  height: 104px;
  border-radius: 18px;
  overflow: hidden;
  background: #1c1c1e;
  margin-top: 6px;
  transition: transform 280ms var(--ease-spring), box-shadow 220ms var(--ease);
}

.tone-track-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms var(--ease);
}

.tone-track-thumb:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
}

.tone-track-thumb:hover img {
  transform: scale(1.06);
}

@media (max-width: 960px) {
  .tone-track {
    grid-template-columns: 40px minmax(0, 1fr) 72px;
    column-gap: 18px;
    padding: 30px 0;
  }
  .tone-anchor { font-size: 36px; }
  .tone-track-thumb { width: 72px; height: 72px; border-radius: 14px; }
  .tone-track-no { margin-top: 12px; }
}

@media (max-width: 540px) {
  .tone-track {
    grid-template-columns: 28px minmax(0, 1fr);
    row-gap: 14px;
  }
  .tone-track-thumb {
    grid-column: 2 / 3;
    width: 100%;
    max-width: 240px;
    height: 140px;
  }
}

.private-library-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  gap: 54px;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 102px;
}

.private-library-copy h2 {
  margin-top: 14px;
  color: var(--ink);
  font-size: 56px;
  line-height: 1.06;
  letter-spacing: -0.028em;
}

.private-library-copy p {
  max-width: 720px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.62;
}

.private-library-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
  border: var(--glass-border-medium);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  box-shadow:
    var(--glass-inner-glow),
    0 18px 46px var(--card-shadow);
  overflow: hidden;
  transition: border-color 400ms var(--ease), background 260ms ease, box-shadow 260ms ease;
}

.private-library-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, color-mix(in srgb, var(--blue) 9%, transparent) 0%, transparent 50%);
  pointer-events: none;
  transition: background 400ms var(--ease);
}

.private-library-panel::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 50%;
  border-radius: inherit;
  background: var(--glass-highlight-gradient);
  pointer-events: none;
}

@supports (backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px)) {
  .private-library-panel {
    backdrop-filter: var(--glass-filter-lg);
    -webkit-backdrop-filter: var(--glass-filter-lg);
  }
}

.private-library-panel[data-library-state="unlocked"] {
  border-color: color-mix(in srgb, #34c759 32%, var(--card-border));
}

.private-library-panel[data-library-state="unlocked"]::before {
  background: linear-gradient(145deg, color-mix(in srgb, #34c759 9%, transparent) 0%, transparent 50%);
}

.private-library-status {
  display: grid;
  gap: 12px;
}

.private-library-status span {
  display: inline-block;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--blue);
  background: color-mix(in srgb, var(--blue) 12%, transparent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
  transition: color 400ms var(--ease), background 400ms var(--ease);
}

.private-library-panel[data-library-state="unlocked"] .private-library-status span {
  color: #34c759;
  background: color-mix(in srgb, #34c759 12%, transparent);
}

.private-library-status strong {
  color: var(--ink);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.12;
}

.private-library-status p,
.private-library-hint {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

.private-library-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.private-library-actions .button {
  width: 100%;
  justify-content: center;
}

.private-library-panel[data-library-state="locked"] .library-direct-link,
.private-library-panel[data-library-state="checking"] .library-direct-link {
  display: none;
}

.scroll-video-wrapper {
  position: relative;
  height: 260vh;
  background: #000;
}

.scroll-video-sticky {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #000;
}

.transition-video {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 0;
  filter: saturate(1.1) contrast(0.88) brightness(0.7);
  transform: translate(-50%, -50%) scale(0.7);
  will-change: transform, opacity, filter;
}

.video-dark-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.55));
}

.gaga-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.6));
}

.coming-next-video .video-dark-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.48));
}

.video-transition-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 0 32px;
  color: #fff;
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.42);
  will-change: transform, opacity;
}

.transition-kicker {
  margin-bottom: 14px;
  color: rgba(245, 245, 247, 0.72);
  font-size: 13px;
  font-weight: 500;
}

.transition-title {
  margin-bottom: 16px;
  font-size: 58px;
  line-height: 1.05;
}

.transition-desc {
  max-width: 560px;
  margin: 0 auto;
  color: rgba(245, 245, 247, 0.78);
  font-size: 19px;
  line-height: 1.58;
}

.section-transition {
  position: relative;
  min-height: 128px;
  width: 100%;
  margin-top: -1px;
  pointer-events: none;
}

.transition-to-music {
  min-height: 118px;
  background: var(--surface-alt);
  box-shadow: 0 -38px 80px rgba(0, 0, 0, 0.22);
}

.transition-to-music::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100%, 1220px);
  height: 1px;
  background: var(--transition-line);
  transform: translateX(-50%);
}

.transition-to-music::after {
  content: "";
  position: absolute;
  top: 32px;
  left: 50%;
  width: 72px;
  height: 4px;
  border-radius: 999px;
  background: var(--transition-handle);
  transform: translateX(-50%);
}

.transition-to-watchlist {
  background: #000;
}

.listening-section {
  padding-top: 94px;
  padding-bottom: 74px;
}

.music-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.72fr);
  gap: 22px;
  align-items: stretch;
}

.music-grid {
  display: none;
}

.music-feature-card,
.music-now-panel,
.music-mini-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: 30px;
}

.music-feature-card,
.music-mini-card {
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), border-color 260ms ease;
}

.music-feature-card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.78fr);
  gap: clamp(24px, 3.2vw, 40px);
  min-height: 560px;
  padding: 34px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.52) 32%, rgba(255, 255, 255, 0) 56%),
    linear-gradient(145deg, #fafafd 0%, #f4effa 38%, #e9f1ff 100%);
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.12);
}

.music-feature-card:hover,
.music-mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 90px rgba(15, 23, 42, 0.16);
}

.music-feature-copy,
.music-mini-copy {
  position: relative;
  z-index: 2;
}

.music-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.music-chip-row,
.music-meta-row,
.music-mini-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.music-chip,
.music-meta-pill,
.music-note-label,
.music-queue-label,
.music-panel-kicker,
.music-panel-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}

.music-chip,
.music-meta-pill {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(29, 29, 31, 0.74);
  border: var(--glass-border-light);
  box-shadow: var(--glass-inner-glow), var(--glass-shadow-sm);
  backdrop-filter: var(--liquid-glass-chip-filter);
  -webkit-backdrop-filter: var(--liquid-glass-chip-filter);
}

.music-chip:not(.music-chip-brand)::before,
.music-meta-pill::before,
.music-chip-live::before,
.music-queue-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 50%;
  border-radius: inherit;
  background: var(--glass-highlight-gradient);
  pointer-events: none;
}

.music-chip {
  color: #1d1d1f;
  font-weight: 600;
}

.music-chip-soft {
  background: rgba(29, 29, 31, 0.08);
  color: var(--muted);
  border-color: rgba(29, 29, 31, 0.08);
}

.music-chip-brand {
  gap: 8px;
  color: #fff;
  border-color: transparent;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 16px rgba(255, 55, 95, 0.22);
}

.music-chip-apple {
  background: linear-gradient(135deg, #ff375f 0%, #ff2d55 55%, #ff5e3a 100%);
}

.music-chip-brand::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.music-chip-live {
  position: relative;
  overflow: hidden;
  gap: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: var(--glass-inner-glow), var(--glass-shadow-sm);
  backdrop-filter: var(--liquid-glass-chip-filter);
  -webkit-backdrop-filter: var(--liquid-glass-chip-filter);
}

.music-live-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ff375f;
  box-shadow: 0 0 0 0 rgba(255, 55, 95, 0.65);
  animation: musicLivePulse 2.2s ease-out infinite;
}

@keyframes musicLivePulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 55, 95, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(255, 55, 95, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 55, 95, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .music-live-dot { animation: none; }
}

.music-meta-arrow {
  margin-left: auto;
  justify-content: center;
  width: 30px;
  min-width: 30px;
  padding: 0;
  color: #1d1d1f;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 600;
  transition: transform 280ms var(--ease-spring), background 220ms ease;
}

.music-feature-card:hover .music-meta-arrow {
  transform: translate(3px, -3px);
  background: #fff;
}

.music-service {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.music-service::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
}

.music-service-spotify {
  color: #1ed760;
}

.music-feature-card strong {
  display: block;
  max-width: 8ch;
  margin-top: 26px;
  font-size: clamp(44px, 4.8vw, 64px);
  line-height: 0.98;
  color: #111114;
}

.music-feature-card p {
  max-width: 480px;
  margin-top: 18px;
  color: rgba(29, 29, 31, 0.72);
  font-size: 18px;
  line-height: 1.62;
}

.music-meta-row {
  margin-top: 28px;
}

.music-feature-visual {
  position: relative;
  min-height: 456px;
}

.music-feature-glow {
  position: absolute;
  inset: 14% 8% 8% 14%;
  border-radius: 40px;
  background:
    radial-gradient(circle at 48% 42%, rgba(255, 255, 255, 0.18), transparent 28%),
    radial-gradient(circle at center, rgba(255, 55, 95, 0.2), rgba(94, 92, 230, 0.16) 42%, rgba(255, 255, 255, 0) 72%);
  opacity: 0.74;
}

.music-hero-cover {
  position: absolute;
  right: 18px;
  bottom: 24px;
  width: min(100%, 338px);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 34px 64px rgba(17, 17, 20, 0.2);
}

.music-hero-cover img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 420ms var(--ease);
}

.music-queue-card {
  position: absolute;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  width: min(72%, 230px);
  padding: 12px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.18);
  border: var(--glass-border-light);
  box-shadow: var(--glass-inner-glow), 0 24px 44px rgba(17, 17, 20, 0.14);
  overflow: hidden;
  backdrop-filter: var(--liquid-glass-queue-filter);
  -webkit-backdrop-filter: var(--liquid-glass-queue-filter);
}

.music-queue-top {
  top: 38px;
  right: 142px;
  transform: rotate(-7deg);
}

.music-queue-bottom {
  bottom: 56px;
  left: 8px;
  transform: rotate(6deg);
}

.music-queue-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
}

.music-queue-copy strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  line-height: 1.08;
  color: #111114;
}

.music-queue-label {
  min-height: auto;
  padding: 0;
  color: rgba(29, 29, 31, 0.6);
  background: transparent;
  border: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.music-feature-card:hover .music-hero-cover img {
  transform: scale(1.03);
}

.music-feature-card:hover .music-queue-top {
  transform: translateY(-4px) rotate(-6deg);
}

.music-feature-card:hover .music-queue-bottom {
  transform: translateY(-6px) rotate(5deg);
}

.music-sidebar {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 22px;
}

.music-now-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 30px;
  color: #f5f5f7;
  background: linear-gradient(160deg, #1c1c21 0%, #0b0b10 78%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.music-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.music-panel-kicker {
  color: #d2d2d7;
  padding: 0;
  background: transparent;
  border: 0;
}

.music-panel-pill {
  color: #f5f5f7;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.music-now-panel h3 {
  margin-top: 22px;
  max-width: 12ch;
  font-size: 36px;
  line-height: 1.1;
}

.music-now-panel p {
  margin-top: 18px;
  color: rgba(245, 245, 247, 0.72);
  font-size: 16px;
  line-height: 1.62;
}

.music-stat-list {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
}

.music-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.music-stat-label {
  color: #d2d2d7;
  font-size: 12px;
  font-weight: 500;
}

.music-stat-row strong {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-align: right;
}

.music-mini-card {
  display: grid;
  grid-template-columns: 136px 1fr;
  gap: 20px;
  align-items: center;
  min-height: 250px;
  padding: 24px;
  background: linear-gradient(160deg, rgba(245, 245, 247, 0.9), rgba(236, 245, 255, 0.94));
  box-shadow: 0 24px 58px rgba(15, 23, 42, 0.1);
}

.music-mini-art img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 20px 44px rgba(17, 17, 20, 0.14);
}

.music-mini-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.music-mini-copy strong {
  display: block;
  margin-top: 10px;
  font-size: 36px;
  line-height: 1.02;
  color: var(--ink);
}

.music-mini-copy p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
}

.music-mini-footer {
  align-items: center;
  margin-top: auto;
  padding-top: 18px;
}

.music-note-label {
  color: var(--muted);
  background: rgba(17, 17, 20, 0.06);
  border: 0;
}

.music-mini-footer em {
  color: var(--muted-2);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
}

html[data-theme="dark"] .music-feature-card {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04) 30%, rgba(255, 255, 255, 0) 56%),
    linear-gradient(145deg, rgba(41, 41, 48, 0.98) 0%, rgba(28, 24, 36, 0.98) 42%, rgba(18, 26, 36, 0.98) 100%);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 34px 84px rgba(0, 0, 0, 0.42);
}

html[data-theme="dark"] .music-feature-card strong,
html[data-theme="dark"] .music-queue-copy strong {
  color: #f5f5f7;
}

html[data-theme="dark"] .music-feature-card p {
  color: rgba(245, 245, 247, 0.72);
}

html[data-theme="dark"] .music-chip,
html[data-theme="dark"] .music-meta-pill {
  color: #d2d2d7;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .music-chip {
  color: #f5f5f7;
}

html[data-theme="dark"] .music-chip-soft {
  background: rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .music-chip-live {
  color: #f5f5f7;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .music-chip-brand {
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(255, 55, 95, 0.32);
}

html[data-theme="dark"] .music-chip-apple {
  background: linear-gradient(135deg, #ff375f 0%, #ff2d55 55%, #ff5e3a 100%);
}

html[data-theme="dark"] .music-meta-arrow {
  color: #f5f5f7;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .music-feature-card:hover .music-meta-arrow {
  background: rgba(255, 255, 255, 0.22);
}

html[data-theme="dark"] .music-feature-glow {
  background: radial-gradient(circle at center, rgba(255, 55, 95, 0.26), rgba(10, 132, 255, 0.2) 42%, rgba(255, 255, 255, 0) 72%);
}

html[data-theme="dark"] .music-queue-card {
  background: rgba(17, 17, 20, 0.58);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.38);
}

html[data-theme="dark"] .music-queue-label {
  color: rgba(245, 245, 247, 0.62);
}

html[data-theme="dark"] .music-mini-card {
  background: linear-gradient(160deg, rgba(24, 24, 28, 0.98), rgba(18, 24, 34, 0.94));
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] .music-mini-copy strong {
  color: #f5f5f7;
}

html[data-theme="dark"] .music-mini-copy p,
html[data-theme="dark"] .music-note-label,
html[data-theme="dark"] .music-mini-footer em {
  color: rgba(245, 245, 247, 0.7);
}

html[data-theme="dark"] .music-note-label {
  background: rgba(255, 255, 255, 0.08);
}

.music-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.music-item {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 232px;
  padding: 26px;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  background: var(--card-surface);
  box-shadow: none;
  transition: transform 320ms var(--ease-spring), background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.music-item:hover {
  transform: translateY(-2px);
  background: var(--card-hover);
  border-color: var(--card-hover-border);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
}

.music-cover {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.12);
}

.music-item-body {
  min-width: 0;
}

.music-item-body strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.08;
}

.music-item-body p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

.music-item-body em {
  display: block;
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
}

html[data-theme="dark"] .music-item:hover {
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.video-grid-section .video-card,
.listening-section .music-item {
  background: var(--surface);
  border-color: var(--card-border);
}

html[data-theme="dark"] .video-grid-section .video-card,
html[data-theme="dark"] .listening-section .music-item {
  background: #1c1c1e;
  border-color: rgba(255, 255, 255, 0.1);
}

.watchlist-section {
  padding-top: 92px;
  padding-bottom: 124px;
  color: #f5f5f7;
  background: #000;
  box-shadow: 0 0 0 100vmax #000;
  clip-path: inset(0 -100vmax);
  text-align: center;
}

.watchlist-section .section-kicker,
.section-note {
  color: #a1a1a6;
}

.watchlist-section h2 {
  max-width: 800px;
  margin: 16px auto 0;
  font-size: 56px;
  line-height: 1.06;
  letter-spacing: -0.028em;
}

.section-note {
  max-width: 740px;
  margin: 20px auto 0;
  font-size: 14px;
  line-height: 1.62;
}

.watchlist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 46px;
}

.watch-item {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 22px;
  color: #f5f5f7;
  background: linear-gradient(180deg, rgba(26, 26, 28, 0.96), rgba(18, 18, 20, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 22px 56px rgba(0, 0, 0, 0.3);
  text-align: left;
}

.watch-item:hover {
  transform: translateY(-3px);
  background: linear-gradient(180deg, rgba(31, 31, 34, 0.98), rgba(20, 20, 22, 1));
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.watch-poster {
  position: relative;
  overflow: hidden;
  width: 124px;
  border-radius: 18px;
  background: #000;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.36);
}

.watch-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 420ms var(--ease);
}

.watch-item:hover .watch-poster img {
  transform: scale(1.025);
}

.watch-euphoria {
  background:
    radial-gradient(circle at top right, rgba(193, 84, 134, 0.2), rgba(193, 84, 134, 0) 42%),
    linear-gradient(180deg, rgba(26, 26, 28, 0.96), rgba(18, 18, 20, 0.98));
}

.watch-boys {
  background:
    radial-gradient(circle at top right, rgba(230, 178, 73, 0.16), rgba(230, 178, 73, 0) 42%),
    linear-gradient(180deg, rgba(26, 26, 28, 0.96), rgba(18, 18, 20, 0.98));
}

.watch-invincible {
  background:
    radial-gradient(circle at top right, rgba(94, 132, 255, 0.18), rgba(94, 132, 255, 0) 42%),
    linear-gradient(180deg, rgba(26, 26, 28, 0.96), rgba(18, 18, 20, 0.98));
}

.watch-season {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  color: rgba(245, 245, 247, 0.84);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  font-weight: 500;
}

.watch-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.watch-body strong {
  font-size: 28px;
  line-height: 1.08;
}

.watch-item .sub-en,
.watch-body > span {
  color: rgba(245, 245, 247, 0.66);
}

.watch-body > span {
  font-size: 14px;
  line-height: 1.62;
}

.watch-meta-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.watch-platform {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  color: rgba(245, 245, 247, 0.72);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  font-weight: 500;
}

.rating-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: auto;
  padding-top: 4px;
}

.rating-pill {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 58px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rating-pill b {
  color: #f5f5f7;
  margin-top: 8px;
  font-size: 22px;
  line-height: 1;
}

.rating-pill small {
  color: rgba(245, 245, 247, 0.64);
  font-size: 11px;
  font-weight: 500;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  max-width: 1220px;
  margin: 0 auto;
  padding: 36px 32px;
  color: #86868b;
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 100vmax #000;
  clip-path: inset(0 -100vmax);
  font-size: 12.5px;
  letter-spacing: 0.01em;
}

.site-footer a {
  color: var(--blue);
  font-weight: 500;
  transition: color 180ms ease;
}

.site-footer a:hover {
  color: #5ac8fa;
  text-decoration: none;
}

@media (max-width: 1100px) {
  .hero-copy h1 {
    font-size: 78px;
  }

  .social-copy h2,
  .listening-copy h2,
  .intro-section h2,
  .feature-copy h2,
  .section-heading h2,
  .private-library-copy h2,
  .tone-section h2,
  .watchlist-section h2 {
    font-size: 46px;
  }

  .platform-grid,
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-section,
  .private-library-section,
  .tone-section {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .music-showcase {
    grid-template-columns: 1fr;
  }

  .music-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .music-feature-card {
    min-height: 520px;
  }

  .music-now-panel h3,
  .music-mini-copy strong {
    font-size: 32px;
  }

}

@media (max-width: 820px) {
  .site-header {
    padding-right: 18px;
    padding-left: 18px;
    width: 100%;
    max-width: 100%;
  }

  .header-socials {
    flex: 1 1 auto;
    justify-content: flex-end;
    min-width: 0;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .header-socials::-webkit-scrollbar {
    display: none;
  }

  .header-socials a {
    font-size: 12px;
  }

  .lang-switch-wrapper {
    gap: 1px;
    height: 28px;
  }

  .lang-flag-button {
    width: 24px;
    height: 24px;
  }

  .flag-icon {
    width: 15px;
    height: 15px;
  }

  .theme-toggle {
    width: 30px;
    height: 30px;
  }

  .header-socials .nav-special-events {
    min-height: 28px;
    padding: 0 10px;
  }

  .hero-container {
    height: 185vh;
    margin-top: -52px;
  }

  .special-events-section + .hero-container {
    margin-top: 0;
  }

  .special-events-section {
    min-height: 100svh;
    padding: 88px 20px 92px;
  }

  .hero-sticky {
    align-items: center;
    background: #000;
  }

  .hero-copy {
    top: auto;
    bottom: max(22px, env(safe-area-inset-bottom));
    padding: 0 22px;
    transform: translate(-50%, calc(var(--hero-y, 72) * 1px)) scale(var(--hero-scale, 0.98));
  }

  .hero-copy h1 {
    font-size: 56px;
  }

  .hero-lede {
    max-width: 520px;
    font-size: 19px;
  }

  .button {
    width: min(100%, 340px);
  }

  .social-system,
  .intro-section,
  .feature-section,
  .video-grid-section,
  .private-library-section,
  .listening-section,
  .watchlist-section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .social-system {
    padding-top: 76px;
  }

  .social-copy,
  .listening-copy {
    margin-bottom: 30px;
  }

  .social-copy h2,
  .listening-copy h2,
  .intro-section h2,
  .feature-copy h2,
  .section-heading h2,
  .private-library-copy h2,
  .tone-section h2,
  .watchlist-section h2 {
    font-size: 38px;
    line-height: 1.12;
  }

  .social-copy p,
  .listening-copy p,
  .intro-section p,
  .private-library-copy p,
  .feature-copy p {
    font-size: 17px;
    line-height: 1.58;
  }

  .platform-grid,
  .music-grid,
  .watchlist-grid {
    grid-template-columns: 1fr;
  }

  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .release-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .platform-card {
    min-height: 0;
    padding: 26px;
  }

  .platform-card strong {
    margin-top: 24px;
    font-size: 34px;
  }

  .platform-card p {
    font-size: 16px;
  }

  .platform-card em {
    margin-top: 26px;
  }

  .feature-section,
  .video-grid-section,
  .intro-section,
  .private-library-section,
  .listening-section,
  .watchlist-section {
    padding-top: 64px;
    padding-bottom: 68px;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 16px;
    text-align: left;
  }

  .tone-section {
    padding: 86px 20px;
  }

  .scroll-video-wrapper {
    height: 220vh;
  }

  .transition-title {
    font-size: 40px;
  }

  .transition-desc {
    font-size: 17px;
  }

  .section-transition {
    min-height: 96px;
  }

  .music-showcase,
  .music-sidebar {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .music-feature-card {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 28px;
    gap: 28px;
  }

  .music-feature-card strong {
    max-width: none;
    font-size: 42px;
  }

  .music-feature-visual {
    min-height: 360px;
  }

  .music-hero-cover {
    width: min(100%, 292px);
    right: 0;
    bottom: 0;
  }

  .music-queue-card {
    width: min(70%, 212px);
  }

  .music-queue-top {
    top: 12px;
    right: 88px;
  }

  .music-queue-bottom {
    left: 0;
    bottom: 24px;
  }

  .music-now-panel,
  .music-mini-card {
    min-height: auto;
    padding: 24px;
  }

  .music-now-panel h3,
  .music-mini-copy strong {
    font-size: 30px;
  }

  .music-mini-card {
    grid-template-columns: 118px 1fr;
  }

  .music-list {
    grid-template-columns: 1fr;
  }

  .music-item {
    grid-template-columns: 124px minmax(0, 1fr);
    min-height: auto;
    padding: 22px;
  }

  .music-item-body strong {
    font-size: 26px;
  }

  .watch-body strong {
    font-size: 22px;
  }

  .watch-item {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
  }

  .watch-poster {
    width: 104px;
  }

  .site-footer {
    display: block;
    padding: 24px 20px;
    text-align: center;
  }

  .site-footer a {
    display: inline-block;
    margin-top: 12px;
  }
}

@media (max-width: 820px) and (orientation: landscape) {
  .hero-copy {
    top: 50%;
    bottom: auto;
    transform: translate(-50%, calc(-50% + (var(--hero-y, 360) * 1px))) scale(var(--hero-scale, 0.98));
  }
}

@media (max-width: 700px) {
  .site-header {
    gap: 10px;
  }

  .header-socials {
    overflow: visible;
  }

  .header-socials a {
    display: none;
  }

  .header-socials a.nav-special-events {
    display: inline-flex;
  }
}

@media (max-width: 900px) {
  .special-events-section {
    padding: 80px 18px 84px;
  }

  .special-events-title {
    font-size: clamp(46px, 13vw, 100px);
  }

  .special-events-lede {
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  /* Tighten the right-side control cluster on phones */
  .header-socials {
    gap: 6px;
  }

  /* Collapse "Special Event" text pill into an icon-only circular button
     so it matches the language / search / theme controls beside it. */
  .header-socials .nav-special-events {
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    font-size: 0;
    line-height: 0;
    color: transparent;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
  }

  .header-socials .nav-special-events::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(245, 245, 247, 0.92);
    -webkit-mask: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2.5'/%3E%3Cpath d='M8.5 11V7.5a3.5 3.5 0 0 1 7 0V11'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
    mask: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2.5'/%3E%3Cpath d='M8.5 11V7.5a3.5 3.5 0 0 1 7 0V11'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
    transition: transform 200ms var(--ease), background-color 180ms ease;
  }

  .site-header.scrolled .header-socials .nav-special-events::before {
    background-color: var(--ink);
  }

  .header-socials .nav-special-events:hover::before {
    transform: scale(1.08);
  }

  .header-socials .nav-special-events:active {
    transform: scale(0.94);
  }

  .special-events-title {
    font-size: clamp(42px, 14vw, 54px);
  }

  .special-events-cta {
    width: min(100%, 320px);
  }
}

@media (max-width: 520px) {
  .brand {
    gap: 0;
    padding: 3px;
  }

  .brand-name,
  .brand-caret {
    display: none;
  }

  .user-menu {
    min-width: 0;
    width: min(320px, calc(100vw - 36px));
  }

  .header-socials {
    gap: 6px;
  }

  .header-socials a {
    display: none;
  }

  .header-socials a.nav-special-events {
    display: inline-flex;
  }

  .special-events-section {
    min-height: 100svh;
    padding-top: 72px;
    padding-bottom: 76px;
  }

  .lang-switch-wrapper {
    height: 26px;
    padding: 1px;
  }

  .lang-flag-button {
    width: 21px;
    height: 21px;
  }

  .flag-icon {
    width: 13px;
    height: 13px;
  }

  .theme-toggle {
    width: 28px;
    height: 28px;
  }

  .hero-copy h1 {
    font-size: 46px;
  }

  .hero-lede {
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
    justify-items: center;
    gap: 10px;
  }

  .platform-card,
  .video-body,
  .music-feature-card,
  .music-now-panel,
  .music-mini-card {
    padding: 20px;
  }

  .social-copy h2,
  .listening-copy h2,
  .intro-section h2,
  .feature-copy h2,
  .section-heading h2,
  .private-library-copy h2,
  .tone-section h2,
  .watchlist-section h2 {
    font-size: 32px;
  }

  .private-library-panel {
    padding: 24px;
  }

  .release-meta dd {
    font-size: 21px;
  }

  .music-feature-card strong {
    font-size: 36px;
  }

  .music-feature-visual {
    min-height: 300px;
  }

  .music-hero-cover {
    width: 220px;
  }

  .music-queue-card {
    grid-template-columns: 56px 1fr;
    width: min(78%, 194px);
    padding: 10px;
    gap: 10px;
  }

  .music-queue-copy strong {
    font-size: 16px;
  }

  .music-now-panel h3,
  .music-mini-copy strong {
    font-size: 28px;
  }

  .music-mini-card {
    grid-template-columns: 1fr;
  }

  .music-mini-art {
    max-width: 180px;
  }

  .music-item {
    grid-template-columns: 1fr;
  }

  .music-cover {
    width: 168px;
  }

  .music-item-body strong {
    font-size: 26px;
  }

  .watch-item {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }

  .watch-poster {
    width: 88px;
    border-radius: 14px;
  }

  .watch-platform,
  .watch-season {
    min-height: 24px;
    padding: 0 9px;
    font-size: 10px;
  }

  .watch-body strong {
    font-size: 20px;
  }

  .watch-body > span {
    font-size: 13px;
  }

  .rating-row {
    gap: 8px;
  }

  .rating-pill {
    min-height: 52px;
    padding: 10px 12px;
    border-radius: 14px;
  }

  .rating-pill b {
    margin-top: 6px;
    font-size: 18px;
  }

  .transition-title {
    font-size: 34px;
  }

  .watch-season {
    font-size: 11px;
  }

  .privacy-consent {
    right: 12px;
    bottom: 12px;
    left: 12px;
    flex-direction: column;
    align-items: stretch;
    max-width: none;
  }

  .privacy-consent-actions {
    justify-content: flex-end;
  }
}

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

  .hero-container {
    height: auto;
  }

  .hero-sticky {
    position: relative;
  }

  .hero-copy {
    transform: none !important;
    opacity: 1 !important;
  }

  .hero-overlay {
    opacity: 0.42 !important;
  }

  .scroll-video-wrapper {
    height: auto;
  }

  .scroll-video-sticky {
    position: relative;
  }

  .transition-video {
    opacity: 1 !important;
    filter: none !important;
    transform: translate(-50%, -50%) !important;
  }

  .video-transition-content {
    opacity: 1 !important;
    transform: none !important;
  }
}
