/*
 * The parts the community pages share - comments, reactions, the chat's bubbles and cards as comments and posts show
 * them: the feed, profiles and band pages, the chat, the band site's pages with comments, the account and the
 * dashboards (PageStylesheets.cs, #303). After app.css.
 */

/* ---- Member cards ---------------------------------------------------------
   Portrait edge to edge at the top, name in the display face and the role as
   a gold label, as in the redesign. The biography is clamped on the listing;
   the full text is on the member's own page. */
.member-list {
    grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
}

/* ---- Release cards ---------------------------------------------------------
   Same treatment as the member cards: square cover edge to edge, title in the
   display face, type / date / track count as a gold meta line. */
.release-card {
    gap: var(--aq-space-2);
    padding: 0 0 var(--aq-space-4);
    overflow: hidden;
    box-shadow: var(--aq-shadow);
    transition:
        transform var(--aq-transition),
        border-color var(--aq-transition);
}

.release-card:hover,
.release-card:focus-within {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--aq-accent) 50%, transparent);
}

.release-card .release-card__art {
    border-radius: 0;
}

.release-card .release-card__art img {
    aspect-ratio: 1;
}

.release-card__title {
    margin: var(--aq-space-4) var(--aq-space-4) 0;
    font-family: var(--aq-font-display);
    font-size: var(--aq-text-xl);
    font-weight: 700;
}

.release-card .release-card__meta,
.release-card .release-card__description {
    padding-inline: var(--aq-space-4);
}

/* The gold meta line, shared with the music spotlight. */
.release-card__meta .release-card__type {
    color: var(--aq-accent);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ---- Support page (DECISIONS #78) ---------------------------------------- */
.member-card__bio p,
.member__bio p,
.member__background p,
.member__contributions p {
    margin-block: 0 var(--aq-space-3);
}

/* ---- Song page (DECISIONS #88; Figma "Song · Into the Crystal Deep") ---- */
.song__prose p {
    margin-block: 0 var(--aq-space-4);
}

.song__credit dd a {
    color: var(--aq-accent-light);
}

/* --- Comments --------------------------------------------------------------- */
.comments__column {
    max-width: 44rem;
    margin: 0 auto;
}

.comments__invite p {
    flex-basis: 100%;
    margin: 0;
    color: var(--aq-text-200);
}

.comments__composer {
    display: flex;
    gap: var(--aq-space-4);
}

.comments__list,
.comments__replies {
    margin: 0;
    padding: 0;
    list-style: none;
}

.comments__list > li + li {
    margin-top: var(--aq-space-6);
}

.comments__replies {
    margin: var(--aq-space-4) 0 0 1.25rem;
    padding-left: var(--aq-space-6);
    border-left: 1px solid var(--aq-border);
}

.comments__replies > li + li {
    margin-top: var(--aq-space-4);
}

.comment--held {
    opacity: 0.7;
}

.comment__author {
    color: var(--aq-text-100);
    font-family: var(--aq-font-primary);
    font-size: var(--aq-text-sm);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.comment__badge {
    padding: 0 var(--aq-space-2);
    border: 1px solid var(--aq-accent);
    border-radius: var(--aq-radius-pill);
    color: var(--aq-accent-light);
    font-weight: 600;
    letter-spacing: 0.1em;
}

.comment__body {
    margin: 0;
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.comment__held {
    margin: var(--aq-space-1) 0 0;
    color: var(--aq-accent-light);
    font-size: var(--aq-text-xs);
}

/* The time in the actions' row is the phone's comment sheet's (DECISIONS #317); the line's time serves elsewhere. */
.comment__when {
    display: none;
}

.comment__actions form {
    margin: 0;
}

/* Always shown here: a comment has no hover to reveal it as a message does. */
.comment .comment__react:not([open]) > .dm-react__button {
    opacity: 1;
}

.comment__react .dm-react__panel {
    bottom: calc(100% + 6px);
    left: 0;
}

.comment__like,
.comment__link,
.comment__reply summary {
    padding: 0;
    background: none;
    border: 0;
    color: var(--aq-text-200);
    font-family: var(--aq-font-primary);
    font-size: var(--aq-text-xs);
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
}

/* Inline with the other actions, first as in the design; open, the form
   takes the whole row below them. */
.comment__reply {
    order: -1;
}

.comment__reply[open] {
    flex-basis: 100%;
    order: 9;
}

.comment__reply summary {
    display: inline;
    list-style: none;
}

.comment__reply summary::-webkit-details-marker {
    display: none;
}

.comments__more {
    margin-top: var(--aq-space-8);
}

.comments__empty {
    color: var(--aq-text-200);
}

.comments__note {
    margin: var(--aq-space-8) 0 0;
    color: var(--aq-text-300);
    font-size: var(--aq-text-xs);
}

@media (max-width: 575.98px) {
    .comments__replies {
        margin-left: var(--aq-space-2);
        padding-left: var(--aq-space-4);
    }

}

/* ==========================================================================
   Verified badges (DECISIONS #130; Figma "Member badge", "Community comment") */

/* A band member's own comment: a gold edge and a warm wash. */
.comment--member {
    padding: var(--aq-space-3) var(--aq-space-4);
    border-inline-start: 3px solid var(--aq-accent);
    border-radius: var(--aq-radius);
    background: color-mix(in srgb, var(--aq-accent) 7%, transparent);
}

.badge-confirm__preview {
    margin: var(--aq-space-4) 0;
}

/* ---- Feed and side panel --------------------------------------------------- */
.profile-card {
    gap: var(--aq-space-3);
}

.profile-people li {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* ---- The profile cards (docs/profile-cards-plan.md, phase 2; Figma page 15) --- */
.profile-bands li {
    gap: var(--aq-space-3);
}

/* ==========================================================================
   Following everywhere, and the people directory (DECISIONS #146) */
.people__search {
    display: flex;
    gap: var(--aq-space-3);
    max-width: 560px;
    margin: var(--aq-space-6) 0;
}

/* ==========================================================================
   Direct messages (DECISIONS #133; Figma "Messages · Inbox", "· Mobile") */
.dm-avatar {
    display: inline-grid;
    flex: none;
    place-items: center;
    border: 1px solid var(--aq-border);
    border-radius: 50%;
    background: var(--aq-bg-300);
    object-fit: cover;
}

.dm-avatar--band {
    border: 2px solid var(--aq-accent);
}

.dm__head--group .dm__who strong {
    font-size: 0.95rem;
}

.dm-msg--mine {
    align-self: flex-end;
    align-items: flex-end;
}

.dm-msg__tools form {
    display: inline;
}

.social-tool.is-on {
    background: rgb(255 255 255 / 0.06);
    color: var(--aq-accent-light);
}

/* ---- Group chats inside Messages (DECISIONS #219; Figma page 17, A1-A4, D1-D2) ---- */
.dm__filters a:hover:not(.is-current),
.dm__filters a:focus-visible:not(.is-current) {
    border-color: var(--aq-accent);
    color: var(--aq-accent-light);
}

/* ---- Chat Groups on profiles and in the dashboards (DECISIONS #219; Figma B1-B3, C1-C4) ---- */
.profile__notice--error {
    color: #ff8a9a;
}

/* A group's card (Figma "Group card"): avatar, words, and the one button on the right. */
.cg-card {
    display: flex;
    align-items: center;
    gap: var(--aq-space-4);
    padding: var(--aq-space-4) var(--aq-space-5);
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius-lg);
    background: var(--aq-bg-200);
}

.cg-card--big {
    align-items: flex-start;
    padding: var(--aq-space-6);
}

.cg-card__meta,
.cg-card__description {
    margin: 0;
    color: var(--aq-text-300);
    font-size: var(--aq-text-sm);
}

.cg-card__action form {
    margin: 0;
}

.cg-card__pill {
    padding: 0.55rem 1rem;
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius-pill);
    color: var(--aq-text-300);
    font-family: var(--aq-font-primary);
    font-size: var(--aq-text-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ---- The song's section ------------------------------------------------- */
.tabs-chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--aq-space-2);
    margin: 0;
    padding: 0;
    list-style: none;
}

.tabs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
    gap: var(--aq-space-4);
    align-items: start;
}

/* ---- Cards -------------------------------------------------------------- */
.tabs-card--file {
    padding: var(--aq-space-4);
}

.tabs-card__head {
    display: flex;
    gap: var(--aq-space-3);
}

.tabs-card__icon small {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.tabs-card__title {
    margin: 0;
    font-family: var(--aq-font-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.35;
}

.tabs-card__meta {
    margin: 0;
    color: var(--aq-text-300);
    font-size: var(--aq-text-xs);
}

.tabs-card__actions a + a {
    color: var(--aq-text-100);
}

.tabs-card__thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--aq-bg-100), color-mix(in srgb, var(--aq-primary) 30%, var(--aq-bg-100)));
}

.tabs-card__thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tabs-card__label {
    position: absolute;
    top: var(--aq-space-2);
    left: var(--aq-space-2);
    padding: 2px var(--aq-space-2);
    border-radius: var(--aq-radius-sm);
    background: rgb(11 15 30 / 80%);
    color: var(--aq-accent-light);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tabs-card__duration {
    position: absolute;
    right: var(--aq-space-2);
    bottom: var(--aq-space-2);
    padding: 0 var(--aq-space-1);
    border-radius: var(--aq-radius-sm);
    background: rgb(0 0 0 / 70%);
    color: #fff;
    font-size: var(--aq-text-xs);
}

.tabs-card__people {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--aq-space-2);
}

.tabs-pill {
    display: inline-flex;
    align-items: center;
    gap: var(--aq-space-1);
    padding: 1px var(--aq-space-2);
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius-pill);
    color: var(--aq-text-200);
    font-family: var(--aq-font-primary);
    font-size: 0.6875rem;
    font-weight: 600;
    white-space: nowrap;
    vertical-align: middle;
}

.tabs-pill--official {
    border-color: var(--aq-accent);
    background: color-mix(in srgb, var(--aq-accent) 14%, transparent);
    color: var(--aq-accent-light);
}

.tabs-pill--featured {
    border-color: var(--aq-accent);
    background: var(--aq-accent);
    color: var(--aq-bg-100);
}

.tabs-pill--fan {
    border-color: color-mix(in srgb, var(--aq-primary) 60%, transparent);
    background: color-mix(in srgb, var(--aq-primary) 18%, transparent);
    color: color-mix(in srgb, var(--aq-primary) 55%, white);
}

.tabs-empty {
    padding: var(--aq-space-6);
    border: 1px dashed var(--aq-border);
    border-radius: var(--aq-radius);
    color: var(--aq-text-200);
    text-align: center;
}

.tabs-empty__title {
    margin-bottom: var(--aq-space-2);
    color: var(--aq-text-100);
    font-family: var(--aq-font-display);
    font-size: var(--aq-text-lg);
}

/* ---- The song's area and an item's page ---------------------------------- */
.tabs-hero {
    border-bottom: 1px solid var(--aq-border);
    background: linear-gradient(180deg, color-mix(in srgb, var(--aq-primary) 14%, var(--aq-bg-200)), var(--aq-bg-200));
}

.tabs-hero__inner {
    display: flex;
    align-items: center;
    gap: var(--aq-space-6);
    max-width: 75rem;
    margin-inline: auto;
    padding: var(--aq-space-8) var(--aq-space-4);
}

.tabs-hero__info {
    display: flex;
    flex-direction: column;
    gap: var(--aq-space-1);
    min-width: 0;
}

.tabs-hero__back {
    color: var(--aq-accent-light);
    font-size: var(--aq-text-xs);
    text-decoration: none;
}

.tabs-hero__meta {
    margin: 0;
    color: var(--aq-text-300);
    font-size: var(--aq-text-sm);
}

.tabs-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 17rem;
    gap: var(--aq-space-8);
    max-width: 75rem;
    margin-inline: auto;
    padding: var(--aq-space-8) var(--aq-space-4) var(--aq-space-16);
}

.tabs-main {
    display: flex;
    flex-direction: column;
    gap: var(--aq-space-8);
    min-width: 0;
}

.tabs-chips--small .tabs-chip {
    padding: 2px var(--aq-space-3);
    font-size: var(--aq-text-xs);
}

.tabs-aside {
    display: flex;
    flex-direction: column;
    gap: var(--aq-space-4);
}

.tabs-panel {
    display: flex;
    flex-direction: column;
    gap: var(--aq-space-3);
    padding: var(--aq-space-4);
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius);
    background: var(--aq-bg-200);
}

.tabs-panel__title {
    margin: 0;
    font-family: var(--aq-font-display);
    font-size: var(--aq-text-base);
}

@media (max-width: 899.98px) {
    .tabs-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--aq-space-6);
        padding-top: var(--aq-space-6);
    }

    .tabs-hero__inner {
        padding-block: var(--aq-space-6);
    }
}

/* ---- Tabs & Playthroughs: sending (phase 4) ------------------------------- */
.tabs-section__note,
.tabs-form__small {
    margin: 0;
    color: var(--aq-text-300);
    font-size: var(--aq-text-xs);
}

/* ---- The card (usability audit UI-03, #270) --------------------------------------------------------------------- */
.studio-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: var(--aq-space-4);
    margin-bottom: var(--aq-space-8);
}

.studio-stat {
    padding: var(--aq-space-4);
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius-md);
    background: var(--aq-bg-200);
}

.studio-stat__label {
    margin: 0;
    color: var(--aq-text-300);
    font-size: var(--aq-text-xs);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.studio-stat__value {
    margin: var(--aq-space-2) 0;
    font-family: var(--aq-font-display);
    font-size: var(--aq-text-xl);
}

.studio-stat__note {
    margin: 0;
    color: var(--aq-text-300);
    font-size: var(--aq-text-sm);
}

.studio-pill {
    display: inline-flex;
    padding: 2px 10px;
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius-pill);
    color: var(--aq-text-300);
    font-size: var(--aq-text-xs);
    font-weight: 600;
    white-space: nowrap;
}

.studio-pill--review {
    border-color: #8b7cf6;
    color: #c9c1ff;
}

.studio-pill--live {
    border-color: #4fbf8f;
    color: #9ee6c4;
}

.studio-pill--waiting {
    border-color: var(--aq-accent);
    color: var(--aq-accent-light);
}

a.studio-stat:hover {
    border-color: var(--aq-accent);
}

/* ---- Social timeline (DECISIONS #183; Figma "13 · Social Timeline") ---- */
.social-heart {
    display: inline-flex;
    align-items: center;
    gap: var(--aq-space-1-5);
    padding: var(--aq-space-1-5) var(--aq-space-3) var(--aq-space-1-5) 10px;
    border: 0;
    border-radius: var(--aq-radius-pill);
    background: transparent;
    color: var(--aq-text-300);
    font-family: var(--aq-font-primary);
    font-size: var(--aq-text-sm);
    font-weight: 500;
}

.social-card__menu > summary {
    padding: 2px 10px;
    border-radius: var(--aq-radius-pill);
    color: var(--aq-text-300);
    font-size: 1.25rem;
    line-height: 1;
    list-style: none;
    cursor: pointer;
}

/* ---- Recommendations: Spotify and YouTube (DECISIONS #184) ---- */
.social-reco--youtube {
    grid-template-columns: 1fr;
    padding: 0;
    overflow: hidden;
}

.social-reco--youtube .social-reco__info {
    padding: 0 var(--aq-space-4) var(--aq-space-4);
}

.social-reco__player.video-player {
    border-radius: var(--aq-radius);
}

.social-reco--spotify .social-reco__player {
    aspect-ratio: 1;
}

.social-reco--youtube .social-reco__player {
    border-radius: 0;
}

.social-reco--spotify .social-reco__player.is-playing {
    aspect-ratio: auto;
    height: 152px;
    background: transparent;
}

.social-reco__score strong {
    color: var(--aq-accent-light);
}

.rating-dots {
    display: inline-flex;
    gap: 5px;
}

.rating-dots__dot.is-on {
    border-color: var(--aq-accent);
    background: var(--aq-accent);
}

/* The score input: eleven radios (0 to 10) drawn as a "0" pill and ten dots.
   Arrow keys move between them as in any radio group; the dots fill up to the
   chosen one and its number shows beside them, without any script. */
.rating-input {
    margin: 0;
    padding: 0;
    border: 0;
}

.rating-input__dots input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.rating-input__dots:has(input:checked) .rating-input__dot {
    border-color: var(--aq-accent);
    background: var(--aq-accent);
}

.rating-input__dots input:checked + label ~ .rating-input__dot {
    border-color: var(--aq-border-strong);
    background: transparent;
}

.rating-input__dots input[value="0"]:checked + .rating-input__zero {
    border-color: var(--aq-accent);
    background: rgb(201 162 39 / 0.16);
    color: var(--aq-accent-light);
}

.rating-input__dots input:focus-visible + label {
    outline: 2px solid var(--aq-accent-light);
    outline-offset: 2px;
}

.rating-input__dot:hover {
    border-color: var(--aq-accent-light);
}

.rating-input__dots:has(input[value="0"]:checked) .rating-input__value::after { content: "0/10"; }

.rating-input__dots:has(input[value="1"]:checked) .rating-input__value::after { content: "1/10"; }

.rating-input__dots:has(input[value="2"]:checked) .rating-input__value::after { content: "2/10"; }

.rating-input__dots:has(input[value="3"]:checked) .rating-input__value::after { content: "3/10"; }

.rating-input__dots:has(input[value="4"]:checked) .rating-input__value::after { content: "4/10"; }

.rating-input__dots:has(input[value="5"]:checked) .rating-input__value::after { content: "5/10"; }

.rating-input__dots:has(input[value="6"]:checked) .rating-input__value::after { content: "6/10"; }

.rating-input__dots:has(input[value="7"]:checked) .rating-input__value::after { content: "7/10"; }

.rating-input__dots:has(input[value="8"]:checked) .rating-input__value::after { content: "8/10"; }

.rating-input__dots:has(input[value="9"]:checked) .rating-input__value::after { content: "9/10"; }

.rating-input__dots:has(input[value="10"]:checked) .rating-input__value::after { content: "10/10"; }

.social-recommend__source svg {
    width: 32px;
    height: 32px;
}

.social-recommend__source span {
    color: var(--aq-text-300);
    font-size: var(--aq-text-sm);
}

.social-results__text span {
    color: var(--aq-text-300);
    font-size: var(--aq-text-sm);
}

.music-search__form {
    margin: var(--aq-space-2) 0 0;
}

@media (prefers-reduced-motion: reduce) {
    .music-search__spinner {
        animation-duration: 2.4s;
    }
}

.music-search__list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.music-search__option[aria-selected="true"] {
    background: color-mix(in srgb, var(--aq-accent) 14%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--aq-accent) 45%, transparent);
}

.music-search__cover {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: var(--aq-radius);
    object-fit: cover;
    background: var(--aq-bg-100);
}

.music-search__text {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.music-search__text strong,
.music-search__text > span:not(.music-search__length) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.music-search__text strong {
    color: var(--aq-text-100);
    font-weight: 600;
}

.music-search__text > span {
    color: var(--aq-text-300);
    font-size: var(--aq-text-sm);
}

.music-search__footer {
    margin: var(--aq-space-1) var(--aq-space-2) var(--aq-space-1);
    color: var(--aq-text-300);
    font-family: var(--aq-font-secondary);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.music-search__chosen {
    display: flex;
    flex-direction: column;
    gap: var(--aq-space-3);
    padding: var(--aq-space-6);
    border: 1px solid color-mix(in srgb, var(--aq-accent) 45%, transparent);
    border-radius: var(--aq-radius-lg);
    background: var(--aq-bg-200);
}

.music-search__chosen-label {
    margin: 0;
    color: var(--aq-accent);
    font-family: var(--aq-font-secondary);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
}

.music-search__card {
    display: flex;
    align-items: center;
    gap: var(--aq-space-4);
}

.music-search__card .music-search__cover {
    width: 72px;
    height: 72px;
    border-radius: var(--aq-radius-md);
}

.music-search__card .music-search__text strong,
.music-search__card .music-search__text > span {
    white-space: normal;
}

.music-search__card .music-search__text strong {
    font-size: 1.05rem;
}

.music-search__listen {
    color: var(--aq-accent-light);
    font-size: var(--aq-text-sm);
}

.music-search__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: var(--aq-space-3);
}

.music-search__change {
    padding: var(--aq-space-2) var(--aq-space-4);
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius-pill);
    background: transparent;
    color: var(--aq-text-100);
    font: inherit;
    cursor: pointer;
}

.music-search__change:hover,
.music-search__change:focus-visible {
    border-color: var(--aq-accent);
}

.music-search__paste summary {
    color: var(--aq-accent-light);
    font-size: var(--aq-text-sm);
    cursor: pointer;
}

.music-search__paste[open] summary {
    margin-bottom: var(--aq-space-2);
}

.music-search__notice {
    margin: 0;
}

@media (max-width: 575.98px) {
    .music-search--live .music-search__form,
    .music-search__paste .people__search {
        flex-direction: column;
    }

    .music-search__actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .music-search__actions > * {
        text-align: center;
    }
}

/* ---- Community votes (DECISIONS #185) ---- */
.social-reco__score--community .profile-activity__eyebrow {
    margin: 0;
}

.social-reco__votes {
    color: var(--aq-text-300);
    font-family: var(--aq-font-secondary);
    font-size: var(--aq-text-sm);
}

.rating-dots--small {
    gap: var(--aq-space-1);
}

/* The average's last dot is filled as far as its decimal goes. */
.rating-dots__dot.is-part {
    border-color: var(--aq-accent);
    background: linear-gradient(90deg, var(--aq-accent) var(--fill), transparent var(--fill));
}

/* ---- Comments on posts, shares (DECISIONS #186) ---- */
.social-share-form > summary {
    list-style: none;
    cursor: pointer;
}

.social-share-form > summary::-webkit-details-marker {
    display: none;
}

.social-page__back {
    margin: 0 0 var(--aq-space-4);
}

/* ---- Mentions, emoji, stickers and pictures (DECISIONS #187; Figma D2-D5) ---- */
.social-toolbar {
    display: flex;
    align-items: center;
    gap: 2px;
}

.social-tool::-webkit-details-marker {
    display: none;
}

.social-tool:hover,
.social-tool:focus-visible,
.social-tool:focus-within,
.social-tool-menu[open] > .social-tool {
    background: rgb(255 255 255 / 0.06);
    color: var(--aq-accent-light);
}

.social-tool__count {
    margin-left: auto;
    color: var(--aq-text-300);
    font-size: var(--aq-text-sm);
    font-variant-numeric: tabular-nums;
}

.social-tool-menu {
    position: static;
}

.comment-share__kind {
    padding: var(--aq-space-1) var(--aq-space-3);
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius-pill);
    background: none;
    color: var(--aq-text-200);
    font-family: var(--aq-font-primary);
    font-size: var(--aq-text-xs);
    font-weight: 600;
    cursor: pointer;
}

.comment-share__kind.is-on {
    border-color: var(--aq-accent);
    color: var(--aq-accent-light);
}

.comment-share__option:hover,
.comment-share__option:focus-visible {
    background: rgb(255 255 255 / 0.06);
}

.comment-share__who small,
.comment-share__none {
    color: var(--aq-text-300);
    font-size: var(--aq-text-xs);
}

.comment-share__none {
    padding: var(--aq-space-1-5) var(--aq-space-2);
}

.comment-share__pick {
    color: var(--aq-accent-light);
    font-size: var(--aq-text-xs);
    font-weight: 600;
}

.comment-share__chosen {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: var(--aq-space-2);
    padding: var(--aq-space-1-5) 10px;
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius-md);
    background: var(--aq-bg-200);
}

.comment-share__chosen small {
    color: var(--aq-text-300);
}

.comment__share {
    max-width: 420px;
    margin-top: var(--aq-space-2);
}

/* A voice message in a comment (DECISIONS #274): the chat's recording bar and player. */
.comment-voice__rec {
    display: flex;
    align-items: center;
    gap: var(--aq-space-2);
    margin-top: var(--aq-space-2);
    padding: var(--aq-space-1-5) 10px;
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius-pill);
    background: var(--aq-bg-200);
}

.comment-voice__rec .dm-rec__live {
    flex: 1;
    min-width: 0;
}

.comment-voice__ready audio {
    max-width: 100%;
    height: 36px;
}

.comment-voice__label {
    color: var(--aq-text-200);
    font-size: var(--aq-text-xs);
}

.comment-voice__notice {
    margin: var(--aq-space-2) 0 0;
    color: var(--aq-accent-light);
    font-size: var(--aq-text-xs);
}

.comment__voice {
    margin-top: var(--aq-space-2);
}

.social-tool[aria-pressed="true"] {
    color: #e5484d;
}

.social-stickers {
    min-width: 0;
}

.social-stickers__none {
    display: flex;
    align-items: center;
    gap: var(--aq-space-2);
    margin: var(--aq-space-1) var(--aq-space-2);
    color: var(--aq-text-300);
    font-size: var(--aq-text-sm);
}

.social-stickers__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: var(--aq-space-2);
}

.social-stickers__item {
    display: block;
    padding: var(--aq-space-1);
    border: 2px solid transparent;
    border-radius: var(--aq-radius-md);
    cursor: pointer;
}

/* The pictures waiting to go (DECISIONS #279; Figma page 30, D2/D3/M2/M3): thumbnails with no file name,
   ✕ on each (a 40px touch area), "+" to add more, and while they go, the progress and "Cancel sending". */
.social-previews:has(.aq-strip, .aq-sending) {
    flex-direction: column;
    align-items: flex-start;
}

.social-previews.is-sending .aq-thumb img {
    opacity: 0.45;
}

.social-mention {
    color: var(--aq-accent-light);
    font-weight: 600;
    text-decoration: none;
}

.social-mention:hover {
    text-decoration: underline;
}

/* ---- Admin → Social moderation (DECISIONS #190; Figma F2) ---- */
.social-report__reasons label {
    display: flex;
    align-items: center;
    gap: var(--aq-space-2);
    color: var(--aq-text-200);
}

.social-report__title {
    margin-bottom: var(--aq-space-2);
    font-family: var(--aq-font-display);
    font-size: 1.05rem;
}

/* The report panel opens from the right of the row, under the flag. */
.social-report[open] > form {
    left: auto;
    right: 0;
}

/* ---- "Posting as", band and Fan Club timelines (Bands & Fan Clubs phase 10; Figma S06, S24, S31, M4) ---- */
.comments__as-choice {
    max-width: 360px;
    margin-bottom: var(--aq-space-2);
}

.dm-plus__item small {
    color: var(--aq-text-300);
}

.dm-share__result {
    display: flex;
    align-items: center;
    gap: var(--aq-space-3);
    padding: var(--aq-space-2) 10px;
    border-radius: var(--aq-radius-md);
    color: var(--aq-text-100);
    text-decoration: none;
}

.dm-share__result:hover,
.dm-share__result:focus-visible {
    background: rgb(108 76 214 / 0.22);
}

.dm-share__initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--aq-bg-300);
    color: var(--aq-accent-light);
}

.dm-share__who small {
    overflow: hidden;
    color: var(--aq-text-300);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dm-share__pick {
    color: var(--aq-accent);
    font-size: var(--aq-text-xs);
}

@media (width < 768px) {
    .dm-share__result {
        min-height: 60px;
    }
}

/* A message carrying a card may be as wide as the card (Figma S15). */
.dm-msg:has(> .dm-msg__body > .dm-share-card) {
    max-width: min(380px, 92%);
}

.dm-at__option[aria-selected="true"],
.dm-at__option:hover {
    background: rgb(108 76 214 / 0.22);
}

.dm-at__avatar--band {
    border: 1.5px solid var(--aq-accent);
    object-fit: contain;
}

.dm-at__who small {
    color: var(--aq-text-300);
}

.dm-at__type {
    padding: 2px var(--aq-space-2);
    border-radius: var(--aq-radius-pill);
    background: var(--aq-bg-300);
    color: var(--aq-text-300);
    font-size: 0.7rem;
}

.dm-at__type--band {
    border: 1px solid var(--aq-accent);
    background: transparent;
    color: var(--aq-accent);
}

.dm-at__hint {
    margin: var(--aq-space-1-5) 10px 2px;
    color: var(--aq-text-300);
    font-size: var(--aq-text-xs);
}

.dm-at__more {
    margin: 2px 10px var(--aq-space-1);
    padding: 0;
    border: 0;
    background: none;
    color: var(--aq-accent);
    font-size: var(--aq-text-xs);
    cursor: pointer;
}

@media (width < 768px) {
    .dm-at__option {
        min-height: 48px;
    }
}

a.dm-quote:hover,
a.dm-quote:focus-visible {
    color: var(--aq-text-100);
    box-shadow: 0 0 0 1px var(--aq-accent);
}

.dm-msg {
    transition: transform 0.15s;
}

.dm__back-to-reply {
    position: sticky;
    bottom: 4px;
    align-self: center;
    padding: var(--aq-space-1-5) 14px;
    border: 1px solid color-mix(in srgb, var(--aq-accent) 70%, transparent);
    border-radius: var(--aq-radius-pill);
    background: var(--aq-bg-200);
    box-shadow: var(--aq-shadow);
    color: var(--aq-accent-light);
    font-family: var(--aq-font-primary);
    font-size: var(--aq-text-xs);
    cursor: pointer;
}

/* The phone's sheet: the whole list of emoji and "who reacted" (E2, E5). */
.dm-sheet {
    position: fixed;
    z-index: 1100;
    inset: 0;
    display: flex;
    align-items: flex-end;
    background: var(--aq-overlay);
}

.dm-msg--mine .dm-voice {
    background: var(--aq-primary);
    color: var(--aq-primary-foreground);
}

.dm-voice audio {
    width: 100%;
    max-width: 280px;
}

.dm-voice--scripted audio {
    display: none;
}

.dm-msg--mine .dm-voice__play {
    background: var(--aq-primary-foreground, #f5f6fa);
    color: var(--aq-primary, #6c4cd6);
}

.dm-voice__play:disabled {
    opacity: .5;
    cursor: default;
}

.dm-voice__wave:focus-visible {
    outline: 2px solid var(--aq-accent, #c9a227);
    outline-offset: 3px;
    border-radius: var(--aq-radius-sm);
}

.dm-voice__wave i.is-played {
    opacity: 1;
}

.dm-voice__meta {
    display: flex;
    align-items: center;
    gap: var(--aq-space-2);
    color: var(--aq-text-300);
    font-size: var(--aq-text-xs);
}

.dm-msg--mine .dm-voice__meta {
    color: inherit;
    opacity: .85;
}

.dm-voice__speed {
    padding: 1px var(--aq-space-2);
    border: 0;
    border-radius: var(--aq-radius-pill);
    background: rgba(255, 255, 255, .14);
    color: inherit;
    font: inherit;
    font-size: var(--aq-text-xs);
    cursor: pointer;
}

.dm-voice--unplayable .dm-voice__wave {
    opacity: .4;
    pointer-events: none;
}

.dm-rec--paused .dm-rec__dot,
.dm-rec--ready .dm-rec__dot {
    animation: none;
    opacity: .45;
}

.dm-rec--ready .dm-rec__live {
    border-color: var(--aq-accent, #c9a227);
}

@keyframes dm-rec-pulse {
    50% { opacity: .25; }
}

.dm-rec__time {
    min-width: 2.6em;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.dm-rec__time.is-ending,
.dm-rec--ready .dm-rec__time {
    color: var(--aq-accent, #c9a227);
}

.dm-rec__wave i {
    width: 3px;
    min-height: 3px;
    flex: none;
    height: calc(var(--h, .2) * 100%);
    border-radius: var(--aq-radius-sm);
    background: #d4204a;
}

.dm-rec--ready .dm-rec__wave i {
    background: var(--aq-accent, #c9a227);
}

.dm-rec__max {
    color: var(--aq-text-300);
    font-size: var(--aq-text-xs);
    white-space: nowrap;
}

.dm-rec__tool:hover,
.dm-rec__tool[aria-pressed="true"] {
    background: var(--aq-bg-300);
}

.dm-rec__notice--failed {
    border-color: #d4204a;
}

@media (max-width: 720px) {
    .dm-rec__max,
    .dm-rec [data-dm-rec-pause] {
        display: none;
    }
}

/* ---- Stickers and mentions in Messages (DECISIONS #224; Figma page 18, S1-S5, M1-M3) ---- */
.dm-stickers__new small {
    color: var(--aq-accent-light);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
}

.dm-stickers__scrim {
    position: fixed;
    z-index: 1049;
    inset: 0;
    background: rgb(0 0 0 / 0.6);
}

.dm-stickers__close {
    float: right;
    border: 0;
    background: transparent;
    color: var(--aq-text-300);
    font-size: 18px;
}

.dm-stickers__crop input[type="range"] {
    width: 220px;
    accent-color: var(--aq-accent);
}

.dm-msg--mentions-me {
    max-width: none;
    margin-inline: calc(-1 * var(--aq-space-5));
    padding: var(--aq-space-1-5) var(--aq-space-5) var(--aq-space-1-5) calc(var(--aq-space-5) - 3px);
    border-left: 3px solid var(--aq-accent);
    background: color-mix(in srgb, var(--aq-accent) 8%, transparent);
}

.dm-toast {
    position: absolute;
    z-index: 40;
    bottom: 96px;
    left: 50%;
    margin: 0;
    padding: var(--aq-space-2) 14px;
    border: 1px solid var(--aq-accent);
    border-radius: var(--aq-radius-pill);
    background: var(--aq-bg-100);
    color: var(--aq-accent-light);
    font-size: var(--aq-text-xs);
    transform: translateX(-50%);
}

.dm-msg--mine .dm-reactions {
    justify-content: flex-end;
}

.dm-reactions form {
    display: inline;
}

.dm-reaction.is-mine {
    border-color: color-mix(in srgb, var(--aq-primary) 75%, white 15%);
    background: color-mix(in srgb, var(--aq-primary) 28%, transparent);
    color: var(--aq-text-100);
}

.dm-reaction:hover,
.dm-reaction:focus-visible {
    border-color: color-mix(in srgb, var(--aq-primary) 75%, white 15%);
}

.dm-reaction__emoji {
    font-size: 14px;
}

/* Who reacted: the names, then what a click does. */
.dm-reaction::after {
    position: absolute;
    z-index: 30;
    top: 50%;
    left: calc(100% + 8px);
    width: max-content;
    max-width: 240px;
    padding: var(--aq-space-2) var(--aq-space-3);
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius-md);
    background: var(--aq-bg-100);
    box-shadow: 0 6px 18px rgb(0 0 0 / 45%);
    color: var(--aq-text-100);
    content: attr(data-who) "\A" attr(data-hint);
    font-family: var(--aq-font-secondary);
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    opacity: 0;
    pointer-events: none;
    text-align: start;
    transform: translateY(-50%);
    transition: opacity 0.12s;
    white-space: pre-wrap;
}

.dm-msg--mine .dm-reaction::after {
    right: calc(100% + 8px);
    left: auto;
}

@media (hover: hover) {
    .dm-reaction:hover::after {
        opacity: 1;
    }
}

.dm-reaction:focus-visible::after {
    opacity: 1;
}

/* "☺+ React" (E1): beside Reply, shown on hover or focus where there is a mouse, always on touch screens. */

/* The bar belongs to the message, not the line of actions: it opens above the bubble (E1). */
.dm-react {
    display: inline-block;
}

.dm-msg:has(.dm-react[open], .dm-menu[open]) {
    position: relative;
    z-index: 5;
}

.dm-react > summary {
    list-style: none;
}

.dm-react > summary::-webkit-details-marker {
    display: none;
}

.dm-react__button {
    padding: 2px var(--aq-space-2);
    border-radius: var(--aq-radius-pill);
    color: var(--aq-text-300);
    white-space: nowrap;
}

@media (hover: hover) {
    .dm-react:not([open]) > .dm-react__button {
        opacity: 0;
        transition: opacity 0.15s;
    }

    .dm-msg:hover .dm-react > .dm-react__button,
    .dm-msg:focus-within .dm-react > .dm-react__button {
        opacity: 1;
    }
}

.dm-msg--mine .dm-react__panel {
    right: 0;
    left: auto;
}

.dm-react__panel:has(.dm-react__all) {
    padding: 14px;
    border-radius: var(--aq-radius-lg);
}

.dm-react__emoji:hover,
.dm-react__emoji:focus-visible {
    background: var(--aq-bg-300);
    transform: scale(1.15);
}

.dm-react__emoji.is-on {
    background: color-mix(in srgb, var(--aq-primary) 28%, transparent);
}

.dm-react__more {
    background: var(--aq-bg-300);
    font-family: var(--aq-font-primary);
    font-size: 20px;
}

.dm-react__more:hover,
.dm-react__more:focus-visible,
.dm-react__more[aria-expanded="true"] {
    color: var(--aq-accent-light);
}

.dm-react__heading {
    margin: 0;
    color: var(--aq-text-300);
    font-family: var(--aq-font-primary);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dm-react__grid {
    display: grid;
    grid-template-columns: repeat(8, 38px);
    gap: 2px;
}

.dm-react__empty {
    margin: 0;
    color: var(--aq-text-300);
    font-size: var(--aq-text-sm);
}

/* Reactions on a phone (DECISIONS #228, phase 4; Figma E4, E5). The long-press sheet gets the quick bar
   floating over it; the whole list and "who reacted" are sheets of their own. */
.dm-sheet.has-react {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
}

.dm-react-sheet,
.dm-who {
    max-height: 80dvh;
    padding-right: var(--aq-space-4);
    padding-left: var(--aq-space-4);
    overflow-y: auto;
    outline: none;
}

.dm-react-sheet__title {
    margin: var(--aq-space-2) 0 var(--aq-space-3);
    color: var(--aq-text-100);
    font-family: var(--aq-font-primary);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

.dm-react-sheet .dm-react__grid {
    grid-template-columns: repeat(8, minmax(0, 40px));
    justify-content: space-between;
}

.dm-who__tabs {
    display: flex;
    gap: var(--aq-space-2);
    padding-bottom: var(--aq-space-3);
    overflow-x: auto;
}

.dm-who__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dm-who__you {
    border: 0;
    background: none;
    color: inherit;
    text-align: left;
}

.dm-who__name small {
    color: var(--aq-text-300);
    font-family: var(--aq-font-secondary);
    font-size: 0.75rem;
    font-weight: 400;
}

.dm-who__emoji {
    font-size: 22px;
}

/* ==========================================================================
   Events (docs/events-venues-plan.md, phase 1; Figma page 21, E01–E04): */
.event-pill--red {
    border-color: #ff8fa3;
    color: #ffc2cd;
}

.event-detail__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--aq-space-2);
    margin: 0 0 var(--aq-space-3);
}

/* --- Group chat radio, phase 2 (docs/chat-radio-plan.md; Figma page 22) ------------- */
.radio-tabs a.is-current {
    border-bottom-color: var(--aq-accent);
    color: var(--aq-accent-light);
}

/* The venue dashboard's card headers (phase 5): a title with its link at the end. */
.venue-dashboard__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--aq-space-3);
}

/* --- Group chat radio, phase 3: the player (docs/chat-radio-plan.md) ---------------------- */

/* A venue's photos (events-venues phase 6; Figma V10, V11): vertical 9:16 like Instagram, 3 across (2 on a phone). */
.venue-photos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--aq-space-1);
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (max-width: 640px) {
    .venue-photos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.venue-photos__link {
    position: relative;
    display: block;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    background: var(--aq-bg-200);
}

.venue-photos__many {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 2px var(--aq-space-1-5);
    border-radius: var(--aq-radius-sm);
    background: rgb(0 0 0 / 55%);
    color: #fff;
    font-size: 0.75rem;
}

.venue-photos__counts {
    position: absolute;
    inset: auto 0 0 0;
    padding: var(--aq-space-6) var(--aq-space-2) var(--aq-space-2);
    background: linear-gradient(transparent, rgb(0 0 0 / 70%));
    color: #fff;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.venue-photos__link:hover .venue-photos__counts,
.venue-photos__link:focus-visible .venue-photos__counts {
    opacity: 1;
}

.venue-photos__empty {
    color: var(--aq-text-300);
}

.chronicle-grid__pin,
.chronicle-grid__length {
    position: absolute;
    top: 8px;
    padding: 2px var(--aq-space-1-5);
    border-radius: var(--aq-radius-sm);
    background: rgb(0 0 0 / 55%);
    color: #fff;
    font-size: 0.75rem;
}

.chronicle-grid__length {
    right: 8px;
}

.chronicle-manage__poster .chronicle-grid__length {
    top: auto;
    bottom: 6px;
    right: 6px;
}

.chronicle-manage__actions form {
    display: inline;
}

.chronicle-manage__delete > summary,
.chronicle-manage__edit > summary {
    cursor: pointer;
    list-style: none;
}

.chronicle-manage__edit {
    margin-top: 10px;
}

.chronicle-manage__edit > summary {
    color: var(--aq-accent-light);
}

@media (max-width: 640px) {
    .chronicle-manage__item {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 10px;
    }
}

/* --- Group chat albums, phase 4a (docs/chat-albums-plan.md; Figma page 25) ------------- */
.group-tabs__nav a:hover {
    background: var(--aq-bg-300);
}

.group-tabs__nav a.is-current {
    background: var(--aq-accent);
    color: var(--aq-bg-100);
}

/* --- Group chats, phase 6: one navigation on every page of a group (docs/chat-radio-plan.md) --- */
.dm-details__sections a:hover,
.dm-details__sections a:focus-visible {
    border-color: var(--aq-accent);
    color: var(--aq-accent-light);
}

/* ---- The feed on a phone (DECISIONS #278; Figma page 29, M7 and M8) ---- */
@media (max-width: 767.98px) {
    /* What sits over the posts - the composer and the sign-in note - runs edge to edge as well. */
    .feed-shell > .social-notice,
    .feed-shell > .social-composer {
        margin-inline: calc(-1 * var(--aq-feed-gutter));
        padding-inline: var(--aq-feed-inset);
        border-inline: 0;
        border-radius: 0;
    }

    html.aq-radio-on .feed-shell > .social-card--chronicle {
        height: calc(100svh - var(--aq-header-real, var(--aq-header-height)) - var(--aq-radio-h, 52px));
    }

    .social-card--chronicle .social-card__head a,
    .social-card--chronicle .social-card__head p,
    .social-card--chronicle .social-card__head span {
        color: #fff;
    }

    .social-card--chronicle .social-card__actions .social-heart svg {
        width: 28px;
        height: 28px;
    }

    /* The whole screen as it is now: Safari's bars come and go, and with the small viewport (svh) the next post showed
       under a Chronicle once they had gone (Carlos, 10/11/2026). svh stays for browsers without dvh. */
    html.aq-chronicle-full .feed-shell > .social-card--chronicle {
        height: 100svh;
        height: 100dvh;
    }
}

/* ---- A post's comments as a sheet on a phone (docs/mobile-feed-instagram-plan.md, phase 3; Figma page 36, C1-C3) ----
   The section drawn in the card (#281), lifted by js/feed-comments.js to the lower 70% of the screen with the post
   above it (D7): a veil, a top with a handle, the title and close, the list scrolling by itself, and the comment box
   at the bottom (the row of emoji of D8 went with #317: they open from the box's own tool). With the keyboard up it
   takes the screen above it. Only transform and
   opacity move. The computer keeps the comments in the card. */
.aq-sheet__veil,
.aq-sheet__head {
    display: none;
}

@media (max-width: 767.98px) {
    .aq-sheet__title {
        grid-column: 2;
        margin: 0;
        color: var(--aq-text-100);
        font-family: var(--aq-font-primary);
        font-size: 1rem;
        font-weight: 600;
        text-align: center;
    }

    /* Up at once on a slow connection, saying so (phase 6). */
    .aq-sheet__loading {
        margin: var(--aq-space-6) 0;
        color: var(--aq-text-300);
        text-align: center;
    }

    .aq-sheet__close:focus-visible {
        outline: 2px solid var(--aq-accent-light);
        outline-offset: 2px;
    }

    /* With few comments the list is short: the box still sits at the sheet's bottom, never under the last line, so the
       stickers and the emoji opening above it have the whole list's height and are never cut by its top (Carlos,
       10/11/2026). */
    .is-sheet > .social-card__thread {
        display: flex;
        flex-direction: column;
    }

    .is-sheet > .social-card__thread > .comments,
    .is-sheet .comments__column {
        display: flex;
        flex: 1 0 auto;
        flex-direction: column;
    }

    .is-sheet .comments__column > .comments__composer {
        margin-top: auto;
    }

    /* The comment box stays at the bottom of the sheet while the list scrolls (Figma C1). */
    .is-sheet .comments__composer {
        position: sticky;
        bottom: 0;
        z-index: 1;
        order: 99;
        flex-wrap: wrap;
        margin: 0 -14px;
        padding: var(--aq-space-2) 14px calc(var(--aq-space-2) + env(safe-area-inset-bottom, 0px));
        border: 0;
        border-top: 1px solid var(--aq-border);
        border-radius: 0;
        background: var(--aq-bg-200);
    }

    .is-sheet.is-typing .comments__composer {
        padding-bottom: var(--aq-space-2);
    }

    .is-sheet .comments__composer textarea {
        height: 44px;
        min-height: 44px;
    }

}

/* ---- A Chronicle's comments on a phone (docs/mobile-feed-instagram-plan.md, phase 4; Figma page 36, D1-D2) ---- */
@media (max-width: 767.98px) {
    :is(.social-card--chronicle, .social-card--chronicle > .social-card__fold) > .is-sheet > .aq-sheet__veil {
        background: transparent;
    }

    :is(.social-card--chronicle, .social-card--chronicle > .social-card__fold) > .is-sheet .comments__composer {
        background: var(--aq-bg-100);
    }
}

/* ---- The feed's own track player (DECISIONS #285; Figma page 29, Feed/Track player) ---- */
.feed-player__open {
    display: inline-flex;
    align-items: center;
    gap: var(--aq-space-1-5);
    color: inherit;
    text-decoration: none;
}

.feed-player__open:hover,
.feed-player__open:focus-visible {
    text-decoration: underline;
}

.feed-player__open svg {
    width: 18px;
    height: 18px;
}

.feed-player__controls {
    display: flex;
    align-items: center;
    gap: var(--aq-space-2);
    margin-top: var(--aq-space-2);
}

.feed-player[aria-busy="true"] .feed-player__toggle {
    cursor: progress;
    filter: grayscale(1);
}

.feed-player__time {
    color: var(--aq-text-300);
    font-size: 0.78rem;
    font-variant-numeric: tabular-nums;
}

.feed-player__mute {
    padding: var(--aq-space-1);
    border: 0;
    background: none;
    color: var(--aq-text-300);
}

.feed-player__source {
    align-self: flex-start;
    margin-top: var(--aq-space-2);
    padding: 3px 10px;
    border-radius: var(--aq-radius-pill);
    background: var(--aq-bg-100);
    color: var(--aq-accent-light);
    font-size: 0.75rem;
}

.feed-player__embed {
    grid-column: 1 / -1;
}

.feed-player__embed iframe {
    display: block;
    width: 100%;
    border: 0;
    border-radius: var(--aq-radius-md);
}

@media (hover: none), (max-width: 575.98px) {
    .feed-player__volume {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .feed-player__controls {
        grid-column: 1 / -1;
    }
}

.venue-photos__album {
    position: absolute;
    top: 8px;
    left: 8px;
    max-width: calc(100% - 56px);
    padding: 2px var(--aq-space-1-5);
    border-radius: var(--aq-radius-sm);
    background: rgb(0 0 0 / 60%);
    color: #fff;
    font-size: 0.7rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---- Fan Clubs reviewed in the side panel, Chat Groups as cards (docs/band-dashboard-menu-forms-plan.md §4.6; Figma page 33, G1, H1, H2) ---- */
.cg-card {
    display: grid;
    gap: var(--aq-space-2);
    align-content: start;
    padding: var(--aq-space-4) 1.25rem 1.25rem;
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius-md);
    background: var(--aq-bg-200);
}

.cg-card__name a {
    overflow: hidden;
    max-width: 100%;
    color: var(--aq-text-100);
    font-weight: 600;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cg-card__name a:hover {
    color: var(--aq-accent-light);
}

/* The feed's player through the member's own Spotify Premium (DECISIONS #294): the invitation to connect. */
.feed-player__connect {
    margin-top: var(--aq-space-1);
    color: var(--aq-accent-light);
    font-size: 0.8rem;
}

/* The long press on a phone (M1): the conversation darkens and the message stays lit, under its menu. */
.dm-menu-shade {
    position: fixed;
    z-index: 30;
    inset: 0;
    background: var(--aq-overlay);
}

/* ---- A Chronicle in the feed as the Figma's M7 and M7b (page 29; Carlos, 05/11/2026; DECISIONS #313) ---- */
@media (max-width: 767.98px) {
    .social-card--chronicle .social-card__actions .social-heart svg {
        width: 30px;
        height: 30px;
    }

    :is(.social-card--chronicle, .social-card--chronicle > .social-card__fold) > .is-sheet > .aq-sheet__veil {
        background: rgb(0 0 0 / 0.35);
    }

    :is(.social-card--chronicle, .social-card--chronicle > .social-card__fold) > .is-sheet > .aq-sheet__head {
        grid-template-columns: 1fr 44px;
        padding: 14px var(--aq-space-1) var(--aq-space-1-5) var(--aq-space-4);
        border-bottom: 0;
    }

    :is(.social-card--chronicle, .social-card--chronicle > .social-card__fold) > .is-sheet .aq-sheet__title {
        grid-column: 1;
        font-size: 15px;
        font-weight: 500;
        letter-spacing: 0.5px;
        text-align: left;
    }

    :is(.social-card--chronicle, .social-card--chronicle > .social-card__fold) > .is-sheet .aq-sheet__close {
        grid-column: 2;
    }

    :is(.social-card--chronicle, .social-card--chronicle > .social-card__fold) > .is-sheet .comments__composer {
        background: var(--aq-bg-300);
    }
}

/* ---- The comment sheet's lines and box, Instagram-style (Figma page 29 M7b and page 36 C1; Carlos, 05/11/2026; */
@media (max-width: 767.98px) {
    /* A band member's own comment: no gold edge nor wash here, the lines read better plain (#317). */
    .is-sheet .comment--member {
        border-inline-start: 0;
        border-radius: 0;
        background: transparent;
    }

    .is-sheet .comments__list > .comment + .comment,
    .is-sheet .comments__replies > .comment {
        margin-top: 0;
    }

    .is-sheet .comment__author {
        margin-right: 2px;
        font-size: 14px;
        font-weight: 600;
        letter-spacing: 0;
        text-decoration: none;
        text-transform: none;
    }

    .is-sheet .comment__actions {
        gap: 14px;
        margin-top: 2px;
        font-family: var(--aq-font-primary);
        font-size: 12px;
        font-weight: 500;
        line-height: 18px;
        letter-spacing: 0.5px;
        color: var(--aq-text-300);
    }

    .is-sheet .comment__meta {
        margin-right: var(--aq-space-1);
    }

    .is-sheet .comment__feel {
        position: static;
        gap: var(--aq-space-1);
        margin-top: 2px;
    }

    /* "☺+ React" becomes the heart at the right of the line; its bar still opens from it. */
    .is-sheet .comment__react {
        position: absolute;
        top: 12px;
        right: 0;
    }

    .is-sheet .comment__react > .dm-react__button::before {
        content: "♡";
        font-size: 18px;
        line-height: 1;
    }

    /* The box: one line in a pill, the avatar at its left, the tools in it, Post once there is something to post. */
    .is-sheet .comments__composer {
        align-items: center;
        gap: var(--aq-space-2);
        padding: var(--aq-space-2) var(--aq-space-4) calc(var(--aq-space-2) + env(safe-area-inset-bottom, 0px));
    }

    .is-sheet .comments__composer-main > textarea {
        flex: 1 1 40px;
        min-width: 0;
        height: 40px;
        min-height: 0;
        max-height: 120px;
        padding: 9px 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: var(--aq-text-100);
        font-family: var(--aq-font-secondary);
        font-size: 15px;
        line-height: 22px;
        resize: none;
        field-sizing: content;
    }

    /* Where the browser sizes a field by its words, the line grows with them up to the limit above. */
    @supports (field-sizing: content) {
        .is-sheet .comments__composer-main > textarea {
            height: auto;
            min-height: 40px;
        }
    }

    .is-sheet .comments__composer-main > textarea:focus {
        outline: 0;
        box-shadow: none;
    }

    /* The ring moves to the box the textarea sits in. */
    .is-sheet .comments__composer-main:focus-within {
        outline: 2px solid var(--aq-accent);
        outline-offset: 2px;
    }

    .is-sheet .comments__composer-main .social-tool {
        width: 24px;
        height: 24px;
        color: var(--aq-text-300);
    }

    .is-sheet .comments__composer-main .social-tool svg {
        width: 16px;
        height: 16px;
    }

    .is-sheet .comments__composer-foot {
        flex: none;
        margin: 0;
        padding: 0;
    }

    .is-sheet .comments__composer-main:has(> textarea:placeholder-shown):not(:has(.aq-thumb)) .comments__composer-foot {
        display: none;
    }

    .is-sheet .aq-sheet__close {
        background: transparent;
        color: var(--aq-text-300);
    }
}
/* On a computer and a tablet: the card's surface, 20px corners, a soft shadow and a faint edge in place of the
   brand border - the cards read apart by light, not by a line. The band's official post keeps its gold edge. */

/* ---- Touch targets (usability audit A11Y-06, #281) ----------------------------------------------------------------
   On a touch screen an icon control's hit area reaches --aq-target (44px) around the control; what is drawn keeps its
   size. An invisible ::after does it, so the circle, the ring and the glyph stay as designed. */
@media (pointer: coarse) {
    .social-tool,
    .dash-icon-button,
    .dash-menu__button,
    .dm-react__button,
    .dm-react__emoji,
    .dm-react__more,
    .dm-mute > summary,
    .dm-menu__button {
        position: relative;
    }

    .social-tool::after,
    .dash-icon-button::after,
    .dash-menu__button::after,
    .gallery-viewer__arrow::after,
    .dm-react__button::after,
    .dm-react__emoji::after,
    .dm-react__more::after,
    .dm-mute > summary::after {
        position: absolute;
        inset: min(0px, calc((100% - var(--aq-target, 44px)) / 2));
        content: "";
    }
}

/* A video sent from the app (DECISIONS #474): as wide as a picture, never taller than the screen allows. */
.dm-video { margin: var(--aq-space-1) 0; max-width: min(320px, 100%); }
.dm-video video { display: block; width: 100%; height: auto; max-height: 60vh; border-radius: var(--aq-radius-md); background: #000; }

/* ---- Stories on the site (DECISIONS #542), as the app shows them ----------------------------------------------- */

.stories {
    margin: 0 0 var(--aq-space-3);
}

.stories__strip {
    display: flex;
    gap: var(--aq-space-3);
    padding: var(--aq-space-2) var(--aq-space-1);
    overflow-x: auto;
    scrollbar-width: none;
}

.stories__bubble {
    display: flex;
    flex: 0 0 76px;
    flex-direction: column;
    align-items: center;
    gap: var(--aq-space-1);
    padding: 0;
    border: 0;
    background: none;
    color: var(--aq-text-100);
    cursor: pointer;
}

.stories__ring {
    position: relative;
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    padding: 0.1875rem;
    border-radius: 50%;
}

.stories__ring--square {
    border-radius: var(--aq-radius-lg);
}

.stories__ring.is-new,
.profile__avatar.has-stories.is-new {
    background: linear-gradient(45deg, #ffb347, #ff4d8d, #8b5cff);
}

.stories__ring.is-seen {
    background: #4a5578;
}

.stories__plus {
    position: absolute;
    right: 0;
    bottom: 0;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border: 2px solid var(--aq-bg-100);
    border-radius: 50%;
    background: var(--aq-primary);
    color: var(--aq-primary-foreground);
    font-weight: 700;
    line-height: 1;
}

.stories__name {
    max-width: 76px;
    overflow: hidden;
    font-size: 0.75rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stories__name.is-seen {
    color: var(--aq-text-300);
}

.stories-pic {
    display: grid;
    place-items: center;
    width: var(--size, 40px);
    height: var(--size, 40px);
    overflow: hidden;
    border: 2px solid var(--aq-bg-100);
    border-radius: 50%;
    background: var(--aq-bg-300);
    color: var(--aq-text-100);
    font-weight: 700;
}

.stories-pic--square {
    border-radius: var(--aq-radius-md);
}

.stories-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* The ring on a profile's picture or a band's logo, with a story showing. */
.profile__avatar.has-stories {
    padding: var(--aq-space-1);
    cursor: pointer;
}

.profile__avatar.has-stories.is-seen {
    background: #4a5578;
}

/* The viewer: full screen on a phone, a 9:16 frame in the middle of a wider screen. */
.story-viewer {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgb(0 0 0 / 92%);
    color: #f2f5ff;
}

.story-viewer::backdrop {
    background: rgb(0 0 0 / 80%);
}

.story-viewer__frame {
    position: relative;
    width: min(100vw, calc(100vh * 9 / 16));
    height: 100%;
    margin: 0 auto;
    overflow: hidden;
    background: #000;
}

.story-viewer__stage {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    touch-action: none;
    user-select: none;
}

.story-viewer__media {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.story-viewer__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3);
}

.story-viewer__chronicle-holder {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--aq-space-3);
}

.story-viewer__chronicle {
    display: flex;
    flex-direction: column;
    width: 62%;
    min-width: 200px;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 40%);
    border-radius: var(--aq-radius-lg);
    background: rgb(38 26 61 / 85%);
    color: #f2f5ff;
    text-decoration: none;
}

.story-viewer__chronicle video {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    background: #000;
}

.story-viewer__chronicle-head,
.story-viewer__chronicle-title {
    display: flex;
    align-items: center;
    gap: var(--aq-space-2);
    padding: var(--aq-space-2) var(--aq-space-3);
    font-size: 0.75rem;
}

.story-viewer__see {
    padding: var(--aq-space-2) var(--aq-space-4);
    border-radius: var(--aq-radius-pill);
    background: #f2f5ff;
    color: #0b1020;
    font-weight: 700;
    text-decoration: none;
}

/* A story's upright page (DECISIONS #546): 9:16 in the stage, so what was placed on it in the app sits where it was put. */
.story-viewer__stage {
    container-type: size;
}

.story-viewer__page {
    position: absolute;
    inset: 0;
    width: min(100cqw, calc(100cqh * 9 / 16));
    height: min(100cqh, calc(100cqw * 16 / 9));
    margin: auto;
    overflow: hidden;
}

.story-viewer__page--clear {
    overflow: visible;
}

/* The card at the share of the page it was given; its parts in shares of its own width, as the app draws it. */
.story-viewer__placed {
    position: absolute;
    display: flex;
    flex-direction: column;
    container-type: inline-size;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 40%);
    border-radius: var(--aq-radius-lg);
    background: rgb(38 26 61 / 85%);
    color: #f2f5ff;
    text-decoration: none;
    transform-origin: 50% 50%;
}

.story-viewer__placed video {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    background: #000;
}

.story-viewer__placed-head {
    display: flex;
    align-items: center;
    gap: 3.33cqw;
    height: 18.33cqw;
    padding: 0 4.17cqw;
}

.story-viewer__placed-head .stories-pic {
    --size: 11.67cqw;
}

.story-viewer__placed-words {
    display: flex;
    flex-direction: column;
    min-width: 0;
    font-size: 5cqw;
    line-height: 1.2;
}

.story-viewer__placed-words strong,
.story-viewer__placed-title {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.story-viewer__placed-words small {
    color: #b8c1de;
    font-size: 4.17cqw;
}

.story-viewer__placed-title {
    display: block;
    height: 13.33cqw;
    padding: 0 4.17cqw;
    font-size: 4.58cqw;
    line-height: 13.33cqw;
}

.story-viewer__drawn {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.story-viewer__link {
    position: absolute;
    min-width: 44px;
    min-height: 36px;
    transform: translate(-50%, -50%);
    border-radius: var(--aq-radius-pill);
}

.story-viewer__link:focus-visible {
    outline: 2px solid #f2f5ff;
}

.story-viewer__gone {
    color: #c9d1e8;
    font-weight: 700;
}

.story-viewer__bars {
    position: absolute;
    top: var(--aq-space-2);
    right: var(--aq-space-2);
    left: var(--aq-space-2);
    display: flex;
    gap: var(--aq-space-1);
    pointer-events: none;
}

.story-viewer__bar {
    flex: 1;
    height: 3px;
    overflow: hidden;
    border-radius: var(--aq-radius-sm);
    background: rgb(255 255 255 / 40%);
}

.story-viewer__fill {
    display: block;
    height: 100%;
    background: #f2f5ff;
}

.story-viewer__head {
    position: absolute;
    top: var(--aq-space-5);
    right: var(--aq-space-2);
    left: var(--aq-space-3);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.story-viewer__who {
    display: flex;
    align-items: center;
    gap: var(--aq-space-2);
    color: #f2f5ff;
    text-decoration: none;
}

.story-viewer__who small {
    color: #c9d1e8;
}

.story-viewer__close,
.story-viewer__sheet-close {
    width: var(--aq-target);
    height: var(--aq-target);
    border: 0;
    background: none;
    color: #f2f5ff;
    font-size: 1.25rem;
}

/* On a wide screen the sides of the frame step too. */
.story-viewer__side {
    position: absolute;
    top: 50%;
    width: var(--aq-target);
    height: var(--aq-target);
    border: 0;
    border-radius: 50%;
    background: rgb(11 15 30 / 60%);
    color: #f2f5ff;
    transform: translateY(-50%);
}

.story-viewer__side--prev {
    left: var(--aq-space-2);
}

.story-viewer__side--next {
    right: var(--aq-space-2);
}

.story-viewer__side--prev::after {
    content: "‹";
}

.story-viewer__side--next::after {
    content: "›";
}

@media (hover: none) {
    .story-viewer__side {
        display: none;
    }
}

.story-viewer__foot {
    position: absolute;
    right: var(--aq-space-3);
    bottom: var(--aq-space-4);
    left: var(--aq-space-3);
    display: flex;
    flex-direction: column;
    gap: var(--aq-space-3);
}

.story-viewer__text {
    align-self: center;
    margin: 0;
    padding: var(--aq-space-2) var(--aq-space-4);
    border-radius: var(--aq-radius-md);
    background: rgb(11 15 30 / 80%);
    font-weight: 700;
    text-align: center;
}

.story-viewer__reactions,
.story-viewer__own {
    display: flex;
    justify-content: center;
    gap: var(--aq-space-2);
}

.story-viewer__react {
    width: var(--aq-target);
    height: var(--aq-target);
    border: 2px solid transparent;
    border-radius: 50%;
    background: rgb(11 15 30 / 60%);
    font-size: 1.375rem;
}

.story-viewer__react.is-mine {
    border-color: #ecd27a;
}

.story-viewer__views,
.story-viewer__delete {
    min-height: var(--aq-target);
    padding: 0 var(--aq-space-4);
    border: 0;
    border-radius: var(--aq-radius-pill);
    background: rgb(11 15 30 / 70%);
    color: #f2f5ff;
    font-weight: 700;
}

.story-viewer__reply {
    display: flex;
    gap: var(--aq-space-2);
}

.story-viewer__reply input {
    flex: 1;
    min-height: var(--aq-target);
    padding: 0 var(--aq-space-4);
    border: 1px solid rgb(255 255 255 / 70%);
    border-radius: var(--aq-radius-pill);
    background: transparent;
    color: #f2f5ff;
}

.story-viewer__reply button {
    width: var(--aq-target);
    border: 0;
    background: none;
    color: #f2f5ff;
    font-size: 1.25rem;
}

.story-viewer__toast {
    position: absolute;
    top: 45%;
    left: 50%;
    margin: 0;
    padding: var(--aq-space-2) var(--aq-space-4);
    border-radius: var(--aq-radius-pill);
    background: #f2f5ff;
    color: #0b1020;
    font-weight: 700;
    transform: translateX(-50%);
}

.story-viewer__sheet {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    max-height: 70%;
    padding: var(--aq-space-4);
    overflow-y: auto;
    border-radius: var(--aq-radius-xl) var(--aq-radius-xl) 0 0;
    background: #161d33;
}

.story-viewer__sheet ul {
    margin: var(--aq-space-2) 0;
    padding: 0;
    list-style: none;
}

.story-viewer__viewer {
    display: flex;
    align-items: center;
    gap: var(--aq-space-3);
    padding: var(--aq-space-2) 0;
}

.story-viewer__viewer a {
    flex: 1;
    color: #f2f5ff;
}

.story-viewer__viewer-reaction {
    font-size: 1.25rem;
}

.story-viewer__none,
.story-viewer__sheet small {
    color: #97a3c6;
}

.story-viewer__sheet-close {
    float: right;
}

/* Posting one: the preview, a line of words, who posts, and "Share to your story". */
.story-new {
    width: min(420px, calc(100vw - 32px));
    padding: var(--aq-space-5);
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius-lg);
    background: var(--aq-bg-100);
    color: var(--aq-text-100);
}

.story-new::backdrop {
    background: rgb(0 0 0 / 60%);
}

.story-new__preview {
    display: block;
    width: 100%;
    max-height: 50vh;
    margin: var(--aq-space-3) 0;
    border-radius: var(--aq-radius-md);
    background: #000;
    object-fit: contain;
}

.story-new__as {
    display: flex;
    align-items: center;
    gap: var(--aq-space-2);
    margin: var(--aq-space-3) 0 var(--aq-space-2);
}

.story-new__buttons {
    display: flex;
    justify-content: flex-end;
    gap: var(--aq-space-2);
    margin-top: var(--aq-space-3);
}

/* "Send" to several conversations (DECISIONS #543), as the app's sheet. */
.send-sheet {
    width: min(440px, calc(100vw - 32px));
    max-height: min(640px, calc(100vh - 48px));
    padding: var(--aq-space-5);
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius-lg);
    background: var(--aq-bg-100);
    color: var(--aq-text-100);
}

.send-sheet::backdrop {
    background: rgb(0 0 0 / 60%);
}

.send-sheet h3 {
    margin: 0 0 var(--aq-space-3);
}

.send-sheet .form-control {
    margin-bottom: var(--aq-space-2);
}

.send-sheet__close {
    float: right;
    width: var(--aq-target);
    height: var(--aq-target);
    border: 0;
    background: none;
    color: var(--aq-text-100);
}

.send-sheet__list {
    max-height: 360px;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    list-style: none;
}

.send-sheet__row {
    display: flex;
    align-items: center;
    gap: var(--aq-space-3);
    padding: var(--aq-space-2) 0;
}

.send-sheet__picture {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--aq-bg-300);
    object-fit: cover;
    font-weight: 700;
}

.send-sheet__name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.send-sheet__name small,
.send-sheet__none {
    color: var(--aq-text-300);
}

.send-sheet .is-sent {
    opacity: 1;
    background: var(--aq-bg-300);
    color: var(--aq-text-100);
}

/* "New story" beside "Post" (DECISIONS #544). */
.social-composer__story {
    display: inline-flex;
    align-items: center;
    gap: var(--aq-space-2);
    min-height: var(--aq-target);
    padding: 0 var(--aq-space-3);
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius-pill);
    background: transparent;
    color: var(--aq-text-100);
    font-weight: 600;
}

.social-composer__story-ring {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ffb347, #ff4d8d, #8b5cff);
    color: #fff;
    font-weight: 700;
    line-height: 1;
}
