:root {
  --bg: #070b12;
  --bg-deep: #05080d;
  --surface: #101821;
  --surface-2: #15202c;
  --ink: #f4f7fb;
  --muted: #8b9db2;
  --line: rgba(244, 247, 251, 0.08);
  --accent: #1ec8ae;
  --accent-2: #5eead4;
  --accent-ink: #042f2a;
  --accent-soft: rgba(30, 200, 174, 0.14);
  --warm: #ffb020;
  --danger: #ef7b7b;
  --shadow: 0 28px 60px rgba(0, 0, 0, 0.48);
  --shadow-soft: 0 14px 34px rgba(0, 0, 0, 0.32);
  --radius: 22px;
  --font-display: "Syne", Georgia, serif;
  --font-body: "Sora", sans-serif;
  --header: 68px;
  --glow: 0 0 32px rgba(30, 200, 174, 0.32);
  --max: 1280px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(920px 480px at 8% -10%, rgba(30, 200, 174, 0.18), transparent 58%),
    radial-gradient(760px 420px at 96% 4%, rgba(255, 176, 32, 0.07), transparent 52%),
    radial-gradient(640px 420px at 70% 80%, rgba(56, 120, 180, 0.07), transparent 55%),
    linear-gradient(180deg, #0b121b 0%, var(--bg) 40%, var(--bg-deep) 100%);
  letter-spacing: 0.01em;
}
body.is-watch {
  background: #070b12;
  color: #f4f7fb;
}

/* Premium dark scrollbars */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(20, 184, 160, 0.45) rgba(255, 255, 255, 0.04);
}
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
*::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
}
*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(20, 184, 160, 0.55), rgba(245, 158, 11, 0.35));
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.75), rgba(245, 158, 11, 0.5));
  background-clip: padding-box;
}
*::-webkit-scrollbar-corner { background: transparent; }

::selection {
  background: rgba(20, 184, 160, 0.35);
  color: #fff;
}

.page-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(560px 240px at 50% 0%, rgba(30, 200, 174, 0.09), transparent 70%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 1;
}
.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
.main { flex: 1; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
textarea { font: inherit; }

/* Premium dark fields site-wide */
textarea,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="number"],
input[type="tel"],
input[type="search"] {
  color-scheme: dark;
  width: 100%;
  border: 1px solid rgba(244, 247, 251, 0.12);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(18, 28, 38, 0.96), rgba(10, 16, 24, 0.92));
  color: var(--ink);
  padding: 0.78rem 0.95rem;
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 24px rgba(0, 0, 0, 0.18);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
  caret-color: #5eead4;
}
textarea {
  resize: vertical;
  min-height: 5.2rem;
  line-height: 1.45;
}
textarea::placeholder,
input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="password"]::placeholder,
input[type="url"]::placeholder,
input[type="number"]::placeholder,
input[type="tel"]::placeholder,
input[type="search"]::placeholder {
  color: rgba(139, 157, 178, 0.78);
}
textarea:hover,
input[type="text"]:hover,
input[type="email"]:hover,
input[type="password"]:hover,
input[type="url"]:hover,
input[type="number"]:hover,
input[type="tel"]:hover,
input[type="search"]:hover {
  border-color: rgba(94, 234, 212, 0.28);
}
textarea:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="search"]:focus {
  border-color: rgba(94, 234, 212, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 4px var(--accent-soft),
    0 12px 28px rgba(0, 0, 0, 0.22);
}
textarea:disabled,
input:disabled {
  opacity: .62;
  cursor: not-allowed;
}
/* Keep header search flush inside its chrome */
.search input[type="search"],
.search input {
  width: auto;
  height: 100%;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 0.95rem;
}
.search input:focus {
  border: 0 !important;
  box-shadow: none !important;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.site-header {
  position: sticky;
  top: 0.7rem;
  z-index: 40;
  width: min(var(--max), calc(100% - 1.5rem));
  margin: 0.7rem auto 0;
  border-radius: 22px;
  backdrop-filter: blur(18px) saturate(1.25);
  background: rgba(8, 12, 18, 0.72);
  border: 1px solid rgba(244, 247, 251, 0.08);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.site-header::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(30, 200, 174, 0.55), rgba(255, 176, 32, 0.28), transparent);
}
.is-watch .site-header {
  background: rgba(8, 12, 18, 0.82);
  border-color: rgba(244, 247, 251, 0.07);
}
.site-header-inner {
  width: 100%;
  margin: 0 auto;
  min-height: var(--header);
  padding: 0.55rem 0.85rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.65rem;
}
.header-utils {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  justify-self: end;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.brand-copy {
  display: grid;
  line-height: 1.05;
}
.brand-tag {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 700;
  opacity: 0.85;
}
.brand-mark {
  position: relative;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  isolation: isolate;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  position: relative;
  z-index: 1;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 8px 22px rgba(0, 0, 0, 0.45);
}
.brand-glow {
  position: absolute;
  inset: -6px;
  border-radius: 18px;
  background: conic-gradient(from 180deg, rgba(20, 184, 160, 0.0), rgba(20, 184, 160, 0.65), rgba(245, 158, 11, 0.45), rgba(20, 184, 160, 0.0));
  filter: blur(8px);
  opacity: 0.75;
  animation: logoOrbit 4.8s linear infinite;
  z-index: 0;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  box-shadow: 0 0 24px rgba(20, 184, 160, 0.35);
  animation: logoPulse 2.8s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}
.brand-mark.is-sm {
  width: 2.25rem;
  height: 2.25rem;
}
.brand-mark.is-hero {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 18px;
}
.brand-mark.is-hero img { border-radius: 16px; }
.brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fff 20%, #b7c8d8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-nav {
  display: flex;
  gap: 0.2rem;
  justify-content: center;
}
.site-nav a,
.site-nav .nav-account-btn {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}
.site-nav a:hover,
.site-nav a.is-active,
.site-nav .nav-account-btn:hover {
  color: #fff;
  background: rgba(20, 184, 160, 0.16);
  box-shadow: inset 0 0 0 1px rgba(20, 184, 160, 0.28);
}
.is-watch .site-nav a,
.is-watch .site-nav .nav-account-btn { color: #9aabbc; }
.is-watch .site-nav a:hover,
.is-watch .site-nav a.is-active,
.is-watch .site-nav .nav-account-btn:hover {
  color: #fff;
  background: rgba(20, 184, 160, 0.16);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 11px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.search {
  display: flex;
  align-items: stretch;
  gap: 0;
  height: 42px;
  min-width: 200px;
  max-width: 280px;
  width: min(280px, 26vw);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(18, 25, 34, 0.9);
  overflow: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.search-wrap {
  position: relative;
  justify-self: end;
  min-width: 0;
}
.search:focus-within {
  border-color: rgba(20, 184, 160, 0.55);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.discord-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  height: 42px;
  padding: 0 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(88, 101, 242, 0.45);
  background: linear-gradient(135deg, #5865f2, #4752c4);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(88, 101, 242, 0.28);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
  flex: 0 0 auto;
}
.discord-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(88, 101, 242, 0.38);
  filter: brightness(1.05);
}
.discord-btn svg { flex: 0 0 auto; }
.search input {
  flex: 1;
  min-width: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  border-radius: 0;
  padding: 0 0.95rem;
  outline: none;
  box-shadow: none;
}
.search input:focus {
  border-color: transparent;
  box-shadow: none;
}
.search button {
  border: 0;
  border-radius: 0;
  height: 100%;
  padding: 0 1rem;
  background: linear-gradient(135deg, #0f8f7a, #14b8a0 55%, #2dd4bf);
  color: #042f2a;
  font-weight: 800;
  cursor: pointer;
  flex: 0 0 auto;
}
.search-suggest {
  position: fixed;
  top: 0;
  left: 0;
  width: min(420px, calc(100vw - 1.5rem));
  z-index: 80;
  border-radius: 16px;
  border: 1px solid rgba(244, 247, 251, 0.1);
  background: rgba(10, 14, 20, 0.98);
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.search-suggest-list {
  max-height: min(58vh, 420px);
  overflow: auto;
  padding: 0.35rem;
}
.search-suggest-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.55rem 0.6rem;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  transition: background 140ms ease;
}
.search-suggest-item:hover,
.search-suggest-item.is-active {
  background: rgba(30, 200, 174, 0.12);
}
.search-suggest-cover {
  width: 42px;
  height: 58px;
  border-radius: 8px;
  object-fit: cover;
  background: #121820;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.search-suggest-body {
  min-width: 0;
  display: grid;
  gap: 0.35rem;
}
.search-suggest-title {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-suggest-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}
.search-suggest-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 247, 251, 0.14);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #c5d0db;
  white-space: nowrap;
}
.search-suggest-tag.is-format {
  color: #5eead4;
  border-color: rgba(94, 234, 212, 0.45);
}
.search-suggest-date {
  margin-left: auto;
  font-size: 0.72rem;
  color: #8fa0b3;
  white-space: nowrap;
}
.search-suggest-empty {
  padding: 1.1rem 1rem;
  color: #8fa0b3;
  font-size: 0.9rem;
  text-align: center;
}
.search-suggest-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem;
  border-top: 1px solid rgba(244, 247, 251, 0.08);
  background: rgba(255, 255, 255, 0.02);
}
.search-suggest-keys {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  font-size: 0.68rem;
  color: #8091a4;
}
.search-suggest-keys span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.search-suggest-keys kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.28rem;
  border-radius: 5px;
  border: 1px solid rgba(244, 247, 251, 0.14);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.62rem;
  font-family: inherit;
  color: #c5d0db;
}
.search-suggest-more {
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5eead4;
}
.search-suggest-more:hover { color: #99f6e4; }
.is-watch .search {
  background: rgba(255,255,255,0.04);
  border-color: rgba(238, 243, 248, 0.12);
}
.is-watch .search input {
  background: transparent;
  color: #eef3f8;
  border-color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.85rem 1.3rem;
  border: 1px solid transparent;
  font-weight: 750;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, #0f8f7a, #14b8a0 55%, #2dd4bf);
  color: #042f2a;
  box-shadow: 0 12px 28px rgba(20, 184, 160, 0.28);
}
.btn-primary:hover { box-shadow: 0 16px 34px rgba(20, 184, 160, 0.4); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: inherit;
  backdrop-filter: blur(8px);
}
.is-watch .btn-ghost { border-color: rgba(238, 243, 248, 0.16); }

.banner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.hero {
  position: relative;
  min-height: min(86vh, 740px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background:
    var(--hero-image) center/cover no-repeat;
  animation: heroIn 800ms cubic-bezier(.2,.7,.2,1) both;
}
.hero-fallback {
  background:
    linear-gradient(135deg, #163447, #0f8f7a 55%, #d97706);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 11, 17, 0.92) 10%, rgba(7, 11, 17, 0.55) 48%, rgba(7, 11, 17, 0.18)),
    linear-gradient(transparent 28%, rgba(7, 11, 17, 0.92));
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto 0 max(1rem, calc((100% - var(--max)) / 2));
  padding: 4.2rem 0 3.4rem;
  color: #f4f7fb;
  max-width: 720px;
  justify-self: start;
}
.hero-panel {
  padding: 1.35rem 1.45rem 1.5rem;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(10, 15, 22, 0.55), rgba(10, 15, 22, 0.28));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px) saturate(1.15);
}
.hero-brand-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: #9be8d8;
  margin: 0 0 0.95rem;
  font-weight: 750;
}
.eyebrow span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(20, 184, 160, 0.12);
  border: 1px solid rgba(20, 184, 160, 0.28);
  box-shadow: 0 0 24px rgba(20, 184, 160, 0.12);
}
.eyebrow span::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.18);
  animation: beaconPulse 1.8s ease-in-out infinite;
}
.hero-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 8vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-shadow:
    0 0 40px rgba(20, 184, 160, 0.35),
    0 12px 40px rgba(0, 0, 0, 0.45);
}
.hero-title {
  margin: 1.05rem 0 0.45rem;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}
.hero-lede {
  margin: 0;
  color: rgba(244, 247, 251, 0.78);
  max-width: 46ch;
  line-height: 1.65;
  font-size: 0.98rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.45rem;
}
.hero .btn-primary {
  min-width: 10.5rem;
}
.hero .btn-ghost {
  border-color: rgba(255,255,255,0.22);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
}

.section {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.6rem 0 0;
  animation: riseIn 700ms ease both;
}
.section-last { padding-bottom: 3rem; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.15rem;
}
.section-copy {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.section-index {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  margin-top: 0.35rem;
  opacity: 0.85;
}
.section-head h2,
.catalog-heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.section-head p,
.catalog-bar-copy p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.text-link {
  color: var(--accent-2);
  font-weight: 750;
  position: relative;
}
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 180ms ease, opacity 180ms ease;
}
.text-link:hover::after {
  transform: scaleX(1);
  opacity: 0.9;
}

.poster-rail,
.char-rail,
.genre-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(148px, 170px);
  gap: 0.9rem;
  overflow-x: auto;
  align-items: start;
  padding-bottom: 0.15rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.poster-rail {
  scrollbar-color: rgba(20, 184, 160, 0.4) transparent;
}
.poster-rail::-webkit-scrollbar {
  height: 6px;
}
.poster-rail::-webkit-scrollbar-track {
  background: transparent;
}
.genre-row { grid-auto-columns: max-content; margin: 0.5rem 0 0.25rem; }
.genre-row.compact { margin: 0.9rem 0; }

.poster {
  scroll-snap-align: start;
  transition: transform 200ms ease;
  min-width: 0;
}
.poster:hover { transform: translateY(-6px); }
.poster-art {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.poster:hover .poster-art {
  box-shadow: 0 18px 40px rgba(0,0,0,0.45), 0 0 0 1px rgba(20, 184, 160, 0.28), 0 0 28px rgba(20, 184, 160, 0.12);
}
.poster-art img {
  aspect-ratio: 2/3;
  width: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}
.poster:hover .poster-art img { transform: scale(1.04); }
.poster-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 0.45rem 0.1rem 0;
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.25;
  min-height: calc(1.25em * 2);
}
.score {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  background: rgba(15, 20, 28, 0.88);
  color: #eef3f8;
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
}

.season-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}
.season-tile {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(238, 243, 248, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.season-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(20, 184, 160, 0.28);
  box-shadow: 0 18px 36px rgba(0,0,0,0.4), 0 0 24px rgba(20, 184, 160, 0.1);
}
.season-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}
.season-tile:hover img { transform: scale(1.04); }
.season-copy {
  position: absolute;
  inset: auto 0 0;
  padding: 0.85rem;
  background: linear-gradient(transparent, rgba(10, 16, 24, 0.92));
  color: #fff;
}
.season-copy strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.92rem;
  line-height: 1.25;
}
.season-copy span { color: rgba(255,255,255,0.72); font-size: 0.8rem; }
.air-chip {
  display: inline-block;
  margin-top: 0.35rem;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 800;
  color: #9be8d8;
}

/* Genre carousel */
.genre-section { padding-top: 1.4rem; }
.genre-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(23, 31, 42, 0.72), rgba(14, 20, 28, 0.55));
  border: 1px solid rgba(238, 243, 248, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}
.genre-track {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent);
  padding: 0.15rem 0;
}
.genre-track::-webkit-scrollbar { display: none; }
.genre-chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  padding: 0.58rem 1.05rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(238, 243, 248, 0.08);
  color: #e8eef6;
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.genre-chip:hover,
.genre-chip.is-active {
  background: linear-gradient(135deg, rgba(20, 184, 160, 0.28), rgba(20, 184, 160, 0.12));
  border-color: rgba(45, 212, 191, 0.45);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.12), 0 10px 24px rgba(20, 184, 160, 0.16);
  transform: translateY(-1px);
}
.genre-arrow {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(238, 243, 248, 0.12);
  background: rgba(10, 15, 22, 0.75);
  color: #eef3f8;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.genre-arrow:hover {
  border-color: rgba(20, 184, 160, 0.55);
  box-shadow: 0 0 18px rgba(20, 184, 160, 0.22);
  transform: scale(1.04);
}

/* Home two-column */
.home-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1.5rem;
  align-items: start;
  padding-top: 1.7rem;
  padding-bottom: 3.2rem;
}
.home-main { min-width: 0; }
.nested-section { margin-top: 2.4rem; }

.catalog-bar-wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0.5rem auto 0;
  padding: 0;
}
.catalog-bar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}
.catalog-bar-copy {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.catalog-bar-tools {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.sort-tabs {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.28rem;
  border: 1px solid rgba(238, 243, 248, 0.08);
  border-radius: 999px;
  background: rgba(10, 15, 22, 0.55);
  backdrop-filter: blur(8px);
}
.sort-tab {
  padding: 0.5rem 0.9rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #9aabbc;
  border-radius: 999px;
  border: 0;
}
.sort-tab.is-active,
.sort-tab:hover {
  background: linear-gradient(135deg, rgba(30, 200, 174, 0.28), rgba(30, 200, 174, 0.12));
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(94, 234, 212, 0.25);
}
.mini-pager {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(238, 243, 248, 0.1);
  background: rgba(10, 15, 22, 0.55);
}
.mini-pager a,
.mini-pager span,
.mini-pager em {
  min-width: 1.5rem;
  text-align: center;
  font-style: normal;
  font-weight: 700;
  color: #eef3f8;
}
.mini-pager a:hover { color: #5eead4; }
.mini-pager .is-disabled { opacity: 0.35; pointer-events: none; }

/* Sidebar panels */
.home-side {
  display: grid;
  gap: 1.1rem;
  overflow: visible;
}
.side-panel {
  position: relative;
  background:
    linear-gradient(165deg, rgba(22, 32, 44, 0.92), rgba(12, 18, 26, 0.96));
  border: 1px solid rgba(238, 243, 248, 0.08);
  border-radius: 24px;
  padding: 1.05rem 1.05rem 1.1rem;
  overflow: visible;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}
.side-panel::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(30, 200, 174, 0.7), transparent 70%);
  opacity: 0.85;
}
.side-kicker {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 0.15rem;
}
.schedule-head h3,
.side-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #7ed9c8;
  letter-spacing: -0.02em;
}
.side-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #eef3f8;
  margin-bottom: 0.75rem;
}
.side-title span { color: #7ed9c8; }
.schedule-head {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}
.schedule-tz {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 600;
}
.day-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.day-tab {
  border: 0;
  background: transparent;
  color: #6f8194;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  padding: 0;
}
.day-tab.is-active {
  color: #fff;
  font-size: 1rem;
}
.schedule-panel {
  position: relative;
  padding-left: 1.05rem;
  overflow: visible;
}
.schedule-panel::before {
  display: none;
}
.schedule-body { display: grid; }
.schedule-list { display: none; }
.schedule-list.is-active { display: grid; }
.schedule-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  padding: 0.55rem 0.45rem;
  border-radius: 12px;
  border-bottom: 1px solid rgba(238, 243, 248, 0.06);
  transition: background 140ms ease;
}
.schedule-row:last-child { border-bottom: 0; }
.schedule-row:hover,
.schedule-row:focus-visible {
  background: rgba(238, 243, 248, 0.05);
}
.schedule-thumb {
  width: 42px;
  height: 58px;
  object-fit: cover;
  border-radius: 8px;
  background: #0d1218;
}
.schedule-copy { min-width: 0; }
.schedule-copy strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.86rem;
  margin-bottom: 0.28rem;
}
.schedule-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.78rem;
  min-width: 0;
}
.air-beacon {
  --p: 0;
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border-radius: 6px;
  background:
    conic-gradient(
      from 140deg,
      rgba(20, 184, 160, 0.95) 0 calc(var(--p) * 100%),
      rgba(238, 243, 248, 0.1) calc(var(--p) * 100%) 100%
    );
  box-shadow: inset 0 0 0 1px rgba(15, 20, 28, 0.55);
  transform: rotate(-20deg);
}
.air-beacon::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 4px;
  background: #101722;
}
.air-beacon-halo {
  position: absolute;
  inset: -3px;
  border-radius: 8px;
  background: radial-gradient(circle, rgba(20, 184, 160, 0.28), transparent 68%);
  opacity: 0;
  pointer-events: none;
}
.air-beacon-core {
  position: absolute;
  inset: 5px;
  border-radius: 2px;
  background: rgba(154, 171, 188, 0.35);
  z-index: 1;
  transition: background 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}
.air-beacon-spark {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  background:
    linear-gradient(90deg, transparent 46%, #9be8d8 50%, transparent 54%),
    linear-gradient(0deg, transparent 46%, #9be8d8 50%, transparent 54%);
  clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%);
  transform: scale(0.55);
}
.air-beacon.is-waiting .air-beacon-core {
  background: rgba(154, 171, 188, 0.28);
}
.air-beacon.is-approaching .air-beacon-core {
  background: #14b8a0;
  box-shadow: 0 0 10px rgba(20, 184, 160, 0.55);
}
.air-beacon.is-approaching .air-beacon-halo { opacity: 0.7; }
.air-beacon.is-imminent .air-beacon-core {
  background: #2dd4bf;
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.7);
  animation: beaconPulse 1s ease-in-out infinite;
}
.air-beacon.is-imminent .air-beacon-halo {
  opacity: 1;
  animation: beaconGlow 1s ease-in-out infinite;
}
.air-beacon.is-aired {
  background: linear-gradient(145deg, #0f8f7a, #2dd4bf);
  transform: rotate(0deg);
}
.air-beacon.is-aired::before { background: transparent; }
.air-beacon.is-aired .air-beacon-core {
  background: transparent;
  box-shadow: none;
}
.air-beacon.is-aired .air-beacon-spark {
  opacity: 1;
}
.air-beacon.is-aired .air-beacon-halo { opacity: 0.55; }
@keyframes beaconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}
@keyframes beaconGlow {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
.schedule-meta time {
  font-variant-numeric: tabular-nums;
  color: #b7c5d4;
  flex: 0 0 auto;
}
.schedule-eta {
  color: #7ed9c8;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.schedule-eta:empty { display: none; }
.schedule-ep {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  background: rgba(238, 243, 248, 0.06);
  border: 1px solid rgba(238, 243, 248, 0.08);
  color: #d7e2ee;
}
.side-empty {
  margin: 0.4rem 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.side-more {
  display: block;
  text-align: center;
  margin-top: 0.55rem;
  padding: 0.55rem;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.86rem;
  border-radius: 10px;
  border: 1px solid rgba(238, 243, 248, 0.08);
}
.side-more:hover { color: #fff; border-color: rgba(15, 143, 122, 0.4); }

.side-list { display: grid; gap: 0.55rem; }
.side-card {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  padding: 0.55rem;
  border-radius: 12px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(20, 27, 36, 0.96), rgba(20, 27, 36, 0.88)),
    var(--card-art) right center / cover no-repeat;
  border: 1px solid rgba(238, 243, 248, 0.06);
}
.side-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  filter: grayscale(0.7) brightness(0.45);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}
.side-card > * { position: relative; z-index: 1; }
.side-card img {
  width: 54px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  background: #0f141c;
}
.side-card strong {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.86rem;
  line-height: 1.25;
  margin-bottom: 0.35rem;
}
.status-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  margin-top: 0.35rem;
  flex: 0 0 auto;
}
.status-dot.is-live { background: #34d399; box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18); }
.status-dot.is-soon { background: #d97706; box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.18); }
.meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.meta-pills span {
  font-size: 0.68rem;
  font-weight: 700;
  color: #9aabbc;
  background: rgba(238, 243, 248, 0.06);
  border: 1px solid rgba(238, 243, 248, 0.08);
  border-radius: 999px;
  padding: 0.15rem 0.4rem;
}

.browse-tools {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0.35rem auto 0;
}
.page-intro {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 0.5rem;
}
.page-intro h1 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
}
.page-intro p { margin: 0; color: var(--muted); }

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  background: var(--surface);
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}
.chip:hover,
.chip.is-active {
  color: #fff;
  background: var(--accent);
  border-color: transparent;
}

.catalog-grid {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 0.75rem;
  padding: 1rem 0 0;
}
.home-catalog {
  width: 100%;
  padding-top: 0.85rem;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
}
.catalog-item {
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, #171f2a, #121922);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(238, 243, 248, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.catalog-item:hover {
  transform: translateY(-3px);
  border-color: rgba(20, 184, 160, 0.28);
  box-shadow: 0 14px 28px rgba(0,0,0,0.4), 0 0 20px rgba(20, 184, 160, 0.1);
}
.catalog-art {
  position: relative;
  overflow: hidden;
  background: #0d1218;
}
.catalog-art-fallback {
  aspect-ratio: 2/3;
  background:
    linear-gradient(145deg, rgba(20, 184, 160, 0.18), rgba(15, 20, 28, 0.9) 55%),
    #121922;
}
.catalog-art img {
  aspect-ratio: 2/3;
  object-fit: cover;
  width: 100%;
  transition: transform 360ms ease;
}
.catalog-item:hover .catalog-art img { transform: scale(1.04); }
.catalog-badges {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  display: grid;
  gap: 0.22rem;
  justify-items: end;
  z-index: 2;
}
.catalog-score {
  background: rgba(10, 15, 22, 0.88);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: 999px;
  padding: 0.14rem 0.42rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.catalog-audio {
  display: inline-flex;
  gap: 0.2rem;
}
.catalog-audio[hidden] { display: none !important; }
.catalog-audio em {
  font-style: normal;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.12rem 0.38rem;
  border-radius: 999px;
  background: rgba(10, 15, 22, 0.88);
  border: 1px solid rgba(244, 247, 251, 0.12);
  color: #d7e2ee;
}
.catalog-audio em.is-sub {
  color: #5eead4;
  border-color: rgba(94, 234, 212, 0.4);
}
.catalog-audio em.is-dub {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.35);
}
.catalog-grid.is-loading {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 160ms ease;
}
.catalog-meta { padding: 0.55rem 0.55rem 0.65rem; }
.catalog-meta strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.78rem;
  line-height: 1.25;
  margin-bottom: 0.3rem;
  font-weight: 700;
}
.catalog-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.45rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 650;
}
.catalog-stats em {
  font-style: normal;
  background: rgba(238, 243, 248, 0.05);
  border: 1px solid rgba(238, 243, 248, 0.07);
  border-radius: 999px;
  padding: 0.1rem 0.35rem;
}
.empty-state {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0;
  color: var(--muted);
}
.pager {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  gap: 0.75rem;
  padding: 1.5rem 0 2.5rem;
}

.detail-hero {
  position: relative;
  background:
    linear-gradient(90deg, rgba(10,16,24,0.94), rgba(10,16,24,0.55) 55%, rgba(10,16,24,0.28)),
    var(--hero-image) center/cover no-repeat;
  color: #f4f7fb;
}
.detail-hero-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  padding: 2.5rem 0;
  align-items: end;
}
.detail-cover {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--shadow);
  aspect-ratio: 2/3;
  object-fit: cover;
}
.detail-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.native-title { color: rgba(244,247,251,0.7); margin: 0.35rem 0 0; }
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
}
.meta-row span {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 0.82rem;
  color: rgba(244,247,251,0.82);
}
.detail-desc {
  margin: 1rem 0 0;
  max-width: 62ch;
  color: rgba(244,247,251,0.84);
  line-height: 1.6;
}
.detail-hero .chip {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.16);
  color: #fff;
}

.char-rail { grid-auto-columns: minmax(120px, 140px); }
.char-card {
  background: var(--surface);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.char-card img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.char-card strong, .char-card span { display: block; padding: 0 0.65rem; }
.char-card strong { padding-top: 0.55rem; font-size: 0.85rem; }
.char-card span { padding-bottom: 0.7rem; color: var(--muted); font-size: 0.75rem; }

.site-foot {
  border-top: 1px solid var(--line);
  margin-top: auto;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.28));
}
.site-foot-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 2.5rem;
  color: var(--muted);
  display: grid;
  gap: 1.15rem;
}
.foot-brand {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
}
.site-foot strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}
.site-foot p { margin: 0; max-width: 72ch; line-height: 1.55; }
.foot-disclaimer {
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(238, 243, 248, 0.08);
}
.foot-copy {
  margin: 0 0 0.4rem !important;
  color: #e8eef5 !important;
  font-weight: 650;
  font-size: 0.92rem !important;
  max-width: none !important;
}
.foot-disclaimer strong {
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
}
.foot-disclaimer p {
  font-size: 0.84rem;
  line-height: 1.6;
  max-width: none;
  color: var(--muted);
}
.foot-disclaimer a,
.foot-meta a {
  color: #7ed9c8;
  font-weight: 650;
}
.foot-disclaimer a:hover,
.foot-meta a:hover {
  color: #fff;
  text-decoration: underline;
}
.foot-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.82rem;
  opacity: 0.92;
}

.legal-page {
  width: min(860px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.4rem 0 3.2rem;
}
.legal-inner h1 {
  margin: 0.2rem 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
}
.legal-updated {
  margin: 0 0 1.2rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.legal-card {
  padding: 1.35rem 1.4rem 1.5rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(23, 31, 42, 0.95), rgba(16, 22, 31, 0.98));
  border: 1px solid rgba(238, 243, 248, 0.08);
  box-shadow: var(--shadow-soft);
}
.legal-card h2 {
  margin: 1.25rem 0 0.45rem;
  font-size: 1.05rem;
  color: #9be8d8;
}
.legal-card h2:first-child { margin-top: 0; }
.legal-card p,
.legal-card li {
  color: #c5d0dc;
  line-height: 1.65;
  font-size: 0.95rem;
}
.legal-card ul {
  margin: 0.4rem 0 0.8rem;
  padding-left: 1.2rem;
}
.legal-card a { color: #7ed9c8; font-weight: 650; }
.legal-card a:hover { color: #fff; }
.legal-note {
  margin-top: 1.2rem !important;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(238, 243, 248, 0.08);
  font-size: 0.86rem !important;
  color: var(--muted) !important;
}
.legal-back { margin: 1.2rem 0 0; }

/* Watch page */
.watch-layout {
  width: min(1400px, calc(100% - 1.25rem));
  margin: 0.85rem auto 1.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1rem;
  align-items: start;
}
.player-shell {
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.player-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}
.player-stage.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.2);
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
  z-index: 4;
  pointer-events: none;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.player-frame,
.player-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}
.player-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.8rem;
  text-align: center;
  color: #9aabbc;
  padding: 1rem;
  background: #000;
  z-index: 2;
}
.player-empty[hidden] {
  display: none !important;
}
.player-frame,
.player-video {
  z-index: 1;
}

.skip-stack {
  position: absolute;
  right: 1rem;
  bottom: 4.2rem;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
  pointer-events: none;
}
.skip-stack[hidden] { display: none !important; }
.skip-btn {
  pointer-events: auto;
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  background: rgba(255, 255, 255, 0.92);
  color: #111827;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  transition: transform 140ms ease, background 140ms ease;
  text-decoration: none;
}
.skip-btn:hover {
  transform: translateY(-1px);
  background: #fff;
}
.skip-btn[hidden] { display: none !important; }
.skip-next {
  background: var(--accent);
  color: #fff;
}

.airing-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
  margin-bottom: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background: rgba(15, 143, 122, 0.14);
  border: 1px solid rgba(15, 143, 122, 0.28);
  color: #d7f5ee;
  font-size: 0.92rem;
}
.airing-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 800;
  color: #7dd3c2;
}
.airing-when {
  color: #9aabbc;
  margin-left: auto;
}
.side-airing {
  display: block;
  margin-top: 0.2rem;
  color: #7dd3c2;
  font-size: 0.78rem;
  font-weight: 700;
}

.next-ep-card {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin: 1rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  max-width: 420px;
}
.next-ep-label {
  margin: 0 0 0.15rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  color: #9be8d8;
  font-weight: 800;
}
.next-ep-card strong {
  font-size: 1.05rem;
}
.next-ep-time {
  text-align: right;
}
.next-ep-time span {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}
.next-ep-time small {
  color: rgba(244,247,251,0.7);
  font-size: 0.78rem;
}

.watch-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  padding: 1rem 0.15rem 0;
}
.watch-heading h1 {
  margin: 0.2rem 0 0.15rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  letter-spacing: -0.02em;
}
.watch-heading p { margin: 0; color: #9aabbc; }
.back-link {
  color: #7dd3c2;
  font-weight: 600;
  font-size: 0.9rem;
}
.watch-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
  align-items: center;
}
.seg {
  display: inline-flex;
  padding: 0.2rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}
.seg-btn {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  color: #9aabbc;
  font-weight: 700;
}
.seg-btn.is-active {
  background: var(--accent);
  color: #fff;
}
.server-pick {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #9aabbc;
  font-size: 0.9rem;
}
.server-pick select {
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: #1a222d;
  color: #eef3f8;
  padding: 0.55rem 0.9rem;
  max-width: min(280px, 70vw);
  cursor: pointer;
}
.server-pick select:focus {
  outline: 2px solid rgba(15, 143, 122, 0.55);
  outline-offset: 1px;
}
.server-pick select option {
  background: #ffffff;
  color: #142033;
}
.server-hint {
  width: 100%;
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}
.ep-nav { display: flex; gap: 0.45rem; }

.watch-side {
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  max-height: calc(100vh - 6rem);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: calc(var(--header) + 0.75rem);
}
.side-head {
  display: flex;
  gap: 0.75rem;
  padding: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.side-head img {
  width: 48px;
  height: 68px;
  object-fit: cover;
  border-radius: 8px;
}
.side-head strong { display: block; font-size: 0.95rem; }
.side-head span { color: #9aabbc; font-size: 0.82rem; }
.ep-list {
  overflow: auto;
  padding: 0.5rem;
  display: grid;
  gap: 0.3rem;
}
.ep-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.55rem;
  align-items: center;
  padding: 0.55rem 0.6rem;
  border-radius: 12px;
  color: #c5d0dc;
  transition: background 140ms ease;
}
.ep-item:hover { background: rgba(255,255,255,0.05); }
.ep-item.is-active {
  background: rgba(15, 143, 122, 0.2);
  color: #fff;
}
.ep-num {
  display: grid;
  place-items: center;
  height: 34px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  font-weight: 800;
  font-size: 0.85rem;
}
.ep-title {
  font-size: 0.88rem;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Watch details + score (below player) */
.watch-details {
  width: min(1400px, calc(100% - 1.25rem));
  margin: 0.35rem auto 1.35rem;
  padding: 0;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(30, 200, 174, 0.08), transparent 28%),
    rgba(12, 18, 26, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  position: relative;
}
.watch-details::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, #1ec8ae, #5eead4 55%, transparent);
}
.watch-details-grid {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 230px;
  gap: 1.5rem;
  align-items: start;
  padding: 1.45rem 1.45rem 1.5rem;
}
.watch-details-cover {
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 2 / 3;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.watch-details-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.watch-details-title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.watch-details-alts {
  margin: 0 0 0.95rem;
  color: #8fa0b3;
  font-size: 0.88rem;
  font-style: italic;
}
.watch-details-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
  align-items: center;
}
.wd-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(94, 234, 212, 0.18);
  background: rgba(5, 8, 13, 0.55);
  color: #d7e2ee;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.watch-details-audio {
  display: inline-flex;
  gap: 0.35rem;
}
.watch-details-audio[hidden] { display: none !important; }
.watch-details-desc {
  margin: 0 0 1.2rem;
  color: #b7c6d6;
  line-height: 1.6;
  font-size: 0.95rem;
  max-width: 68ch;
}
.watch-details-desc .text-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--accent-2);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.watch-details-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.75rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.watch-details-meta dl {
  margin: 0;
  display: grid;
  gap: 0.6rem;
  padding-top: 0.95rem;
}
.watch-details-meta div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 0.5rem;
  align-items: start;
}
.watch-details-meta dt {
  margin: 0;
  color: #7f91a4;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}
.watch-details-meta dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.92rem;
}
.watch-details-meta dd.is-airing { color: var(--accent-2); font-weight: 600; }
.watch-details-meta a {
  color: var(--accent-2);
  text-decoration: none;
}
.watch-details-meta a:hover { text-decoration: underline; }
.watch-library-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: end;
  margin-top: 1.25rem;
}
.library-status-field {
  display: grid;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: var(--muted);
}
.library-status-field select {
  min-width: 150px;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(5, 8, 13, 0.65);
  color: var(--ink);
  font: inherit;
}
.watch-score-card {
  border-radius: 18px;
  padding: 1.35rem 1.1rem 1.2rem;
  background:
    radial-gradient(circle at 50% 0%, rgba(30, 200, 174, 0.16), transparent 60%),
    rgba(5, 8, 13, 0.72);
  border: 1px solid rgba(94, 234, 212, 0.16);
  text-align: center;
  display: grid;
  gap: 0.4rem;
  justify-items: center;
}
.watch-score-value {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-2);
  line-height: 1;
  letter-spacing: -0.03em;
}
.watch-score-value span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}
.watch-score-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.watch-stars {
  display: flex;
  gap: 0.15rem;
  font-size: 1.35rem;
  line-height: 1;
  margin: 0.3rem 0 0.45rem;
}
.watch-star.is-full { color: #fbbf24; }
.watch-star.is-half {
  color: #fbbf24;
  opacity: 0.55;
}
.watch-star.is-empty { color: rgba(244, 247, 251, 0.22); }
.watch-score-cta {
  margin: 0.4rem 0 0.65rem;
  color: #c5d3e0;
  font-size: 0.82rem;
  line-height: 1.4;
  max-width: 16ch;
}

@keyframes heroIn {
  from { opacity: 0; transform: scale(1.03); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes logoOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes logoPulse {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.04); }
}
@keyframes markPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@media (max-width: 1180px) {
  .search {
    width: min(220px, 28vw);
    min-width: 150px;
  }
}

@media (max-width: 980px) {
  .site-header {
    width: calc(100% - 1rem);
    max-width: 100%;
    top: 0.45rem;
    margin-top: 0.45rem;
  }
  .site-header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas:
      "brand utils toggle"
      "search search search"
      "nav nav nav";
    gap: 0.55rem;
    padding: 0.65rem;
  }
  .brand { grid-area: brand; min-width: 0; }
  .brand-copy { min-width: 0; }
  .brand-text { font-size: 1.2rem; }
  .nav-toggle {
    display: inline-flex;
    grid-area: toggle;
    width: 40px;
    height: 40px;
  }
  .header-utils {
    grid-area: utils;
  }
  .discord-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 12px;
  }
  .discord-btn span { display: none; }
  .search-wrap {
    grid-area: search;
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }
  .search {
    width: 100%;
    max-width: none;
    min-width: 0;
    height: 44px;
  }
  .search button {
    padding-inline: 1.05rem;
  }
  .search-suggest {
    width: auto;
  }
  .search-suggest-keys { display: none; }
  .site-nav {
    grid-area: nav;
    display: none;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.35rem;
    padding-bottom: 0.15rem;
  }
  .site-nav.is-open { display: flex; }
  .hero {
    min-height: min(58vh, 520px);
    margin-top: 0.55rem;
    border-radius: 0 0 20px 20px;
  }
  .season-grid {
    grid-template-columns: 1fr 1fr;
  }
  .home-body {
    grid-template-columns: 1fr;
  }
  .home-side {
    grid-template-columns: 1fr;
  }
  .detail-hero-inner { grid-template-columns: 150px 1fr; }
  .watch-layout { grid-template-columns: 1fr; }
  .watch-side {
    position: static;
    max-height: 360px;
  }
  .watch-toolbar { flex-direction: column; }
  .watch-controls { justify-content: flex-start; }
  .watch-details-grid {
    grid-template-columns: 120px minmax(0, 1fr);
  }
  .watch-score-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-header-inner { width: 100%; max-width: 100%; }
  .site-header {
    border-radius: 0 0 18px 18px;
    top: 0;
    margin-top: 0;
  }
  .hero-content,
  .section,
  .page-intro,
  .catalog-grid,
  .catalog-bar-wrap,
  .pager,
  .empty-state,
  .detail-hero-inner,
  .site-foot-inner {
    width: calc(100% - 1rem);
    max-width: var(--max);
  }
  .detail-hero-inner { grid-template-columns: 1fr; }
  .detail-cover { max-width: 180px; }
  .watch-details,
  .comments-section {
    width: calc(100% - 1rem);
  }
  .watch-details-grid {
    grid-template-columns: 1fr;
  }
  .watch-details-cover {
    max-width: 160px;
  }
  .watch-details-meta {
    grid-template-columns: 1fr;
  }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; }
  .brand-tag { display: none; }
  .hero {
    min-height: 52vh;
    min-height: 52dvh;
    max-height: 520px;
  }
  .hero-brand { font-size: clamp(2.2rem, 12vw, 3.2rem); }
  .hero-panel { max-width: 100%; padding: 1rem 1.05rem 1.1rem; }
  .hero-lede { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .search button { padding-inline: 0.85rem; font-size: 0.86rem; }
  .sort-tabs { width: 100%; justify-content: space-between; }
  .sort-tab { flex: 1; text-align: center; padding-inline: 0.45rem; }
}

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

/* Aether signature finishing pass */
.main {
  padding-top: 0.35rem;
}
.brand-text {
  font-family: var(--font-display);
  letter-spacing: -0.04em;
}
.poster-art,
.catalog-item,
.season-tile {
  border-radius: 18px;
}
.poster-art {
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.catalog-item {
  background: linear-gradient(180deg, #15202c, #0f1620);
}
.catalog-meta strong {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}
.side-title,
.schedule-head h3 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}
.hero {
  margin-top: 0.85rem;
  border-radius: 0 0 28px 28px;
  overflow: hidden;
}
.hero-panel {
  border-radius: 26px;
  max-width: 36rem;
}
.btn-primary {
  background: linear-gradient(135deg, #129a86, #1ec8ae 55%, #5eead4);
  color: #042f2a;
}
.search button {
  background: linear-gradient(135deg, #129a86, #1ec8ae 55%, #5eead4);
  color: #042f2a;
}
.site-nav a.is-active {
  background: rgba(30, 200, 174, 0.16);
  box-shadow: inset 0 0 0 1px rgba(94, 234, 212, 0.28);
}

/* Auth modal */
body.auth-modal-open {
  overflow: hidden;
}
.nav-account-btn {
  appearance: none;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
  padding: 0;
}
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: max(1rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom));
}
.auth-modal[hidden] {
  display: none !important;
}
.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(30, 200, 174, 0.14), transparent 55%),
    rgba(4, 8, 12, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.auth-modal.is-open .auth-modal-backdrop {
  opacity: 1;
}
.auth-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(400px, 100%);
  max-height: min(90vh, 640px);
  overflow: auto;
  border-radius: 22px;
  border: 1px solid rgba(244, 247, 251, 0.12);
  background:
    linear-gradient(165deg, rgba(18, 28, 38, 0.97), rgba(8, 12, 18, 0.98));
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 1.1rem 1.1rem 1rem;
  transform: translateY(14px) scale(0.98);
  opacity: 0;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
  scrollbar-width: thin;
  scrollbar-color: rgba(94, 234, 212, 0.35) transparent;
}
.auth-modal.is-open .auth-modal-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.auth-modal-glow {
  pointer-events: none;
  position: absolute;
  inset: -20% -10% auto;
  height: 48%;
  background: radial-gradient(circle at 50% 0%, rgba(30, 200, 174, 0.22), transparent 62%);
  opacity: 0.9;
}
.auth-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 247, 251, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #c5d0db;
  cursor: pointer;
}
.auth-modal-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.auth-modal-head {
  position: relative;
  z-index: 1;
  margin: 0.05rem 0.2rem 0.85rem;
  padding-right: 2rem;
}
.auth-modal-eyebrow {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5eead4;
  font-weight: 700;
}
.auth-modal-head h2 {
  margin: 0.25rem 0 0.3rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.5vw, 1.75rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.auth-modal-lede {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}
.auth-card--modal {
  position: relative;
  z-index: 1;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  backdrop-filter: none;
}
.auth-note--row {
  margin: 0;
  display: flex;
  justify-content: flex-end;
}
.auth-note--row .text-link {
  border: 0;
  background: none;
  color: #5eead4;
  font: inherit;
  cursor: pointer;
  padding: 0;
}
.auth-page {
  width: min(var(--max), calc(100% - 2rem));
  margin: 1.5rem auto 3rem;
}
.auth-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 420px);
  gap: 1.5rem;
  align-items: start;
}
.auth-intro h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.04em;
  margin: 0.35rem 0 0.75rem;
}
.auth-intro p { color: var(--muted); max-width: 34rem; line-height: 1.55; }
.auth-card {
  border: 1px solid rgba(244, 247, 251, 0.1);
  border-radius: 22px;
  background: rgba(12, 18, 26, 0.88);
  box-shadow: var(--shadow-soft);
  padding: 1.15rem;
  backdrop-filter: blur(14px);
}
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
  padding: 0.22rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(244, 247, 251, 0.08);
}
.auth-tab {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 0.55rem 0.7rem;
  font-weight: 700;
  cursor: pointer;
}
.auth-tab.is-active {
  background: rgba(30, 200, 174, 0.16);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(94, 234, 212, 0.28);
}
.auth-form {
  display: grid;
  gap: 0.55rem;
}
.auth-form[hidden],
.auth-tabs[hidden],
.btn-google[hidden],
.auth-divider[hidden] {
  display: none !important;
}
.auth-form label {
  display: grid;
  gap: 0.28rem;
  font-size: 0.8rem;
  font-weight: 650;
  color: #c5d0db;
}
.auth-form input {
  width: 100%;
  border: 1px solid rgba(244, 247, 251, 0.12);
  border-radius: 11px;
  background: rgba(8, 12, 18, 0.85);
  color: var(--ink);
  padding: 0.65rem 0.8rem;
  outline: none;
}
.auth-form input:focus {
  border-color: rgba(30, 200, 174, 0.55);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.auth-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}
.auth-note code {
  font-size: 0.8em;
  color: #5eead4;
}
.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.55rem;
  align-items: center;
  margin: 0.65rem 0;
  color: #8091a4;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: rgba(244, 247, 251, 0.1);
}
.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(244, 247, 251, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-weight: 700;
  padding: 0.7rem 0.95rem;
  font-size: 0.92rem;
}
.btn-google:hover {
  background: rgba(255, 255, 255, 0.08);
}
.auth-status {
  min-height: 1.1rem;
  margin: 0.55rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.auth-status.is-error { color: #ef7b7b; }
.auth-status.is-ok { color: #5eead4; }
.nav-account {
  color: #5eead4 !important;
}
.auth-modal .btn-primary,
.auth-modal .btn-ghost {
  width: 100%;
  justify-content: center;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}
.auth-modal .btn-ghost {
  margin-top: 0.15rem;
}

@media (max-width: 720px) {
  .auth-panel { grid-template-columns: 1fr; }
  .auth-modal-dialog {
    width: min(100%, 400px);
    padding: 1rem 0.95rem 0.9rem;
  }
  .auth-modal-lede {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* Continue watching */
.continue-card .poster-art { position: relative; }
.continue-ep {
  position: absolute;
  left: 0.55rem;
  top: 0.55rem;
  z-index: 1;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  background: rgba(5, 8, 13, 0.78);
  border: 1px solid rgba(94, 234, 212, 0.28);
  color: var(--accent-2);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.continue-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
}
.continue-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--warm));
}

/* Library */
.library-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.25rem;
}
.library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}
.library-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  color: inherit;
}
.library-card-link {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
}
.library-art {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}
.library-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.library-status {
  position: absolute;
  left: 0.5rem;
  bottom: 0.5rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(5, 8, 13, 0.8);
  border: 1px solid rgba(94, 234, 212, 0.25);
  color: var(--accent-2);
  font-size: 0.7rem;
  font-weight: 700;
}
.library-card strong {
  font-size: 0.9rem;
  line-height: 1.35;
  font-weight: 600;
}
.library-toggle.is-active {
  border-color: rgba(94, 234, 212, 0.45);
  color: var(--accent-2);
}

/* Comments */
.comments-section {
  width: min(1400px, calc(100% - 1.25rem));
  margin: 0 auto 1.75rem;
  padding: 0;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(30, 200, 174, 0.06), transparent 24%),
    rgba(12, 18, 26, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}
.comments-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: end;
  justify-content: space-between;
  margin: 0;
  padding: 1.15rem 1.35rem 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.comments-head > div:first-child {
  display: grid;
  gap: 0.25rem;
}
.comments-head h2 {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.comments-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.comments-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.comments-filter {
  display: grid;
  gap: 0.2rem;
  font-size: 0.72rem;
  color: var(--muted);
}
.comments-filter select {
  min-width: 118px;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(5, 8, 13, 0.65);
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
}
.comment-form-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.comments-count {
  margin: 0 1.35rem 0.65rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.comments-note {
  margin: 1rem 1.35rem 0;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(30, 200, 174, 0.28);
  background: rgba(30, 200, 174, 0.07);
  color: #b7c6d6;
  font-size: 0.9rem;
}
.comments-note a {
  color: var(--accent-2);
  font-weight: 700;
  text-decoration: none;
}
.comments-login { margin: 1rem 1.35rem; }
.comment-form {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 1.35rem 1.15rem;
}
.comments-list {
  margin: 0 1.35rem 1.35rem;
}
.comment-form textarea {
  width: 100%;
  resize: vertical;
  min-height: 96px;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(16, 24, 33, 0.85);
  color: var(--ink);
  font: inherit;
}
.comment-form textarea:focus {
  outline: none;
  border-color: rgba(94, 234, 212, 0.45);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.comment-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: flex-end;
}
.comment-reply-hint {
  margin-right: auto;
  color: var(--muted);
  font-size: 0.85rem;
}
.comments-list { display: grid; gap: 0.85rem; }
.comment-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(16, 24, 33, 0.72);
  border: 1px solid var(--line);
  margin-left: calc(var(--depth, 0) * 1.1rem);
}
.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(30, 200, 174, 0.14);
  border: 1px solid rgba(94, 234, 212, 0.28);
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.comment-body { min-width: 0; }
.comment-item header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  align-items: center;
  margin-bottom: 0.4rem;
}
.comment-item header strong { font-size: 0.92rem; }
.comment-item header time {
  color: var(--muted);
  font-size: 0.75rem;
}
.comment-ep {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(94, 234, 212, 0.28);
  background: rgba(30, 200, 174, 0.1);
  color: var(--accent-2);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.comment-ep.is-general {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #9aabbc;
}
.comment-item p {
  margin: 0;
  color: #d5dee8;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}
.comment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
  align-items: center;
  margin-top: 0.6rem;
}
.comment-vote {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 8, 13, 0.45);
  color: #b7c6d6;
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}
.comment-vote:hover { border-color: rgba(94, 234, 212, 0.35); color: var(--accent-2); }
.comment-vote.is-active {
  border-color: rgba(94, 234, 212, 0.5);
  background: rgba(30, 200, 174, 0.16);
  color: var(--accent-2);
}
.comment-vote.is-down.is-active {
  border-color: rgba(248, 113, 113, 0.45);
  background: rgba(248, 113, 113, 0.12);
  color: #fca5a5;
}
.comment-vote.is-static {
  cursor: default;
  opacity: 0.85;
}
.comment-actions .text-link {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

/* Notifications */
.notif-wrap {
  position: relative;
  margin-left: 0.35rem;
}
.notif-bell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(16, 24, 33, 0.65);
  color: var(--ink);
  cursor: pointer;
}
.notif-bell:hover {
  border-color: rgba(94, 234, 212, 0.35);
  color: var(--accent-2);
}
.notif-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--warm);
  color: #1a1205;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}
.notif-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(360px, calc(100vw - 2rem));
  max-height: 420px;
  overflow: auto;
  z-index: 80;
  border-radius: 18px;
  background: linear-gradient(180deg, #121a24, #0b1016);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.notif-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
}
.notif-panel-head .text-link {
  background: none;
  border: 0;
  color: var(--accent-2);
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
}
.notif-list { display: grid; }
.notif-item {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem 1rem;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid rgba(244, 247, 251, 0.05);
}
.notif-item:hover { background: rgba(30, 200, 174, 0.06); }
.notif-item.is-unread { background: rgba(30, 200, 174, 0.08); }
.notif-item strong { font-size: 0.88rem; }
.notif-item span {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

@media (max-width: 860px) {
  .comment-item { margin-left: calc(var(--depth, 0) * 0.65rem); }
}

/* Account menu + settings */
.account-menu {
  position: relative;
  z-index: 40;
}
.account-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  max-width: 11.5rem;
  border: 1px solid rgba(244, 247, 251, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  padding: 0.28rem 0.7rem 0.28rem 0.28rem;
  cursor: pointer;
  font: inherit;
}
.account-menu-toggle:hover,
.account-menu.is-open .account-menu-toggle {
  border-color: rgba(30, 200, 174, 0.35);
  background: rgba(30, 200, 174, 0.1);
}
.account-menu-avatar {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(30, 200, 174, 0.45), rgba(12, 18, 26, 0.9));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}
.account-menu-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.account-menu-label {
  display: grid;
  text-align: left;
  line-height: 1.15;
  min-width: 0;
}
.account-menu-label strong {
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-menu-label small {
  color: var(--muted);
  font-size: 0.68rem;
}
.account-menu-panel {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  width: min(240px, 78vw);
  display: grid;
  gap: 0.15rem;
  padding: 0.55rem;
  border-radius: 16px;
  border: 1px solid rgba(244, 247, 251, 0.1);
  background: rgba(10, 14, 20, 0.96);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
}
.account-menu-panel[hidden] {
  display: none !important;
}
.account-menu-meta {
  display: grid;
  gap: 0.15rem;
  padding: 0.55rem 0.65rem 0.7rem;
  border-bottom: 1px solid rgba(244, 247, 251, 0.08);
  margin-bottom: 0.25rem;
}
.account-menu-meta strong {
  font-size: 0.88rem;
}
.account-menu-meta span {
  color: var(--muted);
  font-size: 0.74rem;
  word-break: break-all;
}
.account-menu-panel a {
  display: block;
  padding: 0.65rem 0.7rem;
  border-radius: 10px;
  color: #d7e0ea;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}
.account-menu-panel a:hover {
  background: rgba(30, 200, 174, 0.1);
  color: #fff;
}
.account-menu-panel a.is-danger {
  color: #ef9a9a;
}
.account-menu-panel a.is-danger:hover {
  background: rgba(239, 123, 123, 0.12);
}

.account-name {
  display: block;
  font-size: 1.05rem;
}
.account-email {
  display: block;
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  word-break: break-all;
}
.account-prefs {
  display: grid;
  gap: 0.75rem;
}
.account-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(244, 247, 251, 0.08);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
}
.account-check input {
  margin-top: 0.2rem;
  accent-color: #14b8a0;
}
.account-check strong {
  display: block;
  font-size: 0.92rem;
}
.account-check small {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

/* Full account settings */
.settings-page {
  width: min(1100px, calc(100% - 2rem));
  margin: 1.1rem auto 3rem;
}
.settings-hero {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: end;
  padding: 1.35rem 1.35rem 1.2rem;
  border-radius: 24px;
  border: 1px solid rgba(244, 247, 251, 0.1);
  background:
    radial-gradient(ellipse at 12% 0%, rgba(30, 200, 174, 0.18), transparent 48%),
    linear-gradient(165deg, rgba(16, 24, 34, 0.95), rgba(8, 12, 18, 0.92));
  box-shadow: var(--shadow-soft);
  margin-bottom: 1rem;
}
.settings-eyebrow {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5eead4;
  font-weight: 700;
}
.settings-hero-copy h1 {
  margin: 0.35rem 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.settings-hero-copy p {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
  line-height: 1.5;
}
.settings-hero-user {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: min(280px, 100%);
}
.settings-hero-avatar {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 999px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(30, 200, 174, 0.55), rgba(12, 18, 26, 0.95));
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  flex-shrink: 0;
}
.settings-hero-avatar.is-lg {
  width: 4.4rem;
  height: 4.4rem;
  font-size: 1.55rem;
}
.settings-hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.settings-member {
  display: block;
  margin-top: 0.2rem;
  color: #8091a4;
  font-size: 0.75rem;
}
.settings-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}
.settings-nav {
  display: grid;
  gap: 0.35rem;
  padding: 0.7rem;
  border-radius: 20px;
  border: 1px solid rgba(244, 247, 251, 0.1);
  background: rgba(12, 18, 26, 0.78);
  position: sticky;
  top: 5.4rem;
}
.settings-nav-link {
  display: grid;
  gap: 0.12rem;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  text-decoration: none;
  color: #c5d0db;
}
.settings-nav-link span {
  font-weight: 700;
  font-size: 0.92rem;
}
.settings-nav-link small {
  color: var(--muted);
  font-size: 0.74rem;
}
.settings-nav-link:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}
.settings-nav-link.is-active {
  background: rgba(30, 200, 174, 0.14);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(94, 234, 212, 0.25);
}
.settings-nav-foot {
  display: grid;
  gap: 0.25rem;
  margin-top: 0.45rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(244, 247, 251, 0.08);
}
.settings-nav-foot a {
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  text-decoration: none;
  color: #c5d0db;
  font-size: 0.86rem;
  font-weight: 600;
}
.settings-nav-foot a:hover { background: rgba(255, 255, 255, 0.04); color: #fff; }
.settings-nav-foot a.is-danger { color: #ef9a9a; }
.settings-main {
  display: grid;
  gap: 1rem;
  min-width: 0;
}
.settings-panel[hidden] { display: none !important; }
.settings-panel-head {
  margin-bottom: 0.85rem;
}
.settings-panel-head h2 {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}
.settings-panel-head p {
  margin: 0;
  color: var(--muted);
}
.settings-card {
  border: 1px solid rgba(244, 247, 251, 0.1);
  border-radius: 18px;
  background: rgba(12, 18, 26, 0.78);
  padding: 1.1rem;
  margin-bottom: 0.9rem;
}
.settings-card:last-child { margin-bottom: 0; }
.settings-card-head {
  margin-bottom: 0.9rem;
}
.settings-card-head.row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}
.settings-card-head h3 {
  margin: 0 0 0.25rem;
  font-size: 1.02rem;
}
.settings-card-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}
.settings-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}
.settings-stat {
  border: 1px solid rgba(244, 247, 251, 0.1);
  border-radius: 16px;
  background: rgba(12, 18, 26, 0.78);
  padding: 0.95rem 1rem;
  display: grid;
  gap: 0.2rem;
}
.settings-stat span {
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.settings-stat strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}
.settings-stat small {
  color: #8091a4;
  font-size: 0.78rem;
}
.settings-grid-2 {
  display: grid;
    grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.settings-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.settings-action {
  display: grid;
  place-items: center;
  min-height: 3rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(244, 247, 251, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.88rem;
  text-align: center;
}
.settings-action:hover {
  border-color: rgba(30, 200, 174, 0.35);
  background: rgba(30, 200, 174, 0.1);
}
.settings-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  display: grid;
  gap: 0.45rem;
  font-size: 0.88rem;
  line-height: 1.45;
}
.settings-form { max-width: 420px; }
.settings-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.settings-form-actions .btn-primary {
  width: auto;
  min-width: 9rem;
}
.settings-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}
.settings-profile-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.35rem;
}
.settings-methods {
  display: grid;
  gap: 0.55rem;
}
.settings-method {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(244, 247, 251, 0.08);
  background: rgba(255, 255, 255, 0.02);
}
.settings-method span {
  color: #5eead4;
  font-size: 0.84rem;
  font-weight: 650;
}
.settings-rail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.7rem;
}
.settings-rail-card {
  display: grid;
  gap: 0.45rem;
  text-decoration: none;
  color: inherit;
}
.settings-rail-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}
.settings-rail-card strong {
  display: block;
  font-size: 0.86rem;
  line-height: 1.25;
}
.settings-rail-card small {
  color: var(--muted);
  font-size: 0.74rem;
}
.settings-history {
  display: grid;
  gap: 0.45rem;
}
.settings-history-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.55rem;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
}
.settings-history-row:hover {
  background: rgba(30, 200, 174, 0.08);
}
.settings-history-art {
  width: 44px;
  height: 62px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}
.settings-history-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.settings-history-row strong {
  display: block;
  font-size: 0.9rem;
}
.settings-history-row small {
  color: var(--muted);
  font-size: 0.76rem;
}

@media (max-width: 900px) {
  .settings-hero {
    flex-direction: column;
    align-items: start;
  }
  .settings-shell {
    grid-template-columns: 1fr;
  }
  .settings-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .settings-nav-foot {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
  }
  .settings-stats,
  .settings-grid-2,
  .settings-actions {
    grid-template-columns: 1fr 1fr;
  }
  .account-menu-label {
    display: none;
  }
  .account-menu-toggle {
    padding: 0.28rem;
    max-width: none;
  }
}

@media (max-width: 560px) {
  .settings-stats,
  .settings-grid-2,
  .settings-actions,
  .settings-nav {
    grid-template-columns: 1fr;
  }
}

/* ÃÂ¯ÃÂ¿ÃÂ½ÃÂ¯ÃÂ¿ÃÂ½ Site banner ÃÂ¯ÃÂ¿ÃÂ½ÃÂ¯ÃÂ¿ÃÂ½ */
.site-banner {
  background: linear-gradient(90deg, rgba(30,200,174,.18), rgba(12,22,34,.95));
  border-bottom: 1px solid rgba(30,200,174,.35);
  color: #d7f7ef;
  text-align: center;
  padding: .65rem 1rem;
  font-size: .92rem;
}

/* ÃÂ¯ÃÂ¿ÃÂ½ÃÂ¯ÃÂ¿ÃÂ½ Ratings ÃÂ¯ÃÂ¿ÃÂ½ÃÂ¯ÃÂ¿ÃÂ½ */
.rating-box {
  display: grid;
  gap: .55rem;
  margin: .85rem 0 1rem;
  padding: .85rem 1rem;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(8,14,22,.55);
  max-width: 36rem;
}
.rating-box-copy {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .85rem;
  align-items: baseline;
}
.rating-box-copy strong { font-family: Syne, sans-serif; }
.rating-box-copy span { color: rgba(220,235,245,.72); font-size: .9rem; }
.rating-stars {
  display: flex;
  flex-wrap: wrap;
  gap: .28rem;
}
.rating-star {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  color: rgba(220,235,245,.7);
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
}
.rating-star.is-on,
.rating-star:hover {
  background: rgba(30,200,174,.22);
  border-color: rgba(30,200,174,.55);
  color: #e8fff8;
}

/* ÃÂ¯ÃÂ¿ÃÂ½ÃÂ¯ÃÂ¿ÃÂ½ Schedule page ÃÂ¯ÃÂ¿ÃÂ½ÃÂ¯ÃÂ¿ÃÂ½ */
.schedule-page {
  display: grid;
  gap: 1.25rem;
  padding: 1rem 0 2.5rem;
}
.schedule-page-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  align-items: end;
}
.schedule-page-head h1 {
  font-family: Syne, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: .2rem 0 .35rem;
}
.schedule-page-head .lede {
  max-width: 38rem;
  color: rgba(220,235,245,.72);
}
.schedule-page-body .schedule-list.is-active {
  display: grid;
  gap: .15rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.schedule-page .schedule-row {
  background: rgba(10,16,24,.65);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.06);
  padding: .7rem .8rem;
}

/* ÃÂ¯ÃÂ¿ÃÂ½ÃÂ¯ÃÂ¿ÃÂ½ Profiles ÃÂ¯ÃÂ¿ÃÂ½ÃÂ¯ÃÂ¿ÃÂ½ */
.profile-page { display: grid; gap: 1.5rem; padding-bottom: 2rem; }
.profile-hero {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.1rem 1.4rem;
  align-items: center;
  padding: 1.25rem 0 .5rem;
}
.profile-avatar {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(30,200,174,.15);
  display: grid;
  place-items: center;
  font-family: Syne, sans-serif;
  font-size: 2rem;
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-copy h1 {
  font-family: Syne, sans-serif;
  margin: .15rem 0 .35rem;
}
.profile-meta, .profile-bio { color: rgba(220,235,245,.72); }
.profile-bio { margin-top: .55rem; max-width: 36rem; }
.profile-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(4.5rem, 1fr));
  gap: .55rem;
}
.profile-stats div {
  text-align: center;
  padding: .65rem .5rem;
  border-radius: 12px;
  background: rgba(8,14,22,.55);
  border: 1px solid rgba(255,255,255,.06);
}
.profile-stats strong {
  display: block;
  font-family: Syne, sans-serif;
  font-size: 1.2rem;
}
.profile-stats span { font-size: .78rem; color: rgba(220,235,245,.65); }
.profile-ratings { display: grid; gap: .4rem; }
.profile-rating-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem .9rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(8,14,22,.45);
  color: inherit;
  text-decoration: none;
}
.profile-rating-row:hover { border-color: rgba(30,200,174,.4); }
.comment-author { color: inherit; text-decoration: none; }
.comment-author:hover strong { color: #7dffd7; }

/* ÃÂ¯ÃÂ¿ÃÂ½ÃÂ¯ÃÂ¿ÃÂ½ Admin ÃÂ¯ÃÂ¿ÃÂ½ÃÂ¯ÃÂ¿ÃÂ½ */
.admin-page { display: grid; gap: 1.25rem; padding-bottom: 2.5rem; }
.admin-hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
}
.admin-hero h1 { font-family: Syne, sans-serif; margin: .15rem 0 .4rem; }
.admin-stats {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}
.admin-stats div {
  min-width: 6.5rem;
  padding: .7rem .85rem;
  border-radius: 12px;
  background: rgba(8,14,22,.55);
  border: 1px solid rgba(255,255,255,.06);
  text-align: center;
}
.admin-stats strong { display: block; font-family: Syne, sans-serif; font-size: 1.25rem; }
.admin-stats span { font-size: .78rem; color: rgba(220,235,245,.65); }
.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.admin-tabs a {
  padding: .45rem .85rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  color: inherit;
  text-decoration: none;
  font-size: .9rem;
}
.admin-tabs a.is-active,
.admin-tabs a:hover {
  border-color: rgba(30,200,174,.5);
  background: rgba(30,200,174,.12);
}
.admin-card {
  padding: 1rem 1.1rem 1.2rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(8,14,22,.55);
}
.admin-card h2 { font-family: Syne, sans-serif; margin: 0 0 .85rem; }
.admin-card code {
  display: inline-block;
  margin-top: .35rem;
  padding: .2rem .45rem;
  border-radius: 6px;
  background: rgba(0,0,0,.35);
  font-size: .82rem;
}
.admin-table { display: grid; gap: .55rem; }
.admin-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem 1rem;
  padding: .8rem .9rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.18);
}
.admin-row p { margin: .35rem 0; color: rgba(220,235,245,.8); }
.admin-row small { color: rgba(220,235,245,.55); }
.admin-row-actions { display: flex; flex-wrap: wrap; gap: .4rem; align-items: start; }
.btn.is-danger, .admin-row-actions .is-danger { color: #ffb4b4; }

/* ÃÂ¯ÃÂ¿ÃÂ½ÃÂ¯ÃÂ¿ÃÂ½ Watch UX ÃÂ¯ÃÂ¿ÃÂ½ÃÂ¯ÃÂ¿ÃÂ½ */
.watch-keys-btn { white-space: nowrap; }
.watch-keys-hint {
  margin: .55rem 0 0;
  color: rgba(220,235,245,.62);
  font-size: .82rem;
}
.watch-keys-hint kbd {
  display: inline-block;
  padding: .05rem .35rem;
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.35);
  font-size: .75rem;
}

@media (max-width: 820px) {
  .profile-hero {
    grid-template-columns: auto 1fr;
  }
  .profile-stats {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .ep-list {
    display: flex;
    overflow-x: auto;
    gap: .45rem;
    padding-bottom: .35rem;
    scroll-snap-type: x proximity;
  }
  .ep-item {
    min-width: 9.5rem;
    scroll-snap-align: start;
  }
  .watch-controls {
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .profile-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rating-star { width: 1.75rem; height: 1.75rem; }
}

/* ÃÂ¯ÃÂ¿ÃÂ½ÃÂ¯ÃÂ¿ÃÂ½ Admin shell (no public footer) ÃÂ¯ÃÂ¿ÃÂ½ÃÂ¯ÃÂ¿ÃÂ½ */
body.is-admin .page-glow { opacity: .35; }
.page-admin { max-width: none; padding: 0; }
.admin-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(6,10,16,.92);
  position: sticky;
  top: 0;
  z-index: 40;
}
.admin-chrome-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.main-admin { padding: 0; max-width: none; }
.admin-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: calc(100vh - 64px);
}
.admin-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem 1rem;
  border-right: 1px solid rgba(255,255,255,.08);
  background: rgba(7,12,18,.96);
}
.admin-side-brand { display: grid; gap: .2rem; }
.admin-pill {
  width: fit-content;
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7dffd7;
}
.admin-side-brand strong { font-family: Syne, sans-serif; font-size: 1.2rem; }
.admin-side-brand small { color: rgba(220,235,245,.55); }
.admin-side-nav { display: grid; gap: .3rem; }
.admin-side-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .55rem .7rem;
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
  border: 1px solid transparent;
}
.admin-side-nav a.is-active,
.admin-side-nav a:hover {
  background: rgba(30,200,174,.12);
  border-color: rgba(30,200,174,.35);
}
.admin-side-nav em {
  font-style: normal;
  font-size: .75rem;
  min-width: 1.4rem;
  text-align: center;
  border-radius: 999px;
  background: rgba(30,200,174,.25);
  color: #e8fff8;
}
.admin-side-foot { margin-top: auto; }
.admin-side-foot a { color: rgba(220,235,245,.7); text-decoration: none; font-size: .9rem; }
.admin-main { padding: 1.25rem 1.4rem 2rem; display: grid; gap: 1rem; align-content: start; }
.admin-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
}
.admin-kicker {
  margin: 0;
  color: #7dffd7;
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.admin-top h1 {
  margin: .15rem 0 0;
  font-family: Syne, sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
}
.admin-stat-row { display: flex; gap: .55rem; flex-wrap: wrap; }
.admin-stat-row div,
.admin-stats div {
  min-width: 5.8rem;
  padding: .55rem .7rem;
  border-radius: 12px;
  background: rgba(8,14,22,.7);
  border: 1px solid rgba(255,255,255,.07);
  text-align: center;
}
.admin-stat-row strong { display: block; font-family: Syne, sans-serif; }
.admin-stat-row span { font-size: .72rem; color: rgba(220,235,245,.6); }
.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: .85rem;
}
.admin-panel {
  padding: 1rem 1.1rem 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(8,14,22,.72);
}
.admin-panel h2 { margin: 0 0 .45rem; font-family: Syne, sans-serif; font-size: 1.1rem; }
.admin-panel p { margin: 0 0 .7rem; color: rgba(220,235,245,.72); }
.admin-panel code {
  display: block;
  margin: .4rem 0 .75rem;
  padding: .55rem .7rem;
  border-radius: 10px;
  background: rgba(0,0,0,.35);
  font-size: .8rem;
  overflow-x: auto;
}
.admin-note { font-size: .85rem; color: rgba(220,235,245,.55) !important; }
.admin-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.admin-list { display: grid; gap: .55rem; }
.admin-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem 1rem;
  padding: .8rem .9rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.2);
}
.admin-item p { margin: .3rem 0; color: rgba(220,235,245,.82); }
.admin-item small { color: rgba(220,235,245,.5); }
.admin-item-actions { display: flex; flex-wrap: wrap; gap: .4rem; }
.admin-muted { color: rgba(220,235,245,.5); }
.admin-empty { margin: 0; color: rgba(220,235,245,.6); }
.admin-form { display: grid; gap: .85rem; max-width: 34rem; }
.admin-form label span { display: block; margin-bottom: .35rem; font-size: .88rem; color: rgba(220,235,245,.75); }
.admin-form input,
.admin-form textarea {
  width: 100%;
  padding: .65rem .75rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.28);
  color: inherit;
}

/* ÃÂ¯ÃÂ¿ÃÂ½ÃÂ¯ÃÂ¿ÃÂ½ Activity / spoilers / auto-next ÃÂ¯ÃÂ¿ÃÂ½ÃÂ¯ÃÂ¿ÃÂ½ */
.activity-feed { display: grid; gap: .4rem; }
.activity-row {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .55rem;
  align-items: baseline;
  padding: .65rem .8rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(8,14,22,.45);
  color: rgba(220,235,245,.78);
}
.activity-user { color: #7dffd7; text-decoration: none; font-weight: 600; }
.activity-row a { color: inherit; }
.spoiler {
  display: inline;
  padding: 0 .2rem;
  border: 0;
  border-radius: 4px;
  background: rgba(255,255,255,.18);
  color: transparent;
  text-shadow: 0 0 8px rgba(255,255,255,.55);
  cursor: pointer;
  font: inherit;
}
.spoiler.is-revealed {
  color: inherit;
  text-shadow: none;
  background: rgba(30,200,174,.15);
}
.comment-spoiler-hint {
  margin: .35rem 0 0;
  font-size: .8rem;
  color: rgba(220,235,245,.5);
}
.comment-spoiler-hint code {
  padding: .05rem .3rem;
  border-radius: 4px;
  background: rgba(0,0,0,.35);
}
.auto-next-toggle {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .88rem;
  color: rgba(220,235,245,.8);
  cursor: pointer;
  user-select: none;
}
.auto-next-toast {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .55rem .75rem;
  border-radius: 999px;
  background: rgba(6,12,18,.92);
  border: 1px solid rgba(30,200,174,.45);
  color: #e8fff8;
  font-size: .88rem;
}

@media (max-width: 900px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .admin-side-nav {
    grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
  }
}

/* ÃÂÃÂ Role tags (steel / VIP / donator) ÃÂÃÂ */
.user-badges {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .28rem;
  align-items: center;
  vertical-align: middle;
}
.user-badges--sm .role-tag {
  font-size: .62rem;
  padding: .12rem .42rem .12rem .28rem;
  gap: .22rem;
}
.user-badges--sm .role-tag i {
  width: .45rem;
  height: .45rem;
}
.profile-badges { margin: .45rem 0 .55rem; }
.comment-body header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .45rem;
}
.role-tag {
  --tag-a: #8a949e;
  --tag-b: #c5ced6;
  --tag-c: #5c6570;
  --tag-glow: rgba(200, 214, 226, .45);
  --tag-text: #f4f7fa;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .18rem .55rem .18rem .38rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
  background:
    linear-gradient(135deg, rgba(255,255,255,.38) 0%, transparent 42%),
    linear-gradient(160deg, var(--tag-b), var(--tag-a) 48%, var(--tag-c));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.45),
    inset 0 -1px 0 rgba(0,0,0,.28),
    0 0 0 1px rgba(0,0,0,.2),
    0 4px 14px rgba(0,0,0,.28),
    0 0 18px var(--tag-glow);
  color: var(--tag-text);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1;
  text-shadow: 0 1px 1px rgba(0,0,0,.35);
  overflow: hidden;
}
.role-tag::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.5) 48%, transparent 62%);
  transform: translateX(-120%);
  animation: tagSheen 3.6s ease-in-out infinite;
  pointer-events: none;
}
.role-tag--member::after,
.role-tag--watcher::after { animation: none; opacity: 0; }
.role-tag i {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, rgba(255,255,255,.15) 55%, transparent 70%);
  box-shadow: 0 0 6px var(--tag-glow);
  flex: 0 0 auto;
}
.role-tag em {
  font-style: normal;
  font-family: Syne, sans-serif;
}
.role-tag--member,
.role-tag--watcher {
  --tag-a: #6f7882;
  --tag-b: #aeb6bf;
  --tag-c: #4a525b;
  --tag-glow: rgba(180,190,200,.25);
  --tag-text: #eef2f5;
}
.role-tag--admin {
  --tag-a: #0f8f7a;
  --tag-b: #5ff0d0;
  --tag-c: #086455;
  --tag-glow: rgba(30,200,174,.55);
  --tag-text: #ecfffa;
}
.role-tag--developer {
  --tag-a: #2a6fd4;
  --tag-b: #8ec5ff;
  --tag-c: #184a96;
  --tag-glow: rgba(90,160,255,.55);
  --tag-text: #eef6ff;
}
.role-tag--founder {
  --tag-a: #8a3dff;
  --tag-b: #d4b0ff;
  --tag-c: #4e18a8;
  --tag-glow: rgba(168,110,255,.55);
  --tag-text: #f7efff;
}
.role-tag--vip {
  --tag-a: #c7920a;
  --tag-b: #ffe27a;
  --tag-c: #8a6200;
  --tag-glow: rgba(255,210,70,.6);
  --tag-text: #fff8df;
}
.role-tag--donator {
  --tag-a: #d4552a;
  --tag-b: #ffb087;
  --tag-c: #8a2a12;
  --tag-glow: rgba(255,130,80,.55);
  --tag-text: #fff1ea;
}
@keyframes tagSheen {
  0%, 55% { transform: translateX(-130%); }
  75%, 100% { transform: translateX(130%); }
}

/* ÃÂÃÂ Premium admin refinements ÃÂÃÂ */
body.is-admin {
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(30,200,174,.12), transparent 60%),
    radial-gradient(700px 380px at 90% 0%, rgba(90,120,255,.08), transparent 55%),
    #070b11;
}
.admin-chrome {
  backdrop-filter: blur(14px);
  background: rgba(8,12,18,.82);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.admin-shell {
  max-width: 1240px;
  margin: 0 auto;
  min-height: calc(100vh - 68px);
  border-left: 1px solid rgba(255,255,255,.04);
  border-right: 1px solid rgba(255,255,255,.04);
}
.admin-side {
  background:
    linear-gradient(180deg, rgba(12,18,26,.98), rgba(8,12,18,.98));
}
.admin-side-badges { margin-top: .55rem; }
.admin-side-nav a {
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.admin-side-nav a.is-active {
  background: linear-gradient(90deg, rgba(30,200,174,.18), rgba(30,200,174,.05));
  box-shadow: inset 2px 0 0 #1ec8ae;
}
.admin-main {
  background:
    linear-gradient(180deg, rgba(255,255,255,.015), transparent 180px);
}
.admin-stat {
  min-width: 6.2rem;
  padding: .7rem .85rem;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  text-align: center;
}
.admin-stat strong {
  display: block;
  font-family: Syne, sans-serif;
  font-size: 1.25rem;
}
.admin-stat span {
  font-size: .72rem;
  color: rgba(220,235,245,.58);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.admin-panel {
  background:
    linear-gradient(165deg, rgba(255,255,255,.045), rgba(255,255,255,.015)),
    rgba(9,14,22,.78);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 40px rgba(0,0,0,.22);
}
.admin-panel--accent {
  border-color: rgba(30,200,174,.28);
  box-shadow: 0 18px 40px rgba(0,0,0,.22), 0 0 0 1px rgba(30,200,174,.08);
}
.admin-panel-label {
  margin: 0 0 .35rem !important;
  color: #7dffd7 !important;
  font-size: .72rem !important;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.admin-preview-tags { margin: .65rem 0 1rem; }
.admin-users-intro { margin-bottom: 1rem !important; }
.admin-user-card {
  display: grid;
  gap: .85rem;
  padding: 1rem 1.05rem;
}
.admin-user-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem;
  align-items: start;
}
.admin-badge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.admin-badge-check {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .65rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.22);
  cursor: pointer;
  font-size: .8rem;
}
.admin-badge-check input { accent-color: #1ec8ae; }

/* Ã¯Â¿Â½Ã¯Â¿Â½ Admin v2 layout Ã¯Â¿Â½Ã¯Â¿Â½ */
body.is-admin {
  background:
    radial-gradient(1100px 520px at 0% -20%, rgba(30,200,174,.1), transparent 55%),
    radial-gradient(900px 480px at 100% 0%, rgba(120,90,255,.07), transparent 50%),
    #06090f;
}
body.is-admin .page-glow { opacity: .2; }
.page-admin { max-width: none; padding: 0; }
.admin-chrome {
  padding: .7rem 1.5rem;
  background: rgba(7,11,17,.88);
  border-bottom: 1px solid rgba(255,255,255,.05);
  backdrop-filter: blur(16px);
}
.main-admin { padding: 0; max-width: none; }
.admin-shell {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  max-width: 1280px;
  margin: 0 auto;
  min-height: calc(100vh - 60px);
  border-left: 1px solid rgba(255,255,255,.04);
  border-right: 1px solid rgba(255,255,255,.04);
}
.admin-side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.35rem 1rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(180deg, #0b1119 0%, #080c12 100%);
}
.admin-side-brand {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .55rem .75rem;
  align-items: center;
  padding: .85rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.03);
}
.admin-side-brand > div:nth-child(2) { display: grid; gap: .15rem; min-width: 0; }
.admin-side-badges { grid-column: 1 / -1; }
.admin-avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #1ec8ae, #0a6b5c);
  font-family: Syne, sans-serif;
  font-weight: 700;
}
.admin-avatar img { width: 100%; height: 100%; object-fit: cover; }
.admin-pill {
  width: fit-content;
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(125,255,215,.85);
}
.admin-side-brand strong {
  font-family: Syne, sans-serif;
  font-size: .98rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-side-nav { display: grid; gap: .28rem; }
.admin-side-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .62rem .8rem;
  border-radius: 11px;
  color: rgba(230,240,248,.78);
  text-decoration: none;
  border: 1px solid transparent;
  font-size: .92rem;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.admin-side-nav a:hover {
  background: rgba(255,255,255,.04);
  color: #fff;
}
.admin-side-nav a.is-active {
  color: #fff;
  background: linear-gradient(90deg, rgba(30,200,174,.16), rgba(30,200,174,.04));
  border-color: rgba(30,200,174,.22);
  box-shadow: inset 2px 0 0 #1ec8ae;
}
.admin-side-nav em {
  font-style: normal;
  min-width: 1.35rem;
  padding: .1rem .35rem;
  border-radius: 999px;
  background: rgba(30,200,174,.22);
  color: #d9fff4;
  font-size: .72rem;
  text-align: center;
}
.admin-side-foot { display: none !important; }
.admin-main {
  padding: 1.35rem 1.5rem 2.25rem;
  display: grid;
  gap: 1.1rem;
  align-content: start;
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent 160px);
}
.admin-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  padding-bottom: .25rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.admin-kicker {
  margin: 0;
  color: rgba(125,255,215,.8);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.admin-top h1 {
  margin: .2rem 0 0;
  font-family: Syne, sans-serif;
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  letter-spacing: -.02em;
}
.admin-stat-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.admin-stat {
  min-width: 5.4rem;
  padding: .55rem .7rem;
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  text-align: center;
}
.admin-stat strong {
  display: block;
  font-family: Syne, sans-serif;
  font-size: 1.15rem;
}
.admin-stat span {
  font-size: .65rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(220,235,245,.5);
}
.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}
.admin-tile {
  display: grid;
  gap: .35rem;
  padding: 1.1rem 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.07);
  background: linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  color: inherit;
  text-decoration: none;
  transition: border-color .15s ease, transform .15s ease;
}
.admin-tile:hover {
  border-color: rgba(30,200,174,.35);
  transform: translateY(-1px);
}
.admin-tile strong {
  font-family: Syne, sans-serif;
  font-size: 1.15rem;
}
.admin-tile p {
  margin: 0;
  color: rgba(220,235,245,.62);
  font-size: .9rem;
}
.admin-panel {
  padding: 1rem 1.1rem 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(10,15,22,.72);
  box-shadow: 0 12px 32px rgba(0,0,0,.2);
}
.admin-panel--users { padding: 0; overflow: hidden; }
.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1rem;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
}
.admin-search { flex: 1 1 220px; max-width: 360px; }
.admin-search input {
  width: 100%;
  padding: .65rem .85rem;
  border-radius: 11px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.28);
  color: inherit;
  font: inherit;
}
.admin-search input:focus {
  outline: none;
  border-color: rgba(30,200,174,.45);
  box-shadow: 0 0 0 3px rgba(30,200,174,.12);
}
.admin-toolbar .admin-note { margin: 0 !important; }
.admin-user-table { display: grid; }
.admin-user-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.1fr) minmax(220px, 1.4fr) auto;
  gap: .85rem 1rem;
  align-items: center;
  padding: .9rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.admin-user-row:last-child { border-bottom: 0; }
.admin-user-row:hover { background: rgba(255,255,255,.02); }
.admin-user-meta {
  display: grid;
  gap: .4rem;
  min-width: 0;
}
.admin-user-id { display: grid; gap: .1rem; min-width: 0; }
.admin-user-id strong {
  font-family: Syne, sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-user-id span {
  color: rgba(220,235,245,.55);
  font-size: .82rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-user-link {
  width: fit-content;
  color: rgba(125,255,215,.85);
  text-decoration: none;
  font-size: .8rem;
}
.admin-user-save {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .3rem;
}
.btn-sm {
  padding: .45rem .85rem !important;
  font-size: .85rem !important;
}
.admin-badge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.admin-badge-check {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .28rem .55rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.25);
  cursor: pointer;
  font-size: .75rem;
  font-weight: 600;
}
.admin-badge-check input { accent-color: #1ec8ae; }
.admin-panel-label {
  margin: 0 !important;
  color: rgba(125,255,215,.8) !important;
  font-size: .68rem !important;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.admin-preview-tags { margin-top: .55rem; }
.admin-empty { margin: 0; padding: 1rem; color: rgba(220,235,245,.55); }
.admin-panel--form { max-width: 520px; }

/* Ã¯Â¿Â½Ã¯Â¿Â½ Premium metal tags Ã¯Â¿Â½Ã¯Â¿Â½ */
.role-tag {
  --tag-a: #7a848e;
  --tag-b: #d5dee6;
  --tag-c: #4b5560;
  --tag-edge: rgba(255,255,255,.55);
  --tag-glow: rgba(190,205,220,.2);
  --tag-text: #f7fafc;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  padding: .2rem .58rem .2rem .4rem;
  border-radius: 7px;
  border: 1px solid rgba(255,255,255,.22);
  background:
    linear-gradient(180deg, rgba(255,255,255,.42) 0%, rgba(255,255,255,.08) 38%, transparent 55%),
    linear-gradient(125deg, var(--tag-b) 0%, var(--tag-a) 46%, var(--tag-c) 100%);
  box-shadow:
    inset 0 1px 0 var(--tag-edge),
    inset 0 -1px 0 rgba(0,0,0,.35),
    inset 1px 0 0 rgba(255,255,255,.15),
    0 1px 2px rgba(0,0,0,.35),
    0 0 12px var(--tag-glow);
  color: var(--tag-text);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(0,0,0,.4);
  overflow: hidden;
  isolation: isolate;
}
.role-tag::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 6px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  pointer-events: none;
  z-index: 0;
}
.role-tag::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -40%;
  width: 45%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  transform: rotate(18deg) translateX(-120%);
  animation: tagSheen 4.2s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
.role-tag--member::after,
.role-tag--watcher::after {
  animation: none;
  opacity: 0;
}
.role-tag i,
.role-tag em { position: relative; z-index: 2; }
.role-tag i {
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff 0%, rgba(255,255,255,.5) 35%, transparent 70%),
    linear-gradient(145deg, var(--tag-b), var(--tag-c));
  box-shadow: 0 0 5px var(--tag-glow), inset 0 0 1px rgba(255,255,255,.6);
  flex: 0 0 auto;
}
.role-tag em {
  font-style: normal;
  font-family: Syne, sans-serif;
}
.role-tag--member,
.role-tag--watcher {
  --tag-a: #6d7680;
  --tag-b: #b8c1cb;
  --tag-c: #3f474f;
  --tag-edge: rgba(255,255,255,.35);
  --tag-glow: transparent;
  --tag-text: #eef2f6;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.32),
    inset 0 -1px 0 rgba(0,0,0,.3),
    0 1px 2px rgba(0,0,0,.3);
}
.role-tag--admin {
  --tag-a: #129987;
  --tag-b: #7af0d8;
  --tag-c: #0a5f54;
  --tag-glow: rgba(30,200,174,.35);
  --tag-text: #ecfffa;
}
.role-tag--developer {
  --tag-a: #2f74d8;
  --tag-b: #9ecbff;
  --tag-c: #163f8a;
  --tag-glow: rgba(80,150,255,.35);
  --tag-text: #eef6ff;
}
.role-tag--founder {
  --tag-a: #8f4dff;
  --tag-b: #d9b8ff;
  --tag-c: #4a1aa6;
  --tag-glow: rgba(150,100,255,.35);
  --tag-text: #f7efff;
}
.role-tag--vip {
  --tag-a: #d4a017;
  --tag-b: #ffe59a;
  --tag-c: #8a6508;
  --tag-glow: rgba(255,210,80,.4);
  --tag-text: #fff8df;
}
.role-tag--donator {
  --tag-a: #d85a2e;
  --tag-b: #ffb894;
  --tag-c: #8a2e14;
  --tag-glow: rgba(255,120,70,.35);
  --tag-text: #fff1ea;
}
@keyframes tagSheen {
  0%, 60% { transform: rotate(18deg) translateX(-160%); }
  80%, 100% { transform: rotate(18deg) translateX(320%); }
}

@media (max-width: 980px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .admin-side-nav {
    grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
  }
  .admin-grid { grid-template-columns: 1fr; }
  .admin-user-row {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .admin-user-save { align-items: flex-start; }
}

/* Ã¢ÂÂÃ¢ÂÂ Premium schedule page Ã¢ÂÂÃ¢ÂÂ */
.schedule-page {
  display: grid;
  gap: 1.5rem;
  padding: 1.25rem 0 3rem;
}
.schedule-page-head {
  display: grid;
  gap: 1.25rem;
  align-items: end;
}
@media (min-width: 900px) {
  .schedule-page-head {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
    align-items: end;
  }
}
.schedule-page-intro .eyebrow { margin-bottom: .55rem; }
.schedule-page-head h1 {
  font-family: Syne, sans-serif;
  font-size: clamp(2rem, 4vw, 2.85rem);
  letter-spacing: -.03em;
  margin: 0 0 .45rem;
  line-height: 1.05;
}
.schedule-page-head .lede {
  max-width: 40rem;
  margin: 0;
  color: rgba(220,235,245,.72);
  line-height: 1.55;
}
.schedule-page .schedule-tz {
  display: inline-flex;
  margin-top: .7rem;
  padding: .28rem .65rem;
  border-radius: 999px;
  border: 1px solid rgba(30,200,174,.22);
  background: rgba(30,200,174,.08);
  color: rgba(158,232,216,.9);
  font-size: .72rem;
  font-weight: 650;
}
.schedule-page .day-tabs--panel,
.schedule-page .day-tabs {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .4rem;
  padding: .4rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), transparent 40%),
    rgba(8,14,22,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.schedule-page .day-tab {
  display: grid;
  gap: .12rem;
  justify-items: center;
  padding: .55rem .25rem .5rem;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(180,195,210,.7);
  font-weight: 700;
  font-size: .78rem;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
  position: relative;
}
.schedule-page .day-tab-label {
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .68rem;
  opacity: .85;
}
.schedule-page .day-tab-date {
  font-family: Syne, sans-serif;
  font-size: 1.05rem;
  color: inherit;
  line-height: 1;
}
.schedule-page .day-tab-count {
  position: absolute;
  top: .28rem;
  right: .28rem;
  min-width: 1rem;
  height: 1rem;
  padding: 0 .22rem;
  border-radius: 999px;
  background: rgba(30,200,174,.18);
  color: #9be8d8;
  font-size: .58rem;
  font-weight: 800;
  line-height: 1rem;
  text-align: center;
}
.schedule-page .day-tab:hover {
  color: #fff;
  background: rgba(255,255,255,.04);
}
.schedule-page .day-tab.is-active {
  color: #fff;
  background: rgba(30,200,174,.14);
  border-color: rgba(30,200,174,.4);
  box-shadow: 0 0 0 1px rgba(30,200,174,.12), 0 8px 22px rgba(0,0,0,.25);
  font-size: .78rem;
}
.schedule-page .day-tab.is-today:not(.is-active) .day-tab-date {
  color: #7dffd7;
}
.schedule-page-panel {
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(165deg, rgba(18,28,40,.55), rgba(8,12,18,.78)),
    rgba(6,10,16,.65);
  box-shadow:
    0 24px 60px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.05);
  overflow: hidden;
}
.schedule-page-body {
  padding: .85rem;
}
.schedule-page-body .schedule-list.is-active {
  display: grid;
  gap: .55rem;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
.schedule-page .schedule-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: .85rem;
  align-items: center;
  padding: .75rem .8rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.07);
  background:
    linear-gradient(135deg, rgba(255,255,255,.04), transparent 45%),
    rgba(10,16,24,.72);
  text-decoration: none;
  color: inherit;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.schedule-page .schedule-row:hover,
.schedule-page .schedule-row:focus-visible {
  border-color: rgba(30,200,174,.38);
  background:
    linear-gradient(135deg, rgba(30,200,174,.1), transparent 50%),
    rgba(12,20,30,.9);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
}
.schedule-page .schedule-thumb {
  width: 56px;
  height: 78px;
  border-radius: 10px;
  object-fit: cover;
  background: #0b1118;
  box-shadow: 0 8px 18px rgba(0,0,0,.35);
}
.schedule-page .schedule-copy strong {
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: .4rem;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.25;
}
.schedule-page .schedule-meta {
  gap: .45rem;
  font-size: .8rem;
}
.schedule-page .schedule-meta time {
  color: #d7e4f0;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.schedule-page .schedule-ep {
  font-size: .7rem;
  padding: .18rem .48rem;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(230,240,248,.9);
}
.schedule-page .schedule-empty {
    grid-column: 1 / -1;
  padding: 2.5rem 1rem;
  text-align: center;
}

/* Ã¢ÂÂÃ¢ÂÂ Premium profile page Ã¢ÂÂÃ¢ÂÂ */
.profile-page {
  display: grid;
  gap: 1.75rem;
  padding: 1rem 0 3rem;
}
.profile-hero {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.25rem 1.6rem;
  align-items: center;
  padding: 1.45rem 1.4rem 1.35rem;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(145deg, rgba(16,26,36,.78), rgba(8,12,18,.88));
  box-shadow:
    0 28px 70px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.05);
  overflow: hidden;
}
.profile-hero-bg {
  position: absolute;
  inset: -20% auto auto -10%;
  width: 55%;
  height: 140%;
  background:
    radial-gradient(circle at 30% 40%, rgba(30,200,174,.18), transparent 55%),
    radial-gradient(circle at 70% 20%, rgba(120,90,255,.1), transparent 50%);
  pointer-events: none;
}
.profile-avatar,
.profile-copy,
.profile-stats { position: relative; z-index: 1; }
.profile-avatar {
  width: 104px;
  height: 104px;
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  place-items: center;
  font-family: Syne, sans-serif;
  font-size: 2.35rem;
  font-weight: 700;
  color: #e8fff8;
  background:
    linear-gradient(160deg, rgba(90,230,200,.55), rgba(20,120,110,.85) 55%, rgba(8,40,40,.95));
  border: 1px solid rgba(255,255,255,.22);
  box-shadow:
    0 0 0 4px rgba(30,200,174,.12),
    0 16px 36px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.35);
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-copy .eyebrow { margin-bottom: .4rem; }
.profile-copy h1 {
  font-family: Syne, sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -.03em;
  margin: 0 0 .45rem;
  line-height: 1.05;
}
.profile-badges { margin: 0 0 .65rem; }
.profile-badges .role-tag {
  font-size: .7rem;
  padding: .24rem .62rem .24rem .42rem;
  border-radius: 8px;
}
.profile-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .85rem;
  color: rgba(220,235,245,.68);
  font-size: .9rem;
}
.profile-bio {
  margin: .7rem 0 0;
  max-width: 38rem;
  color: rgba(220,235,245,.78);
  line-height: 1.55;
}
.profile-actions { margin-top: 1.05rem; }
.profile-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(5.2rem, 1fr));
  gap: .55rem;
  min-width: 11.5rem;
}
.profile-stats div {
  text-align: center;
  padding: .8rem .55rem;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), transparent 42%),
    rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.profile-stats strong {
  display: block;
  font-family: Syne, sans-serif;
  font-size: 1.35rem;
  letter-spacing: -.02em;
}
.profile-stats span {
  display: block;
  margin-top: .15rem;
  font-size: .74rem;
  color: rgba(220,235,245,.62);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.profile-section {
  width: 100%;
  margin: 0;
  padding: 0;
}
.profile-ratings { display: grid; gap: .45rem; }
.profile-rating-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(8,14,22,.5);
  color: inherit;
  text-decoration: none;
  transition: border-color 150ms ease, background 150ms ease;
}
.profile-rating-row:hover {
  border-color: rgba(30,200,174,.4);
  background: rgba(30,200,174,.08);
}
.profile-empty {
  display: grid;
  justify-items: center;
  gap: .55rem;
  text-align: center;
  padding: 2.6rem 1.4rem;
  border-radius: 20px;
  border: 1px dashed rgba(255,255,255,.12);
  background:
    radial-gradient(420px 180px at 50% 0%, rgba(30,200,174,.1), transparent 70%),
    rgba(8,14,22,.45);
}
.profile-empty-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  margin-bottom: .35rem;
  background:
    linear-gradient(145deg, rgba(30,200,174,.35), rgba(30,200,174,.08));
  border: 1px solid rgba(30,200,174,.3);
  box-shadow: 0 0 24px rgba(30,200,174,.15);
}
.profile-empty h2 {
  margin: 0;
  font-family: Syne, sans-serif;
  font-size: 1.25rem;
}
.profile-empty p {
  margin: 0;
  max-width: 28rem;
  color: rgba(220,235,245,.62);
  line-height: 1.5;
}
.profile-empty .btn { margin-top: .55rem; }

@media (max-width: 820px) {
  .profile-hero {
    grid-template-columns: auto 1fr;
  }
  .profile-stats {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-width: 0;
  }
  .schedule-page .day-tabs--panel,
  .schedule-page .day-tabs {
    overflow-x: auto;
    grid-template-columns: repeat(7, minmax(3.2rem, 1fr));
  }
}
@media (max-width: 560px) {
  .profile-hero { padding: 1.1rem; }
  .profile-avatar { width: 78px; height: 78px; border-radius: 22px; font-size: 1.8rem; }
  .profile-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .schedule-page-body .schedule-list.is-active {
    grid-template-columns: 1fr;
  }
}

/* -- Alignment + premium tags + admin v3 -- */
.page-main,
.schedule-page.page-main,
.profile-page.page-main {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

.schedule-page.page-main {
  display: grid;
  gap: 1.1rem;
  padding-top: 1.35rem;
  padding-bottom: 3rem;
}
.schedule-page-head {
  display: block !important;
}
.schedule-page-intro {
  max-width: 42rem;
}
.schedule-page .day-tabs--panel,
.schedule-page .day-tabs {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .45rem;
  padding: .45rem;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), transparent 42%),
    rgba(8,14,22,.75);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.schedule-page .schedule-page-panel {
  width: 100%;
}
.schedule-page .schedule-ep {
  margin-left: auto;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  padding: .2rem .55rem;
  border-radius: 999px;
  border: 1px solid rgba(30,200,174,.28);
  background:
    linear-gradient(180deg, rgba(30,200,174,.22), rgba(30,200,174,.08));
  color: #d9fff4;
  box-shadow: 0 0 12px rgba(30,200,174,.12), inset 0 1px 0 rgba(255,255,255,.18);
}
.schedule-page .schedule-eta {
  padding: .12rem .4rem;
  border-radius: 999px;
  background: rgba(30,200,174,.12);
  border: 1px solid rgba(30,200,174,.2);
}

.profile-page.page-main {
  padding-top: 1.25rem;
}
.profile-section.section {
  width: 100%;
  margin: 0;
  padding-top: .35rem;
}

/* Premium role tags */
.user-badges {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
}
.role-tag {
  --tag-a: #7a848e;
  --tag-b: #d5dee6;
  --tag-c: #4b5560;
  --tag-glow: rgba(190,205,220,.18);
  --tag-ink: #f4f8fc;
  --tag-icon: url("/assets/img/badges/watcher.svg");
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  padding: .28rem .7rem .28rem .42rem;
  border-radius: 999px;
  isolation: isolate;
  overflow: hidden;
  color: var(--tag-ink);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  line-height: 1;
  text-shadow: 0 1px 1px rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.28);
  background:
    linear-gradient(180deg, rgba(255,255,255,.34) 0%, rgba(255,255,255,.06) 38%, transparent 58%),
    linear-gradient(125deg, var(--tag-b), var(--tag-a) 48%, var(--tag-c));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.5),
    inset 0 -1px 0 rgba(0,0,0,.28),
    0 1px 2px rgba(0,0,0,.35),
    0 0 16px var(--tag-glow);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.role-tag::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 120deg, transparent 0 55%, rgba(255,255,255,.55), transparent 72% 100%);
  opacity: .35;
  animation: tagOrbit 5.5s linear infinite;
  z-index: 0;
  pointer-events: none;
}
.role-tag::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255,255,255,.18), transparent 42%),
    linear-gradient(125deg, color-mix(in srgb, var(--tag-b) 70%, transparent), color-mix(in srgb, var(--tag-c) 85%, #000));
  z-index: 1;
  pointer-events: none;
}
.role-tag-icon,
.role-tag em,
.role-tag-shine {
  position: relative;
  z-index: 2;
}
.role-tag-icon {
  width: .92rem;
  height: .92rem;
  border-radius: 50%;
  flex: 0 0 auto;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,.95), rgba(255,255,255,.2) 42%, transparent 70%),
    linear-gradient(145deg, var(--tag-b), var(--tag-c));
  box-shadow: 0 0 8px var(--tag-glow), inset 0 0 1px rgba(255,255,255,.7);
  -webkit-mask: var(--tag-icon) center / 62% 62% no-repeat;
  mask: var(--tag-icon) center / 62% 62% no-repeat;
}
.role-tag em {
  font-style: normal;
  font-family: Syne, sans-serif;
}
.role-tag-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 28%, rgba(255,255,255,.55) 48%, transparent 64%);
  transform: translateX(-130%);
  animation: tagSheen 4.4s ease-in-out infinite;
  pointer-events: none;
  z-index: 3;
}
.role-tag:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.55),
    0 6px 18px rgba(0,0,0,.28),
    0 0 22px var(--tag-glow);
}
.role-tag--watcher,
.role-tag--member {
  --tag-a: #6d7680;
  --tag-b: #b8c1cb;
  --tag-c: #3f474f;
  --tag-glow: transparent;
  --tag-icon: url("/assets/img/badges/watcher.svg");
}
.role-tag--watcher::before,
.role-tag--member::before,
.role-tag--watcher .role-tag-shine,
.role-tag--member .role-tag-shine {
  animation: none;
  opacity: 0;
}
.role-tag--admin {
  --tag-a: #129987;
  --tag-b: #7af0d8;
  --tag-c: #0a5f54;
  --tag-glow: rgba(30,200,174,.42);
  --tag-icon: url("/assets/img/badges/admin.svg");
}
.role-tag--developer {
  --tag-a: #2f74d8;
  --tag-b: #9ecbff;
  --tag-c: #163f8a;
  --tag-glow: rgba(80,150,255,.42);
  --tag-icon: url("/assets/img/badges/developer.svg");
}
.role-tag--founder {
  --tag-a: #8f4dff;
  --tag-b: #d9b8ff;
  --tag-c: #4a1aa6;
  --tag-glow: rgba(150,100,255,.45);
  --tag-icon: url("/assets/img/badges/founder.svg");
}
.role-tag--vip {
  --tag-a: #d4a017;
  --tag-b: #ffe59a;
  --tag-c: #8a6508;
  --tag-glow: rgba(255,210,80,.45);
  --tag-icon: url("/assets/img/badges/vip.svg");
}
.role-tag--donator {
  --tag-a: #d85a2e;
  --tag-b: #ffb894;
  --tag-c: #8a2e14;
  --tag-glow: rgba(255,120,70,.42);
  --tag-icon: url("/assets/img/badges/donator.svg");
}
.user-badges--sm .role-tag {
  font-size: .6rem;
  padding: .18rem .52rem .18rem .3rem;
  gap: .28rem;
}
.user-badges--sm .role-tag-icon {
  width: .74rem;
  height: .74rem;
}
@keyframes tagOrbit {
  to { transform: rotate(360deg); }
}
@keyframes tagSheen {
  0%, 58% { transform: translateX(-140%); }
  78%, 100% { transform: translateX(140%); }
}
@media (prefers-reduced-motion: reduce) {
  .role-tag::before,
  .role-tag-shine { animation: none !important; }
}

/* Admin v3 Ã¯Â¿Â½ top nav console aligned to site width */
body.is-admin {
  background:
    radial-gradient(1000px 480px at 10% -15%, rgba(30,200,174,.12), transparent 55%),
    radial-gradient(820px 420px at 95% 0%, rgba(120,90,255,.08), transparent 50%),
    #06090f;
}
.admin-chrome {
  width: min(var(--max), calc(100% - 2rem));
  margin: .75rem auto 0;
  padding: .65rem .9rem;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(8,12,18,.78);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 16px 40px rgba(0,0,0,.28);
}
.admin-shell {
  display: block;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  min-height: calc(100vh - 88px);
  max-width: none;
  border: 0;
  padding: 1rem 0 2.5rem;
}
.admin-frame {
  display: grid;
  gap: 1rem;
}
.admin-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  align-items: end;
  padding: 1.15rem 1.2rem;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(145deg, rgba(18,28,38,.75), rgba(8,12,18,.9));
  box-shadow: 0 20px 50px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.05);
}
.admin-head-copy { max-width: 36rem; }
.admin-kicker {
  margin: 0;
  color: rgba(125,255,215,.85);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.admin-head h1 {
  margin: .25rem 0 .35rem;
  font-family: Syne, sans-serif;
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  letter-spacing: -.03em;
}
.admin-sub {
  margin: 0;
  color: rgba(220,235,245,.62);
  font-size: .92rem;
}
.admin-head-user {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem .8rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.22);
}
.admin-avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #1ec8ae, #0a6b5c);
  font-family: Syne, sans-serif;
  font-weight: 700;
  flex: 0 0 auto;
}
.admin-avatar img { width: 100%; height: 100%; object-fit: cover; }
.admin-head-user-meta { min-width: 0; }
.admin-head-user-meta strong {
  display: block;
  font-family: Syne, sans-serif;
  margin-bottom: .3rem;
}
.admin-head-badges .user-badges { gap: .28rem; }
.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  padding: .4rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(8,14,22,.7);
}
.admin-tab {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem .95rem;
  border-radius: 12px;
  color: rgba(220,235,245,.72);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.admin-tab:hover {
  color: #fff;
  background: rgba(255,255,255,.04);
}
.admin-tab.is-active {
  color: #fff;
  background: rgba(30,200,174,.14);
  border-color: rgba(30,200,174,.35);
  box-shadow: 0 0 0 1px rgba(30,200,174,.08);
}
.admin-tab em {
  font-style: normal;
  min-width: 1.2rem;
  padding: .05rem .35rem;
  border-radius: 999px;
  background: rgba(30,200,174,.25);
  color: #e8fff8;
  font-size: .72rem;
  text-align: center;
}
.admin-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
}
.admin-metric {
  padding: .85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.07);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), transparent 50%),
    rgba(10,15,22,.7);
  text-align: left;
}
.admin-metric strong {
  display: block;
  font-family: Syne, sans-serif;
  font-size: 1.35rem;
  letter-spacing: -.02em;
}
.admin-metric span {
  display: block;
  margin-top: .15rem;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(220,235,245,.55);
}
.admin-stage { display: grid; gap: 1rem; }
.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}
.admin-tile {
  display: grid;
  gap: .4rem;
  align-content: start;
  padding: 1.15rem 1.2rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  color: inherit;
  text-decoration: none;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.admin-tile:hover {
  border-color: rgba(30,200,174,.4);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,.25);
}
.admin-tile strong {
  font-family: Syne, sans-serif;
  font-size: 1.15rem;
}
.admin-tile p {
  margin: 0;
  color: rgba(220,235,245,.62);
  font-size: .9rem;
  line-height: 1.45;
}
.admin-panel {
  padding: 1rem 1.1rem 1.2rem;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(10,15,22,.78);
  box-shadow: 0 18px 40px rgba(0,0,0,.2);
}
.admin-panel--form { max-width: 560px; }
.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .9rem;
}
.admin-search {
  flex: 1 1 260px;
  max-width: 420px;
}
.admin-search input {
  width: 100%;
  padding: .7rem .9rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.32);
  color: inherit;
  outline: none;
}
.admin-search input:focus {
  border-color: rgba(30,200,174,.45);
  box-shadow: 0 0 0 3px rgba(30,200,174,.12);
}
.admin-note {
  margin: 0;
  color: rgba(220,235,245,.55);
  font-size: .82rem;
}
.admin-user-table { display: grid; gap: .55rem; }
.admin-user-head {
  display: none;
  grid-template-columns: minmax(180px, .9fr) minmax(0, 1.4fr) auto;
  gap: 1rem;
  padding: 0 .35rem .15rem;
  color: rgba(220,235,245,.45);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
@media (min-width: 900px) {
  .admin-user-head { display: grid; }
}
.admin-user-row {
  display: grid;
  grid-template-columns: minmax(180px, .9fr) minmax(0, 1.4fr) auto;
  gap: .85rem 1rem;
  align-items: center;
  padding: .9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.07);
  background:
    linear-gradient(135deg, rgba(255,255,255,.03), transparent 50%),
    rgba(0,0,0,.2);
}
.admin-user-meta {
  display: flex;
  gap: .7rem;
  align-items: center;
  min-width: 0;
}
.admin-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-family: Syne, sans-serif;
  font-weight: 700;
  background: linear-gradient(145deg, rgba(30,200,174,.35), rgba(20,80,90,.85));
  border: 1px solid rgba(255,255,255,.14);
}
.admin-user-id {
  display: grid;
  gap: .15rem;
  min-width: 0;
}
.admin-user-id strong {
  font-family: Syne, sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-user-id span {
  color: rgba(220,235,245,.55);
  font-size: .82rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-user-link {
  width: fit-content;
  color: #7dffd7;
  font-size: .78rem;
  text-decoration: none;
}
.admin-user-link:hover { text-decoration: underline; }
.admin-user-tags { display: grid; gap: .55rem; min-width: 0; }
.admin-user-preview { min-height: 1.4rem; }
.admin-badge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.admin-badge-check {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  padding: .28rem .55rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.03);
  font-size: .78rem;
  cursor: pointer;
}
.admin-badge-check input { accent-color: #1ec8ae; }
.admin-user-save {
  display: grid;
  gap: .35rem;
  justify-items: end;
  align-content: center;
}
.admin-empty {
  margin: 0;
  padding: 1.4rem 1rem;
  text-align: center;
  color: rgba(220,235,245,.55);
}
.admin-list { display: grid; gap: .55rem; }
.admin-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem 1rem;
  padding: .85rem .95rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(0,0,0,.18);
}
.admin-item p { margin: .35rem 0; color: rgba(220,235,245,.78); }
.admin-item small { color: rgba(220,235,245,.5); }
.admin-item-actions { display: flex; flex-wrap: wrap; gap: .4rem; }
.admin-muted { color: rgba(220,235,245,.5); }
.admin-form { display: grid; gap: .85rem; }
.admin-form label { display: grid; gap: .35rem; }
.admin-form input,
.admin-form textarea {
  width: 100%;
  padding: .7rem .85rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.28);
  color: inherit;
}
.admin-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

@media (max-width: 900px) {
  .admin-user-row {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .admin-user-save { justify-items: start; }
  .admin-grid { grid-template-columns: 1fr; }
  .admin-metrics { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .admin-chrome,
  .admin-shell,
  .page-main {
    width: min(var(--max), calc(100% - 1.25rem));
  }
}

/* Role tag icon fix: white glyph on metallic disc */
.role-tag-icon {
  -webkit-mask: none !important;
  mask: none !important;
  background:
    var(--tag-icon) center / 58% 58% no-repeat,
    radial-gradient(circle at 35% 30%, rgba(255,255,255,.9), rgba(255,255,255,.15) 42%, transparent 70%),
    linear-gradient(145deg, var(--tag-b), var(--tag-c)) !important;
}

.role-tag-icon {
  background: linear-gradient(145deg, #fff, rgba(255,255,255,.72)) !important;
  box-shadow: 0 0 10px var(--tag-glow) !important;
  -webkit-mask: var(--tag-icon) center / 78% 78% no-repeat !important;
  mask: var(--tag-icon) center / 78% 78% no-repeat !important;
  border-radius: 0 !important;
}

/* Role tag glyphs (inline SVG Ã¯Â¿Â½ clearly different per role) */
.role-tag-icon {
  width: 1.05rem !important;
  height: 1.05rem !important;
  display: inline-grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  background: rgba(0,0,0,.28) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25), 0 0 8px var(--tag-glow) !important;
  -webkit-mask: none !important;
  mask: none !important;
}
.role-tag-glyph {
  width: .72rem;
  height: .72rem;
  fill: #fff;
  display: block;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.35));
}
.user-badges--sm .role-tag-icon {
  width: .9rem !important;
  height: .9rem !important;
}
.user-badges--sm .role-tag-glyph {
  width: .62rem;
  height: .62rem;
}

.user-name--donator {
  background: linear-gradient(90deg, #ffe59a, #ffb020, #ffe59a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.comment-item {
  --depth: 0;
  margin-left: calc(var(--depth) * 1.1rem);
  border-left: 2px solid transparent;
  padding-left: .35rem;
}
.comment-item.is-reply {
  border-left-color: rgba(30,200,174,.28);
  margin-top: .55rem;
}
.comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.onboarding-banner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin: 1rem auto;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(30,200,174,.3);
  background: linear-gradient(135deg, rgba(30,200,174,.14), rgba(8,14,22,.8));
}
.onboarding-banner p { margin: .25rem 0 0; color: rgba(220,235,245,.7); }
.onboarding-actions { display: flex; flex-wrap: wrap; gap: .45rem; }

.maintenance-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 2rem 0;
}
.maintenance-card {
  max-width: 28rem;
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(10,15,22,.8);
}
.maintenance-card h1 {
  font-family: Syne, sans-serif;
  margin: .35rem 0 .6rem;
}

.showcase-pick-grid {
  display: grid;
  gap: .35rem;
  max-height: 220px;
  overflow: auto;
  margin-top: .45rem;
}
.showcase-pick {
  display: flex;
  gap: .45rem;
  align-items: center;
  padding: .35rem .45rem;
  border-radius: 8px;
  background: rgba(0,0,0,.2);
  font-size: .86rem;
}
.admin-avatar-mod {
  display: flex;
  gap: .75rem;
  align-items: center;
}
.admin-avatar-mod img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.12);
}
.early-section .section-index { color: #ffe59a; }

/* Admin checkbox row fix */
.admin-form .settings-check,
.settings-check {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: .65rem;
  margin: 0;
  cursor: pointer;
}
.admin-form .settings-check span,
.settings-check span {
  display: inline !important;
  margin: 0 !important;
  color: inherit !important;
  font-size: .92rem !important;
}
.admin-form .settings-check input,
.settings-check input {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  accent-color: #1ec8ae;
}
.admin-toggle-list {
  display: grid;
  gap: .85rem;
  padding: .85rem 0 .25rem;
}
.admin-toggle-list > label:not(.settings-check) {
  display: grid;
  gap: .35rem;
}
.kofi-btn {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.kofi-btn img {
  display: block;
  height: 36px;
  width: auto;
}

.foot-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.25rem;
}
.foot-meta-links {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1rem;
  align-items: center;
  min-width: 0;
}
.foot-meta .kofi-btn {
  margin-left: auto;
  flex: 0 0 auto;
}
@media (max-width: 640px) {
  .foot-meta .kofi-btn {
    margin-left: 0;
    width: 100%;
    justify-content: flex-end;
  }
}

.foot-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 1.25rem;
  width: 100%;
}
.foot-bottom .foot-meta-links {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1rem;
  align-items: center;
  min-width: 0;
}
.foot-bottom .foot-meta-links a {
  color: #7ed9c8;
  font-weight: 650;
  font-size: .82rem;
}
.foot-bottom .foot-meta-links a:hover {
  color: #fff;
  text-decoration: underline;
}
.foot-bottom .foot-meta-links span {
  font-size: .82rem;
  opacity: .92;
}
.foot-bottom .kofi-btn {
  justify-self: end;
  margin-left: 0 !important;
  flex: none;
}
@media (max-width: 720px) {
  .foot-bottom {
    grid-template-columns: 1fr;
    row-gap: .85rem;
  }
  .foot-bottom .kofi-btn {
    justify-self: end;
  }
}
.foot-support {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .55rem;
  justify-self: end;
}
.kofi-goal {
  min-width: min(220px, 70vw);
  text-align: right;
}
.kofi-goal-copy {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  font-size: .72rem;
  color: rgba(200, 236, 228, .88);
  margin-bottom: .28rem;
}
.kofi-goal-copy strong {
  color: #9fe8d8;
  font-weight: 700;
}
.kofi-goal-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(126, 217, 200, .16);
  overflow: hidden;
}
.kofi-goal-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #1f8f7a, #7ed9c8);
  border-radius: inherit;
}

.watch-presence {
  color: #8fe0d0;
  font-weight: 600;
}
.watch-presence[hidden] {
  display: none !important;
}
[data-pip-toggle].is-active {
  border-color: rgba(126, 217, 200, .55);
  color: #9fe8d8;
}

.trophy-shelf {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: .85rem;
}
.trophy-card {
  padding: .95rem 1rem;
  border: 1px solid rgba(126, 217, 200, .18);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(18, 36, 42, .9), rgba(10, 18, 24, .75));
  display: grid;
  gap: .35rem;
}
.trophy-card strong {
  font-size: .95rem;
  color: #e8fff8;
}
.trophy-card span {
  font-size: .8rem;
  color: rgba(190, 220, 214, .78);
  line-height: 1.35;
}
.trophy-card.is-locked {
  opacity: .48;
  filter: grayscale(.35);
}
.trophy-card.is-earned {
  border-color: rgba(126, 217, 200, .42);
  box-shadow: inset 0 0 0 1px rgba(126, 217, 200, .08);
}

.club-section {
  margin-top: 1.5rem;
}
.club-pinned {
  margin-bottom: .85rem;
  padding: .9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 196, 110, .35);
  background: rgba(255, 180, 80, .08);
}
.club-pin-badge {
  display: inline-block;
  margin-left: .4rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #ffd59a;
}
.club-feed {
  display: grid;
  gap: .65rem;
}
.club-post {
  padding: .75rem .9rem;
  border-radius: 10px;
  border: 1px solid rgba(126, 217, 200, .12);
  background: rgba(8, 16, 22, .45);
}
.club-post header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .7rem;
  margin-bottom: .35rem;
  font-size: .85rem;
}
.club-post p {
  margin: 0;
  white-space: pre-wrap;
  line-height: 1.45;
  color: rgba(220, 240, 235, .92);
}
.club-form {
  margin-top: .9rem;
  display: grid;
  gap: .55rem;
}
.club-form textarea {
  width: 100%;
  min-height: 4.2rem;
  resize: vertical;
}

.spoiler-calendar {
  margin: 1.25rem auto 0;
  max-width: var(--max, 1120px);
  padding: .85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(126, 217, 200, .2);
  background: rgba(14, 28, 34, .72);
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .85rem;
  align-items: baseline;
}
.spoiler-calendar strong {
  color: #9fe8d8;
}
.spoiler-calendar.is-safe {
  border-color: rgba(110, 200, 140, .35);
}
.spoiler-calendar.is-wait {
  border-color: rgba(255, 180, 100, .28);
}
.spoiler-safe-badge {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: .15rem .45rem;
  border-radius: 999px;
  border: 1px solid transparent;
}
.spoiler-safe-badge.is-safe {
  color: #9fe8c8;
  border-color: rgba(126, 217, 160, .35);
  background: rgba(80, 160, 120, .12);
}
.spoiler-safe-badge.is-wait {
  color: #ffd59a;
  border-color: rgba(255, 180, 100, .3);
  background: rgba(180, 110, 40, .12);
}

.donator-emoji {
  display: grid;
  gap: .35rem;
  margin: .35rem 0 .15rem;
}
.donator-emoji > span {
  font-size: .75rem;
  color: rgba(190, 220, 214, .75);
  font-weight: 650;
}
.donator-emoji[hidden] {
  display: none !important;
}
.donator-emoji-row {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.donator-emoji-btn {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 8px;
  border: 1px solid rgba(126, 217, 200, .22);
  background: rgba(12, 24, 30, .7);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
}
.donator-emoji-btn:hover {
  border-color: rgba(126, 217, 200, .5);
  background: rgba(30, 60, 68, .85);
}
@media (max-width: 720px) {
  .foot-support {
    width: 100%;
    align-items: stretch;
  }
  .kofi-goal {
    min-width: 0;
    text-align: left;
  }
}

.emoji-picker {
  display: grid;
  gap: .55rem;
  padding: .7rem .8rem;
  border-radius: 14px;
  border: 1px solid rgba(126, 217, 200, .16);
  background: rgba(8, 14, 22, .55);
}
.emoji-picker-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem;
  font-size: .74rem;
  font-weight: 700;
  color: rgba(190, 220, 214, .82);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.emoji-picker-head em {
  font-style: normal;
  font-weight: 650;
  color: #ffd59a;
  text-transform: none;
  letter-spacing: 0;
}
.emoji-picker-row {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.emoji-btn {
  width: 2.15rem;
  height: 2.15rem;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid rgba(126, 217, 200, .18);
  background: rgba(12, 24, 30, .72);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  color: inherit;
  padding: 0;
}
.emoji-btn:hover:not(:disabled) {
  border-color: rgba(126, 217, 200, .5);
  background: rgba(30, 60, 68, .9);
  transform: translateY(-1px);
}
.emoji-btn--prem {
  border-color: rgba(255, 196, 110, .28);
  background: linear-gradient(160deg, rgba(40, 28, 12, .85), rgba(16, 20, 28, .9));
}
.emoji-picker-prem.is-locked .emoji-btn--prem {
  opacity: .45;
  cursor: not-allowed;
  filter: grayscale(.2);
}
.emoji-picker-locked {
  margin: 0;
  font-size: .75rem;
  color: rgba(255, 213, 154, .78);
}
.prem-emoji {
  display: inline-grid;
  place-items: center;
  width: 1.15em;
  height: 1.15em;
  font-size: 1.05em;
  line-height: 1;
  vertical-align: -0.12em;
  color: #9fe8d8;
}
.prem-emoji--aether {
  color: #7dffd7;
  animation: prem-aether 1.8s ease-in-out infinite;
  text-shadow: 0 0 10px rgba(125, 255, 215, .55);
}
.prem-emoji--orbit {
  color: #8ecbff;
  animation: prem-orbit 2.4s linear infinite;
}
.prem-emoji--flare {
  color: #ffd27a;
  animation: prem-flare 1.2s ease-in-out infinite;
  text-shadow: 0 0 12px rgba(255, 176, 32, .55);
}
.prem-emoji--pulse {
  color: #ff8ec8;
  animation: prem-pulse 1.4s ease-in-out infinite;
}
.prem-emoji--crown {
  color: #ffd700;
  animation: prem-crown 2s ease-in-out infinite;
  text-shadow: 0 0 10px rgba(255, 215, 0, .45);
}
.prem-emoji--ripple {
  color: #7ed9c8;
  animation: prem-ripple 2s ease-out infinite;
}
@keyframes prem-aether {
  0%, 100% { transform: scale(1) rotate(0deg); filter: brightness(1); }
  50% { transform: scale(1.18) rotate(8deg); filter: brightness(1.35); }
}
@keyframes prem-orbit {
  0% { transform: rotate(0deg) translateX(0); }
  25% { transform: rotate(90deg) translateX(1px); }
  50% { transform: rotate(180deg) translateX(0); }
  75% { transform: rotate(270deg) translateX(-1px); }
  100% { transform: rotate(360deg) translateX(0); }
}
@keyframes prem-flare {
  0%, 100% { transform: scale(1); opacity: .85; }
  50% { transform: scale(1.25); opacity: 1; }
}
@keyframes prem-pulse {
  0%, 100% { transform: scale(.92); box-shadow: 0 0 0 0 rgba(255, 142, 200, .35); border-radius: 50%; }
  50% { transform: scale(1.16); box-shadow: 0 0 12px 2px rgba(255, 142, 200, .28); border-radius: 50%; }
}
@keyframes prem-crown {
  0%, 100% { transform: translateY(0); filter: drop-shadow(0 0 0 transparent); }
  50% { transform: translateY(-2px); filter: drop-shadow(0 0 6px rgba(255, 215, 0, .55)); }
}
@keyframes prem-ripple {
  0% { transform: scale(.9); opacity: .7; }
  70% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(.9); opacity: .7; }
}

.club-form {
  margin-top: .9rem;
  display: grid;
  gap: .65rem;
  max-width: 720px;
}
.club-form .btn-primary {
  justify-self: start;
  min-width: 7.5rem;
}
.club-form textarea {
  min-height: 4.6rem;
}

.settings-form label,
.settings-card label:not(.settings-check):not(.account-check) {
  display: grid;
  gap: .35rem;
  margin-bottom: .85rem;
  font-size: .84rem;
  font-weight: 650;
  color: #c5d0db;
}
.settings-form textarea,
.settings-card textarea {
  min-height: 5rem;
}

.donator-emoji { display: none !important; }

/* Themes unlocked by Ko-fi milestones */
body[data-theme="aurora"] {
  --accent: #34d3c0;
  --accent-2: #9ef0e2;
  --bg: #06141a;
}
body[data-theme="ember"] {
  --accent: #ff9a4a;
  --accent-2: #ffd09a;
  --bg: #140c08;
}
body[data-theme="violet"] {
  --accent: #a78bfa;
  --accent-2: #ddd6fe;
  --bg: #0c0a16;
}

.profile-handle {
  margin: .15rem 0 .35rem;
  color: #7ed9c8;
  font-weight: 700;
  font-size: .95rem;
}
.profile-custom-title {
  margin: 0 0 .45rem;
  color: #ffd59a;
  font-weight: 650;
  font-size: .88rem;
  letter-spacing: .02em;
}
.profile-avatar.has-aura {
  position: relative;
  box-shadow: 0 0 0 2px rgba(126, 217, 200, .45), 0 0 28px rgba(94, 234, 212, .35);
  animation: aura-breathe 3.2s ease-in-out infinite;
}
@keyframes aura-breathe {
  0%, 100% { box-shadow: 0 0 0 2px rgba(126, 217, 200, .4), 0 0 18px rgba(94, 234, 212, .25); }
  50% { box-shadow: 0 0 0 3px rgba(126, 217, 200, .65), 0 0 34px rgba(94, 234, 212, .45); }
}

.season-rings {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: .85rem;
}
.season-ring {
  display: grid;
  justify-items: center;
  gap: .45rem;
  text-decoration: none;
  color: inherit;
  text-align: center;
  position: relative;
}
.season-ring-meter {
  position: absolute;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: conic-gradient(#1ec8ae calc(var(--p) * 1%), rgba(255,255,255,.08) 0);
  mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
}
.season-ring-art {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  overflow: hidden;
  margin-top: 8px;
  background: rgba(255,255,255,.06);
  z-index: 1;
}
.season-ring-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.season-ring strong {
  font-size: .82rem;
  line-height: 1.25;
}
.season-ring span {
  font-size: .72rem;
  color: var(--muted);
}

.comment-item--donator {
  border: 1px solid rgba(255, 196, 110, .28);
  border-radius: 14px;
  padding: .65rem .7rem;
  background: linear-gradient(135deg, rgba(255, 180, 80, .07), rgba(30, 200, 174, .05));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03);
}
.comment-custom-title {
  font-size: .72rem;
  font-weight: 700;
  color: #ffd59a;
  margin-right: .35rem;
}

.kofi-milestones {
  list-style: none;
  margin: .4rem 0 0;
  padding: 0;
  display: grid;
  gap: .18rem;
  text-align: right;
}
.kofi-milestones li {
  font-size: .66rem;
  color: rgba(190, 220, 214, .55);
}
.kofi-milestones li.is-on {
  color: #9fe8d8;
}
.supporter-wall {
  min-width: min(220px, 70vw);
  text-align: right;
}
.supporter-wall strong {
  display: block;
  font-size: .72rem;
  color: #9fe8d8;
  margin-bottom: .35rem;
}
.supporter-wall-row {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  justify-content: flex-end;
}
.supporter-chip {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(126, 217, 200, .35);
  background: rgba(12, 24, 30, .8);
  display: grid;
  place-items: center;
  font-size: .7rem;
  color: #9fe8d8;
  text-decoration: none;
}
.supporter-chip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.club-challenge {
  margin-bottom: .85rem;
  padding: .75rem .9rem;
  border-radius: 12px;
  border: 1px solid rgba(126, 217, 200, .2);
  background: rgba(14, 28, 34, .55);
  display: grid;
  gap: .35rem;
}
.club-challenge-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(126, 217, 200, .14);
  overflow: hidden;
}
.club-challenge-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #1f8f7a, #7ed9c8);
}
.club-challenge.is-done {
  border-color: rgba(126, 217, 160, .4);
}

.ep-reactions {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .55rem;
}
.ep-react {
  position: relative;
  border: 1px solid rgba(244, 247, 251, .12);
  background: rgba(8, 14, 22, .65);
  color: #fff;
  border-radius: 999px;
  padding: .28rem .65rem;
  font-size: .85rem;
  cursor: pointer;
}
.ep-react.is-on {
  border-color: rgba(126, 217, 200, .5);
  background: rgba(30, 200, 174, .16);
}
.ep-react em {
  font-style: normal;
  opacity: .8;
  margin-left: .15rem;
}
.ep-react-burst {
  position: absolute;
  left: 50%;
  top: 0;
  pointer-events: none;
  animation: react-pop .7s ease-out forwards;
}
@keyframes react-pop {
  0% { transform: translate(-50%, 0) scale(.8); opacity: 1; }
  100% { transform: translate(-50%, -28px) scale(1.35); opacity: 0; }
}

.resume-toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: .75rem;
  max-width: min(460px, calc(100vw - 2rem));
  padding: .7rem .75rem .7rem .7rem;
  border-radius: 16px;
  border: 1px solid rgba(126, 217, 200, .28);
  background: rgba(10, 16, 24, .96);
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
  backdrop-filter: blur(12px);
}
.resume-toast[hidden] { display: none !important; }
.resume-toast-poster {
  flex: 0 0 auto;
  width: 44px;
  height: 62px;
  border-radius: 10px;
  background: rgba(255,255,255,.06) center / cover no-repeat;
  border: 1px solid rgba(255,255,255,.1);
}
.resume-toast-poster[hidden] { display: none !important; }
.resume-toast-copy {
  display: grid;
  gap: .15rem;
  min-width: 0;
  flex: 1 1 auto;
}
.resume-toast-copy strong {
  font-size: .9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.resume-toast-copy span {
  font-size: .78rem;
  color: var(--muted);
}
.resume-toast-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  flex: 0 0 auto;
  justify-content: flex-end;
}
.resume-toast-actions .btn {
  margin: 0;
}
.resume-toast-actions .btn-ghost {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(220, 235, 245, .9);
}
.resume-toast-actions .btn-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(126, 217, 200, .35);
}

.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.quote-modal[hidden] { display: none !important; }
.quote-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.62);
}
.quote-modal-card {
  position: relative;
  width: min(440px, 100%);
  padding: 1.25rem 1.3rem;
  border-radius: 18px;
  border: 1px solid rgba(126, 217, 200, .25);
  background:
    radial-gradient(420px 180px at 10% 0%, rgba(30,200,174,.18), transparent 60%),
    #0c141c;
}
.quote-modal-kicker {
  margin: 0 0 .6rem;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7ed9c8;
  font-weight: 700;
}
.quote-modal-card blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.35;
  color: #f4f7fb;
}
.quote-modal-card cite {
  display: block;
  margin-top: .75rem;
  font-style: normal;
  color: var(--muted);
  font-size: .88rem;
}
.quote-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  align-items: center;
  margin-top: 1rem;
}

.profile-hero.has-banner .profile-hero-bg {
  background-image: var(--profile-banner);
  background-size: cover;
  background-position: center;
  opacity: .55;
  filter: saturate(1.1);
}
.profile-page[data-profile-theme="aurora"] .profile-hero { --accent-local: #5eead4; }
.profile-page[data-profile-theme="ember"] .profile-hero { --accent-local: #ff9a4a; }
.profile-page[data-profile-theme="violet"] .profile-hero { --accent-local: #a78bfa; }
.profile-page[data-profile-theme="ocean"] .profile-hero { --accent-local: #38bdf8; }
.profile-page[data-profile-theme]:not([data-profile-theme="default"]) .profile-handle {
  color: var(--accent-local, #7ed9c8);
}
.profile-avatar.ring-teal { box-shadow: 0 0 0 3px #1ec8ae, 0 0 18px rgba(30,200,174,.35); }
.profile-avatar.ring-gold { box-shadow: 0 0 0 3px #f5c542, 0 0 18px rgba(245,197,66,.4); }
.profile-avatar.ring-pulse {
  box-shadow: 0 0 0 3px #ff8ec8;
  animation: ring-pulse 1.8s ease-in-out infinite;
}
.profile-avatar.ring-orbit {
  box-shadow: 0 0 0 3px #8ecbff;
  animation: ring-orbit 2.8s linear infinite;
}
@keyframes ring-pulse {
  0%,100% { box-shadow: 0 0 0 3px #ff8ec8, 0 0 10px rgba(255,142,200,.3); }
  50% { box-shadow: 0 0 0 5px #ff8ec8, 0 0 28px rgba(255,142,200,.55); }
}
@keyframes ring-orbit {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}
.comment-avatar.ring-teal, .comment-avatar.ring-gold, .comment-avatar.ring-pulse, .comment-avatar.ring-orbit {
  box-shadow: 0 0 0 2px rgba(126,217,200,.55);
}
.comment-sticker {
  position: absolute;
  right: -4px;
  bottom: -2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  font-size: 10px;
  display: grid;
  place-items: center;
  background: #0c141c;
  z-index: 2;
}
.comment-avatar { position: relative; }
.comment-sticker--spark::before { content: "Ã¢ÂÂ¦"; color: #7dffd7; }
.comment-sticker--flame::before { content: "Ã°ÂÂÂ¥"; }
.comment-sticker--heart::before { content: "Ã¢ÂÂ¤"; color: #ff8ec8; }
.comment-sticker--star::before { content: "Ã¢ÂÂ"; color: #ffd59a; }
.mention-link {
  color: #7ed9c8;
  font-weight: 700;
  text-decoration: none;
}
.mention-link:hover { text-decoration: underline; }
.streak-cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: .35rem;
  max-width: 280px;
}
.streak-day {
  aspect-ratio: 1;
  border-radius: 6px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.04);
}
.streak-day.is-on {
  background: linear-gradient(145deg, #1ec8ae, #5eead4);
  border-color: transparent;
}
.trophy-card.is-glow {
  border-color: rgba(255, 213, 154, .55);
  box-shadow: 0 0 22px rgba(255, 196, 110, .22);
}
.supporters-rail {
  display: flex;
  gap: .75rem;
  overflow-x: auto;
  padding-bottom: .35rem;
  scroll-behavior: smooth;
}
.supporter-rail-chip {
  flex: 0 0 auto;
  display: grid;
  justify-items: center;
  gap: .35rem;
  text-decoration: none;
  color: inherit;
  width: 72px;
  animation: supporter-float 4.5s ease-in-out infinite;
}
.supporter-rail-chip:nth-child(2n) { animation-delay: .6s; }
.supporter-rail-chip:nth-child(3n) { animation-delay: 1.2s; }
.supporter-rail-chip img,
.supporter-rail-chip > span {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  display: grid;
  place-items: center;
  border: 2px solid rgba(126,217,200,.4);
  background: rgba(12,24,30,.8);
}
.supporter-rail-chip em {
  font-style: normal;
  font-size: .68rem;
  color: var(--muted);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@keyframes supporter-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ââ Cosmetic visual pickers (settings) ââ */
.cosmetic-picker {
  display: grid;
  gap: .55rem;
  margin: .35rem 0 .75rem;
}
.cosmetic-picker-label,
.cosmetic-picker legend {
  font-size: .82rem;
  font-weight: 650;
  color: rgba(232, 244, 248, .92);
}
.cosmetic-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: .55rem;
}
.theme-swatch,
.ring-swatch,
.sticker-swatch {
  position: relative;
  display: grid;
  gap: .4rem;
  justify-items: center;
  padding: .55rem .4rem .5rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.22);
  cursor: pointer;
  transition: border-color .15s ease, transform .15s ease, background .15s ease;
}
.theme-swatch input,
.ring-swatch input,
.sticker-swatch input,
.trophy-glow-pick input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.theme-swatch:hover,
.ring-swatch:hover,
.sticker-swatch:hover,
.trophy-glow-pick:hover {
  border-color: rgba(126,217,200,.35);
  transform: translateY(-1px);
}
.theme-swatch.is-selected,
.ring-swatch.is-selected,
.sticker-swatch.is-selected,
.trophy-glow-pick.is-glow {
  border-color: rgba(126,217,200,.7);
  background: rgba(30,200,174,.1);
  box-shadow: 0 0 0 1px rgba(30,200,174,.25);
}
.theme-swatch.is-locked {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
}
.theme-swatch em,
.ring-swatch em,
.sticker-swatch em {
  font-style: normal;
  font-size: .72rem;
  color: var(--muted, #9bb0bc);
  text-align: center;
  line-height: 1.2;
}
.theme-swatch-preview {
  width: 100%;
  aspect-ratio: 1.35;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(145deg, rgba(255,255,255,.08), transparent 55%),
    linear-gradient(160deg, #15202a, #0b1218);
}
.theme-swatch[data-profile-theme="aurora"] .theme-swatch-preview,
.site-theme-swatch[data-site-theme="aurora"] .theme-swatch-preview {
  background:
    radial-gradient(circle at 30% 30%, rgba(94,234,212,.55), transparent 50%),
    linear-gradient(160deg, #123038, #0b141c);
}
.theme-swatch[data-profile-theme="ember"] .theme-swatch-preview,
.site-theme-swatch[data-site-theme="ember"] .theme-swatch-preview {
  background:
    radial-gradient(circle at 70% 20%, rgba(255,154,74,.55), transparent 52%),
    linear-gradient(160deg, #2a1810, #120c0a);
}
.theme-swatch[data-profile-theme="violet"] .theme-swatch-preview,
.site-theme-swatch[data-site-theme="violet"] .theme-swatch-preview {
  background:
    radial-gradient(circle at 40% 40%, rgba(167,139,250,.55), transparent 52%),
    linear-gradient(160deg, #1a1430, #0c0a16);
}
.theme-swatch[data-profile-theme="ocean"] .theme-swatch-preview {
  background:
    radial-gradient(circle at 60% 35%, rgba(56,189,248,.55), transparent 52%),
    linear-gradient(160deg, #0f2438, #081018);
}
.site-theme-swatch[data-site-theme="midnight"] .theme-swatch-preview {
  background: linear-gradient(160deg, #121820, #070b10);
}
.ring-picker-grid {
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
}
.ring-swatch-avatar {
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  font-size: 1.05rem !important;
  overflow: visible !important;
  display: grid;
  place-items: center;
  background: #0c141c;
}
.ring-swatch-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.sticker-swatch-face {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(12,20,28,.9);
  border: 1px solid rgba(255,255,255,.08);
  font-size: 1.15rem;
}
.trophy-glow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: .65rem;
  margin-top: .5rem;
}
.trophy-glow-pick {
  cursor: pointer;
  margin: 0;
  min-height: 88px;
}
.trophy-glow-pick strong { display: block; margin-bottom: .25rem; }
.cosmetic-live-preview {
  margin: .25rem 0 1rem;
  padding: .9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(145deg, rgba(255,255,255,.04), transparent 50%),
    rgba(8,14,20,.72);
  overflow: hidden;
}
.cosmetic-live-preview[data-profile-theme="aurora"] {
  background:
    radial-gradient(circle at 12% 20%, rgba(94,234,212,.22), transparent 45%),
    rgba(8,14,20,.72);
  border-color: rgba(94,234,212,.28);
}
.cosmetic-live-preview[data-profile-theme="ember"] {
  background:
    radial-gradient(circle at 12% 20%, rgba(255,154,74,.22), transparent 45%),
    rgba(8,14,20,.72);
  border-color: rgba(255,154,74,.28);
}
.cosmetic-live-preview[data-profile-theme="violet"] {
  background:
    radial-gradient(circle at 12% 20%, rgba(167,139,250,.22), transparent 45%),
    rgba(8,14,20,.72);
  border-color: rgba(167,139,250,.28);
}
.cosmetic-live-preview[data-profile-theme="ocean"] {
  background:
    radial-gradient(circle at 12% 20%, rgba(56,189,248,.22), transparent 45%),
    rgba(8,14,20,.72);
  border-color: rgba(56,189,248,.28);
}
.cosmetic-live-hero {
  display: flex;
  align-items: center;
  gap: .85rem;
}
.cosmetic-live-avatar {
  position: relative;
  width: 64px !important;
  height: 64px !important;
  border-radius: 50% !important;
  flex: 0 0 auto;
  overflow: visible !important;
  display: grid;
  place-items: center;
  background: #0c141c;
}
.cosmetic-live-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.cosmetic-live-avatar .comment-sticker {
  right: -2px;
  bottom: -2px;
  width: 18px;
  height: 18px;
}
.cosmetic-live-hero .profile-handle {
  margin: .1rem 0 0;
  font-size: .85rem;
  color: var(--muted);
}
.cosmetic-live-preview[data-profile-theme="aurora"] .profile-handle { color: #5eead4; }
.cosmetic-live-preview[data-profile-theme="ember"] .profile-handle { color: #ff9a4a; }
.cosmetic-live-preview[data-profile-theme="violet"] .profile-handle { color: #a78bfa; }
.cosmetic-live-preview[data-profile-theme="ocean"] .profile-handle { color: #38bdf8; }

/* Admin badge expiry */
.admin-expire-pick {
  display: grid;
  gap: .2rem;
  grid-column: 1 / -1;
  font-size: .78rem;
  color: var(--muted);
  margin: .15rem 0 .35rem;
}
.admin-expire-pick select {
  max-width: 160px;
  font-size: .8rem;
}

/* Watch skeleton */
.player-skeleton {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-content: center;
  gap: .65rem;
  background: linear-gradient(120deg, #0a121a 0%, #12202c 40%, #0a121a 80%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
}
.player-skeleton[hidden] { display: none !important; }
.player-skeleton-bar {
  width: min(220px, 50%);
  height: 8px;
  border-radius: 99px;
  background: rgba(126,217,200,.25);
  justify-self: center;
}
.player-skeleton-label {
  font-size: .85rem;
  color: rgba(220,235,245,.7);
  text-align: center;
}
@keyframes skeleton-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* Comment custom badge */
.comment-user-badge {
  display: inline-flex;
  align-items: center;
  padding: .1rem .4rem;
  border-radius: 6px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: #042f2a;
  background: linear-gradient(135deg, #5eead4, #14b8a0);
  vertical-align: middle;
}

/* VIP animated profile banner */
.profile-hero.has-banner.is-animated .profile-hero-bg {
  animation: banner-drift 14s ease-in-out infinite alternate;
  background-size: 120% auto;
}
@keyframes banner-drift {
  from { background-position: 20% 40%; filter: saturate(1.05); }
  to { background-position: 80% 55%; filter: saturate(1.2) brightness(1.05); }
}

/* Watch party panel */
.party-panel {
  margin-top: .75rem;
  padding: .85rem;
  border-radius: 14px;
  border: 1px solid rgba(126,217,200,.25);
  background: rgba(8,14,20,.88);
  display: grid;
  gap: .55rem;
  max-width: 420px;
}
.party-panel[hidden] { display: none !important; }
.party-panel-head {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  align-items: baseline;
}
.party-panel-head span { font-size: .8rem; color: var(--muted); }
.party-panel-actions { display: flex; gap: .4rem; flex-wrap: wrap; }
.party-members {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  font-size: .75rem;
  color: var(--muted);
}
.party-members li {
  padding: .15rem .45rem;
  border-radius: 99px;
  background: rgba(255,255,255,.06);
}
.party-chat {
  max-height: 140px;
  overflow: auto;
  display: grid;
  gap: .35rem;
  font-size: .82rem;
}
.party-chat-line strong { color: #7ed9c8; margin-right: .25rem; }
.party-chat-form {
  display: flex;
  gap: .35rem;
}
.party-chat-form input {
  flex: 1;
  min-width: 0;
}

/* —— Premium checks / auto-next / party / admin expire —— */
.admin-badge-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: .35rem;
}
.admin-badge-check {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  gap: .4rem;
  padding: .4rem .7rem .4rem .5rem !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02)) !important;
  font-size: .78rem !important;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.admin-badge-check:hover {
  border-color: rgba(126,217,200,.4) !important;
  transform: translateY(-1px);
}
.admin-badge-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.admin-badge-check .check-face,
.admin-badge-check > span:not(.check-face):first-of-type {
  width: 1rem;
  height: 1rem;
  border-radius: 5px;
  border: 1.5px solid rgba(255,255,255,.28);
  background: rgba(0,0,0,.35);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.admin-badge-check em {
  font-style: normal;
  font-weight: 650;
}
.admin-badge-check:has(input:checked) {
  border-color: rgba(30,200,174,.55) !important;
  box-shadow: 0 0 0 1px rgba(30,200,174,.2), 0 8px 20px rgba(0,0,0,.25);
  background: linear-gradient(145deg, rgba(30,200,174,.18), rgba(255,255,255,.04)) !important;
}
.admin-badge-check:has(input:checked) .check-face,
.admin-badge-check:has(input:checked) > span:first-of-type {
  border-color: transparent;
  background: linear-gradient(135deg, #0f8f7a, #2dd4bf);
  box-shadow: 0 0 12px rgba(45,212,191,.45);
}
.admin-badge-check:has(input:checked) .check-face::after,
.admin-badge-check:has(input:checked) > span:first-of-type::after {
  content: "";
  width: .35rem;
  height: .55rem;
  border: solid #042f2a;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}
.admin-badge-check.is-vip:has(input:checked) {
  border-color: rgba(245,197,66,.55) !important;
  box-shadow: 0 0 0 1px rgba(245,197,66,.2), 0 8px 20px rgba(0,0,0,.25);
}
.admin-badge-check.is-donator:has(input:checked) {
  border-color: rgba(255,120,90,.55) !important;
}
.admin-expire-card {
  display: grid;
  gap: .45rem;
  margin-top: .45rem;
  padding: .7rem .75rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 12% 20%, rgba(126,217,200,.12), transparent 50%),
    rgba(8,14,20,.72);
}
.admin-expire-card.is-vip {
  background:
    radial-gradient(circle at 12% 20%, rgba(245,197,66,.14), transparent 50%),
    rgba(8,14,20,.72);
  border-color: rgba(245,197,66,.2);
}
.admin-expire-card.is-donator {
  background:
    radial-gradient(circle at 12% 20%, rgba(255,120,90,.14), transparent 50%),
    rgba(8,14,20,.72);
  border-color: rgba(255,120,90,.2);
}
.admin-expire-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .35rem .75rem;
  align-items: baseline;
}
.admin-expire-meta > span {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(220,235,245,.55);
  font-weight: 700;
}
.admin-expire-meta strong {
  font-size: .82rem;
  font-weight: 650;
  color: #e8f4f8;
}
.admin-expire-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.expire-chip {
  appearance: none;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(232,244,248,.88);
  border-radius: 999px;
  padding: .32rem .65rem;
  font-size: .74rem;
  font-weight: 650;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.expire-chip:hover {
  border-color: rgba(126,217,200,.4);
}
.expire-chip.is-active {
  border-color: transparent;
  color: #042f2a;
  background: linear-gradient(135deg, #0f8f7a, #2dd4bf);
  box-shadow: 0 6px 16px rgba(20,184,160,.28);
}
.admin-expire-pick { display: none !important; }

/* Premium generic checkboxes */
.settings-check input[type="checkbox"],
.showcase-pick input[type="checkbox"],
.trophy-glow-pick input[type="checkbox"],
.admin-form .settings-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.15rem !important;
  height: 1.15rem !important;
  margin: 0;
  border-radius: 6px;
  border: 1.5px solid rgba(255,255,255,.28);
  background: rgba(0,0,0,.35);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.settings-check input[type="checkbox"]:checked,
.showcase-pick input[type="checkbox"]:checked,
.trophy-glow-pick input[type="checkbox"]:checked,
.admin-form .settings-check input[type="checkbox"]:checked {
  border-color: transparent;
  background: linear-gradient(135deg, #0f8f7a, #2dd4bf);
  box-shadow: 0 0 12px rgba(45,212,191,.35);
}
.settings-check input[type="checkbox"]:checked::after,
.showcase-pick input[type="checkbox"]:checked::after,
.trophy-glow-pick input[type="checkbox"]:checked::after,
.admin-form .settings-check input[type="checkbox"]:checked::after {
  content: "";
  width: .32rem;
  height: .55rem;
  border: solid #042f2a;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}
.showcase-pick:has(input:checked),
.trophy-glow-pick:has(input:checked) {
  border-color: rgba(126,217,200,.45);
}

/* Auto-next premium switch */
.auto-next-toggle {
  display: inline-flex !important;
  align-items: center;
  gap: .65rem;
  padding: .35rem .55rem .35rem .4rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  cursor: pointer;
  user-select: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.auto-next-toggle:hover {
  border-color: rgba(126,217,200,.35);
}
.auto-next-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.auto-next-switch {
  width: 2.4rem;
  height: 1.3rem;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.1);
  position: relative;
  flex: 0 0 auto;
  transition: background .2s ease, box-shadow .2s ease;
}
.auto-next-switch i {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #e8f4f8;
  box-shadow: 0 2px 6px rgba(0,0,0,.35);
  transition: transform .2s ease;
}
.auto-next-toggle:has(input:checked) {
  border-color: rgba(30,200,174,.5);
  box-shadow: 0 0 0 1px rgba(30,200,174,.15), 0 8px 22px rgba(0,0,0,.25);
}
.auto-next-toggle:has(input:checked) .auto-next-switch {
  background: linear-gradient(135deg, #0f8f7a, #2dd4bf);
  border-color: transparent;
  box-shadow: 0 0 14px rgba(45,212,191,.35);
}
.auto-next-toggle:has(input:checked) .auto-next-switch i {
  transform: translateX(1.05rem);
  background: #042f2a;
}
.auto-next-copy {
  display: grid;
  line-height: 1.15;
}
.auto-next-copy strong {
  font-size: .82rem;
  font-weight: 750;
  color: #e8f4f8;
}
.auto-next-copy em {
  font-style: normal;
  font-size: .68rem;
  color: var(--muted, #9bb0bc);
}

/* Watch party premium */
.party-panel {
  margin-top: .85rem !important;
  padding: 1rem !important;
  border-radius: 18px !important;
  border: 1px solid rgba(126,217,200,.28) !important;
  background:
    radial-gradient(circle at 10% 0%, rgba(94,234,212,.16), transparent 42%),
    radial-gradient(circle at 90% 100%, rgba(245,197,66,.08), transparent 40%),
    rgba(8,14,20,.94) !important;
  box-shadow: 0 18px 40px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.05);
  display: grid !important;
  gap: .7rem !important;
  max-width: 440px !important;
}
.party-panel.is-live {
  border-color: rgba(126,217,200,.45) !important;
  box-shadow: 0 0 0 1px rgba(30,200,174,.12), 0 18px 40px rgba(0,0,0,.45);
}
.party-eyebrow {
  margin: 0;
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #5eead4;
  font-weight: 700;
}
.party-panel-head {
  display: flex !important;
  justify-content: space-between;
  gap: .75rem;
  align-items: flex-start;
}
.party-panel-head strong {
  font-family: Syne, sans-serif;
  font-size: 1.05rem;
}
.party-code-pill {
  display: grid;
  justify-items: end;
  gap: .1rem;
  padding: .35rem .6rem;
  border-radius: 12px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.1);
}
.party-code-pill span {
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
}
.party-code-pill em {
  font-style: normal;
  font-weight: 800;
  letter-spacing: .12em;
  color: #7ed9c8;
  font-size: .95rem;
}
.party-panel-actions {
  display: flex !important;
  gap: .4rem;
  flex-wrap: wrap;
}
.party-leave {
  margin-left: auto;
  border-color: rgba(255,120,90,.35) !important;
  color: #ffb4a2 !important;
}
.party-status {
  margin: 0;
  font-size: .8rem;
  color: rgba(220,235,245,.7);
}
.party-members {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.party-members li {
  padding: .2rem .55rem;
  border-radius: 999px;
  background: rgba(126,217,200,.1);
  border: 1px solid rgba(126,217,200,.22);
  font-size: .74rem;
  color: #c8efe6;
}
.party-chat {
  max-height: 150px;
  overflow: auto;
  display: grid;
  gap: .4rem;
  padding: .55rem;
  border-radius: 12px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.06);
  font-size: .84rem;
  min-height: 52px;
}
.party-chat-line strong { color: #7ed9c8; margin-right: .3rem; }
.party-chat-form {
  display: flex;
  gap: .4rem;
}
.party-chat-form input {
  flex: 1;
  min-width: 0;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.35);
  color: inherit;
  padding: .55rem .85rem;
}
