@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Unbounded:wght@600;700&display=swap");

:root {
  color-scheme: dark;
  --ink: #07101d;
  --panel: #0a1525;
  --line: rgba(255, 255, 255, 0.12);
  --muted: #91a0b5;
  --text: #f5f8ff;
  --cyan: #62e7ff;
  --blue: #416cff;
  --violet: #996cff;
  --accent: #d8ff3e;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--ink);
  color: var(--text);
}

body {
  min-width: 320px;
  overflow: hidden;
}

button,
a,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-shell {
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 14% 85%, rgba(65, 108, 255, 0.2), transparent 24%),
    radial-gradient(circle at 88% 8%, rgba(98, 231, 255, 0.13), transparent 26%),
    linear-gradient(135deg, #06101c 0%, #07101d 52%, #090f1b 100%);
}

.app-shell::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
  pointer-events: none;
  position: absolute;
}

.topbar {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(210px, 0.8fr) minmax(420px, 1.8fr) minmax(150px, 0.65fr);
  height: 78px;
  padding: 0 clamp(24px, 3.2vw, 58px);
  position: relative;
  z-index: 20;
}

.brand {
  align-items: center;
  color: inherit;
  display: inline-flex;
  gap: 12px;
  text-decoration: none;
  width: max-content;
}

.brand-mark {
  display: grid;
  gap: 3px;
  grid-template-columns: repeat(2, 9px);
  transform: rotate(45deg);
}

.brand-mark i {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-radius: 2px;
  display: block;
  height: 9px;
  box-shadow: 0 0 18px rgba(98, 231, 255, 0.35);
  width: 9px;
}

.brand-mark i:nth-child(2),
.brand-mark i:nth-child(3) {
  opacity: 0.46;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: 15px;
  letter-spacing: -0.04em;
}

.brand-copy strong b {
  color: var(--cyan);
}

.brand-copy small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-top: 7px;
  text-transform: uppercase;
}

.topic-nav {
  min-width: 0;
  overflow: hidden;
}

.topic-track {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 6px 2px;
  scrollbar-width: none;
}

.topic-track::-webkit-scrollbar {
  display: none;
}

.topic-button {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #8d9ab0;
  cursor: pointer;
  flex: none;
  font-size: 12px;
  font-weight: 700;
  padding: 9px 13px;
  transition: 180ms ease;
}

.topic-button:hover {
  color: white;
}

.topic-button.is-active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.13);
  color: white;
  box-shadow: inset 0 0 0 1px rgba(98, 231, 255, 0.04);
}

.site-link {
  align-items: center;
  color: #dbe5f5;
  display: flex;
  font-size: 12px;
  font-weight: 700;
  gap: 10px;
  justify-self: end;
  text-decoration: none;
}

.site-link svg,
.insight-cta svg {
  height: 17px;
  transition: transform 180ms ease;
  width: 17px;
}

.site-link:hover svg,
.insight-cta:hover svg {
  transform: translateX(4px);
}

.feed-layout {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(430px, 560px) minmax(100px, 1fr);
  height: calc(100svh - 78px);
  min-height: 542px;
  position: relative;
  z-index: 2;
}

.feed-intro {
  align-self: center;
  justify-self: end;
  max-width: 400px;
  padding: 20px clamp(26px, 4vw, 72px) 20px 24px;
}

.eyebrow {
  align-items: center;
  color: var(--cyan);
  display: flex;
  font-size: 10px;
  font-weight: 800;
  gap: 10px;
  letter-spacing: 0.14em;
  margin: 0 0 25px;
  text-transform: uppercase;
}

.eyebrow span {
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--cyan);
  height: 5px;
  width: 5px;
}

.feed-intro h1 {
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: clamp(32px, 3.2vw, 58px);
  letter-spacing: -0.065em;
  line-height: 1.03;
  margin: 0;
}

.feed-intro h1 em {
  -webkit-background-clip: text;
  background: linear-gradient(90deg, var(--cyan), #8ca8ff 55%, #b48cff);
  background-clip: text;
  color: transparent;
  font-style: normal;
}

.intro-copy {
  color: #8392a8;
  font-size: 13px;
  line-height: 1.65;
  margin: 26px 0 0;
  max-width: 310px;
}

.swipe-hint {
  align-items: center;
  color: #65758d;
  display: flex;
  font-size: 10px;
  font-weight: 700;
  gap: 13px;
  letter-spacing: 0.04em;
  line-height: 1.5;
  margin-top: 36px;
  text-transform: uppercase;
}

.swipe-hint kbd {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  color: #c7d3e4;
  font-size: 10px;
  padding: 1px 4px;
}

.mouse {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 11px;
  height: 28px;
  position: relative;
  width: 18px;
}

.mouse i {
  animation: wheel 1.8s ease infinite;
  background: var(--cyan);
  border-radius: 4px;
  height: 5px;
  left: 7px;
  position: absolute;
  top: 5px;
  width: 2px;
}

@keyframes wheel {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(9px); }
}

.player-zone {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: center;
  min-width: 0;
  position: relative;
}

.phone-stage {
  aspect-ratio: 9 / 16;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.52), 0 0 0 5px rgba(255, 255, 255, 0.025);
  height: calc(100% - 36px);
  max-height: 790px;
  min-height: 500px;
  overflow: hidden;
  position: relative;
}

.shorts-track {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
}

.shorts-track::-webkit-scrollbar {
  display: none;
}

.short-slide {
  height: 100%;
  position: relative;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.video-wrap {
  background: #0b1220;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.video-wrap video,
.motion-fallback,
.video-tint,
.video-grid,
.pause-hitbox {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.video-wrap video {
  object-fit: cover;
  opacity: 0.64;
  transform: scale(1.01);
}

.motion-fallback {
  background:
    radial-gradient(circle at var(--orb-x, 40%) var(--orb-y, 35%), var(--slide-color, #416cff), transparent 30%),
    linear-gradient(155deg, #101c30 0%, #08101d 80%);
  overflow: hidden;
}

.motion-fallback i {
  animation: float-orb 7s ease-in-out infinite alternate;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28%;
  filter: blur(0.2px);
  height: 46%;
  left: 12%;
  position: absolute;
  top: 10%;
  transform: rotate(24deg);
  width: 75%;
}

.motion-fallback i:nth-child(2) {
  animation-delay: -2s;
  border-radius: 50%;
  height: 180px;
  left: auto;
  right: -70px;
  top: 42%;
  width: 180px;
}

.motion-fallback i:nth-child(3) {
  animation-delay: -4s;
  height: 120px;
  left: -60px;
  top: 63%;
  width: 120px;
}

@keyframes float-orb {
  to { transform: rotate(34deg) translate3d(14px, 22px, 0) scale(1.08); }
}

.video-tint {
  background:
    linear-gradient(to bottom, rgba(3, 8, 16, 0.28) 0%, transparent 24%, transparent 44%, rgba(3, 7, 13, 0.42) 62%, rgba(2, 5, 10, 0.96) 100%),
    linear-gradient(125deg, color-mix(in srgb, var(--slide-color) 20%, transparent), transparent 58%);
  pointer-events: none;
}

.video-grid {
  background-image: linear-gradient(90deg, transparent 49.8%, rgba(255, 255, 255, 0.05) 50%, transparent 50.2%);
  mix-blend-mode: screen;
  opacity: 0.35;
  pointer-events: none;
}

.pause-hitbox {
  background: transparent;
  border: 0;
  cursor: pointer;
  z-index: 1;
}

.pause-indicator {
  align-items: center;
  backdrop-filter: blur(12px);
  background: rgba(5, 10, 18, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  display: flex;
  height: 66px;
  justify-content: center;
  left: 50%;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 45%;
  transform: translate(-50%, -50%) scale(0.78);
  transition: 180ms ease;
  width: 66px;
  z-index: 4;
}

.pause-indicator svg {
  height: 27px;
  width: 27px;
}

.pause-indicator .play-icon {
  display: none;
  fill: currentColor;
}

.short-slide.is-paused .pause-indicator {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.short-slide.is-paused .pause-icon {
  display: none;
}

.short-slide.is-paused .play-icon {
  display: block;
}

.slide-topline {
  align-items: center;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 20px;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 5;
}

.category-pill {
  backdrop-filter: blur(10px);
  background: rgba(6, 12, 22, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 8px 11px;
  text-transform: uppercase;
}

.sound-button {
  align-items: center;
  backdrop-filter: blur(10px);
  background: rgba(6, 12, 22, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  height: 34px;
  justify-content: center;
  pointer-events: auto;
  width: 34px;
}

.sound-button svg {
  height: 16px;
  width: 16px;
}

.sound-button .sound-on {
  display: none;
}

.sound-button.is-on .sound-on {
  display: block;
}

.sound-button.is-on .sound-off {
  display: none;
}

.slide-copy {
  bottom: 0;
  left: 0;
  padding: 28px 24px 24px;
  pointer-events: none;
  position: absolute;
  right: 0;
  z-index: 5;
}

.expert-line {
  align-items: center;
  display: flex;
  margin-bottom: 17px;
  pointer-events: auto;
}

.expert-avatar {
  align-items: center;
  background: linear-gradient(135deg, var(--slide-color), rgba(255, 255, 255, 0.38));
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.34);
  display: flex;
  flex: none;
  font-size: 10px;
  font-weight: 800;
  height: 36px;
  justify-content: center;
  margin-right: 10px;
  width: 36px;
}

.expert-line > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.expert-name {
  font-size: 11px;
  letter-spacing: -0.01em;
}

.expert-role {
  color: rgba(255, 255, 255, 0.58);
  font-size: 8px;
  margin-top: 3px;
}

.follow-button {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  cursor: pointer;
  font-size: 8px;
  font-weight: 800;
  margin-left: auto;
  padding: 7px 10px;
}

.follow-button.is-following {
  background: white;
  border-color: white;
  color: #08111e;
}

.slide-title {
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: clamp(20px, 2.25vh, 29px);
  letter-spacing: -0.045em;
  line-height: 1.12;
  margin: 0;
  max-width: 94%;
  text-wrap: balance;
}

.slide-summary {
  color: rgba(240, 246, 255, 0.72);
  font-size: clamp(10px, 1.25vh, 12px);
  line-height: 1.5;
  margin: 12px 0 10px;
  max-width: 92%;
}

.tags {
  color: rgba(255, 255, 255, 0.68);
  display: flex;
  flex-wrap: wrap;
  font-size: 9px;
  font-weight: 700;
  gap: 8px;
  margin-bottom: 17px;
}

.insight-cta {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  font-size: 9px;
  font-weight: 800;
  gap: 8px;
  justify-content: space-between;
  padding: 11px 13px;
  pointer-events: auto;
  width: 150px;
}

.action-rail {
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  left: calc(50% + var(--phone-half, 180px) + 17px);
  position: absolute;
  z-index: 5;
}

.short-slide > .action-rail {
  display: none;
}

.player-zone > .action-rail {
  display: flex;
}

.action-button {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.action-icon {
  align-items: center;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  height: 43px;
  justify-content: center;
  transition: 180ms ease;
  width: 43px;
}

.action-icon svg {
  height: 19px;
  width: 19px;
}

.like-button .action-icon svg,
.save-button .action-icon svg {
  transition: 180ms ease;
}

.action-button:hover .action-icon {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.like-button.is-active .action-icon {
  background: #ff4d78;
  border-color: #ff4d78;
  box-shadow: 0 6px 20px rgba(255, 77, 120, 0.28);
}

.like-button.is-active svg,
.save-button.is-active svg {
  fill: currentColor;
}

.save-button.is-active .action-icon {
  background: var(--blue);
  border-color: var(--blue);
}

.action-button small {
  color: #8190a6;
  font-size: 8px;
  max-width: 60px;
}

.progress-rail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 8;
}

.progress-dot {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  height: 10px;
  transition: 180ms ease;
  width: 2px;
}

.progress-dot.is-active {
  background: white;
  height: 24px;
}

.desktop-controls {
  display: flex;
  flex-direction: column;
  gap: 9px;
  left: calc(50% + min(28vh, 232px) + 78px);
  position: absolute;
  top: 24px;
}

.nav-button {
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  height: 42px;
  justify-content: center;
  transition: 180ms ease;
  width: 42px;
}

.nav-button:hover:not(:disabled) {
  background: white;
  color: var(--ink);
}

.nav-button:disabled {
  cursor: default;
  opacity: 0.28;
}

.nav-button svg {
  height: 18px;
  width: 18px;
}

.now-playing {
  align-items: baseline;
  align-self: end;
  display: grid;
  grid-template-columns: auto 34px auto;
  justify-self: start;
  margin: 0 0 45px clamp(40px, 5vw, 86px);
}

.now-index {
  font-family: "Unbounded", sans-serif;
  font-size: 24px;
}

.now-separator {
  background: rgba(255, 255, 255, 0.22);
  height: 1px;
  margin: 0 8px 5px;
}

.now-total {
  color: #68788e;
  font-size: 10px;
}

.now-playing p {
  color: #75849a;
  font-size: 9px;
  font-weight: 800;
  grid-column: 1 / -1;
  letter-spacing: 0.14em;
  margin: 10px 0 0;
  text-transform: uppercase;
}

.comment-sheet[hidden] {
  display: none;
}

.comment-sheet {
  inset: 0;
  position: fixed;
  z-index: 100;
}

.sheet-backdrop {
  backdrop-filter: blur(8px);
  background: rgba(1, 5, 11, 0.68);
  border: 0;
  inset: 0;
  position: absolute;
  width: 100%;
}

.sheet-panel {
  background: #0c1727;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  bottom: 0;
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  padding: 28px;
  position: absolute;
  right: 0;
  top: 0;
  width: min(430px, 100%);
}

.sheet-handle {
  display: none;
}

.sheet-panel header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
}

.sheet-panel header p {
  color: var(--cyan);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.sheet-panel h2 {
  font-family: "Unbounded", sans-serif;
  font-size: 21px;
  letter-spacing: -0.04em;
  margin: 0;
}

.close-button {
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.close-button svg {
  height: 18px;
  width: 18px;
}

.comments-list {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
  padding: 24px 4px;
}

.comment {
  display: grid;
  gap: 4px 10px;
  grid-template-columns: 36px 1fr;
}

.comment-avatar {
  align-items: center;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  font-size: 10px;
  font-weight: 800;
  grid-row: 1 / 3;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.comment strong {
  font-size: 11px;
}

.comment p {
  color: #a6b3c5;
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}

.comment-form {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  gap: 10px;
  padding: 6px;
}

.comment-form input {
  background: transparent;
  border: 0;
  color: white;
  flex: 1;
  min-width: 0;
  outline: none;
  padding: 8px 10px;
}

.comment-form button {
  background: white;
  border: 0;
  border-radius: 10px;
  color: var(--ink);
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
  padding: 10px 13px;
}

.toast {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  bottom: 24px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  left: 50%;
  opacity: 0;
  padding: 11px 16px;
  pointer-events: none;
  position: fixed;
  transform: translate(-50%, 12px);
  transition: 220ms ease;
  z-index: 200;
}

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

@media (max-width: 1120px) {
  .topbar {
    grid-template-columns: 190px 1fr 100px;
    gap: 18px;
  }

  .feed-layout {
    grid-template-columns: minmax(200px, 0.75fr) minmax(410px, 520px) minmax(80px, 0.7fr);
  }

  .feed-intro {
    padding-right: 28px;
  }

  .feed-intro h1 {
    font-size: clamp(28px, 3.4vw, 42px);
  }

  .now-playing {
    margin-left: 40px;
  }
}

@media (max-width: 860px) {
  body {
    overflow: hidden;
  }

  .app-shell {
    min-height: 100svh;
  }

  .topbar {
    background: rgba(5, 11, 20, 0.88);
    backdrop-filter: blur(18px);
    gap: 12px;
    grid-template-columns: 1fr auto;
    height: 64px;
    padding: env(safe-area-inset-top) 14px 0;
  }

  .brand-copy strong {
    font-size: 13px;
  }

  .brand-copy small {
    display: none;
  }

  .site-link span {
    display: none;
  }

  .site-link {
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    height: 36px;
    justify-content: center;
    width: 36px;
  }

  .topic-nav {
    background: linear-gradient(to bottom, rgba(5, 11, 20, 0.88), transparent);
    left: 0;
    padding: 6px 12px 15px;
    position: fixed;
    right: 0;
    top: 64px;
    z-index: 30;
  }

  .topic-button {
    background: rgba(7, 16, 29, 0.55);
    border-color: rgba(255, 255, 255, 0.09);
    color: #abb8ca;
  }

  .feed-layout {
    display: block;
    height: calc(100svh - 64px);
  }

  .feed-intro,
  .now-playing,
  .desktop-controls {
    display: none;
  }

  .player-zone {
    display: block;
    height: 100%;
  }

  .phone-stage {
    aspect-ratio: auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    height: 100%;
    max-height: none;
    min-height: 0;
    width: 100%;
  }

  .short-slide {
    width: 100%;
  }

  .video-wrap video {
    opacity: 0.58;
  }

  .slide-topline {
    padding: 68px 16px 16px;
  }

  .slide-copy {
    padding: 22px 80px calc(20px + env(safe-area-inset-bottom)) 18px;
  }

  .slide-title {
    font-size: clamp(23px, 7vw, 34px);
  }

  .slide-summary {
    font-size: 12px;
  }

  .action-rail {
    bottom: calc(22px + env(safe-area-inset-bottom));
    left: auto;
    right: 14px;
  }

  .action-icon {
    background: rgba(5, 10, 18, 0.5);
    height: 46px;
    width: 46px;
  }

  .action-button small {
    color: rgba(255, 255, 255, 0.8);
  }

  .progress-rail {
    right: 4px;
  }
}

@media (max-width: 520px) {
  .brand-mark {
    gap: 2px;
    grid-template-columns: repeat(2, 7px);
  }

  .brand-mark i {
    height: 7px;
    width: 7px;
  }

  .brand-copy strong {
    font-size: 12px;
  }

  .slide-copy {
    padding-left: 16px;
  }

  .expert-role {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .insight-cta {
    width: 145px;
  }

  .sheet-panel {
    border-left: 0;
    border-radius: 24px 24px 0 0;
    height: 72svh;
    padding: 12px 18px calc(16px + env(safe-area-inset-bottom));
    top: auto;
  }

  .sheet-handle {
    background: rgba(255, 255, 255, 0.22);
    border-radius: 3px;
    display: block;
    height: 4px;
    margin: 0 auto 12px;
    width: 42px;
  }
}

@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;
  }
}

/* EdTech Platinum shell */
.brand-logo {
  width: 142px;
  height: auto;
  object-fit: contain;
}

.shorts-site-menu {
  position: relative;
  justify-self: end;
}

.shorts-site-menu summary {
  display: inline-flex;
  min-height: 40px;
  gap: 10px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(216, 255, 62, 0.35);
  border-radius: 999px;
  color: #e9efdc;
  background: rgba(216, 255, 62, 0.05);
  font-size: 10px;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.shorts-site-menu summary::-webkit-details-marker { display: none; }

.shorts-site-menu summary i {
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.shorts-site-menu[open] summary i { transform: rotate(225deg); }

.shorts-site-menu nav {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  width: 210px;
  gap: 4px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(7, 16, 29, 0.97);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.4);
}

.shorts-site-menu nav a {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  padding: 0 11px;
  border-radius: 10px;
  color: #e8edf6;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}

.shorts-site-menu nav a:hover,
.shorts-site-menu nav a:focus-visible {
  color: var(--accent);
  background: rgba(216, 255, 62, 0.07);
}

@media (max-width: 860px) {
  .brand-logo { width: 124px; }
  .shorts-site-menu summary {
    width: 38px;
    height: 38px;
    min-height: 38px;
    justify-content: center;
    padding: 0;
  }
  .shorts-site-menu summary span { display: none; }
  .shorts-site-menu nav { top: calc(100% + 8px); }
}

@media (max-width: 520px) {
  .brand-logo { width: 116px; }
}
