:root {
  --bg: #070f08;
  --surface: #0f1a12;
  --text: #f6ffe9;
  --muted: rgba(255, 255, 255, 0.58);
  --faint: rgba(255, 255, 255, 0.32);
  --line: rgba(255, 255, 255, 0.12);
  --pink: #c6f432;
  --cyan: #22d3ee;
  --gold: #22d3ee;
  --glass: rgba(15, 30, 19, 0.62);
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
}

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

html {
  height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100%;
  overflow: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overscroll-behavior: none;
}

body.sheet-open {
  user-select: none;
}

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

button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

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

svg {
  display: block;
}

[hidden] {
  display: none !important;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

::selection {
  color: #111;
  background: rgba(255, 255, 255, 0.92);
}

:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 3px;
}

.ambient {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% -10%, #122418 0%, #08110a 48%, #040805 100%);
}

.ambient__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  will-change: transform, background;
  transition: background 1.4s ease;
}

.ambient__orb--pink {
  top: 2vh;
  left: 13vw;
  width: min(46vw, 680px);
  height: min(46vw, 680px);
  opacity: 0.19;
  background: #c6f432;
  animation: drift 22s ease-in-out infinite alternate;
}

.ambient__orb--cyan {
  right: 10vw;
  bottom: -8vh;
  width: min(38vw, 580px);
  height: min(38vw, 580px);
  opacity: 0.1;
  background: #22d3ee;
  animation: drift 27s ease-in-out -9s infinite alternate-reverse;
}

.ambient__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 48%, transparent 25%, rgba(0, 0, 0, 0.48) 100%);
}

@keyframes drift {
  from { transform: translate3d(-3%, -2%, 0) scale(1); }
  to { transform: translate3d(5%, 5%, 0) scale(1.12); }
}

.sidebar {
  position: fixed;
  z-index: 40;
  top: 32px;
  bottom: 30px;
  left: 32px;
  width: 198px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.sidebar > * {
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  border-radius: 15px;
}

.brand-mark {
  display: block;
  width: 44px;
  height: 44px;
  flex: none;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 50%),
    #0f1e12;
  box-shadow:
    -3px 0 16px rgba(34, 211, 238, 0.14),
    3px 0 16px rgba(198, 244, 50, 0.16),
    0 10px 30px rgba(0, 0, 0, 0.36);
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
  text-shadow: -1.5px 0 var(--cyan), 1.5px 0 var(--pink);
}

.brand-type {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-type strong {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.brand-type small {
  color: var(--faint);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.3em;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: -2vh;
}

.side-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: left;
  transition: color 180ms ease, background 180ms ease;
}

.side-link .icon {
  width: 22px;
  height: 22px;
  stroke-width: 1.7;
}

.side-link:hover {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.045);
}

.side-link.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.065);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.055);
}

.side-link.is-active::before {
  position: absolute;
  top: 50%;
  left: -10px;
  width: 3px;
  height: 16px;
  border-radius: 3px;
  background: var(--pink);
  box-shadow: 0 0 12px rgba(198, 244, 50, 0.6);
  content: "";
  transform: translateY(-50%);
}

.side-foot {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-left: 14px;
}

.side-count {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.side-count strong {
  color: rgba(255, 255, 255, 0.88);
  font-size: 26px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}

.side-count span {
  color: var(--faint);
  font-size: 10px;
  letter-spacing: 0.13em;
}

.side-hint {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0;
  color: rgba(255, 255, 255, 0.28);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.side-hint span {
  display: flex;
  align-items: center;
  gap: 4px;
}

kbd {
  display: inline-grid;
  min-width: 18px;
  height: 18px;
  place-items: center;
  padding: 0 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.46);
  font-family: inherit;
  font-size: 9px;
  line-height: 1;
}

.topbar {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  height: 0;
  pointer-events: none;
}

.topbar > * {
  pointer-events: auto;
}

.mobile-brand {
  position: absolute;
  top: calc(18px + var(--safe-top));
  left: 22px;
  display: none;
  border-radius: 12px;
}

.brand-mark--small {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  font-size: 19px;
  object-fit: cover;
}

.feed-tabs {
  position: absolute;
  top: calc(20px + var(--safe-top));
  left: 50%;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 8px 6px 11px;
  transform: translateX(-50%);
}

.feed-tab {
  position: relative;
  padding: 2px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  transition: color 180ms ease;
}

.feed-tab:hover {
  color: rgba(255, 255, 255, 0.84);
}

.feed-tab.is-active {
  color: #fff;
}

.feed-tab__line {
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--pink);
  box-shadow: 0 0 10px rgba(198, 244, 50, 0.58);
  transform: translateX(-50%);
}

.top-actions {
  position: absolute;
  top: calc(22px + var(--safe-top));
  right: 32px;
  display: flex;
  gap: 9px;
}

.glass-button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(15, 30, 19, 0.5);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.glass-button .icon {
  width: 18px;
  height: 18px;
}

.glass-button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

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

.glass-button.is-spinning .icon {
  animation: spin 0.85s linear infinite;
}

.glass-button--dark {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.055);
}

.lang-wrap {
  position: relative;
}

.lang-menu {
  position: absolute;
  z-index: 60;
  top: calc(100% + 10px);
  right: 0;
  width: 224px;
  max-height: min(calc(100vh - 80px), 560px);
  max-height: min(calc(100dvh - 80px), 560px);
  overflow-y: auto;
  padding: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(10, 22, 13, 0.95);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  backdrop-filter: blur(24px) saturate(1.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  transform-origin: top right;
  animation: lang-menu-in 160ms var(--ease-out);
}

.lang-menu::-webkit-scrollbar {
  width: 6px;
}

.lang-menu::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.lang-menu__head {
  padding: 7px 10px 6px;
  color: var(--faint);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lang-menu__list {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.lang-option {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.72);
  text-align: start;
  transition: color 160ms ease, background 160ms ease;
}

.lang-option:hover,
.lang-option:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.lang-option.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
}

.lang-option__check {
  display: grid;
  width: 16px;
  height: 16px;
  flex: none;
  place-items: center;
  color: var(--pink);
  opacity: 0;
  transition: opacity 160ms ease;
}

.lang-option__check .icon {
  width: 14px;
  height: 14px;
  stroke-width: 2.4;
}

.lang-option.is-active .lang-option__check {
  opacity: 1;
}

.lang-option__text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.lang-option__name {
  overflow: hidden;
  font-size: 13.5px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lang-option__sub {
  color: var(--faint);
  font-size: 10.5px;
}

@keyframes lang-menu-in {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.feed-viewport {
  position: fixed;
  z-index: 1;
  inset: 0;
}

.feed {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-width: none;
  scroll-snap-type: y mandatory;
}

.feed::-webkit-scrollbar {
  display: none;
}

.feed.is-dragging,
.feed.is-wrapping {
  scroll-snap-type: none;
}

.video-slide.wrap-enter-next .stage {
  animation: wrap-enter-next 560ms var(--ease-out) both;
}

.video-slide.wrap-enter-prev .stage {
  animation: wrap-enter-prev 560ms var(--ease-out) both;
}

@keyframes wrap-enter-next {
  from {
    opacity: 0.35;
    transform: translateY(72%) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes wrap-enter-prev {
  from {
    opacity: 0.35;
    transform: translateY(-72%) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (hover: hover) and (pointer: fine) {
  .surface-toggle {
    cursor: grab;
  }

  .feed.is-dragging .surface-toggle {
    cursor: grabbing;
  }
}

.video-slide {
  display: flex;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.stage {
  --progress: 0;
  position: relative;
  height: min(calc(100vh - 40px), 960px);
  height: min(calc(100dvh - 40px), 960px);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  isolation: isolate;
  border-radius: 28px;
  background: #000;
  box-shadow:
    0 36px 110px rgba(0, 0, 0, 0.62),
    0 8px 30px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.07);
  opacity: 0.66;
  transform: scale(0.965);
  transition:
    transform 680ms var(--ease-out),
    opacity 680ms var(--ease-out);
  user-select: none;
  -webkit-user-select: none;
}

.video-slide.is-current .stage {
  opacity: 1;
  transform: scale(1);
}

.stage__video {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  pointer-events: none;
}

.stage__image {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  pointer-events: none;
}

.stage.is-landscape .stage__video,
.stage.is-landscape .stage__image {
  object-fit: contain;
}

.video-slide.is-animated .stage__video {
  display: none;
}

.video-slide.is-animated .post-music {
  display: none;
}

.video-slide.is-animated .progress,
.video-slide.is-animated .play-indicator,
.video-slide.is-animated .music-disc,
.video-slide.is-animated .post-music__icon {
  display: none;
}

body.is-image-feed #muteButton {
  display: none;
}

body.is-image-feed .side-hint [data-i18n-html="sideHintKeysHtml"] {
  display: none;
}

.stage__scrim {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, transparent 18%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.2) 37%, transparent 60%),
    linear-gradient(270deg, rgba(0, 0, 0, 0.16) 0%, transparent 28%);
}

.surface-toggle {
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
}

.surface-toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.42);
  outline-offset: -5px;
}

.stage__ui {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
}

.post-meta {
  position: absolute;
  right: 88px;
  bottom: calc(28px + var(--safe-bottom));
  left: 22px;
  pointer-events: none;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.34);
}

.post-byline {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.post-account {
  overflow: hidden;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.015em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-divider {
  color: rgba(255, 255, 255, 0.35);
  font-size: 10px;
}

.post-origin {
  flex: none;
  color: rgba(255, 255, 255, 0.56);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.post-title {
  display: -webkit-box;
  overflow: hidden;
  margin: 7px 0 11px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.5;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.post-music {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 7px;
  padding: 6px 11px 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(12, 26, 15, 0.42);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.post-music__icon {
  width: 14px;
  height: 14px;
  opacity: 0.8;
}

.post-music__scroll {
  min-width: 0;
  max-width: 230px;
  overflow: hidden;
}

.post-music__scroll span {
  display: block;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.78);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.action-rail {
  position: absolute;
  right: 12px;
  bottom: calc(94px + var(--safe-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  pointer-events: auto;
}

.avatar-wrap {
  position: relative;
  width: 48px;
  height: 48px;
  margin-bottom: 9px;
}

.avatar {
  display: grid;
  width: 48px;
  height: 48px;
  flex: none;
  place-items: center;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  color: #071009;
  background: #1d2f22;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.28);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.follow-badge {
  position: absolute;
  bottom: -7px;
  left: 50%;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1.5px solid rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  color: #071009;
  background: var(--pink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transform: translateX(-50%);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.follow-badge:hover {
  transform: translateX(-50%) scale(1.08);
}

.follow-badge::after {
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  content: "";
}

.follow-badge .icon {
  grid-area: 1 / 1;
  width: 11px;
  height: 11px;
  stroke-width: 2.7;
}

.follow-badge__check {
  display: none;
  stroke-width: 2.4;
}

.follow-badge.is-following {
  color: #0a140c;
  background: #fff;
}

.follow-badge.is-following .follow-badge__plus {
  display: none;
}

.follow-badge.is-following .follow-badge__check {
  display: block;
}

.action-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #fff;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}

.action-button__disc {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  background: rgba(8, 20, 10, 0.42);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.action-button .icon {
  width: 24px;
  height: 24px;
  transition: transform 180ms ease, fill 180ms ease;
}

.action-count {
  color: rgba(255, 255, 255, 0.88);
  font-size: 10.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.action-button:hover .action-button__disc {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.13);
}

.action-button:hover .icon {
  transform: scale(1.08);
}

.action-button:active .action-button__disc {
  transform: scale(0.92);
}

.like-button.is-active {
  color: var(--pink);
}

.like-button.is-active .action-button__disc {
  border-color: rgba(198, 244, 50, 0.3);
  background: rgba(198, 244, 50, 0.16);
}

.like-button.is-active .icon {
  fill: currentColor;
  stroke-width: 1.35;
}

.save-button.is-active {
  color: var(--gold);
}

.save-button.is-active .action-button__disc {
  border-color: rgba(34, 211, 238, 0.26);
  background: rgba(34, 211, 238, 0.12);
}

.save-button.is-active .icon {
  fill: currentColor;
  stroke-width: 1.4;
}

.action-button.pop .action-button__disc {
  animation: action-pop 480ms var(--ease-out);
}

@keyframes action-pop {
  0% { transform: scale(1); }
  28% { transform: scale(0.8); }
  58% { transform: scale(1.16); }
  100% { transform: scale(1); }
}

.music-disc {
  position: relative;
  width: 46px;
  height: 46px;
  margin-top: 2px;
  border-radius: 50%;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.38));
}

.music-disc__ring {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #1d2f22,
    #070f08 27%,
    #2f4a33 51%,
    #08110a 76%,
    #1d2f22
  );
  animation: spin 7s linear infinite;
  animation-play-state: paused;
}

.music-disc__ring::before {
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), #22d3ee 75%);
  content: "";
  opacity: 0.92;
}

.music-disc .icon {
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
  color: #071009;
  stroke-width: 1.9;
}

.video-slide.is-current:not(.is-paused) .music-disc:not(.is-muted) .music-disc__ring {
  animation-play-state: running;
}

.music-disc:hover .music-disc__ring {
  border-color: rgba(255, 255, 255, 0.38);
}

.music-disc.is-muted .music-disc__ring {
  border-color: rgba(255, 255, 255, 0.12);
  animation-play-state: paused;
}

.music-disc.is-muted .music-disc__ring::before {
  background: linear-gradient(135deg, #2a3f2f, #0d1a10 75%);
}

.music-disc.is-muted .icon {
  color: rgba(255, 255, 255, 0.62);
}

.play-indicator {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  color: #fff;
  background: rgba(6, 16, 8, 0.48);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.8);
  transition: opacity 220ms ease, transform 300ms var(--ease-out);
}

.play-indicator .icon {
  width: 28px;
  height: 28px;
}

.play-indicator__play {
  margin-left: 3px;
}

.play-indicator__pause {
  display: none;
}

.video-slide.is-paused:not(.is-buffering) .play-indicator {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.buffering {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 200ms ease;
}

.buffering__disc {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: rgba(6, 16, 8, 0.32);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.buffering__disc::after {
  content: "";
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.buffering__label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.video-slide.is-buffering .buffering {
  opacity: 1;
  transition-delay: 120ms;
}

.video-slide.is-buffering .play-indicator {
  opacity: 0;
}

.video-error {
  position: absolute;
  z-index: 8;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 30px;
  background:
    radial-gradient(100% 80% at 50% 40%, #122418, #08110a 80%);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.video-error > .icon {
  width: 34px;
  height: 34px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.36);
}

.video-error p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.video-error span {
  color: var(--faint);
  font-size: 11px;
  line-height: 1.6;
}

.video-slide.has-error .video-error {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.text-button {
  margin-top: 12px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.05);
  font-size: 11.5px;
  transition: color 180ms ease, background 180ms ease;
}

.text-button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.11);
}

.progress {
  position: absolute;
  z-index: 6;
  right: 0;
  bottom: var(--safe-bottom);
  left: 0;
  height: 20px;
  cursor: pointer;
  touch-action: none;
}

.progress__rail {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2.5px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
  transition: height 180ms ease;
}

.progress__fill {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.92);
  transform: scaleX(var(--progress, 0));
  transform-origin: left center;
  will-change: transform;
}

.progress__knob {
  position: absolute;
  top: 50%;
  left: calc(var(--progress, 0) * 100%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
  transition: opacity 160ms ease, transform 160ms ease;
}

.progress__time {
  position: absolute;
  right: 13px;
  bottom: 13px;
  padding: 4px 7px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(7, 16, 9, 0.66);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 9.5px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.progress:hover .progress__rail,
.progress:focus-visible .progress__rail {
  height: 4px;
}

.progress:hover .progress__knob,
.progress:focus-visible .progress__knob {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.progress:hover .progress__time,
.progress:focus-visible .progress__time {
  opacity: 1;
  transform: translateY(0);
}

.heart-burst {
  position: absolute;
  z-index: 7;
  color: var(--pink);
  filter: drop-shadow(0 5px 15px rgba(198, 244, 50, 0.32));
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: heart-float 950ms var(--ease-out) forwards;
}

.heart-burst svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  stroke: none;
}

@keyframes heart-float {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.3) rotate(var(--rot, 0deg));
  }
  16% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.18) rotate(var(--rot, 0deg));
  }
  40% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(var(--rot, 0deg));
  }
  100% {
    opacity: 0;
    transform: translate(
        calc(-50% + var(--drift-x, 0px)),
        calc(-50% - var(--drift-y, 130px))
      )
      scale(0.55) rotate(calc(var(--rot, 0deg) * 1.7));
  }
}

.pager {
  position: fixed;
  z-index: 35;
  top: 50%;
  right: 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  transform: translateY(-50%);
}

.pager:empty {
  display: none;
}

.pager__item {
  display: flex;
  width: 34px;
  height: 22px;
  align-items: center;
  justify-content: flex-end;
}

.pager__item::before {
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.26);
  content: "";
  transition:
    width 240ms var(--ease-out),
    background 240ms ease;
}

.pager__item:hover::before {
  width: 22px;
  background: rgba(255, 255, 255, 0.58);
}

.pager__item.is-active::before {
  width: 26px;
  background: var(--pink);
  box-shadow: 0 0 10px rgba(198, 244, 50, 0.48);
}

.sheet-layer {
  position: fixed;
  z-index: 80;
  inset: 0;
  pointer-events: none;
  visibility: hidden;
}

.sheet-layer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.sheet-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background: rgba(0, 0, 0, 0.46);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  cursor: default;
  transition: opacity 360ms ease;
}

.sheet-layer.is-open .sheet-backdrop {
  opacity: 1;
}

.comments-sheet {
  position: absolute;
  top: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  width: min(410px, calc(100vw - 32px));
  flex-direction: column;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: rgba(10, 22, 13, 0.95);
  -webkit-backdrop-filter: blur(30px) saturate(1.2);
  backdrop-filter: blur(30px) saturate(1.2);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
  transform: translateX(calc(100% + 35px));
  transition: transform 420ms var(--ease-out);
}

.sheet-layer.is-open .comments-sheet {
  transform: translateX(0);
}

.sheet-grabber {
  display: none;
}

.comments-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.comments-head h2 {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.comments-head h2 span {
  color: var(--faint);
  font-size: 11px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.comments-list {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 21px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 22px 3px 22px 0;
  overscroll-behavior: contain;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
  scrollbar-width: thin;
}

.comments-list::-webkit-scrollbar {
  width: 5px;
}

.comments-list::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
}

.comment-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  animation: comment-in 300ms var(--ease-out);
}

.comment-item .avatar {
  width: 34px;
  height: 34px;
  border: 0;
  font-size: 12px;
}

.comment-body {
  min-width: 0;
}

.comment-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.comment-name {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.comment-time {
  flex: none;
  color: rgba(255, 255, 255, 0.25);
  font-size: 9.5px;
}

.comment-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.comment-empty {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 30px;
  color: var(--faint);
  font-size: 12px;
  text-align: center;
}

.comment-empty .icon {
  width: 28px;
  height: 28px;
  margin-bottom: 3px;
  opacity: 0.55;
}

@keyframes comment-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

.comment-form {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
}

.comment-form .avatar--me {
  width: 34px;
  height: 34px;
  border: 0;
  background: linear-gradient(135deg, #22d3ee, var(--pink));
  font-size: 11px;
}

.comment-form input {
  width: 100%;
  height: 40px;
  min-width: 0;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 999px;
  outline: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  font-size: 12.5px;
  letter-spacing: 0.01em;
  transition: border-color 180ms ease, background 180ms ease;
}

.comment-form input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.comment-form input:focus {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.send-button {
  display: grid;
  width: 38px;
  height: 38px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  color: #071009;
  background: var(--pink);
  transition: opacity 160ms ease, transform 160ms ease;
}

.send-button .icon {
  width: 17px;
  height: 17px;
  margin: -2px -1px 0 0;
}

.send-button:disabled {
  cursor: default;
  opacity: 0.3;
}

.send-button:not(:disabled):hover {
  transform: scale(1.06);
}

.boot {
  position: absolute;
  z-index: 12;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 19px;
  background: transparent;
  transition: opacity 500ms ease, visibility 500ms ease;
}

.boot.is-hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.boot__mark {
  width: 62px;
  height: 62px;
  border-radius: 19px;
  font-size: 35px;
  animation: breathe 2.2s ease-in-out infinite;
}

.boot p {
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 11.5px;
  letter-spacing: 0.1em;
}

.boot .text-button {
  margin-top: 0;
}

@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.86; }
  50% { transform: scale(1.045); opacity: 1; }
}

.empty {
  position: absolute;
  z-index: 11;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background:
    radial-gradient(80% 60% at 50% 42%, rgba(255, 255, 255, 0.025), transparent 75%);
  text-align: center;
}

.empty__icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.035);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.empty__icon .icon {
  width: 25px;
  height: 25px;
}

.empty h1 {
  margin: 0 0 10px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.empty p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}

.empty code {
  margin-bottom: 26px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.035);
  font-family: "SF Mono", "Menlo", monospace;
  font-size: 10.5px;
  letter-spacing: 0.04em;
}

.primary-button {
  min-width: 112px;
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  color: #071009;
  background: linear-gradient(135deg, #22d3ee, var(--pink));
  box-shadow: 0 8px 28px rgba(198, 244, 50, 0.24);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary-button:hover {
  box-shadow: 0 10px 34px rgba(198, 244, 50, 0.34);
  transform: translateY(-1px);
}

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

.toast {
  position: fixed;
  z-index: 120;
  bottom: calc(28px + var(--safe-bottom));
  left: 50%;
  max-width: min(360px, calc(100vw - 40px));
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #0a140c;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.28);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  transform: translate(-50%, 8px);
  transition: opacity 220ms ease, transform 220ms var(--ease-out);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.noscript {
  position: fixed;
  z-index: 200;
  right: 20px;
  bottom: 20px;
  left: 20px;
  padding: 14px;
  border-radius: 10px;
  color: #111;
  background: #fff;
  font-size: 13px;
  text-align: center;
}

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

@media (max-width: 1100px) {
  .sidebar {
    display: none;
  }

  .mobile-brand {
    display: block;
  }

  .top-actions {
    right: 24px;
  }

  .pager {
    right: 24px;
  }
}

@media (max-width: 760px) {
  .video-slide {
    padding: 0;
  }

  .stage {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    aspect-ratio: auto;
    border-radius: 0;
    opacity: 1;
    box-shadow: none;
    transform: none;
    transition: none;
  }

  .video-slide.is-current .stage {
    transform: none;
  }

  

  .stage__video,
  .stage__image {
    object-fit: contain;
  }

  .stage__scrim {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.33) 0%, transparent 17%),
      linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.19) 40%, transparent 62%),
      linear-gradient(270deg, rgba(0, 0, 0, 0.13) 0%, transparent 30%);
  }

  .mobile-brand {
    top: calc(15px + var(--safe-top));
    left: 16px;
  }

  .brand-mark--small {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 18px;
  }

  .feed-tabs {
    top: calc(16px + var(--safe-top));
    left: 46%;
    gap: 20px;
    padding: 8px 4px 12px;
  }

  .feed-tab {
    font-size: 13px;
  }

  .top-actions {
    top: calc(14px + var(--safe-top));
    right: 12px;
    gap: 7px;
  }

  .glass-button {
    width: 36px;
    height: 36px;
    border-color: rgba(255, 255, 255, 0.09);
    background: rgba(15, 30, 19, 0.45);
  }

  .glass-button .icon {
    width: 17px;
    height: 17px;
  }

  .post-meta {
    right: 80px;
    bottom: calc(23px + var(--safe-bottom));
    left: 16px;
  }

  .post-account {
    font-size: 14.5px;
  }

  .post-origin {
    font-size: 10px;
  }

  .post-title {
    margin-top: 6px;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.5;
  }

  .post-music {
    padding: 5px 10px 5px 8px;
    font-size: 10.5px;
  }

  .post-music__scroll {
    max-width: 195px;
  }

  .action-rail {
    right: 8px;
    bottom: calc(86px + var(--safe-bottom));
    gap: 11px;
  }

  .avatar-wrap {
    width: 44px;
    height: 44px;
    margin-bottom: 9px;
  }

  .avatar {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }

  .action-button__disc {
    width: 43px;
    height: 43px;
  }

  .action-button .icon {
    width: 22px;
    height: 22px;
  }

  .action-count {
    font-size: 10px;
  }

  .music-disc {
    width: 42px;
    height: 42px;
  }

  .music-disc__ring::before {
    inset: 8px;
  }

  .play-indicator {
    width: 66px;
    height: 66px;
  }

  .progress__time {
    right: 10px;
    bottom: 11px;
  }

  .pager {
    display: none;
  }

  .comments-sheet {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: min(74vh, 630px);
    height: min(74dvh, 630px);
    padding: 8px 18px calc(16px + var(--safe-bottom));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 25px 25px 0 0;
    transform: translateY(100%);
  }

  .sheet-layer.is-open .comments-sheet {
    transform: translateY(0);
  }

  .sheet-grabber {
    display: block;
    width: 34px;
    height: 4px;
    flex: none;
    margin: 0 auto 14px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.18);
  }

  .comments-head {
    padding-bottom: 13px;
  }

  .comments-head h2 {
    font-size: 15px;
  }

  .comments-list {
    gap: 19px;
    padding-top: 18px;
  }

  .comment-form {
    padding-top: 12px;
  }

  .toast {
    bottom: calc(22px + var(--safe-bottom));
  }

  .empty {
    padding-bottom: calc(30px + var(--safe-bottom));
  }
}

@media (max-width: 390px) {
  .post-origin,
  .post-divider {
    display: none;
  }

  .feed-tabs {
    gap: 20px;
  }

  .top-actions {
    gap: 5px;
  }

  .glass-button {
    width: 34px;
    height: 34px;
  }

  .post-meta {
    right: 74px;
  }

  .post-music__scroll {
    max-width: 145px;
  }
}

@media (max-height: 640px) {
  .action-rail {
    bottom: 66px;
    gap: 7px;
  }

  .avatar-wrap {
    width: 40px;
    height: 40px;
    margin-bottom: 6px;
  }

  .avatar {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .action-button__disc {
    width: 38px;
    height: 38px;
  }

  .action-button .icon {
    width: 20px;
    height: 20px;
  }

  .music-disc {
    display: none;
  }

  .post-title {
    margin-bottom: 8px;
    font-size: 15px;
  }

  .post-music {
    display: none;
  }

  .play-indicator {
    width: 58px;
    height: 58px;
  }
}

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

  .ambient__orb {
    animation: none;
  }

  .stage {
    opacity: 1;
    transform: none;
  }

  .music-disc__ring {
    animation: none;
  }
}

html[dir="rtl"] .sidebar {
  left: auto;
  right: 32px;
}

html[dir="rtl"] .side-foot {
  padding-left: 0;
  padding-right: 14px;
}

html[dir="rtl"] .side-link {
  text-align: right;
}

html[dir="rtl"] .side-link.is-active::before {
  left: auto;
  right: -10px;
}

html[dir="rtl"] .mobile-brand {
  left: auto;
  right: 22px;
}

html[dir="rtl"] .top-actions {
  right: auto;
  left: 32px;
}

html[dir="rtl"] .lang-menu {
  right: auto;
  left: 0;
  transform-origin: top left;
}

html[dir="rtl"] .pager {
  right: auto;
  left: 34px;
  align-items: flex-start;
}

html[dir="rtl"] .action-rail {
  right: auto;
  left: 12px;
}

html[dir="rtl"] .post-meta {
  right: 22px;
  left: 88px;
}

html[dir="rtl"] .comments-sheet {
  right: auto;
  left: 16px;
  transform: translateX(calc(-100% - 35px));
}

html[dir="rtl"] .sheet-layer.is-open .comments-sheet {
  transform: translateX(0);
}

html[dir="rtl"] .progress__fill {
  transform-origin: right center;
}

html[dir="rtl"] .progress__knob {
  left: auto;
  right: calc(var(--progress, 0) * 100%);
}

html[dir="rtl"] .progress__time {
  right: auto;
  left: 13px;
}

html[dir="rtl"] * {
  letter-spacing: normal;
}

@media (max-width: 1100px) {
  html[dir="rtl"] .top-actions {
    left: 24px;
  }

  html[dir="rtl"] .pager {
    left: 24px;
  }
}

@media (max-width: 760px) {
  html[dir="rtl"] .mobile-brand {
    right: 16px;
  }

  html[dir="rtl"] .top-actions {
    right: auto;
    left: 12px;
  }

  html[dir="rtl"] .post-meta {
    right: 16px;
    left: 80px;
  }

  html[dir="rtl"] .action-rail {
    left: 8px;
  }

  html[dir="rtl"] .comments-sheet {
    right: 0;
    left: 0;
    transform: translateY(100%);
  }

  html[dir="rtl"] .sheet-layer.is-open .comments-sheet {
    transform: translateY(0);
  }

  html[dir="rtl"] .progress__time {
    left: 10px;
  }
}

@media (max-width: 390px) {
  html[dir="rtl"] .post-meta {
    right: 16px;
    left: 74px;
  }
}

@media (max-width: 360px) {
  .feed-tabs {
    gap: 14px;
  }

  .feed-tab {
    font-size: 12px;
  }

  .top-actions {
    gap: 4px;
  }

  .glass-button {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 760px) {
  .top-actions .lang-wrap {
    position: fixed;
    top: calc(14px + var(--safe-top));
    left: calc(58px + env(safe-area-inset-left, 0px));
  }

  .top-actions .lang-wrap .lang-menu {
    right: auto;
    left: 0;
  }

  html[dir="rtl"] .top-actions .lang-wrap {
    right: calc(58px + env(safe-area-inset-right, 0px));
    left: auto;
  }

  html[dir="rtl"] .top-actions .lang-wrap .lang-menu {
    right: 0;
    left: auto;
  }
}

@media (max-width: 360px) {
  .feed-tab[data-tab="following"] {
    display: none;
  }
}

.video-slide.is-placeholder .post-meta,
.video-slide.is-placeholder .action-rail,
.video-slide.is-placeholder .progress,
.video-slide.is-placeholder .play-indicator {
  opacity: 0;
  pointer-events: none;
}

.video-slide.is-placeholder .stage {
  background: #000;
}
