/* =========================================================================
   XRALE — stylesheet
   Netflix DNA, turned up.
   ========================================================================= */

@font-face { font-family: 'Netflix Sans'; src: url('assets/netflix/netflix-sans/NetflixSans_W_Lt.woff2') format('woff2'), url('assets/netflix/netflix-sans/NetflixSans_W_Lt.woff') format('woff'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Netflix Sans'; src: url('assets/netflix/netflix-sans/NetflixSans_W_Rg.woff2') format('woff2'), url('assets/netflix/netflix-sans/NetflixSans_W_Rg.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Netflix Sans'; src: url('assets/netflix/netflix-sans/NetflixSans_W_Md.woff2') format('woff2'), url('assets/netflix/netflix-sans/NetflixSans_W_Md.woff') format('woff'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Netflix Sans'; src: url('assets/netflix/netflix-sans/NetflixSans_W_Bd.woff2') format('woff2'), url('assets/netflix/netflix-sans/NetflixSans_W_Bd.woff') format('woff'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Netflix Sans'; src: url('assets/netflix/netflix-sans/NetflixSans_W_Blk.woff2') format('woff2'), url('assets/netflix/netflix-sans/NetflixSans_W_Blk.woff') format('woff'); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  --red: #e50914;
  --red-dark: #b0060f;
  --bg: #000;
  --panel: #141414;
  --panel-2: #181818;
  --text: #e5e5e5;
  --muted: #b3b3b3;
  --dim: #808080;
  --nav-h: 68px;
  --card-w: 300px;
  --radius: 6px;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Netflix Sans', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { min-height: 100vh; overflow-x: hidden; }

body.no-scroll { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { display: block; }
::selection { background: var(--red); color: #fff; }

/* Scrollbars ------------------------------------------------------------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #2b2b2b; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #3d3d3d; }

/* App shell -------------------------------------------------------------- */
#app { min-height: 100vh; }

.view { animation: fade-in 0.45s var(--ease); }

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

/* =========================================================================
   TOP NAV
   ========================================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0 4vw;
  z-index: 60;
  background: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 55%, transparent 100%);
  transition: background 0.35s var(--ease), height 0.35s var(--ease);
}
.nav.solid { background: #0b0b0b; height: 60px; box-shadow: 0 2px 14px rgba(0,0,0,0.6); }

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 900;
  letter-spacing: -1.5px;
  font-size: 27px;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.brand b { color: #fff; font-weight: 900; }
.brand:hover { filter: brightness(1.12); }

/* XRALE monogram — nav, intro ve splash aynı markayı taşır. */
.brand-mark {
  width: 30px; height: 30px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 3px 10px rgba(229, 9, 20, 0.45));
  transition: transform 0.35s var(--ease), filter 0.35s var(--ease);
}
.brand-mark svg { width: 100%; height: 100%; display: block; border-radius: 8px; }
.brand-x {
  display: inline-block;
  background: linear-gradient(180deg, #ff5252, #e50914 55%, #8b0009);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.brand-r {
  display: inline-block;
  background: linear-gradient(180deg, #ffffff, #cfcfcf 58%, #9a9a9a);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
/* Markanın üstünden geçen ışık — logo cansız durmasın. */
.brand::after {
  content: ''; position: absolute; inset: -4px -6px; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.22) 50%, transparent 62%);
  transform: translateX(-130%);
  animation: brand-shine 5.6s 1.2s var(--ease) infinite;
}
@keyframes brand-shine {
  0% { transform: translateX(-130%); }
  45%, 100% { transform: translateX(130%); }
}
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.08); filter: drop-shadow(0 4px 16px rgba(229, 9, 20, 0.8)); }
.brand:hover .brand-x { transform: translateY(-1px); }

.nav-links { display: flex; gap: 20px; font-size: 14px; font-weight: 400; color: var(--muted); }
.nav-links a { transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 18px; }

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  padding: 6px 10px;
  border-radius: 4px;
  background: transparent;
  transition: all 0.25s var(--ease);
}
.search.open, .search:focus-within { border-color: #4d4d4d; background: rgba(0,0,0,0.75); }
.search svg { width: 20px; height: 20px; fill: #fff; flex: none; cursor: pointer; }
.search input {
  width: 0; opacity: 0;
  background: transparent; border: 0; outline: 0;
  color: #fff; font-size: 14px; font-family: inherit;
  transition: width 0.28s var(--ease), opacity 0.28s var(--ease);
}
.search.open input, .search:focus-within input { width: 220px; opacity: 1; }

.icon-btn {
  background: none; border: 0; cursor: pointer; padding: 4px;
  display: grid; place-items: center; color: #fff; opacity: 0.9;
}
.icon-btn:hover { opacity: 1; transform: translateY(-1px); }
.icon-btn svg { width: 22px; height: 22px; fill: currentColor; }

.profile {
  display: flex; align-items: center; gap: 8px; cursor: pointer; position: relative;
}
.avatar {
  width: 34px; height: 34px; border-radius: 4px;
  background: linear-gradient(135deg, #e50914, #7a0410);
  display: grid; place-items: center;
  font-weight: 900; font-size: 16px; color: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset;
}
.caret { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid #fff; transition: transform 0.2s; }
.profile:hover .caret { transform: rotate(180deg); }

.menu {
  position: absolute; top: 46px; right: 0; min-width: 210px;
  background: rgba(0,0,0,0.95); border: 1px solid #262626; border-radius: 4px;
  padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all 0.2s var(--ease); box-shadow: var(--shadow);
}
.menu.open { opacity: 1; visibility: visible; transform: none; }
.menu a, .menu div { display: block; padding: 9px 16px; font-size: 13px; color: var(--text); }
.menu a:hover { background: #1c1c1c; text-decoration: underline; }
.menu hr { border: 0; border-top: 1px solid #2b2b2b; margin: 6px 0; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  height: 82vh;
  min-height: 520px;
  max-height: 900px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 22%;
  transform: scale(1.06);
  animation: hero-drift 26s ease-in-out infinite alternate;
  filter: saturate(1.08) contrast(1.02);
}
@keyframes hero-drift { from { transform: scale(1.06) translateX(0); } to { transform: scale(1.12) translateX(-14px); } }

.hero::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.55) 42%, rgba(0,0,0,0.05) 75%),
    linear-gradient(0deg, #000 2%, rgba(0,0,0,0.35) 40%, transparent 72%);
}

.hero-content {
  position: relative; z-index: 2;
  padding: 0 4vw 9vh;
  max-width: 46rem;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--red); font-weight: 700; margin-bottom: 14px;
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero-title {
  font-size: clamp(46px, 8vw, 104px);
  font-weight: 900; line-height: 0.92; letter-spacing: -3px;
  margin: 0 0 16px; text-transform: uppercase;
  color: #fff;
  text-shadow: 0 6px 34px rgba(0,0,0,0.85);
}
.hero-title .accent { color: var(--acc, var(--red)); }

.hero-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.hero-meta .badge { border: 1px solid #555; padding: 1px 7px; border-radius: 3px; font-size: 12px; }
.hero-meta .match { color: #46d369; font-weight: 700; }
.hero-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: #666; }

.hero-desc { font-size: 17px; line-height: 1.5; color: #e8e8e8; max-width: 38rem; margin: 0 0 22px; text-shadow: 0 2px 12px rgba(0,0,0,0.8); }

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

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border: 0; border-radius: 4px; cursor: pointer;
  font-size: 16px; font-weight: 700; padding: 12px 26px;
  transition: transform 0.15s var(--ease), filter 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn svg { width: 22px; height: 22px; flex: none; fill: currentColor; }
.btn-primary { background: #fff; color: #000; }
.btn-primary:hover { filter: brightness(0.85); }
.btn-ghost { background: rgba(109,109,110,0.7); color: #fff; }
.btn-ghost:hover { background: rgba(109,109,110,0.5); }
.btn:active { transform: scale(0.97); }

.hero-fade-bottom { position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(0deg, #000, transparent); z-index: 1; }

/* =========================================================================
   ROWS
   ========================================================================= */
.rows { position: relative; z-index: 5; margin-top: -70px; padding-bottom: 60px; }

.row { margin: 0 0 8px; position: relative; }
.row-head { display: flex; align-items: center; gap: 12px; padding: 0 4vw 6px; }
.row-title { font-size: 22px; font-weight: 700; margin: 0; letter-spacing: -0.3px; }
.row-title small { font-weight: 400; color: var(--dim); font-size: 14px; margin-left: 6px; }
.row-explore { margin-left: auto; font-size: 13px; color: var(--muted); opacity: 0; transition: opacity 0.2s; display: flex; align-items: center; gap: 6px; }
.row:hover .row-explore { opacity: 1; }
.row-explore:hover { color: #fff; }

.row-track-wrap { position: relative; }
.row-track {
  display: flex; gap: 10px; overflow-x: auto; overflow-y: hidden;
  padding: 34px 4vw 42px; scroll-behavior: smooth;
  scrollbar-width: none;
}
.row-track::-webkit-scrollbar { display: none; }

.row-arrow {
  position: absolute; top: 0; bottom: 0; width: 4vw; min-width: 44px;
  border: 0; cursor: pointer; z-index: 8; color: #fff;
  background: rgba(0,0,0,0.55); opacity: 0; transition: opacity 0.2s, background 0.2s;
  display: grid; place-items: center;
}
.row-arrow svg { width: 26px; height: 26px; fill: #fff; transition: transform 0.2s; }
.row-track-wrap:hover .row-arrow { opacity: 1; }
.row-arrow:hover { background: rgba(0,0,0,0.8); }
.row-arrow:hover svg { transform: scale(1.4); }
.row-arrow.left { left: 0; }
.row-arrow.right { right: 0; }
.row-arrow.hidden { display: none; }

/* Cards ------------------------------------------------------------------ */
.card {
  position: relative; flex: none;
  width: var(--card-w);
  border-radius: var(--radius); overflow: hidden;
  background: #1a1a1a; cursor: pointer;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), z-index 0s;
  transform-origin: center center;
}
.card:hover { transform: scale(1.16); z-index: 20; box-shadow: var(--shadow); }
.card:hover .card-overlay { opacity: 1; }
.card:first-child:hover { transform-origin: left center; }

.card-thumb { position: relative; aspect-ratio: 16 / 9; background: #101010; overflow: hidden; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-num {
  position: absolute; left: 10px; top: 8px; z-index: 3;
  font-weight: 900; font-size: 30px; line-height: 1;
  color: rgba(255,255,255,0.92); text-shadow: 0 3px 12px rgba(0,0,0,0.9);
}
.card-num::before { content: 'S1·E'; font-size: 12px; font-weight: 700; letter-spacing: 1px; display: block; color: var(--acc, var(--red)); text-shadow: none; margin-bottom: 3px; }
.card-play {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 2;
  background: radial-gradient(circle at 50% 50%, rgba(0,0,0,0.15), rgba(0,0,0,0.55));
  opacity: 0; transition: opacity 0.25s;
}
.card:hover .card-play { opacity: 1; }
.card-play svg { width: 54px; height: 54px; fill: #fff; filter: drop-shadow(0 3px 10px rgba(0,0,0,0.8)); }

.card-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,0.25); z-index: 4; }
.card-progress i { display: block; height: 100%; background: var(--acc, var(--red)); }

.card-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px; background: linear-gradient(0deg, rgba(0,0,0,0.95), transparent); opacity: 1; }
.card-overlay .t { font-size: 15px; font-weight: 700; }
.card-overlay .d { font-size: 12px; color: var(--muted); margin-top: 2px; }

.card-actions { display: flex; gap: 8px; padding: 10px 12px 12px; }
.circ {
  width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid #6b6b6b;
  background: rgba(30,30,30,0.7); display: grid; place-items: center; cursor: pointer; color: #fff;
  transition: border-color 0.2s, transform 0.15s, background 0.2s;
}
.circ svg { width: 17px; height: 17px; fill: currentColor; }
.circ:hover { border-color: #fff; transform: scale(1.1); }
.circ.play { background: #fff; border-color: #fff; color: #000; }
.circ.play:hover { filter: brightness(0.85); }
.card-body { padding: 0 12px 12px; }
.card-body .meta-line { display: flex; align-items: center; gap: 8px; font-size: 12px; margin-bottom: 6px; }
.card-body .match { color: #46d369; font-weight: 700; }
.card-body .badge { border: 1px solid #555; padding: 0 5px; border-radius: 2px; font-size: 11px; color: var(--muted); }
.card-body .syn { font-size: 12.5px; line-height: 1.45; color: #cfcfcf; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.card-body .genres { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.card-body .genres span { font-size: 11px; color: var(--muted); }
.card-body .genres span:not(:last-child)::after { content: ' •'; color: #444; }

/* top-10 numbered row */
.row-track.ranked .card { width: 250px; }
.row-track.ranked .card .rank-digit {
  position: absolute; left: -34px; bottom: 0; z-index: 3;
  font-weight: 900; font-size: 150px; line-height: 0.72;
  color: #0d0d0d; -webkit-text-stroke: 3px #4a4a4a; letter-spacing: -8px;
  pointer-events: none;
}
.row-track.ranked .card { overflow: visible; }
.row-track.ranked .card .card-thumb { overflow: hidden; border-radius: var(--radius); }

/* =========================================================================
   MODAL (episode / title detail)
   ========================================================================= */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(0,0,0,0.72);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 4vh 4vw; overflow-y: auto;
  backdrop-filter: blur(3px);
  animation: fade-in 0.25s var(--ease);
}
.modal {
  width: min(920px, 100%);
  background: var(--panel-2); border-radius: 10px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.8);
  animation: modal-pop 0.35s var(--ease);
}
@keyframes modal-pop { from { transform: scale(0.94) translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }

.modal-hero { position: relative; aspect-ratio: 16 / 8.2; min-height: 300px; }
.modal-hero img { width: 100%; height: 100%; object-fit: cover; }
.modal-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--panel-2), transparent 62%); }
.modal-hero .close { position: absolute; right: 16px; top: 16px; z-index: 4; width: 36px; height: 36px; border-radius: 50%; background: #181818; border: 0; color: #fff; cursor: pointer; display: grid; place-items: center; }
.modal-hero .close:hover { background: #000; }
.modal-hero .close svg { width: 18px; height: 18px; fill: #fff; }
.modal-hero-inner { position: absolute; left: 34px; right: 34px; bottom: 26px; z-index: 3; }
.modal-hero-inner h2 { font-size: 40px; margin: 0 0 14px; font-weight: 900; letter-spacing: -1px; }
.modal-hero-inner .hero-actions { gap: 10px; }

.modal-body { padding: 26px 34px 40px; display: grid; grid-template-columns: 1.9fr 1fr; gap: 28px; }
.modal-body .lead { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 14px; margin-bottom: 16px; }
.modal-body .lead .match { color: #46d369; font-weight: 700; }
.modal-body .lead .badge { border: 1px solid #555; padding: 1px 7px; border-radius: 3px; font-size: 12px; }
.modal-body p { font-size: 15px; line-height: 1.6; color: #dcdcdc; margin: 0 0 14px; }
.modal-meta-list { font-size: 13.5px; color: var(--muted); line-height: 1.9; }
.modal-meta-list b { color: #fff; font-weight: 500; }

/* =========================================================================
   EPISODE LIST (season page)
   ========================================================================= */
.page { padding: calc(var(--nav-h) + 26px) 4vw 80px; max-width: 1500px; margin: 0 auto; }
.page-hero { display: grid; grid-template-columns: 300px 1fr; gap: 34px; margin-bottom: 46px; }
.page-hero .poster { border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); }
.page-hero .poster img { width: 100%; }
.page-hero h1 { font-size: 46px; margin: 0 0 10px; font-weight: 900; letter-spacing: -1.5px; }
.page-hero .meta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: 14px; margin-bottom: 16px; }

.ep-list { display: flex; flex-direction: column; gap: 12px; }
.ep-item { display: grid; grid-template-columns: 46px 210px 1fr; gap: 20px; align-items: center; padding: 16px; border-radius: 8px; cursor: pointer; transition: background 0.2s; }
.ep-item:hover { background: #141414; }
.ep-item .no { font-size: 26px; font-weight: 700; color: #fff; text-align: center; }
.ep-item .thumb { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 16/9; background: #101010; }
.ep-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.ep-item .thumb .mini-play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,0.35); opacity: 0; transition: opacity 0.2s; }
.ep-item:hover .thumb .mini-play { opacity: 1; }
.ep-item .thumb .mini-play svg { width: 42px; height: 42px; fill: #fff; }
.ep-item .t { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.ep-item .t .rt { margin-left: auto; color: var(--muted); font-weight: 400; font-size: 14px; }
.ep-item p { margin: 0; font-size: 14px; line-height: 1.5; color: #c9c9c9; }
.ep-item .prog { margin-top: 8px; height: 3px; background: #333; border-radius: 2px; overflow: hidden; }
.ep-item .prog i { display: block; height: 100%; background: var(--red); }

/* =========================================================================
   CONTINUE WATCHING
   ========================================================================= */
.continue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  padding: 26px 4vw 70px;
}
.ccard {
  background: var(--panel-2);
  border: 1px solid #1f1f1f;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
  animation: fade-in 0.4s var(--ease) both;
}
.ccard:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #2e2e2e; }
.ccard-thumb { position: relative; aspect-ratio: 16 / 9; background: #101010; cursor: pointer; overflow: hidden; }
.ccard-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.ccard:hover .ccard-thumb img { transform: scale(1.05); }
.ccard-badge {
  position: absolute; left: 10px; top: 10px; z-index: 2;
  background: rgba(0,0,0,0.78); border: 1px solid #3a3a3a; color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: 0.5px; padding: 3px 8px; border-radius: 4px;
}
.ccard-play {
  position: absolute; inset: 0; z-index: 1; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 50%, rgba(0,0,0,0.1), rgba(0,0,0,0.55));
  opacity: 0; transition: opacity 0.25s;
}
.ccard-play svg { width: 52px; height: 52px; fill: #fff; filter: drop-shadow(0 3px 10px rgba(0,0,0,0.8)); }
.ccard:hover .ccard-play { opacity: 1; }
.ccard-body { padding: 15px 16px 18px; }
.ccard-body h3 { margin: 0 0 5px; font-size: 17px; font-weight: 700; letter-spacing: -0.2px; }
.ccard-sub { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.ccard-bar { height: 4px; background: #333; border-radius: 3px; overflow: hidden; margin-bottom: 16px; }
.ccard-bar i { display: block; height: 100%; background: var(--cc, var(--red)); transition: width 0.3s var(--ease); }
.ccard-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ccard-actions .btn { padding: 9px 16px; font-size: 14px; }

/* =========================================================================
   PLAYER
   ========================================================================= */
.player-root { position: fixed; inset: 0; background: #000; z-index: 100; }
.player-root video { width: 100%; height: 100%; object-fit: contain; background: #000; }

.player-ui { position: absolute; inset: 0; opacity: 1; transition: opacity 0.3s; }
.player-ui.idle { opacity: 0; cursor: none; }
.player-ui.idle * { cursor: none; }

.player-top { position: absolute; top: 0; left: 0; right: 0; padding: 20px 26px; display: flex; align-items: center; gap: 18px; background: linear-gradient(180deg, rgba(0,0,0,0.8), transparent); }
.player-back { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 700; font-size: 16px; color: #fff; }
.player-back svg { width: 24px; height: 24px; fill: #fff; }
.player-top .now { font-size: 14px; color: #cfcfcf; }
.player-top .now b { color: #fff; }

.player-center { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.player-center .big { pointer-events: auto; }
.spin { width: 68px; height: 68px; border-radius: 50%; border: 4px solid rgba(255,255,255,0.2); border-top-color: var(--red); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.big-skip { width: 96px; height: 96px; border-radius: 50%; background: rgba(0,0,0,0.55); border: 2px solid rgba(255,255,255,0.7); display: grid; place-items: center; cursor: pointer; }
.big-skip:hover { background: rgba(229,9,20,0.85); border-color: var(--red); }
.big-skip svg { width: 46px; height: 46px; fill: #fff; }

.player-bottom { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 30px 22px; background: linear-gradient(0deg, rgba(0,0,0,0.92), transparent); }

.scrub { position: relative; height: 20px; display: flex; align-items: center; cursor: pointer; margin-bottom: 6px; }
.scrub .rail { position: relative; width: 100%; height: 5px; background: rgba(255,255,255,0.28); border-radius: 3px; transition: height 0.15s; }
.scrub:hover .rail { height: 8px; }
.scrub .buf { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(255,255,255,0.4); border-radius: 3px; }
.scrub .fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--red); border-radius: 3px; }
.scrub .knob { position: absolute; right: -8px; top: 50%; width: 17px; height: 17px; border-radius: 50%; background: var(--red); transform: translateY(-50%) scale(0); transition: transform 0.15s; box-shadow: 0 0 0 4px rgba(0,0,0,0.4); }
.scrub:hover .knob { transform: translateY(-50%) scale(1); }
.scrub .tip { position: absolute; bottom: 26px; transform: translateX(-50%); background: #000; border: 1px solid #333; padding: 3px 8px; border-radius: 4px; font-size: 12px; opacity: 0; transition: opacity 0.15s; pointer-events: none; white-space: nowrap; }
.scrub:hover .tip { opacity: 1; }

.controls { display: flex; align-items: center; gap: 20px; }
.controls .grow { flex: 1; }
.ctl { background: none; border: 0; color: #fff; cursor: pointer; display: grid; place-items: center; padding: 4px; opacity: 0.92; transition: transform 0.15s, opacity 0.2s; }
.ctl:hover { opacity: 1; transform: scale(1.12); }
.ctl svg { width: 30px; height: 30px; fill: #fff; }
.ctl.small svg { width: 26px; height: 26px; }
.timecode { font-size: 13.5px; color: #e6e6e6; font-variant-numeric: tabular-nums; letter-spacing: 0.4px; }
.timecode b { color: #fff; }

.vol-wrap { display: flex; align-items: center; gap: 8px; }
.vol-slider { width: 0; opacity: 0; transition: width 0.2s, opacity 0.2s; }
.vol-wrap:hover .vol-slider, .vol-wrap:focus-within .vol-slider { width: 90px; opacity: 1; }
input[type=range] { -webkit-appearance: none; appearance: none; height: 4px; border-radius: 2px; background: #5a5a5a; outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: #fff; cursor: pointer; }
input[type=range].red::-webkit-slider-thumb { background: var(--red); }

.settings-pop { position: absolute; right: 30px; bottom: 92px; background: rgba(20,20,20,0.98); border: 1px solid #2f2f2f; border-radius: 8px; padding: 12px 0; min-width: 220px; box-shadow: var(--shadow); }
.settings-pop h4 { margin: 4px 16px 8px; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--dim); font-weight: 500; }
.settings-pop .opt { padding: 8px 16px; font-size: 14px; cursor: pointer; display: flex; align-items: center; gap: 10px; }
.settings-pop .opt:hover { background: #2a2a2a; }
.settings-pop .opt .tick { margin-left: auto; color: var(--red); font-weight: 700; }
.settings-pop .opt .tick.hide { visibility: hidden; }

.next-up {
  position: absolute; right: 34px; bottom: 120px; width: 340px;
  background: rgba(20,20,20,0.95); border: 1px solid #2f2f2f; border-radius: 8px; padding: 16px; box-shadow: var(--shadow);
  animation: fade-in 0.3s var(--ease);
}
.next-up .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 1.4px; color: var(--dim); margin-bottom: 10px; }
.next-up .thumb { border-radius: 6px; overflow: hidden; aspect-ratio: 16/9; margin-bottom: 10px; background: #000; }
.next-up .thumb img { width: 100%; height: 100%; object-fit: cover; }
.next-up h4 { margin: 0 0 4px; font-size: 16px; }
.next-up .count { color: var(--muted); font-size: 13px; }
.next-up .bar { height: 3px; background: #333; border-radius: 2px; margin-top: 10px; overflow: hidden; }
.next-up .bar i { display: block; height: 100%; background: var(--red); width: 0%; }
.next-up .row-btns { display: flex; gap: 10px; margin-top: 12px; }
.next-up .row-btns .btn { padding: 8px 16px; font-size: 14px; }

/* Resume toast ----------------------------------------------------------- */
.toast-wrap { position: fixed; right: 22px; bottom: 22px; z-index: 130; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.toast { background: rgba(25,25,25,0.98); border: 1px solid #333; border-left: 4px solid var(--red); border-radius: 6px; padding: 12px 16px; font-size: 14px; color: #fff; box-shadow: var(--shadow); animation: toast-in 0.35s var(--ease); display: flex; align-items: center; gap: 12px; }
@keyframes toast-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.toast .acts { display: flex; gap: 8px; }
.toast button { background: var(--red); color: #fff; border: 0; padding: 6px 12px; border-radius: 4px; cursor: pointer; font-size: 13px; font-weight: 700; }
.toast button.ghost { background: transparent; border: 1px solid #444; }

/* Skeleton --------------------------------------------------------------- */
.sk { background: linear-gradient(100deg, #161616 30%, #222 50%, #161616 70%); background-size: 220% 100%; animation: sk 1.3s infinite linear; border-radius: var(--radius); }
@keyframes sk { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.sk-card { width: var(--card-w); aspect-ratio: 16/9; flex: none; }

.empty { text-align: center; padding: 90px 20px; color: var(--dim); }
.empty h3 { color: #fff; font-size: 24px; margin-bottom: 8px; }
.empty svg { width: 54px; height: 54px; fill: #333; margin-bottom: 14px; }

/* =========================================================================
   CINEMA LAYER — the 2026 pass
   Scroll spark, cursor glow, film grain, vignette, intro, hero video,
   hover previews, 3D cards, player bursts.
   ========================================================================= */

/* Intro splash ----------------------------------------------------------- */
#intro {
  position: fixed; inset: 0; z-index: 300; background: #000;
  display: grid; place-items: center; overflow: hidden;
}
#intro.gone { animation: intro-out 0.7s var(--ease) forwards; pointer-events: none; }
@keyframes intro-out { to { opacity: 0; visibility: hidden; transform: scale(1.07); } }

.intro-mark {
  position: relative; z-index: 2;
  font-weight: 900; font-size: clamp(58px, 13vw, 180px);
  letter-spacing: 0.1em; color: var(--red); line-height: 1;
  text-shadow: 0 0 70px rgba(229, 9, 20, 0.55), 0 0 22px rgba(229, 9, 20, 0.35);
  animation: intro-mark 1.6s var(--ease) both;
}
.intro-mark b { color: #fff; }
@keyframes intro-mark {
  0% { transform: scale(0.84); opacity: 0; filter: blur(16px); letter-spacing: 0.42em; }
  45% { opacity: 1; }
  100% { transform: scale(1); opacity: 1; filter: blur(0); letter-spacing: 0.1em; }
}
.intro-sweep {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,0.55) 50%, transparent 58%);
  transform: translateX(-130%);
  animation: sweep 1.5s 0.34s var(--ease) both;
  mix-blend-mode: overlay;
}
@keyframes sweep { to { transform: translateX(130%); } }
.intro-sub {
  position: absolute; bottom: 15vh; z-index: 2;
  letter-spacing: 0.5em; font-size: 11px; color: var(--dim); text-transform: uppercase;
  animation: fade-in 1s 0.85s both;
}

/* Scroll spark ----------------------------------------------------------- */
#scrollspark {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--red-dark), var(--red), #ff6b6b);
  box-shadow: 0 0 16px rgba(229, 9, 20, 0.85);
  z-index: 210; pointer-events: none; transition: opacity 0.35s;
}
#scrollspark.hide { opacity: 0; }

/* Cursor glow ------------------------------------------------------------ */
#cursorglow {
  position: fixed; width: 640px; height: 640px; margin: -320px 0 0 -320px;
  border-radius: 50%; pointer-events: none; z-index: 1; opacity: 0;
  background: radial-gradient(circle, rgba(229, 9, 20, 0.13), transparent 62%);
  mix-blend-mode: screen; transition: opacity 0.5s var(--ease);
  will-change: transform;
}
body.glow-on #cursorglow { opacity: 1; }

/* Film grain + vignette -------------------------------------------------- */
#grain {
  position: fixed; inset: -60%; pointer-events: none; z-index: 150; opacity: 0;
  transition: opacity 0.45s var(--ease);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.5s steps(2) infinite;
}
body.cinema #grain { opacity: 0.085; }
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  50% { transform: translate(-2%, 1.4%); }
  100% { transform: translate(1.5%, -2%); }
}
#vignette {
  position: fixed; inset: 0; pointer-events: none; z-index: 149;
  box-shadow: inset 0 0 240px rgba(0, 0, 0, 0.9), inset 0 0 70px rgba(0, 0, 0, 0.6);
  opacity: 0.35; transition: opacity 0.45s var(--ease);
}
body.cinema #vignette { opacity: 1; }

/* Nav polish ------------------------------------------------------------- */
.nav.solid {
  background: rgba(8, 8, 8, 0.78);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
.nav-links a { position: relative; padding: 3px 1px; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px;
  background: var(--red); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.28s var(--ease);
  box-shadow: 0 0 10px rgba(229, 9, 20, 0.9);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.brand span, .brand b { display: inline-block; transition: transform 0.3s var(--ease); }
.brand:hover span { transform: translateY(-2px) rotate(-3deg); }
.brand:hover b { transform: translateX(2px); }
.icon-btn.mode-on { color: var(--red); filter: drop-shadow(0 0 8px rgba(229, 9, 20, 0.8)); }

/* Hero carousel ---------------------------------------------------------- */
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 22%;
  opacity: 0; transform: scale(1.05);
  transition: opacity 1.1s var(--ease), transform 9s linear;
}
.hero-slide.on { opacity: 1; transform: scale(1.16); }

.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; pointer-events: none;
  transition: opacity 1.1s var(--ease);
  filter: saturate(1.12) contrast(1.04);
}
.hero-video.on { opacity: 1; }

.hero-content.swap { animation: hero-swap 0.65s var(--ease); }
@keyframes hero-swap {
  from { opacity: 0; transform: translateY(18px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}

.hero-dots { position: absolute; right: 4vw; bottom: 10.5vh; z-index: 5; display: flex; gap: 9px; }
.hero-dot {
  width: 44px; height: 3px; padding: 0; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.28); position: relative; overflow: hidden;
}
.hero-dot i { position: absolute; inset: 0; transform: scaleX(0); transform-origin: left; background: var(--red); }
.hero-dot.on i { animation: dotfill var(--dot-ms, 9000ms) linear forwards; }
.hero-dot:hover { background: rgba(255, 255, 255, 0.5); }
.hero:hover .hero-dot.on i { animation-play-state: paused; }
@keyframes dotfill { to { transform: scaleX(1); } }

.hero-live {
  display: inline-flex; align-items: center; gap: 7px; margin-left: 4px;
  font-size: 11px; letter-spacing: 1.5px; color: #ddd; text-transform: uppercase;
}
.hero-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #46d369; box-shadow: 0 0 10px #46d369; animation: pulse 1.6s infinite; }

/* 3D cards + sheen ------------------------------------------------------- */
.card, .ccard { --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%; transform-style: preserve-3d; }
.card:hover { transform: perspective(1300px) rotateX(var(--rx)) rotateY(var(--ry)) scale(1.14); }
.ccard:hover { transform: perspective(1300px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-5px); }
.card-sheen {
  position: absolute; inset: 0; z-index: 7; pointer-events: none; opacity: 0;
  transition: opacity 0.28s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.18), transparent 62%);
}
.card:hover .card-sheen, .ccard:hover .card-sheen { opacity: 1; }
.card.previewing .card-play { opacity: 0; }

.card-preview {
  position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 0.45s var(--ease);
}

/* Player bursts ---------------------------------------------------------- */
.seek-burst {
  position: absolute; top: 50%; z-index: 6; pointer-events: none;
  width: 74px; height: 74px; border-radius: 50%;
  background: rgba(0, 0, 0, 0.45); border: 2px solid rgba(255, 255, 255, 0.6);
  display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff;
  animation: burst 0.62s var(--ease) forwards;
}
.seek-burst.l { left: 18%; }
.seek-burst.r { left: 78%; }
.seek-burst svg { width: 34px; height: 34px; fill: #fff; }
@keyframes burst {
  from { opacity: 0.95; transform: translate(-50%, -50%) scale(0.7); }
  to { opacity: 0; transform: translate(-50%, -50%) scale(1.5); }
}

.player-hello {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 122px; height: 122px; border-radius: 50%; z-index: 5; pointer-events: none;
  background: rgba(0, 0, 0, 0.5); display: grid; place-items: center;
  animation: hello 0.55s var(--ease) both;
}
.player-hello svg { width: 62px; height: 62px; fill: #fff; }
@keyframes hello {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.72); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.spin-wrap { position: relative; display: grid; place-items: center; }
.spin-pc {
  position: absolute; font-size: 12px; font-weight: 700; color: #fff;
  font-variant-numeric: tabular-nums;
}

/* Keyboard help overlay -------------------------------------------------- */
.keys-pop {
  position: absolute; inset: 0; z-index: 8; display: grid; place-items: center;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
  animation: fade-in 0.22s var(--ease);
}
.keys-card {
  width: min(600px, 90vw); background: #141414; border: 1px solid #2b2b2b;
  border-radius: 12px; padding: 28px 32px; box-shadow: var(--shadow);
}
.keys-card h3 { margin: 0 0 20px; font-size: 20px; letter-spacing: -0.3px; }
.keys-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 30px; font-size: 14px; color: #ddd; }
.keys-grid div { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #232323; padding-bottom: 9px; }
kbd {
  background: #262626; border: 1px solid #3d3d3d; border-bottom-width: 2px;
  border-radius: 5px; padding: 2px 8px; font-family: inherit; font-size: 12px; color: #fff;
}
.keys-foot { margin-top: 20px; font-size: 13px; color: var(--dim); }

/* Skeleton polish -------------------------------------------------------- */
.sk-hero { height: 56vh; min-height: 320px; border-radius: 0 0 14px 14px; }
.sk-brand { width: 120px; height: 26px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-video, .card, .ccard, .card-sheen { transition: none !important; animation: none !important; }
  #grain, #cursorglow { display: none; }
  .hero-dot.on i { animation: none; transform: scaleX(1); }
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1100px) {
  .modal-body { grid-template-columns: 1fr; }
  .page-hero { grid-template-columns: 200px 1fr; }
  .ep-item { grid-template-columns: 40px 160px 1fr; }
}
@media (max-width: 760px) {
  :root { --card-w: 230px; --nav-h: 58px; }
  .nav-links { display: none; }
  .hero { height: 74vh; min-height: 440px; }
  .hero-title { letter-spacing: -2px; }
  .page-hero { grid-template-columns: 1fr; }
  .page-hero .poster { max-width: 220px; }
  .ep-item { grid-template-columns: 1fr; }
  .ep-item .no { display: none; }
  .search.open input, .search:focus-within input { width: 130px; }
  .next-up { width: min(340px, 90vw); right: 5vw; }
  .hero-dots { bottom: 8vh; gap: 6px; }
  .hero-dot { width: 26px; }
  .keys-grid { grid-template-columns: 1fr; }
  #cursorglow { display: none; }
}

/* =========================================================================
   XRALE v2 — multi-show + picture pipeline additions
   ========================================================================= */

/* per-show accent propagation */
.hero-eyebrow { gap: 10px; }
.hero-live { background: rgba(255,255,255,0.08); padding: 1px 8px; border-radius: 999px; font-size: 12px; color: #fff; font-weight: 700; letter-spacing: 0.2px; }
.row-title small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 400; margin-top: 2px; }

/* card placeholder art + missing-file state */
.card-ph { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; }
.card-ph b { font-size: 42px; font-weight: 900; color: rgba(255,255,255,0.85); }
.card-ph span { font-size: 12px; letter-spacing: 2px; color: rgba(255,255,255,0.5); margin-top: 4px; }
.card-ph img, .card-thumb img.card-ph { display: none; }
.card-miss { position: absolute; top: 8px; left: 8px; z-index: 5; background: rgba(15,15,15,0.78); border: 1px solid #444; color: #bbb; font-size: 10.5px; letter-spacing: 1px; padding: 3px 7px; border-radius: 4px; }
.card.missing .card-thumb { opacity: 0.5; }
.card.missing .card-overlay .t { color: var(--muted); }
.ep-item.missing .no { opacity: 0.35; }
.thum-miss { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(5,5,5,0.72); color: #999; font-size: 11px; letter-spacing: 2px; }

/* shows page / vitrin */
.shows-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px; padding: 30px 4vw 70px; }
.show-tile { cursor: pointer; border-radius: var(--radius); overflow: hidden; background: #121212; border: 1px solid #1f1f1f; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s; outline: none; }
.show-tile:hover, .show-tile:focus-visible { transform: translateY(-6px); border-color: #333; box-shadow: var(--shadow); }
.show-art { position: relative; aspect-ratio: 16/9.4; overflow: hidden; }
.show-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.show-tile:hover .show-art img { transform: scale(1.05); }
.show-tag { position: absolute; top: 12px; right: 12px; color: #0a0a0a; font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 5px; box-shadow: 0 3px 10px rgba(0,0,0,0.5); }
.show-meta { padding: 14px 16px 18px; }
.show-meta h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -0.3px; }
.show-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.show-chips span { font-size: 12px; color: var(--muted); border: 1px solid #2c2c2c; padding: 1px 8px; border-radius: 999px; }
.show-meta p { margin: 0; font-size: 13px; line-height: 1.5; color: #b9b9b9; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* season tabs */
.tabbar { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0 22px; }
.tab { background: #141414; border: 1px solid #262626; color: var(--muted); font-size: 14px; font-weight: 600; padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: all 0.2s; }
.tab:hover { color: #fff; border-color: #3c3c3c; }
.tab.on { background: var(--acc, var(--red)); border-color: var(--acc, var(--red)); color: #0a0a0a; font-weight: 800; }

/* picture-settings panel */
.set-panel { position: absolute; right: 26px; bottom: 96px; width: 330px; max-height: calc(100% - 140px); overflow-y: auto; background: rgba(14,14,14,0.96); border: 1px solid #2c2c2c; border-radius: 14px; padding: 16px 18px 18px; z-index: 60; backdrop-filter: blur(14px); box-shadow: 0 24px 60px rgba(0,0,0,0.7); }
.set-panel::-webkit-scrollbar { width: 6px; }
.set-panel::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
.set-h { margin: 14px 0 8px; font-size: 11px; text-transform: uppercase; letter-spacing: 1.6px; color: var(--dim); }
.set-h:first-child { margin-top: 0; }
.set-row { margin-bottom: 10px; }
.set-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 5px; }
.set-head > span { font-size: 13.5px; color: #e8e8e8; }
.set-val { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.set-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 3px; background: #333; outline: none; cursor: pointer; }
.set-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--acc, var(--red)); border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.6); transition: transform 0.15s; }
.set-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.set-slider::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--acc, var(--red)); border: 2px solid #fff; }
.set-slider::-moz-range-track { height: 4px; border-radius: 3px; background: #333; }
.set-seg { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.seg-btn { flex: 1 1 48px; background: #1a1a1a; border: 1px solid #2b2b2b; color: var(--muted); font-size: 12.5px; font-weight: 600; padding: 8px 6px; border-radius: 8px; cursor: pointer; transition: all 0.18s; }
.seg-btn:hover { color: #fff; }
.seg-btn.on { background: var(--acc, var(--red)); border-color: var(--acc, var(--red)); color: #0a0a0a; font-weight: 800; }
.preset-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 4px; }
.chip { background: transparent; border: 1px solid #333; color: #d5d5d5; font-size: 12px; padding: 6px 12px; border-radius: 999px; cursor: pointer; transition: all 0.18s; }
.chip:hover { border-color: #666; color: #fff; background: #1c1c1c; }
.switch { background: #1a1a1a; border: 1px solid #2f2f2f; color: var(--muted); font-size: 12px; padding: 5px 12px; border-radius: 999px; cursor: pointer; transition: all 0.18s; }
.switch.on { background: var(--acc, var(--red)); border-color: var(--acc, var(--red)); color: #0a0a0a; font-weight: 800; }
.set-foot { display: flex; gap: 8px; margin: 4px 0 2px; }
.btn.smallish { padding: 9px 13px; font-size: 12.5px; }
.set-foot .btn-ghost { border-color: #333; }

/* ambient light */
.player-root { --amb-r: 0; --amb-g: 0; --amb-b: 0; }
.ambient { position: absolute; inset: -8%; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; background: radial-gradient(110% 85% at 50% 52%, rgb(var(--amb-r), var(--amb-g), var(--amb-b)) 0%, rgba(0,0,0,0) 68%); filter: blur(34px); }
.player-root.ambient-on .ambient { opacity: 0.55; }
.player-root.ambient-on video { transition: filter 0.25s linear; }

/* skip intro */
.skip-btn { position: absolute; right: 30px; bottom: 110px; z-index: 55; background: rgba(20,20,20,0.92); border: 1px solid #3a3a3a; color: #fff; font-size: 14px; font-weight: 600; padding: 10px 16px; border-radius: 6px; cursor: pointer; transition: opacity 0.35s; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.skip-btn.gone { opacity: 0; }
.skip-btn:hover { background: #0a0a0a; }

/* command palette */
.palette-backdrop { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,0.72); backdrop-filter: blur(6px); display: flex; justify-content: center; align-items: flex-start; padding-top: 14vh; }
.palette { width: min(600px, 92vw); background: #101010; border: 1px solid #292929; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 90px rgba(0,0,0,0.8); animation: fade-up 0.28s var(--ease); }
.palette input { width: 100%; background: transparent; border: 0; outline: none; color: #fff; font-size: 17px; padding: 20px 22px; border-bottom: 1px solid #232323; }
.palette input::placeholder { color: #4d4d4d; }
.palette-list { max-height: min(52vh, 420px); overflow-y: auto; padding: 8px; }
.palette-list::-webkit-scrollbar { width: 6px; }
.palette-list::-webkit-scrollbar-thumb { background: #2e2e2e; border-radius: 3px; }
.pl-item { display: flex; align-items: center; gap: 14px; padding: 9px 12px; border-radius: 9px; cursor: pointer; }
.pl-item.sel, .pl-item:hover { background: #1d1d1d; }
.pl-thumb { width: 96px; height: 56px; flex: none; border-radius: 6px; background-size: cover; background-position: center; display: grid; place-items: center; color: rgba(255,255,255,0.55); font-size: 10px; letter-spacing: 1.5px; }
.pl-meta { min-width: 0; }
.pl-title { font-size: 14.5px; color: #fff; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.palette-foot { padding: 10px 20px; font-size: 11.5px; color: var(--dim); border-top: 1px solid #1f1f1f; }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }

/* profile picker */
.profile-grid { display: flex; flex-wrap: wrap; gap: 20px; padding: 22px 28px 10px; }
.pcard { text-align: center; cursor: pointer; border: 2px solid transparent; border-radius: 12px; padding: 12px 14px; transition: all 0.2s; }
.pcard:hover { border-color: #333; }
.pcard.on { border-color: var(--red); }
.pcard.on .pname { color: #fff; }
.pavatar { width: 92px; height: 92px; border-radius: 12px; display: grid; place-items: center; font-size: 40px; font-weight: 900; color: #fff; margin-bottom: 10px; box-shadow: inset 0 -18px 30px rgba(0,0,0,0.45); position: relative; }
.pavatar svg { width: 30px; height: 30px; fill: rgba(255,255,255,0.85); }
.pname { font-size: 14px; color: var(--muted); }
.pcur { font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--red); margin-top: 5px; }
.pcard.add .pavatar { border: 2px dashed #3a3a3a; background: transparent !important; box-shadow: none; }

/* shuffle */
.shuffle-card { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 40px 20px; border: 1px dashed #2c2c2c; border-radius: var(--radius); background: linear-gradient(180deg, #101010, #0b0b0b); cursor: pointer; transition: all 0.25s; }
.shuffle-card:hover { border-color: var(--red); background: linear-gradient(180deg, #161616, #0d0d0d); }
.shuffle-icon { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: var(--red); box-shadow: 0 0 34px rgba(229,9,20,0.5); animation: shuffle-spin 5s linear infinite; }
.shuffle-icon svg { width: 30px; height: 30px; fill: #0a0a0a; }
.shuffle-txt { text-align: center; }
.shuffle-txt b { font-size: 18px; display: block; margin-bottom: 5px; }
.shuffle-txt span { color: var(--muted); font-size: 13px; }
@keyframes shuffle-spin { to { transform: rotate(360deg); } }

/* modal additions */
.modal-hero-inner .m-show { font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 6px; }
.modal-ph { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; }

/* responsive tighten */
@media (max-width: 900px) {
  .set-panel { right: 12px; left: 12px; width: auto; bottom: 130px; }
  .shows-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
}

/* =========================================================================
   v4 — polished rows, show tiles, archive wall, nuke buttons
   ========================================================================= */

/* ---- continue-nuke buttons (card x) ----------------------------------- */
.card-x, .ccard-x {
  position: absolute; top: 8px; right: 8px; z-index: 6;
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(12, 12, 12, 0.82); border: 1px solid rgba(255,255,255,0.22);
  color: #fff; cursor: pointer; backdrop-filter: blur(4px);
  opacity: 0; transform: scale(0.8); transition: all 0.22s var(--ease);
}
.card:hover .card-x, .ccard:hover .ccard-x { opacity: 1; transform: scale(1); }
.card-x svg, .ccard-x svg { width: 13px; height: 13px; fill: #fff; }
.card-x:hover, .ccard-x:hover { background: var(--red); border-color: var(--red); transform: scale(1.08); }

/* ---- show tiles (En iyiler + genre rows, Netflix poster style) ------- */
.row-track.shows { gap: 14px; padding: 6px 0 10px; }
.shcard {
  position: relative; flex: 0 0 auto; width: 168px; cursor: pointer;
  transition: transform 0.28s var(--ease), filter 0.28s var(--ease);
}
.shcard:hover { transform: translateY(-6px) scale(1.03); z-index: 2; }
.shcard-art {
  position: relative; aspect-ratio: 2 / 3; border-radius: var(--radius);
  overflow: hidden; background: #101010; box-shadow: 0 10px 30px rgba(0,0,0,0.55);
}
.shcard-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s var(--ease), filter 0.3s var(--ease); }
.shcard:hover .shcard-art img { transform: scale(1.06); filter: brightness(0.75) saturate(1.08); }
.shcard-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.35) 100%); }
.shcard-play {
  position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%) scale(0.6);
  width: 46px; height: 46px; border-radius: 50%; z-index: 3;
  background: rgba(229,9,20,0.92); color: #fff; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: all 0.25s var(--ease); box-shadow: 0 6px 18px rgba(229,9,20,0.5);
}
.shcard-play svg { width: 20px; height: 20px; fill: #fff; }
.shcard:hover .shcard-play { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.shcard-sub { padding: 10px 2px 0; }
.shcard-sub h3 {
  margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -0.2px; line-height: 1.25;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff;
}
.shcard-sub span { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }

/* ranked (Top-10) numbering */
.row-track.shows.ranked .shcard { width: 200px; }
.row-track.shows.ranked .rank-digit {
  position: absolute; z-index: 4; left: -24px; top: 0;
  font-size: 128px; font-weight: 900; line-height: 1; letter-spacing: -8px;
  color: rgba(109, 109, 110, 0.55);
  text-shadow: 0 8px 28px rgba(0,0,0,0.7);
  pointer-events: none;
  font-family: "Netflix Sans", "Segoe UI", system-ui, sans-serif;
}
.row-track.shows.ranked .shcard-art { margin-left: 60px; }

/* ---- typography + motion polish (proportional, smoother) -------------- */
.row-title { font-size: clamp(18px, 1.55vw, 24px); letter-spacing: -0.4px; display: flex; align-items: baseline; min-width: 0; }
.row-title small { font-size: 13px; margin-left: 10px; color: var(--dim); font-weight: 400; letter-spacing: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-head { padding: 0 4vw 8px; }
.row-explore { margin-left: auto; font-size: 13px; color: var(--dim); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; transition: color 0.2s var(--ease); }
.row-explore:hover { color: #fff; }
.row-explore svg { width: 15px; height: 15px; fill: currentColor; transform: translateY(-1px); }

.row-track { scroll-behavior: smooth; gap: 12px; }
.card { transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-radius 0.28s var(--ease); }
.card-body .syn { letter-spacing: 0.1px; }
.card-overlay .t { letter-spacing: -0.2px; line-height: 1.3; }
.ccard-body h3 { letter-spacing: -0.25px; line-height: 1.3; }

.hero-title { line-height: 0.95; letter-spacing: -1.5px; }
.hero-dot { transition: all 0.22s var(--ease); }
.hero-dot.on { transform: scale(1.25); }

.row-arrow { transition: opacity 0.25s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease); }
.row-arrow:hover { transform: scale(1.06); }

.shows-grid { gap: 18px; }
.show-tile { transition: transform 0.28s var(--ease); }
.show-tile:hover { transform: translateY(-5px); }
.show-tile .show-meta, .show-meta h2 { letter-spacing: -0.3px; }

@media (max-width: 700px) {
  .row-track.shows.ranked .rank-digit { font-size: 88px; left: -12px; }
  .row-track.shows.ranked .shcard-art { margin-left: 36px; }
  .shcard { width: 138px; }
}

/* ---- card hover overlay: Netflix-style, over the art, fades in -------- */
.card-overlay {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
  padding: 34px 12px 10px;
  background: linear-gradient(0deg, rgba(0,0,0,0.94), rgba(0,0,0,0) 75%);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s var(--ease);
}
.card:hover .card-overlay, .card:focus .card-overlay { opacity: 1; }
.card-overlay .t { font-size: 15px; font-weight: 700; letter-spacing: -0.2px; }
.card-overlay .d { font-size: 12px; color: var(--muted); margin-top: 3px; }

/* ---- profile gate (first-run "Kim izliyor?") --------------------------- */
.profile-gate {
  position: fixed; inset: 0; z-index: 999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 34px; padding: 40px 6vw; text-align: center;
  background:
    radial-gradient(1200px 500px at 20% -10%, rgba(229,9,20,0.16), transparent 60%),
    radial-gradient(900px 420px at 85% 110%, rgba(229,9,20,0.10), transparent 55%),
    #0a0a0a;
}
.profile-gate h1 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -1px; margin: 0; }
.gate-create { width: min(560px, 92vw); }
.gate-create.compact { margin-top: 8px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.08); }
.gate-create h2 { margin: 0; font-size: 20px; }
.gate-create-row { display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
.gate-name {
  width: 100%; padding: 13px 16px; font-size: 15px; border-radius: var(--radius);
  background: #161616; border: 1px solid rgba(255,255,255,0.16); color: #fff;
  outline: none; box-sizing: border-box;
}
.gate-name:focus { border-color: var(--red); }
.gate-chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.chip {
  width: 30px; height: 30px; border-radius: 50%; border: 2px solid transparent;
  background: var(--cc); cursor: pointer; padding: 0; transition: transform 0.2s var(--ease), border-color 0.2s;
}
.chip:hover { transform: scale(1.12); }
.chip.on { border-color: #fff; transform: scale(1.15); box-shadow: 0 0 0 3px rgba(255,255,255,0.15); }
.gate-go { justify-content: center; padding: 12px 22px; font-size: 15px; }
.gate-name.shake { animation: gateShake 0.4s; border-color: var(--red); }
@keyframes gateShake { 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
.profile-gate .profile-grid { max-width: 760px; }

/* =========================================================================
   XRALE v5 — the 500x pass. proportional type, cinematic glow, quiet teeth.
   ========================================================================= */

:root {
  --glow: rgba(229, 9, 20, 0.55);
  --line: rgba(255, 255, 255, 0.08);
  --hero-grad: linear-gradient(0deg, #000 0%, rgba(0,0,0,0.35) 45%, transparent 70%);
}

/* ---- shell atmosphere -------------------------------------------------- */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 420px at 82% -8%, rgba(229,9,20,0.07), transparent 60%),
    radial-gradient(700px 380px at 8% 108%, rgba(229,9,20,0.05), transparent 55%);
}
.view { position: relative; z-index: 1; }

/* ---- nav: glass when pinned -------------------------------------------- */
.nav.solid {
  height: 62px;
  background: rgba(12, 12, 12, 0.82);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 2px 22px rgba(0,0,0,0.55), 0 1px 0 var(--line);
}
.brand { letter-spacing: -2px; font-size: 29px; }
.brand b { font-weight: 900; }
.nav-links a { font-weight: 500; font-size: 14px; }
.nav-links a:hover, .nav-links a.active { text-shadow: 0 0 16px rgba(255,255,255,0.35); }

/* ---- hero: cinema ------------------------------------------------------- */
.hero { isolation: isolate; }
.hero-bg img { transform: scale(1.001); }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(720px 380px at 18% 30%, rgba(229,9,20,0.16), transparent 65%),
    linear-gradient(90deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.55) 40%, rgba(0,0,0,0.15) 70%, rgba(0,0,0,0.35) 100%);
}
.hero-content { z-index: 2; }
.hero-eyebrow { letter-spacing: 2.5px; font-size: 13px; text-transform: uppercase; color: #d9d9d9; }
.hero-title {
  font-size: clamp(44px, 6.4vw, 84px);
  font-weight: 900; letter-spacing: -2.5px; line-height: 0.98;
  margin-bottom: 14px;
  color: #fff;
  filter: drop-shadow(0 6px 22px rgba(0,0,0,0.8));
}
/* Every word is its own inline-block (the reveal animates its transform), and a
   parent's text-clip cannot reach into an inline-block child — so the gradient
   lives on the words themselves. On the parent it left the title invisible. */
.hero-title > span {
  background-image: linear-gradient(180deg, #fff 8%, #d4d4d4 58%, #9c9c9c 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* inline-block trims the leading space of the next word, so space them by hand */
.hero-title > span + span { margin-left: 0.26em; }
.hero-title > span.accent {
  background-image: none;
  -webkit-text-fill-color: currentColor;
  color: var(--acc, var(--red));
}
.hero-desc { font-size: 18px; line-height: 1.55; color: #f0f0f0; max-width: 40rem; }
.hero-meta { font-size: 15px; color: #e0e0e0; }
.hero-fade-bottom { height: 190px; }

/* ---- rows: rhythm + proportional type ---------------------------------- */
.rows { margin-top: -84px; padding-bottom: 80px; }
.row { margin: 0 0 30px; }
.row-head { padding: 0 4vw 10px; }
.row-title {
  font-size: clamp(19px, 1.7vw, 23px);
  font-weight: 700; letter-spacing: -0.4px; line-height: 1.15;
}
.row-title small { font-size: 13px; letter-spacing: 0; margin-left: 8px; opacity: 0.85; }
.row-explore { font-size: 13px; gap: 7px; transform: translateX(4px); }
.row:hover .row-explore { opacity: 1; transform: translateX(0); }
.row-track { scroll-behavior: smooth; }
.row-arrow { background: rgba(0,0,0,0.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* rows drift up as they enter */
.rows .row { animation: row-rise 0.55s var(--ease) both; }
.rows .row:nth-child(1) { animation-delay: 0.03s; }
.rows .row:nth-child(2) { animation-delay: 0.09s; }
.rows .row:nth-child(3) { animation-delay: 0.15s; }
.rows .row:nth-child(4) { animation-delay: 0.21s; }
.rows .row:nth-child(5) { animation-delay: 0.27s; }
.rows .row:nth-child(6) { animation-delay: 0.33s; }
.rows .row:nth-child(7) { animation-delay: 0.39s; }
.rows .row:nth-child(8) { animation-delay: 0.45s; }
@keyframes row-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---- cards: glow + bite -------------------------------------------------- */
.card { border-radius: 8px; }
.card:hover {
  transform: scale(1.14);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.22), 0 18px 44px rgba(0,0,0,0.85), 0 0 32px rgba(229,9,20,0.18);
}
.card-thumb img { transition: transform 0.5s var(--ease); }
.card:hover .card-thumb img { transform: scale(1.07); }
.card-overlay .t { letter-spacing: -0.2px; }
.card-progress i { border-radius: 0 2px 2px 0; }

/* ---- ranked digits: weight + a flicker of red --------------------------- */
.row-track.shows.ranked .rank-digit {
  font-size: 140px; letter-spacing: -10px;
  color: rgba(109, 109, 110, 0.6);
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
.shcard:hover .rank-digit { color: rgba(229, 9, 20, 0.55); transform: translateX(3px); }

/* ---- show cards ----------------------------------------------------------- */
.shcard { border-radius: 10px; transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease); }
.shcard:hover {
  transform: translateY(-7px) scale(1.03);
  box-shadow: 0 22px 48px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.16), 0 0 36px rgba(229,9,20,0.14);
}
.shcard-art::after {
  content: '';
  position: absolute; inset: 0; z-index: 2; opacity: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.55) 100%);
  transition: opacity 0.3s var(--ease);
}
.shcard:hover .shcard-art::after { opacity: 1; }
.shcard-art img { transition: transform 0.5s var(--ease); }
.shcard:hover .shcard-art img { transform: scale(1.06); }

/* ---- buttons -------------------------------------------------------------- */
.btn-primary {
  background: linear-gradient(180deg, #f60f1c, var(--red-dark));
  box-shadow: 0 8px 22px rgba(229, 9, 20, 0.4);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), filter 0.22s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(229, 9, 20, 0.55); filter: brightness(1.06); }
.btn-primary:active { transform: translateY(0) scale(0.98); }

/* ---- profile avatar / picker shine ---------------------------------------- */
.pavatar { box-shadow: 0 10px 26px rgba(0,0,0,0.6); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.pcard:hover .pavatar { transform: scale(1.06) rotate(-2deg); box-shadow: 0 14px 34px rgba(0,0,0,0.75); }
.pcard { transition: transform 0.25s var(--ease); }
.profile-gate h1 { letter-spacing: -1.5px; }
.profile-gate .pcard { cursor: pointer; }

/* ---- scrollbar teeth -------------------------------------------------------- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #303030; border-radius: 8px; border: 2px solid #000; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

/* ---- a11y: focus rings in brand color ---------------------------------------- */
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-radius: 4px; }

/* ---- continue row numbers stay proportional ---------------------------------- */
.ccard { border-radius: 8px; }

/* ---- per-episode cleanup button (continues) ----------------------------------- */
.card-clr, .ccard-clr {
  position: absolute; top: 8px; left: 8px; z-index: 6;
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(12, 12, 12, 0.82); border: 1px solid rgba(255,255,255,0.22);
  color: #fff; cursor: pointer; backdrop-filter: blur(4px);
  opacity: 0; transform: scale(0.8) rotate(-14deg); transition: all 0.22s var(--ease);
}
.card:hover .card-clr, .ccard:hover .ccard-clr { opacity: 1; transform: scale(1); }
.card-clr svg, .ccard-clr svg { width: 14px; height: 14px; fill: #fff; }
.card-clr:hover, .ccard-clr:hover { background: var(--red); border-color: var(--red); transform: scale(1.1) rotate(8deg); }

/* =========================================================================
   XRALE v6 — continue leads. type scale proportional, rows off the hero.
   ========================================================================= */

/* hero a touch shorter so the first row clears the fold nicely */
.hero { height: 74vh; min-height: 470px; max-height: 800px; }
.hero-content { padding: 0 4vw 7vh; }

/* rows: kill the negative overlap — sit below the hero, on black */
.rows { margin-top: 0; padding-top: 14px; padding-bottom: 96px; }
.row { margin: 0 0 36px; }
.row-head { padding: 0 4vw 14px; align-items: baseline; }

/* one proportional heading scale across every row */
.row-title {
  font-size: clamp(20px, 1.85vw, 25px);
  font-weight: 700; letter-spacing: -0.5px; line-height: 1.2;
}
.row-title small {
  font-size: clamp(12px, 1vw, 13.5px); font-weight: 400;
  letter-spacing: 0.1px; margin-left: 10px; color: var(--dim);
}

/* ---- featured continue row: louder, unmistakable ------------------------- */
.row-featured { margin-bottom: 44px; }
.row-featured .row-head { position: relative; padding-left: calc(4vw + 18px); }
.row-featured .row-head::before {
  content: ''; position: absolute; left: 4vw; top: 50%; transform: translateY(-50%);
  width: 5px; height: 26px; border-radius: 3px;
  background: linear-gradient(180deg, var(--red), var(--red-dark));
  box-shadow: 0 0 16px var(--glow);
}
.row-featured .row-title {
  font-size: clamp(23px, 2.35vw, 33px);
  font-weight: 800; letter-spacing: -0.8px;
}
.row-featured .row-title small {
  font-size: clamp(12px, 1vw, 14px);
  color: var(--muted);
  background: rgba(229, 9, 20, 0.14);
  border: 1px solid rgba(229, 9, 20, 0.32);
  padding: 3px 10px; border-radius: 999px;
}
.row-featured .row-explore { font-size: 14px; color: #dcdcdc; }

/* featured cards: a little bigger, ringed, brighter progress */
.row-featured .card { width: 330px; }
.row-featured .card-thumb { border-radius: 10px; }
.row-featured .card-progress { height: 5px; }
.row-featured .card-progress i { box-shadow: 0 0 12px var(--glow); }

/* keep the top-10 digits in scale with the new heading rhythm */
.row-track.shows.ranked .rank-digit { font-size: 138px; }

@media (max-width: 700px) {
  .rows { padding-top: 6px; }
  .row { margin-bottom: 30px; }
  .row-featured { margin-bottom: 34px; }
  .row-featured .card { width: 250px; }
  .row-featured .row-head { padding-left: calc(4vw + 14px); }
  .row-featured .row-head::before { height: 22px; }
}

/* =========================================================================
   XRALE v7 — show rows realigned to the gutter + the show-tile glow-up.
   ========================================================================= */

:root { --gutter: 4vw; }

/* the bug: show tracks had zero left padding, so tiles sat 4vw left of the
   headings and the top-10 digit clipped off-screen. give them the gutter. */
.row-track.shows {
  gap: 18px;
  padding: 10px var(--gutter) 24px calc(var(--gutter) + 16px);
  scroll-snap-type: x proximity;
}
.shcard { scroll-snap-align: start; }

/* ranked needs room for the digit to breathe inside the gutter */
.row-track.shows.ranked { padding-left: calc(var(--gutter) + 36px); }

/* ---- show tiles: bigger, glassier, meaner -------------------------------- */
.row-track.shows .shcard { width: 196px; }
.row-track.shows.ranked .shcard { width: 212px; }

.shcard-art {
  border-radius: 12px;
  box-shadow: 0 12px 34px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.06);
}
.shcard-art::before {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(150deg, rgba(255,255,255,0.14), transparent 42%);
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.shcard:hover .shcard-art::before { opacity: 1; }
.shcard:hover .shcard-art {
  box-shadow: 0 24px 54px rgba(0,0,0,0.85), 0 0 0 1px rgba(255,255,255,0.18), 0 0 40px rgba(229,9,20,0.16);
}
.shcard-sub { padding: 12px 3px 0; }
.shcard-sub h3 {
  font-size: clamp(14px, 1.15vw, 16.5px); font-weight: 700; letter-spacing: -0.3px;
}
.shcard-sub span { font-size: clamp(11.5px, 0.92vw, 12.5px); margin-top: 4px; }

/* ---- ranked digits: glassy gradient, fully on-screen --------------------- */
.row-track.shows.ranked .rank-digit {
  left: -20px; top: -2px;
  font-size: 132px; letter-spacing: -9px;
  background: linear-gradient(180deg, #f4f4f4 6%, #8a8a8c 62%, #55555a 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.85));
}
.shcard:hover .rank-digit {
  background: linear-gradient(180deg, #ff5a63 5%, var(--red) 60%, var(--red-dark) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  transform: translateX(4px);
}
.row-track.shows.ranked .shcard-art { margin-left: 62px; border-radius: 12px; }

/* ---- TOP 10 badge -------------------------------------------------------- */
.top10-badge {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 12px; font-weight: 900; letter-spacing: 1px;
  color: #fff; background: var(--red); padding: 4px 9px; border-radius: 5px;
  box-shadow: 0 6px 18px rgba(229,9,20,0.45);
  transform: translateY(-1px);
}
.top10-badge i { font-style: normal; font-weight: 400; font-size: 10px; letter-spacing: 2px; opacity: 0.85; }

/* ---- show-row identity: red tick on the heading -------------------------- */
.row-shows .row-head { position: relative; padding-left: calc(var(--gutter) + 16px); }
.row-shows .row-head::before {
  content: ''; position: absolute; left: var(--gutter); top: 50%; transform: translateY(-60%);
  width: 5px; height: 20px; border-radius: 3px;
  background: linear-gradient(180deg, var(--red), var(--red-dark));
  box-shadow: 0 0 14px var(--glow);
}
.row-top10 .row-head::before { height: 26px; }

/* ---- genre/top-10 rows breathe a little more than episode rows ----------- */
.row-shows { margin-bottom: 40px; }

/* arrows must clear the new gutter */
.row-track-wrap .row-arrow.left { width: var(--gutter); min-width: 52px; }

@media (max-width: 700px) {
  .row-track.shows { padding: 8px 4vw 18px; gap: 12px; }
  .row-track.shows .shcard { width: 140px; }
  .row-track.shows.ranked { padding-left: calc(4vw + 16px); }
  .row-track.shows.ranked .shcard { width: 152px; }
  .row-track.shows.ranked .rank-digit { font-size: 84px; left: -12px; letter-spacing: -6px; }
  .row-track.shows.ranked .shcard-art { margin-left: 38px; }
  .row-shows { margin-bottom: 32px; }
}

/* =========================================================================
   XRALE v8 — show tiles join the 3D tilt, plus the ambient polish.
   ========================================================================= */

/* show tiles: same 3D tilt + cursor sheen the episode cards already have */
.shcard { --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%; transform-style: preserve-3d; }
.shcard:hover {
  transform: perspective(1300px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-7px) scale(1.03);
}
.shcard-sheen {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0;
  border-radius: inherit; transition: opacity 0.3s var(--ease);
  background: radial-gradient(300px circle at var(--mx) var(--my), rgba(255,255,255,0.20), transparent 60%);
}
.shcard:hover .shcard-sheen { opacity: 1; }

/* nav links: underline that wipes in */
.nav-links a { position: relative; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  border-radius: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform 0.28s var(--ease);
  box-shadow: 0 0 12px var(--glow);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

/* toasts: glass instead of a flat slab */
.toast {
  background: rgba(18, 18, 18, 0.72);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255,255,255,0.10);
  border-left: 4px solid var(--red);
  box-shadow: 0 18px 46px rgba(0,0,0,0.7), 0 0 26px rgba(229,9,20,0.16);
}
.toast button { background: var(--red); border: 0; color: #fff; padding: 6px 12px; border-radius: 5px; cursor: pointer; font-weight: 700; }
.toast button.ghost { background: rgba(255,255,255,0.12); }

/* modal: deep blur backdrop, red rim */
.modal-backdrop { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal { border: 1px solid rgba(255,255,255,0.09); box-shadow: 0 40px 90px rgba(0,0,0,0.85), 0 0 44px rgba(229,9,20,0.12); }

/* ambient: the background glow breathes instead of sitting still */
body::before { animation: amb-breathe 16s ease-in-out infinite alternate; }
@keyframes amb-breathe {
  from { opacity: 0.75; transform: scale(1); }
  to { opacity: 1; transform: scale(1.04); }
}

/* honour reduced-motion for everything added on top */
@media (prefers-reduced-motion: reduce) {
  .rows .row, body::before, .shcard:hover, .card:hover, .ccard:hover { animation: none !important; }
  .shcard:hover, .card:hover, .ccard:hover { transform: none; }
  .shcard-sheen, .row-explore { transition: none; }
}

/* =========================================================================
   XRALE v9 — accounts: the login / setup gate and the "Hesabım" panel.
   ========================================================================= */

.profile-gate.auth-gate { gap: 18px; }
.auth-brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 30px; font-weight: 800; letter-spacing: -1px; margin-bottom: 2px;
}
.auth-brand .brand-mark { width: 34px; height: 34px; }
.auth-brand .brand-x { color: var(--red); text-shadow: 0 0 24px var(--glow); }
.auth-brand b { color: #fff; }

.auth-err {
  color: #ff6b6b; font-size: 13px; min-height: 18px; margin-top: 12px; line-height: 1.4;
}
.auth-err.ok { color: #46d369; }

.account { padding: 6px 28px 28px; max-width: 620px; }
.account-who { display: flex; align-items: center; gap: 14px; }
.account-who .pavatar { width: 52px; height: 52px; font-size: 22px; }

.account-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.account-row {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px; padding: 10px 14px;
}
.account-name { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 14px; }
.account-tag {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.6px;
  color: var(--muted); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px; padding: 2px 8px;
}
.account-tag.me { color: #000; background: var(--red); border-color: var(--red); font-weight: 700; }

.mini {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  color: #eee; border-radius: 6px; padding: 6px 10px; font-size: 12px; cursor: pointer;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}
.mini:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.28); }
.mini.danger { color: #ff8a8a; border-color: rgba(229,9,20,0.4); }
.mini.danger:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* the account panel can get tall on the admin view — let it scroll */
.modal { max-height: 92vh; overflow-y: auto; }

/* =========================================================================
   XRALE v10 — the profile picker is the front door: profile cards up top,
   the chosen profile's password right under them. One account = one profile.
   ========================================================================= */

.profile-gate .profile-grid { justify-content: center; margin-bottom: 4px; }

/* the role line under each name ("yönetici" / "profil") */
.prole {
  font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--muted); margin-top: 5px;
}
.pcard.on .prole { color: var(--red); }

/* everything not picked steps back so the active card reads instantly */
.pcard.dim { opacity: 0.42; filter: saturate(0.5); }
.pcard.dim:hover { opacity: 0.75; filter: none; }

.profile-auth { min-height: 148px; text-align: center; }
.profile-auth h2 { font-size: 20px; }
.profile-auth .gate-create-row { margin-top: 2px; }
.profile-auth .auth-err { text-align: center; }

/* =========================================================================
   XRALE v11 — THE CINEMATIC PASS.

   Additive only: delete this block and v10 returns exactly as it was. Every
   motion rule is gated on html.wow, which the client script sets only when
   motion is allowed — so with scripting off the site renders fully visible,
   just without the new movement. --hx/--hy (pointer px) and --hsp (scroll
   0..1) are written on .hero by the same script.
   ========================================================================= */

/* ---- 1. atmosphere: film texture everywhere, not only in cinema -------- */
/* Cinema cranks these to full; outside cinema they sit at a whisper so the
   page reads as film instead of as flat black. */
body:not(.cinema) #grain { opacity: 0.028; }
body:not(.cinema) #vignette { opacity: 0.5; }

/* ---- 2. ambient aurora behind every page ------------------------------- */
#app::before {
  content: '';
  position: fixed; inset: -25%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(46% 36% at 16% 10%, rgba(229, 9, 20, 0.18), transparent 62%),
    radial-gradient(40% 32% at 84% 18%, rgba(116, 26, 196, 0.15), transparent 64%),
    radial-gradient(48% 38% at 58% 92%, rgba(0, 136, 198, 0.12), transparent 62%);
  filter: blur(24px) saturate(1.25);
  animation: xr-aurora 38s ease-in-out infinite alternate;
}
@keyframes xr-aurora {
  0%   { transform: translate3d(-3%, -2%, 0) scale(1.04) rotate(0deg); }
  50%  { transform: translate3d(2%, 3%, 0) scale(1.12) rotate(2.5deg); }
  100% { transform: translate3d(-2%, 2%, 0) scale(1.07) rotate(-2.5deg); }
}

/* ---- 3. hero: backdrop parallax, a title out of a mask, a scroll cue --- */
.hero-slides {
  transform: translate3d(calc(var(--hx, 0) * 1px), calc(var(--hy, 0) * 1px + var(--hsp, 0) * 74px), 0);
  will-change: transform;
}
.hero-video { transform: translate3d(0, calc(var(--hsp, 0) * 74px), 0) scale(1.06); }

html.wow .hero-title span { display: inline-block; animation: xr-title 0.9s var(--ease) both; }
html.wow .hero-title span:nth-child(1) { animation-delay: 0s; }
html.wow .hero-title span:nth-child(2) { animation-delay: 0.07s; }
html.wow .hero-title span:nth-child(3) { animation-delay: 0.14s; }
html.wow .hero-title span:nth-child(4) { animation-delay: 0.21s; }
html.wow .hero-title span:nth-child(n+5) { animation-delay: 0.28s; }
@keyframes xr-title {
  from { opacity: 0; transform: translateY(0.55em) rotate(1.5deg); filter: blur(10px); }
  to   { opacity: 1; transform: none; filter: none; }
}

.hero-cue {
  position: absolute; left: 50%; bottom: 22px; z-index: 6; margin-left: -12px;
  width: 25px; height: 40px; border-radius: 13px; padding-top: 7px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  display: grid; justify-items: center;
  pointer-events: none; opacity: 0.85;
}
.hero-cue i {
  width: 3px; height: 8px; border-radius: 3px;
  background: var(--red); box-shadow: 0 0 10px var(--glow);
  animation: xr-cue 1.9s var(--ease) infinite;
}
@keyframes xr-cue {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(15px); opacity: 0; }
  100% { transform: translateY(15px); opacity: 0; }
}

/* ---- 4. rows: reveal as they arrive, cards pop in behind them ---------- */
html.wow .rows .row {
  animation: none;
  opacity: 0;
  transform: translate3d(0, 42px, 0);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
html.wow .rows .row.in { opacity: 1; transform: none; }

/* `backwards`, never `both`: a finished fill would keep pinning the transform
   and the card would stop answering to its own hover lift. */
html.wow .row.in .row-track > * { animation: xr-pop 0.55s var(--ease) backwards; }
@keyframes xr-pop { from { opacity: 0; transform: translateY(20px) scale(0.94); } }
html.wow .row.in .row-track > *:nth-child(1)  { animation-delay: 0.000s; }
html.wow .row.in .row-track > *:nth-child(2)  { animation-delay: 0.035s; }
html.wow .row.in .row-track > *:nth-child(3)  { animation-delay: 0.070s; }
html.wow .row.in .row-track > *:nth-child(4)  { animation-delay: 0.105s; }
html.wow .row.in .row-track > *:nth-child(5)  { animation-delay: 0.140s; }
html.wow .row.in .row-track > *:nth-child(6)  { animation-delay: 0.175s; }
html.wow .row.in .row-track > *:nth-child(7)  { animation-delay: 0.210s; }
html.wow .row.in .row-track > *:nth-child(8)  { animation-delay: 0.245s; }
html.wow .row.in .row-track > *:nth-child(9)  { animation-delay: 0.280s; }
html.wow .row.in .row-track > *:nth-child(10) { animation-delay: 0.315s; }
html.wow .row.in .row-track > *:nth-child(11) { animation-delay: 0.350s; }
html.wow .row.in .row-track > *:nth-child(12) { animation-delay: 0.385s; }

/* ---- 5. cards: a light sweeps across the still on hover ---------------- */
.card-thumb::after {
  content: ''; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: linear-gradient(105deg, transparent 36%, rgba(255, 255, 255, 0.30) 50%, transparent 64%);
  transform: translateX(-150%);
}
html.wow .card:hover .card-thumb::after { animation: xr-sweep 0.9s var(--ease); }
@keyframes xr-sweep { from { transform: translateX(-150%); } to { transform: translateX(150%); } }

/* ---- 6. show tiles: the same sweep, over the poster -------------------- */
.shcard-art::before {
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(105deg, transparent 36%, rgba(255, 255, 255, 0.26) 50%, transparent 64%);
  transform: translateX(-150%);
}
html.wow .shcard:hover .shcard-art::before { animation: xr-sweep 0.9s var(--ease); }

/* ---- 7. nav: steps aside on the way down, returns on the way up -------- */
.nav { transition: background 0.35s var(--ease), height 0.35s var(--ease), transform 0.4s var(--ease); }
.nav.nav-hide { transform: translateY(-102%); }

/* ---- 8. row arrows: glass with a red rim on hover ---------------------- */
.row-arrow {
  background: linear-gradient(180deg, rgba(24, 24, 24, 0.74), rgba(6, 6, 6, 0.74));
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: opacity 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.row-arrow:hover { border-color: rgba(229, 9, 20, 0.55); box-shadow: 0 0 30px rgba(229, 9, 20, 0.35); }

/* ---- 9. profile picker: the chosen face gets a rim --------------------- */
.pcard:hover .pavatar, .pcard.on .pavatar {
  box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.5), 0 14px 34px rgba(0, 0, 0, 0.78), 0 0 42px rgba(229, 9, 20, 0.38);
}

/* ---- 10. motion off means motion off ----------------------------------- */
@media (prefers-reduced-motion: reduce) {
  #app::before, .hero-cue i, html.wow .hero-title span { animation: none; }
  html.wow .rows .row { opacity: 1; transform: none; transition: none; }
  html.wow .row.in .row-track > *,
  html.wow .card:hover .card-thumb::after,
  html.wow .shcard:hover .shcard-art::before { animation: none; }
  .nav { transform: none !important; }
}

/* =========================================================================
   11. BİRLİKTE İZLE — oda paneli + oynatıcıdaki oda çubuğu
   ========================================================================= */

.party-btn { position: relative; }
.party-btn::after {
  content: ''; position: absolute; top: 7px; right: 7px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 0 0 var(--glow);
  animation: partyPulse 2.4s var(--ease) infinite;
}
@keyframes partyPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.55); }
  50% { box-shadow: 0 0 0 6px rgba(229, 9, 20, 0); }
}

.wt-backdrop {
  position: fixed; inset: 0; z-index: 60;
  display: grid; place-items: center;
  padding: 3vh 3vw;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: wtFade 0.22s var(--ease);
}
.wt-backdrop::before {
  content: ''; position: absolute; inset: -20%;
  background:
    radial-gradient(600px 340px at 20% 10%, rgba(99, 195, 185, 0.14), transparent 65%),
    radial-gradient(620px 360px at 84% 88%, rgba(229, 9, 20, 0.16), transparent 65%);
  animation: wtDrift 18s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes wtFade { from { opacity: 0; } }
@keyframes wtDrift { from { transform: translate3d(-2%, -1%, 0) scale(1); } to { transform: translate3d(2%, 2%, 0) scale(1.08); } }

.wt-panel {
  position: relative; z-index: 1;
  width: min(960px, 100%); max-height: 94vh;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.96), rgba(9, 9, 10, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  box-shadow: 0 50px 110px rgba(0, 0, 0, 0.86), 0 0 60px rgba(229, 9, 20, 0.12);
  overflow: hidden;
  animation: wtRise 0.3s var(--ease);
}
@keyframes wtRise { from { opacity: 0; transform: translateY(18px) scale(0.98); } }

.wt-head { display: flex; gap: 16px; align-items: flex-start; padding: 24px 26px 18px; border-bottom: 1px solid var(--line); }
.wt-htxt { flex: 1; min-width: 0; }
.wt-head h2 { margin: 0 0 6px; font-size: 26px; font-weight: 900; letter-spacing: -0.6px; }
.wt-sub { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; max-width: 62ch; }
.wt-badge {
  flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.9), rgba(99, 195, 185, 0.75));
  box-shadow: 0 8px 26px rgba(229, 9, 20, 0.35);
}
.wt-badge svg { width: 24px; height: 24px; fill: #fff; }
.wt-badge.big { width: 68px; height: 68px; border-radius: 20px; margin: 0 auto 18px; }
.wt-badge.big svg { width: 34px; height: 34px; }
.wt-x {
  flex: none; width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.06); color: #fff; display: grid; place-items: center;
}
.wt-x:hover { background: rgba(255, 255, 255, 0.14); }
.wt-x svg { width: 16px; height: 16px; fill: #fff; }

.wt-steps { display: flex; gap: 8px; padding: 16px 26px 0; }
.wt-step {
  flex: 1; display: flex; gap: 11px; align-items: center; cursor: default;
  padding: 10px 13px; border-radius: 11px; text-align: left;
  background: rgba(255, 255, 255, 0.03); border: 1px solid transparent; color: var(--text);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.wt-step.done { cursor: pointer; }
.wt-step.done:hover { transform: translateY(-1px); }
.wt-step.on { background: rgba(229, 9, 20, 0.12); border-color: rgba(229, 9, 20, 0.45); }
.wt-step.done { opacity: 0.72; }
.wt-step .wt-num {
  flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  font-size: 12.5px; font-weight: 800; background: rgba(255, 255, 255, 0.08);
}
.wt-step.on .wt-num { background: var(--red); color: #fff; box-shadow: 0 0 18px rgba(229, 9, 20, 0.5); }
.wt-step.done .wt-num { background: rgba(99, 195, 185, 0.28); color: #9ff0e6; }
.wt-steptxt { display: flex; flex-direction: column; min-width: 0; }
.wt-steptxt b { font-size: 13.5px; }
.wt-steptxt span { font-size: 11.5px; color: var(--dim); }

.wt-stage { padding: 18px 26px 4px; overflow-y: auto; flex: 1; min-height: 210px; }
.wt-grid { display: grid; gap: 12px; }
.wt-profiles { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.wt-shows { grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); }

.wt-prof {
  display: flex; align-items: center; gap: 12px; cursor: pointer; color: var(--text);
  padding: 12px 14px; border-radius: 13px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.07);
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease), background 0.18s var(--ease);
}
.wt-prof:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.08); }
.wt-prof.on { border-color: rgba(229, 9, 20, 0.7); background: rgba(229, 9, 20, 0.1); box-shadow: 0 0 30px rgba(229, 9, 20, 0.18); }
.wt-ava {
  flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  font-weight: 900; font-size: 17px; color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
.wt-pname { flex: 1; font-weight: 700; font-size: 14.5px; text-align: left; }
.wt-tick { flex: none; width: 20px; height: 20px; opacity: 0; transition: opacity 0.18s var(--ease); }
.wt-tick svg { width: 20px; height: 20px; fill: #46d369; }
.wt-prof.on .wt-tick { opacity: 1; }

.wt-show {
  display: flex; flex-direction: column; gap: 10px; cursor: pointer; color: var(--text);
  padding: 0 0 12px; border-radius: 13px; overflow: hidden;
  background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.07);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.wt-show:hover { transform: translateY(-3px) scale(1.01); }
.wt-show.on { border-color: rgba(229, 9, 20, 0.7); box-shadow: 0 0 34px rgba(229, 9, 20, 0.2); }
.wt-art { aspect-ratio: 2 / 3; width: 100%; overflow: hidden; background: #101010; }
.wt-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wt-meta { display: flex; flex-direction: column; gap: 3px; padding: 0 12px; text-align: left; }
.wt-meta b { font-size: 14px; font-weight: 800; }
.wt-meta span { font-size: 11.5px; color: var(--dim); }
.wt-meta .wt-genres { color: rgba(99, 195, 185, 0.85); }

.wt-epwrap { display: flex; flex-direction: column; gap: 14px; }
.wt-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.wt-tab {
  display: flex; flex-direction: column; gap: 2px; align-items: flex-start; cursor: pointer;
  padding: 9px 14px; border-radius: 10px; color: var(--text);
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.07);
  transition: transform 0.16s var(--ease), border-color 0.16s var(--ease);
}
.wt-tab:hover { transform: translateY(-1px); }
.wt-tab b { font-size: 13px; }
.wt-tab span { font-size: 11px; color: var(--dim); }
.wt-tab.on { border-color: rgba(229, 9, 20, 0.65); background: rgba(229, 9, 20, 0.12); }
.wt-tab.on span { color: #ffb3b8; }
.wt-tab.empty { opacity: 0.45; }

.wt-eplist { display: flex; flex-direction: column; gap: 8px; }
.wt-ep {
  display: flex; gap: 13px; align-items: center; cursor: pointer; color: var(--text); text-align: left;
  padding: 9px; border-radius: 11px; border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.wt-ep:hover { background: rgba(255, 255, 255, 0.08); transform: translateX(3px); }
.wt-ep.on { border-color: rgba(229, 9, 20, 0.6); background: rgba(229, 9, 20, 0.1); }
.wt-ep.gone { opacity: 0.38; cursor: not-allowed; }
.wt-ep.gone:hover { transform: none; background: rgba(255, 255, 255, 0.03); }
.wt-thumb { flex: none; width: 132px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #101010; }
.wt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wt-eptxt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.wt-eptxt b { font-size: 13.5px; }
.wt-eptxt span { font-size: 12px; color: var(--muted); line-height: 1.5; }

.wt-invite { display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
.wt-invite-label { font-size: 11.5px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--dim); }
.wt-code {
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  font-size: clamp(30px, 6vw, 52px); font-weight: 800; letter-spacing: 0.18em;
  text-align: center; color: #fff;
  text-shadow: 0 0 26px rgba(229, 9, 20, 0.55), 0 0 60px rgba(99, 195, 185, 0.3);
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.1), rgba(99, 195, 185, 0.08));
  border: 1px dashed rgba(255, 255, 255, 0.16); border-radius: 14px;
  padding: 18px 12px;
}
.wt-linkrow { display: flex; gap: 10px; }
.wt-linkinput {
  flex: 1; min-width: 0; padding: 12px 14px; border-radius: 10px; font-size: 13px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--text);
}
.wt-copy {
  flex: none; display: flex; gap: 7px; align-items: center; cursor: pointer;
  padding: 0 18px; border-radius: 10px; font-weight: 700; font-size: 13.5px;
  background: #fff; color: #000; border: 0;
}
.wt-copy:hover { background: #e6e6e6; }
.wt-copy svg { width: 16px; height: 16px; fill: #000; }
.wt-who { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; font-size: 12.5px; color: var(--dim); }
.wt-chipmini {
  display: inline-flex; gap: 6px; align-items: center;
  padding: 3px 10px 3px 7px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--text);
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1);
}
.wt-chipmini::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--a, var(--red)); }
.wt-online {
  font-size: 13px; color: var(--muted); padding: 11px 14px; border-radius: 11px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line);
}
.wt-online.live { color: #9ff0e6; border-color: rgba(99, 195, 185, 0.4); }

.wt-foot {
  display: flex; gap: 16px; align-items: center; justify-content: space-between;
  padding: 16px 26px 20px; border-top: 1px solid var(--line); background: rgba(0, 0, 0, 0.35);
}
.wt-sum { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.wt-sum b { font-size: 14px; }
.wt-sumsmall { font-size: 12px; color: var(--muted); }
.wt-footbtns { display: flex; gap: 10px; flex: none; }
.party-go { box-shadow: 0 12px 34px rgba(229, 9, 20, 0.35); }

.wt-empty { color: var(--muted); font-size: 13.5px; }

.wt-joinwrap {
  max-width: 560px; margin: 12vh auto 0; padding: 0 24px;
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.wt-joinwrap h2 { margin: 0; font-size: 26px; font-weight: 900; }
.wt-ring {
  width: 54px; height: 54px; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.12); border-top-color: var(--red);
  animation: wtSpin 0.9s linear infinite;
}
@keyframes wtSpin { to { transform: rotate(360deg); } }

/* ---- oynatıcıdaki oda çubuğu ------------------------------------------- */
.room-bar {
  position: absolute; z-index: 12; top: 74px; right: 22px;
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  max-width: min(70vw, 720px);
  padding: 9px 12px; border-radius: 999px;
  background: rgba(12, 12, 13, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6);
  font-size: 12px;
  transition: opacity 0.4s var(--ease);
}
.room-bar.offline { opacity: 0.5; }
.room-bar b { font-size: 12.5px; letter-spacing: 0.4px; }
.room-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: partyPulse 2s var(--ease) infinite; }
.room-dot.mine { background: #46d369; }
.room-code {
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  font-size: 12.5px; letter-spacing: 0.16em; font-weight: 700;
  padding: 2px 9px; border-radius: 6px; background: rgba(255, 255, 255, 0.08);
}
.room-sync { font-size: 11.5px; color: var(--dim); }
.room-sync.mine { color: #46d369; }
.room-people { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.room-chip {
  display: inline-flex; gap: 6px; align-items: center;
  padding: 3px 10px 3px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--dim); font-weight: 600;
}
.room-chip i { width: 6px; height: 6px; border-radius: 50%; background: #4d4d4d; }
.room-chip.on { color: var(--text); border-color: rgba(70, 211, 105, 0.35); }
.room-chip.on i { background: #46d369; box-shadow: 0 0 8px rgba(70, 211, 105, 0.8); }
.room-chip.me { border-color: rgba(229, 9, 20, 0.4); }
.room-btn {
  display: inline-flex; gap: 6px; align-items: center; cursor: pointer;
  padding: 5px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 700;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--text);
}
.room-btn:hover { background: rgba(255, 255, 255, 0.16); }
.room-btn svg { width: 13px; height: 13px; fill: currentColor; }
.room-btn.on { background: rgba(70, 211, 105, 0.18); border-color: rgba(70, 211, 105, 0.45); color: #9ff0c9; }
.room-btn.danger { color: #ffb3b8; }
.room-btn.danger:hover { background: rgba(229, 9, 20, 0.22); }

@media (max-width: 720px) {
  .wt-head, .wt-stage, .wt-foot, .wt-steps { padding-left: 16px; padding-right: 16px; }
  .wt-steps { flex-wrap: wrap; }
  .wt-foot { flex-direction: column; align-items: stretch; }
  .wt-footbtns { justify-content: flex-end; }
  .wt-thumb { width: 96px; }
  .room-bar { top: auto; bottom: 92px; right: 10px; left: 10px; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wt-backdrop::before, .party-btn::after, .room-dot, .wt-ring,
  .room-bar.flash, .room-clock.live::before { animation: none; }
  .wt-panel { animation: none; }
}

/* ---- kodla katılma şeridi (oda penceresinin üstünde) -------------------- */
.wt-joinbar {
  display: flex; flex-direction: column; gap: 10px;
  padding: 16px 26px 18px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 180% at 0% 0%, rgba(99, 195, 185, 0.1), transparent 62%),
    rgba(255, 255, 255, 0.02);
}
.wt-joinlabel { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.wt-joinlabel b { font-size: 13.5px; }
.wt-joinicon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 8px; flex: none;
  background: rgba(99, 195, 185, 0.14); border: 1px solid rgba(99, 195, 185, 0.3);
}
.wt-joinicon svg { width: 14px; height: 14px; fill: #9ff0e6; }
.wt-joinsub { font-size: 12px; color: var(--muted); }
.wt-joinrow { display: flex; gap: 10px; }
.wt-joincode {
  flex: 1; min-width: 0; padding: 12px 14px; border-radius: 10px;
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  font-size: 16px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  background: rgba(0, 0, 0, 0.4); border: 1px solid rgba(255, 255, 255, 0.12); color: var(--text);
}
.wt-joincode::placeholder { letter-spacing: 0.14em; font-weight: 600; color: #6a6a6a; }
.wt-joincode:focus { outline: none; border-color: rgba(99, 195, 185, 0.55); box-shadow: 0 0 0 3px rgba(99, 195, 185, 0.14); }

/* ---- oda çubuğu: gecikme ölçer, "son hamle", üye sayacı ------------------ */
.room-who { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.room-sync.warn { color: #ffc86b; }
.room-count {
  padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 800;
  background: rgba(99, 195, 185, 0.14); border: 1px solid rgba(99, 195, 185, 0.3); color: #9ff0e6;
}
.room-chip.host { border-color: rgba(229, 9, 20, 0.45); }
.room-chip.host::after { content: 'kurucu'; font-size: 9.5px; letter-spacing: 0.08em; color: var(--dim); }
.room-chip.paused i { background: #ffc86b; box-shadow: 0 0 8px rgba(255, 200, 107, 0.7); }

/* ---- bölüm seçici paneli (odadaki herkes açar) -------------------------- */
.room-epicker {
  position: absolute; z-index: 13; top: 122px; right: 22px;
  width: min(420px, 92vw); max-height: calc(100% - 220px);
  display: flex; flex-direction: column; gap: 10px;
  padding: 14px; border-radius: 16px; overflow: hidden;
  background: rgba(10, 10, 11, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.72);
  animation: repIn 0.22s var(--ease);
}
@keyframes repIn { from { opacity: 0; transform: translateY(-8px) scale(0.98); } }
.rep-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.rep-head b { font-size: 14px; font-weight: 800; }
.rep-sub { font-size: 11.5px; color: var(--muted); flex: 1; }
.rep-x {
  flex: none; width: 26px; height: 26px; border-radius: 8px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--text);
}
.rep-x svg { width: 13px; height: 13px; fill: currentColor; }
.rep-x:hover { background: rgba(255, 255, 255, 0.16); }

.rep-shows { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 2px; }
.rep-show {
  flex: none; cursor: pointer; text-align: left;
  display: flex; flex-direction: column; gap: 1px;
  padding: 7px 12px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.09); color: var(--text);
}
.rep-show b { font-size: 12.5px; }
.rep-show span { font-size: 10.5px; color: var(--muted); }
.rep-show.on { background: rgba(229, 9, 20, 0.16); border-color: rgba(229, 9, 20, 0.55); }

.rep-seasons { display: flex; gap: 6px; flex-wrap: wrap; }
.rep-season {
  cursor: pointer; display: inline-flex; gap: 6px; align-items: baseline;
  padding: 5px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 700;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.09); color: var(--text);
}
.rep-season span { font-size: 10px; color: var(--muted); font-weight: 600; }
.rep-season.on { background: rgba(99, 195, 185, 0.16); border-color: rgba(99, 195, 185, 0.5); color: #9ff0e6; }
.rep-season.empty { opacity: 0.42; cursor: default; }

.rep-list { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding-right: 4px; }
.rep-list::-webkit-scrollbar { width: 8px; }
.rep-list::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.16); border-radius: 8px; }
.rep-ep {
  display: flex; gap: 11px; align-items: center; cursor: pointer; text-align: left;
  padding: 7px; border-radius: 11px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.07); color: var(--text);
}
.rep-ep:hover { background: rgba(255, 255, 255, 0.1); }
.rep-ep.on { border-color: rgba(229, 9, 20, 0.6); background: rgba(229, 9, 20, 0.12); }
.rep-ep.gone { opacity: 0.35; cursor: default; }
.rep-thumb { flex: none; width: 84px; aspect-ratio: 16 / 9; border-radius: 7px; overflow: hidden; background: #141414; }
.rep-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rep-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rep-txt b { font-size: 12.5px; }
.rep-txt span {
  font-size: 11px; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

@media (max-width: 720px) {
  .wt-joinbar { padding-left: 16px; padding-right: 16px; }
  .room-who { display: none; }
  .room-epicker {
    top: auto; bottom: 92px; right: 10px; left: 10px; width: auto;
    max-height: 62vh;
  }
}

/* =========================================================================
   12) TAM EKRAN — oynatıcıda kalan yazılar gider
   Tam ekranda üst şerit (Geri + başlık) tamamen kalkar; oda çubuğu ve
   kumanda şeridi fare kıpırdamayınca söner. Fare oynayınca hepsi geri gelir.
   ========================================================================= */
.player-root.fs .player-top { display: none; }
.player-root.idle .room-bar { opacity: 0; pointer-events: none; }
.player-root.idle .room-epicker { opacity: 0; pointer-events: none; }
.room-bar { transition: opacity .32s var(--ease); }
.player-ui { transition: opacity .32s var(--ease); }

/* =========================================================================
   13) YÖNETİM PANELİ — sağ üstteki taç
   ========================================================================= */
.admin-btn {
  position: relative;
  background: linear-gradient(140deg, rgba(229, 9, 20, 0.22), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(229, 9, 20, 0.4);
}
.admin-btn:hover { background: linear-gradient(140deg, rgba(229, 9, 20, 0.4), rgba(255, 255, 255, 0.08)); }
.admin-btn svg { fill: #ffd76a; }
.admin-btn-dot {
  position: absolute; top: 5px; right: 5px;
  width: 6px; height: 6px; border-radius: 50%;
  background: #ffd76a; box-shadow: 0 0 8px rgba(255, 215, 106, 0.9);
}
.menu a.menu-adm { color: #ffd76a; }

.modal.adm-modal { width: min(920px, 94vw); max-height: 88vh; overflow: auto; padding: 0; }

.adm { padding: 24px 26px 30px; }
.adm-head { display: flex; align-items: flex-start; gap: 14px; }
.adm-crown {
  width: 44px; height: 44px; flex: none; border-radius: 13px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(255, 215, 106, 0.22), rgba(229, 9, 20, 0.22));
  border: 1px solid rgba(255, 215, 106, 0.35);
}
.adm-crown svg { width: 22px; height: 22px; fill: #ffd76a; }
.adm-htxt { flex: 1; min-width: 0; }
.adm-htxt h2 { font-size: 21px; margin: 0 0 3px; letter-spacing: 0.2px; }
.adm-htxt p { margin: 0; color: var(--muted); font-size: 12.5px; }
.adm-x {
  width: 34px; height: 34px; flex: none; border-radius: 50%;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line);
  display: grid; place-items: center; cursor: pointer;
}
.adm-x:hover { background: rgba(255, 255, 255, 0.13); }
.adm-x svg { width: 17px; height: 17px; fill: #fff; }

.adm-stats { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 14px; }
.adm-stat {
  flex: 1 1 120px;
  padding: 10px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
}
.adm-stat b { display: block; font-size: 20px; line-height: 1.1; }
.adm-stat span { color: var(--muted); font-size: 11.5px; letter-spacing: 0.3px; }

.adm-tools { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.adm-search {
  flex: 1; min-width: 0;
  padding: 10px 14px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.45); color: #fff;
  border: 1px solid var(--line); font-size: 13px; font-family: inherit;
}
.adm-search:focus { outline: none; border-color: rgba(255, 215, 106, 0.5); }
.adm-revealall { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.adm-revealall svg { width: 16px; height: 16px; fill: currentColor; }

.adm-list { display: flex; flex-direction: column; gap: 8px; }
.adm-row {
  display: grid;
  grid-template-columns: 44px minmax(120px, 1fr) minmax(150px, 1.1fr) auto;
  align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}
.adm-row.me { border-color: rgba(255, 215, 106, 0.35); background: rgba(255, 215, 106, 0.05); }
.adm-av {
  width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 17px; color: #fff;
}
.adm-nm { min-width: 0; }
.adm-nm > b { display: block; font-size: 14.5px; }
.adm-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.account-tag.yok { color: #ffb35c; border-color: rgba(255, 179, 92, 0.4); }

.adm-pw { min-width: 0; }
.adm-pwval {
  display: block; padding: 8px 12px; border-radius: 9px;
  background: rgba(0, 0, 0, 0.5); border: 1px solid var(--line);
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  font-size: 13px; color: #9a9a9a;
  letter-spacing: 0.08em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  cursor: pointer;
}
.adm-pwval.on { color: #7ff0c0; border-color: rgba(127, 240, 192, 0.35); letter-spacing: 0.02em; }
.adm-pwval.yok { color: #6d6d6d; letter-spacing: 0.02em; }

.adm-acts { display: flex; gap: 6px; }
.adm-btn {
  height: 34px; padding: 0 10px; border-radius: 9px;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line);
  cursor: pointer; color: #fff; font-size: 12px; font-family: inherit;
}
.adm-btn:hover { background: rgba(255, 255, 255, 0.14); }
.adm-btn svg { width: 15px; height: 15px; fill: currentColor; }
.adm-btn.eye { padding: 0; width: 34px; justify-content: center; }
.adm-btn.eye.on { background: rgba(127, 240, 192, 0.18); border-color: rgba(127, 240, 192, 0.4); }
.adm-btn.danger:hover { background: rgba(229, 9, 20, 0.28); border-color: rgba(229, 9, 20, 0.5); }
.adm-btn[disabled] { opacity: 0.45; cursor: default; }

.adm-edit {
  display: flex; gap: 10px; align-items: center;
  padding: 12px 14px; border-radius: 14px;
  background: rgba(255, 215, 106, 0.06);
  border: 1px dashed rgba(255, 215, 106, 0.4);
}
.adm-edit input { flex: 1; min-width: 0; }
.adm-empty { padding: 22px; text-align: center; color: var(--muted); font-size: 13px; }

.adm-add {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--line);
}
.adm-add input[type=text] { flex: 1 1 170px; min-width: 0; }
.adm-check {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--muted); font-size: 12.5px; cursor: pointer;
  white-space: nowrap;
}
.adm-check input { accent-color: #ffd76a; }

@media (max-width: 720px) {
  .adm { padding: 18px 16px 22px; }
  .adm-row { grid-template-columns: 40px 1fr auto; row-gap: 10px; }
  .adm-pw { grid-column: 1 / -1; }
  .adm-acts { grid-column: 1 / -1; flex-wrap: wrap; }
}

/* ---- 14. dosyası diskte olmayan bölümler ------------------------------- */
.ep-item.missing { cursor: not-allowed; }
.ep-item.missing:hover { background: #101010; }
.ep-item.missing .no { color: var(--muted) !important; }
.ep-item.missing .thumb img { filter: grayscale(1) brightness(0.5); }
.ep-item.missing .t { color: var(--muted); }
.ep-item.missing p { color: #7a7a7a; }
.ep-item.missing .mini-play { display: none; }
.ep-item.missing .thumb::after {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,0.03) 0 6px, transparent 6px 12px);
}

/* ---- 15. şifresiz profil ---------------------------------------------- */
.adm-hint {
  margin: 12px 0 0; font-size: 12px; line-height: 1.55;
  color: var(--muted); max-width: 62ch;
}
.adm-edit { flex-wrap: wrap; }
.adm-edit .auth-err { flex-basis: 100%; margin: 0; }
.adm-pwval.yok { color: #ffb35c; letter-spacing: 0; }
.pcard .prole.dim { color: var(--muted); }

/* ---- 16. görüntü ayarları — sağdan açılan sayfa, ön ayar kartları ----- */
.set-panel {
  right: 0; top: 0; bottom: 0; left: auto;
  width: 376px; height: 100%; max-height: none;
  border-radius: 0; border: none; border-left: 1px solid #2a2a2a;
  padding: 20px 22px 28px;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.985), rgba(9, 9, 9, 0.985));
  box-shadow: -34px 0 74px rgba(0, 0, 0, 0.78);
  animation: px-slide 0.22s cubic-bezier(0.22, 0.8, 0.3, 1);
}
@keyframes px-slide { from { transform: translateX(28px); opacity: 0; } to { transform: none; opacity: 1; } }

.set-top {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 13px; margin-bottom: 2px;
  border-bottom: 1px solid #232323;
}
.set-title { font-size: 19px; letter-spacing: 0.01em; }
.set-title b { color: var(--text, #fff); font-weight: 800; }
.set-title span { color: var(--muted); font-weight: 500; }
.set-x {
  width: 30px; height: 30px; border-radius: 50%;
  background: #1c1c1c; border: 1px solid #2e2e2e; color: #cfcfcf;
  font-size: 13px; line-height: 1; cursor: pointer; transition: all 0.16s;
}
.set-x:hover { background: #2a2a2a; color: #fff; transform: rotate(90deg); }

.px-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin-bottom: 8px; }
.px {
  position: relative; text-align: left; cursor: pointer;
  background: #141414; border: 1px solid #262626; border-radius: 11px;
  padding: 6px 6px 7px;
  transition: border-color 0.16s, transform 0.16s, box-shadow 0.16s;
}
.px:hover { border-color: #4c4c4c; transform: translateY(-2px); }
.px.on {
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red), 0 10px 24px rgba(229, 9, 20, 0.2);
}
.px-img {
  height: 64px; border-radius: 7px; margin-bottom: 6px;
  background: #0d0d0d center / cover no-repeat;
}
.px-img.ph { background-image: repeating-linear-gradient(-45deg, #191919 0 6px, #131313 6px 12px); }
.px-n { display: block; font-size: 12px; font-weight: 700; color: #e6e6e6; }
.px.on .px-n { color: #fff; }
.px-k {
  position: absolute; top: 10px; right: 10px;
  font-style: normal; font-size: 10px; font-weight: 800; color: #c4c4c4;
  background: rgba(0, 0, 0, 0.62); border: 1px solid #3a3a3a; border-radius: 5px;
  padding: 1px 5px; letter-spacing: 0.04em;
}
.px.on .px-k { color: #fff; border-color: rgba(229, 9, 20, 0.6); background: rgba(229, 9, 20, 0.35); }
.set-note { font-size: 11.5px; line-height: 1.5; color: var(--dim); margin: 0 0 2px; }
.set-panel .set-slider { height: 5px; }
.set-panel .set-h:first-of-type { margin-top: 16px; }

@media (max-width: 720px) {
  .set-panel {
    right: 0; left: 0; top: auto; bottom: 0; height: auto; max-height: 78%;
    width: auto; border-left: none; border-top: 1px solid #2a2a2a;
    border-radius: 16px 16px 0 0; padding: 16px 18px 22px;
    animation: px-up 0.22s cubic-bezier(0.22, 0.8, 0.3, 1);
  }
  @keyframes px-up { from { transform: translateY(26px); opacity: 0; } to { transform: none; opacity: 1; } }
  .px-grid { grid-template-columns: repeat(3, 1fr); gap: 7px; }
  .px-img { height: 52px; }
}

/* ---- 17. oda çubuğu — canlı saat, gecikme katmanı, uzak vurgu ----------- */
.room-clock {
  font-variant-numeric: tabular-nums;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.02em;
  color: var(--muted);
  padding: 2px 9px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  white-space: nowrap;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.room-clock.live { color: var(--text); border-color: rgba(70, 211, 105, 0.28); }
.room-clock.live::before {
  content: ''; display: inline-block;
  width: 5px; height: 5px; border-radius: 50%;
  background: #46d369; margin-right: 6px; vertical-align: 1px;
  box-shadow: 0 0 8px rgba(70, 211, 105, 0.85);
  animation: pulse 1.6s infinite;
}
.room-sync.ok { color: #46d369; }

/* Uzaktan bir hamle geldi: çubuk kısa süre kırmızıya keser ve hafifçe büyür.
   Işığı hızlı hissettirir — sunucudan geldiği an göz yakalar. */
.room-bar.flash {
  border-color: rgba(229, 9, 20, 0.6);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6),
              0 0 0 1px rgba(229, 9, 20, 0.4),
              0 0 34px rgba(229, 9, 20, 0.3);
  animation: roomFlash 0.46s var(--ease);
}
@keyframes roomFlash {
  0% { transform: scale(1); }
  34% { transform: scale(1.018); }
  100% { transform: scale(1); }
}

/* =========================================================================
   GÖRSEL GEÇİŞ — logo lockup, intro, ikon ve başlık rötuşları
   ========================================================================= */

/* Intro: marka + wordmark tek kilit halinde, yukarıdan oturur. */
.intro-lockup {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.intro-logo {
  width: clamp(76px, 12vw, 138px); height: auto;
  filter: drop-shadow(0 14px 46px rgba(229, 9, 20, 0.55));
  animation: intro-logo-in 1s var(--ease) both;
}
.intro-logo svg { width: 100%; height: auto; display: block; }
@keyframes intro-logo-in {
  0% { opacity: 0; transform: translateY(16px) scale(0.8) rotate(-6deg); }
  70% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
#intro .intro-mark { font-size: clamp(44px, 9.5vw, 128px); }

/* İkonlar daha canlı: hover'da nefes alır, basışta oturur. */
.icon-btn svg, .circ svg { transition: transform 0.2s var(--ease); will-change: transform; }
.icon-btn:hover svg { transform: scale(1.1); }
.icon-btn:active svg, .circ:active svg { transform: scale(0.9); }
.circ { transition: border-color 0.2s, transform 0.18s var(--ease), background 0.2s, box-shadow 0.3s var(--ease); }
.circ.play:hover { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.09), 0 10px 26px rgba(0, 0, 0, 0.55); }

/* Bölüm başlığı: altından geçen ince, aksan renkli çizgi. */
.row-title { position: relative; }
.row-title::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: linear-gradient(90deg, var(--acc, var(--red)), transparent 72%);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.5s var(--ease);
}
.row-head:hover .row-title::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .brand::after, .intro-logo { animation: none; }
  .intro-logo { opacity: 1; }
  .icon-btn svg, .circ svg, .row-title::after { transition: none; }
  .brand:hover .brand-mark { transform: none; }
}