.shorts-section { margin: 0 0 18px; }
.shorts-section h2 { font-size: clamp(16px, 2vw, 24px); margin: 0 0 10px; }
.shorts-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 6px 6px 7px;
  scrollbar-width: none;
}
.shorts-rail::-webkit-scrollbar { display: none; }
.shorts-rail button {
  display: grid;
  justify-items: center;
  gap: 5px;
  flex: 0 0 auto;
  min-width: 60px;
  padding: 2px;
  border: 0;
  background: transparent;
  color: #f6f0fd;
  white-space: nowrap;
  font-size: 12px;
}
.shorts-rail button span {
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  box-sizing: border-box;
  position: relative;
  border: 2px solid #605370;
  border-radius: 50%;
  background: #211438;
  font-size: 17px;
  font-weight: 800;
}
.shorts-rail [data-unseen="true"] span::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 2px solid transparent;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffb64f, #f15b9c 46%, #ab6dff) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  pointer-events: none;
}
.shorts-rail [data-shorts-platform="netflix"] span { color: #ff535e; background: #261019; }
.shorts-rail [data-shorts-platform="prime"] span { color: #69d6ff; background: #10233a; font-size: 14px; }
.shorts-rail [data-shorts-platform="hbo"] span { color: #ebd8ff; font-size: 14px; }
.shorts-rail [data-shorts-platform="disney"] span { color: #98f6ed; background: #112e38; }
.tv .shorts-section { margin-top: 14px; }
.tv .shorts-rail button { font-size: 15px; min-width: 78px; }
.tv .shorts-rail button span { width: 56px; height: 56px; }

.cover-story-open { overflow: hidden; }
.cover-story-dialog {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  justify-items: center;
  padding: clamp(24px, 5vh, 56px) 10px 6vh;
  gap: clamp(14px, 4vh, 44px);
  color: #fbf5ff;
  background: radial-gradient(ellipse at 85% 15%, #281035, transparent 58%),
              radial-gradient(ellipse at 15% 91%, #281035, transparent 56%), #0b060f;
  touch-action: pan-y;
  outline: 0;
}
.cover-story-brand { align-self: center; position: relative; }
.cover-story-brand .brand { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.cover-story-brand .brand .logo { width: 32px; height: 32px; }
.cover-story-brand .brand b, .cover-story-brand .brand em { font-size: clamp(16px, 3vw, 23px); font-weight: 750; font-style: normal; }
.cover-story-brand .brand em { margin-left: 0.25em; color: #cd66fc; }
.cover-story-brand::after {
  content: "";
  display: block;
  width: 62%;
  height: 1px;
  margin: 7px auto 0;
  background: linear-gradient(90deg, transparent, #cf62ff, transparent);
}
.cover-story-stage {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 30px;
  grid-template-rows: minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  width: min(100%, 560px);
  min-height: 0;
}
.cover-story-poster {
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 0;
  display: grid;
  place-items: center;
  text-align: center;
  color: #d5bddf;
}
.cover-story-poster img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 12px 34px #0009;
}
.cover-story-prev, .cover-story-next, .cover-story-close {
  border: 0;
  padding: 0;
  background: transparent;
  color: #cb8cf7;
  font: 300 34px/1 system-ui, sans-serif;
  width: 30px;
  min-height: 44px;
}
.cover-story-prev:disabled, .cover-story-next:disabled { opacity: .28; }
.cover-story-close { position: absolute; top: 12px; right: 12px; font-size: 25px; opacity: .75; }
.cover-story-dialog button:focus-visible { outline: 2px solid #dca2ff; border-radius: 8px; }
@media (orientation: landscape) {
  .cover-story-dialog { padding: 14px 14px 24px; gap: 12px; }
  .cover-story-stage { width: min(100%, calc(58vh + 70px)); }
}
