/* ============================================================
   CineVerse web — house ink catalogue, luxury player
   Palette: ink/bone/red · espresso/champagne/gold
   ============================================================ */

:root {
  --ink: #0b0b0c;
  --ink-2: #101012;
  --surface: #17171a;
  --raised: #1e1e22;
  --bone: #f5f2ec;
  --text: #f5f2ec;
  --dim: #b9b4ab;
  --faint: #7c776e;
  --line: #2a2a2e;
  --line-soft: #202024;
  --red: #e50914;
  --red-bright: #ff2a34;
  --green: #7fa37a;

  --espresso: #15110e;
  --espresso-2: #1d1712;
  --champagne: #f5e9d6;
  --gold: #c8a46b;
  --gold-bright: #e4c48e;
  --warm-line: #3a2f26;
  --glass: rgba(21, 17, 14, 0.74);

  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

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

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

::selection {
  background: var(--red);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--ink);
}
::-webkit-scrollbar-thumb {
  background: #2e2e33;
  border: 3px solid var(--ink);
}
::-webkit-scrollbar-thumb:hover {
  background: #45454c;
}

:focus-visible {
  outline: 1.5px solid var(--gold);
  outline-offset: 3px;
}

.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;
}

/* ---------- header ---------- */

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header);
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(18px, 4vw, 54px);
  background: linear-gradient(to bottom, rgba(11, 11, 12, 0.88), rgba(11, 11, 12, 0));
  transition: background 200ms var(--ease), border-color 200ms var(--ease);
  border-bottom: 1px solid transparent;
}

.topbar.solid {
  background: rgba(11, 11, 12, 0.96);
  border-bottom-color: var(--line-soft);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.14em;
  color: var(--bone);
  flex: 0 0 auto;
}

.brand .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  transform: translateY(-2px);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 6px;
}

.nav a {
  position: relative;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--faint);
  padding: 8px 0;
  transition: color 160ms var(--ease);
}

.nav a:hover,
.nav a.active {
  color: var(--bone);
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1.5px;
  background: var(--red);
}

.top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 3px;
  color: var(--dim);
  transition: color 160ms var(--ease), border-color 160ms var(--ease),
    background 160ms var(--ease);
}

.icon-btn:hover {
  color: var(--bone);
  border-color: var(--line);
  background: rgba(245, 242, 236, 0.035);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.avatar {
  width: 30px;
  height: 30px;
  margin-left: 8px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #2a2119, #17120e);
  border: 1px solid var(--warm-line);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.5px;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: min(82vh, 780px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms var(--ease);
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(0.92) contrast(1.02);
  transform: scale(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--ink) 2%, rgba(11, 11, 12, 0.72) 26%, rgba(11, 11, 12, 0.08) 62%),
    linear-gradient(to right, rgba(11, 11, 12, 0.94) 0%, rgba(11, 11, 12, 0.55) 38%, transparent 72%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(680px, 92vw);
  padding: 0 clamp(18px, 4vw, 54px) clamp(54px, 8vh, 96px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--red);
}

.hero-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 6vw, 78px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--bone);
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 18px 0 14px;
  color: var(--dim);
  font-size: 12px;
  letter-spacing: 0.3px;
}

.hero-meta .match {
  color: var(--green);
  font-weight: 700;
}

.hero-meta .sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--faint);
}

.hero-desc {
  margin: 0 0 24px;
  max-width: 54ch;
  color: #cfc9bf;
  font-size: 13.5px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  transition: background 160ms var(--ease), color 160ms var(--ease),
    border-color 160ms var(--ease), transform 160ms var(--ease);
}

.btn svg {
  width: 15px;
  height: 15px;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--bone);
  color: var(--ink);
}

.btn-primary:hover {
  background: #fff;
}

.btn-red {
  background: var(--red);
  color: #fff;
}

.btn-red:hover {
  background: var(--red-bright);
}

.btn-ghost {
  border: 1px solid rgba(245, 242, 236, 0.26);
  color: var(--bone);
  background: rgba(11, 11, 12, 0.22);
}

.btn-ghost:hover {
  border-color: rgba(245, 242, 236, 0.55);
  background: rgba(11, 11, 12, 0.42);
}

.btn-quiet {
  color: var(--dim);
  padding: 0 10px;
}

.btn-quiet:hover {
  color: var(--bone);
}

.hero-bars {
  display: flex;
  gap: 5px;
  margin-top: 26px;
}

.hero-bars button {
  width: 26px;
  height: 2px;
  background: rgba(245, 242, 236, 0.2);
  transition: background 200ms var(--ease), width 200ms var(--ease);
}

.hero-bars button.active {
  width: 40px;
  background: var(--red);
}

/* ---------- page + sections ---------- */

.page {
  min-height: 100vh;
  padding-top: var(--header);
}

.page.no-hero {
  padding-top: calc(var(--header) + 18px);
}

.content {
  padding: 0 clamp(18px, 4vw, 54px) 80px;
  margin-top: -34px;
  position: relative;
  z-index: 3;
}

.section {
  margin-top: 42px;
}

.section:first-child {
  margin-top: 0;
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 15px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--bone);
}

.section-head .rule {
  width: 18px;
  height: 2px;
  background: var(--red);
  transform: translateY(-3px);
}

.section-head .count {
  color: var(--faint);
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.section-head .spacer {
  flex: 1;
}

.section-head .text-action {
  color: var(--faint);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  transition: color 160ms var(--ease);
}

.section-head .text-action:hover {
  color: var(--gold);
}

.rail {
  position: relative;
}

.rail-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding: 4px 0 8px;
}

.rail-track::-webkit-scrollbar {
  display: none;
}

.rail-arrow {
  position: absolute;
  top: calc(50% - 26px);
  z-index: 4;
  width: 34px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--bone);
  background: rgba(11, 11, 12, 0.78);
  border: 1px solid var(--line);
  opacity: 0;
  transition: opacity 160ms var(--ease);
}

.rail:hover .rail-arrow {
  opacity: 1;
}

.rail-arrow.left {
  left: -14px;
}
.rail-arrow.right {
  right: -14px;
}

.rail-arrow svg {
  width: 16px;
  height: 16px;
}

.poster-card {
  flex: 0 0 clamp(128px, 15vw, 168px);
  scroll-snap-align: start;
  cursor: pointer;
  min-width: 0;
}

.poster {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 4px;
  background: var(--surface);
  border: 1px solid rgba(245, 242, 236, 0.06);
}

.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease), filter 300ms var(--ease);
}

.poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 11, 12, 0.6), transparent 42%);
  opacity: 0;
  transition: opacity 300ms var(--ease);
}

.poster-card:hover .poster img {
  transform: scale(1.045);
  filter: brightness(0.78);
}

.poster-card:hover .poster::after {
  opacity: 1;
}

.poster-play {
  position: absolute;
  z-index: 2;
  left: 10px;
  bottom: 10px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(245, 242, 236, 0.94);
  color: var(--ink);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 220ms var(--ease), transform 220ms var(--ease);
}

.poster-card:hover .poster-play {
  opacity: 1;
  transform: none;
}

.poster-play svg {
  width: 14px;
  height: 14px;
  margin-left: 1px;
}

.poster-badge {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 8px;
  padding: 3px 6px;
  background: rgba(11, 11, 12, 0.82);
  border: 1px solid rgba(245, 242, 236, 0.14);
  color: var(--bone);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.poster-meta {
  padding-top: 8px;
}

.poster-meta .name {
  font-size: 12.5px;
  font-weight: 600;
  color: #ded9d0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.poster-meta .sub {
  margin-top: 2px;
  font-size: 9.5px;
  letter-spacing: 0.7px;
  color: var(--faint);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-progress {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(245, 242, 236, 0.22);
}

.card-progress i {
  display: block;
  height: 100%;
  background: var(--red);
}

.landscape-card {
  flex: 0 0 clamp(220px, 26vw, 300px);
  cursor: pointer;
}

.landscape {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  background: var(--surface);
  border: 1px solid rgba(245, 242, 236, 0.06);
}

.landscape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease), filter 300ms var(--ease);
}

.landscape-card:hover .landscape img {
  transform: scale(1.04);
  filter: brightness(0.8);
}

.landscape .card-progress {
  height: 3px;
}

.landscape-meta {
  padding-top: 8px;
}

.landscape-meta .name {
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.landscape-meta .sub {
  margin-top: 2px;
  color: var(--faint);
  font-size: 10px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

/* ---------- join band ---------- */

.join-band {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 0 18px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 34px;
}

.join-copy {
  min-width: 0;
  flex: 1;
}

.join-kicker {
  color: var(--gold);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 1.9px;
  text-transform: uppercase;
}

.join-title {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--bone);
}

.join-sub {
  margin-top: 2px;
  color: var(--faint);
  font-size: 11.5px;
}

.join-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid var(--warm-line);
  border-radius: 3px;
  color: var(--gold);
  background: rgba(200, 164, 107, 0.045);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  transition: border-color 160ms var(--ease), color 160ms var(--ease), background 160ms var(--ease);
}

.join-action:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  background: rgba(200, 164, 107, 0.1);
}

.join-action svg {
  width: 13px;
  height: 13px;
}

/* ---------- search ---------- */

.search-head {
  max-width: 760px;
  margin: 0 auto;
  padding: 26px clamp(18px, 4vw, 54px) 0;
}

.search-head h1 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  transition: border-color 180ms var(--ease);
}

.search-box:focus-within {
  border-bottom-color: var(--red);
}

.search-box svg {
  width: 18px;
  height: 18px;
  color: var(--faint);
  flex: 0 0 auto;
}

.search-box input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  outline: 0;
  font-size: 18px;
  color: var(--bone);
}

.search-box input::placeholder {
  color: var(--faint);
}

.recent {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.recent-chip {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--dim);
  font-size: 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.recent-chip:hover {
  color: var(--bone);
  border-color: var(--faint);
}

.search-results {
  padding: 34px clamp(18px, 4vw, 54px) 80px;
  max-width: 1500px;
  margin: 0 auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(138px, 1fr));
  gap: 24px 14px;
}

/* ---------- detail ---------- */

.detail {
  position: relative;
  min-height: 100vh;
  padding-bottom: 80px;
}

.detail-backdrop {
  position: absolute;
  inset: 0 0 auto 0;
  height: min(58vh, 620px);
  overflow: hidden;
  z-index: 0;
}

.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: saturate(0.9);
}

.detail-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--ink) 1%, rgba(11, 11, 12, 0.6) 40%, rgba(11, 11, 12, 0.1) 78%),
    linear-gradient(to right, rgba(11, 11, 12, 0.85), transparent 60%);
}

.detail-wrap {
  position: relative;
  z-index: 2;
  padding: min(30vh, 300px) clamp(18px, 4vw, 54px) 0;
  display: grid;
  grid-template-columns: 188px minmax(0, 760px);
  gap: clamp(20px, 3vw, 42px);
  align-items: start;
}

.detail-poster {
  aspect-ratio: 2 / 3;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(245, 242, 236, 0.1);
  background: var(--surface);
  position: sticky;
  top: calc(var(--header) + 20px);
}

.detail-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-info h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 62px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 15px 0 0;
  color: var(--dim);
  font-size: 11.5px;
}

.meta-line .match {
  color: var(--green);
  font-weight: 700;
}

.meta-line .sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--faint);
}

.genre-line {
  margin: 14px 0 0;
  color: var(--faint);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.synopsis {
  margin: 18px 0 0;
  max-width: 68ch;
  color: #cfc9bf;
  font-size: 13.5px;
  line-height: 1.7;
  white-space: pre-line;
}

.synopsis.clamped {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  margin-top: 8px;
  color: var(--red);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
}

.action-row .btn {
  min-height: 44px;
}

.icon-action {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--dim);
  background: rgba(23, 23, 26, 0.6);
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.icon-action:hover,
.icon-action.active {
  color: var(--gold);
  border-color: var(--warm-line);
}

.icon-action svg {
  width: 18px;
  height: 18px;
}

.party-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 12px;
}

.party-row .btn {
  border-color: var(--warm-line);
  color: var(--gold);
  background: rgba(200, 164, 107, 0.055);
}

.party-row .btn:hover {
  border-color: var(--gold);
  background: rgba(200, 164, 107, 0.1);
}

.episodes-block {
  margin-top: 46px;
  border-top: 1px solid var(--line-soft);
  padding-top: 26px;
}

.episodes-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 16px;
}

.episodes-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
}

.season-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-left: auto;
}

.season-tab {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--faint);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.season-tab.active {
  color: var(--bone);
  border-color: var(--bone);
}

.episode-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 8px;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
  transition: background 160ms var(--ease);
}

.episode-row:hover {
  background: rgba(245, 242, 236, 0.025);
}

.episode-num {
  width: 34px;
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 17px;
  color: var(--faint);
}

.episode-row:hover .episode-num {
  color: var(--red);
}

.episode-name {
  flex: 1;
  min-width: 0;
  font-size: 13.5px;
  font-weight: 500;
  color: #ded9d0;
}

.episode-name small {
  display: block;
  margin-top: 2px;
  color: var(--faint);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.6px;
}

.episode-time {
  color: var(--faint);
  font-size: 10px;
  letter-spacing: 0.8px;
  font-variant-numeric: tabular-nums;
}

.episode-dl {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--faint);
  border: 1px solid transparent;
  border-radius: 2px;
}

.episode-dl:hover {
  color: var(--gold);
  border-color: var(--warm-line);
}

.episode-dl svg {
  width: 15px;
  height: 15px;
}

/* ---------- library ---------- */

.library-head {
  padding: 28px clamp(18px, 4vw, 54px) 0;
  max-width: 1500px;
  margin: 0 auto;
}

.library-head h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.library-tabs {
  display: flex;
  gap: 22px;
  margin-top: 20px;
  border-bottom: 1px solid var(--line);
}

.library-tab {
  position: relative;
  padding: 0 0 12px;
  color: var(--faint);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.library-tab.active {
  color: var(--bone);
}

.library-tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--red);
}

.library-body {
  padding: 28px clamp(18px, 4vw, 54px) 80px;
  max-width: 1500px;
  margin: 0 auto;
}

.storage-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 4px 0 26px;
  color: var(--faint);
  font-size: 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.storage-line .meter {
  width: 120px;
  height: 2px;
  background: var(--line);
}

.storage-line .meter i {
  display: block;
  height: 100%;
  background: var(--gold);
}

.empty {
  padding: 70px 0;
  max-width: 420px;
}

.empty h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}

.empty p {
  margin: 0 0 18px;
  color: var(--faint);
  font-size: 12.5px;
  line-height: 1.7;
}

/* ---------- profile ---------- */

.profile {
  max-width: 760px;
  margin: 0 auto;
  padding: 30px clamp(18px, 4vw, 54px) 80px;
}

.profile-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.profile-id {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 0;
}

.profile-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: var(--raised);
  border-radius: 6px;
  color: var(--bone);
  font-family: var(--serif);
  font-size: 20px;
}

.profile-id .name {
  font-family: var(--serif);
  font-size: 19px;
}

.profile-id .sub {
  color: var(--faint);
  font-size: 11px;
}

.settings-section {
  border-top: 1px solid var(--line);
  padding-top: 8px;
  margin-top: 10px;
}

.settings-label {
  margin: 20px 0 10px;
  color: var(--red);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.setting {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
}

.setting:hover .setting-value {
  color: var(--bone);
}

.setting-main {
  flex: 1;
  min-width: 0;
}

.setting-title {
  font-size: 13.5px;
  font-weight: 600;
}

.setting-value {
  margin-top: 2px;
  color: var(--faint);
  font-size: 11px;
  transition: color 160ms var(--ease);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.setting-chev {
  color: var(--faint);
  width: 16px;
  height: 16px;
}

.segmented {
  display: flex;
  gap: 18px;
  padding: 6px 0 12px;
}

.segmented button {
  color: var(--faint);
  font-size: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
}

.segmented button.active {
  color: var(--bone);
  border-bottom-color: var(--red);
}

.about-line {
  color: var(--faint);
  font-size: 11px;
  padding: 7px 0;
}

.about-line b {
  color: var(--dim);
  font-weight: 500;
  float: right;
}

/* ---------- player ---------- */

.player {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: #000;
  color: var(--champagne);
  font-family: var(--sans);
  overflow: hidden;
}

.player video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  transition: transform 220ms var(--ease);
}

.player.aspect-fill video {
  object-fit: cover;
}
.player.aspect-zoom video {
  object-fit: cover;
  transform: scale(1.14);
}
.player.aspect-stretch video {
  object-fit: fill;
}

.player-ui {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 1;
  transition: opacity 220ms var(--ease);
}

.player-ui.hidden {
  opacity: 0;
  pointer-events: none;
}

.player-ui::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 180px;
  background: linear-gradient(to bottom, rgba(21, 17, 14, 0.92), rgba(21, 17, 14, 0.35) 55%, transparent);
  pointer-events: none;
}

.player-ui::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 240px;
  background: linear-gradient(to top, rgba(21, 17, 14, 0.97), rgba(21, 17, 14, 0.6) 45%, transparent);
  pointer-events: none;
}

.p-top {
  position: absolute;
  z-index: 3;
  inset: 0 0 auto 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px clamp(14px, 2.4vw, 26px);
  padding-top: max(14px, env(safe-area-inset-top));
}

.p-back {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(200, 164, 107, 0.32);
  border-radius: 50%;
  background: var(--glass);
  color: var(--champagne);
}

.p-back svg {
  width: 18px;
  height: 18px;
}

.p-heading {
  min-width: 0;
  flex: 1;
}

.p-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--champagne);
}

.p-sub {
  margin-top: 3px;
  color: rgba(200, 164, 107, 0.78);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.p-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.p-action {
  padding: 8px 7px;
  color: rgba(245, 233, 214, 0.6);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  transition: color 160ms var(--ease);
}

.p-action:hover,
.p-action.active {
  color: var(--gold-bright);
}

.p-action.party-on {
  color: var(--gold);
}

.p-action .badge-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-left: 5px;
  border-radius: 50%;
  background: var(--gold);
  vertical-align: middle;
}

.p-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: rgba(245, 233, 214, 0.62);
  border-radius: 50%;
}

.p-icon:hover {
  color: var(--gold-bright);
}

.p-icon svg {
  width: 16px;
  height: 16px;
}

.p-center {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--glass);
  border: 0.7px solid rgba(200, 164, 107, 0.55);
  color: var(--champagne);
  backdrop-filter: blur(8px);
  transition: transform 160ms var(--ease), background 160ms var(--ease);
}

.p-center:hover {
  background: rgba(29, 23, 18, 0.9);
  transform: translate(-50%, -50%) scale(1.04);
}

.p-center svg {
  width: 30px;
  height: 30px;
  margin-left: 2px;
}

.p-center.playing svg {
  margin-left: 0;
}

.p-bottom {
  position: absolute;
  z-index: 3;
  inset: auto 0 0 0;
  padding: 0 clamp(16px, 3vw, 34px) max(16px, env(safe-area-inset-bottom));
}

.scrub-wrap {
  position: relative;
  height: 18px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.scrub-track {
  position: relative;
  width: 100%;
  height: 3px;
  background: rgba(245, 233, 214, 0.22);
  overflow: hidden;
}

.scrub-buffer {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: rgba(245, 233, 214, 0.38);
}

.scrub-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--gold);
}

.scrub-knob {
  position: absolute;
  top: 50%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold-bright);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 3px rgba(21, 17, 14, 0.55);
  pointer-events: none;
}

.scrub-preview {
  position: absolute;
  bottom: 20px;
  transform: translateX(-50%);
  padding: 4px 8px;
  background: var(--glass);
  border: 0.6px solid rgba(200, 164, 107, 0.4);
  color: var(--champagne);
  font-size: 10px;
  letter-spacing: 0.6px;
  font-variant-numeric: tabular-nums;
  opacity: 0;
  transition: opacity 120ms var(--ease);
  pointer-events: none;
}

.scrub-wrap:hover .scrub-preview,
.scrub-wrap.scrubbing .scrub-preview {
  opacity: 1;
}

.p-times {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  color: rgba(245, 233, 214, 0.55);
  font-size: 9.5px;
  letter-spacing: 0.7px;
  font-variant-numeric: tabular-nums;
}

.p-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
}

.p-controls .spacer {
  flex: 1;
}

.p-control {
  height: 38px;
  min-width: 38px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: rgba(245, 233, 214, 0.72);
  border-radius: 4px;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  transition: color 160ms var(--ease), background 160ms var(--ease);
}

.p-control:hover {
  color: var(--gold-bright);
  background: rgba(200, 164, 107, 0.08);
}

.p-control svg {
  width: 17px;
  height: 17px;
}

.p-control.play {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(200, 164, 107, 0.4);
  border-radius: 50%;
  color: var(--champagne);
}

.p-control.play svg {
  width: 20px;
  height: 20px;
}

.p-toast {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 76px;
  transform: translateX(-50%);
  max-width: min(520px, 82vw);
  padding: 8px 14px;
  background: var(--glass);
  border: 0.6px solid rgba(200, 164, 107, 0.42);
  border-radius: 8px;
  color: var(--champagne);
  font-size: 11.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  animation: fade-in 180ms var(--ease);
}

.resume-hint {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 72px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  background: var(--glass);
  border: 0.6px solid rgba(200, 164, 107, 0.35);
  border-radius: 8px;
  font-size: 10px;
  letter-spacing: 0.8px;
  color: var(--champagne);
  animation: fade-in 180ms var(--ease);
}

.resume-hint b {
  color: var(--gold);
  font-size: 8px;
  letter-spacing: 1.5px;
}

.next-card {
  position: absolute;
  z-index: 4;
  right: clamp(16px, 3vw, 34px);
  bottom: 128px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 14px;
  background: var(--glass);
  border: 0.6px solid rgba(200, 164, 107, 0.42);
  border-radius: 10px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  animation: fade-in 220ms var(--ease);
}

.next-card .kicker {
  color: rgba(200, 164, 107, 0.85);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.next-card .label {
  margin-top: 3px;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--champagne);
}

.next-card .circle {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0.6px solid rgba(200, 164, 107, 0.6);
  border-radius: 50%;
  color: var(--gold-bright);
}

.next-card .circle svg {
  width: 15px;
  height: 15px;
}

.buffering {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(200, 164, 107, 0.18);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

.player-error {
  position: absolute;
  z-index: 6;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(11, 11, 12, 0.88);
}

.player-error .box {
  max-width: 440px;
  text-align: center;
}

.player-error h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}

.player-error p {
  margin: 0 0 18px;
  color: var(--dim);
  font-size: 12.5px;
  line-height: 1.7;
}

.player-error .actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ---------- player sheets ---------- */

.sheet {
  position: absolute;
  z-index: 7;
  inset: auto 0 0 0;
  max-height: 66vh;
  background: var(--espresso);
  border-top: 0.6px solid rgba(200, 164, 107, 0.28);
  border-radius: 24px 24px 0 0;
  padding: 18px clamp(18px, 4vw, 30px) max(20px, env(safe-area-inset-bottom));
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(200, 164, 107, 0.35) transparent;
  animation: sheet-up 220ms var(--ease);
}

.sheet::-webkit-scrollbar {
  width: 3px;
}

.sheet::-webkit-scrollbar-thumb {
  background: rgba(200, 164, 107, 0.35);
  border-radius: 3px;
}

/* Rotated phones and short landscape windows: give the list the screen and
   keep the header pinned so Audio and Quality stay reachable. */
@media (orientation: landscape) and (max-height: 620px) {
  .sheet {
    max-height: 88dvh;
    padding-top: 12px;
    padding-bottom: max(14px, env(safe-area-inset-bottom));
    border-radius: 18px 18px 0 0;
  }

  .sheet-head {
    position: sticky;
    top: -12px;
    z-index: 2;
    padding: 8px 0 8px;
    background: var(--espresso);
  }

  .panel-row {
    padding: 9px 0;
  }
}

.sheet-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 8px;
}

.sheet-head .hairline {
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.sheet-head h3 {
  margin: 0;
  flex: 1;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--champagne);
}

.sheet-close {
  padding: 6px;
  color: rgba(200, 164, 107, 0.85);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 1.6px;
}

.sheet-list {
  margin-top: 6px;
}

.panel-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 2px;
  border-bottom: 1px solid rgba(58, 47, 38, 0.55);
  cursor: pointer;
}

.panel-row:last-child {
  border-bottom: 0;
}

.panel-row .label {
  flex: 1;
  font-family: var(--serif);
  font-size: 14.5px;
  color: var(--dim);
}

.panel-row .meta {
  color: var(--faint);
  font-size: 8.5px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.panel-row .check {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

.panel-row.active .label {
  color: var(--champagne);
}

.panel-row:hover .label {
  color: var(--bone);
}

.episode-sheet-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 2px;
  border-bottom: 0.5px solid rgba(58, 47, 38, 0.55);
  cursor: pointer;
}

.episode-sheet-row .num {
  width: 32px;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--faint);
}

.episode-sheet-row.current .num,
.episode-sheet-row.current .name {
  color: var(--gold);
}

.episode-sheet-row .name {
  flex: 1;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--dim);
}

.episode-sheet-row .dur {
  color: var(--faint);
  font-size: 9px;
  letter-spacing: 0.6px;
}

.season-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 4px 0 8px;
}

.season-chip {
  padding: 6px 10px;
  border: 0.6px solid var(--warm-line);
  border-radius: 6px;
  color: var(--faint);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.2px;
}

.season-chip.active {
  color: var(--gold);
  border-color: rgba(200, 164, 107, 0.6);
}

.next-shortcut {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  margin-bottom: 10px;
  background: rgba(200, 164, 107, 0.08);
  border-radius: 8px;
  cursor: pointer;
}

.next-shortcut svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

.next-shortcut .label {
  flex: 1;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--champagne);
}

.next-shortcut .sub {
  color: rgba(200, 164, 107, 0.8);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 1.2px;
}

/* ---------- party ---------- */

.party-drawer {
  position: absolute;
  z-index: 8;
  inset: 0 0 0 auto;
  width: min(390px, 92vw);
  display: flex;
  flex-direction: column;
  background: rgba(21, 17, 14, 0.97);
  border-left: 0.6px solid rgba(200, 164, 107, 0.28);
  backdrop-filter: blur(18px);
  animation: drawer-in 220ms var(--ease);
}

.party-drawer .sheet-head {
  padding: 18px 18px 12px;
}

.party-body {
  flex: 1;
  overflow-y: auto;
  padding: 0 18px;
}

.party-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.status-dot.on {
  background: var(--green);
}

.room-code {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 1px;
  color: var(--champagne);
}

.status-chip {
  padding: 2px 6px;
  border: 0.6px solid rgba(200, 164, 107, 0.45);
  border-radius: 4px;
  color: var(--gold);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.2px;
}

.room-count {
  margin-left: auto;
  color: var(--dim);
  font-size: 8px;
  letter-spacing: 1.1px;
}

.peer-line {
  color: var(--faint);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-bottom: 10px;
}

.party-buttons {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  padding-bottom: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border: 0.6px solid var(--warm-line);
  border-radius: 6px;
  background: rgba(245, 233, 214, 0.02);
  color: var(--dim);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.chip:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
}

.chip.highlight {
  color: var(--champagne);
  border-color: rgba(200, 164, 107, 0.6);
  background: rgba(200, 164, 107, 0.13);
}

.chip svg {
  width: 12px;
  height: 12px;
}

.chat-rule {
  height: 0.5px;
  background: rgba(58, 47, 38, 0.7);
  margin: 2px 0 8px;
}

.chat-list {
  min-height: 100px;
  padding: 4px 0 8px;
}

.chat-line {
  padding: 3px 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--dim);
  overflow-wrap: anywhere;
}

.chat-line b {
  color: var(--champagne);
  font-weight: 600;
}

.chat-line.mine b {
  color: var(--gold-bright);
}

.chat-line.system {
  color: rgba(200, 164, 107, 0.7);
  font-size: 10.5px;
  padding: 3px 0;
}

.chat-empty {
  color: var(--faint);
  font-size: 11.5px;
  padding: 14px 0;
}

.chat-form {
  display: flex;
  gap: 8px;
  padding: 10px 18px max(14px, env(safe-area-inset-bottom));
  border-top: 0.5px solid rgba(58, 47, 38, 0.7);
}

.chat-form input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  background: rgba(245, 233, 214, 0.03);
  border: 0.6px solid var(--warm-line);
  border-radius: 8px;
  outline: 0;
  color: var(--champagne);
  font-size: 13px;
}

.chat-form input:focus {
  border-color: rgba(200, 164, 107, 0.7);
}

.chat-send {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 0.6px solid var(--warm-line);
  color: var(--faint);
}

.chat-send.ready {
  color: var(--gold-bright);
  border-color: var(--gold);
  background: rgba(200, 164, 107, 0.14);
}

.chat-send svg {
  width: 16px;
  height: 16px;
}

.party-links {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 18px 14px;
  border-top: 0.5px solid rgba(58, 47, 38, 0.55);
}

.party-links button {
  color: var(--dim);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.party-links button.danger {
  color: rgba(200, 164, 107, 0.85);
}

.party-empty {
  padding: 6px 0 16px;
}

.party-empty p {
  margin: 0 0 14px;
  color: var(--dim);
  font-size: 12.5px;
  line-height: 1.65;
}

.start-party {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 0.6px solid rgba(200, 164, 107, 0.55);
  border-radius: 8px;
  background: rgba(200, 164, 107, 0.13);
  cursor: pointer;
}

.start-party svg {
  width: 18px;
  height: 18px;
  color: var(--gold-bright);
}

.start-party .t {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--champagne);
}

.start-party .s {
  color: rgba(200, 164, 107, 0.8);
  font-size: 8px;
  letter-spacing: 1.3px;
}

.join-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.join-row input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  background: var(--glass);
  border: 0.6px solid var(--warm-line);
  border-radius: 8px;
  color: var(--champagne);
  outline: 0;
  font-size: 13px;
}

.join-row button {
  padding: 0 14px;
  border: 0.6px solid rgba(200, 164, 107, 0.55);
  border-radius: 8px;
  color: var(--gold-bright);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.3px;
}

/* ---------- dialogs + toast ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(11, 11, 12, 0.78);
  backdrop-filter: blur(6px);
  animation: fade-in 160ms var(--ease);
}

.dialog {
  width: min(430px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px;
}

.dialog .kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.dialog .kicker svg {
  width: 16px;
  height: 16px;
}

.dialog h2 {
  margin: 12px 0 4px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.dialog p {
  margin: 0 0 16px;
  color: var(--faint);
  font-size: 12.5px;
  line-height: 1.65;
}

.field {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--raised);
  border-radius: 4px;
  padding: 11px 12px;
}

.field input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  outline: 0;
  font-size: 13.5px;
}

.field svg {
  width: 16px;
  height: 16px;
  color: var(--faint);
}

.dialog-error {
  margin-top: 9px;
  color: var(--red-bright);
  font-size: 11.5px;
}

.dialog-actions {
  display: flex;
  gap: 9px;
  margin-top: 18px;
}

.dialog-actions .btn {
  flex: 1;
}

.dialog .close-x {
  float: right;
  color: var(--faint);
  width: 20px;
  height: 20px;
}

.toast-root {
  position: fixed;
  z-index: 200;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  pointer-events: none;
}

.toast {
  padding: 10px 16px;
  background: var(--espresso);
  border: 0.6px solid rgba(200, 164, 107, 0.45);
  border-radius: 8px;
  color: var(--champagne);
  font-size: 12px;
  animation: toast-in 180ms var(--ease);
  max-width: 86vw;
  text-align: center;
}

/* ---------- loading ---------- */

.loading-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
}

.spinner {
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(245, 242, 236, 0.12);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

.skeleton {
  background: linear-gradient(90deg, #141416 25%, #1c1c20 37%, #141416 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
  border-radius: 3px;
}

/* ---------- animations ---------- */

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: 0 0;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes sheet-up {
  from {
    transform: translateY(24px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

@keyframes drawer-in {
  from {
    transform: translateX(20px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

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

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  :root {
    --header: 58px;
  }

  .topbar {
    gap: 16px;
    padding: 0 16px;
  }

  .brand {
    font-size: 17px;
  }

  .nav {
    gap: 14px;
  }

  .nav a {
    font-size: 9.5px;
    letter-spacing: 1.2px;
  }

  .hero {
    min-height: 76vh;
  }

  .hero-inner {
    padding-bottom: 52px;
  }

  .content {
    margin-top: -18px;
  }

  .detail-wrap {
    grid-template-columns: 118px minmax(0, 1fr);
    padding-top: 32vh;
    gap: 18px;
  }

  .detail-poster {
    position: static;
  }

  .episodes-head {
    flex-wrap: wrap;
  }

  .season-tabs {
    margin-left: 0;
  }

  .p-actions .p-action:nth-child(n + 6) {
    display: none;
  }

  .next-card {
    bottom: 150px;
  }
}

@media (max-width: 640px) {
  .nav a:not(.active) {
    display: none;
  }

  .hero-slide img {
    filter: saturate(0.88) contrast(1.03) brightness(0.44);
  }

  .hero-shade {
    background:
      linear-gradient(to top, var(--ink) 6%, rgba(11, 11, 12, 0.97) 38%, rgba(11, 11, 12, 0.72) 68%, rgba(11, 11, 12, 0.42) 100%),
      linear-gradient(to right, rgba(11, 11, 12, 0.8), transparent 74%);
  }

  .hero-inner {
    width: 100%;
  }

  .nav a.active {
    display: block;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-title {
    font-size: clamp(32px, 10vw, 44px);
  }

  .hero-desc {
    -webkit-line-clamp: 2;
  }

  .content {
    padding-bottom: 60px;
  }

  .join-band {
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 26px;
  }

  .join-sub {
    display: none;
  }

  .join-action {
    margin-left: auto;
  }

  .poster-card {
    flex-basis: 124px;
  }

  .grid {
    grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
    gap: 20px 10px;
  }

  .detail-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 25vh;
    gap: 0;
  }

  .detail-poster {
    width: 116px;
    position: static;
    margin: 0 0 16px;
    border-color: rgba(245, 242, 236, 0.18);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
  }

  .detail-info h1 {
    font-size: 34px;
  }

  .action-row .btn {
    flex: 1 1 auto;
  }

  .party-row .btn {
    flex: 1;
  }

  .episode-row {
    gap: 10px;
  }

  .episode-time {
    display: none;
  }

  .player-ui::before {
    height: 150px;
  }

  .p-actions .p-action {
    display: none;
  }

  .p-actions .p-action[data-keep="1"] {
    display: inline-block;
  }

  .p-bottom {
    padding-left: 14px;
    padding-right: 14px;
  }

  .p-controls .p-control span {
    display: none;
  }

  .sheet {
    max-height: 72vh;
  }

  .party-drawer {
    width: 100%;
  }

  .next-card {
    right: 14px;
    bottom: 132px;
    padding: 9px 11px;
  }

  .next-card .label {
    font-size: 12.5px;
  }
}

/* ---------------- genre rails & category catalogue ---------------- */

.genre-strip {
  margin-top: 8px;
}

.genre-track {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 2px 2px 6px;
  scrollbar-width: none;
}

.genre-track::-webkit-scrollbar {
  display: none;
}

.genre-chip {
  flex: 0 0 auto;
  border: 1px solid var(--warm-line);
  border-radius: 999px;
  background: transparent;
  color: var(--dim);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 8px 15px;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.genre-chip:hover {
  color: var(--champagne);
  border-color: var(--gold);
  background: rgba(200, 164, 107, 0.08);
}

.category-page {
  padding-bottom: 40px;
}

.category-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 96px 34px 18px;
  border-bottom: 1px solid var(--line);
}

.category-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--dim);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.category-back svg {
  width: 16px;
  height: 16px;
}

.category-back:hover {
  color: var(--champagne);
  border-color: var(--gold);
}

.category-title h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.4px;
  color: var(--bone);
}

.category-count {
  display: block;
  margin-top: 3px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: var(--faint);
}

.category-body {
  padding: 22px 34px 0;
}

.category-grid {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.category-sentinel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
}

.category-sentinel:empty {
  display: none;
}

.hot-searches .section {
  margin-top: 6px;
}

@media (max-width: 760px) {
  .category-head {
    padding: 82px 16px 14px;
  }

  .category-body {
    padding: 16px 16px 0;
  }

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

/* ---------------- server-rendered SEO shell ---------------- */

.seo-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  color: var(--bone);
}

.seo-page h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.5px;
  margin: 0 0 10px;
}

.seo-page h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  margin: 26px 0 10px;
  color: var(--champagne);
}

.seo-page p {
  color: var(--dim);
  line-height: 1.65;
  font-size: 14.5px;
}

.seo-page a {
  color: var(--gold-bright);
}

.seo-page .seo-meta {
  color: var(--faint);
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.seo-page ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
}

.seo-page .seo-titles li {
  width: calc(50% - 9px);
  min-width: 240px;
}

.seo-title {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.seo-title .seo-poster img {
  width: 240px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: block;
}

.seo-page .btn {
  display: inline-block;
  margin-top: 12px;
  text-decoration: none;
}

@media (max-width: 700px) {
  .seo-page {
    padding: 96px 18px 60px;
  }

  .seo-title {
    flex-direction: column;
  }

  .seo-title .seo-poster img {
    width: 150px;
  }
}

/* ---------------- animated auth ---------------- */

.auth {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  background: var(--ink);
  overflow: hidden;
}

.auth-stage {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  isolation: isolate;
}

.auth-aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  z-index: -2;
  pointer-events: none;
}

.auth-aurora.one {
  width: 46vw;
  height: 46vw;
  left: -12vw;
  top: -10vw;
  background: radial-gradient(circle, rgba(200, 164, 107, 0.5), transparent 66%);
  animation: auth-drift-a 26s var(--ease) infinite alternate;
}

.auth-aurora.two {
  width: 38vw;
  height: 38vw;
  right: -8vw;
  bottom: -12vw;
  background: radial-gradient(circle, rgba(126, 39, 34, 0.55), transparent 68%);
  animation: auth-drift-b 32s var(--ease) infinite alternate;
}

.auth-aurora.three {
  width: 26vw;
  height: 26vw;
  left: 34%;
  top: 46%;
  background: radial-gradient(circle, rgba(245, 233, 214, 0.18), transparent 70%);
  animation: auth-drift-c 21s var(--ease) infinite alternate;
}

.auth-grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
  background-image: repeating-linear-gradient(
      0deg,
      rgba(245, 242, 236, 0.022) 0 1px,
      transparent 1px 3px
    ),
    radial-gradient(circle at 50% 40%, transparent 40%, rgba(11, 11, 12, 0.85));
}

.auth-mark {
  position: absolute;
  top: clamp(24px, 4vw, 44px);
  left: clamp(28px, 5vw, 64px);
  display: flex;
  align-items: center;
  gap: 14px;
}

.auth-word {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 5.5px;
  color: var(--bone);
  opacity: 0;
  animation: auth-rise 900ms var(--ease) 120ms forwards;
}

.auth-rule {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  animation: auth-rule 1200ms var(--ease) 600ms forwards;
}

.auth-copy {
  position: relative;
  max-width: 620px;
}

.auth-kicker {
  margin: 0 0 18px;
  font-size: 10.5px;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  animation: auth-rise 800ms var(--ease) 200ms forwards;
}

.auth-copy h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.04;
  letter-spacing: -1.4px;
  color: var(--bone);
}

.auth-copy h1 span,
.auth-copy h1 em {
  display: block;
  opacity: 0;
  transform: translateY(26px);
  animation: auth-rise 1100ms var(--ease) forwards;
}

.auth-copy h1 span {
  animation-delay: 300ms;
}

.auth-copy h1 em {
  font-style: italic;
  color: var(--gold-bright);
  animation-delay: 460ms;
}

.auth-sub {
  margin: 22px 0 0;
  max-width: 42ch;
  color: var(--dim);
  font-size: 14.5px;
  line-height: 1.7;
  opacity: 0;
  animation: auth-rise 900ms var(--ease) 680ms forwards;
}

.auth-ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(18px, 3vw, 34px);
  display: flex;
  gap: 40px;
  white-space: nowrap;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  opacity: 0;
  animation: auth-fade 1200ms var(--ease) 900ms forwards;
}

.auth-ticker-track {
  font-size: 10px;
  letter-spacing: 3.4px;
  color: var(--faint);
  animation: auth-ticker 34s linear infinite;
}

.auth-panel {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(26px, 4vw, 60px);
  border-left: 1px solid var(--line-soft);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(200, 164, 107, 0.07), transparent 55%),
    var(--ink-2);
}

.auth-card {
  width: min(400px, 100%);
  padding: 30px 30px 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(23, 23, 26, 0.72);
  backdrop-filter: blur(14px);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(26px);
  animation: auth-card 900ms var(--ease) 240ms forwards;
}

.auth.ready .auth-card {
  animation-play-state: running;
}

.auth-card.shake {
  animation: auth-shake 380ms var(--ease);
}

.auth-tabs {
  position: relative;
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.auth-tab {
  flex: 1;
  padding: 0 0 12px;
  border: 0;
  background: none;
  color: var(--faint);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 220ms var(--ease);
}

.auth-tab.active {
  color: var(--bone);
}

.auth-ink {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 50%;
  height: 1px;
  background: var(--gold);
  transition: transform 320ms var(--ease);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-field span {
  font-size: 9.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--faint);
}

.auth-field input {
  width: 100%;
  padding: 9px 0 11px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  color: var(--text);
  font-family: var(--sans);
  font-size: 14.5px;
  outline: none;
  transition: border-color 220ms var(--ease);
}

.auth-field input::placeholder {
  color: #5d594f;
}

.auth-field input:focus {
  border-color: var(--gold);
}

.auth-error {
  min-height: 17px;
  margin: 0;
  color: var(--red-bright);
  font-size: 11.5px;
  line-height: 1.4;
}

.auth-submit {
  width: 100%;
  padding: 13px 18px;
  border: 0;
  border-radius: 5px;
  background: var(--gold);
  color: #16110c;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 200ms var(--ease), transform 200ms var(--ease);
}

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

.auth-submit:active {
  transform: translateY(1px);
}

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

.auth-guest {
  width: 100%;
  margin-top: 18px;
  padding: 10px 0;
  border: 0;
  background: none;
  color: var(--dim);
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 200ms var(--ease);
}

.auth-guest:hover {
  color: var(--bone);
}

.auth-note {
  margin: 8px 0 0;
  color: var(--faint);
  font-size: 10.5px;
  text-align: center;
  letter-spacing: 0.3px;
}

.auth-foot {
  position: absolute;
  right: clamp(26px, 4vw, 60px);
  bottom: 22px;
  display: flex;
  gap: 16px;
  color: var(--faint);
  font-size: 10px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.auth-foot span + span {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

@keyframes auth-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes auth-fade {
  to {
    opacity: 1;
  }
}

@keyframes auth-rule {
  to {
    width: 74px;
  }
}

@keyframes auth-card {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes auth-drift-a {
  to {
    transform: translate3d(8vw, 6vh, 0) scale(1.15);
  }
}

@keyframes auth-drift-b {
  to {
    transform: translate3d(-7vw, -5vh, 0) scale(1.1);
  }
}

@keyframes auth-drift-c {
  to {
    transform: translate3d(-6vw, 8vh, 0) scale(0.9);
  }
}

@keyframes auth-ticker {
  to {
    transform: translateX(-100%);
  }
}

@keyframes auth-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(3px); }
}

@media (max-width: 900px) {
  .auth {
    grid-template-columns: 1fr;
    min-height: 100vh;
  }

  .auth-stage {
    min-height: 46vh;
    padding: 92px 24px 56px;
  }

  .auth-panel {
    border-left: 0;
    border-top: 1px solid var(--line-soft);
    padding: 30px 20px 60px;
  }

  .auth-copy h1 {
    font-size: clamp(30px, 8vw, 42px);
  }

  .auth-foot {
    display: none;
  }

  .auth-ticker {
    bottom: 16px;
  }
}

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

  .auth-copy h1 span,
  .auth-copy h1 em,
  .auth-sub,
  .auth-kicker,
  .auth-word,
  .auth-card,
  .auth-ticker {
    opacity: 1;
    transform: none;
  }
}

/* manga */

.manga-page {
  min-height: 100vh;
  padding-top: var(--header);
  background:
    radial-gradient(1100px 460px at 78% -8%, rgba(200, 164, 107, 0.09), transparent 64%),
    var(--ink);
}

.manga-masthead {
  padding: clamp(34px, 5vw, 64px) clamp(18px, 4vw, 54px) 0;
}

.manga-masthead-inner {
  max-width: 1500px;
  margin: 0 auto;
  border-bottom: 1px solid var(--warm-line);
  padding-bottom: 26px;
}

.manga-kicker {
  margin: 0 0 12px;
  font-size: 9px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--gold);
}

.manga-masthead h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 8vw, 92px);
  line-height: 0.94;
  letter-spacing: -0.02em;
  color: var(--bone);
}

.manga-lede {
  margin: 14px 0 0;
  max-width: 440px;
  color: var(--dim);
  font-size: 13px;
  line-height: 1.65;
}

.manga-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  max-width: 520px;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--warm-line);
  transition: border-color 200ms var(--ease);
}

.manga-search:focus-within {
  border-color: var(--gold);
}

.manga-search > span {
  color: var(--faint);
  flex: 0 0 auto;
}

.manga-search svg {
  width: 16px;
  height: 16px;
}

.manga-search input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--bone);
  font-size: 14px;
  letter-spacing: 0.2px;
}

.manga-search input::placeholder {
  color: var(--faint);
}

.manga-search-submit {
  flex: 0 0 auto;
  padding: 0 0 2px;
  font-size: 9px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid transparent;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.manga-search-submit:hover {
  color: var(--gold-bright);
  border-color: var(--gold-bright);
}

.manga-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 22px;
  min-height: 18px;
}

.manga-chip {
  padding: 2px 0;
  font-size: 10px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--faint);
  border-bottom: 1px solid transparent;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.manga-chip:hover {
  color: var(--bone);
}

.manga-chip.active {
  color: var(--gold-bright);
  border-color: var(--gold);
}

.manga-content {
  padding: 8px clamp(18px, 4vw, 54px) 96px;
  max-width: 1500px;
  margin: 0 auto;
}

.manga-shelf {
  margin-top: 44px;
}

.manga-shelf-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}

.manga-shelf-head .rule {
  width: 22px;
  height: 1px;
  background: var(--gold);
  opacity: 0.75;
  align-self: center;
}

.manga-shelf-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(19px, 2.2vw, 25px);
  letter-spacing: -0.01em;
  color: var(--bone);
}

.manga-shelf-head .count {
  font-size: 9px;
  letter-spacing: 1.4px;
  color: var(--faint);
}

.manga-shelf-arrows {
  margin-left: auto;
  display: flex;
  gap: 6px;
}

.manga-rail-arrow {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--dim);
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.manga-rail-arrow:hover {
  color: var(--bone);
  border-color: var(--gold);
}

.manga-rail-arrow svg {
  width: 13px;
  height: 13px;
}

.manga-rail {
  margin: 0 calc(-1 * clamp(18px, 4vw, 54px));
  padding: 0 clamp(18px, 4vw, 54px);
  overflow-x: auto;
  scrollbar-width: none;
}

.manga-rail::-webkit-scrollbar {
  display: none;
}

.manga-rail-track {
  display: flex;
  gap: 16px;
  scroll-snap-type: x proximity;
}

.manga-rail-track .manga-card {
  flex: 0 0 clamp(132px, 14vw, 158px);
  scroll-snap-align: start;
}

.manga-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(146px, 1fr));
  gap: 30px 16px;
  margin-top: 34px;
}

.manga-card {
  display: block;
  min-width: 0;
}

.manga-cover {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 3px;
  background: var(--surface);
  box-shadow: 0 18px 40px -30px rgba(0, 0, 0, 0.9);
}

.manga-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms var(--ease), filter 300ms var(--ease);
}

.manga-cover::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(11, 11, 12, 0.72), transparent);
  opacity: 0;
  transition: opacity 300ms var(--ease);
}

.manga-card:hover .manga-cover img {
  transform: scale(1.04);
  filter: brightness(0.82);
}

.manga-card:hover .manga-cover::after {
  opacity: 1;
}

.manga-cover-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 42px;
  color: var(--gold);
  background: linear-gradient(160deg, var(--espresso-2), var(--ink-2));
}

.manga-card-meta {
  padding: 10px 1px 0;
}

.manga-card-meta .name {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--bone);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.manga-card-meta .sub {
  margin-top: 4px;
  font-size: 9px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--faint);
}

.manga-card-ghost .manga-cover {
  min-height: 0;
}

.manga-card-ghost .manga-cover.skeleton {
  aspect-ratio: 2 / 3;
  border-radius: 3px;
}

.manga-empty {
  padding: 70px 0;
  max-width: 380px;
}

.manga-empty.compact {
  padding: 26px 0;
}

.manga-empty h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  color: var(--bone);
}

.manga-empty p {
  margin: 0 0 18px;
  color: var(--dim);
  font-size: 13px;
  line-height: 1.65;
}

/* title */

.manga-title-page {
  position: relative;
  min-height: 100vh;
  padding-top: var(--header);
  padding-bottom: 100px;
}

.manga-title-backdrop {
  position: absolute;
  inset: 0 0 auto 0;
  height: min(52vh, 560px);
  overflow: hidden;
  z-index: 0;
}

.manga-title-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: blur(26px) saturate(0.7) brightness(0.55);
  transform: scale(1.12);
}

.manga-title-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--ink) 2%, rgba(11, 11, 12, 0.7) 46%, rgba(11, 11, 12, 0.34) 100%);
}

.manga-title-wrap {
  position: relative;
  z-index: 1;
  max-width: 1220px;
  margin: 0 auto;
  padding: 42px clamp(18px, 4vw, 54px) 0;
}

.manga-title-layout {
  display: flex;
  align-items: flex-start;
  gap: clamp(22px, 4vw, 52px);
}

.manga-title-cover {
  margin: 0;
  flex: 0 0 clamp(178px, 22vw, 260px);
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 3px;
  background: var(--surface);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.95);
}

.manga-title-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.manga-title-info {
  flex: 1;
  min-width: 0;
  padding-top: 8px;
}

.manga-back {
  display: inline-block;
  margin-bottom: 22px;
  font-size: 9px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--faint);
  transition: color 160ms var(--ease);
}

.manga-back:hover {
  color: var(--gold-bright);
}

.manga-title-info h1 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--bone);
  max-width: 18ch;
}

.manga-meta {
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--dim);
  white-space: pre-wrap;
}

.manga-genre-line {
  margin-top: 14px;
  font-size: 10px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--gold);
}

.manga-authors {
  margin-top: 8px;
  font-size: 12px;
  color: var(--dim);
}

.manga-synopsis {
  margin: 22px 0 0;
  max-width: 64ch;
  color: var(--dim);
  font-size: 13.5px;
  line-height: 1.75;
  white-space: pre-line;
}

.manga-synopsis.clamped {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.manga-read-more {
  margin-top: 8px;
  padding: 0;
  font-size: 9px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid transparent;
}

.manga-read-more:hover {
  border-color: var(--gold);
}

.manga-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  align-items: center;
}

.manga-actions .btn {
  min-height: 42px;
}

.manga-actions .btn-ghost.active {
  color: var(--gold-bright);
  border-color: var(--gold);
}

.manga-actions .btn.is-idle {
  opacity: 0.45;
  cursor: default;
}

/* chapter list */

.manga-chapters {
  margin-top: 62px;
  border-top: 1px solid var(--warm-line);
  padding-top: 26px;
}

.manga-chapters-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}

.manga-chapters-head .rule {
  width: 22px;
  height: 1px;
  background: var(--gold);
  opacity: 0.75;
  align-self: center;
}

.manga-chapters-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(19px, 2.2vw, 25px);
  color: var(--bone);
}

.manga-chapters-head .count {
  font-size: 9px;
  letter-spacing: 1.4px;
  color: var(--faint);
}

.manga-chapter-list {
  display: flex;
  flex-direction: column;
}

.manga-chapter-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 14px;
  padding: 15px 8px;
  border-bottom: 1px solid var(--line-soft);
  transition: background 160ms var(--ease), border-color 160ms var(--ease);
}

.manga-chapter-row:hover {
  background: rgba(200, 164, 107, 0.045);
  border-color: var(--warm-line);
}

.manga-chapter-row.is-current {
  border-color: var(--gold);
}

.manga-chapter-num {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: -0.01em;
}

.manga-chapter-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.manga-chapter-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--bone);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.manga-chapter-sub {
  font-size: 9px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--faint);
}

.manga-chapter-current {
  font-size: 9px;
  letter-spacing: 1.1px;
  color: var(--gold-bright);
}

.manga-chapter-chev {
  color: var(--faint);
  display: inline-flex;
}

.manga-chapter-chev svg {
  width: 12px;
  height: 12px;
}

.manga-chapter-row:hover .manga-chapter-chev {
  color: var(--gold-bright);
}

/* reader */

body.manga-reading {
  background: #000;
}

body.manga-reading::before {
  display: none;
}

body.manga-reading .topbar {
  display: none !important;
}

.manga-reader {
  background: #000;
  color: var(--bone);
  min-height: 100vh;
}

.manga-reader-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 60px;
  padding: 0 clamp(12px, 3vw, 26px);
  background: rgba(0, 0, 0, 0.94);
  border-bottom: 1px solid #171512;
  backdrop-filter: blur(10px);
}

.manga-reader-bar-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}

.manga-reader-back {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--dim);
  border: 1px solid #232019;
  border-radius: 50%;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.manga-reader-back:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
}

.manga-reader-back svg {
  width: 16px;
  height: 16px;
}

.manga-reader-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.manga-reader-name strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--bone);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.manga-reader-name span {
  font-size: 9px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--faint);
}

.manga-reader-bar-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.manga-reader-fit {
  padding: 7px 12px;
  margin-right: 6px;
  font-size: 9px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--dim);
  border: 1px solid #232019;
  border-radius: 2px;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.manga-reader-fit:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
}

.manga-reader-nav {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--dim);
  border: 1px solid #232019;
  border-radius: 50%;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.manga-reader-nav:hover:not(:disabled) {
  color: var(--gold-bright);
  border-color: var(--gold);
}

.manga-reader-nav:disabled {
  opacity: 0.25;
  cursor: default;
}

.manga-reader-nav svg {
  width: 15px;
  height: 15px;
}

.manga-reader-meter {
  position: sticky;
  top: 60px;
  z-index: 19;
  height: 2px;
  background: #100e0b;
}

.manga-reader-meter i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold);
  transition: width 180ms linear;
}

.manga-reader-body {
  padding: 0 0 100px;
}

.manga-reader-pages {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.manga-reader-page {
  width: 100%;
  display: grid;
  place-items: center;
  background: #050505;
}

.manga-reader-page img {
  display: block;
  opacity: 0;
  animation: manga-page-in 220ms var(--ease) forwards;
}

@keyframes manga-page-in {
  to {
    opacity: 1;
  }
}

.fit-width .manga-reader-page img {
  width: 100%;
  max-width: 900px;
  height: auto;
}

.fit-height .manga-reader-page {
  min-height: calc(100vh - 62px);
}

.fit-height .manga-reader-page img {
  width: auto;
  height: auto;
  max-height: calc(100vh - 76px);
  max-width: 100%;
}

.manga-page-failed {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #0a0908;
  color: var(--faint);
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.manga-reader-page.is-failed {
  position: relative;
  min-height: 42vh;
}

.manga-page-failed button {
  padding: 6px 14px;
  font-size: 9px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--gold-bright);
  border: 1px solid var(--warm-line);
  border-radius: 2px;
}

.manga-reader-state {
  min-height: 74vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 60px 20px;
  text-align: center;
}

.manga-reader-state-kicker {
  margin: 0;
  font-size: 9px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--gold);
}

.manga-reader-state h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(24px, 4vw, 36px);
  color: var(--bone);
  max-width: 22ch;
}

.manga-reader-state p {
  margin: 0;
  max-width: 40ch;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.7;
}

.manga-reader-state > .spinner {
  border-top-color: var(--gold);
}

.manga-reader-state-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

/* responsive */

@media (max-width: 900px) {
  .manga-title-layout {
    flex-direction: column;
    gap: 26px;
  }

  .manga-title-cover {
    flex: 0 0 auto;
    width: min(46vw, 240px);
  }

  .manga-title-info h1 {
    max-width: none;
  }

  .manga-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .manga-masthead {
    padding-top: 26px;
  }

  .manga-chips {
    gap: 6px 14px;
  }

  .manga-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
  }

  .manga-rail-track .manga-card {
    flex: 0 0 40vw;
  }

  .manga-chapter-row {
    grid-template-columns: 40px minmax(0, 1fr) 16px;
    gap: 10px;
    padding: 13px 4px;
  }

  .manga-chapter-current {
    display: none;
  }

  .manga-chapter-num {
    font-size: 16px;
  }

  .manga-reader-bar {
    height: 54px;
    gap: 8px;
    padding: 0 10px;
  }

  .manga-reader-meter {
    top: 54px;
  }

  .manga-reader-fit {
    display: none;
  }

  .manga-reader-name span {
    letter-spacing: 1px;
  }

  .fit-height .manga-reader-page {
    min-height: calc(100vh - 56px);
  }

  .fit-height .manga-reader-page img {
    max-height: calc(100vh - 66px);
  }
}

/* ---------------- premium manga reader ---------------- */

body.mr-open {
  overflow: hidden;
  background: #000;
}

body.mr-open .topbar {
  display: none !important;
}

.mr {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  background: #000;
  color: var(--bone);
  font-family: var(--sans);
  overscroll-behavior: contain;
  user-select: none;
  -webkit-user-select: none;
}

.mr[data-tone="charcoal"] { background: #141414; }
.mr[data-tone="sepia"] { background: #2a2118; }
.mr[data-tone="paper"] { background: #ede6d8; color: #1b1712; }

.mr-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  touch-action: pan-y;
}

.mr-stage.is-vertical {
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(214, 179, 106, 0.45) transparent;
}

.mr-stage.is-vertical::-webkit-scrollbar { width: 8px; }
.mr-stage.is-vertical::-webkit-scrollbar-thumb {
  background: rgba(214, 179, 106, 0.4);
  border-radius: 8px;
}

.mr-stage.is-paged {
  display: grid;
  place-items: center;
  touch-action: pan-y;
}

.mr-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  height: 100%;
  transition: transform 220ms var(--ease);
  transform-origin: center center;
  will-change: transform;
}

.mr-frame.zoomed { transition: none; cursor: grab; }
.mr-frame.zoomed:active { cursor: grabbing; }

.mr-stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 54px 0 76px;
}

.mr-pane {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.mr-stack .mr-pane + .mr-pane { margin-top: 0; }

.mr-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 40vh;
}

.mr-image {
  display: block;
  max-width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 260ms var(--ease);
}

.mr-image-wrap.is-ready .mr-image { opacity: 1; }

.mr-stack.fit-width .mr-image { width: 100%; }
.mr-stack.fit-height .mr-image { width: auto; max-height: calc(100vh - 128px); }
.mr-stack.fit-original .mr-image { width: auto; max-width: 100%; }

.mr-stage.is-paged .mr-pane {
  height: 100%;
  max-width: 100%;
  align-items: center;
}

.mr-stage.is-paged .mr-image-wrap {
  height: 100%;
  min-height: 0;
}

.mr-stage.is-paged .mr-image {
  max-height: 100vh;
  width: auto;
  max-width: 100%;
}

.mr[data-fit="width"] .mr-stage.is-paged .mr-image { width: 100%; max-width: min(100vw, 1200px); height: auto; }
.mr[data-fit="height"] .mr-stage.is-paged .mr-image { height: 100vh; width: auto; }
.mr[data-fit="original"] .mr-stage.is-paged .mr-image { width: auto; height: auto; max-width: 100vw; max-height: 100vh; }

.mr-stage.is-paged .mr-frame { gap: 2px; }
.mr-stage.is-paged .mr-pane { flex: 0 1 auto; }

.mr[data-mode="spread"] .mr-image { max-height: 100vh; }

/* shimmer + failure */

.mr-shimmer {
  position: absolute;
  inset: 0;
  min-height: 42vh;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.03) 20%, rgba(255, 255, 255, 0.07) 38%, rgba(255, 255, 255, 0.03) 56%),
    #101012;
  background-size: 220% 100%;
  animation: mr-shimmer 1.4s linear infinite;
}

@keyframes mr-shimmer {
  from { background-position: 140% 0; }
  to { background-position: -40% 0; }
}

.mr-failed {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 32vh;
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0.4px;
}

.mr-failed button {
  border: 1px solid rgba(214, 179, 106, 0.5);
  background: none;
  color: var(--gold-bright);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 4px;
  cursor: pointer;
}

/* chrome */

.mr-bar {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.35));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 260ms var(--ease), opacity 260ms var(--ease);
}

.mr-top { top: 0; border-bottom: 1px solid rgba(214, 179, 106, 0.18); }
.mr-bottom { bottom: 0; border-top: 1px solid rgba(214, 179, 106, 0.18); background: linear-gradient(0deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.4)); }

.mr.chrome-hidden .mr-top { transform: translateY(-104%); opacity: 0; }
.mr.chrome-hidden .mr-bottom { transform: translateY(104%); opacity: 0; }

.mr[data-tone="paper"] .mr-bar {
  background: linear-gradient(180deg, rgba(237, 230, 216, 0.94), rgba(237, 230, 216, 0.6));
  color: #1b1712;
}
.mr[data-tone="paper"] .mr-bottom {
  background: linear-gradient(0deg, rgba(237, 230, 216, 0.96), rgba(237, 230, 216, 0.7));
}

.mr-bar-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mr-bar-right { display: flex; align-items: center; gap: 4px; }

.mr-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: none;
  color: inherit;
  opacity: 0.82;
  cursor: pointer;
  transition: background 180ms var(--ease), opacity 180ms var(--ease), color 180ms var(--ease);
}

.mr-icon-btn:hover { background: rgba(245, 242, 236, 0.08); opacity: 1; }
.mr-icon-btn.is-on { color: var(--gold-bright); opacity: 1; }
.mr-icon-btn svg { width: 19px; height: 19px; display: block; }
.mr-icon { display: inline-flex; }

.mr-title { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.mr-title strong {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 46vw;
}
.mr-title span {
  font-size: 9.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 46vw;
}

.mr-counter {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 10.5px;
  letter-spacing: 0.6px;
  color: var(--gold);
  padding-left: 10px;
  border-left: 1px solid rgba(214, 179, 106, 0.28);
  white-space: nowrap;
}

.mr-progress { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.mr-slider-label {
  font-size: 9.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--faint);
  white-space: nowrap;
}

.mr-slider {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  min-width: 60px;
  height: 22px;
  background: transparent;
  cursor: pointer;
}

.mr-slider::-webkit-slider-runnable-track {
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(245, 242, 236, 0.18));
  border-radius: 2px;
}
.mr-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(214, 179, 106, 0.2);
}
.mr-slider::-moz-range-track { height: 2px; background: rgba(245, 242, 236, 0.2); }
.mr-slider::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: var(--gold-bright); }

.mr-text-btn {
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(214, 179, 106, 0.28);
  border-radius: 999px;
  background: none;
  color: inherit;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 180ms var(--ease), background 180ms var(--ease);
  white-space: nowrap;
}
.mr-text-btn:hover { border-color: var(--gold); background: rgba(214, 179, 106, 0.08); }

.mr-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: inherit;
  opacity: 0.8;
  cursor: pointer;
}
.mr-nav-btn svg { width: 18px; height: 18px; }
.mr-nav-btn:disabled { opacity: 0.24; cursor: default; }

.mr-dimmer {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: #000;
  opacity: 0;
  pointer-events: none;
}

/* countdown chip */

.mr-chip-slot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 92px;
  z-index: 7;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.mr-auto-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px 9px 16px;
  border: 1px solid rgba(214, 179, 106, 0.35);
  border-radius: 999px;
  background: rgba(12, 12, 14, 0.86);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.5);
  pointer-events: auto;
  font-size: 11px;
  letter-spacing: 0.5px;
  animation: mr-chip 280ms var(--ease);
}

.mr-auto-chip span { color: var(--dim); }
.mr-auto-chip button {
  border: 0;
  background: none;
  color: var(--gold-bright);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  padding: 4px 6px;
}
.mr-auto-chip button:last-child { color: var(--faint); }

@keyframes mr-chip {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* sheets */

.mr-sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 220ms var(--ease);
}

.mr-sheet-overlay.open { opacity: 1; }

.mr-sheet {
  width: min(560px, 100%);
  max-height: min(78vh, 720px);
  display: flex;
  flex-direction: column;
  background: rgba(18, 18, 21, 0.97);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 -30px 80px rgba(0, 0, 0, 0.6);
  transform: translateY(24px);
  transition: transform 260ms var(--ease);
  overflow: hidden;
}

.mr-sheet-overlay.open .mr-sheet { transform: translateY(0); }

.mr-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--line);
}

.mr-sheet-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.2px;
  color: var(--bone);
}

.mr-sheet-head .mr-icon-btn { color: var(--dim); }

.mr-sheet-body {
  padding: 14px 18px 26px;
  overflow-y: auto;
}

.mr-settings { display: flex; flex-direction: column; gap: 20px; }

.mr-setting h3 {
  margin: 0 0 2px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--faint);
}

.mr-setting small { color: var(--faint); font-size: 10.5px; }

.mr-options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

.mr-option {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 92px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: none;
  color: var(--dim);
  font-family: var(--sans);
  font-size: 11px;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms var(--ease), color 180ms var(--ease), background 180ms var(--ease);
}

.mr-option small { font-size: 9px; letter-spacing: 0.3px; color: var(--faint); }
.mr-option.is-active { border-color: var(--gold); color: var(--bone); background: rgba(214, 179, 106, 0.08); }
.mr-option.is-active small { color: var(--gold); }

.mr-swatch {
  width: 100%;
  height: 14px;
  border-radius: 3px;
  border: 1px solid var(--line);
  margin-bottom: 4px;
}

.mr-dim-row, .mr-zoom-row { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.mr-dim-value {
  min-width: 42px;
  text-align: right;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px;
  color: var(--gold);
}

.mr-switch-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.mr-switch {
  position: relative;
  width: 42px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #1c1c20;
  cursor: pointer;
  transition: background 200ms var(--ease), border-color 200ms var(--ease);
}

.mr-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #6a675f;
  transition: transform 200ms var(--ease), background 200ms var(--ease);
}

.mr-switch.is-on { border-color: var(--gold); background: rgba(214, 179, 106, 0.16); }
.mr-switch.is-on::after { transform: translateX(18px); background: var(--gold-bright); }

/* thumbnails */

.mr-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 10px;
}

.mr-thumb {
  position: relative;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 4px;
  background: #0d0d0f;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 2 / 3;
}

.mr-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mr-thumb span {
  position: absolute;
  left: 4px;
  bottom: 4px;
  padding: 2px 5px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.68);
  color: var(--bone);
  font-size: 9px;
  font-family: ui-monospace, Menlo, monospace;
}
.mr-thumb.is-current { border-color: var(--gold); }
.mr-thumb.is-current span { background: var(--gold); color: #16110c; }
.mr-thumb.is-marked::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.45);
}

/* chapter list */

.mr-chapter-list { display: flex; flex-direction: column; }

.mr-chapter {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px 4px;
  border: 0;
  border-bottom: 1px solid rgba(42, 42, 46, 0.7);
  background: none;
  color: var(--dim);
  font-family: var(--sans);
  font-size: 12.5px;
  text-align: left;
  cursor: pointer;
}
.mr-chapter:hover { color: var(--bone); }
.mr-chapter.is-current { color: var(--gold-bright); }
.mr-chapter-num {
  min-width: 34px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10.5px;
  color: var(--faint);
}
.mr-chapter.is-current .mr-chapter-num { color: var(--gold); }
.mr-chapter-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mr-chapter-date { font-size: 9.5px; color: var(--faint); letter-spacing: 0.4px; }

.mr-muted { color: var(--faint); font-size: 12px; padding: 8px 0; }

/* states */

.mr-state {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 40px 24px;
}

.mr-state-kicker { margin: 0; font-size: 9.5px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.mr-state h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 26px; color: var(--bone); }
.mr-state p { margin: 0; max-width: 44ch; color: var(--faint); font-size: 12.5px; line-height: 1.6; }
.mr-state-actions { display: flex; gap: 10px; margin-top: 10px; }

/* desktop */

@media (min-width: 900px) {
  .mr-sheet-overlay { align-items: center; justify-content: flex-end; padding: 0; }
  .mr-sheet {
    width: 400px;
    max-height: 100vh;
    height: 100%;
    border-radius: 0;
    border: 0;
    border-left: 1px solid var(--line);
    transform: translateX(30px);
  }
  .mr-sheet-overlay.open .mr-sheet { transform: translateX(0); }
  .mr-title strong, .mr-title span { max-width: 300px; }
  .mr-top { padding: 14px 22px; }
  .mr-bottom { padding: 12px 22px; }
}

@media (max-width: 640px) {
  .mr-bottom { flex-direction: column; gap: 6px; align-items: stretch; padding: 8px 12px 12px; }
  .mr-progress { gap: 8px; }
  .mr-bottom .mr-bar-right { justify-content: space-between; }
  .mr-text-btn { height: 30px; padding: 0 9px; font-size: 9px; letter-spacing: 1px; }
  .mr-counter { display: none; }
  .mr-thumbs { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 7px; }
  .mr-chip-slot { bottom: 104px; }
}

@media (prefers-reduced-motion: reduce) {
  .mr *, .mr *::before, .mr *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

.manga-chapter-row.is-read .manga-chapter-num { color: var(--gold); }
.manga-chapter-row.is-read .manga-chapter-title { color: var(--dim); }
.manga-chapter-row.is-read::after {
  content: "";
  position: absolute;
  left: 0;
  top: 14%;
  bottom: 14%;
  width: 2px;
  border-radius: 2px;
  background: var(--gold);
  opacity: 0.7;
}
.manga-chapter-row { position: relative; }

.manga-chapter-dl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: var(--faint);
  cursor: pointer;
  transition: color 160ms var(--ease), background 160ms var(--ease);
}
.manga-chapter-dl:hover { color: var(--gold-bright); background: rgba(214, 179, 106, 0.1); }
.manga-chapter-dl svg { width: 15px; height: 15px; }

.seo-claim {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.5;
  color: var(--gold-bright);
  border-left: 2px solid var(--gold);
  padding-left: 14px;
  max-width: 60ch;
}

.premium-band {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 4px;
  padding: 11px 24px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(214, 179, 106, 0.08), transparent 65%);
}
.premium-band-kicker {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--gold);
}
.premium-band-text {
  font-family: var(--serif);
  font-size: 13.5px;
  color: var(--bone);
}
.premium-band-note {
  margin-left: auto;
  font-size: 9px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--faint);
}
@media (max-width: 720px) {
  .premium-band { flex-wrap: wrap; padding: 10px 16px; }
  .premium-band-note { display: none; }
}

a.about-link { text-decoration: none; }
a.about-link b { color: var(--gold-bright); }
a.about-link:hover b { text-decoration: underline; }

/* ---------------- social login ---------------- */

.auth-social {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 4px;
}

.auth-social-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 62px;
  padding: 9px 2px 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(245, 242, 236, 0.02);
  color: var(--dim);
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 180ms var(--ease), color 180ms var(--ease), background 180ms var(--ease);
}

.auth-social-btn svg {
  width: 20px;
  height: 20px;
  display: block;
}

.auth-social-btn:hover {
  border-color: var(--gold);
  color: var(--bone);
  background: rgba(214, 179, 106, 0.07);
}

.auth-social-btn.is-unconfigured {
  opacity: 0.55;
}

.auth-social-btn.is-unconfigured:hover {
  border-color: var(--warm-line, #3b3228);
  background: none;
}

.auth-divider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 4px;
  color: var(--faint);
  font-size: 9px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

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

@media (max-width: 380px) {
  .auth-social { gap: 6px; }
  .auth-social-btn { font-size: 8px; }
}

/* ---------------- free fire sign-in ---------------- */

.auth-freefire {
  display: grid;
  gap: 10px;
  margin: 12px 0 2px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(214, 179, 106, 0.04);
}

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

.auth-freefire-head {
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.4px;
}

.auth-input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 13px;
  outline: none;
  transition: border-color 160ms var(--ease);
}

.auth-input::placeholder {
  color: var(--faint);
}

.auth-input:focus {
  border-color: var(--gold);
}

.auth-freefire-go {
  padding: 11px 14px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  background: var(--gold);
  color: #16110c;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 160ms var(--ease);
}

.auth-freefire-go:disabled {
  opacity: 0.55;
  cursor: default;
}

.auth-freefire-note {
  color: var(--faint);
  font-size: 10.5px;
  line-height: 1.45;
}

/* ---------------- terms ---------------- */

.auth-terms {
  margin: 14px 0 0;
  color: var(--faint);
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

.auth-terms a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(214, 179, 106, 0.35);
}

.terms-page {
  padding-top: 64px;
  padding-bottom: 96px;
}

.terms {
  width: min(680px, 100%);
  margin: 0 auto;
  padding: 0 24px;
}

.terms-back {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--faint);
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.terms-back:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.terms-title {
  margin: 0;
  color: var(--bone);
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 500;
  letter-spacing: -0.8px;
  line-height: 1.05;
}

.terms-lede {
  margin: 18px 0 0;
  color: var(--dim);
  font-size: 15px;
  line-height: 1.65;
  max-width: 54ch;
}

.terms-block {
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.terms-block h2 {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}

.terms-block p {
  margin: 0 0 13px;
  color: var(--dim);
  font-size: 14px;
  line-height: 1.75;
  max-width: 68ch;
}

.terms-block p:last-child {
  margin-bottom: 0;
}

/* ---------------- android download ---------------- */

.download-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 26px 0 6px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.download-kicker {
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.6px;
  text-transform: uppercase;
}

.download-title {
  margin-top: 8px;
  color: var(--bone);
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.3px;
  line-height: 1.15;
}

.download-sub {
  margin-top: 8px;
  color: var(--dim);
  font-size: 12.5px;
  line-height: 1.55;
  max-width: 52ch;
}

.download-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  flex-shrink: 0;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  background: var(--gold);
  color: #16110c;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 160ms var(--ease), color 160ms var(--ease);
}

.download-btn svg {
  width: 15px;
  height: 15px;
}

.download-btn:hover {
  background: transparent;
  color: var(--gold);
}

.download-meta {
  color: var(--faint);
  font-size: 10px;
  letter-spacing: 0.4px;
}

.download-more {
  color: var(--faint);
  font-size: 10px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.download-more:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.auth-app-link {
  display: block;
  margin-top: 10px;
  color: var(--dim);
  font-size: 10.5px;
  text-align: center;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.auth-app-link:hover {
  color: var(--gold);
  border-color: rgba(214, 179, 106, 0.4);
}

.download-page {
  padding-top: 52px;
  padding-bottom: 96px;
}

.download-sheet {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 0 24px;
}

.download-hero {
  margin: 14px 0 0;
  color: var(--bone);
  font-family: var(--serif);
  font-size: clamp(36px, 6vw, 58px);
  font-weight: 500;
  letter-spacing: -1.2px;
  line-height: 1.02;
}

.download-lede {
  margin: 16px 0 0;
  color: var(--dim);
  font-size: 15px;
  line-height: 1.65;
  max-width: 56ch;
}

.download-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 28px 0 0;
}

.download-cta-note {
  color: var(--faint);
  font-size: 11px;
}

.download-facts {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0;
  margin: 42px 0 0;
  border-top: 1px solid var(--line);
}

.download-facts dt,
.download-facts dd {
  margin: 0;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
}

.download-facts dt {
  color: var(--faint);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-size: 9.5px;
  padding-top: 14px;
}

.download-facts dd {
  color: var(--bone);
  font-family: var(--mono, ui-monospace, monospace);
  letter-spacing: 0.2px;
  overflow-wrap: anywhere;
}

.download-h2 {
  margin: 44px 0 0;
  color: var(--bone);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}

.download-steps {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  border-top: 1px solid var(--line);
}

.download-steps li {
  position: relative;
  counter-increment: step;
  padding: 14px 0 14px 42px;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-size: 13.5px;
  line-height: 1.5;
}

.download-steps li::before {
  content: "0" counter(step);
  position: absolute;
  left: 0;
  top: 15px;
  color: var(--gold);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.download-notes {
  margin: 28px 0 0;
  color: var(--faint);
  font-size: 11.5px;
  line-height: 1.6;
}

@media (max-width: 720px) {
  .download-band {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .download-side {
    align-items: flex-start;
  }
  .download-facts {
    grid-template-columns: 110px 1fr;
  }
}
