/*
 * The community's pages other than the feed: profiles, people, communities, band and fan-club pages, venues, events,
 * Chronicles, artists, search (PageStylesheets.cs, #303).
 */

/* ==========================================================================
   Public profiles (DECISIONS #131; Figma "Profile · Band member") */
.profile__cover::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgb(13 10 26 / 10%), var(--aq-bg-100));
    content: "";
}

.profile__avatar--band {
    border: 4px solid var(--aq-accent);
}

/* The house band's wide logo inside the round frame (docs/alfar-quest-house-band-plan.md). */
.profile__avatar--logo {
    object-fit: contain;
    padding: 18px;
    background: var(--aq-bg-100);
}

.profile__name .member-badge {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.profile__handle,
.profile__follows-you {
    margin: 0;
    color: var(--aq-text-300);
    font-size: var(--aq-text-sm);
}

.profile__bio {
    margin: 0;
    font-size: 1rem;
    line-height: 26px;
}

.profile__stats a:hover strong,
.profile__stats a:focus-visible strong {
    color: var(--aq-accent-light);
}

/* ---- Feed and side panel --------------------------------------------------- */
.profile-activity__meta {
    display: flex;
    gap: 18px;
    align-items: center;
    margin: 0;
    color: var(--aq-text-300);
    font-family: var(--aq-font-primary);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.profile-activity__likes {
    display: inline-flex;
    gap: var(--aq-space-1-5);
    align-items: center;
}

.profile-people__state {
    color: var(--aq-text-300);
    font-family: var(--aq-font-primary);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-decoration: none;
}

/* ---- The profile cards (docs/profile-cards-plan.md, phase 2; Figma page 15) --- */

/* The card whose list is open in the middle column (Figma E1, E2). */
.profile-card--open {
    border-color: var(--aq-accent);
    box-shadow: inset 0 0 0 0.5px var(--aq-accent);
}

.profile-bands__text .profile-people__name {
    flex: none;
    font-family: var(--aq-font-primary);
    font-weight: 600;
}

.profile-bands__meta {
    overflow: hidden;
    color: var(--aq-text-300);
    font-size: 12.5px;
    line-height: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-panel__back {
    align-self: flex-start;
    color: var(--aq-text-300);
    font-family: var(--aq-font-primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    line-height: 20px;
    text-decoration: none;
    text-transform: uppercase;
}

.profile-panel__back:hover,
.profile-panel__back:focus-visible {
    color: var(--aq-accent-light);
}

.profile-panel__back--narrow {
    display: none;
}

.profile-panel__title {
    margin: 0;
    font-family: var(--aq-font-display);
    font-size: var(--aq-text-xl);
    font-weight: 700;
    line-height: 32px;
}

.profile-panel__count {
    color: var(--aq-text-300);
    font-family: var(--aq-font-primary);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.profile-panel__lead {
    margin: 0;
    color: var(--aq-text-300);
    font-size: var(--aq-text-sm);
    line-height: 22px;
}

.profile-panel__search input::placeholder {
    color: var(--aq-text-300);
}

.profile-panel__list {
    margin: 0;
    padding: var(--aq-space-1) var(--aq-space-6);
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius-md);
    background: var(--aq-bg-200);
    list-style: none;
}

.profile-row__meta,
.profile-row__about {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-row__meta {
    color: var(--aq-text-300);
    font-size: 13px;
    line-height: 20px;
}

.profile-row__about {
    color: var(--aq-text-200);
    font-size: var(--aq-text-sm);
    line-height: 22px;
}

@media (width < 768px) {
    /* Slides sideways with the next card peeking (Figma M0); no script. */
    .profile-highlights__track {
        display: flex;
        gap: var(--aq-space-3);
        margin-inline: calc(-1 * var(--aq-space-6));
        padding: 0 var(--aq-space-6) var(--aq-space-2);
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-padding-inline: var(--aq-space-6);
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
    }

    .profile-highlights__track > .profile-card {
        flex: 0 0 min(300px, 82vw);
        scroll-snap-align: start;
    }

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

    .profile-card--carousel {
        display: none;
    }

    .profile--panel .profile__body {
        padding-top: var(--aq-space-6);
    }

    .profile-panel__back--wide {
        display: none;
    }

    .profile-panel__back--narrow {
        display: inline;
    }

    .profile-panel__list {
        padding: var(--aq-space-1) var(--aq-space-4);
    }

    .profile-row {
        gap: var(--aq-space-3);
        padding: var(--aq-space-3) 0;
    }

    .profile-row__logo {
        border-radius: var(--aq-radius-md);
        font-size: 1.1rem;
    }

    .profile-row__about {
        display: none;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .profile-highlights__track {
        scroll-behavior: smooth;
    }
}

/* The achievements tab's three numbers. */
.profile-achievements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--aq-space-3);
}

.profile-achievements__stat {
    padding: var(--aq-space-4);
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius-md);
    background: var(--aq-bg-200);
    color: var(--aq-text-300);
    font-size: var(--aq-text-sm);
}

@media (width < 768px) {
    .profile__name,
    .profile__stats {
        justify-content: center;
    }

    .profile__stats {
        gap: var(--aq-space-4);
    }

    .profile__actions {
        justify-content: center;
    }

    .profile__tabs {
        justify-content: center;
        padding-top: var(--aq-space-6);
    }
}

.follow-list {
    max-width: 720px;
    margin: 0 auto;
    padding: var(--aq-space-12) var(--aq-space-6);
}

.follow-list__tabs {
    display: flex;
    gap: var(--aq-space-4);
    margin-bottom: var(--aq-space-6);
}

.follow-list__people {
    margin: 0;
    padding: 0;
    list-style: none;
}

.follow-list__person {
    display: flex;
    align-items: center;
    gap: var(--aq-space-3);
    padding: var(--aq-space-3) 0;
    border-bottom: 1px solid var(--aq-border);
}

/* ==========================================================================
   Notifications and the like - a heart since DECISIONS #186 (#132)
   ========================================================================== */
.comment__like {
    display: inline-flex;
    align-items: center;
    gap: var(--aq-space-1);
}

.comment__like[aria-pressed="true"] .comment__heart {
    color: var(--aq-accent);
}

/* An app update's own page. */
.app-update-page {
    max-width: 720px;
    margin: 0 auto;
    padding: var(--aq-space-8) var(--aq-space-6);
}

.app-update-page__banner {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 1;
    margin-bottom: var(--aq-space-6);
    border-radius: var(--aq-radius-lg);
    object-fit: cover;
}

.app-update-page__eyebrow {
    color: var(--aq-text-300);
    font-family: var(--aq-font-primary);
    font-size: var(--aq-text-sm);
}

.app-update-page__official {
    color: var(--aq-accent-light);
    font-weight: 600;
}

.app-update-page__title {
    font-family: var(--aq-font-display);
    font-size: var(--aq-text-2xl);
}

.app-update-page__summary {
    color: var(--aq-text-200);
    font-size: var(--aq-text-lg);
}

.app-update-page__list {
    margin-bottom: var(--aq-space-6);
}

.app-update-page__when {
    color: var(--aq-text-300);
    font-size: var(--aq-text-xs);
}

.follow-list__more {
    margin: var(--aq-space-6) 0 0;
}

/* ==========================================================================
   Following everywhere, and the people directory (DECISIONS #146) */
.people__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--aq-space-3);
    margin-bottom: var(--aq-space-4);
}

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

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

.person-card__who {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: inherit;
    text-decoration: none;
}

.person-card__avatar {
    display: grid;
    width: 64px;
    height: 64px;
    margin-bottom: var(--aq-space-2);
    place-items: center;
    border: 2px solid var(--aq-border);
    border-radius: 50%;
    background: color-mix(in srgb, var(--aq-bg-200) 80%, var(--aq-border));
    color: var(--aq-accent-light);
    font-family: var(--aq-font-display);
    font-size: 1.5rem;
    object-fit: cover;
}

.person-card__avatar--band {
    border-color: var(--aq-accent);
}

.person-card__name {
    color: var(--aq-text-100);
    font-family: var(--aq-font-primary);
    font-weight: 600;
}

.person-card__who:hover .person-card__name,
.person-card__who:focus-visible .person-card__name {
    color: var(--aq-accent-light);
}

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

/* Stays inside the card: as wide as the card at most, and a long word or link breaks (it overflowed on /people). */
.person-card__bio {
    display: -webkit-box;
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    overflow-wrap: anywhere;
    color: var(--aq-text-200);
    font-size: var(--aq-text-sm);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

/* Bands on /people (docs/alfar-quest-house-band-plan.md): a band's card among the people's. */
.people__tabs {
    display: flex;
    gap: var(--aq-space-2);
    margin-bottom: var(--aq-space-4);
}

.person-card__avatar--logo {
    padding: var(--aq-space-2);
    background: var(--aq-bg-100);
    object-fit: contain;
}

.person-card__you {
    color: var(--aq-text-300);
    font-size: var(--aq-text-sm);
}

.person-card .follow-button,
.person-card > .btn-gold {
    margin-top: auto;
}

/* ==========================================================================
   Direct messages (DECISIONS #133; Figma "Messages · Inbox", "· Mobile") */
.profile__block {
    align-self: center;
}

/* ---- Chat Groups on profiles and in the dashboards (DECISIONS #219; Figma B1-B3, C1-C4) ---- */
.dm-sender-tag--private {
    border-color: #e0475b;
    color: #ff8a9a;
}

/* ==========================================================================
   Communities (DECISIONS #148; Figma "08 · Communities") */
.communities__intro {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--aq-space-4);
    margin-bottom: var(--aq-space-12);
}

.communities__intro p {
    max-width: 640px;
    margin: 0;
    font-size: 1.05rem;
}

.communities__eyebrow {
    margin: 0 0 var(--aq-space-2);
    color: var(--aq-accent);
    font-family: var(--aq-font-primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
}

.communities__heading {
    margin: 0 0 var(--aq-space-6);
    font-family: var(--aq-font-display);
}

.communities__soon {
    margin-top: var(--aq-space-12);
    padding: var(--aq-space-4);
    border: 1px dashed var(--aq-border);
    border-radius: var(--aq-radius-md);
    color: var(--aq-text-300);
    text-align: center;
}

.communities--mine .profile__tabs {
    padding: 0;
    margin: var(--aq-space-4) 0 var(--aq-space-6);
}

/* ---- The card (Figma "Community card") ---------------------------------- */
.community-card__cover {
    display: block;
    height: 132px;
    background: var(--aq-bg-100) center 30% / cover no-repeat;
}

.community-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 0 var(--aq-space-5) var(--aq-space-5);
}

.community-card__identity {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    margin-top: -32px;
}

.community-card__avatar {
    width: 64px;
    height: 64px;
    border: 3px solid var(--aq-bg-200);
    border-radius: var(--aq-radius-lg);
    background: var(--aq-bg-100);
    object-fit: cover;
}

.community-card__name {
    margin: 0;
    font-family: var(--aq-font-display);
    font-size: 1.25rem;
    line-height: 1.4;
}

.community-card__description {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--aq-text-300);
    font-size: var(--aq-text-sm);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.community-card__meta {
    margin: 0 0 var(--aq-space-2);
    color: var(--aq-text-300);
    font-family: var(--aq-font-primary);
    font-size: 12px;
    letter-spacing: 0.5px;
}

.community-card .community-join,
.community-card .community-join__member,
.community-card > .community-card__body > .btn-gold,
.community-card .community-join__state {
    margin-top: auto;
}

.community-join {
    margin: 0;
}

.community-join__state {
    color: var(--aq-text-300);
    font-size: var(--aq-text-sm);
}

.community-join__member {
    cursor: default;
}

/* ---- The page's head (Figma "Community · Details") ---------------------- */
.community-hero__cover {
    position: relative;
    height: 260px;
    background: var(--aq-bg-200) center 30% / cover no-repeat;
}

.community-hero__cover::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgb(13 10 26 / 5%), var(--aq-bg-100));
    content: "";
}

.community-hero__identity {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 28px;
    max-width: 1128px;
    margin: -72px auto 0;
    padding: 0 var(--aq-space-6);
}

.community-hero__avatar {
    width: 132px;
    height: 132px;
    border: 3px solid var(--aq-accent);
    border-radius: var(--aq-radius-xl);
    background: var(--aq-bg-100);
    object-fit: cover;
}

.community-hero__who {
    flex: 1 1 360px;
}

.community-hero__name {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--aq-space-3);
    margin: 0 0 var(--aq-space-2);
    font-family: var(--aq-font-display);
    font-size: clamp(1.7rem, 4vw, 2.25rem);
}

.community-hero__name .member-badge {
    font-size: 11px;
    font-weight: 500;
}

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

.community-hero__description {
    max-width: 640px;
    margin: 0;
}

.community-hero__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--aq-space-2);
    padding-bottom: var(--aq-space-2);
}

.community-hero__actions form {
    margin: 0;
}

.community-hero__leave {
    padding: 0;
    border: 0;
    background: none;
    color: var(--aq-text-300);
    font-size: var(--aq-text-xs);
    text-decoration: underline;
    cursor: pointer;
}

.community-hero__notice {
    max-width: 1128px;
    margin: var(--aq-space-4) auto 0;
    padding: 0 var(--aq-space-6);
    color: var(--aq-accent-light);
}

.community__body {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: var(--aq-space-8);
    max-width: 1128px;
    margin: 0 auto;
    padding: var(--aq-space-4) var(--aq-space-6) var(--aq-space-16);
}

.community__main {
    display: flex;
    flex: 1 1 520px;
    flex-direction: column;
    gap: var(--aq-space-4);
    min-width: 0;
}

.community__text {
    margin: 0;
    white-space: pre-line;
}

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

.community__soon {
    padding: var(--aq-space-8) var(--aq-space-6);
    border: 1px dashed var(--aq-border);
    border-radius: var(--aq-radius-md);
    text-align: center;
}

.community__soon-title {
    margin: 0 0 var(--aq-space-2);
    font-family: var(--aq-font-display);
    font-size: 1.3rem;
}

.community__faces {
    display: flex;
    flex-wrap: wrap;
    gap: var(--aq-space-2);
}

.community__faces img,
.community__faces span {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    background: var(--aq-bg-100);
    color: var(--aq-accent-light);
    font-family: var(--aq-font-display);
    object-fit: cover;
}

.community__members {
    max-width: 1128px;
    margin: 0 auto;
    padding: var(--aq-space-6) var(--aq-space-6) var(--aq-space-16);
}

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

.community__people > li:last-child {
    border-bottom: 0;
}

/* ---- People in a community ---------------------------------------------- */
.community-person {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--aq-space-3);
}

.community-person__avatar {
    display: grid;
    flex: none;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    background: var(--aq-bg-100);
    color: var(--aq-accent-light);
    font-family: var(--aq-font-display);
    object-fit: cover;
}

.community-person--compact .community-person__avatar {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
}

.community-person__who {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--aq-space-2);
    min-width: 0;
}

.community-person__name {
    color: var(--aq-text-100);
    font-weight: 600;
    text-decoration: none;
}

.community-person--compact .community-person__name {
    font-size: var(--aq-text-sm);
    font-weight: 400;
}

.community-person__handle,
.community-person__since {
    color: var(--aq-text-300);
    font-size: var(--aq-text-xs);
}

.community-person__role {
    padding: 1px 10px;
    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: 11px;
}

.community-person__role.is-team {
    border-color: color-mix(in srgb, var(--aq-accent) 70%, transparent);
    color: var(--aq-accent-light);
}

/* ---- Managing ------------------------------------------------------------ */
.community-manage {
    display: flex;
    flex-direction: column;
    gap: var(--aq-space-4);
    max-width: 1128px;
    margin: 0 auto;
    padding: var(--aq-space-6) var(--aq-space-6) var(--aq-space-16);
}

.community-action {
    margin: 0;
}

.community-ban summary {
    color: var(--aq-text-300);
    font-size: var(--aq-text-sm);
    cursor: pointer;
}

.community-ban form {
    display: flex;
    gap: var(--aq-space-2);
    margin-top: var(--aq-space-2);
}

/* ---- Admin ---------------------------------------------------------------- */
@media (width < 768px) {
    .community-hero__cover {
        height: 150px;
    }

    .community-hero__identity {
        flex-direction: column;
        align-items: center;
        margin-top: -56px;
        text-align: center;
    }

    .community-hero__avatar {
        width: 96px;
        height: 96px;
        border-radius: var(--aq-radius-xl);
    }

    .community-hero__name {
        justify-content: center;
    }

    /* In a column the flex-basis would become a height. */
    .community-hero__who {
        flex: none;
    }

    .community-hero__actions {
        align-items: center;
    }

    .community-tabs {
        justify-content: center;
    }
}

/* ---- The forum (DECISIONS #149; Figma "Topic row", "Forum post") ---------- */
.communities__eyebrow--spaced {
    margin-top: var(--aq-space-12);
}

.forum-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--aq-space-3);
}

.forum-bar__search {
    flex: 1 1 220px;
    margin: 0;
}

.forum-bar__sort {
    display: flex;
    gap: var(--aq-space-1);
}

.forum-bar__sort a {
    flex: none;
    white-space: nowrap;
}

.topic-list {
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius-lg);
    background: var(--aq-bg-200);
    list-style: none;
}

.topic-row__kind {
    font-size: 18px;
    text-align: center;
}

.topic-row__main {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: var(--aq-space-1) var(--aq-space-2);
    min-width: 0;
}

.topic-row__title {
    overflow-wrap: anywhere;
    color: var(--aq-text-100);
    font-weight: 600;
    text-decoration: none;
}

.topic-row__title:hover,
.topic-row__title:focus-visible {
    color: var(--aq-primary);
    text-decoration: underline;
}

.topic-row__new,
.topic-row__hidden {
    padding: 1px var(--aq-space-2);
    border-radius: var(--aq-radius-pill);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.topic-row__new {
    background: var(--aq-primary);
    color: var(--aq-bg-100);
}

.topic-row__hidden {
    border: 1px solid var(--aq-border);
    color: var(--aq-text-300);
}

.topic-row__meta {
    flex-basis: 100%;
    color: var(--aq-text-300);
    font-size: var(--aq-text-sm);
}

.topic-row__count {
    color: var(--aq-text-100);
    font-size: var(--aq-text-sm);
    text-align: center;
}

.topic-row__last {
    color: var(--aq-text-300);
    font-size: var(--aq-text-sm);
    line-height: 1.35;
    text-align: right;
}

/* ---- A topic ---------------------------------------------------------------- */
.forum-topic__crumbs {
    color: var(--aq-text-300);
    font-size: var(--aq-text-sm);
}

.forum-topic__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--aq-space-4);
}

.forum-topic__title {
    margin: 0;
    overflow-wrap: anywhere;
    font-family: var(--aq-font-display);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.forum-topic__title > span {
    margin-right: 0.3em;
}

.forum-topic__meta {
    margin: var(--aq-space-1) 0 0;
    color: var(--aq-text-300);
    font-size: var(--aq-text-sm);
}

.forum-topic__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: var(--aq-space-2);
}

.forum-topic__tools {
    position: relative;
}

.forum-topic__tools summary {
    padding: var(--aq-space-1-5) 14px;
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius-pill);
    color: var(--aq-text-300);
    font-size: var(--aq-text-sm);
    cursor: pointer;
    list-style: none;
}

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

.forum-topic__tools > div {
    position: absolute;
    z-index: 5;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: var(--aq-space-2);
    min-width: 160px;
    margin-top: var(--aq-space-2);
    padding: var(--aq-space-3);
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius-md);
    background: var(--aq-bg-200);
    box-shadow: 0 16px 40px rgb(0 0 0 / 40%);
}

.forum-topic__notice {
    margin: 0;
}

.forum-topic__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--aq-space-3);
}

.forum-topic__spacer {
    flex: 1;
}

.forum-topic__posts {
    display: flex;
    flex-direction: column;
    gap: var(--aq-space-3);
}

.forum-topic__new {
    display: flex;
    align-items: center;
    gap: var(--aq-space-3);
    margin: var(--aq-space-2) 0;
    color: var(--aq-primary);
    font-family: var(--aq-font-primary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
}

.forum-topic__new::before,
.forum-topic__new::after {
    flex: 1;
    height: 1px;
    background: color-mix(in srgb, var(--aq-primary) 45%, transparent);
    content: "";
}

.forum-pager {
    display: flex;
    flex-wrap: wrap;
    gap: var(--aq-space-1);
}

/* ---- A post: the author's column beside the message ------------------------ */
.forum-post__author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--aq-space-1-5);
    padding: 18px var(--aq-space-3);
    border-right: 1px solid var(--aq-border);
    background: color-mix(in srgb, var(--aq-bg-100) 55%, var(--aq-bg-200));
    text-align: center;
}

.forum-post__picture {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--aq-bg-100);
    color: var(--aq-accent-light);
    font-family: var(--aq-font-primary);
    font-size: 1.5rem;
    object-fit: cover;
}

.forum-post__name {
    overflow-wrap: anywhere;
    color: var(--aq-text-100);
    font-weight: 600;
    text-decoration: none;
}

.forum-post__stats {
    color: var(--aq-text-300);
    font-size: 12px;
}

.forum-post__message {
    display: flex;
    flex-direction: column;
    gap: var(--aq-space-3);
    min-width: 0;
    padding: var(--aq-space-4) var(--aq-space-5);
}

.forum-post__meta {
    margin: 0;
    color: var(--aq-text-300);
    font-size: 12px;
}

.forum-post__edited {
    font-style: italic;
}

.forum-post__quote {
    margin: 0;
    padding: 10px 14px;
    border-left: 3px solid var(--aq-primary);
    border-radius: 0 var(--aq-radius-md) var(--aq-radius-md) 0;
    background: color-mix(in srgb, var(--aq-bg-100) 60%, transparent);
    font-size: var(--aq-text-sm);
}

.forum-post__quote p {
    margin: var(--aq-space-1) 0 0;
    color: var(--aq-text-300);
    white-space: pre-line;
}

.forum-post__quote-who {
    color: var(--aq-primary);
    font-weight: 600;
    text-decoration: none;
}

.forum-post__body {
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.forum-post__notice {
    margin: 0;
    padding: var(--aq-space-2) var(--aq-space-3);
    border-radius: var(--aq-radius);
    background: color-mix(in srgb, var(--aq-primary) 12%, transparent);
    color: var(--aq-text-100);
    font-size: var(--aq-text-sm);
}

.forum-post__gone {
    margin: 0;
    color: var(--aq-text-300);
    font-style: italic;
}

.forum-post__edit {
    display: flex;
    flex-direction: column;
    gap: var(--aq-space-2);
}

.forum-post__edit-actions {
    display: flex;
    justify-content: flex-end;
    gap: var(--aq-space-2);
}

.forum-post__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--aq-space-4);
    padding-top: var(--aq-space-2);
    border-top: 1px solid var(--aq-border);
}

.forum-post__action {
    padding: 0;
    border: 0;
    background: none;
    color: var(--aq-text-300);
    font-size: var(--aq-text-sm);
    text-decoration: none;
    cursor: pointer;
}

.forum-post__action:hover,
.forum-post__action:focus-visible {
    color: var(--aq-text-100);
    text-decoration: underline;
}

.forum-post__action.is-gold {
    color: var(--aq-primary);
    font-weight: 600;
}

.forum-post__inline {
    display: inline;
    margin: 0;
}

.forum-post__remove {
    margin-left: auto;
}

/* ---- Writing ---------------------------------------------------------------- */
.forum-reply {
    display: flex;
    flex-direction: column;
    gap: var(--aq-space-3);
    scroll-margin-top: 96px;
}

.forum-reply__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--aq-space-3);
    margin-top: var(--aq-space-2);
}

.forum-new__body {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: var(--aq-space-8);
}

.forum-new__form {
    flex: 1 1 520px;
    min-width: 0;
}

.forum-new__similar {
    margin-top: var(--aq-space-2);
    font-size: var(--aq-text-sm);
}

.held-post__body {
    padding: var(--aq-space-2) var(--aq-space-3);
    border-left: 3px solid var(--aq-primary);
    background: var(--aq-bg-100);
    overflow-wrap: anywhere;
}

.held-post__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: var(--aq-space-3);
    margin-top: var(--aq-space-2);
}

@media (width < 768px) {
    .topic-row {
        grid-template-columns: 24px minmax(0, 1fr) auto;
        gap: var(--aq-space-3);
        padding: var(--aq-space-3) 14px;
    }

    .topic-row__last {
        display: none;
    }

    .forum-bar__sort {
        overflow-x: auto;
        width: 100%;
    }

    .forum-post {
        grid-template-columns: minmax(0, 1fr);
    }

    /* On a phone the author is a line above the message. */
    .forum-post__author {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 10px 14px;
        border-right: 0;
        border-bottom: 1px solid var(--aq-border);
        text-align: left;
    }

    .forum-post__picture {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .forum-post__message {
        padding: 14px;
    }

    .forum-topic {
        padding: var(--aq-space-6) var(--aq-space-4) var(--aq-space-12);
    }
}

/* ---- Forum, phase 4 (DECISIONS #151): likes, reports, mentions, following ---- */
.forum-post__like {
    font-size: var(--aq-text-sm);
}

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

.forum-post__mention:hover,
.forum-post__mention:focus-visible {
    text-decoration: underline;
}

.forum-post__action.is-muted {
    cursor: default;
}

.forum-post__action.is-muted:hover {
    color: var(--aq-text-300);
    text-decoration: none;
}

.forum-post__report + .forum-post__remove,
.forum-post__like + .forum-post__action {
    margin-left: 0;
}

.forum-topic__follow[aria-pressed="true"] {
    border-color: var(--aq-primary);
    color: var(--aq-primary);
}

.reported-post__hidden {
    color: var(--aq-primary);
}

.reported-post__reasons {
    margin: 0 0 var(--aq-space-2);
    padding-left: 1.2em;
    color: var(--aq-text-200);
    font-size: var(--aq-text-sm);
}

.reported-post__text {
    color: var(--aq-text-300);
    overflow-wrap: anywhere;
}

.reported-post__context {
    display: flex;
    flex-direction: column;
    gap: var(--aq-space-1);
}

.reported-post__near {
    margin: 0;
    color: var(--aq-text-300);
    font-size: var(--aq-text-sm);
    overflow-wrap: anywhere;
}

.communities__followed {
    margin-bottom: var(--aq-space-8);
}

/* ---- Tabs & Playthroughs: the bell and the profile (phase 6; Figma B5) ---- */
.profile-music {
    display: grid;
    gap: var(--aq-space-4);
}

.profile-music__song {
    margin: 0 0 var(--aq-space-2);
    color: var(--aq-text-300);
    font-size: var(--aq-text-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ---- Recommendations: Spotify and YouTube (DECISIONS #184) ---- */
.social-recommend__sources {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--aq-space-4);
}

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

.social-recommend__form {
    display: flex;
    flex-direction: column;
    gap: var(--aq-space-3);
    padding: var(--aq-space-6);
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius-lg);
    background: var(--aq-bg-200);
}

.social-recommend {
    display: flex;
    flex-direction: column;
    gap: var(--aq-space-4);
    max-width: 760px;
}

.social-results__cover {
    display: grid;
    place-items: center;
    background: var(--aq-bg-100);
}

.social-results__text {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

/* ---- "Posting as", band and Fan Club timelines (Bands & Fan Clubs phase 10; Figma S06, S24, S31, M4) ---- */
.entity-follow__count {
    color: var(--aq-text-300);
    font-size: 0.9rem;
}

.track-social {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: var(--aq-space-3);
    margin: var(--aq-space-4) 0;
}

.track-social details {
    position: relative;
}

.track-social__panel {
    position: absolute;
    z-index: 20;
    top: calc(100% + var(--aq-space-2));
    left: 0;
    width: min(420px, calc(100vw - 2 * var(--aq-space-4)));
    padding: var(--aq-space-4);
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius-lg);
    background: var(--aq-bg-200);
    box-shadow: 0 16px 40px rgb(0 0 0 / 0.45);
}

.track-social__links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--aq-space-2);
    margin-top: var(--aq-space-3);
}

.track-score {
    display: flex;
    flex-wrap: wrap;
    gap: var(--aq-space-1);
    margin: var(--aq-space-3) 0;
    padding: 0;
    border: 0;
}

.track-score label {
    position: relative;
}

.track-score input {
    position: absolute;
    opacity: 0;
}

.track-score span {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--aq-border);
    border-radius: 50%;
    font-size: 0.8rem;
    cursor: pointer;
}

.track-score input:checked + span {
    border-color: var(--aq-accent);
    background: var(--aq-accent);
    color: var(--aq-bg-100);
}

.track-score input:focus-visible + span {
    outline: 2px solid var(--aq-accent);
    outline-offset: 2px;
}

.track-rating__average {
    margin: 0;
    font-family: var(--aq-font-display);
    font-size: 1.5rem;
}

/* ==========================================================================
   Events (docs/events-venues-plan.md, phase 1; Figma page 21, E01–E04):
   the card, the list, the event's page, the five-step form and its parts.
   The same surfaces, pills and gold as the band pages.
   ========================================================================== */
.events-page__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--aq-space-4);
}

.event-card__poster {
    display: block;
    aspect-ratio: 16 / 9;
    background: var(--aq-bg-300);
}

/* The event's page (E02). */
.event-detail__cover {
    max-height: 360px;
    overflow: hidden;
    background: var(--aq-bg-300);
}

.event-detail__wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: var(--aq-space-8) var(--aq-space-6) var(--aq-space-16);
}

.event-detail__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--aq-space-6);
    margin-bottom: var(--aq-space-8);
}

.event-detail__headline {
    flex: 1 1 520px;
}

.event-detail__title {
    margin: 0 0 var(--aq-space-4);
    font-family: var(--aq-font-display);
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.1;
}

.event-detail__line {
    display: flex;
    gap: var(--aq-space-2);
    align-items: flex-start;
    margin: 0 0 var(--aq-space-2);
    color: var(--aq-text-100);
}

.event-detail__line svg {
    flex: none;
    margin-top: 3px;
    color: var(--aq-accent);
}

.event-detail__by {
    margin: var(--aq-space-3) 0 0;
    color: var(--aq-text-300);
    font-size: var(--aq-text-sm);
}

.event-detail__actions {
    display: flex;
    gap: var(--aq-space-3);
}

.event-detail__text {
    white-space: pre-line;
}

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

.event-detail__map {
    font-size: var(--aq-text-sm);
}

/* Events' own heading, eyebrow, intro, filters and kind chips (the artists' ones are scoped to their pages). */
.events-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--aq-space-12) var(--aq-space-6) var(--aq-space-16);
}

.event-typechips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--aq-space-2);
    margin-bottom: var(--aq-space-8);
}

.event-typechip {
    padding: var(--aq-space-1-5) 14px;
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius-pill);
    color: var(--aq-text-100);
    font-family: var(--aq-font-primary);
    font-size: var(--aq-text-sm);
    text-decoration: none;
}

.event-empty {
    padding: var(--aq-space-12) 0;
    color: var(--aq-text-300);
    text-align: center;
}

.event-detail__price {
    font-size: var(--aq-text-xl);
}

/* Events, phase 2: filters, calendar, gallery, the social bar, answers, the card in the feed, invitations. */
.event-filterbox {
    display: grid;
    gap: var(--aq-space-3);
    margin: var(--aq-space-6) 0 var(--aq-space-4);
    padding: var(--aq-space-4);
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius-md);
    background: var(--aq-bg-200);
}

.event-filterbox__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--aq-space-3);
}

.event-filterbox__search {
    flex: 3 1 280px !important;
}

.event-filterbox__check {
    margin: 0;
    font-size: var(--aq-text-sm);
}

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

.event-viewbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--aq-space-3);
    margin-bottom: var(--aq-space-4);
}

.event-toggle {
    display: inline-flex;
    gap: var(--aq-space-1);
    padding: var(--aq-space-1);
    border: 1px solid var(--aq-border-strong);
    border-radius: var(--aq-radius-pill);
    background: var(--aq-bg-200);
}

.event-toggle a {
    padding: var(--aq-space-1-5) 14px;
    border-radius: var(--aq-radius-pill);
    color: var(--aq-text-300);
    font-family: var(--aq-font-primary);
    font-size: var(--aq-text-sm);
    text-decoration: none;
}

.event-toggle a.is-current {
    background: var(--aq-primary);
    color: var(--aq-primary-foreground);
}

.event-calnav {
    display: flex;
    gap: var(--aq-space-2);
    margin-bottom: var(--aq-space-3);
}

.event-calendar {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius-md);
    background: var(--aq-border);
}

.event-calendar__head {
    padding: var(--aq-space-2) 10px;
    background: var(--aq-bg-200);
    color: var(--aq-text-300);
    font-family: var(--aq-font-primary);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
}

.event-calendar__day {
    display: flex;
    flex-direction: column;
    gap: var(--aq-space-1);
    min-height: 112px;
    padding: var(--aq-space-2);
    background: var(--aq-bg-100);
}

.event-calendar__day.is-today {
    background: var(--aq-bg-300);
}

.event-calendar__day.is-today .event-calendar__n {
    color: var(--aq-accent);
}

.event-calendar__n {
    font-family: var(--aq-font-primary);
    font-size: var(--aq-text-sm);
    font-weight: 500;
}

.event-calendar__event {
    overflow: hidden;
    padding: 3px var(--aq-space-2);
    border-radius: var(--aq-radius);
    background: var(--aq-primary);
    color: var(--aq-primary-foreground);
    font-size: 12px;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.event-calendar__event--gold {
    background: var(--aq-accent);
    color: var(--aq-bg-100);
}

.event-calendar__event--cancelled {
    background: var(--aq-bg-300);
    color: var(--aq-text-300);
    text-decoration: line-through;
}

.event-calendar__more {
    color: var(--aq-text-300);
    font-size: 12px;
}

.event-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--aq-space-4);
    margin: calc(-1 * var(--aq-space-2)) 0 var(--aq-space-6);
}

.event-social .social-heart {
    color: var(--aq-text-100);
}

.event-comments {
    margin-top: var(--aq-space-6);
}

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

.event-grid--past .event-card {
    opacity: 0.8;
}

@media (max-width: 860px) {
    .event-calendar__day {
        min-height: 72px;
        padding: var(--aq-space-1);
    }

    .event-calendar__event {
        padding: 2px var(--aq-space-1);
        font-size: 10px;
    }
}

/* ==========================================================================
   Band signup wizard (docs/band-signup-wizard-plan.md, phase 4; Figma page 20: */

/* Venues (docs/events-venues-plan.md, phase 4; Figma V07): "Visit", with a link to the visitor's maps app. */
.venue-visit__map {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--aq-space-1-5);
    min-height: 96px;
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius);
    background: var(--aq-bg-100, transparent);
    color: var(--aq-accent-light);
    text-decoration: none;
    font-size: 0.9rem;
}

.venue-visit__map span[aria-hidden="true"] {
    font-size: 1.5rem;
}

.venue-visit__map:hover,
.venue-visit__map:focus-visible {
    border-color: var(--aq-primary);
}

.venue-visit__lines {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--aq-space-2);
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.venue-visit__label {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.7;
}

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

/* The viewer: one picture per 9:16 frame, swiped sideways, the whole picture shown. */
.venue-viewer {
    display: grid;
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: var(--aq-space-6);
    align-items: start;
}

@media (max-width: 900px) {
    .venue-viewer {
        grid-template-columns: minmax(0, 1fr);
    }
}

.venue-viewer__frames {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0;
    border-radius: var(--aq-radius);
    background: #000;
}

.venue-viewer__frame {
    flex: 0 0 100%;
    aspect-ratio: 9 / 16;
    scroll-snap-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.venue-viewer__count {
    margin: var(--aq-space-2) 0 0;
    text-align: center;
    color: var(--aq-text-300);
    font-size: 0.85rem;
}

/* Chronicles (events-venues phase 7; Figma C12–C16): vertical 9:16 like Reels. Nothing plays in a grid. */
.chronicles-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--aq-space-6) var(--aq-space-4) var(--aq-space-12);
}

.chronicles-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--aq-space-2);
    margin-bottom: var(--aq-space-5);
}

.chronicles-filters .form-control {
    flex: 1 1 240px;
}

.chronicles-filters .form-select {
    flex: 0 1 260px;
}

.chronicles-page__more {
    margin-top: var(--aq-space-5);
    text-align: center;
}

.chronicle-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--aq-space-1-5);
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (max-width: 960px) {
    .chronicle-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

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

.chronicle-grid__link {
    position: relative;
    display: block;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: var(--aq-radius);
    background: var(--aq-bg-200);
    color: #fff;
    text-decoration: none;
}

.chronicle-grid__pin {
    left: 8px;
}

.chronicle-grid__meta {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: var(--aq-space-8) 10px 10px;
    background: linear-gradient(transparent, rgb(0 0 0 / 80%));
    font-size: 0.8rem;
    line-height: 1.25;
}

.chronicle-grid__title {
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.chronicle-grid__owner,
.chronicle-grid__counts {
    opacity: 0.85;
}

.chronicle-grid__empty {
    color: var(--aq-text-300);
}

/* The player: one Reel per screen, snapping; beside it its words, hearts and comments (under it on a phone). */
.chronicle-player-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: var(--aq-space-4) var(--aq-space-4) var(--aq-space-12);
}

.chronicle-player {
    display: grid;
    grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.chronicle-reel {
    position: relative;
    height: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chronicle-reel__video {
    width: 100%;
    height: 100%;
    max-height: 100%;
    aspect-ratio: 9 / 16;
    object-fit: contain;
    background: #000;
}

.chronicle-reel__caption {
    position: absolute;
    z-index: 1;
    inset: auto 56px 6px 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: var(--aq-space-6) 14px var(--aq-space-2);
    background: linear-gradient(transparent, rgb(0 0 0 / 70%));
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    pointer-events: auto;
}

.chronicle-reel__title {
    font-weight: 600;
}

.chronicle-reel__open {
    opacity: 0.85;
    text-decoration: underline;
}

.chronicle-player__title {
    font-size: 1.4rem;
    margin: 0 0 var(--aq-space-1);
}

.chronicle-player__facts {
    color: var(--aq-text-300);
    font-size: 0.9rem;
    margin-bottom: var(--aq-space-3);
}

@media (max-width: 900px) {
    .chronicle-player {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* The band's dashboard (Figma C15): each Chronicle with its poster and what can be done with it. */
.chronicle-manage {
    display: grid;
    gap: var(--aq-space-3);
    margin: var(--aq-space-4) 0 0;
    padding: 0;
    list-style: none;
}

/* --- Group chats, phase 6: one navigation on every page of a group (docs/chat-radio-plan.md) --- */
.chronicle-reel .aq-video {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
}

.chronicle-reel .aq-video__media {
    object-fit: contain;
}

/* ---- The feed's own track player (DECISIONS #285; Figma page 29, Feed/Track player) ---- */

/* A venue's photo albums by event (Figma page 21, section S). */
.venue-albums {
    display: flex;
    flex-wrap: wrap;
    gap: var(--aq-space-2);
    margin: 0 0 var(--aq-space-4);
}

.venue-albums__chip {
    padding: var(--aq-space-1-5) 14px;
    border-radius: var(--aq-radius-pill);
    background: var(--aq-bg-200);
    color: var(--aq-text-100);
    font-size: 0.85rem;
    text-decoration: none;
}

.venue-albums__chip.is-current {
    background: var(--aq-accent-light);
    color: #10142a;
    font-weight: 600;
}

.venue-viewer__album {
    margin: 0 0 10px;
    color: var(--aq-text-300);
    font-size: 0.9rem;
}

.venue-viewer__move {
    margin-top: 10px;
}

.venue-viewer__move > summary {
    cursor: pointer;
    color: var(--aq-accent-light);
}

#event-night-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ---- Edge to edge on a phone (05/11/2026) ---- */
@media (max-width: 767.98px) {
    /* The highlights' row ran under the profile's 24px; now under its 12px. */
    .profile-highlights__track:not(#aq-edge) {
        margin-inline: -12px;
        padding-inline: var(--aq-space-3);
        scroll-padding-inline: 12px;
    }
}

/* ---- Feed shell and feed card (Carlos, 05/11/2026; Figma page 36 "Feed no celular", A1 and E1) ---- */
.feed-shell--grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--aq-space-4);
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Lists that were one bordered box with rows inside (topics, the follow lists) are a column of cards now. */
.topic-list.feed-shell,
.profile-panel__list.feed-shell {
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
}

/* A directory card's surface moves from its link (the pages' scoped styles) to the card itself; the three-class
   selectors outrank the scoped ones, which are linked after app.css. */
.feed-card.artist-card {
    overflow: hidden;
}

.feed-card.artist-card > .artist-card__link {
    border: 0;
    border-radius: 0;
    background: transparent;
}

.feed-card.artist-card:hover,
.feed-card.artist-card:focus-within {
    border-color: var(--aq-accent);
}

@media (max-width: 767.98px) {
    /* A grid is one column of edge-to-edge cards on a phone; the grid itself reaches over the page's side room. */
    .feed-shell--grid.feed-shell {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--aq-space-2);
        margin-inline: calc(-1 * var(--aq-feed-gutter));
    }

    .feed-shell--grid > .feed-card {
        margin-inline: 0;
    }

    /* A card with a cover keeps the cover edge to edge; its words are 14px in from the side, like a post's. */
    .feed-shell > .event-card,
    .feed-shell > .community-card,
    .feed-shell > .artist-card {
        padding-inline: 0;
    }

    .feed-shell > .event-card .event-card__body,
    .feed-shell > .community-card .community-card__body,
    .feed-card.artist-card .artist-card__body {
        padding-inline: var(--aq-feed-inset);
    }
}

/* ---- A profile's Galeria (TASK 03 phase 3; docs/gallery-grid-plan.md; Figma page 47, Concept C "Galeria do Reino") ----
   Every tile the same 4:5 shape, the picture cut at the centre by the page only. Three across on a phone (4px apart,
   6px corners), three beside the profile's side on a computer and four where the column is wide (12px, 10px corners).
   The kind's gold badge in the top corner; on a computer the pointer brings a gold frame with an inner glow, the title in
   Cinzel and the counts. Only border, shadow and opacity change: nothing heavy for a phone. The tile's own ground is
   the placeholder while its picture comes, and a row of placeholders shows while the next page comes. */
.profile__tab--gallery {
    display: inline-flex;
    align-items: center;
    gap: var(--aq-space-1-5);
}

.profile__feed:has(> .gallery-grid) {
    container: gallery / inline-size;
}

.gallery-grid,
.gallery-grid__placeholders {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--aq-space-1);
}

.gallery-tile {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border-radius: var(--aq-radius);
    background: linear-gradient(160deg, var(--aq-feed-card), var(--aq-feed-card-2));
    color: #fff;
    text-decoration: none;
}

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

.gallery-tile__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.gallery-tile--words {
    background: linear-gradient(170deg, #2a1f4a, #14102a);
}

.gallery-tile__words {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10% 9%;
}

.gallery-tile__quote {
    color: var(--aq-accent);
    font-family: var(--aq-font-display);
    font-size: clamp(18px, 6cqi, 34px);
    line-height: 1;
}

.gallery-tile__text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    color: var(--aq-feed-text);
    font-family: var(--aq-font-primary);
    font-size: clamp(11px, 3.2cqi, 15px);
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.gallery-tile__badge {
    position: absolute;
    top: 6px;
    right: 6px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 5px;
    border-radius: var(--aq-radius-sm);
    background: var(--aq-accent);
    color: var(--aq-bg-100);
    font-family: var(--aq-font-primary);
    font-size: 10px;
    font-weight: 600;
    line-height: 12px;
}

.gallery-tile__icon {
    width: 12px;
    height: 12px;
    flex: none;
}

.gallery-tile--chronicle::after {
    position: absolute;
    inset: auto 0 0;
    height: 40%;
    background: linear-gradient(to bottom, transparent, rgb(0 0 0 / 60%));
    content: "";
    pointer-events: none;
}

.gallery-tile__plays {
    position: absolute;
    bottom: 6px;
    left: 7px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-family: var(--aq-font-primary);
    font-size: 11px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgb(0 0 0 / 60%);
}

.gallery-tile__held {
    position: absolute;
    top: 6px;
    left: 6px;
    padding: 2px var(--aq-space-1-5);
    border-radius: var(--aq-radius-pill);
    background: rgb(5 7 13 / 75%);
    color: var(--aq-feed-text-2);
    font-size: 10px;
    line-height: 14px;
}

.gallery-tile.is-held > .gallery-tile__media {
    opacity: 0.55;
}

/* The pointer's frame, title and counts: only where there is a pointer that hovers. */
.gallery-tile__hover {
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .gallery-tile__hover {
        position: absolute;
        inset: 0;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        gap: var(--aq-space-1);
        padding: var(--aq-space-3);
        border: 2px solid var(--aq-accent);
        border-radius: inherit;
        background: rgb(5 7 13 / 35%);
        box-shadow: inset 0 0 22px color-mix(in srgb, var(--aq-accent) 45%, transparent);
        opacity: 0;
        transition: opacity var(--aq-transition);
    }

    .gallery-tile:hover > .gallery-tile__hover,
    .gallery-tile:focus-visible > .gallery-tile__hover {
        opacity: 1;
    }

    /* The counts take the bottom: a Chronicle's plays step aside while they show. */
    .gallery-tile:hover > .gallery-tile__plays,
    .gallery-tile:focus-visible > .gallery-tile__plays {
        opacity: 0;
    }
}

.gallery-tile__caption {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-family: var(--aq-font-display);
    font-size: 13px;
    font-weight: 700;
    line-height: 17px;
}

.gallery-tile__counts {
    display: flex;
    gap: 14px;
    font-family: var(--aq-font-primary);
    font-size: 12px;
}

.gallery-tile__counts > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* "Load more": the real next page; while a page comes, a row of placeholders in the tiles' shape. */
.gallery-grid__more {
    grid-column: 1 / -1;
    display: grid;
    justify-items: center;
    gap: var(--aq-space-1);
    padding: 14px 0;
    color: var(--aq-feed-text-2);
    font-family: var(--aq-font-primary);
    font-size: 13px;
    text-decoration: none;
}

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

.gallery-grid__placeholders {
    display: none;
    width: 100%;
}

.gallery-grid__more[aria-busy="true"] {
    padding-top: 0;
}

.gallery-grid__placeholder {
    aspect-ratio: 4 / 5;
    border-radius: var(--aq-radius);
    background: linear-gradient(160deg, var(--aq-feed-card), var(--aq-feed-card-2));
    animation: gallery-pulse 1.4s ease-in-out infinite;
}

@keyframes gallery-pulse {
    50% {
        opacity: 0.55;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-grid__placeholder {
        animation: none;
    }

    .gallery-tile__hover {
        transition: none;
    }
}

@media (min-width: 768px) {
    .gallery-grid,
    .gallery-grid__placeholders {
        gap: var(--aq-space-3);
    }

    .gallery-tile,
    .gallery-grid__placeholder {
        border-radius: var(--aq-radius-md);
    }

    .gallery-tile__badge {
        top: 8px;
        right: 8px;
        padding: 3px 7px 3px var(--aq-space-1-5);
    }
}

/* Four across where the column is wide: the profile without its side, a large screen. */
@container gallery (min-width: 880px) {
    .gallery-grid,
    .gallery-grid__placeholders {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ---- A Galeria's post, open (TASK 03 phase 4; docs/gallery-grid-plan.md; Figma page 47, Concept C "Post aberto") ----
   Its own page on a phone: the pictures as a carousel above the post's card and comments, the posts on either side as
   two round arrows under them. On a computer the same viewer opens over the grid in a dialog: the pictures (at most
   560px wide) beside the card and comments, which scroll on their own, and the arrows at the screen's edges. */
.gallery-viewer-page {
    max-width: 1128px;
    margin: 0 auto;
    padding: var(--aq-space-4) var(--aq-space-4) var(--aq-space-8);
}

.gallery-viewer--words {
    max-width: 640px;
    margin: 0 auto;
}

.gallery-viewer__media {
    position: relative;
    overflow: hidden;
    border-radius: var(--aq-feed-media-radius);
    background: #000;
}

.gallery-viewer__frames {
    display: flex;
    overflow-x: auto;
    aspect-ratio: 4 / 5;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}

.gallery-viewer__frames::-webkit-scrollbar {
    display: none;
}

.gallery-viewer__frame {
    display: grid;
    flex: 0 0 100%;
    place-items: center;
    margin: 0;
    scroll-snap-align: start;
}

.gallery-viewer__frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-viewer__arrow {
    position: absolute;
    top: 50%;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    padding: 0 0 3px;
    border: 0;
    border-radius: 50%;
    background: rgb(255 255 255 / 85%);
    color: #111;
    font-size: 24px;
    line-height: 1;
    transform: translateY(-50%);
}

.gallery-viewer__arrow--back {
    left: 10px;
}

.gallery-viewer__arrow--next {
    right: 10px;
}

.gallery-viewer__arrow:focus-visible,
.gallery-viewer__step:focus-visible,
.gallery-dialog__close:focus-visible {
    outline: 2px solid var(--aq-accent);
    outline-offset: 2px;
}

.gallery-viewer__count {
    position: absolute;
    top: 12px;
    right: 12px;
    margin: 0;
    padding: 3px 9px;
    border-radius: var(--aq-radius-pill);
    background: rgb(5 7 13 / 65%);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
}

.gallery-viewer__dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    display: flex;
    align-items: center;
    gap: var(--aq-space-1-5);
    margin: 0;
    transform: translateX(-50%);
}

.gallery-viewer__dots > span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgb(255 255 255 / 60%);
}

.gallery-viewer__dots > span.is-current {
    width: 8px;
    height: 8px;
    background: var(--aq-accent);
}

.gallery-viewer__side {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: var(--aq-space-4);
}

.gallery-viewer__steps {
    display: flex;
    justify-content: space-between;
    grid-column: 1 / -1;
}

.gallery-viewer__step {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    padding-bottom: 3px;
    border: 1px solid var(--aq-feed-border);
    border-radius: 50%;
    background: var(--aq-feed-card);
    color: var(--aq-feed-text);
    font-size: 26px;
    line-height: 1;
    text-decoration: none;
}

.gallery-viewer__step--next {
    margin-left: auto;
}

.gallery-viewer__step:hover {
    border-color: var(--aq-accent);
}

@media (min-width: 992px) {
    .gallery-viewer--media {
        grid-template-columns: minmax(0, 560px) minmax(320px, 1fr);
        align-items: start;
    }
}

/* The dialog over the grid, on a computer. */
html.has-gallery-dialog {
    overflow: hidden;
}

.gallery-dialog {
    width: min(1100px, calc(100vw - 160px));
    max-width: none;
    max-height: none;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    color: inherit;
}

.gallery-dialog::backdrop {
    background: rgb(5 7 13 / 82%);
}

.gallery-dialog[aria-busy="true"] .gallery-dialog__body:empty {
    height: min(700px, 86vh);
    border-radius: var(--aq-radius-lg);
    background: linear-gradient(160deg, var(--aq-feed-card), var(--aq-feed-card-2));
}

.gallery-dialog__close {
    position: fixed;
    top: 16px;
    right: 22px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 34px;
    line-height: 1;
}

.gallery-dialog .gallery-viewer--media {
    grid-template-columns: auto minmax(320px, 1fr);
}

.gallery-dialog .gallery-viewer--words .gallery-viewer__side {
    max-height: 86vh;
}

.gallery-dialog .gallery-viewer__step {
    position: fixed;
    top: 50%;
    z-index: 1;
    border-color: transparent;
    background: rgb(255 255 255 / 12%);
    color: #fff;
    transform: translateY(-50%);
}

.gallery-dialog .gallery-viewer__step--back {
    left: 24px;
}

.gallery-dialog .gallery-viewer__step--next {
    right: 24px;
}

/* The comments beside the pictures: their heading at the side's scale, in the viewer on any screen. */
.gallery-viewer__side .comments {
    padding: 0;
}

.gallery-viewer__side .comments .section-heading {
    margin-bottom: var(--aq-space-3);
    text-align: left;
}

.gallery-viewer__side .section-heading .section-heading__eyebrow,
.gallery-viewer__side .section-heading .section-heading__divider {
    display: none;
}

.gallery-viewer__side .section-heading .section-heading__title {
    margin: 0;
    font-size: 18px;
    line-height: 24px;
}

/* ---- A profile on a phone (Figma page 48, "Perfil no celular") ------------------------------------------------- */
.profile__more,
.profile__tab-name,
.profile__tab-icon--phone {
    display: none;
}

@media (width < 768px) {
    .profile__more {
        position: absolute;
        z-index: 3;
        top: 12px;
        right: 12px;
        display: block;
    }

    .profile__more-button {
        display: grid;
        width: 38px;
        height: 38px;
        place-items: center;
        border-radius: 50%;
        background: rgb(5 7 13 / 60%);
        color: #fff;
        cursor: pointer;
        list-style: none;
    }

    .profile__more-button::-webkit-details-marker {
        display: none;
    }

    .profile__more-menu {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        display: flex;
        width: min(300px, calc(100vw - 32px));
        flex-direction: column;
        gap: 2px;
        padding: var(--aq-space-2);
        border: 1px solid var(--aq-border);
        border-radius: var(--aq-radius-lg);
        background: var(--aq-bg-200);
        box-shadow: 0 12px 32px rgb(0 0 0 / 45%);
    }

    .profile__more-item {
        display: flex;
        align-items: center;
        gap: var(--aq-space-3);
        width: 100%;
        padding: var(--aq-space-3) 10px;
        border: 0;
        border-radius: var(--aq-radius-md);
        background: none;
        color: var(--aq-text-100);
        font: inherit;
        font-size: 15px;
        font-weight: 600;
        text-align: start;
        text-decoration: none;
        cursor: pointer;
    }

    .profile__more-item:hover,
    .profile__more-item:focus-visible {
        background: color-mix(in srgb, var(--aq-accent) 12%, transparent);
        color: var(--aq-text-100);
    }

    .profile__more-about {
        display: flex;
        flex-direction: column;
        gap: var(--aq-space-1-5);
        padding: 10px;
        border-block: 1px solid var(--aq-border);
    }

    .profile__more-title {
        margin: 0;
        color: var(--aq-accent);
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

    .profile__more-bio,
    .profile__more-band {
        margin: 0;
        color: var(--aq-text-200, var(--aq-text-100));
        font-size: 14px;
        line-height: 20px;
        overflow-wrap: anywhere;
    }

    :is(.profile:not(.artist-profile), .profile.band-profile) .profile__stats strong {
        margin: 0;
        font-size: 17px;
        letter-spacing: 0;
    }

    :is(.profile:not(.artist-profile), .profile.band-profile) .profile__identity > :not(.profile__avatar, .profile__stats),
    :is(.profile:not(.artist-profile), .profile.band-profile) .profile__who > :not(.profile__stats) {
        grid-column: 1 / -1;
    }

    :is(.profile:not(.artist-profile), .profile.band-profile) .profile__name {
        justify-content: flex-start;
        margin-top: var(--aq-space-1-5);
        font-size: 1.4rem;
    }

    :is(.profile:not(.artist-profile), .profile.band-profile) .profile__actions {
        justify-content: flex-start;
        padding-bottom: 0;
    }

    /* The open tab's name, small, on the line above the icons. */
    .profile__tab-name {
        display: block;
        margin: 18px 0 0;
        color: var(--aq-accent);
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 2px;
        line-height: 14px;
        text-align: center;
        text-transform: uppercase;
    }

    /* A band with every tab (eleven of 52px) is wider than a phone: the row scrolls inside itself, and holds the
       tabs' hidden words too, which would otherwise widen the page from outside it (#253). */
    .profile__tabs,
    .profile__tabs.band-tabs {
        position: relative;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 0;
        padding: 2px 0 0;
        overflow-x: auto;
        border-bottom: 1px solid var(--aq-border);
        scrollbar-width: none;
    }

    .profile__tabs .profile__tab.is-current {
        border-bottom-color: var(--aq-accent);
        color: var(--aq-accent);
    }

    /* The words stay for a screen reader. */
    .profile__tab-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    /* A band's tab already says its name above; on a phone the small line does. */
    .band-tab > #band-tab-title {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}

/* ---- A Chronicle's cover from a scene of its video (Figma page 49) ---------------------------------------------- */
@media (width < 768px) {
    .profile.band-profile .band-head__links {
        justify-content: flex-start;
    }

    .profile.band-profile .band-head__actions {
        align-self: start;
    }

    .profile__more-menu form {
        margin: 0;
    }
}

/* ---- A band's Merchandise on its page (TASK 01, phase 4; Figma page 52, Concept C) -------------------------------
   The gold-outline "Merchandise" button beside Seguir, the Galeria's row of products, the tab (featured, the categories as
   pills, the grid) and a product's page: its photos, price, "Comprar agora ↗" and more of the band's. On a phone the
   tab's grid is two across and the product's button stays at the bottom of the screen. */
.band-head__merch {
    display: inline-flex;
    align-items: center;
    gap: var(--aq-space-2);
}

.band-head__merch svg {
    width: 16px;
    height: 16px;
}

.merch-intro {
    margin: 0 0 18px;
    color: var(--aq-text-200, var(--aq-text-100));
}

.merch-subtitle {
    margin-bottom: var(--aq-space-3);
}

.merch-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--aq-space-2);
    margin: 0 0 18px;
}

.merch-filter {
    padding: 7px 14px;
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius-pill);
    color: var(--aq-text-100);
    font-size: 13px;
    text-decoration: none;
}

.merch-filter:hover,
.merch-filter:focus-visible {
    border-color: var(--aq-accent);
    color: var(--aq-text-100);
}

.merch-filter.is-current {
    border-color: var(--aq-accent);
    background: var(--aq-accent);
    color: #14110a;
}

.merch-empty-public {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--aq-space-2);
    padding: var(--aq-space-10) var(--aq-space-5);
    border: 1px dashed var(--aq-border);
    border-radius: var(--aq-radius-md);
    text-align: center;
}

.merch-empty-public svg {
    width: 40px;
    height: 40px;
    color: var(--aq-accent);
}

.merch-empty-public__title {
    margin: 0;
    font-family: var(--aq-font-display);
    font-size: 20px;
}

.merch-strip__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--aq-space-3);
    margin-bottom: var(--aq-space-3);
}

.merch-strip__head a {
    color: var(--aq-accent);
    font-size: 13px;
    text-decoration: none;
}

.merch-strip__row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

@media (width < 768px) {
    .merch-strip__row {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .merch-strip__row > .bm-card {
        flex: 0 0 42%;
        scroll-snap-align: start;
    }

    .merch-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .merch-filter {
        flex: none;
    }
}

/* The Merchandise tab stands out a little (Concept C): gold outline on a computer, a gold dot under its icon on a phone. */
.profile__tabs .band-tabs__merch:not(.is-current) {
    border-color: var(--aq-accent);
    color: var(--aq-accent);
}

@media (width < 768px) {
    .profile__tabs .band-tabs__merch {
        position: relative;
    }

    .profile__tabs .band-tabs__merch:not(.is-current)::after {
        position: absolute;
        bottom: 4px;
        left: 50%;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--aq-accent);
        content: "";
        transform: translateX(-50%);
    }
}

/* ---- Giveaways, as a fan reads them (docs/giveaways/phase-3-plan.md; Figma page 65, A4 to A7, variation A) ----
   The checklist is a path (Figma page 68, "Forma 2 · Trilha"): a ring with the count, one node per task joined by a
   line (done green, the next one gold, later ones outlined), the friends that count as pills, and the entry to the
   draw as the last node. Drawn on the giveaway's page and on "My giveaways" (the profile), both pages of this area. */
.gw-path {
    display: grid;
    gap: var(--aq-space-4);
    min-width: 0;
}

.gw-path__head {
    display: flex;
    gap: var(--aq-space-3);
    align-items: center;
}

.gw-path__ring {
    display: grid;
    flex: none;
    place-items: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background:
        radial-gradient(closest-side, var(--aq-bg-200) 80%, transparent 82%),
        conic-gradient(var(--aq-accent) calc(var(--gw-progress, 0) * 1%), var(--aq-border) 0);
    color: var(--aq-text-100);
    font-family: var(--aq-font-display);
    font-size: var(--aq-text-sm);
    font-weight: 700;
}

.gw-path--in .gw-path__ring {
    background:
        radial-gradient(closest-side, var(--aq-bg-200) 80%, transparent 82%),
        conic-gradient(var(--aq-success) 100%, var(--aq-border) 0);
}

.gw-path__title {
    margin: 0;
    color: var(--aq-text-100);
    font-family: var(--aq-font-display);
    font-size: var(--aq-text-lg);
}

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

.gw-path__blocked {
    margin: 0;
    padding: var(--aq-space-3) var(--aq-space-4);
    border: 1px solid var(--aq-warning);
    border-radius: var(--aq-radius-md);
    color: var(--aq-warning-text);
    font-size: var(--aq-text-sm);
}

.gw-path__blocked a {
    display: flex;
    align-items: center;
    width: fit-content;
    min-height: var(--aq-target);
    color: var(--aq-accent-light);
}

.gw-path__steps {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gw-step {
    position: relative;
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: var(--aq-space-3);
    padding-bottom: var(--aq-space-5);
}

/* The line to the next node. */
.gw-step::before {
    position: absolute;
    top: 2rem;
    bottom: 0;
    left: calc(1rem - 1px);
    width: 2px;
    background: var(--aq-border);
    content: "";
}

.gw-step--done::before {
    background: var(--aq-success);
}

.gw-step:last-child {
    padding-bottom: 0;
}

.gw-step:last-child::before {
    content: none;
}

.gw-step__node {
    z-index: 1;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border: 2px solid var(--aq-border-strong);
    border-radius: 50%;
    background: var(--aq-bg-200);
    color: var(--aq-text-300);
    font-size: var(--aq-text-sm);
    font-weight: 700;
}

.gw-step--done .gw-step__node {
    border-color: var(--aq-success);
    background: var(--aq-success);
    color: var(--aq-bg-100);
}

.gw-step--next .gw-step__node {
    border-color: var(--aq-accent);
    background: var(--aq-accent);
    color: var(--aq-bg-100);
}

.gw-step--gone .gw-step__node {
    border-style: dashed;
}

.gw-step--gate .gw-step__node {
    border-color: var(--aq-accent);
}

.gw-step--open .gw-step__node {
    border-color: var(--aq-success);
    background: color-mix(in srgb, var(--aq-success) 22%, var(--aq-bg-200));
}

.gw-step__body {
    display: grid;
    gap: var(--aq-space-2);
    justify-items: start;
    min-width: 0;
    padding-top: var(--aq-space-1);
}

.gw-step__title {
    margin: 0;
    color: var(--aq-text-100);
    font-weight: 600;
    overflow-wrap: anywhere;
}

.gw-step--todo .gw-step__title {
    color: var(--aq-text-200);
    font-weight: 500;
}

.gw-step--gone .gw-step__title {
    color: var(--aq-text-300);
    font-weight: 500;
}

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

.gw-step--done .gw-step__note,
.gw-step--open .gw-step__note {
    color: var(--aq-success-text);
}

.gw-step__slots {
    display: flex;
    flex-wrap: wrap;
    gap: var(--aq-space-2);
    margin: 0;
    padding: 0;
    list-style: none;
}

.gw-slot {
    display: inline-flex;
    gap: var(--aq-space-1-5);
    align-items: center;
    padding: var(--aq-space-1) var(--aq-space-3);
    border-radius: var(--aq-radius-pill);
    font-size: var(--aq-text-xs);
}

.gw-slot--filled {
    border: 1px solid var(--aq-success);
    background: color-mix(in srgb, var(--aq-success) 12%, transparent);
    color: var(--aq-success-text);
}

.gw-slot--missing {
    border: 1px dashed var(--aq-accent);
    color: var(--aq-accent-light);
}

.gw-slot__face {
    border-radius: 50%;
    object-fit: cover;
}

.gw-step__action {
    margin-top: var(--aq-space-1);
}

/* The giveaway's page (Figma A4, A6, A7): two columns on a computer, the right one about 430px; one column on a
   phone, where the right column's cards come right after the band (the order of the markup). */
.gw-page {
    /* The countdown's boxes are the quiz season's: their raised ground is named here, outside the quiz's pages. */
    --qs-raised: var(--aq-bg-300);

    max-width: var(--aq-content-width);
    margin: 0 auto;
    padding: var(--aq-space-6) var(--aq-space-4) var(--aq-space-16);
}

.gw-page__cols {
    display: grid;
    grid-template-areas:
        "head side"
        "main side";
    grid-template-rows: auto 1fr;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: var(--aq-space-6) var(--aq-space-8);
    align-items: start;
}

.gw-page__head {
    display: grid;
    grid-area: head;
    gap: var(--aq-space-4);
    min-width: 0;
}

.gw-page__side {
    display: grid;
    grid-area: side;
    gap: var(--aq-space-6);
    min-width: 0;
}

.gw-page__main {
    display: grid;
    grid-area: main;
    gap: var(--aq-space-6);
    min-width: 0;
}

.gw-page__head .studio-notice {
    margin: 0;
}

.gw-page__crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--aq-space-2);
    align-items: center;
    color: var(--aq-text-300);
    font-size: var(--aq-text-sm);
}

.gw-page__crumbs a {
    display: inline-flex;
    align-items: center;
    min-height: var(--aq-target-link);
    color: var(--aq-accent-light);
}

.gw-page__cover {
    overflow: hidden;
    border: 1px solid var(--aq-accent);
    border-radius: var(--aq-radius-md);
    aspect-ratio: 16 / 9;
    background: var(--aq-bg-200);
}

.gw-page__cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gw-page__badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--aq-space-2);
    margin: 0;
}

.gw-pill {
    display: inline-flex;
    align-items: center;
    padding: var(--aq-space-1) var(--aq-space-3);
    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: var(--aq-text-xs);
    font-weight: 600;
}

.gw-pill--kind {
    border-color: var(--aq-accent);
    color: var(--aq-accent-light);
}

.gw-pill--live {
    border-color: var(--aq-success);
    background: color-mix(in srgb, var(--aq-success) 14%, transparent);
    color: var(--aq-success-text);
}

.gw-page__title {
    margin: 0;
    color: var(--aq-text-100);
    font-family: var(--aq-font-display);
    font-size: var(--aq-text-2xl);
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.gw-page__band {
    display: flex;
    gap: var(--aq-space-3);
    align-items: center;
    width: fit-content;
    min-height: var(--aq-target);
    color: var(--aq-text-100);
    text-decoration: none;
}

.gw-page__band img,
.gw-page__band-initial {
    display: grid;
    flex: none;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--aq-border);
    border-radius: 50%;
    background: var(--aq-bg-300);
    object-fit: cover;
    font-family: var(--aq-font-display);
}

.gw-page__band strong,
.gw-page__band-line {
    display: block;
}

.gw-page__band-line {
    color: var(--aq-text-300);
    font-size: var(--aq-text-sm);
}

.gw-page__divider {
    display: flex;
    gap: var(--aq-space-3);
    align-items: center;
    margin: 0;
    color: var(--aq-accent);
    font-size: var(--aq-text-xs);
}

.gw-page__divider::before,
.gw-page__divider::after {
    flex: 1;
    height: 1px;
    background: color-mix(in srgb, var(--aq-accent) 50%, transparent);
    content: "";
}

.gw-page__text {
    color: var(--aq-text-200);
    overflow-wrap: anywhere;
    white-space: pre-line;
}

/* "You're in": green-tinted, at the top; js/giveaway-progress.js shows it when the path completes. */
.gw-in {
    display: grid;
    gap: var(--aq-space-1);
    padding: var(--aq-space-3) var(--aq-space-4);
    border: 1px solid var(--aq-success);
    border-radius: var(--aq-radius-md);
    background: color-mix(in srgb, var(--aq-success) 14%, transparent);
    color: var(--aq-success-text);
}

.gw-in[hidden] {
    display: none;
}

.gw-in strong {
    font-family: var(--aq-font-display);
}

/* "You won" (docs/giveaways/phase-5-plan.md; Figma A13): gold-tinted, for the winner only. */
.gw-won {
    display: grid;
    gap: var(--aq-space-2);
    justify-items: start;
    padding: var(--aq-space-4);
    border: 1px solid var(--aq-accent);
    border-radius: var(--aq-radius-md);
    background: color-mix(in srgb, var(--aq-accent) 14%, transparent);
    color: var(--aq-text-100);
    white-space: normal;
}

.gw-won strong {
    color: var(--aq-accent-light);
    font-family: var(--aq-font-display);
    font-size: var(--aq-text-lg);
}

/* The winners: one centred card each. */
.gw-winners {
    display: grid;
    gap: var(--aq-space-4);
    min-width: 0;
}

.gw-winners__title {
    margin: 0;
    color: var(--aq-accent-light);
    font-family: var(--aq-font-display);
    font-size: var(--aq-text-xl);
    text-align: center;
}

.gw-winners__none {
    margin: 0;
    color: var(--aq-text-200);
    text-align: center;
}

.gw-winners__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--aq-space-4);
    margin: 0;
    padding: 0;
    list-style: none;
}

.gw-winner {
    display: grid;
    gap: var(--aq-space-2);
    justify-items: center;
    min-width: 0;
    padding: var(--aq-space-6) var(--aq-space-4);
    border-top: 2px solid var(--aq-accent);
    text-align: center;
    overflow-wrap: anywhere;
}

.gw-winner__name {
    color: var(--aq-text-100);
    font-family: var(--aq-font-display);
    font-size: var(--aq-text-lg);
}

.gw-winner__handle {
    display: inline-flex;
    align-items: center;
    min-height: var(--aq-target-link);
    color: var(--aq-text-300);
    font-size: var(--aq-text-sm);
    text-decoration: none;
}

.gw-winner__handle:hover {
    color: var(--aq-text-100);
}

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

.gw-hash {
    color: var(--aq-accent-light);
    font-size: var(--aq-text-sm);
    overflow-wrap: anywhere;
}

/* The winner's address form (/giveaways/{slug}/prize). */
.gw-prize {
    display: grid;
    gap: var(--aq-space-4);
    max-width: 44rem;
    margin: 0 auto;
    padding: var(--aq-space-6) var(--aq-space-4) var(--aq-space-16);
}

.gw-prize__title {
    margin: 0;
    color: var(--aq-text-100);
    font-family: var(--aq-font-display);
}

.gw-prize__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--aq-space-4);
}

.gw-prize__wide {
    grid-column: 1 / -1;
}

.gw-prize__saved {
    display: grid;
    gap: var(--aq-space-2);
}

.gw-prize__saved a {
    display: flex;
    align-items: center;
    min-height: var(--aq-target);
    padding: var(--aq-space-2) var(--aq-space-3);
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius);
    color: var(--aq-text-200);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.gw-prize__saved a.is-current {
    border-color: var(--aq-accent);
    color: var(--aq-text-100);
}

.gw-prize address {
    margin: 0;
    color: var(--aq-text-100);
    font-style: normal;
    overflow-wrap: anywhere;
}

@media (width < 600px) {
    .gw-prize__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* A card of the page: the shared surface (aq-card) with the accent on its top edge. */
.gw-panel {
    display: grid;
    gap: var(--aq-space-4);
    min-width: 0;
    padding: var(--aq-space-6);
    border-top: 2px solid var(--aq-accent);
}

.gw-panel__title {
    margin: 0;
    color: var(--aq-accent-light);
    font-family: var(--aq-font-display);
    font-size: var(--aq-text-sm);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gw-panel__note {
    margin: 0;
    padding-top: var(--aq-space-4);
    border-top: 1px solid var(--aq-border);
    color: var(--aq-text-300);
    font-size: var(--aq-text-sm);
}

.gw-rows,
.gw-how {
    display: grid;
    gap: var(--aq-space-2);
    margin: 0;
    padding: 0;
    list-style: none;
}

.gw-rows__row {
    display: flex;
    gap: var(--aq-space-4);
    align-items: baseline;
    justify-content: space-between;
    padding-bottom: var(--aq-space-2);
    border-bottom: 1px solid var(--aq-border);
    color: var(--aq-text-100);
    overflow-wrap: anywhere;
}

.gw-rows__row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.gw-rows__count {
    flex: none;
    color: var(--aq-accent-light);
    font-family: var(--aq-font-display);
}

.gw-how {
    color: var(--aq-text-200);
    font-size: var(--aq-text-sm);
}

.gw-facts {
    display: grid;
    gap: var(--aq-space-2);
    margin: 0;
}

.gw-facts > div {
    display: flex;
    gap: var(--aq-space-4);
    justify-content: space-between;
    padding-bottom: var(--aq-space-2);
    border-bottom: 1px solid var(--aq-border);
    font-size: var(--aq-text-sm);
}

.gw-facts > div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.gw-facts dt {
    flex: none;
    color: var(--aq-text-300);
    font-weight: 400;
}

.gw-facts dd {
    margin: 0;
    color: var(--aq-text-100);
    text-align: right;
    overflow-wrap: anywhere;
}

@media (width < 1000px) {
    .gw-page__cols {
        grid-template-areas:
            "head"
            "side"
            "main";
        grid-template-rows: auto;
        grid-template-columns: minmax(0, 1fr);
    }

    .gw-page__title {
        font-size: var(--aq-text-xl);
    }
}

@media (width < 480px) {
    .gw-panel {
        padding: var(--aq-space-4);
    }
}

/* "My giveaways" (Figma A5), a tab of the fan's own profile: chips with their counts, then one gold-edged card per
   giveaway, what it is on the left and its checklist on the right; stacked on a phone. */
.gw-mine {
    display: grid;
    gap: var(--aq-space-4);
    min-width: 0;
}

.gw-mine__title {
    margin: 0;
    color: var(--aq-text-100);
    font-family: var(--aq-font-display);
    font-size: var(--aq-text-xl);
}

.gw-mine__chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--aq-space-2);
}

.gw-chip {
    display: inline-flex;
    align-items: center;
    min-height: var(--aq-target);
    padding: var(--aq-space-2) var(--aq-space-4);
    border: 1px solid var(--aq-border-strong);
    border-radius: var(--aq-radius-pill);
    color: var(--aq-text-200);
    font-family: var(--aq-font-primary);
    font-size: var(--aq-text-sm);
    font-weight: 600;
    text-decoration: none;
}

.gw-chip:hover,
.gw-chip:focus-visible {
    border-color: var(--aq-accent);
    color: var(--aq-text-100);
}

.gw-chip.is-current {
    border-color: var(--aq-accent);
    background: var(--aq-accent);
    color: var(--aq-bg-100);
}

.gw-mine__empty {
    margin: 0;
}

.gw-mission {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--aq-space-6);
    align-items: start;
    padding: var(--aq-space-5);
    border-top: 2px solid var(--aq-accent);
}

.gw-mission__about {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: var(--aq-space-3) var(--aq-space-4);
    align-items: start;
    min-width: 0;
}

.gw-mission__cover {
    display: grid;
    place-items: center;
    width: 5.5rem;
    height: 5.5rem;
    border: 1px solid var(--aq-accent);
    border-radius: var(--aq-radius);
    background: var(--aq-bg-300);
    object-fit: cover;
    font-size: var(--aq-text-xl);
}

.gw-mission__words {
    display: grid;
    gap: var(--aq-space-1);
    min-width: 0;
}

.gw-mission__band {
    margin: 0;
    color: var(--aq-accent-light);
    font-family: var(--aq-font-primary);
    font-size: var(--aq-text-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gw-mission__title {
    margin: 0;
    color: var(--aq-text-100);
    font-family: var(--aq-font-display);
    font-size: var(--aq-text-lg);
    overflow-wrap: anywhere;
}

.gw-mission__line {
    margin: 0;
    color: var(--aq-text-300);
    font-size: var(--aq-text-sm);
    overflow-wrap: anywhere;
}

.gw-mission__foot {
    display: flex;
    flex-wrap: wrap;
    grid-column: 1 / -1;
    gap: var(--aq-space-3);
    align-items: center;
    justify-content: space-between;
}

@media (width < 900px) {
    .gw-mission {
        grid-template-columns: minmax(0, 1fr);
        padding: var(--aq-space-4);
    }
}

/* ---- The giveaways page and its cards (docs/giveaways/phase-4-plan.md; Figma page 65, A1, variation A) ----
   The quest board: its head, the chips and the two filters, sections of gold-edged cards three to a row (one on a
   phone), and the recently completed as one card of rows. The cards are also a band's "Giveaways" tab. The banner
   of the featured giveaway is in app.css, because the homepage draws it too. */
.gw-board {
    display: grid;
    gap: var(--aq-space-6);
    max-width: 1180px;
    margin: 0 auto;
    padding: var(--aq-space-6) var(--aq-space-4) var(--aq-space-12);
}

.gw-board__head {
    display: grid;
    gap: var(--aq-space-2);
    justify-items: center;
    text-align: center;
}

.gw-board__eyebrow {
    margin: 0;
    color: var(--aq-accent-light);
    font-family: var(--aq-font-secondary);
    font-size: var(--aq-text-xs);
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.gw-board__title {
    margin: 0;
    color: var(--aq-text-100);
    font-family: var(--aq-font-display);
    font-size: clamp(1.75rem, 4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.15;
}

.gw-board__lead {
    max-width: 46rem;
    margin: 0;
    color: var(--aq-text-200);
}

.gw-board__head .gw-divider {
    width: min(100%, 22rem);
}

.gw-board__chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--aq-space-2);
}

.gw-board__filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--aq-space-3);
    align-items: end;
}

.gw-board__filters > div {
    flex: 1 1 14rem;
    max-width: 20rem;
}

.gw-board__section {
    display: grid;
    gap: var(--aq-space-4);
}

.gw-board__heading {
    margin: 0;
    color: var(--aq-text-100);
    font-family: var(--aq-font-display);
    font-size: 1.35rem;
    font-weight: 700;
}

.gw-board__empty {
    margin: 0;
}

.gw-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--aq-space-5);
}

.gw-card-tile {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border-color: var(--aq-accent);
}

.gw-card-tile__cover {
    display: block;
    aspect-ratio: 16 / 9;
    border-bottom: 1px solid var(--aq-accent);
    background: var(--aq-bg-300);
}

.gw-card-tile__cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gw-card-tile__nocover {
    display: grid;
    height: 100%;
    place-items: center;
    font-size: 2rem;
}

.gw-card-tile__badge {
    position: absolute;
    top: var(--aq-space-3);
    left: var(--aq-space-3);
}

.gw-card-tile__body {
    display: grid;
    gap: var(--aq-space-2);
    align-content: start;
    padding: var(--aq-space-4);
}

.gw-card-tile__eyebrow {
    margin: 0;
    color: var(--aq-accent-light);
    font-family: var(--aq-font-secondary);
    font-size: var(--aq-text-xs);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.gw-card-tile__title {
    margin: 0;
    color: var(--aq-text-100);
    font-family: var(--aq-font-display);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.25;
}

.gw-card-tile__line {
    margin: 0;
    color: var(--aq-text-200);
    font-size: var(--aq-text-sm);
}

.gw-card-tile__row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--aq-space-2) var(--aq-space-3);
    align-items: center;
    justify-content: space-between;
    margin: 0 0 var(--aq-space-2);
}

.gw-card-tile__left {
    color: var(--aq-text-300);
    font-size: var(--aq-text-sm);
}

/* The recently completed: one card, a row each. */
.gw-done {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gw-done__row {
    display: grid;
    grid-template-columns: 3.5rem minmax(0, 1fr) auto;
    gap: var(--aq-space-3);
    align-items: center;
    padding: var(--aq-space-3) var(--aq-space-4);
}

.gw-done__row + .gw-done__row {
    border-top: 1px solid var(--aq-border);
}

.gw-done__thumb {
    display: grid;
    width: 3.5rem;
    aspect-ratio: 1;
    border-radius: var(--aq-radius);
    background: var(--aq-bg-300);
    object-fit: cover;
    place-items: center;
}

.gw-done__words {
    display: grid;
    min-width: 0;
}

.gw-done__title {
    overflow: hidden;
    color: var(--aq-text-100);
    font-family: var(--aq-font-primary);
    font-weight: 600;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gw-done__title:hover,
.gw-done__title:focus-visible {
    color: var(--aq-accent-light);
    text-decoration: underline;
}

.gw-done__band {
    color: var(--aq-text-300);
    font-size: var(--aq-text-sm);
}

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

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

    .gw-board {
        padding-inline: var(--aq-space-3);
    }
}

/* A band's "Giveaways" tab (docs/giveaways/phase-4-plan.md, task 6): the same cards, two to a row in the profile's
   main column, and the way to every band's giveaways. */
.gw-band-tab {
    display: grid;
    gap: var(--aq-space-4);
}

.gw-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gw-band-tab__more {
    margin: 0;
}

.gw-band-tab__more a {
    color: var(--aq-accent-light);
    font-family: var(--aq-font-primary);
    font-size: var(--aq-text-sm);
    font-weight: 600;
}

@media (max-width: 640px) {
    .gw-grid--two {
        grid-template-columns: minmax(0, 1fr);
    }
}
