/* vietnamese */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/1Ptgg87LROyAm3K8-C8CSKlvPfE.woff2') format('woff2');
  unicode-range:
    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301,
    U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/1Ptgg87LROyAm3K9-C8CSKlvPfE.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/1Ptgg87LROyAm3Kz-C8CSKlv.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7W0Q5n-wU.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7W0Q5n-wU.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7W0Q5n-wU.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7W0Q5n-wU.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7W0Q5n-wU.woff2') format('woff2');
  unicode-range:
    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301,
    U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7W0Q5n-wU.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --bg: #0b0b0d;
  --panel: #111113;
  --line: #27272b;
  --muted: #94949c;
  --text: #f6f5f8;
  --pink: #ff2d78;
  --rail: 248px;
  --header: 76px;
  --toolbar: 66px;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
}
button,
input,
a {
  -webkit-tap-highlight-color: transparent;
}
button,
input {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
  border: 0;
  cursor: pointer;
  background: none;
}
button:disabled {
  cursor: default;
  opacity: 0.28;
}
button,
a,
input {
  outline-offset: 5px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid #fff;
}
button:active,
a:active {
  transform: translateY(1px);
}
button {
  transition:
    background 0.16s,
    transform 0.16s,
    color 0.16s;
}
button:hover {
  background: #222225;
}
button:disabled:hover {
  background: transparent;
}
.icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  vertical-align: middle;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--rail);
  background: #0e0e10;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  z-index: 4;
  padding: 29px 20px 19px;
}
.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: Anton, Impact, sans-serif;
  font-size: 38px;
  letter-spacing: -1.1px;
  line-height: 1;
  position: relative;
  display: inline-block;
  transform: rotate(-3deg);
}
.wordmark span {
  font-family: Inter, Arial, sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.8px;
}
.wordmark i {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--pink);
  border-radius: 50%;
  margin-left: 3px;
}
.tagline {
  font-size: 9px;
  font-weight: 650;
  color: #82828c;
  letter-spacing: 2.25px;
  margin: 17px 0 28px 2px;
}
.sidebar nav {
  display: grid;
  gap: 5px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 47px;
  padding: 0 13px;
  border-radius: 7px;
  font-weight: 600;
  color: #aaaab2;
  font-size: 13px;
}
.nav-link .icon {
  width: 21px;
}
.nav-link:hover,
.nav-link.selected {
  color: #fff;
  background: #202024;
}
.nav-link.selected .icon {
  fill: #fff;
  stroke: #fff;
}
.nav-link small {
  margin-left: auto;
  font-size: 10px;
  color: #88888f;
  font-weight: 500;
}
.topic-label {
  font-size: 9px;
  letter-spacing: 1.45px;
  font-weight: 650;
  color: #85858f;
  display: flex;
  justify-content: space-between;
  margin: 33px 11px 13px;
}
.topic-label span {
  letter-spacing: 0;
  color: #5f5f68;
}
.topic-search {
  border: 1px solid #2b2b30;
  background: #17171a;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  min-height: 42px;
  margin: 0 3px 13px;
}
.topic-search:focus-within {
  border-color: #fff;
  box-shadow: 0 0 0 1px #fff;
}
.topic-search .icon {
  width: 16px;
  color: #8f8f9b;
}
.topic-search input {
  background: none;
  border: 0;
  min-width: 0;
  width: 100%;
  color: #f4f4f5;
  font-size: 11px;
  outline: none;
}
.topic-search input::placeholder {
  color: #7f7f89;
}
.topic-search kbd {
  font: 10px Inter;
  border: 1px solid #34343a;
  border-radius: 3px;
  padding: 1px 4px;
  color: #72727c;
}
.topic-list {
  overflow: auto;
  flex: 1;
  min-height: 80px;
  scrollbar-width: thin;
  scrollbar-color: #28282e transparent;
  padding-right: 2px;
}
.topic-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  color: #9e9ea7;
  font-size: 12px;
  border-radius: 6px;
}
.topic-link:hover,
.topic-link.selected {
  color: #fff;
  background: #1c1c20;
}
.topic-link small {
  font-size: 10px;
  color: #61616b;
}
.topic-link[hidden] {
  display: none;
}
.sidebar-footer {
  border-top: 1px solid #252529;
  padding-top: 17px;
  margin: 15px 7px 0;
  font-size: 10px;
  color: #777781;
}
.sidebar-footer p {
  font-size: 11px;
  color: #a1a1aa;
  margin: 0 0 13px;
}
.sidebar-footer > div {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 15px;
}
.sidebar-footer button {
  font-size: 10px;
  color: #777781;
  padding: 0;
}
.sidebar-footer button .icon {
  width: 12px;
  height: 12px;
  margin-left: 2px;
}
.sidebar-footer small {
  font-size: 9px;
  color: #565660;
}
.sidebar-footer a:hover {
  color: #ddd;
}
.sidebar-scrim,
.close-sidebar {
  display: none;
}
.main {
  margin-left: var(--rail);
  height: 100dvh;
  position: relative;
}
.topbar {
  height: var(--header);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
}
.header-start,
.header-end {
  display: flex;
  align-items: center;
  gap: 19px;
}
.header-start > .icon-button {
  width: 34px;
  height: 44px;
  color: #91919d;
  margin-left: -8px;
}
.header-start > .icon-button .icon {
  width: 18px;
}
.header-divider {
  height: 18px;
  width: 1px;
  background: #2a2a30;
  margin-left: 0;
}
.topbar h1 {
  font-size: 15px;
  font-weight: 650;
  margin: 0;
  white-space: nowrap;
}
.header-note {
  font-size: 10px;
  color: #696974;
  margin-left: 1px;
}
.local-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #92929c;
  font-size: 10px;
}
.local-label .icon {
  width: 16px;
  height: 16px;
  color: #6f6f78;
}
.header-end > .icon-button {
  color: #9898a3;
  width: 36px;
}
.header-end .icon {
  width: 19px;
}
.mobile-wordmark {
  display: none;
}
.feed-toolbar {
  gap: 18px;
  height: var(--toolbar);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 42px;
  position: absolute;
  inset: var(--header) 0 auto;
  z-index: 2;
  pointer-events: none;
}
.feed-toolbar > * {
  pointer-events: auto;
}
.curation-tabs {
  display: flex;
  gap: 6px;
  align-items: center;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  white-space: nowrap;
}
.curation-tabs::-webkit-scrollbar {
  display: none;
}
.curation-tabs a {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 7px;
  border-radius: 6px;
  padding: 9px 12px;
  min-height: 44px;
  font-size: 11px;
  font-weight: 500;
  color: #85858f;
}
.curation-tabs a.selected {
  background: #fff;
  color: #151518;
  font-weight: 650;
}
.curation-tabs .icon {
  width: 15px;
  height: 15px;
}
.auto-button {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #92929c;
  min-height: 44px;
}
.toggle-dot {
  width: 5px;
  height: 5px;
  background: #d6d6dc;
  border-radius: 50%;
  margin-right: 2px;
}
.auto-button[aria-pressed='false'] .toggle-dot {
  background: #595961;
}
.auto-state {
  color: #e5e5e9;
  font-weight: 600;
}
.feed {
  height: calc(100dvh - var(--header));
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  overscroll-behavior: contain;
}
.feed::-webkit-scrollbar {
  display: none;
}
.slide {
  height: calc(100dvh - var(--header));
  min-height: 470px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  padding: 78px 100px 30px 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
}
.slide-inner {
  width: 100%;
  max-width: 1060px;
  position: relative;
  margin: auto;
}
.video-stage {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.video-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-position: center;
  background-size: cover;
  opacity: 0.045;
  filter: blur(45px);
  pointer-events: none;
}
.player-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  isolation: isolate;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 0 0 1px #35353f;
}
.thumbnail {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  inset: 0;
  z-index: 0;
}
.player-slot {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.player-slot > div,
.player-slot iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.portrait .video-stage {
  max-height: calc(100dvh - 330px);
}
.portrait .player-wrap {
  height: calc(100dvh - 330px);
  min-height: 240px;
  width: auto;
  aspect-ratio: 9/16;
}
.portrait .slide-inner {
  max-width: 550px;
}
.portrait .video-info {
  max-width: 100%;
}
.video-bottom {
  display: flex;
  gap: 20px;
  position: relative;
  padding: 21px 0 0;
  align-items: flex-start;
}
.video-info {
  width: 100%;
  min-width: 0;
  position: relative;
}
.creator-line {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 650;
}
.creator-avatar {
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #35353c;
  color: #dddde4;
  font-family: Anton, sans-serif;
  font-size: 13px;
}
.creator-line a:hover {
  text-decoration: underline;
}
.curation-label {
  color: #92929e;
  margin-left: 0;
  display: flex;
}
.curation-label {
  color: #92929e;
  font-size: 10px;
  font-weight: 500;
}
.video-count {
  margin-left: 5px;
  color: #73737f;
  font-size: 10px;
  font-weight: 400;
}
.video-title {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.45;
  max-width: 650px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.3px;
}
.video-title:hover {
  color: #ddd;
}
.source-line {
  font-size: 10px;
  color: #93939e;
  margin: 9px 0 11px;
  line-height: 1.5;
}
.video-topics {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.video-topics a {
  font-size: 9px;
  color: #aaaab4;
  border: 1px solid #33333c;
  background: #1b1b21;
  border-radius: 4px;
  padding: 5px 7px;
  min-height: 27px;
  display: flex;
  align-items: center;
}
.video-topics a:hover {
  background: #303039;
  color: #fff;
}
.action-rail {
  position: absolute;
  right: -71px;
  bottom: 0;
  display: grid;
  gap: 17px;
  justify-items: center;
  width: 48px;
}
.rail-button {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  min-height: 58px;
  width: 48px;
  font-size: 9px;
  color: #b6b6c0;
  border-radius: 50%;
  background: none !important;
}
.rail-button > .icon {
  width: 45px;
  height: 45px;
  padding: 12px;
  border-radius: 50%;
  background: #222228;
  color: #e4e4eb;
  transition:
    transform 0.17s,
    background 0.17s;
}
.rail-button:hover > .icon {
  background: #36363e;
  transform: scale(1.07);
}
.rail-button > span {
  font-size: 9px;
}
.rail-button.is-liked > .icon {
  fill: var(--pink);
  stroke: var(--pink);
  background: #2c1722;
}
.rail-button.is-liked {
  color: var(--pink);
}
.rail-button.is-saved > .icon {
  fill: #eee;
  stroke: #eee;
}
.playback-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  color: #d3d3dc;
  min-height: 44px;
}
.playback-row > .icon-button {
  width: 35px;
  height: 44px;
  margin-left: -9px;
}
.playback-row > .icon-button:last-child {
  margin-left: 0;
  margin-right: -9px;
}
.playback-row .icon {
  width: 17px;
  height: 17px;
}
.volume-button {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  padding: 5px 7px;
  min-height: 34px;
  border-radius: 20px;
  border: 1px solid #35353e;
}
.volume-button .icon {
  width: 14px;
  height: 14px;
}
.video-time {
  font-size: 9px;
  color: #8a8a96;
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}
.video-progress {
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 100%;
  height: 16px;
  appearance: none;
  background: transparent;
  cursor: pointer;
  margin: 0;
  --progress: 0%;
}
.video-progress::-webkit-slider-runnable-track {
  height: 2px;
  background: linear-gradient(to right, var(--pink) var(--progress), #36363e var(--progress));
}
.video-progress::-moz-range-track {
  height: 2px;
  background: #36363e;
}
.video-progress::-moz-range-progress {
  height: 2px;
  background: var(--pink);
}
.video-progress::-webkit-slider-thumb {
  appearance: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  margin-top: -3px;
  opacity: 0;
}
.video-progress:hover::-webkit-slider-thumb {
  opacity: 1;
}
.video-progress::-moz-range-thumb {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: var(--pink);
}
.quick-like-zone {
  position: absolute;
  width: 44px;
  height: 44px;
  right: 42px;
  bottom: 0;
  cursor: pointer;
  pointer-events: none;
}
.feed-navigation {
  position: fixed;
  right: 22px;
  bottom: 31px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 3;
  color: #8c8c97;
}
.feed-navigation .icon-button {
  width: 38px;
  height: 38px;
  border: 1px solid #303038;
  background: #19191f;
}
.feed-navigation .icon {
  width: 16px;
  height: 16px;
}
.feed-navigation small {
  font-size: 7px;
  letter-spacing: 1px;
  line-height: 1.8;
  text-align: center;
  color: #565663;
  margin-top: 6px;
}
.hidden {
  display: none !important;
}
.video-info:focus-within,
.action-rail:focus-within,
.video-info:hover,
.action-rail:hover {
  opacity: 1 !important;
}
.first-topics {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding: 12px;
  background: #19191f;
  border: 1px solid #33333b;
  border-radius: 8px;
}
.first-topics > span {
  font-size: 10px;
  color: #b4b4bd;
}
.first-topics > a {
  padding: 8px;
  border-radius: 4px;
  background: #292930;
  font-size: 10px;
}
.first-topics .icon-button {
  width: 32px;
  height: 32px;
  margin-left: auto;
}
.first-topics .icon {
  width: 14px;
}
.heart-burst {
  position: absolute;
  left: 50%;
  top: 40%;
  z-index: 3;
  pointer-events: none;
  animation: heart-pop 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.heart-burst .icon {
  width: 95px;
  height: 95px;
  fill: var(--pink);
  stroke: var(--pink);
  filter: drop-shadow(0 3px 12px #1a0014);
}
@keyframes heart-pop {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2) rotate(-18deg);
  }
  30% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2) rotate(-12deg);
  }
  70% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(-12deg);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -70%) scale(1.05);
  }
}
.empty-page {
  height: calc(100dvh - var(--header));
  overflow: auto;
  padding: 105px 30px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.empty-decoration {
  width: 280px;
  height: 200px;
  position: relative;
  margin: 0 0 27px;
}
.empty-film {
  position: absolute;
  width: 239px;
  height: 155px;
  left: 10px;
  top: 19px;
  transform: rotate(-7deg);
  background: #202026;
  border: 1px solid #41414a;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  box-shadow:
    9px 11px 0 #111116,
    10px 12px 0 #35353e;
}
.empty-film > span {
  font-family: Anton, Impact, sans-serif;
  font-size: 26px;
  line-height: 1.17;
  letter-spacing: 0.25px;
  text-align: left;
  color: #d7d7df;
}
.empty-film > .icon {
  width: 40px;
  height: 40px;
  fill: #94949d;
  stroke: #94949d;
  margin-left: 9px;
  transform: rotate(7deg);
}
.empty-sticker {
  position: absolute;
  right: 0;
  bottom: 5px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #eeeeef;
  transform: rotate(13deg);
  color: #161619;
  font-family: Anton, Impact, sans-serif;
  font-size: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.05;
  border: 5px solid #101014;
  outline: 1px solid #66666f;
}
.empty-sticker small {
  font-family: Inter, sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.3px;
  margin-top: 5px;
}
.decor-cross {
  position: absolute;
  top: 0;
  right: 15px;
  color: #555561;
  font-size: 30px;
  font-weight: 400;
  transform: rotate(-12deg);
}
.empty-kicker {
  font-size: 9px;
  letter-spacing: 2px;
  color: #82828d;
  font-weight: 600;
  margin: 0 0 14px;
}
.empty-page h2 {
  font-family: Anton, Impact, sans-serif;
  font-size: 39px;
  letter-spacing: 0.1px;
  font-weight: 400;
  margin: 0 0 14px;
  line-height: 1.2;
}
.empty-page > p {
  font-size: 12px;
  line-height: 1.85;
  color: #94949f;
  max-width: 370px;
  margin: 0 0 25px;
}
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background: var(--pink);
  color: #fff;
  border-radius: 5px;
  padding: 14px 20px;
  min-height: 46px;
  font-size: 11px;
  font-weight: 650;
}
.primary-button:hover {
  background: #ec266f;
}
.primary-button > .icon {
  width: 16px;
  height: 16px;
}
.empty-topics {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 26px;
}
.empty-topics > a {
  border: 1px solid #2e2e37;
  padding: 8px 10px;
  border-radius: 4px;
  font-size: 10px;
  color: #9797a3;
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.empty-topics .icon {
  width: 12px;
  height: 12px;
}
.empty-topics a:hover {
  color: #fff;
  border-color: #656571;
}
.empty-footer {
  display: flex;
  align-items: center;
  gap: 19px;
  font-size: 9px;
  color: #60606d;
  margin-top: auto;
  padding-top: 40px;
}
.empty-footer > span {
  display: flex;
  gap: 6px;
  align-items: center;
}
.empty-footer .icon {
  width: 15px;
  height: 15px;
}
.empty-footer i {
  width: 1px;
  height: 12px;
  background: #2a2a33;
}
.feed-error {
  height: calc(100dvh - var(--header));
  padding: 120px 24px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.feed-error > h2 {
  font-size: 24px;
  letter-spacing: -0.5px;
}
.feed-error > p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 400px;
  margin: 0 0 25px;
}
.player-error {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #18181f;
  text-align: center;
  padding: 20px;
  color: #c4c4cf;
  font-size: 12px;
  gap: 12px;
}
.player-error p {
  max-width: 290px;
  line-height: 1.8;
  margin: 0;
}
.player-error a,
.player-error button {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  font-size: 11px;
}
.player-error button {
  background: #32323e;
  padding: 5px 14px;
  border-radius: 5px;
}
.player-error .icon {
  width: 16px;
  height: 16px;
}
.library-mode .main {
  overflow-y: auto;
}
.library-mode .feed-toolbar {
  display: none;
}
.library-mode #content {
  padding: 0 36px 45px;
}
.library-mode .empty-page {
  padding-top: 70px;
}
.library-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0 26px;
}
.library-heading p {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}
.library-heading > span {
  font-size: 10px;
  color: #81818e;
}
.library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 27px 22px;
}
.video-card {
  display: block;
  min-width: 0;
}
.card-image {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  background: #22222a;
  border-radius: 8px;
}
.card-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s;
}

.card-hook {
  position: absolute;
  inset: auto 15px 18px;
  max-width: 75%;
  font-family: Anton, Impact, sans-serif;
  font-size: 24px;
  line-height: 1.15;
  transform: rotate(-2deg);
  z-index: 1;
  text-transform: uppercase;
  text-shadow: 1px 2px 3px #000a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-duration {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: #12121bd9;
  padding: 4px 6px;
  z-index: 1;
  border-radius: 3px;
  font-size: 9px;
}
.card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.15s;
}
.card-play .icon {
  width: 44px;
  height: 44px;
  fill: #fff;
  filter: drop-shadow(0 2px 5px #111);
}
.video-card:hover .card-play {
  opacity: 1;
}
.video-card:hover img {
  transform: scale(1.03);
}
.card-meta {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  color: #8b8b97;
  font-size: 10px;
  margin-top: 12px;
}
.video-card h2 {
  font-size: 12px;
  line-height: 1.6;
  font-weight: 550;
  margin: 7px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.loading-stage {
  max-width: 850px;
  padding: 110px 40px 40px;
  margin: auto;
}
.skeleton-player {
  width: 100%;
  aspect-ratio: 16/9;
  background: #202027;
  border-radius: 8px;
}
.skeleton-line {
  height: 12px;
  width: 70%;
  margin-top: 22px;
  border-radius: 3px;
  background: #27272f;
}
.short-line {
  width: 40%;
  margin-top: 12px;
}
.skeleton-card {
  height: 240px;
  border-radius: 8px;
  background: #202027;
}
.skeleton-grid {
  padding-top: 35px;
}
.skeleton-card,
.skeleton-player,
.skeleton-line {
  animation: skeleton 1.5s ease-in-out infinite;
}
@keyframes skeleton {
  50% {
    opacity: 0.5;
  }
}
#toast {
  position: fixed;
  bottom: 30px;
  left: calc(50% + var(--rail) / 2);
  max-width: calc(100vw - 35px);
  transform: translate(-50%, 15px);
  background: #f5f5f7;
  color: #1b1b22;
  box-shadow: 0 5px 30px #0003;
  border-radius: 7px;
  padding: 14px 20px;
  font-size: 11px;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.17s,
    transform 0.17s;
  line-height: 1.6;
  text-align: center;
}
#toast.shown {
  opacity: 1;
  transform: translate(-50%, 0);
}
dialog {
  background: #19191f;
  color: #fff;
  border: 1px solid #3b3b45;
  border-radius: 14px;
  width: 440px;
  max-width: calc(100vw - 32px);
  padding: 26px;
  box-shadow: 0 15px 100px #0009;
  max-height: 80dvh;
}
dialog::backdrop {
  background: #08080bc9;
  backdrop-filter: blur(5px);
}
.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 23px;
}
.sheet-header h2 {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.5px;
  margin: 0;
}
.sheet-header > .icon-button {
  width: 44px;
  height: 44px;
  margin: -6px -7px -6px 0;
  background: #2b2b34;
}
.sheet-header > .icon-button .icon {
  width: 16px;
  height: 16px;
}
.settings-row {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  border-bottom: 1px solid #33333d;
}
.settings-row strong {
  font-size: 12px;
  font-weight: 550;
}
.settings-row p {
  font-size: 10px;
  line-height: 1.7;
  color: #a1a1af;
  margin: 6px 0 12px;
}
.switch {
  position: relative;
  height: 44px;
  width: 44px;
  background: transparent;
  flex-shrink: 0;
  padding: 12px 3px;
}
.switch::before {
  content: '';
  position: absolute;
  inset: 9px 0;
  border-radius: 20px;
  background: #444450;
}
.switch span {
  position: relative;
  display: block;
  height: 20px;
  width: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.15s;
}
.switch:hover {
  background: transparent;
}
.switch.on::before {
  background: #e2e2e9;
}
.switch.on span {
  background: #292932;
  transform: translateX(18px);
}
.settings-note {
  padding: 18px 0;
  color: #8f8f9e;
  font-size: 10px;
  line-height: 1.9;
}
.settings-note > .icon {
  width: 15px;
  height: 15px;
  margin-right: 5px;
}
.sheet-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 48px;
  width: 100%;
  font-size: 12px;
  padding: 10px 0;
  border-top: 1px solid #33333c;
  text-align: left;
}
.sheet-link .icon {
  width: 16px;
  height: 16px;
  color: #898999;
}
.shortcut-list > div {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding: 13px 0;
  border-top: 1px solid #33333e;
  font-size: 11px;
  color: #c2c2ce;
  align-items: center;
}
.shortcut-list kbd {
  font:
    10px Inter,
    sans-serif;
  padding: 5px 8px;
  border: 1px solid #484855;
  border-bottom-width: 2px;
  border-radius: 4px;
  color: #e5e5ed;
}
.copy-row {
  display: flex;
  gap: 10px;
}
.copy-row input {
  width: 100%;
  min-width: 0;
  border: 1px solid #3b3b48;
  border-radius: 5px;
  background: #25252e;
  color: #b6b6c6;
  padding: 10px;
  font-size: 11px;
}
.copy-row .primary-button {
  padding: 12px;
  gap: 7px;
}
.share-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
  margin-top: 23px;
}
.share-options > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  font-size: 12px;
  border-bottom: 1px solid #333340;
}
.share-options .icon {
  width: 14px;
  height: 14px;
  color: #858596;
}
.share-caption {
  color: #777787;
  font-size: 10px;
  margin: 22px 0 0;
}
.slide:fullscreen {
  background: #0b0b0e;
  min-height: 100dvh;
}
.slide:fullscreen .player-wrap {
  max-height: calc(100dvh - 250px);
  width: 100%;
}
.slide:fullscreen .video-backdrop {
  position: absolute;
}
.slide:fullscreen .slide-inner {
  max-width: 1100px;
}
article.legal-page {
  font:
    14px/1.9 Inter,
    Arial,
    sans-serif;
  max-width: 760px;
  padding: 60px 30px;
  margin: auto;
  color: #b0b0bc;
  overflow: auto;
  height: 100dvh;
}
.legal-page h1,
.legal-page h2 {
  color: #f3f3f6;
  line-height: 1.25;
}
.legal-page h1 {
  font-family: Anton, Impact, sans-serif;
  font-size: 38px;
  font-weight: 400;
}
.legal-page h2 {
  font-size: 19px;
  margin-top: 36px;
}
.legal-page a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.legal-page .wordmark {
  text-decoration: none;
  margin-bottom: 30px;
}
@media (min-width: 1600px) {
  :root {
    --rail: 270px;
  }
  .sidebar {
    padding-left: 26px;
    padding-right: 26px;
  }
  .slide {
    padding-left: 80px;
    padding-right: 125px;
  }
  .slide-inner {
    max-width: 1120px;
  }
  .topbar {
    padding-left: 48px;
    padding-right: 48px;
  }
  .feed-toolbar {
    padding-left: 64px;
    padding-right: 64px;
  }
}
@media (max-height: 790px) and (min-width: 801px) {
  .empty-page {
    padding-top: 95px;
  }
  .empty-decoration {
    height: 151px;
    transform: scale(0.82);
    margin-bottom: 15px;
  }
  .empty-page h2 {
    font-size: 35px;
  }
  .empty-page > p {
    margin-bottom: 20px;
  }
  .empty-topics {
    margin-top: 20px;
  }
  .empty-footer {
    padding-top: 25px;
  }
  .slide {
    padding-top: 75px;
    padding-bottom: 25px;
  }
  .slide-inner {
    max-width: min(900px, calc((100dvh - 330px) * 1.777));
  }
  .portrait .slide-inner {
    max-width: 480px;
  }
  .video-bottom {
    padding-top: 14px;
  }
  .action-rail {
    gap: 10px;
  }
  .video-title {
    font-size: 14px;
  }
  .source-line {
    margin: 6px 0 8px;
  }
  .creator-line {
    margin-bottom: 6px;
  }
  .video-topics a {
    min-height: 25px;
  }
  .playback-row {
    margin-top: 6px;
  }
}
@media (max-width: 1150px) {
  :root {
    --rail: 220px;
  }
  .sidebar {
    padding-left: 14px;
    padding-right: 14px;
  }
  .header-note {
    display: none;
  }
  .topbar {
    padding: 0 25px;
  }
  .feed-toolbar {
    padding-left: 25px;
    padding-right: 25px;
  }
  .slide {
    padding-left: 25px;
    padding-right: 88px;
  }
  .action-rail {
    right: -64px;
  }
  .feed-navigation {
    right: 12px;
  }
  .local-label {
    display: none;
  }
  .empty-page h2 {
    font-size: 35px;
  }
  .library-grid {
    grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  }
  .library-mode #content {
    padding-left: 25px;
    padding-right: 25px;
  }
  .video-title {
    font-size: 14px;
  }
}
@media (max-width: 800px) {
  :root {
    --rail: 0px;
    --header: 65px;
    --toolbar: 57px;
  }
  .sidebar {
    width: 260px;
    transform: translateX(-100%);
    transition: transform 0.2s;
    z-index: 7;
    padding-top: max(24px, env(safe-area-inset-top));
  }
  .sidebar-scrim {
    position: fixed;
    inset: 0;
    background: #0009;
    z-index: 6;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(4px);
  }
  .nav-open .sidebar {
    transform: translateX(0);
  }
  .nav-open .sidebar-scrim {
    display: block;
  }
  .close-sidebar {
    display: inline-flex;
    width: 44px;
    height: 44px;
    color: #90909b;
  }
  .close-sidebar .icon {
    width: 16px;
    height: 16px;
  }
  .main {
    margin-left: 0;
  }
  .topbar {
    padding: 0 20px;
    padding-top: env(safe-area-inset-top);
  }
  .header-start {
    gap: 12px;
  }
  .header-start > .icon-button {
    margin-left: -7px;
  }
  .header-divider {
    display: none;
  }
  .mobile-wordmark {
    display: inline;
    font-family: Anton, Impact, sans-serif;
    font-size: 24px;
    transform: rotate(-3deg);
    letter-spacing: -0.6px;
  }
  .mobile-wordmark span {
    font:
      600 11px Inter,
      sans-serif;
    letter-spacing: -0.4px;
  }
  .topbar h1 {
    font-size: 12px;
    margin-left: 7px;
    padding-left: 17px;
    border-left: 1px solid #33333c;
  }
  .header-end .icon-button {
    margin-right: -6px;
  }
  .feed-toolbar {
    padding: 0 17px;
  }
  .curation-tabs {
    gap: 2px;
  }
  .curation-tabs a {
    font-size: 10px;
    padding: 8px 10px;
  }
  .curation-tabs .icon {
    width: 13px;
    height: 13px;
  }
  .auto-button {
    font-size: 9px;
    gap: 5px;
  }
  .slide {
    padding: 69px 74px 27px 20px;
  }
  .slide-inner {
    max-width: 800px;
  }
  .action-rail {
    right: -57px;
    gap: 13px;
  }
  .rail-button {
    width: 44px;
    min-height: 52px;
  }
  .rail-button > .icon {
    width: 44px;
    height: 44px;
    padding: 12px;
  }
  .rail-button > span {
    font-size: 8px;
  }
  .feed-navigation {
    display: none;
  }
  .portrait .player-wrap {
    height: calc(100dvh - 340px);
    min-height: 250px;
  }
  .portrait .video-stage {
    max-height: calc(100dvh - 340px);
  }
  .empty-page {
    padding-top: 108px;
  }
  .empty-page h2 {
    font-size: 36px;
  }
  .empty-page > p {
    font-size: 12px;
    max-width: 345px;
  }
  .empty-decoration {
    margin-bottom: 25px;
  }
  .empty-footer {
    padding-top: 40px;
    padding-bottom: calc(15px + env(safe-area-inset-bottom));
  }
  .library-mode #content {
    padding: 0 20px 35px;
  }
  .library-heading {
    padding-top: 24px;
    gap: 15px;
    align-items: flex-start;
  }
  .library-heading p {
    font-size: 12px;
    max-width: 50%;
  }
  .library-heading > span {
    font-size: 9px;
  }
  .library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 13px;
  }
  .card-hook {
    font-size: 23px;
  }
  .library-mode .empty-page {
    padding-left: 0;
    padding-right: 0;
  }
  #toast {
    left: 50%;
    bottom: calc(24px + env(safe-area-inset-bottom));
    font-size: 11px;
  }
  .video-title {
    font-size: 14px;
    letter-spacing: -0.2px;
  }
  .video-bottom {
    padding-top: 18px;
  }
  .source-line {
    font-size: 10px;
  }
  .video-backdrop {
    position: absolute;
  }
  .slide:fullscreen {
    padding-right: 75px;
  }
}
@media (max-width: 520px) {
  .slide {
    padding: 70px 0 24px;
    align-items: center;
    min-height: 550px;
  }
  .long .slide-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100dvh - 170px);
    padding-bottom: 20px;
  }
  .player-wrap {
    border-radius: 0;
  }
  .long .video-stage {
    margin-top: 0;
  }
  .video-bottom {
    padding: 23px 68px 0 18px;
  }
  .video-title {
    font-size: 15px;
    line-height: 1.45;
    max-height: 67px;
  }
  .action-rail {
    right: 13px;
    bottom: 3px;
    gap: 13px;
  }
  .creator-line {
    gap: 8px;
    font-size: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
  }
  .creator-avatar {
    width: 24px;
    height: 24px;
  }
  .curation-label {
    margin-left: 0;
  }
  .video-count {
    font-size: 9px;
    margin-left: 0;
    white-space: nowrap;
  }
  .source-line {
    font-size: 10px;
    margin: 10px 0 12px;
    max-width: 225px;
  }
  .video-topics a {
    min-height: 29px;
    font-size: 9px;
    padding: 5px 7px;
  }
  .playback-row {
    gap: 5px;
    margin-top: 15px;
  }
  .playback-row > .icon-button:last-child {
    margin-right: -5px;
  }
  .video-time {
    font-size: 8px;
  }
  .volume-button {
    font-size: 8px;
    gap: 5px;
    padding: 5px 6px;
    white-space: nowrap;
  }
  .video-progress {
    bottom: -9px;
  }
  .portrait .player-wrap {
    min-height: 0;
    height: calc(100dvh - 380px);
    max-height: 520px;
    border-radius: 8px;
  }
  .portrait .video-stage {
    max-height: none;
    margin-top: 10px;
  }
  .portrait .slide-inner {
    padding-bottom: 0;
  }
  .portrait .video-bottom {
    padding-top: 19px;
  }
  .portrait .video-title {
    font-size: 13px;
  }
  .portrait .source-line {
    margin: 6px 0 8px;
  }
  .portrait .creator-line {
    margin-bottom: 8px;
  }
  .portrait .playback-row {
    margin-top: 8px;
  }
  .portrait .action-rail {
    bottom: 0;
  }
  .empty-page {
    padding-left: 23px;
    padding-right: 23px;
    padding-top: 94px;
  }
  .empty-decoration {
    transform: scale(0.9);
    margin-bottom: 13px;
    height: 185px;
  }
  .empty-page h2 {
    font-size: 34px;
    max-width: 330px;
  }
  .empty-page > p {
    font-size: 11px;
    max-width: 310px;
    line-height: 1.9;
    margin-bottom: 22px;
  }
  .empty-kicker {
    font-size: 8px;
    letter-spacing: 1.7px;
  }
  .empty-topics {
    gap: 7px;
    margin-top: 22px;
    max-width: 330px;
  }
  .empty-topics > a {
    font-size: 9px;
    min-height: 35px;
  }
  .empty-footer {
    font-size: 8px;
    gap: 13px;
    padding-top: 35px;
  }
  .empty-footer .icon {
    width: 13px;
    height: 13px;
  }
  .empty-sticker {
    right: 0;
  }
  .library-grid {
    gap: 22px 12px;
  }
  .card-image {
    border-radius: 6px;
  }
  .card-hook {
    font-size: 21px;
    left: 10px;
    bottom: 18px;
    max-width: 80%;
  }
  .card-duration {
    font-size: 8px;
  }
  .card-meta {
    font-size: 8px;
    gap: 6px;
  }
  .video-card h2 {
    font-size: 10px;
  }
  .library-mode #content {
    padding-left: 15px;
    padding-right: 15px;
  }
  .library-heading p {
    font-size: 11px;
  }
  .library-heading > span {
    font-size: 8px;
  }
  dialog {
    padding: 23px 21px;
    border-radius: 15px 15px 0 0;
    margin: auto 0 0;
    max-width: 100%;
    width: 100%;
    max-height: 80dvh;
    bottom: 0;
    top: auto;
    padding-bottom: calc(23px + env(safe-area-inset-bottom));
  }
  .sheet-header h2 {
    font-size: 18px;
  }
  .first-topics {
    margin: 22px 14px 0;
  }
  .first-topics > span {
    width: 100%;
  }
  .first-topics > a {
    font-size: 9px;
  }
  .slide:fullscreen {
    padding: 75px 0 25px;
  }
  .slide:fullscreen .player-wrap {
    max-height: calc(100dvh - 270px);
  }
  .loading-stage {
    padding-left: 20px;
    padding-right: 20px;
  }
  .quick-like-zone {
    pointer-events: auto;
    right: 40px;
    bottom: 0;
  }
  .portrait .video-progress {
    display: none;
  }
}
@media (max-width: 370px) {
  .curation-tabs a {
    padding-left: 7px;
    padding-right: 7px;
  }
  .curation-tabs .icon {
    display: none;
  }
  .topbar h1 {
    font-size: 11px;
    margin-left: 0;
    padding-left: 13px;
  }
  .empty-page h2 {
    font-size: 30px;
  }
  .empty-decoration {
    transform: scale(0.8);
    margin-top: -20px;
  }
  .empty-footer {
    gap: 9px;
    font-size: 7px;
  }
  .empty-topics > a {
    font-size: 8px;
  }
  .video-count {
    display: none;
  }
  .video-time {
    font-size: 7px;
  }
  .volume-button span {
    font-size: 7px;
  }
  .action-rail {
    right: 10px;
  }
  .video-bottom {
    padding-left: 14px;
    padding-right: 65px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .heart-burst {
    display: none;
  }
}
.share-qr {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}
.share-qr > div {
  background: #fff;
  padding: 3px;
  border-radius: 5px;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
}
.share-qr svg {
  width: 100%;
  height: 100%;
  display: block;
}
.share-qr p {
  font-size: 11px;
  line-height: 1.9;
  color: #dddde5;
}
.share-qr p span {
  font-size: 9px;
  color: #8c8c9b;
}
@media (min-width: 801px) {
  .nav-collapsed {
    --rail: 84px;
  }
  .nav-collapsed .sidebar {
    padding-left: 14px;
    padding-right: 14px;
    align-items: center;
  }
  .nav-collapsed .wordmark {
    font-size: 27px;
    letter-spacing: -1px;
  }
  .nav-collapsed .wordmark span,
  .nav-collapsed .wordmark i,
  .nav-collapsed .tagline,
  .nav-collapsed .topic-label,
  .nav-collapsed .topic-search,
  .nav-collapsed .topic-list,
  .nav-collapsed .sidebar-footer,
  .nav-collapsed .nav-link > span,
  .nav-collapsed .nav-link > small {
    display: none;
  }
  .nav-collapsed .sidebar nav {
    margin-top: 37px;
    width: 100%;
  }
  .nav-collapsed .nav-link {
    justify-content: center;
    padding: 0;
    min-height: 48px;
  }
  .nav-collapsed .wordmark {
    font-size: 0;
  }
  .nav-collapsed .wordmark:before {
    content: 'p.';
    font-size: 38px;
  }
}
.reset-copy {
  font-size: 12px;
  line-height: 1.9;
  color: #a5a5b3;
  margin: 0 0 23px;
}
.reset-confirm {
  width: 100%;
  margin-bottom: 18px;
}
.header-start {
  min-width: 0;
}
.topbar h1 {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
}
.mobile-wordmark {
  flex-shrink: 0;
}
@media (max-width: 520px) {
  .topbar h1 {
    max-width: 130px;
  }
  .header-start {
    gap: 10px;
  }
  .header-end {
    margin-left: 8px;
    flex-shrink: 0;
  }
}
@media (max-width: 370px) {
  .topbar h1 {
    max-width: 96px;
  }
}
@media (max-width: 800px) {
  .icon-button {
    min-width: 44px;
    min-height: 44px;
  }
  .header-start > .icon-button,
  .header-end > .icon-button {
    width: 44px;
    height: 44px;
  }
  .topbar h1 {
    min-width: 0;
  }
  .curation-tabs a {
    min-height: 44px;
  }
  .topic-link {
    min-height: 44px;
  }
  .volume-button {
    min-height: 44px;
  }
  .video-topics a {
    min-height: 44px;
  }
  .empty-topics > a {
    min-height: 44px;
  }
  .mobile-wordmark {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .sidebar-footer a,
  .sidebar-footer button {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .sidebar-footer > div {
    gap: 10px;
    flex-wrap: wrap;
  }
  .sidebar-footer small a {
    min-height: 0;
  }
  .playback-row > .icon-button {
    margin-left: 0;
  }
  .playback-row > .icon-button:last-child {
    margin-right: 0;
  }
  .playback-row {
    gap: 4px;
  }
}
/* Keep custom actions out of the platform players on every phone layout. */
.player-wrap {
  min-width: 200px;
  min-height: 200px;
}
.platform-twitch .player-wrap {
  min-height: 300px;
}
@media (max-width: 800px) {
  .sidebar {
    visibility: hidden;
  }
  .nav-open .sidebar {
    visibility: visible;
  }
}
@media (max-width: 520px) {
  .long .slide-inner {
    min-height: 0;
  }
  .long .video-bottom {
    min-height: 350px;
  }
  .long .action-rail {
    top: 18px;
    bottom: auto;
    gap: 8px;
  }
  .portrait .video-stage {
    padding: 0 74px 0 16px;
  }
  .portrait .player-wrap {
    height: min(calc(100dvh - 380px), 520px, calc((100vw - 90px) * 16 / 9));
    min-width: 200px;
    min-height: 200px;
  }
}
@media (max-width: 520px) and (max-height: 740px) {
  .slide {
    padding-top: 60px;
    padding-bottom: 15px;
    min-height: calc(100dvh - var(--header));
    overflow-y: auto;
  }
  .slide-inner,
  .long .slide-inner {
    min-height: 0;
    margin: auto;
    padding-bottom: 10px;
  }
  .video-bottom,
  .long .video-bottom,
  .portrait .video-bottom {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 14px 16px 0;
    min-height: 0;
  }
  .action-rail,
  .long .action-rail,
  .portrait .action-rail {
    position: static;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
  }
  .portrait .video-stage {
    padding: 0;
    margin-top: 0;
  }
  .portrait .player-wrap {
    width: 200px;
    height: 200px;
    aspect-ratio: 1;
  }
  .creator-line {
    margin-bottom: 7px;
  }
  .video-title,
  .portrait .video-title {
    font-size: 12px;
    line-height: 1.4;
  }
  .source-line,
  .portrait .source-line {
    margin: 5px 0 7px;
    max-width: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .video-topics {
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  .video-topics a {
    flex-shrink: 0;
  }
  .playback-row,
  .portrait .playback-row {
    margin-top: 6px;
  }
}
@media (max-width: 520px) and (min-height: 741px) {
  .portrait .slide-inner {
    display: grid;
    grid-template-rows: minmax(200px, 1fr) auto auto;
    height: 100%;
    max-height: 100%;
    min-height: 0;
  }
  .portrait .video-stage {
    min-height: 0;
    height: 100%;
    margin-top: 0;
  }
  .portrait .player-wrap {
    height: min(100%, 520px, calc((100vw - 90px) * 16 / 9));
  }
}
/* Accounts stay optional; the collection remains the first thing on screen. */
[data-account-control] {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.account-button {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid #3a3a43;
  border-radius: 6px;
  padding: 0 15px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.account-button:hover {
  background: #25252c;
  border-color: #666671;
}
.account-button.signed-in {
  padding: 0 9px 0 5px;
  border-color: transparent;
}
.account-name {
  max-width: 105px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-avatar {
  height: 31px;
  width: 31px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #35353f;
  color: #f3f3f7;
  font-family: Inter, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  overflow: hidden;
}
.account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sync-pending {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e7e7ee;
  bottom: 5px;
  left: 30px;
  outline: 2px solid #111115;
}
.sidebar-footer [data-account-footer] {
  margin-top: -6px;
  margin-bottom: 10px;
}
[data-account-footer] button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 8px;
  min-height: 44px;
  width: 100%;
  color: #b7b7c2;
  font-size: 10px;
  line-height: 1.6;
}
[data-account-footer] .icon {
  width: 14px;
  height: 14px;
}
.account-intro {
  color: #acacb9;
  font-size: 12px;
  line-height: 1.9;
  max-width: 290px;
  margin: -5px 0 24px;
}
.social-buttons {
  display: grid;
  gap: 10px;
}
.social-button {
  width: 100%;
  min-height: 54px;
  border: 1px solid #4a4a56;
  border-radius: 6px;
  display: flex;
  align-items: center;
  text-align: left;
  gap: 13px;
  padding: 12px 15px;
  background: #eeeef2;
  color: #17171d;
  font-size: 12px;
  font-weight: 600;
}
.social-button:hover {
  background: #fff;
}
.social-button > .icon {
  margin-left: auto;
  width: 16px;
  height: 16px;
}
.social-button:disabled {
  opacity: 0.48;
  background: #292930;
  color: #aaaab6;
  border-color: #3c3c47;
  cursor: default;
}
.social-button small {
  display: block;
  font-size: 9px;
  line-height: 1.6;
  margin-top: 3px;
  color: #9898a6;
  font-weight: 400;
}
.provider-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 24px;
  font:
    750 22px/1 Arial,
    sans-serif;
  flex-shrink: 0;
}
.facebook-mark {
  font-size: 27px;
}
.auth-status,
.auth-privacy {
  font-size: 10px;
  line-height: 1.85;
  color: #9292a0;
  margin: 18px 0;
}
.auth-privacy {
  font-size: 9px;
  color: #767685;
  margin-bottom: 0;
}
.auth-privacy a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.auth-loading {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #91919f;
  font-size: 11px;
  background: #22222a;
  border-radius: 7px;
}
.auth-error {
  font-size: 11px;
  color: #dedee7;
  background: #303039;
  border: 1px solid #4b4b58;
  border-radius: 6px;
  padding: 12px 14px;
  line-height: 1.8;
  margin: 0 0 18px;
}
.continue-watching {
  margin-top: 7px;
}
.account-identity {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: -2px 0 24px;
}
.account-identity .account-avatar {
  width: 44px;
  height: 44px;
  font-size: 18px;
}
.account-identity > div {
  min-width: 0;
}
.account-identity strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.account-identity > div > span {
  display: block;
  color: #8e8e9d;
  font-size: 10px;
  line-height: 1.7;
  margin-top: 4px;
}
.delete-account-link {
  color: #9999a6;
  font-size: 10px;
}
.library-sync-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0 0;
  font-size: 10px;
  line-height: 1.8;
  color: #ababba;
}
.library-sync-note button {
  min-height: 44px;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0 8px;
}
@media (max-width: 1150px) {
  .header-end {
    gap: 9px;
  }
  .account-name {
    display: none;
  }
  .account-button.signed-in {
    padding: 0 5px;
    min-width: 44px;
  }
}
@media (max-width: 520px) {
  .header-start {
    flex: 1;
    gap: 8px;
  }
  .header-end {
    gap: 6px;
    margin-left: 6px;
  }
  .account-button {
    padding: 0 11px;
    font-size: 10px;
  }
  .header-start h1 {
    padding-left: 10px;
    margin-left: 0;
    flex: 1;
    max-width: 78px;
  }
  .header-start > .icon-button {
    margin-left: -8px;
  }
  .account-identity {
    margin-bottom: 21px;
  }
}
@media (max-width: 370px) {
  .topbar {
    padding-left: 14px;
    padding-right: 14px;
  }
  .header-start h1 {
    display: none;
  }
}
.sidebar-footer .footer-links {
  flex-wrap: wrap;
  gap: 0 14px;
  margin-bottom: 12px;
}
.footer-links a,
.footer-links button {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}
.auth-import {
  font-size: 10px;
  line-height: 1.85;
  color: #a4a4b2;
  padding: 0 0 19px;
  margin: -13px 0 0;
}
.empty-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 13px;
  font-size: 9px;
  color: #777784;
}
.empty-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}
.empty-legal a:hover {
  color: #d1d1dc;
}
@media (max-width: 800px) {
  .footer-links a,
  .footer-links button,
  .empty-legal a {
    min-height: 44px;
  }
  .empty-legal {
    margin-top: 0;
  }
}
/* Geometry comes from the provider's player dimensions or an explicit browser choice. */
.long .player-wrap,
.portrait .player-wrap {
  aspect-ratio: var(--video-aspect, 16 / 9);
}
.long .slide-inner {
  max-width: min(
    1280px,
    max(
      320px,
      calc((100dvh - var(--header) - var(--video-reserve, 300px)) * var(--video-aspect, 1.777778))
    )
  );
}
.portrait:fullscreen .player-wrap {
  width: auto;
  max-width: 100%;
}
.video-permalink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  margin-left: auto;
  color: #9292a0;
}
.video-permalink .icon {
  width: 15px;
  height: 15px;
}
.video-permalink:hover {
  color: #ededf3;
}
.view-preferences > span {
  display: block;
  font-size: 11px;
  color: #c5c5d0;
  margin-bottom: 10px;
}
.view-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
.view-options button {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #444450;
  border-radius: 5px;
  font-size: 11px;
  color: #bdbdca;
}
.view-options button[aria-pressed='true'] {
  background: #ececf1;
  color: #17171e;
  border-color: #ececf1;
}
.view-preferences > small {
  display: block;
  font-size: 9px;
  line-height: 1.8;
  color: #858595;
  margin: 10px 0 20px;
}
.share-video-title {
  font-size: 11px;
  line-height: 1.7;
  color: #a6a6b5;
  margin: -7px 0 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.copy-row .primary-button {
  flex-shrink: 0;
}
.share-time {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: #b5b5c3;
  font-size: 10px;
  cursor: pointer;
}
.share-time input {
  width: 16px;
  height: 16px;
  accent-color: #d7d7e1;
}
.share-options > a,
.share-options > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 57px;
  padding: 8px 0;
  font-size: 12px;
  text-align: left;
  border-bottom: 1px solid #333340;
}
.share-options > button:hover {
  background: transparent;
  color: #d0d0dd;
}
.share-options small {
  display: block;
  font-size: 8px;
  font-weight: 400;
  line-height: 1.8;
  color: #858596;
  margin-top: 3px;
}
.share-native {
  font-size: 11px;
  margin-top: 10px;
}
.share-status {
  font-size: 10px;
  color: #c0c0ce;
  line-height: 1.8;
  margin: 15px 0;
}
.share-status:empty {
  display: none;
}
.share-secondary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 20px;
  margin-top: 8px;
}
.share-secondary a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #9d9dae;
  font-size: 10px;
}
.share-secondary a:hover {
  color: #ededf6;
}
.share-handoff {
  padding: 14px;
  margin: 14px 0 4px;
  background: #25252e;
  border: 1px solid #41414f;
  border-radius: 6px;
}
.share-handoff p {
  margin: 0 0 6px;
  color: #bdbdcb;
  font-size: 10px;
  line-height: 1.85;
}
.share-handoff .sheet-link {
  min-height: 44px;
  font-size: 11px;
  border-top: 0;
}
.share-handoff > small {
  display: block;
  color: #848495;
  font-size: 8px;
  line-height: 1.8;
}
@media (max-width: 520px) {
  .long .slide-inner {
    max-width: 100%;
  }
  .portrait .player-wrap {
    height: min(calc(100dvh - 380px), 520px, calc((100vw - 90px) / var(--video-aspect, 0.5625)));
  }
  .share-qr {
    display: none;
  }
}
@media (max-width: 520px) and (min-height: 741px) {
  .portrait .player-wrap {
    height: min(100%, 520px, calc((100vw - 90px) / var(--video-aspect, 0.5625)));
  }
}
@media (max-width: 520px) and (max-height: 740px) {
  .portrait .player-wrap {
    width: 200px;
    height: 200px;
  }
}

/* Keep the native player and supplied thumbnail at their original brightness. */
.player-wrap,
.player-slot,
.player-slot iframe,
.thumbnail {
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
}
.player-slot iframe {
  background: #000;
}
