.drops-page { height: 100dvh; overflow: hidden; }
.drops-hub {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100%;
  min-width: 0;
}
.drops-heading {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: var(--status-safe-area) 12px 0;
}
.drops-categories { display: flex; align-items: center; justify-content: center; gap: 18px; }
.drops-category-tab {
  position: relative;
  min-width: 44px;
  min-height: 44px;
  padding: 3px 0;
  border: 0;
  background: transparent;
  color: rgb(255 255 255 / 64%);
  font-size: 1.375rem;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
}
.drops-category-tab[aria-pressed=true] { color: #fff; }
.drops-category-tab:focus-visible { outline: 2px solid #fff9; outline-offset: 2px; border-radius: 4px; }
.drops-category-tab.is-guide-target::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: calc(50% - 6px);
  width: 12px;
  height: 13px;
  background: var(--poison);
  clip-path: polygon(50% 0, 100% 46%, 86% 61%, 59% 34%, 59% 100%, 41% 100%, 41% 34%, 14% 61%, 0 46%);
  pointer-events: none;
}
.drops-flip-link {
  position: absolute; right: clamp(15px, 3vw, 44px); bottom: 6px;
  min-height: 44px; padding: 5px 10px; border: 0; border-radius: 9px; background: transparent; cursor: pointer;
  color: #fff; opacity: .72;
}
.drops-flip-link img { display: block; width: clamp(79px, 10vw, 122px); }
.drops-flip-link:hover, .drops-flip-link:focus-visible { opacity: 1; }
.drops-guide {
  position: absolute; inset: calc(var(--status-safe-area) + 54px) 0 auto; z-index: 5;
  width: min(350px, calc(100% - 24px)); margin-inline: auto; padding: 13px 15px;
  border: 1px solid #557c30; border-radius: 15px; background: #20291c; box-shadow: 0 8px 30px #0009;
}
.drops-hub [hidden], .created-with-beat[hidden] { display: none !important; }
.drops-guide h2 { margin: 0 0 3px; font-size: 18px; }
.drops-guide p { margin: 0 0 9px; color: #d6dace; }
.drops-guide-actions { display: flex; gap: 8px; justify-content: flex-end; }
.drops-feed {
  min-height: 0; min-width: 0;
  overflow: hidden auto;
  overscroll-behavior: contain;
  overflow-anchor: none;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
}
.drops-feed[data-page-turn] { scroll-snap-type: none; }
.drops-feed::-webkit-scrollbar { display: none; }
.drops-reel {
  display: grid; place-items: center; height: 100%; min-width: 0;
  padding: 8px 0 14px;
  scroll-snap-align: start; scroll-snap-stop: always;
}
.drops-frame {
  position: relative; height: 100%; max-height: 100%; max-width: min(468px, calc(100% - 112px));
  aspect-ratio: 9 / 16; min-width: 0;
}
.drops-surface {
  position: absolute; inset: 0; isolation: isolate; overflow: hidden;
  border: 1px solid #ffffff16; border-radius: 15px; background: #0a090b; color: white;
}
.drops-surface::after {
  content: ""; position: absolute; inset: auto 0 0; height: 48%; z-index: 1;
  backdrop-filter: blur(12px);
  mask-image: linear-gradient(transparent, black);
  pointer-events: none;
}
.drops-audio-surface {
  background: radial-gradient(ellipse at 16% 18%, #4a3a58 0, transparent 48%),
    linear-gradient(160deg, #29223c, #1c1b23 62%, #161419);
}
.drops-cover {
  position: absolute; inset: 42% auto auto 50%; translate: -50% -50%;
  width: min(83%, 45dvh); aspect-ratio: 1; overflow: hidden;
  border-radius: 12px; background: #18141e; box-shadow: 0 14px 35px #0007;
}
.drops-cover img { display: block; width: 100%; height: 100%; object-fit: contain; }
.drops-cover-empty {
  display: grid; place-items: center;
  background: radial-gradient(ellipse at 28% 18%, #604e6b9c, transparent 68%),
    linear-gradient(150deg, #30263b, #1e1927);
}
.drops-cover-empty svg { width: 22%; color: #e5daed; opacity: .55; translate: 0 -36%; }
.drops-flip-mark { position: absolute; top: 19px; left: 16px; width: min(31%, 122px); }
.drops-video, .drops-flip-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.drops-flip-art { object-fit: cover; object-position: 57% center; }
@media (prefers-reduced-motion: no-preference) {
  .drops-reel:not([inert]) .drops-flip-solo .drops-flip-art {
    animation: flip-preview-zoom 8s ease-in-out both;
  }
}
@keyframes flip-preview-zoom {
  to { transform: scale(1.08); }
}
.drops-flip-surface::after {
  height: 62%;
  background: transparent;
  backdrop-filter: blur(14px);
  mask-image: linear-gradient(transparent, black 52%, black 85%, transparent);
}
.drops-media-toggle {
  position: absolute; inset: 0; z-index: 1; display: grid; place-items: center;
  width: 100%; border: 0; padding: 0; background: transparent; color: #fff; cursor: pointer;
}
.drops-media-toggle::after {
  content: ""; position: absolute; width: 62px; height: 62px; border-radius: 50%; background: #111018ad;
  pointer-events: none; transition: opacity .14s;
}
.drops-media-toggle svg { width: 29px; height: 29px; z-index: 1; transition: opacity .14s; }
.drops-media-toggle.playing:not(:focus-visible)::after, .drops-media-toggle.playing:not(:focus-visible) svg { opacity: 0; }
@media (hover: hover) {
  .drops-media-toggle.playing:not(:focus-visible):hover::after,
  .drops-media-toggle.playing:not(:focus-visible):hover svg { opacity: .78; }
}
.drops-video-toggle.playing:not(:focus-visible):hover::after, .drops-video-toggle.playing:not(:focus-visible):hover svg { opacity: 0; }
.drops-media-toggle:focus-visible { outline: 2px solid var(--poison); outline-offset: -3px; }
.drops-speaker {
  position: absolute; z-index: 2; right: 12px; top: 12px; display: grid; place-items: center;
  width: 42px; height: 42px; border: 1px solid #ffffff25; border-radius: 50%;
  background: #0c0a13b5; color: white; cursor: pointer;
}
.drops-meta {
  position: absolute; z-index: 2; inset: auto 16px 18px;
  text-shadow: 0 1px 4px #0009; pointer-events: none;
}
.drops-meta a, .drops-meta button { pointer-events: auto; }
.drops-author {
  display: inline-flex; max-width: 100%; align-items: center; gap: 7px;
  color: white; text-decoration: none; font-weight: 650; font-size: .86rem;
}
a.drops-author:hover { color: var(--accent); }
.drops-author > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drops-avatar {
  display: grid; place-items: center; width: 28px; height: 28px; flex: none; overflow: hidden;
  border: 1px solid #fff3; border-radius: 50%; background: #514461; color: #fff;
}
.drops-avatar img { width: 100%; height: 100%; object-fit: cover; }
.drops-meta h2 {
  margin: 6px 0 0; color: white;
  font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.2; font-weight: 650;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.drops-track-data, .drops-caption { margin: 4px 0 0; color: #e9e2ed; font-size: .83rem; }
.drops-meta .post-published-at, .video-drop-caption .post-published-at { display: block; color: #e9e2ed; font-size: .75rem; font-weight: 500; margin-top: 3px; }
.drops-caption {
  font-size: .8125rem; line-height: 1.35; font-weight: 500;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden; overflow-wrap: anywhere; white-space: pre-line;
}
.drops-track-links { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.drops-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 34px; padding: 4px 11px; border: 1px solid #fff3; border-radius: 8px;
  background: #19151ee0; color: #fff; font: inherit; font-size: .82rem; font-weight: 650;
  text-decoration: none; cursor: pointer; text-shadow: none;
}
.drops-link:hover, .drops-link:focus-visible { background: #42364d; }
.drops-sound-link { margin-top: 7px; max-width: 100%; overflow: hidden; }
.drops-flip-meta > img { display: block; width: 84%; max-width: 260px; }
.drops-flip-meta > p { margin: 7px 0 12px; }
.drops-progress {
  position: absolute; z-index: 2; bottom: 1px; left: 0; right: 0; width: 100%;
  height: 12px; margin: 0; appearance: none; background: transparent; cursor: pointer;
}
.drops-progress:disabled { cursor: default; }
.drops-progress::-webkit-slider-runnable-track {
  height: 3px; background: linear-gradient(to right, var(--sound) var(--drops-progress, 0%), #ffffff35 var(--drops-progress, 0%));
}
.drops-progress::-moz-range-track {
  height: 3px; background: linear-gradient(to right, var(--sound) var(--drops-progress, 0%), #ffffff35 var(--drops-progress, 0%));
}
.drops-progress::-webkit-slider-thumb { appearance: none; width: 9px; height: 9px; margin-top: -3px; border-radius: 50%; background: var(--sound); opacity: 0; }
.drops-progress::-moz-range-thumb { border: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--sound); opacity: 0; }
.drops-progress:is(:hover, :focus-visible)::-webkit-slider-thumb { opacity: 1; }
.drops-progress:is(:hover, :focus-visible)::-moz-range-thumb { opacity: 1; }
.drops-action-rail.feed-actions {
  position: absolute; inset: auto auto 8px calc(100% + 8px); z-index: 2;
  display: flex; flex-direction: column; align-items: center; width: 50px; gap: 4px; padding: 0; margin: 0;
}
.drops-action-rail .magazine-metric, .drops-action-rail .feed-favorite {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  width: 44px; min-height: 43px; height: auto; margin: 0; padding: 3px;
  background: transparent; color: #f4edf4; font-size: .68rem; line-height: 1.05; border: 0; border-radius: 9px;
}
.drops-action-rail :is(.magazine-metric,.feed-favorite):hover,
.drops-action-rail :is(.magazine-metric,.feed-favorite):focus-visible { background: #ffffff16; }
.drops-action-rail .magazine-metric svg, .drops-action-rail .feed-favorite svg { width: 24px; height: 24px; }
.drops-action-rail svg.social-icon, .video-drop-forward svg.social-icon {
  display: block; width: 27px; height: 27px; flex: none;
}
.drops-action-rail [aria-pressed=true] { color: var(--poison); }
.drops-pager {
  position: absolute; z-index: 3; right: clamp(13px, 3vw, 44px); top: 50%; translate: 0 -50%;
  display: grid; gap: 8px;
}
.drops-page-button {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid #ffffff19; border-radius: 50%; background: #27252a; color: white;
  cursor: pointer; font-size: 25px;
}
.drops-page-button:hover:not(:disabled) { background: #434047; }
.drops-page-button:disabled { opacity: .32; cursor: default; }
.drops-page-button svg { width: 23px; height: 23px; }
.drops-state {
  display: grid; gap: 8px; place-content: center; min-height: 90px;
  padding: 12px; text-align: center; color: var(--muted); scroll-snap-align: end;
}
.drops-state:only-child { height: 100%; }
.drops-state p { margin: 0; }
.drops-startup { grid-row: 2; grid-column: 1; z-index: 2; }
#drops-unavailable .btn { margin-top: 8px; }
.drops-vote-dialog {
  width: min(620px, calc(100% - 24px)); max-height: min(88dvh, 960px); overflow: auto;
  padding: 0 12px 12px; border: 1px solid var(--line); border-radius: 18px; background: #201b26; color: white;
}
.drops-vote-dialog::backdrop { background: #08070bdd; }
.drops-vote-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 4px; }
.drops-vote-heading h2 { margin: 0; font-size: 1.1rem; }
.drops-vote-frame { display: block; width: 100%; height: 185px; border: 0; }
.drops-vote-fallback { display: inline-block; padding: 8px 4px 0; color: var(--muted); font-size: .84rem; }
@media (max-width: 900px) {
  .drops-heading { min-height: 52px; padding-top: 0; }
  .drops-categories { gap: 12px; }
  .drops-category-tab { font-size: 1.16rem; }
  .drops-flip-link { right: 6px; padding-inline: 5px; }
  .drops-flip-link img { width: 64px; }
  .drops-reel { padding: 0; }
  .drops-frame { width: 100%; max-width: none; aspect-ratio: auto; }
  .drops-surface { border: 0; border-radius: 0; }
  .drops-action-rail.feed-actions {
    inset: auto 12px 10px;
    flex-direction: row;
    justify-content: space-evenly;
    gap: 0;
    width: auto;
    padding: 4px;
    border: 1px solid #ffffff21;
    border-radius: 22px;
    background: #17171bf5;
  }
  .drops-action-rail .magazine-metric, .drops-action-rail .feed-favorite {
    flex: 1 1 0;
    min-width: 44px;
    min-height: 44px;
  }
  .drops-surface:has(+ .drops-action-rail) .drops-meta { inset: auto 16px 78px; }
  .drops-surface:has(+ .drops-action-rail) .drops-progress { inset: auto 12px 63px; width: calc(100% - 24px); }
  .drops-speaker { width: 44px; height: 44px; }
  .drops-pager { right: 3px; top: 28%; }
  .drops-pager button { width: 36px; height: 36px; background: #131016c0; }
  .drops-pager button svg { width: 17px; height: 17px; }
}
@media (max-width: 900px) and (pointer: coarse) {
  .drops-pager:not(:focus-within) { clip-path: inset(50%); }
}
@media (max-width: 365px) {
  .drops-flip-link img { width: 47px; }
  .drops-categories { gap: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .drops-media-toggle::after, .drops-media-toggle svg { transition: none; }
}
.drop-video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(30%, 145px), 1fr)); gap: 9px; }
.drop-video-tile { position: relative; width: 100%; aspect-ratio: 3 / 4; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; padding: 0; background: radial-gradient(at top left, #4a3d59, var(--surface)); color: white; cursor: pointer; }
.drop-video-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.drop-video-tile-play { position: absolute; inset: 50% auto auto 50%; translate: -50% -50%; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #0009; }
.drop-video-tile-play svg { width: 22px; height: 22px; }
.drop-video-tile-label { position: absolute; inset: auto 0 0; padding: 18px 7px 6px; background: linear-gradient(transparent, #000b); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .82rem; font-weight: 700; }
.drop-video-grid + p + button { margin-top: 9px; }
.created-with-beat { margin: 26px 0; }
.post-video-sound, .post-video-open-drops { position: absolute; z-index: 1; top: 10px; right: 10px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #ffffff32; border-radius: 50%; background: #17171bce; color: white; cursor: pointer; }
.post-video-open-drops { right: 61px; font-size: 19px; }
.video-drops { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; padding: 0; margin: 0; border: 0; background: #000; }
.video-drops-feed { height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; }
.video-drop-page { position: relative; height: 100%; display: grid; place-items: center; scroll-snap-align: start; scroll-snap-stop: always; }
.video-drop-page video { width: min(100%, 90dvh); height: 100%; object-fit: contain; }
.video-drop-caption { position: absolute; inset: auto 12px 51px; margin: 0; padding-right: 55px; color: white; text-shadow: 0 1px 4px #000; pointer-events: none; }
.video-drop-caption > p { margin: 5px 0 0; }
.video-drop-forward {
  position: absolute; bottom: 51px; right: 12px; z-index: 1; color: white;
  display: flex; flex-direction: column; gap: 2px; width: 44px; min-height: 44px;
}
.video-drops-close { position: absolute; top: max(12px, env(safe-area-inset-top)); left: 12px; width: 44px; height: 44px; border: 0; background: #17171bd9; color: white; border-radius: 50%; cursor: pointer; font-size: 28px; }

.video-drop-with-actions .video-drop-caption {
  inset: auto 16px 68px;
  padding: 16px 0 8px;
}
.video-drop-caption > p { font-size: .875rem; line-height: 1.35; font-weight: 500; }
.video-drop-actions {
  position: absolute;
  inset: auto 12px 12px;
  justify-content: space-around;
  padding: 6px;
  border: 1px solid #ffffff21;
  border-radius: 20px;
  background: #17171bf5;
  color: #fff;
}
.video-drop-actions button { min-width: 44px; min-height: 44px; }
.drops-vote-panel { padding: 16px; display: grid; gap: 16px; }
.drops-vote-panel audio, .drops-flip-meta audio { width: min(100%, 420px); }
.drops-vote-choices { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 900px) {
  .video-drops .video-drop-page video { width: 100%; }
  .video-drop-with-actions .video-drop-caption { bottom: calc(68px + env(safe-area-inset-bottom)); }
  .video-drop-actions { bottom: calc(12px + env(safe-area-inset-bottom)); }
}

.drops-comments { display: none; }
@media (min-width: 901px) {
  .drops-video-frame { display: flex; gap: 10px; aspect-ratio: auto; max-width: calc(100% - 84px); }
  .drops-video-frame .drops-surface, .drops-comments {
    position: relative; inset: auto; flex: 0 0 auto; height: 100%; aspect-ratio: 9 / 16;
    max-width: min(468px, calc((100vw - 170px) / 2));
  }
  .drops-video-frame .drops-action-rail { position: relative; inset: auto; flex: 0 0 50px; align-self: end; padding-bottom: 8px; }
  .drops-comments {
    display: grid; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; min-width: 0;
    border: 1px solid var(--line); border-radius: 15px; background: #1c1a20;
  }
  .drops-comments:focus-visible { outline: 2px solid var(--muted); outline-offset: 3px; }
  .drops-comments > h2 { margin: 0; padding: 15px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .drops-discussion { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; }
  .drops-discussion .post-discussion-list { overflow: auto; overscroll-behavior: contain; padding: 0 14px; }
  .drops-discussion .post-discussion-list:focus-visible { outline: 2px solid var(--muted); outline-offset: -2px; }
  .drops-discussion .post-discussion-compose { padding: 10px 12px; border-top: 1px solid var(--line); }
  .drops-discussion .post-discussion-compose .home-form { margin: 0; }
  .drops-discussion .post-discussion-compose button { padding: 6px 16px; border-radius: 20px; color: var(--bg); background: var(--text); font-weight: 650; }
  .drops-discussion .post-discussion-compose textarea { min-height: 45px; max-height: 100px; }
  .drops-discussion .home-message p { overflow-wrap: anywhere; }
}

.drops-audio-surface .drops-meta .wave { height: 39px; margin: 5px 0 0; pointer-events: auto; }


/* Preserve a single icon/count geometry across feed and fullscreen actions. */
.drops-action-rail.feed-actions .magazine-metric { display: grid; grid-template-rows: 24px 16px; justify-items: center; align-content: center; min-height: 48px; gap: 2px; }
.drops-action-rail.feed-actions .magazine-metric svg.social-icon { width: 24px; height: 24px; }

.drops-options-trigger { position:absolute;z-index:3;right:12px;top:12px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #ffffff25;border-radius:50%;background:#0c0a13b5;color:white;cursor:pointer;font-size:24px;line-height:1; }
.drops-options-trigger:focus-visible { outline:2px solid var(--poison);outline-offset:2px; }
.drops-speaker { right:64px; }
.video-drop-page .drops-options-trigger { top:max(12px,env(safe-area-inset-top)); }

/* Keep the five social slots aligned within the media and with the phone dock. */
.drops-hub { overflow: clip; }
.drops-hub::after, .video-drops::after { content:"";position:absolute;inset:auto 0 0;height:32px;z-index:1;backdrop-filter:blur(14px);mask-image:linear-gradient(transparent,#000);pointer-events:none; }
.drops-action-rail.feed-actions { inset:auto 12px 10px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:auto;gap:0;margin:0;padding:4px 12px;border:1px solid #ffffff21;border-radius:24px;background:#17171bf5; }
.drops-action-rail .magazine-metric, .drops-action-rail .feed-favorite { width:100%;min-height:44px; }
.drops-surface:has(~ .drops-action-rail) .drops-meta { inset:auto 16px 78px; }
.drops-surface:has(~ .drops-action-rail) .drops-progress { inset:auto 12px 63px;width:calc(100% - 24px); }
.video-drops-feed { overflow:hidden auto; }
.video-drop-actions.feed-actions { inset:auto auto calc(12px + env(safe-area-inset-bottom)) 50%;width:min(calc(100% - 28px),430px);translate:-50% 0; }
@media(max-width:900px) {
 body.drops-page:has(> .site-dock:not(.site-dock-desktop-only)) { padding-bottom:calc(60px + env(safe-area-inset-bottom)); }
 .drops-page .site-nav-links { display:grid;grid-template-columns:repeat(5,minmax(0,1fr));justify-items:center; }
 .drops-action-rail.feed-actions {
   inset:auto max(20px, env(safe-area-inset-right)) 8px max(20px, env(safe-area-inset-left));
   width:auto; translate:none; padding:6px 4px; border:0; border-radius:22px;
   box-shadow:inset 0 0 0 1px #ffffff21;
 }
 .video-drop-actions.feed-actions { bottom:calc(12px + env(safe-area-inset-bottom)); }
}

@media(min-width:901px) {
 .drops-video-frame .drops-action-rail.feed-actions { position:absolute;left:12px;right:auto;width:calc((100% - 10px)/2 - 24px); }
}
@media(max-width:900px) {
 .drops-page .site-navigation .site-nav-desktop-only { display:none; }
}

.drops-duel-hub {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--lavender, #cbb9ef);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.drops-duel-hub svg { width: 22px; height: 22px; }

.video-drop-caption .drop-song-link { display: block; pointer-events: auto; color: white; }

.drops-page .drops-surface { background: transparent; }
.drops-page .drops-audio-surface { background: transparent; }

/* The header and the scrollport overlap. Outgoing frames remain visible behind the header to the screen edge. */
.drops-hub, .video-drops {
  --drop-header: calc(var(--status-safe-area, 0px) + 56px);
  grid-template-rows: minmax(0,1fr);
}
.drops-heading, .drops-feed { grid-area: 1 / 1; }
.drops-heading { align-self: start; pointer-events: none; background: transparent; }
.drops-heading > * { pointer-events: auto; }
.drops-hub .drops-reel { box-sizing: border-box; padding-top: calc(var(--drop-header) + 6px); }
.drops-hub:has(.drop-options-slot > button) .drops-flip-link { right: auto; left: clamp(8px,2vw,36px); }
.drop-options-slot { position: absolute; right: 12px; bottom: 0; }
.drop-options-slot .drops-options-trigger {
  position: static; width: 44px; height: 44px; border: 0; background: transparent; box-shadow: none;
}
.drops-video-frame .drops-surface, .video-drop-stage {
  transform-origin: 0 0; transform: var(--drop-flight, none); filter: blur(var(--drop-motion-blur, 0px));
}
.drops-video-frame .drops-surface { background: transparent; }
.drops-video-frame .drops-surface::after, .video-drop-stage::after {
  content: ""; position: absolute; inset: auto 0 0; height: min(45%, 220px); z-index: 1; pointer-events: none;
  background: transparent; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  mask-image: linear-gradient(transparent, rgb(0 0 0 / 35%) 32%, black 85%);
}
.drops-action-rail.feed-actions, .video-drop-actions.feed-actions {
  background: transparent; border-color: transparent; box-shadow: none; text-shadow: 0 1px 3px #000a;
}
.drops-action-rail :is(svg, span), .video-drop-actions :is(svg, span), .drop-fullscreen svg, .drops-speaker svg {
  filter: drop-shadow(0 0 1px #000) drop-shadow(0 1px 1px #000b);
}
.drops-meta, .video-drop-caption { text-shadow: 0 0 2px #000, 0 1px 3px #000; }
.drop-fullscreen, .drops-speaker, .post-video-sound, .post-video-open-drops, .drop-expanded-close {
  position: absolute; right: 12px; top: 12px; z-index: 3; display: grid; place-items: center; padding: 0;
  width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: white; cursor: pointer;
  backdrop-filter: blur(13px); -webkit-backdrop-filter: blur(13px); text-shadow: 0 1px 3px #0008;
}
.drops-speaker, .post-video-sound { right: 64px; }
.post-video-open-drops { right: 116px; }
.video-drops[open] { display: grid; color: white; background: var(--bg); }
.video-drops-feed { grid-area: 1 / 1; }
.video-drops-header {
  grid-area: 1 / 1; position: relative; z-index: 4; align-self: start; height: var(--drop-header);
  display: flex; align-items: end; justify-content: space-between; padding-inline: 12px; pointer-events: none;
}
.video-drops-header button, .video-drops-header .drop-options-slot { pointer-events: auto; }
.video-drops-header .video-drops-close { position: static; background: transparent; }
.video-drop-page { box-sizing: border-box; padding-top: var(--drop-header); min-height: 0; }
.video-drop-stage { position: relative; width: min(100%, 90dvh); height: 100%; min-height: 0; }
.video-drop-stage > video { display: block; width: 100%; height: 100%; }
.video-drop-stage .video-drop-caption, .video-drop-stage .video-drop-actions { z-index: 2; }
.drop-expanded[open] {
  position: fixed; inset: 0; margin: 0; padding: 0; width: 100vw; height: 100dvh;
  max-width: none; max-height: none; border: 0; background: black; color: white;
}
.drop-expanded > video, video:fullscreen { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transform: none; }
.drop-expanded-close { z-index: 2; min-width: 44px; min-height: 44px; top: max(12px,env(safe-area-inset-top)); right: max(12px,env(safe-area-inset-right)); font-size: 26px; }
@media(max-width:900px) {
  .drops-hub { --drop-header: 52px; }
  .drops-hub .drops-reel { padding-top: var(--drop-header); }
  body.drops-page:has(> .site-dock:not(.site-dock-desktop-only)) { padding-bottom: 0; }
  .drops-page { --drop-dock: calc(60px + env(safe-area-inset-bottom) + var(--player-height,0px)); }
  .drops-frame .drops-action-rail.feed-actions { bottom: calc(var(--drop-dock) + 8px); }
  .drops-flip-surface .drops-flip-meta { bottom: calc(var(--drop-dock) + 18px); }
  .drops-frame .drops-surface:has(~ .drops-action-rail) .drops-meta { bottom: calc(var(--drop-dock) + 78px); }
  .drops-frame .drops-surface:has(~ .drops-action-rail) .drops-progress { bottom: calc(var(--drop-dock) + 63px); }
  .drops-video-frame .drops-surface::after { height: calc(150px + var(--drop-dock)); }
}
@media(prefers-reduced-transparency:reduce) {
  .drops-video-frame .drops-surface::after, .video-drop-stage::after { backdrop-filter: none; -webkit-backdrop-filter: none; }
}

.drops-heading { justify-content: flex-start; gap: 6px; padding-inline: clamp(12px,2vw,24px); }
.drops-categories { justify-content: flex-start; }
.drops-heading .drop-options-slot { position: static; }
.drops-heading .drop-header-player { margin-left: auto; }
.drops-heading .drop-header-player[hidden] + .drop-options-slot { margin-left: auto; }
.drops-heading .drops-flip-link:not([hidden]) { position: static; order: -1; }
.drop-header-player { display: flex; align-items: center; color: white; }
.drop-header-player[hidden], .drop-header-player:empty { display: none; }
.drop-header-player :is(a,button) {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: white; cursor: pointer;
}
.drop-header-player button:disabled { opacity:.36; }
.drop-header-player svg { width:17px; height:17px; }
.drop-player-cover img { height:28px; width:28px; object-fit:cover; border-radius:6px; }
.video-drops-header .drop-header-player { margin-left:auto; margin-right:50px; pointer-events:auto; }
.video-drop-caption a.drops-author { pointer-events:auto; }
body:has(.drops-hub) #player,body:has(.video-drops[open]) #player { display:none; }
@media(max-width:440px) { .drops-heading .drop-header-player :is(button:first-of-type,button:last-child) { display:none; } }

/* One fitted picture supplies the size for both the media and its two glass controls. */
.drop-fitted-frame {
  container-type: size;
  --drop-aspect: .5625;
  --media-foot: min(50px, 12cqh);
  --caption-band: min(38cqh, 200px);
  --media-w: min(calc(100cqw - 20px), calc((100cqh - var(--media-foot) - 10px) * var(--drop-aspect)));
  --media-h: calc(var(--media-w) / var(--drop-aspect));
  --media-top: calc((100cqh - var(--media-foot) - var(--media-h)) / 2);
  --media-right: calc((100cqw - var(--media-w)) / 2);

}
.drop-fitted-frame > video:not(:fullscreen), .drop-fitted-frame > .drop-liquid-picture {
  position: absolute; inset: var(--media-top) auto auto var(--media-right); width: var(--media-w); height: var(--media-h);
  display: block; object-fit: contain; border-radius: 17px;
  --feather: clamp(0px, calc(var(--media-top) + var(--media-h) - 100cqh + var(--caption-band)), var(--media-h));
  mask-image: linear-gradient(black calc(100% - var(--feather) * var(--drop-feather-weight,1)), transparent 100%);
  transform-origin: center;
  transform: var(--drop-flight,none);
  border-radius: max(17px,var(--drop-round,0%));
  clip-path: inset(var(--drop-cut,0%) 0 0);
  filter: blur(var(--drop-motion-blur,0px));
}
.drop-fitted-frame > .drop-fullscreen, .drop-fitted-frame > .drops-speaker {
  inset: calc(var(--media-top) + 8px) calc(var(--media-right) + 8px) auto auto;
}
.drop-fitted-frame > .drops-speaker { right: calc(var(--media-right) + 60px); }
.drop-frame-reflection {
  position: absolute; inset: auto -10px -12px; width: calc(100% + 20px); height: min(38%, 200px);
  pointer-events: none; z-index: 1; filter: blur(16px);
  mask-image: linear-gradient(transparent, #0005 32%, black 82%);
}
.drops-video-frame .drop-fitted-frame, .video-drop-stage.drop-fitted-frame {
  overflow: visible; border: 0; background: transparent; box-shadow: none; filter: none; transform: none;
}
.drops-video-frame .drop-fitted-frame::after, .video-drop-stage.drop-fitted-frame::after {
  inset: var(--media-top) auto auto var(--media-right);
  width: var(--media-w); height: var(--media-h); border-radius: 17px;
  background: linear-gradient(transparent 58%,rgb(0 0 0 / .05));
  backdrop-filter:none; -webkit-backdrop-filter:none; mask-image:none;
  transform: translateY(var(--drop-hud,0px)); opacity:var(--drop-glass-controls,1);
}
.drops-video-frame .drop-fitted-frame.drops-surface:has(~ .drops-action-rail) .drops-meta,
.drop-fitted-frame.drops-surface > .drops-meta, .video-drop-stage.drop-fitted-frame > .video-drop-caption {
  inset: auto calc(var(--media-right) + 12px) calc(100% - var(--media-top) - var(--media-h) + 10px);
  max-height: calc(var(--media-h) - 20px); overflow: hidden;
  text-shadow:none; z-index: 2;
}
.drop-fitted-frame :is(.drops-author,.drops-caption,.video-drop-caption p) { text-shadow:none; }
[data-drop-offscreen] { visibility: hidden; }
@media(max-width:900px) {
  .drops-video-frame .drop-fitted-frame {
    --media-foot: calc(min(50px,12cqh) + var(--drop-dock,60px));
    --caption-band: calc(155px + var(--drop-dock,60px));
  }
  .drops-video-frame .drop-frame-reflection { height: calc(155px + var(--drop-dock,60px)); }
}
@media(prefers-reduced-transparency:reduce) {
  .drop-frame-reflection { display:none; }
  .drop-fitted-frame > video:not(:fullscreen), .drop-fitted-frame > .drop-liquid-picture { mask-image:none; }
  .drops-video-frame .drop-fitted-frame::after, .video-drop-stage.drop-fitted-frame::after { backdrop-filter:none; -webkit-backdrop-filter:none; }
}

.drop-liquid-picture { pointer-events: none; }
.drop-fitted-frame[data-liquid] > video:not(:fullscreen) { opacity: 0; }
.drops-reel .drops-action-rail, .drop-fitted-frame > :is(.drops-meta,.drops-progress,.video-drop-caption,.video-drop-actions,.drop-frame-reflection) {
  translate: 0 var(--drop-hud,0px); opacity:var(--drop-controls,1);
}
.drop-fitted-frame > :is(.drop-fullscreen,.drops-speaker) { opacity:var(--drop-glass-controls,1); }

.drops-cover-atmosphere { position:fixed;inset:0;pointer-events:none;overflow:hidden;isolation:isolate;opacity:0;transition:opacity .45s ease; }
.beat-atmosphere-visible .drops-cover-atmosphere {opacity:1;}
.drops-cover-atmosphere img {position:absolute;inset:-8%;width:116%;height:116%;object-fit:cover;filter:blur(42px); }
.drops-page .drops-cover {overflow:visible;top:38%;width:min(80%,40dvh);}
.drops-cover img {border-radius:inherit;}
.drops-cover .drops-taste {position:absolute;top:100%;margin-top:4px;left:50%;transform:translateX(-50%);display:grid;justify-items:center;width:min(80vw,280px);text-align:center;z-index:5;}
.drops-taste-buttons {display:flex;gap:8px;}
.drops-taste-hint,.drops-taste-status {font-size:.75rem;line-height:1.3;color:rgb(255 255 255 / .85);}
.drops-taste-status:empty {display:none;}
.drops-bass-meter {display:flex;align-items:center;justify-content:center;gap:3px;height:clamp(14px,2.4dvh,24px);margin-top:4px;pointer-events:none;}
.drops-bass-meter i {display:block;width:3px;height:100%;border-radius:3px;background:rgb(255 255 255 / .78);transform:scaleY(.14);}
.beat-atmosphere-visible .drops-hub::after {content:none;}
.beat-atmosphere-visible :is(.drops-meta,.drops-meta *,.drops-action-rail,.taste-choice) {text-shadow:none;}
.beat-atmosphere-visible :is(.drops-action-rail,.taste-choice) :is(svg,span) {filter:none;}
.drops-page .drops-cover:has(.drops-taste) {z-index:3;pointer-events:none;}
.drops-taste .taste-choice {pointer-events:auto;background:transparent;border:0;color:white;width:44px;height:44px;display:grid;place-items:center;cursor:pointer;}
.drops-taste .taste-choice[aria-pressed=true] svg {fill:currentColor;}
@media(prefers-reduced-motion:reduce) { .drops-cover-atmosphere {transition:none;} }
