.language-control {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 30px;
  min-height: 40px;
  justify-content: center;
  cursor: pointer;
}
.language-control .ic {
  width: 16px;
  height: 16px;
}
.language-code {
  font:
    650 0.79rem/1 "DM Sans",
    sans-serif;
}
.language-select {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  font-size: 16px;
}
.language-select option {
  color: CanvasText;
  background: Canvas;
}
.language-control:focus-within {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
.load-row {
  text-align: center;
  margin: 26px auto 0;
}
.load-row:has([hidden]) {
  display: none;
}
#load-more {
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--surface);
}
#load-more:disabled {
  opacity: 0.65;
}
.hero-visual,
.hero-shade {
  position: absolute;
  inset: 0;
  display: block;
}
.hero-shade {
  pointer-events: none;
}
.hero-visual .live-preview {
  z-index: 0;
}
.live-preview {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}
.live-preview-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
  transform-origin: 0 0;
  opacity: 0;
}
.live-preview-frame.ready {
  opacity: 1;
  background: #121511;
}
.preview-label {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #0b100de6;
  color: white;
  border-radius: 5px;
  padding: 4px 7px;
  font:
    600 0.72rem/1.2 "DM Sans",
    sans-serif;
}
.cover-play {
  z-index: 2;
}
.result-thumb {
  display: block;
  position: relative;
  width: 73px;
  height: 43px;
  border-radius: 4px;
  overflow: hidden;
  flex: none;
}
.result-thumb .preview-label {
  display: none;
}
.feed {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.feed .site-header {
  flex: none;
  padding-top: env(safe-area-inset-top);
}
.feed-stage {
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: hidden;
  background: #101611;
  color: #fff;
}
.feed-scroller {
  position: absolute;
  inset: 0;
  overflow: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  overflow-anchor: none;
}
.feed-scroller::-webkit-scrollbar {
  display: none;
}
.feed-track {
  position: relative;
  height: 100%;
}
.feed-card {
  position: absolute;
  inset: 0 0 auto;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  isolation: isolate;
  overflow: hidden;
  background: #142019;
  color: white;
}
.feed-art,
.feed-art > img,
.feed-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.feed-art > img {
  display: block;
  object-fit: cover;
  object-position: 63% center;
}
.feed-shade {
  pointer-events: none;
  background: linear-gradient(
    0deg,
    rgba(5, 10, 7, 0.97),
    rgba(5, 10, 7, 0.74) 19%,
    rgba(5, 10, 7, 0.1) 48%,
    transparent 68%
  );
  z-index: 1;
}
.feed-info {
  position: absolute;
  z-index: 2;
  bottom: 0;
  inset-inline: 0;
  padding: 18px max(76px, 8vw)
    max(23px, calc(env(safe-area-inset-bottom) + 12px)) max(22px, 4vw);
  pointer-events: none;
}
.feed-info .hero-actions {
  pointer-events: auto;
  width: max-content;
  margin-top: 15px;
}
.feed-meta {
  font-size: 0.81rem;
  letter-spacing: 0.015em;
  color: #dcf0c9;
  margin: 0 0 7px;
  font-weight: 650;
}
.feed-info h2 {
  font-size: clamp(1.75rem, 5vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feed-summary {
  max-width: 55ch;
  font-size: 0.95rem;
  line-height: 1.44;
  color: #edf1eb;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 8px 0 0;
}
.feed-controls {
  position: absolute;
  bottom: max(24px, calc(env(safe-area-inset-bottom) + 12px));
  right: max(12px, 2vw);
  z-index: 3;
  display: grid;
  gap: 5px;
}
.feed-controls .icon-btn {
  width: 39px;
  height: 39px;
  color: white;
  border: 1px solid #ffffff59;
  background: #0d150fe3;
}
.feed-controls .ic {
  transform: rotate(90deg);
  height: 17px;
  width: 17px;
}
.feed-controls button:disabled {
  opacity: 0.4;
}
.feed-status {
  position: absolute;
  z-index: 4;
  top: 12px;
  left: 12px;
  background: #141f17da;
  border-radius: 6px;
  padding: 6px 10px;
}
.feed .preview-label {
  top: 12px;
  right: 12px;
}
@media (max-width: 520px) {
  .language-control .ic {
    display: none;
  }
  .language-control {
    min-width: 28px;
  }
  .feed-info {
    padding-left: 18px;
  }
}
@media (max-height: 460px) {
  .feed-summary {
    display: none;
  }
  .feed-info {
    padding-bottom: 12px;
  }
  .feed-info h2 {
    font-size: 1.7rem;
  }
}
@media (hover: none) and (pointer: coarse) {
  .primary-nav .mobile-feed-link {
    display: inline-flex;
  }
}
.detail-actions {
  flex-wrap: wrap;
}
.loader button {
  pointer-events: auto;
}

.feed-open {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.feed-swipe-hint {
  position: absolute;
  right: max(12px, 2vw);
  bottom: max(115px, calc(env(safe-area-inset-bottom) + 103px));
  z-index: 2;
  color: #fff;
  font-size: 0.73rem;
  font-weight: 600;
  max-width: 34%;
  text-align: end;
  text-shadow: 0 1px 3px #000;
  pointer-events: none;
}
@media (min-width: 768px) {
  .feed-swipe-hint {
    display: none;
  }
}

#back-to-top {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 5;
  color: var(--ink);
  background: var(--floating);
  border: 1px solid var(--line-strong);
  box-shadow: 0 3px 14px var(--shadow);
}
#back-to-top .ic {
  transform: rotate(90deg);
}
#back-to-top:hover {
  color: var(--accent-ink);
  background: var(--accent-soft);
}
