@import url("./swipe-close.css");
@import url("./feed-shimmer.css?v=90");

.community-home { --home-max: 1050px; }
#home-sign-in .auth { min-height: 100svh; background: radial-gradient(ellipse at 50% 32%, #a6fd4210, transparent 52%), var(--bg); }
#home-sign-in .auth-card { padding: clamp(24px, 4vw, 42px); width: min(100%, 420px); border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: 0 24px 90px #0005; }
#home-sign-in .auth-card .logo { display: block; margin: 0 auto 12px; }
#home-sign-in .auth-card h2 { font-size: 16px; color: var(--text); }
#home-sign-in .btn-primary { background: var(--poison); color: var(--bg); }
@media (hover: hover) and (pointer: fine) {
  .community-home:is([data-home-session="pending"], [data-home-session="guest"]) > :is(.community-header, .community-content) { display: none; }
}
@media (max-width: 900px) and (hover: hover) and (pointer: fine) {
  .community-home:is([data-home-session="pending"], [data-home-session="guest"]) > .community-tabs { display: none; }
}
html:has(.community-home) {
  --home-bottom-clearance: max(90px, calc(70px + env(safe-area-inset-bottom)));
  scroll-padding-bottom: calc(var(--player-height, 0px) + var(--home-bottom-clearance));
}
.community-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, var(--home-max));
  min-height: 56px;
  padding: 0 16px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .community-header {
    position: sticky;
    top: var(--status-safe-area);
    z-index: 5;
    isolation: isolate;
    transform: translateY(0);
    opacity: 1;
    transition: transform .24s ease-out, opacity .18s ease-out, visibility 0s;
  }
  .community-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    mask-image: linear-gradient(to bottom, transparent, rgb(0 0 0 / .1) 14%, #000 76%);
    opacity: 0;
    transition: opacity .18s ease-out;
  }
  .community-header[data-over-content="true"]::before { opacity: 1; }
  .community-header[data-header-hidden="true"]:not(:has(:focus-visible)) {
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .24s ease-out, opacity .18s ease-out, visibility 0s .24s;
  }
}
.community-header .site-logo img { width: auto; height: 30px; }
.community-identity { display: flex; align-items: center; gap: 12px; }
#your-story { position: relative; flex: 0 0 69px; }
#your-story:not(.has-story) .your-story-avatar { --story-color: transparent; }
.your-story-avatar .your-story-face { overflow: hidden; }
.your-story-add { position: absolute; top: 31px; right: -12px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--bg); font-size: 15px; font-weight: 800; cursor: pointer; }
.your-story-add::before { content: "+"; display: grid; place-items: center; width: 20px; height: 20px; border: 1.5px solid var(--bg); border-radius: 50%; background: var(--text); line-height: 1; }
@media (prefers-reduced-motion: reduce) {
  .community-header, .community-header[data-header-hidden="true"]:not(:has(:focus-visible)) {
    transform: none;
    transition: opacity .14s ease-out, visibility 0s;
  }
  .community-header[data-header-hidden="true"]:not(:has(:focus-visible)) { transition-delay: 0s, .14s; }
}
@media (prefers-reduced-transparency: reduce) {
  .community-header::before { content: none; }
}
.community-actions {
  display: flex; gap: 0; padding-inline: 2px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 30px;
}
.community-actions button:hover { background: #ffffff0e; border-radius: 50%; }
.community-actions button:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; border-radius: 50%; }
.community-actions [data-panel=notifications] svg { width: 28px; height: 28px; }
.community-actions [data-panel=messages] svg { width: 25px; height: 25px; }
.community-actions button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
}
@media (max-width: 900px) {
  :where(.community-tabs) .site-nav-link {
    display: grid; place-items: center; width: 46px; height: 44px; padding: 0;
    border: 0; background: transparent; color: var(--text); cursor: pointer; text-decoration: none;
  }
}
.community-actions svg { width: 23px; height: 23px; }
.community-tabs svg { width: 24px; height: 24px; }
.community-content { width: min(100%, var(--home-max)); margin: 0 auto; padding-bottom: calc(var(--home-bottom-clearance) + var(--player-height, 0px)); }
.community-tabs {
  position: fixed;
  left: 50%;
  bottom: max(calc(var(--player-height, 0px) + 10px), env(safe-area-inset-bottom));
  z-index: 15;
  transform: translateX(-50%);
  display: flex;
  width: min(calc(100% - 28px), 430px);
  justify-content: space-evenly;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 40px;
  background: #211e25f0;
  backdrop-filter: blur(15px);
}
.community-tabs [aria-current] {
  color: var(--poison);
  background: var(--poison-dim);
  border-radius: 99px;
}
.community-home:has(.magazine-dialog[open]) .community-tabs,
.community-home:has(.home-panel[open]) .community-tabs,
.community-home:has(.story-viewer[open]) .community-tabs { visibility: hidden; }
.community-home.magazine-home-flight:has(.magazine-dialog[open]) > .community-tabs,
.community-home:has(.magazine-dialog.magazine-dragging[open]) > .community-tabs { visibility: visible; }
@media (min-width: 901px) {
  html:has(.community-home) { --home-bottom-clearance: 20px; }
  .community-home:has(> .site-navigation) .community-identity { visibility: hidden; }
}
.story-shelf {
  display: flex;
  gap: 13px;
  overflow-x: auto;
  padding: 9px 16px;
  scrollbar-width: none;
}
.story-avatar {
  --story-color: var(--social);
  display: grid;
  gap: 6px;
  width: 69px;
  flex: 0 0 69px;
  justify-items: center;
  padding: 0;
  color: #eee;
  border: 0;
  background: none;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  text-overflow: ellipsis;
  text-decoration: none;
  cursor: pointer;
}
.story-avatar.official-story { --story-color: var(--poison); }
.story-avatar span {
  display: grid;
  place-items: center;
  width: 61px;
  height: 61px;
  padding: 3px;
  background: color-mix(in srgb, var(--story-color) 10%, var(--surface));
  border: 1.5px solid var(--story-color);
  border-radius: 17px;
}
.story-avatar img { width: 100%; height: 100%; border-radius: 12px; object-fit: cover; }
.story-avatar.official-story img { width: 49px; height: auto; border-radius: 0; object-fit: contain; }
.community-home .magazine-home {
  padding: 0 16px 5px;
  border: 0;
  margin: 12px 0 12px;
}
.community-home .magazine-home-head { align-items: center; margin: 0 0 12px; }
.community-home .magazine-home-head h1, .community-home .home-feed-tabs h2, .community-feed h2 {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.035em;
}
.community-home .magazine-archive-link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--editorial) 13%, var(--surface));
  color: var(--editorial);
  font-size: 19px;
  font-weight: 800;
}
.community-home .magazine-card { max-height: 425px; }
.community-feed { width: min(100%, 660px); margin-inline: auto; }
.community-feed h2 { margin: 16px 16px 6px; }
.home-text-button {
  display: inline-block;
  margin: 6px 16px 16px;
  background: transparent;
  padding: 2px 0;
  color: var(--accent);
  border: 0;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.community-feed .muted { margin-inline: 16px; }
.feed-post { border-bottom: 1px solid var(--line); padding: 3px 0 12px; }
.feed-loader-line { width: 112px; height: 10px; border-radius: 999px; }
.feed-loader-actions { height: 38px; display: flex; align-items: center; margin-inline: 16px; }
.feed-author { display: flex; align-items: center; padding: 10px 16px; gap: 9px; }
.feed-post-byline { min-width: 0; }
.post-published-at { display: block; color: var(--muted); font-size: .75rem; font-weight: 500; margin-top: 2px; }
.feed-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--raised);
}
.feed-avatar img { width: 100%; height: 100%; object-fit: cover; }
.feed-collaboration { display: flex; align-items: center; gap: 8px; min-width: 0; }
.feed-collab-avatars { display: flex; flex: none; align-items: center; }
.feed-collab-avatars .feed-avatar { width: 30px; height: 30px; flex-basis: 30px; border: 2px solid var(--bg); }
.feed-collab-avatars .feed-avatar + .feed-avatar { margin-left: -9px; }
.feed-collab-names { font-weight: 700; overflow-wrap: anywhere; }
.feed-collab-names a { text-decoration: none; color: inherit; }
.feed-beat-art > .feed-collaboration { position: absolute; z-index: 1; left: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 5px 9px; border-radius: 30px; background: #17151ce0; }
.video-drop-caption .feed-collab-names a { pointer-events: auto; }
.video-drop-caption > p { margin: 5px 0 0; }
.collab-invite-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 0; }
.feed-carousel-shell { position: relative; }
.feed-carousel {
  display: flex;
  overflow: auto hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.feed-carousel > * { flex: 0 0 100%; scroll-snap-align: center; }
.post-art {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface);
}
.post-art > img, .drop-preview > video { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.feed-attached a { font-weight: 700; text-decoration: none; }
.feed-all-beats { color: var(--accent); font-weight: 900; text-align: center; text-decoration: none; align-self: start; }
.feed-beat-slide { min-width: 0; }
.feed-beat-art { position: relative; }
.feed-beat-art .post-media { aspect-ratio: 1; }
.feed-beat-art:has(.feed-art-play) > .feed-collaboration { max-width: calc(100% - 62px); }
.feed-art-play {
  position: absolute; inset: 0; display: grid; align-content: end; justify-content: end;
  padding: 10px; border: 0; background: none; color: white; cursor: pointer;
}
.feed-art-play svg { box-sizing: border-box; width: 36px; height: 36px; padding: 7px; border-radius: 50%; background: #141218bd; }
.feed-art-play:focus-visible { outline: 2px solid var(--poison); outline-offset: -3px; }
.feed-beat-player.feed-attached { margin: 0; padding: 12px 16px; border-radius: 0; }
.feed-beat-badge, .feed-page-counter { position: absolute; z-index: 1; top: 12px; padding: 5px 10px; border-radius: 40px; background: #151418dc; color: white; font-size: 12px; font-weight: 750; pointer-events: none; }
.feed-beat-badge { right: 12px; }
.feed-page-counter {
  left: 12px;
  font-variant-numeric: tabular-nums;
}
.feed-carousel-arrows { position: absolute; inset: 43% 6px auto; display: flex; justify-content: space-between; pointer-events: none; }
.feed-carousel-arrows button:disabled { visibility: hidden; }
.feed-carousel-arrows button, .home-panel-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #10140fe8;
  color: #f0f8ed;
  font-size: 23px;
  cursor: pointer;
  pointer-events: auto;
}
.feed-play {
  flex: 0 0 39px;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background: var(--accent);
  color: #10140d;
  padding: 9px;
  border: 0;
  cursor: pointer;
}
.feed-play svg { width: 100%; height: 100%; }
.feed-play.playing { color: var(--bg); background: var(--sound); }
.feed-cover-play.playing { color: var(--sound); }
.feed-play:disabled { opacity: .45; cursor: default; }
.feed-attached { display: flex; align-items: center; gap: 10px; margin: 10px 16px 0; padding: 8px; background: var(--raised); border-radius: 12px; }
.feed-attached a { flex: 1; }
.feed-actions { display: flex; gap: 8px; padding: 0 13px; margin-top: 4px; }
.feed-caption { padding: 0 16px; margin: 2px 0 7px; overflow-wrap: anywhere; }
.feed-post .home-post-reader { background: var(--bg); }
body:has(.home-post-reader[open]) { overflow: hidden; }
.home-post-reader .home-panel-top { background: var(--bg); }
.post-reader-author { display: block; margin: 0 0 12px; }
.home-post-reader .feed-attached { margin: 12px 0; }
.home-panel.profile-post-reader { background: var(--bg); }
.home-panel.profile-post-reader::backdrop { background: #100d173b; }
.profile-post-reader.profile-reader-exiting::backdrop { opacity: 0; transition: opacity 240ms ease-out; }
.post-reader-caption { margin: 14px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.55; }
.post-reader-comments { margin: 24px 0 12px; padding-top: 14px; border-top: 1px solid var(--line); }
@media (max-width: 600px) {
  .home-panel.home-post-reader { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; border: 0; border-radius: 0; }
  .home-panel.home-post-reader.swipe-pulling { border-radius: var(--swipe-radius); }
}
.home-status { padding: 0 16px; }
.home-panel {
  margin: auto;
  width: min(calc(100% - 24px), 640px);
  max-height: min(85vh, 800px);
  padding: 0;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: white;
}
.home-panel::backdrop { background: #000c; }
.home-panel-top { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 9px 16px; background: var(--surface); z-index: 2; }
.home-panel-top h2 { font-size: 20px; margin: 0; }
.home-panel-close { background: var(--raised); }
.home-panel-content { padding: 14px 16px 24px; }
.home-status { color: var(--muted); font-size: 13px; }
.home-form { display: grid; gap: 8px; margin: 14px 0; }
.home-form textarea { width: 100%; min-height: 64px; padding: 9px; background: var(--raised); border: 1px solid #64586a; border-radius: 9px; }
.home-form button { justify-self: end; border: 0; cursor: pointer; }
.home-message { margin: 8px 0; padding: 9px 12px; border-radius: 10px; background: var(--raised); overflow-wrap: anywhere; }
.home-message.sent { background: #3a3043; margin-left: 30px; }
.home-message p { margin: 5px 0; }
.home-message .inbox-beat-audio { display: block; width: min(100%, 320px); margin-top: 8px; color-scheme: dark; }
.profile-post-peek {
  width: min(calc(100% - 28px), 350px); max-width: none; max-height: calc(100dvh - 24px);
  padding: 0; border: 0; background: transparent; color: white; overflow: auto; scrollbar-width: none;
  overscroll-behavior: contain;
}
.profile-post-peek::backdrop { background: #17161a85; }
body:has(.profile-post-peek[open]) { overflow: hidden; }
.profile-peek-card { overflow: hidden; border-radius: 17px; background: var(--surface); }
.profile-peek-author { display: flex; align-items: center; gap: 8px; padding: 8px 11px; font-size: 13px; }
.profile-peek-author strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-peek-author .avatar { width: 26px; height: 26px; font-size: 11px; }
.profile-peek-media {
  position: relative; display: grid; width: 100%; min-height: 100px; place-items: center; padding: 0;
  border: 0; color: white; background: var(--bg); cursor: pointer;
}
.profile-peek-media img { display: block; width: 100%; max-height: min(39dvh, 292px); object-fit: contain; }
.profile-peek-media span:not(.profile-peek-play) { padding: 16px; }
.profile-peek-play {
  position: absolute; width: 43px; height: 43px; display: grid; place-items: center; border-radius: 50%; background: #0009;
}
.profile-peek-play::before { content: ""; border: solid transparent; border-width: 8px 0 8px 12px; border-left-color: white; margin-left: 3px; }
.profile-peek-menu { width: min(100%, 235px); margin-top: 8px; padding: 4px 0; border-radius: 17px; background: var(--raised); overflow: hidden; }
.profile-peek-action {
  display: flex; align-items: center; gap: 11px; width: 100%; min-height: 42px; padding: 7px 12px;
  color: inherit; background: none; border: 0; text-align: left; cursor: pointer;
}
.profile-peek-action:not(:last-of-type) { border-bottom: 1px solid var(--line); }
.profile-peek-action:is(:hover, :focus-visible) { background: var(--surface); }
.profile-peek-action svg { display: block; width: 19px; height: 19px; }
.profile-peek-action:disabled { opacity: .4; cursor: default; }
.profile-audio-byline { display: grid; gap: 3px; padding: 12px 14px; overflow-wrap: anywhere; }
.profile-audio-byline span { font-size: .85rem; color: var(--muted); }
.profile-crop-frame { width: min(100%, 305px); margin: 0 auto 15px; border-radius: 14px; overflow: hidden; }
.profile-crop-frame, .profile-order-picture { aspect-ratio: 1; color: white; background: var(--bg); }
.profile-crop-frame img, .profile-order-picture img { display: block; width: 100%; height: 100%; object-fit: cover; }
.profile-crop-fit, .profile-crop-axis { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0; }
.profile-crop-fit { justify-content: flex-start; }
.profile-post-insights { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.profile-post-insights dd { margin: 0; font-weight: 700; }
.profile-order-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.profile-order-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-bottom: 12px; }
.profile-order-entry { display: grid; gap: 4px; }
.profile-order-picture { position: relative; border: 0; display: grid; place-items: center; padding: 0; overflow: hidden; }
.profile-order-picture[aria-pressed] { cursor: pointer; }
.profile-order-picture[aria-pressed="true"]::after {
  position: absolute; inset: 0; border: 3px solid var(--poison); content: ""; pointer-events: none;
}
.inbox-row { display: flex; flex-direction: column; width: 100%; align-items: start; text-align: left; gap: 3px; padding: 12px 10px; margin: 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; font-size: 14px; }
button.inbox-row { cursor: pointer; }
.saved-inbox-entry {
  flex-direction: row; align-items: center; gap: 10px; min-height: 56px;
}
.saved-message-emblem {
  display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px;
  border-radius: 50%; background: var(--accent-dim); color: var(--accent);
}
.saved-message-emblem svg { width: 19px; height: 19px; }
.saved-inbox-entry:hover { background: var(--raised); }
.saved-message-list + button[hidden] { display: none; }
.saved-message-actions { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.saved-message-file { position: relative; max-width: 72%; min-width: 0; cursor: pointer; }
.saved-message-file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.saved-message-file input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.saved-message-file:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.saved-message-photo { display: block; max-width: 100%; max-height: 360px; object-fit: contain; border-radius: 8px; }
.saved-message p { white-space: pre-wrap; overflow-wrap: anywhere; }
.saved-message-post {
  display: flex; align-items: center; gap: 10px; width: 100%; min-width: 0; padding: 0;
  background: none; border: 0; color: inherit; text-align: left; cursor: pointer;
}
.saved-message-post img { width: 56px; height: 56px; border-radius: 7px; object-fit: cover; }
.saved-message-post > span { display: grid; min-width: 0; gap: 3px; }
.saved-message-post strong, .saved-message-post > span > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.saved-message-post > span > span { color: var(--muted); }
.inbox-row.unread { border-left: 2px solid var(--accent); background: var(--accent-dim); }
.inbox-row.notification-row {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 13px;
  min-height: 68px; color: var(--text); text-decoration: none;
}
.notification-row:is(a,button):hover { background: var(--raised); }
.notification-identity { position: relative; display: grid; place-items: center; }
.notification-identity .feed-avatar { width: 44px; height: 44px; }
.notification-glyph {
  position: absolute; inset: auto -3px -3px auto; width: 21px; height: 21px; display: grid; place-items: center;
  border-radius: 50%; border: 2px solid var(--surface); color: var(--accent); background: var(--bg);
}
.notification-glyph svg { width: 13px; height: 13px; }
.notification-copy { display: grid; gap: 4px; overflow-wrap: anywhere; }
.notification-copy small, .notification-copy time { color: var(--muted); }
.notification-preview { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; }
@media (min-width: 901px) {
  .home-panel.notifications-panel {
    position: fixed; inset: 0 0 0 auto; width: min(440px, 42vw); height: 100dvh; max-height: none;
    margin: 0; overflow-y: auto; overscroll-behavior: contain;
    border-radius: 16px 0 0 16px; box-shadow: -18px 0 54px #0003;
  }
  .home-panel.notifications-panel::backdrop { background: #0003; backdrop-filter: none; }
  .home-panel.notifications-panel[open] { animation: notification-enter .23s ease-out; }
  @keyframes notification-enter { from { transform: translateX(100%); } to { transform: translateX(0); } }
}
@media (prefers-reduced-motion: reduce) { .home-panel.notifications-panel[open] { animation: none; } }
.repost-credit { display: flex; gap: 7px; align-items: center; padding: 9px 14px 0; color: var(--muted); font-size: .8rem; }
.repost-credit svg { width: 15px; height: 15px; flex: none; }
.home-message .message-link { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.home-message .message-link:hover { color: var(--text); }
.home-message p:has(.message-link) { white-space: pre-wrap; }
.direct-page {
  display: grid; grid-template-columns: minmax(260px, 31%) minmax(0, 1fr);
  width: min(1320px, 100%); height: calc(100dvh - var(--site-topbar-height, 66px));
  min-height: 300px; margin: 0 auto; border-inline: 1px solid var(--line);
}
.direct-page > * { display: grid; min-width: 0; min-height: 0; }
.direct-page > aside { border-right: 1px solid var(--line); }
.direct-pane[open] {
  position: relative; inset: auto; display: flex; flex-direction: column; grid-area: 1 / 1;
  box-sizing: border-box; width: 100%; max-width: none; min-width: 0; min-height: 0; height: 100%;
  margin: 0; padding: 0; border: 0; background: var(--bg); color: var(--text);
}
.direct-heading {
  min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 21px; border-bottom: 1px solid var(--line); flex: none;
}
.direct-heading h2 { margin: 0; font-size: 1.12rem; overflow-wrap: anywhere; }
.direct-content { overflow: auto; overscroll-behavior: contain; padding: 12px 21px 22px; }
.direct-page [data-direct="thread"] .direct-content { width: min(100%, 760px); align-self: center; }
.direct-page .direct-thread-content { display: flex; flex: 1; flex-direction: column; overflow: hidden; }
.direct-thread-messages { flex: 1; overflow: auto; overscroll-behavior: contain; }
.direct-search {
  width: 100%; margin-bottom: 10px; padding: 10px 14px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--raised); color: var(--text); font: inherit;
}
.inbox-row.direct-row { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 10px; }
.inbox-row.direct-row[hidden] { display: none; }
.direct-row .feed-avatar { width: 42px; height: 42px; }
.direct-preview { display: grid; gap: 4px; overflow-wrap: anywhere; }
.direct-preview .muted { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.direct-row:hover, .direct-row[aria-current] { background: var(--raised); }
.direct-empty { grid-area: 1 / 1; align-self: center; text-align: center; padding: 24px; }
.direct-page:not([data-thread=""]) .direct-empty, .direct-back { display: none; }
@media (max-width: 900px) {
  .direct-page { display: block; border: 0; }
  .direct-page > * { height: 100%; }
  .direct-page[data-thread=""] > section, .direct-page:not([data-thread=""]) > aside { display: none; }
  .direct-back { display: inline-flex; }
}
@media (max-width: 680px) {
  .feed-carousel-arrows { display: none; }
  .community-home .magazine-card { max-height: 412px; }
}
.community-actions button { position: relative; }
.community-actions button { color: #fff; }
.community-actions [data-panel=notifications] .poison-outline { stroke: #fff; }
.community-actions [data-panel=notifications][data-unread=true]::after {
  position: absolute; top: 5px; right: 6px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--poison); box-shadow: 0 0 9px var(--poison);
  content: ""; pointer-events: none;
}
.community-actions [data-panel=messages].has-badge::after {
  position: absolute;
  top: 1px;
  right: 0;
  display: grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--social);
  color: var(--bg);
  content: attr(data-badge);
  font-size: 10px;
  font-weight: 900;
}

.community-home .magazine-card { max-height: none; }
.community-actions button[hidden] { display: none; }

.feed-attached .feed-track-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; }
.feed-track-title small { display: block; font-weight: 400; overflow: hidden; text-overflow: ellipsis; }
.feed-cover-play { flex: 0 0 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.feed-cover-play .post-art { border-radius: 7px; }
.feed-attached .feed-purchase {
  flex: 0 0 auto; padding: 8px 10px; border-radius: 100px; background: var(--text);
  color: var(--bg); font-size: 12px;
}
.feed-inline-player {
  position: relative;
  gap: 8px;
  margin: 8px 12px 3px;
  padding: 8px 10px 10px;
  border: 1px solid #ffffff16;
  border-radius: 16px;
  background: #222124;
  box-shadow: 0 4px 10px #0003;
}
.feed-inline-player.is-playing { background: linear-gradient(110deg, #23343b, #222124 70%); }
.feed-inline-player::after {
  content: ""; position: absolute; inset: auto 12px 0; height: 2px;
  border-radius: 6px; background: var(--sound); pointer-events: none;
  transform: scaleX(var(--inline-progress, 0)); transform-origin: left;
}
.feed-inline-player .feed-inline-info { display: flex; flex: 1; align-items: center; gap: 9px; min-width: 0; }
.feed-inline-cover { position: relative; flex: 0 0 44px; width: 44px; height: 44px; }
.feed-inline-cover img { width: 100%; height: 100%; border-radius: 8px; object-fit: cover; }
.feed-inline-player .feed-play {
  position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 8px;
  display: grid; place-items: center; padding: 0; color: white; background: #0008;
}
.feed-inline-player .feed-play svg { width: 23px; height: 23px; }
.feed-inline-player .feed-play:hover { background: #000b; }

.post-media { aspect-ratio: 1; }
.post-media > img, .post-media > video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
}
.talk-caption { font-size: 1rem; white-space: pre-wrap; }
.feed-author a { color: inherit; font-weight: 700; text-decoration: none; }

.feed-post-preview { display: block; width: 100%; border: 0; padding: 0; background: none; cursor: pointer; }
.feed-caption-button { display: block; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; }

.feed-follow { margin-left: auto; border: 0; background: var(--raised); border-radius: 9px; padding: 6px 11px; font-weight: 700; cursor: pointer; }
.feed-follow[aria-pressed=true] { color: var(--accent); }
.feed-follow[hidden], .post-share-people + button[hidden] { display: none; }
.feed-save { margin-left: auto; }
.feed-actions button[aria-pressed=true]:not(.poison-control) { color: var(--accent); }
.home-panel.home-bottom-sheet { margin: auto auto 0; border-radius: 22px 22px 0 0; }
.collection-row { display: flex; flex-direction: row; justify-content: space-between; }
.collection-row[aria-pressed=true]::after { content: "✓"; color: var(--accent); }
.post-share-people { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; margin: 12px 0; }
.post-share-person { display: grid; justify-items: center; min-width: 0; gap: 6px; background: none; border: 1px solid transparent; border-radius: 12px; cursor: pointer; }
.post-share-person[aria-pressed=true] { background: var(--accent-dim); border-color: var(--accent); }
.post-share-person span { overflow: hidden; max-width: 100%; text-overflow: ellipsis; white-space: nowrap; }
.post-share-actions { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 4px; }
.post-share-actions > * { flex: none; white-space: nowrap; }
.post-share-search { width: 100%; }
.drop-preview { display: block; aspect-ratio: 4 / 5; padding: 0; border: 0; cursor: pointer; }
.drop-preview-play { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); width: 55px; height: 55px; padding: 14px; border-radius: 50%; background: #0009; }
.drop-preview-play svg { width: 100%; height: 100%; }


.post-composer [type=file] { max-width: 100%; }
.drop-preview-flip { position: absolute; top: 12px; left: 12px; padding: 6px 10px; border-radius: 20px; background: #000a; color: white; }
.post-composer select[hidden] { display: none; }

.story-viewer { width: min(100%, 56.25dvh); max-width: none; height: 100%; max-height: none; margin: auto; padding: 0; border: 0; background: #151419; color: white; }
.story-viewer::backdrop { background: #08070bee; }
body:has(.story-viewer[open]) { overflow: hidden; }
.story-frame { position: relative; display: grid; min-height: 100%; isolation: isolate; overflow: hidden; }
.story-visual { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(145deg, #293125, #211e28 45%, #3a293c); }
.story-visual img, .story-visual video { width: 100%; height: 100%; object-fit: contain; }
.story-segments { position: absolute; display: flex; gap: 4px; inset: max(12px, env(safe-area-inset-top)) 12px auto; pointer-events: none; }
.story-segment { flex: 1; height: 3px; overflow: hidden; border-radius: 2px; background: #ffffff4d; }
.story-segment i { display: block; height: 100%; background: white; transform: scaleX(0); transform-origin: left; }
.story-segment i.full { transform: none; }
.story-viewer-header { position: absolute; inset: max(23px, calc(env(safe-area-inset-top) + 10px)) 12px auto; display: flex; align-items: center; gap: 10px; text-shadow: 0 1px 4px #0009; pointer-events: none; }
.story-viewer-close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; margin-left: auto; background: #141116aa; color: white; font-size: 25px; cursor: pointer; pointer-events: auto; }
.story-tap { position: absolute; inset: 76px auto 0 0; width: 33%; background: none; border: 0; cursor: pointer; }
.story-tap.next { left: auto; right: 0; width: 67%; }
.story-tap:disabled { pointer-events: none; }
.story-copy { position: relative; align-self: end; margin: 0 16px max(30px, calc(env(safe-area-inset-bottom) + 18px)); pointer-events: none; }
.story-caption { width: fit-content; max-width: 100%; margin: 0 auto; padding: 12px 15px; border-radius: 14px; background: #16131ac9; font-weight: 650; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.story-caption a { color: var(--poison); text-underline-offset: 3px; pointer-events: auto; }
.story-copy .feed-attached { pointer-events: auto; }
.story-frame:not(:has(.story-visual img, .story-visual video, .story-visual[aria-busy])) .story-copy { align-self: center; }
.audio-story-card {
  position: relative; width: min(100%, 370px, calc((100dvh - 150px) * .5625)); aspect-ratio: 9 / 16;
  overflow: hidden; isolation: isolate; container-type: inline-size; border-radius: 22px;
  color: white; background: linear-gradient(145deg, #252d1f, #19181b 68%, #0d0d0d);
}
.audio-story-art {
  position: relative; width: 100%; aspect-ratio: 1; display: grid; place-items: center; background: #23232a;
  mask-image: linear-gradient(#000 78%, transparent);
}
.audio-story-art::after {
  content: ""; position: absolute; inset: auto 0 0; height: 28%; pointer-events: none;
  background: linear-gradient(transparent, #19181b);
}
.audio-story-art img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.audio-story-art svg { width: 48px; color: var(--poison); }
.audio-story-card img.audio-story-logo {
  position: absolute; top: 7cqw; left: 7cqw; width: 25cqw; height: auto; padding: 2.7cqw;
  border-radius: 8px; background: #0a0a0abf;
}
.audio-story-title { position: absolute; inset: auto 7cqw 7cqw; display: grid; gap: 2.7cqw; }
.audio-story-title::after { content: ""; width: 12cqw; height: 2px; margin-top: 4px; background: var(--poison); }
.audio-story-kind { color: var(--poison); font-size: 3.6cqw; font-weight: 900; letter-spacing: .16em; }
.audio-story-title :is(h2, p) { margin: 0; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.audio-story-title h2 { font-size: 12.5cqw; line-height: 1.03; font-weight: 900; letter-spacing: -.035em; -webkit-line-clamp: 3; }
.audio-story-title p { font-size: 5.5cqw; line-height: 1.16; font-weight: 650; color: #ffffffd0; -webkit-line-clamp: 2; }
.audio-story-composer .home-panel-content { display: grid; justify-items: center; gap: 12px; }
.audio-story-composer .audio-story-card { width: min(100%, 306px, calc((100dvh - 205px) * .5625)); }
.audio-story-action {
  display: inline-grid; place-items: center; min-height: 44px; border: 0; border-radius: 999px;
  padding: 0 20px; color: #121114; background: var(--poison); font: inherit;
  font-size: .84rem; font-weight: 850; text-decoration: none; cursor: pointer;
}
.audio-story-action:hover { color: #121114; filter: brightness(1.07); }
.audio-story-action:disabled { opacity: .6; cursor: wait; }
.story-frame-audio .story-visual { padding: 68px 12px 78px; background: #121114; }
.story-frame.story-frame-audio .story-copy { display: flex; justify-content: center; align-self: end; margin-bottom: 20px; }
.story-frame-audio .story-copy .audio-story-action { pointer-events: auto; }
.story-composer .compose-preview:has(img, video) { position: relative; }
.story-composer .compose-preview img, .story-composer .compose-preview video { height: min(56dvh, 460px); max-height: none; border-radius: 12px; }
@media (hover: none) and (pointer: coarse) { .story-viewer { width: 100%; } }

#explore-beats .feed-actions .feed-favorite { min-height: 44px; width: 44px; background: transparent; }
#explore-beats .feed-actions .feed-favorite[aria-pressed="true"] svg { fill: currentColor; }
.home-beat-comments .comment { margin-block: 14px; }
.home-beat-comments .comment p { margin: 4px 0; white-space: pre-wrap; overflow-wrap: anywhere; }

.feed-attached.has-track-wave { flex-wrap: wrap; }
.feed-attached.has-track-wave .wave { flex: 1 0 100%; height: 34px; margin: 0; }

.home-talks, .home-drop-inline [hidden] { display: none; }
.home-drop-inline .drop-preview { width: 100%; max-height: min(420px, 48dvh); aspect-ratio: 4 / 3; overflow: hidden; }
.home-drop-inline .drop-preview img { width: 100%; height: 100%; object-fit: cover; }
.home-drop-expanded {
  position: relative; width: min(100%, 405px, 45dvh); aspect-ratio: 9 / 16;
  margin-inline: auto; overflow: hidden; border-radius: 14px; background: #080709;
}
.home-drop-expanded video { display: block; width: 100%; height: 100%; object-fit: contain; }
.home-drop-collapse { position: absolute; top: 8px; right: 8px; width: 38px; height: 38px; border: 1px solid #fff3; border-radius: 50%; color: #fff; background: #100e15c9; font-size: 1.2rem; cursor: pointer; }
@media (min-width: 901px) {
  .community-home { --home-max: 1536px; }
  .community-home:has(> .site-navigation) .community-header { min-height: 42px; margin-top: 14px; }
  .community-home:has(> .site-navigation) .community-identity { display: none; }
  .community-home:has(> .site-navigation) .community-actions { margin-left: auto; }
  .community-feed { display: grid; width: 100%; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 36px); padding-inline: 16px; align-items: start; }
  .home-talks { display: block; min-width: 0; }
  .home-talks .feed-post { margin-inline: 0; }
  .home-talks .feed-caption { line-height: 1.48; }
}


/* Story actions stay above tap navigation and the device's bottom safe area. */
.story-frame { min-height: 100dvh; }
.story-visual { align-content: center; }
.story-visual[aria-busy=true]::after { content: "Loading Story…"; color: #eee; }
.story-visual:has(.story-retry) { display: flex; flex-direction: column; gap: 12px; }
.story-retry { position: relative; z-index: 3; min-height: 44px; padding: 9px 18px; border: 1px solid #ffffff55; border-radius: 999px; color: white; background: #27232e; cursor: pointer; font: inherit; }
.story-copy { margin-bottom: max(150px, calc(env(safe-area-inset-bottom) + 135px)); }
.story-frame-audio .story-visual { padding-bottom: 154px; }
.story-frame.story-frame-audio .story-copy { margin-bottom: max(140px, calc(env(safe-area-inset-bottom) + 124px)); }
.story-social { position: absolute; z-index: 4; inset: auto 0 0; padding: 32px 12px max(12px, env(safe-area-inset-bottom)); background: linear-gradient(transparent, #141116dd 26%, #141116f5); }
.story-social-controls { display: flex; gap: 8px; align-items: center; }
.story-social .magazine-metric { flex: 0 0 44px; display: grid; place-items: center; width: 44px; height: 44px; min-width: 44px; margin: 0; padding: 10px; background: transparent; border: 0; color: #f3eee8; }
.story-social .magazine-metric svg { width: 24px; height: 24px; }
.story-social .magazine-metric:disabled { opacity: .4; }
.story-reply-form { display: flex; flex: 1; min-width: 0; align-items: center; min-height: 44px; border: 1px solid #ffffff66; border-radius: 999px; background: #14111666; }
.story-reply-form:focus-within { outline: 2px solid #b6a5db; border-color: transparent; }
.story-reply-form input { min-width: 0; width: 100%; flex: 1; font: inherit; font-size: 16px; padding: 10px 12px; background: transparent; color: white; border: 0; outline: none; }
.story-reply-form input::placeholder { color: #ffffffbd; }
.story-reply-send { flex: none; min-height: 44px; padding: 0 11px; color: #d1c2f1; background: transparent; border: 0; font-weight: 700; cursor: pointer; }
.story-reply-send:disabled { opacity: .4; cursor: default; }
.story-quick-reactions { display: flex; justify-content: space-between; gap: 4px; margin-bottom: 4px; }
.story-quick-reaction { display: grid; place-items: center; flex: 1; height: 44px; min-width: 36px; padding: 0; color: white; background: transparent; border: 0; border-radius: 12px; font-size: 23px; cursor: pointer; }
.story-quick-reaction:hover:not(:disabled), .story-quick-reaction:focus-visible { background: #ffffff18; }
.story-quick-reaction:disabled { opacity: .35; cursor: default; }
.story-social-status { min-height: 18px; margin: 5px 4px 0; font-size: 12px; color: #e8e1f1; }
.story-social [hidden] { display: none !important; }
.story-sign-in { color: white; display: block; min-height: 44px; padding: 14px 4px; text-align: center; }
.story-unavailable { max-width: 80%; text-align: center; }

/* One public engagement frame; private actions reserve the row without a fake total. */
.feed-actions .magazine-metric { flex: 0 0 44px; display: grid; grid-template-rows: 24px 16px; justify-items: center; align-content: center; gap: 2px; width: 44px; min-width: 44px; min-height: 48px; padding: 3px 0; margin: 0; }
.feed-actions .magazine-metric svg { width: 24px; height: 24px; }
.feed-actions .magazine-metric > span { font-size: 11px; line-height: 16px; min-height: 16px; }
.feed-actions .feed-save:not(:has(span))::after { content: ""; display: block; height: 16px; }

.story-access-checking .story-visual, .story-access-checking .story-copy { visibility: hidden; }

.story-text-layer { position: absolute; z-index: 3; width: max-content; max-width: 82%; padding: 9px 12px; margin: 0; border-radius: 12px; font-size: clamp(18px, 6.6vw, 30px); line-height: 1.22; overflow-wrap: anywhere; white-space: pre-wrap; pointer-events: none; }
.story-style-editor { display: grid; grid-template-columns: minmax(120px,240px) minmax(160px,1fr); gap: 20px; }
.story-compose-preview { display: grid; place-items: center; position: relative; aspect-ratio: 9/16; width: 100%; overflow: hidden; background: linear-gradient(135deg,#271f3c,#8066b9); border-radius: 10px; }
.story-compose-preview > img, .story-compose-preview > video { width: 100%; height: 100%; object-fit: contain; }
.story-compose-preview .story-text-layer { font-size: 18px; }
.story-style-settings { display: grid; gap: 10px; }
.story-style-settings label { display: grid; gap: 4px; text-transform: capitalize; font-size: 12px; }
.story-style-settings input[type=range] { width: 100%; min-height: 32px; }
@media(max-width:480px) { .story-style-editor { grid-template-columns: minmax(110px,42%) minmax(0,1fr); gap: 12px; } }

.story-access-checking .story-text-layer { visibility: hidden; }
video::-webkit-media-controls-fullscreen-button { display: none; }

.story-text-layer a { pointer-events: auto; }

/* App4 per-slide state, retained alongside the current App3 shell. */
.story-avatar { --story-ring: #5a5261; }
.story-avatar[data-story-state="unseen"] { --story-ring: linear-gradient(135deg,#69c9de,#a2b4f7 40%,#8e7ed5 70%,#bfa2e1); }
.story-avatar[data-story-state="empty"] { --story-ring: transparent; }
.story-avatar span { background: linear-gradient(var(--surface),var(--surface)) padding-box,var(--story-ring) border-box; border: 2px solid transparent; }

/* App4 publication controls and feedback, isolated from the canonical shell. */
.publication-dialog .home-panel-top { position: sticky; top: 0; z-index: 1; }
.publication-dialog .home-panel-top h2:focus { outline: none; }
.post-composer { gap: 18px; }
.post-composer [hidden] { display: none; }
.compose-formats {
  display: flex; gap: 4px; padding: 4px; border-radius: 14px;
  background: var(--bg); border: 1px solid var(--line);
}
.compose-formats button {
  flex: 1; min-height: 42px; padding: 0 9px; border-radius: 10px;
  background: transparent; color: var(--muted); font-weight: 700;
}
.compose-formats button[aria-pressed=true] { background: var(--raised); color: var(--text); }
.compose-stage, .compose-details, .compose-media-tools { display: grid; gap: 10px; }
.compose-file {
  position: relative; display: grid; justify-items: center; align-content: center; gap: 8px;
  min-height: 166px; padding: 16px; text-align: center; cursor: pointer;
  border: 1px dashed var(--line); border-radius: 16px;
  background: linear-gradient(155deg, var(--raised), var(--bg));
}
.compose-file strong { font-size: clamp(18px, 3vw, 22px); }
.compose-file input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.compose-file:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.compose-footer, .compose-notice { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.compose-footer { justify-content: flex-end; }
.compose-notice:empty { display: none; }
.compose-notice > [role=status] { flex-basis: 100%; margin: 0; }
.compose-footer button, .compose-notice button, .compose-media-tools button, .compose-cover, .compose-resume { min-height: 42px; }
.compose-footer button:disabled, .compose-media-tools button:disabled, .compose-cover:disabled { opacity: .47; cursor: default; }
.compose-edit { display: grid; grid-template-columns: minmax(0, 2fr) minmax(132px, 1fr); align-items: start; gap: 14px; }
.compose-canvas { min-width: 0; }
.compose-frame-probe { position: fixed; width: 1px; height: 1px; top: 0; left: 0; opacity: 0; pointer-events: none; }
.compose-preview { display: grid; justify-items: center; gap: 8px; padding: 9px; background: var(--bg); border-radius: 13px; }
.compose-preview img, .compose-preview video { display: block; max-width: 100%; max-height: min(43dvh, 344px); object-fit: contain; }
.compose-preview .is-cropped {
  width: min(100%, calc(min(43dvh, 344px) * var(--compose-crop)));
  aspect-ratio: var(--compose-crop); object-fit: cover;
}
.compose-media-tools button { justify-self: stretch; }
.compose-media-tools label { display: grid; gap: 5px; }
.compose-media-tools p, .compose-destination { margin: 0; font-size: .85rem; color: var(--muted); overflow-wrap: anywhere; }
.compose-filmstrip, .compose-chosen { display: flex; gap: 8px; overflow-x: auto; padding: 3px; }
.compose-filmstrip .compose-thumbnail {
  position: relative; display: grid; place-items: center; isolation: isolate; overflow: hidden;
  flex: 0 0 52px; height: 52px; aspect-ratio: 1; padding: 0; border-radius: 9px; background: var(--raised);
}
.compose-thumbnail img { position: absolute; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.compose-thumbnail[aria-pressed=true] { outline: 2px solid var(--accent); }
.compose-thumbnail-index { position: absolute; right: 4px; bottom: 4px; padding: 1px 4px; border-radius: 4px; background: #000b; color: #fff; font-size: .7rem; }
.compose-chosen > span { flex: none; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-radius: 8px; background: var(--raised); padding: 5px 9px; font-size: .82rem; }
.compose-details textarea { min-height: 96px; }
.compose-details > .input { width: 100%; min-height: 44px; }
@media (max-width: 580px) {
  .compose-edit { grid-template-columns: 1fr; }
  .compose-media-tools { grid-template-columns: repeat(auto-fit, minmax(min(100%, 122px), 1fr)); }
  .compose-file-name { grid-column: 1 / -1; }
}
.post-upload {
  --post-upload-progress: 0;
  position: fixed;
  z-index: 41;
  left: 50%;
  bottom: max(calc(var(--player-height, 0px) + 70px), calc(env(safe-area-inset-bottom) + 60px));
  width: min(calc(100% - 24px), 430px);
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  overflow: hidden;
  isolation: isolate;
  color: var(--text);
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 28px #0006;
  transform: translateX(-50%);
  animation: post-upload-enter .24s ease-out;
  transition: transform .24s cubic-bezier(.4, 0, 1, 1), opacity .20s ease-in;
}
.post-upload.is-leaving { opacity: 0; transform: translate(-50%, 78px); }
@keyframes post-upload-enter { from { opacity: 0; transform: translate(-50%, 16px); } }
.post-upload-meter, .post-upload-meter::before, .post-upload-meter::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.post-upload-meter { z-index: -1; }
.post-upload-meter::before, .post-upload-meter::after {
  content: "";
  transform: scaleX(var(--post-upload-progress));
  transform-origin: left;
  transition: transform .23s ease-out;
}
.post-upload-meter::before { background: var(--poison); opacity: .075; }
.post-upload-meter::after { top: auto; height: 2px; background: var(--poison); }
.post-upload-icon { flex: 0 0 32px; height: 34px; position: relative; color: var(--poison); }
.post-upload-icon svg { position: absolute; inset: 4px 3px; width: 26px; height: 26px; transition: opacity .16s ease, transform .16s ease; }
.post-upload-icon .poison-outline { stroke: var(--text); }
.post-upload-icon .poison-fill { transform: scaleY(var(--post-upload-progress)); }
.post-upload-check { opacity: 0; transform: scale(.8); }
.post-upload[data-phase=posted] .post-upload-icon svg { transition-delay: .16s; }
.post-upload[data-phase=posted] .poison-icon { opacity: 0; }
.post-upload[data-phase=posted] .post-upload-check { opacity: 1; transform: scale(1); }
.post-upload-copy { flex: 1; min-width: 0; }
.post-upload-copy strong, .post-upload-copy small { overflow-wrap: anywhere; }
.post-upload-copy strong { display: block; font-size: .91rem; }
.post-upload-copy small { color: var(--muted); font-size: .76rem; }
.post-upload img { flex: 0 0 39px; width: 39px; height: 39px; object-fit: cover; border-radius: 7px; }
.post-upload button {
  flex: none;
  min-height: 42px;
  max-inline-size: 18ch;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  padding-inline: 7px;
  background: transparent;
  color: var(--poison);
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  transition: max-inline-size .20s ease-out, padding .20s ease-out, margin .20s ease-out, opacity .16s ease-out;
}
.post-upload button[inert] { max-inline-size: 0; margin-inline-start: -10px; padding-inline: 0; opacity: 0; }
.post-upload[data-phase=failed] .post-upload-copy small { color: var(--text); }
.post-upload[data-phase=failed] .poison-fill { transform: scaleY(0); }
@media (min-width: 901px) {
  .post-upload { bottom: calc(var(--player-height, 0px) + 22px); }
  .community-home:has(> .site-navigation) .post-upload { left: calc(50% + var(--site-rail-width, 0px) / 2); }
}
@media (prefers-reduced-motion: reduce) {
  .post-upload { animation: none; transition: opacity .14s ease-out; }
  .post-upload.is-leaving { transform: translateX(-50%); }
  .post-upload-meter::before, .post-upload-meter::after, .post-upload-icon svg, .post-upload-icon .poison-fill, .post-upload button {
    transition: none;
  }
  .post-upload[data-phase=posted] .post-upload-icon svg { transition-delay: 0s; }
}

@media(max-width:900px) {
 .community-tabs.site-navigation .site-nav-desktop-only { display:none; }
}

.following-empty {
  margin: 10px 16px 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.following-empty-text { margin: 0; color: var(--muted); }
.following-empty h3 { margin: 16px 0 10px; font-size: 14px; }
.following-suggestions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr));
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.following-suggestion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  padding: 8px;
  border-radius: 12px;
  background: var(--bg);
}
.following-suggestion-author { display: flex; align-items: center; gap: 8px; min-width: 0; }
.following-suggestion-identity { display: grid; min-width: 0; }
.following-suggestion-identity > * { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.following-suggestion-identity > span { color: var(--muted); font-size: 12px; }
.following-suggestion .btn { flex: none; min-height: 44px; border-radius: 999px; }

.feed-beat-art-inset { width:calc(100% - 32px);margin-inline:16px;border-radius:16px;overflow:hidden; }
.feed-beat-carousel .feed-page-counter {left:28px;}
.feed-page-counter[hidden] {display:none;}

.home-feed-tabs { display: flex; gap: 6px; width: min(100%, 660px); margin: 12px auto; padding: 0 16px; }
.home-feed-tabs button { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; color: var(--muted); padding: 8px 18px; font: inherit; cursor: pointer; }
.home-feed-tabs button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.community-content .community-feed[hidden], .curated-list[hidden] { display: none; }
.curated-list { width: min(100%, 760px); margin: 0 auto; padding: 0 12px 48px; }
.curated-release { margin: 12px 0; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.release-inline-player {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr) auto;
  grid-template-areas: "cover metadata play" "cover wave wave" "cover actions actions";
  gap: 8px 16px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}
.release-inline-player.is-playing { background: none; }
.release-inline-player::after { display: none; }
.release-inline-player .feed-inline-cover {
  grid-area: cover;
  align-self: start;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}
.release-inline-player .feed-inline-cover img { display: block; border-radius: 12px; }
.release-inline-player .feed-play {
  grid-area: play;
  position: static;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
}
.release-inline-player .feed-play:hover:not(:disabled) { background: var(--accent); }
.release-inline-player.has-track-wave .wave { grid-area: wave; min-width: 0; height: 49px; }
.release-inline-player .feed-actions { grid-area: actions; margin: 0; padding: 0; flex-wrap: wrap; }
.release-player-metadata { grid-area: metadata; min-width: 0; }
.release-inline-player .feed-track-title { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 540px) {
  .release-inline-player {
    grid-template-columns: clamp(86px, 26vw, 112px) minmax(0, 1fr) auto;
    grid-template-areas: "cover metadata play" "wave wave wave" "actions actions actions";
    gap: 8px 10px;
  }
  .release-inline-player .feed-inline-cover { align-self: center; }
}
.release-contributors { margin-top:3px; color:var(--muted); overflow-wrap:anywhere; }
.release-contributors:empty { display: none; }
.release-artist-credit { font-size:1rem; font-weight:750; color:var(--text); }
.release-artist-credit a { color:inherit; }
.release-producer-credit { font-size:.85rem; }
.release-producer-credit a { color:var(--accent); background:none; border:0; padding:0; }
.release-producer-credit:empty { display:none; }

.release-toolbar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; margin-block:16px; }
.release-sources { display:inline-flex; gap:2px; padding:3px; background:var(--surface); border:1px solid var(--line); border-radius:12px; }
.release-sources button, .release-vote, .review-actions button { font:inherit; font-weight:650; border:0; cursor:pointer; min-height:44px; padding:0 14px; border-radius:9px; }
.release-sources button { color:var(--muted); background:transparent; }
.release-sources button[aria-pressed=true] { background:var(--bg); color:var(--text); }
.release-vote, .review-pick { background:#d9c5fa; color:#201927; }
.release-results[hidden] { display:none; }
.music-review { box-sizing:border-box; width:min(420px, calc(100% - 24px)); max-height:90dvh; margin:auto; padding:20px; overflow:auto; color:var(--text); background:var(--surface); border:1px solid var(--line); border-radius:20px; color-scheme:dark; }
.music-review::backdrop { background:rgb(0 0 0 / .7); }
.music-review header { position:static; display:flex; justify-content:space-between; align-items:center; gap:8px; }
.music-review h2, .music-review h3, .review-artist { margin:0; overflow-wrap:anywhere; }
.music-review h2 { font-size:1.15rem; }
.review-body { display:grid; gap:10px; margin-top:12px; }
.review-art { width:100%; aspect-ratio:1.3; max-height:33dvh; position:relative; overflow:hidden; border-radius:12px; touch-action:pan-y; user-select:none; background:var(--bg); }
.review-art img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; pointer-events:none; }
.review-cover-fallback { display:grid; height:100%; place-items:center; color:#d9c5fa; background:radial-gradient(ellipse at 45% 95%, #4d3f59, #252127 75%); font:500 4rem/1 system-ui; }
.review-cover-fallback[hidden], .review-swipe-label:empty, .review-artist:empty { display:none; }
.review-swipe-label { position:absolute; bottom:12px; left:50%; transform:translateX(-50%); border-radius:20px; background:#201927; color:#f4e6ff; padding:6px 16px; font-weight:700; }
.review-artist, .review-status { color:var(--muted); }
.review-status { margin:10px 0 0; font-size:.9rem; }
.review-actions { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.review-pass { background:var(--bg); color:var(--text); }
.review-actions button:disabled { opacity:.45; cursor:default; }
.review-body audio { width:100%; min-width:0; }



.community-home .home-feed-tabs {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;position:relative;inset:auto;background:transparent;}
.community-home .home-feed-tabs h2 {grid-column:1/-1;margin:0 0 2px;}
.community-home .home-feed-tabs button {position:relative;display:block;min-width:0;overflow:hidden;padding:0;color:white;text-align:left;font-weight:700;border-radius:16px;border:0;background:#222127;isolation:isolate;}
.lane-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;aspect-ratio:5/7;grid-template-rows:repeat(2,minmax(0,1fr));}
.lane-picture {display:block;position:relative;min-width:0;min-height:0;aspect-ratio:1;overflow:hidden;background:#ffffff10;}
.lane-picture:nth-child(3n) {background:#ffffff08;}
.lane-picture img,.lane-flight img {display:block;width:100%;height:100%;object-fit:cover;}
.home-feed-tabs .lane-label {position:absolute;z-index:1;left:50%;top:50%;width:clamp(96px,25vw,148px);max-width:76%;height:auto;transform:translate(-50%,-50%);pointer-events:none;}
.lane-open {overflow:hidden;}
dialog.lane-sheet {margin:0;padding:0;border:0;width:100vw;height:100dvh;max-width:none;max-height:none;background:transparent;color:#fff;overflow:clip;}
.lane-sheet::backdrop{background:transparent;}
.lane-backdrop {position:absolute;inset:0;pointer-events:none;}
.lane-backdrop,.lane-sheet-surface {background:radial-gradient(ellipse at 75% 0,#25414b 0,transparent 50%),#15141d;}
.lane-sheet-surface {position:relative;height:100%;display:flex;flex-direction:column;overflow:clip;}
.lane-sheet-header,.lane-content {width:min(100%,800px);margin-inline:auto;box-sizing:border-box;}
.lane-sheet-header {display:flex;align-items:center;gap:14px;padding:12px 16px;}
.lane-sheet-header h1 {margin:0;font-size:1.4rem;}
.lane-sheet-header button {width:44px;height:44px;border:0;border-radius:50%;background:#ffffff13;color:inherit;font-size:22px;}
.lane-tracklist {grid-column:1/-1;display:grid;gap:0;padding:4px 12px 10px;}
.lane-tracklist:empty {display:none;}
.lane-track {display:flex;align-items:center;gap:12px;min-width:0;padding:5px 0;}
.lane-track-open {display:flex;align-items:center;gap:12px;background:transparent;border:0;padding:0;text-align:left;color:inherit;min-width:0;flex:1;cursor:pointer;}
.lane-track-open .lane-picture {width:48px;height:48px;flex:none;border-radius:8px;}
.lane-track-info {min-width:0;display:grid;gap:2px;}
.lane-track-info > * {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.lane-item-title {font-size:1rem;font-weight:650;}
.lane-track-info small {color:#c4c2cb;}
.lane-track > .feed-play {position:static;transform:none;flex:0 0 44px;width:44px;height:44px;}
.lane-content {flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding-bottom:64px;}
.lane-sheet.in-flight .lane-tracklist .lane-picture,.lane-travelling .lane-grid .lane-picture {visibility:hidden;}
.lane-flight {position:fixed;display:grid;place-items:center;overflow:hidden;pointer-events:none;z-index:10;transform-origin:center;background:#37343c;will-change:transform,filter;}
.feed-source-switch {margin:12px 0;}
.feed-source-switch button {min-height:44px;}
.community-home .feed-source-switch + section[hidden], .community-home section[aria-labelledby="explore-title"][hidden] {display:none;}

.lane-grid.single-cover {grid-template-columns:1fr;grid-template-rows:1fr;}
.lane-grid .lane-picture {aspect-ratio:auto;}
.lane-talk-preview {display:flex;flex-direction:column;justify-content:flex-start;gap:3px;padding:6px;font-size:.76rem;background:#29373c;text-align:left;}
.lane-talk-preview > span {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;}
.lane-section-title {margin:12px 0 8px;font-size:1.35rem;}
#discover-talks .lane-tracklist {padding:12px 16px;}
.lane-no-cover {display:grid;place-items:center;font-size:1.4rem;color:#e8dae7;background:linear-gradient(145deg,#624d66,#2a2a37);}

.lane-flight > .lane-morph {position:absolute;inset:0;width:100%;height:100%;border-radius:0;}


.story-avatar[data-story-state="unseen"] span {border-width:3.5px;}

.home-feed-tabs button > .lane-grid {filter:brightness(.95);}
@media (prefers-reduced-motion:no-preference) {
  .home-feed-tabs button > .lane-grid { animation: lane-light 8.4s ease-in-out infinite; }
  .home-feed-tabs button:nth-of-type(2) > .lane-grid { animation-delay:-5.6s; }
  .home-feed-tabs button:nth-of-type(3) > .lane-grid { animation-delay:-2.8s; }
}
@keyframes lane-light { 0%,100% { filter:brightness(1); } 50% { filter:brightness(.895); } }
.home-feed-tabs button:has(.lane-talk-mark) {background:radial-gradient(at 82% 4%,#23424b,transparent 69%),radial-gradient(at 7% 55%,#443444,#161719 85%);}
.lane-talk-mark { display: block; width: 100%; position: relative; aspect-ratio: 5/7; overflow: hidden; color: #f4f2f9; }
.lane-talk-icon { position: absolute; top: 13px; left: 50%; translate: -50% 0; width: 21px; height: 20px; }
.lane-talk-watermark { position: absolute; left: 60%; top: 42%; width: 81%; height: auto; transform: translate(-50%,-50%) rotate(-18deg); opacity: .19; stroke-width: 1.8; }
.lane-trending > .btn { width:fit-content;justify-self:center;align-self:center;margin:8px auto 4px;min-height:34px;padding:7px 16px;border:0;border-radius:999px;background:#fff;color:#000;font-size:.82rem;font-weight:700; }
.lane-trending {margin:8px;border-radius:18px;background:#cad3e010;backdrop-filter:blur(16px);}
.lane-rank {font-variant-numeric:tabular-nums;min-width:18px;text-align:center;color:#cbc9cf;}
.lane-track-open:has(.lane-rank) {display:grid;grid-template-columns:auto 48px minmax(0,1fr);align-items:center;}
.lane-full-chart {position:fixed;inset:0;width:min(100%,700px);max-height:90dvh;box-sizing:border-box;border:0;border-radius:20px;background:#191c21;color:#f2f2f2;}
.lane-full-chart header {position:sticky;top:0;z-index:1;background:#191c21;display:flex;align-items:center;justify-content:space-between;}
.lane-full-chart::backdrop {backdrop-filter:blur(12px);background:#12131955;}
.lane-dock {position:absolute;inset:auto 0 0;display:flex;flex-direction:column;align-items:center;visibility:hidden;transform:translateY(100%);transition:transform .36s cubic-bezier(.2,.75,.2,1),visibility .36s;}
.lane-dock.visible {visibility:visible;transform:translateY(0);}
.lane-dock #player {order:-1;position:relative;inset:auto;transform:none;}
.lane-dock .site-navigation {position:relative;inset:auto;transform:none;}
@media (max-width:900px) {
  .lane-dock {padding:0 max(20px,env(safe-area-inset-right)) calc(4px + env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));}
  .lane-dock > .site-navigation:not(.site-dock-desktop-only) {position:relative;inset:auto;width:100%;transform:none;}
}
.lane-dock.visible::before {content:"";position:absolute;inset:-44px 0 0;z-index:-1;backdrop-filter:blur(26px);-webkit-backdrop-filter:blur(26px);mask-image:linear-gradient(transparent, rgb(0 0 0 / 56%) 38%, #000 68%);}
.lane-sheet-surface:has(.lane-dock.visible) .lane-content {padding-bottom:150px;}
@media(prefers-reduced-motion:reduce){.lane-dock{transition:none;}}

#discover-talks [data-feed] { display: grid; gap: 12px; padding: 8px 14px; align-content: start; }
#discover-talks .feed-post, .talk-reader .talk-surface, .talk-reader .post-discussion-list .home-message { margin: 0; padding: 14px; border: 1px solid #ffffff12; border-radius: 21px;
  background: rgb(190 201 215 / .065); backdrop-filter: blur(17px); }
#discover-talks .lane-tracklist:empty { display: none; }

.home-panel.talk-reader .home-panel-top { background:transparent; border:0; backdrop-filter:blur(15px); }
.home-panel.talk-reader .home-panel-content { padding-inline:14px; }
.talk-reader .post-discussion-list { display:grid; gap:10px; }
.talk-reader .post-discussion-compose { margin-block-start:14px; }

.profile-layout-panel { container-type:inline-size; }
.profile-order-grid.is-resizable { grid-auto-rows:calc((100cqw - 14px) / 3); }
.profile-size-cell { position:relative; min-width:0; min-height:0; }
.profile-size-cell .profile-order-picture { width:100%; height:100%; aspect-ratio:auto; border-radius:10px; }
.profile-size-cell .profile-order-picture[aria-pressed="true"]::after { border:2px solid #f4eee8; border-radius:inherit; }
.profile-size-picker { min-height:44px; color:var(--text); background:var(--bg); border:1px solid var(--line); border-radius:12px; padding:0 10px; }
.profile-size-grip { position:absolute; right:0; bottom:0; width:44px; height:44px; border:0; color:white; background:transparent; padding:0; cursor:nwse-resize; font-size:0; touch-action:none; }
.profile-size-grip::after { content:"↔"; display:grid; place-items:center; position:absolute; inset:10px 3px 3px 10px; border-radius:50%; background:#202026d9; border:1px solid #fffc; font:600 18px system-ui; transform:rotate(45deg); }
.handle-left .profile-size-grip { left:0; right:auto; cursor:nesw-resize; }
.handle-left .profile-size-grip::after { inset:10px 10px 3px 3px; transform:rotate(-45deg); }

.profile-grid-editor .home-panel-top { display:grid; grid-template-columns:1fr auto 1fr; }
.profile-grid-editor .home-panel-top h2 { grid-column:2; grid-row:1; }
.profile-grid-editor .grid-cancel { grid-column:1; grid-row:1; justify-self:start; background:transparent; color:inherit; min-height:44px; }
.profile-grid-editor .home-panel-top > .btn { justify-self:end; min-height:40px; }
.grid-drag-hint { margin:0 0 12px; font-size:.9rem; color:var(--muted); }
.profile-grid-editor .profile-order-picture { cursor:grab; -webkit-touch-callout:none; user-select:none; -webkit-user-select:none; }
.profile-grid-editor .profile-order-picture img { pointer-events:none; -webkit-user-drag:none; }
.profile-size-cell.is-lifted .profile-order-picture { opacity:.28; }
.grid-drag-preview { position:fixed; z-index:5; pointer-events:none; border-radius:10px; overflow:hidden; background:var(--bg); box-shadow:0 8px 28px #0007; transform:scale(1.035); }
.grid-drag-preview img { width:100%; height:100%; display:block; object-fit:cover; }
@media (prefers-reduced-motion: reduce) { .grid-drag-preview { transform:none; } }

.lane-sheet[data-lane="feed"] #explore-beats { display:none; }
.lane-sheet[data-lane="feed"] .community-feed, .lane-sheet[data-lane="feed"] .following-empty { background: transparent; }

.lane-cover-play { flex:0 0 48px;width:48px;height:48px;padding:0;border:0;border-radius:8px;overflow:hidden;background:transparent;cursor:pointer; }
.lane-cover-play .lane-picture { display:block;width:100%;height:100%; }
.lane-sheet-header > button { color:white; }
.lane-sheet .lane-content { scroll-padding-bottom:calc(var(--player-height,0px) + 88px); padding-bottom:calc(var(--player-height,0px) + 88px + env(safe-area-inset-bottom)); }

@media (min-width: 901px) {
  .community-home .magazine-home > .magazine-cards {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
    cursor: auto;
    user-select: auto;
  }
  .community-home .magazine-card {
    padding: clamp(9px, .9vw, 16px);
    border-radius: 16px;
  }
  .community-home .magazine-card-title { font-size: clamp(15px, 1.25vw, 20px); }
  .community-home .magazine-card-actions { gap: 4px; }
  .community-home .magazine-card-actions .magazine-metric { flex-basis: 38px; width: 38px; }
  .community-home .magazine-end a { font-size: clamp(20px, 1.9vw, 31px); }
  .community-home .home-feed-tabs {
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }
  .home-feed-tabs :is(.lane-grid, .lane-talk-mark) { aspect-ratio: 16 / 9; }
  .community-home:has(> .lane-page[open]) > :is(.community-header, .community-content) { display: none; }
  dialog.lane-page {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
  }
  .lane-page .lane-backdrop { display: none; }
  .lane-page .lane-sheet-surface {
    height: auto;
    display: block;
    overflow: visible;
    background: transparent;
  }
  .lane-page :is(.lane-sheet-header, .lane-content) { width: min(100%, var(--home-max)); }
  .lane-page .lane-sheet-header { padding-block: 28px 14px; }
  .lane-page .lane-sheet-header h1 { font-size: clamp(28px, 3vw, 44px); }
  .lane-page .lane-content { overflow: visible; }
  .lane-page .curated-list:not([hidden]) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(240px, 26%, 360px);
    align-items: start;
    column-gap: clamp(20px, 3vw, 48px);
    width: 100%;
    padding-inline: 16px;
  }
  .lane-page .curated-list > :not(.lane-trending) { grid-column: 1; }
  .lane-page .lane-trending {
    grid-column: 2;
    grid-row: 1 / span 3;
    position: sticky;
    top: calc(var(--site-topbar) + 16px);
    margin: 0;
    backdrop-filter: none;
  }
}

@media (min-width: 1200px) {
  .community-home .magazine-home > .magazine-cards {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}
.community-home .story-shelf { scroll-margin-bottom:calc(var(--home-bottom-clearance) + var(--player-height,0px)); }
.release-player-metadata > *, .release-artist-credit { padding-inline-start:0;text-align:start; }

.release-inline-player > .profile-comment-slot { display: none; }
@media (min-width: 901px) {
  .release-inline-player:has(> .profile-comment-slot > form:not([inert])) {
    grid-template-areas: "cover metadata play" "cover wave wave" "cover comment comment" "cover actions actions";
  }
  .release-inline-player > .profile-comment-slot:has(form:not([inert])) {
    display: block;
    grid-area: comment;
    min-width: 0;
  }
}

.home-post-reader .post-detail-photo,
.home-post-reader .post-detail-gallery {
  aspect-ratio: var(--post-detail-aspect, 1);
}
.home-post-reader .post-detail-photo > img { object-fit: cover; }
.home-post-reader .post-detail-gallery { align-items: flex-start; }
