:root {
    --bg: #0f1221;
    --panel: rgba(23, 28, 48, 0.85);
    --panel-solid: #161b31;
    --panel-soft: #1c2442;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);
    --text: #f7f8fd;
    --muted: #adb5d6;
    --accent: #7c8cff;
    --accent-strong: #5cf1c5;
    --accent-warm: #ff8c64;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --container: min(1240px, calc(100vw - 32px));
}

.story-card--comments {
    display: grid;
    gap: 1rem;
}

.comment-spotlight {
    display: grid;
    gap: 0.7rem;
    padding: 1rem 1.05rem;
    border-radius: 20px;
    background: rgba(92, 241, 197, 0.08);
    border: 1px solid rgba(92, 241, 197, 0.18);
}

.comment-spotlight__body {
    color: var(--text);
    line-height: 1.72;
}

.comment-spotlight small {
    color: var(--muted);
}

.comment-composer {
    display: grid;
    gap: 0.85rem;
}

.comment-composer textarea {
    min-height: 92px;
}

.comment-composer__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.65rem;
}

.comment-composer__status {
    min-height: 1.1rem;
    font-size: 0.92rem;
    color: rgba(216, 220, 255, 0.78);
}

.comment-composer__note {
    margin: 0;
}

.comment-composer__status--success {
    color: rgba(92, 241, 197, 0.92);
}

.comment-auth-invite {
    display: grid;
    gap: 0.8rem;
    padding: 1rem 1.05rem;
    border-radius: 20px;
    border: 1px solid rgba(124, 140, 255, 0.16);
    background: rgba(124, 140, 255, 0.08);
}

.comment-auth-invite__lead {
    display: grid;
    gap: 0.45rem;
}

.comment-auth-invite__lead strong {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.4;
}

.avatar-upload-panel {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(138, 146, 179, 0.16);
    background: rgba(17, 23, 44, 0.42);
}

.avatar-upload-panel__preview,
.comment-card__avatar {
    width: 72px;
    height: 72px;
    border-radius: 22px;
}

.avatar-upload-panel__preview {
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(138, 146, 179, 0.16);
    background: linear-gradient(135deg, rgba(124, 140, 255, 0.26), rgba(255, 140, 100, 0.26));
    color: rgba(247, 248, 253, 0.95);
    font-size: 1.6rem;
    font-weight: 700;
}

.avatar-upload-panel__preview img,
.comment-card__avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-upload-panel__field {
    display: grid;
    gap: 0.45rem;
}

.avatar-upload-panel__delete-form {
    align-self: start;
    justify-self: end;
}

.comment-thread {
    display: grid;
    gap: 0.9rem;
}

.comment-card {
    display: grid;
    gap: 0.7rem;
    padding: 1rem 1.05rem;
    border-radius: 18px;
    border: 1px solid rgba(138, 146, 179, 0.16);
    background: rgba(17, 23, 44, 0.5);
}

.comment-card__head,
.comment-card__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

.comment-card__head {
    justify-content: flex-start;
}

.comment-card__author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.comment-card__author-meta {
    display: grid;
    gap: 0.15rem;
}

.comment-card__avatar {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    border: 1px solid rgba(138, 146, 179, 0.16);
}

.comment-card__avatar--fallback {
    display: grid;
    place-items: center;
    background: rgba(124, 140, 255, 0.22);
    color: rgba(247, 248, 253, 0.94);
    font-size: 0.92rem;
    font-weight: 700;
}

.comment-card__head small,
.comment-card__foot small {
    color: rgba(216, 220, 255, 0.7);
}

.comment-card__body {
    color: rgba(238, 241, 255, 0.92);
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.comment-card__body p {
    margin: 0;
}

.comment-card__body p + p {
    margin-top: 0.65rem;
}

.comment-card__body a {
    color: rgba(123, 250, 224, 0.95);
}

.comment-card__actions {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.comment-delete-button {
    color: rgba(255, 214, 214, 0.92);
}

.comment-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

@media (max-width: 720px) {
    .avatar-upload-panel {
        grid-template-columns: 1fr;
        justify-items: flex-start;
    }

    .avatar-upload-panel__delete-form {
        justify-self: flex-start;
    }

    .comment-composer__meta,
    .comment-card__head,
    .comment-card__foot,
    .comment-pagination {
        justify-content: flex-start;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    background: #0a0d19;
    color-scheme: dark;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Space Grotesk", system-ui, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(124, 140, 255, 0.18), transparent 28%),
        radial-gradient(circle at top right, rgba(92, 241, 197, 0.12), transparent 22%),
        linear-gradient(180deg, #111426 0%, #0a0d19 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
select,
textarea {
    font: inherit;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 0.95rem 1rem;
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

textarea {
    resize: vertical;
    min-height: 140px;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(124, 140, 255, 0.75);
    box-shadow: 0 0 0 4px rgba(124, 140, 255, 0.18);
}

.shell {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.page {
    flex: 1;
    min-height: calc(100vh - 240px);
    padding: 2rem 0 4rem;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.app-header {
    position: sticky;
    top: 0;
    z-index: 30;
    min-height: 90px;
    backdrop-filter: blur(22px);
    background: rgba(10, 13, 25, 0.76);
    border-bottom: 1px solid var(--line);
}

.app-header__inner {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    min-height: 88px;
    padding: 1rem 0;
}

.app-header__panel {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
}

.desktop-search-band {
    display: block;
    min-height: 92px;
    padding: 1.35rem 0;
}

.desktop-search-band .container {
    display: flex;
    justify-content: center;
}

.header-subnav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-column: 1 / -1;
    gap: 1rem;
    align-items: center;
    padding-top: 0;
}

.app-header__toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 0;
    place-items: center;
    border-radius: 16px;
    border: 1px solid rgba(124, 140, 255, 0.34);
    background: rgba(124, 140, 255, 0.14);
    color: var(--text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.app-header__toggle-bars {
    display: grid;
    gap: 5px;
}

.app-header__toggle-bars span {
    display: block;
    width: 22px;
    height: 2.5px;
    border-radius: 999px;
    background: #f7f8fd;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.app-header--open .app-header__toggle-bars span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.app-header--open .app-header__toggle-bars span:nth-child(2) {
    opacity: 0;
}

.app-header--open .app-header__toggle-bars span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.brand {
    display: inline-flex;
    gap: 0.9rem;
    align-items: center;
}

.brand__mark {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-warm));
    color: #0d1226;
    box-shadow: var(--shadow);
}

.brand__mark .material-symbols-rounded {
    font-size: 2rem;
}

.brand__copy {
    display: grid;
    gap: 0.18rem;
}

.brand__copy strong {
    font-size: 1.08rem;
}

.brand__copy span {
    color: var(--muted);
    font-size: 0.88rem;
}

.search-bar {
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.5rem 0.6rem 0.5rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
}

.search-bar--header {
    display: none;
}

.search-bar--desktop {
    width: min(100%, 980px);
    margin: 0 auto;
    padding: 0.75rem 0.85rem 0.75rem 1.1rem;
    gap: 0.95rem;
    border-radius: 999px;
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(12, 17, 31, 0.92);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.search-bar--desktop .material-symbols-rounded {
    color: var(--muted);
    font-size: 1.35rem;
}

.search-bar--desktop input {
    min-height: 48px;
    font-size: 1.02rem;
}

.search-bar--desktop button {
    min-width: 132px;
    justify-content: center;
    padding-inline: 1.35rem;
}

.search-bar input {
    border: none;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.search-bar button,
.primary-button,
.secondary-button,
.vote-button,
.chip-link,
.text-link {
    border: none;
    cursor: pointer;
}

.search-bar button,
.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
    padding: 0.9rem 1.2rem;
    font-weight: 700;
}

.search-bar button,
.primary-button {
    background: linear-gradient(135deg, var(--accent), var(--accent-warm));
    color: #070914;
}

.secondary-button {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    border: 1px solid var(--line);
}

.primary-button--small,
.secondary-button--small {
    padding: 0.65rem 0.9rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.chip-link {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
    border-radius: 999px;
    padding: 0.7rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    color: var(--text);
}

.chip-link--button {
    appearance: none;
}

.chip-link--accent {
    background: rgba(124, 140, 255, 0.18);
    border-color: rgba(124, 140, 255, 0.3);
}

.chip-link--icon-only {
    min-width: 48px;
    width: 48px;
    padding: 0.7rem;
    justify-content: center;
}

.chip-link--icon-only .material-symbols-rounded {
    margin: 0;
}

.inline-form {
    margin: 0;
}

.letter-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.letter-nav a {
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.92rem;
}

.presence-pill,
.stat-pill,
.status-pill,
.meta-pill,
.notice-pill,
.owner-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    padding: 0.55rem 0.85rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
}

.presence-pill__dot {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: #53ff9e;
    box-shadow: 0 0 0 6px rgba(83, 255, 158, 0.12);
}

.hero,
.section-block,
.entity-hero,
.auth-card,
.list-card,
.story-card,
.lyrics-card,
.video-frame,
.search-panel,
.flash-banner {
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: var(--radius-xl);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 1.5rem;
    padding: 1.5rem;
}

.hero__copy,
.hero__spotlight,
.entity-hero__copy {
    display: grid;
    gap: 1rem;
}

.hero h1,
.entity-hero h1,
.section-head h1 {
    font-family: "Fraunces", serif;
    font-size: clamp(2.2rem, 4vw, 4.1rem);
    line-height: 0.98;
    margin: 0;
}

.section-head h2,
.hero h2 {
    font-family: "Fraunces", serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    line-height: 1.05;
    margin: 0;
}

.hero p,
.entity-hero p,
.section-head p,
.muted-copy,
.card p,
.artist-card p {
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
}

.hero__actions,
.hero__metrics,
.meta-row,
.moderation-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.anchor-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--accent-strong);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    font-weight: 700;
}

.eyebrow--small {
    font-size: 0.7rem;
}

.spotlight-card {
    height: 100%;
    display: grid;
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}

.hero-video-card {
    display: grid;
    gap: 1rem;
    height: 100%;
}

.hero-video-card__frame {
    padding: 0.8rem;
}

.hero-video-card__frame iframe {
    min-height: 360px;
    background: #06070b;
}

.hero-video-card__caption {
    display: grid;
    gap: 0.7rem;
    padding: 0 0.35rem;
}

.spotlight-card img {
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    object-position: center 24%;
    border-radius: var(--radius-lg);
}

.section-block {
    margin-top: 1.5rem;
    padding: 1.5rem;
}

.section-block--compact {
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
}

.section-block--wide {
    flex: 1.4;
}

.section-block--narrow {
    max-width: 760px;
    margin: 1.5rem auto 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.section-head > :first-child {
    flex: 1 1 18rem;
    min-width: 0;
}

.section-head__meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.85rem;
    flex-wrap: wrap;
    max-width: 100%;
}

.text-link {
    color: var(--accent-strong);
    font-weight: 700;
}

.rank-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.guide-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.guide-date {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 600;
}

.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 36px;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    background: rgba(140, 130, 255, 0.18);
    border: 1px solid rgba(140, 130, 255, 0.36);
    color: var(--text);
    font-weight: 800;
    letter-spacing: 0.03em;
}

.card-grid {
    display: grid;
    gap: 1rem;
}

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

.card-grid--artists {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.artist-card,
.photo-card {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
}

.card--song,
.artist-card {
    grid-template-columns: minmax(120px, 154px) minmax(0, 1fr);
}

.card__image img,
.artist-card__image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center 24%;
    border-radius: 18px;
}

.card__body,
.artist-card__body {
    display: grid;
    gap: 0.65rem;
    align-content: start;
}

.card h3,
.artist-card h3,
.search-panel h2,
.auth-card h1,
.section-block h1 {
    margin: 0;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
}

.micro-link {
    color: var(--accent-strong);
    font-weight: 700;
}

.letter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(66px, 1fr));
    gap: 0.7rem;
}

.letter-grid a {
    display: grid;
    place-items: center;
    min-height: 66px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    font-weight: 700;
}

.entity-hero {
    display: grid;
    grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
}

.entity-hero__media img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center 22%;
    border-radius: 28px;
}

.entity-hero__media {
    justify-self: center;
    width: min(100%, 380px);
}

.entity-hero__media--compact img {
    max-width: 280px;
    margin-inline: auto;
}

.split-section {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-top: 1.5rem;
}

.split-section > * {
    flex: 1;
}

.story-card,
.lyrics-card,
.list-card,
.video-frame,
.search-panel {
    padding: 1.25rem;
}

.story-paragraph,
.lyrics-card p {
    margin: 0 0 1rem;
    color: var(--text);
    line-height: 1.75;
}

.story-paragraph--offset {
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 2px solid rgba(255, 255, 255, 0.12);
}

.story-heading {
    margin: 1.35rem 0 0.6rem;
    font-family: "Fraunces", serif;
    font-size: clamp(1.1rem, 2vw, 1.55rem);
    line-height: 1.1;
}

.lyrics-card {
    font-size: 1.04rem;
}

.story-card--editorial {
    display: grid;
    gap: 1.1rem;
}

.story-card--meaning,
.story-card--support {
    background:
        radial-gradient(circle at top left, rgba(92, 241, 197, 0.08), transparent 36%),
        rgba(255, 255, 255, 0.035);
}

.story-card--placeholder {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.16);
}

.story-card--guide-hub {
    min-height: 100%;
}

.story-deck {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text);
}

.split-section--editorial {
    align-items: stretch;
}

.story-panel {
    padding: 1.15rem 1.2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--line);
}

.story-panel--note {
    background: rgba(124, 140, 255, 0.08);
    border-color: rgba(124, 140, 255, 0.22);
}

.status-pill--guide {
    background: rgba(92, 241, 197, 0.12);
    border-color: rgba(92, 241, 197, 0.24);
    color: #dcfff4;
}

.story-credit {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--muted);
    font-size: 0.94rem;
}

.editorial-trust {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.8rem;
    align-items: start;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--muted);
}

.editorial-trust p {
    margin: 0;
}

.archive-note {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.025);
    overflow: hidden;
}

.archive-note summary {
    cursor: pointer;
    list-style: none;
    padding: 0.95rem 1rem;
    font-weight: 600;
}

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

.archive-note__body {
    padding: 0 1rem 1rem;
}

.archive-note__body .muted-copy {
    margin: 0;
}

.editorial-highlight {
    margin: 0;
    padding: 1rem 1.1rem;
    border-left: 4px solid rgba(124, 140, 255, 0.8);
    border-radius: 18px;
    background: rgba(124, 140, 255, 0.08);
}

.editorial-highlight p {
    margin: 0;
    font-family: "Fraunces", serif;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    line-height: 1.3;
}

.lyric-sheet {
    display: grid;
    gap: 1rem;
}

.lyric-stanza {
    display: grid;
    gap: 0.45rem;
    padding: 1rem 1.1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.028);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.lyric-line {
    margin: 0;
    line-height: 1.8;
    letter-spacing: 0.01em;
}

.lyric-line--quote {
    margin-left: 1.1rem;
    padding-left: 1rem;
    border-left: 3px solid rgba(255, 255, 255, 0.18);
    color: #f6f7fb;
}

.lyric-line--marker {
    margin-top: 0.5rem;
    color: var(--accent-soft);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

.lyrics-card--editorial {
    background:
        radial-gradient(circle at top left, rgba(124, 140, 255, 0.09), transparent 38%),
        rgba(255, 255, 255, 0.02);
}

.video-frame iframe {
    width: 100%;
    min-height: 460px;
    border: 0;
    border-radius: 20px;
}

.song-row,
.search-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line);
}

.song-row:last-child,
.search-row:last-child {
    border-bottom: none;
}

.song-row span,
.search-row span {
    display: grid;
    gap: 0.25rem;
}

.song-row--stacked span {
    gap: 0.32rem;
}

.song-row__meta {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
}

.song-row small,
.search-row small,
.moderation-row small,
.moderation-card small {
    color: var(--muted);
}

.guide-paths {
    display: grid;
}

.glance-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.glance-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(92, 241, 197, 0.18);
    background: rgba(92, 241, 197, 0.08);
    color: #defef5;
    font-weight: 700;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.faq-card {
    display: grid;
    gap: 0.65rem;
    padding: 1.1rem 1.15rem;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.faq-card h3,
.faq-card p {
    margin: 0;
}

.faq-card p {
    color: var(--muted);
    line-height: 1.7;
}

.photo-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.photo-strip img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center 22%;
    border-radius: 18px;
}

.card--guide,
.story-card--guide-hub {
    background:
        radial-gradient(circle at top right, rgba(92, 241, 197, 0.09), transparent 34%),
        rgba(255, 255, 255, 0.04);
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.photo-card__button {
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.photo-card__button img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center 22%;
    border-radius: 20px;
}

.photo-card__footer {
    display: grid;
    gap: 0.75rem;
}

.auth-shell {
    display: grid;
    place-items: center;
    min-height: calc(100vh - 240px);
}

.auth-card {
    width: min(720px, 100%);
    padding: 1.5rem;
}

.auth-card--wide {
    width: min(840px, 100%);
}

.editorial-form {
    display: grid;
    gap: 1rem;
}

.editorial-form--wide {
    gap: 1.15rem;
}

.editorial-form label {
    display: grid;
    gap: 0.5rem;
}

.editorial-form label > span {
    font-weight: 700;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-grid--triple {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field-help {
    color: var(--muted);
    font-size: 0.92rem;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: var(--line);
}

.social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    width: 100%;
    min-height: 56px;
    padding: 0.95rem 1.15rem;
    border-radius: 18px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.045);
    color: var(--text);
    font-weight: 700;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.social-button:hover {
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.social-button__brand {
    width: 32px;
    height: 32px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #4285f4 0%, #34a853 34%, #fbbc05 68%, #ea4335 100%);
    color: #ffffff;
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.trap-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.checkbox-row {
    display: flex !important;
    gap: 0.8rem;
    align-items: flex-start;
}

.checkbox-row input {
    width: auto;
    margin-top: 0.2rem;
}

.validation-summary,
.field-validation {
    color: #ff9a9a;
}

.moderation-row,
.moderation-card {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
}

.moderation-row:last-child,
.moderation-card:last-child {
    border-bottom: none;
}

.moderation-row--photo,
.moderation-card--photo {
    align-items: center;
}

.moderation-row--photo img,
.moderation-card--photo img {
    width: 84px;
    height: 84px;
    border-radius: 20px;
    object-fit: cover;
    object-position: center 24%;
    flex-shrink: 0;
}

.status-pill {
    white-space: nowrap;
}

.meta-pill {
    white-space: nowrap;
}

.notice-pill {
    white-space: normal;
    max-width: 100%;
}

.vote-widget {
    display: inline-flex;
    gap: 0.75rem;
    align-items: center;
}

.vote-widget--compact {
    width: 100%;
    justify-content: flex-end;
}

.vote-button {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

.vote-button.is-active {
    background: rgba(124, 140, 255, 0.18);
    border-color: rgba(124, 140, 255, 0.35);
}

.flash-banner {
    margin-bottom: 1rem;
    padding: 1rem 1.2rem;
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.flash-banner--warn {
    border-color: rgba(255, 167, 38, 0.4);
    background: rgba(255, 167, 38, 0.14);
}

.empty-state {
    display: grid;
    place-items: center;
    text-align: center;
    gap: 0.8rem;
    min-height: 320px;
    border-radius: var(--radius-xl);
    border: 1px dashed var(--line-strong);
    color: var(--muted);
}

.submission-studio {
    gap: 1.5rem;
}

.submission-panel {
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.035);
}

.submission-panel__head {
    display: grid;
    gap: 0.35rem;
}

.submission-panel__head h2 {
    margin: 0;
}

.submission-step {
    display: inline-flex;
    width: fit-content;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(124, 140, 255, 0.18);
    border: 1px solid rgba(124, 140, 255, 0.32);
    color: var(--text);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.choice-card {
    display: block !important;
}

.choice-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice-card__content {
    display: grid;
    gap: 0.65rem;
    min-height: 150px;
    padding: 1.1rem;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.035);
    transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.choice-card__content .material-symbols-rounded {
    font-size: 1.6rem;
    color: var(--accent-strong);
}

.choice-card input:checked + .choice-card__content {
    border-color: rgba(124, 140, 255, 0.5);
    background: rgba(124, 140, 255, 0.12);
    transform: translateY(-2px);
}

.mode-stack {
    display: grid;
    gap: 1rem;
}

.submission-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.upload-dropzone {
    position: relative;
    display: grid !important;
    gap: 0.45rem;
    padding: 1.8rem;
    border-radius: 24px;
    border: 1px dashed rgba(124, 140, 255, 0.45);
    background: rgba(124, 140, 255, 0.06);
    text-align: center;
    cursor: pointer;
}

.upload-dropzone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.upload-dropzone .material-symbols-rounded {
    font-size: 2rem;
    color: var(--accent-strong);
}

.upload-dropzone.is-dragover {
    border-color: rgba(92, 241, 197, 0.7);
    background: rgba(92, 241, 197, 0.12);
}

.cke_chrome {
    border-radius: 18px !important;
    border-color: var(--line-strong) !important;
    overflow: hidden;
}

.cke_top,
.cke_bottom {
    background: rgba(255, 255, 255, 0.06) !important;
}

.split-section--triple {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.search-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.search-row {
    align-items: center;
}

.search-row img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 16px;
}

.search-row--song {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
}

.pagination-row {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

.app-footer {
    min-height: 176px;
    margin-top: auto;
    padding: 2rem 0 3rem;
    border-top: 1px solid var(--line);
    background: rgba(8, 10, 18, 0.7);
}

.app-footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 1.5rem;
}

.app-footer__grid > div {
    display: grid;
    gap: 0.65rem;
}

.app-footer p,
.app-footer a,
.app-footer span {
    color: var(--muted);
}

.footer-online {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    place-items: center;
}

.lightbox[hidden] {
    display: none;
}

.lightbox__scrim {
    position: absolute;
    inset: 0;
    border: none;
    background: rgba(4, 6, 12, 0.84);
}

.lightbox__dialog {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100vw - 24px));
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
}

.lightbox__figure {
    margin: 0;
    padding: 1rem;
    border-radius: 28px;
    background: rgba(13, 18, 36, 0.94);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.lightbox__figure img {
    width: 100%;
    max-height: 82vh;
    object-fit: contain;
}

.lightbox__figure figcaption {
    margin-top: 1rem;
    color: var(--muted);
    text-align: center;
}

.lightbox__close,
.lightbox__nav {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
}

.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: grid;
    place-items: center;
}

.auth-modal[hidden] {
    display: none;
}

.auth-modal__scrim {
    position: absolute;
    inset: 0;
    border: none;
    background: rgba(4, 6, 12, 0.84);
}

.auth-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(520px, calc(100vw - 24px));
    padding: 1.5rem;
    border-radius: 28px;
    border: 1px solid var(--line);
    background: rgba(13, 18, 36, 0.96);
    box-shadow: var(--shadow);
}

.auth-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
}

.auth-modal__content {
    display: grid;
    gap: 0.95rem;
    padding-right: 3rem;
}

.auth-modal__content h2 {
    margin: 0;
}

.auth-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.grecaptcha-badge {
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
    pointer-events: auto !important;
    z-index: 120 !important;
}

@media (max-width: 1080px) {
    .hero,
    .entity-hero,
    .split-section,
    .search-layout,
    .app-footer__grid {
        grid-template-columns: 1fr;
        display: grid;
    }

    .app-header__inner {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 0.75rem;
        padding: 0.85rem 0;
        align-items: start;
    }

    .app-header__panel {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .header-subnav {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .header-actions {
        justify-content: flex-start;
        gap: 0.55rem;
    }

    .brand__copy span {
        display: none;
    }

    .chip-link {
        padding: 0.62rem 0.9rem;
        font-size: 0.92rem;
    }

    .search-bar {
        padding: 0.42rem 0.5rem 0.42rem 0.75rem;
        gap: 0.6rem;
    }

    .search-bar--desktop {
        width: min(100%, 900px);
    }

    .search-bar button {
        padding: 0.72rem 1rem;
    }

    .card-grid--artists,
    .card-grid--songs,
    .photo-grid,
    .faq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.photo-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.community-card,
.community-thread,
.community-reply,
.community-warning,
.media-pending-note {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    background: rgba(10, 16, 32, 0.82);
    box-shadow: 0 18px 40px rgba(4, 8, 18, 0.22);
}

.community-preview-list,
.community-thread-list,
.community-replies {
    display: grid;
    gap: 1rem;
}

.artist-community-panel,
.profile-card,
.community-warning,
.media-pending-note,
.community-composer,
.community-thread,
.community-reply,
.community-card {
    padding: 1.15rem;
}

.community-thread__head,
.community-reply__head,
.profile-card__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.profile-card__head {
    margin-bottom: 1rem;
}

.community-thread__head h3,
.community-preview-list h3 {
    margin: 0.45rem 0 0;
}

.community-thread__meta,
.community-reply__head small,
.community-card small {
    display: grid;
    gap: 0.15rem;
    color: rgba(227, 232, 244, 0.64);
}

.community-thread__body,
.community-reply__body {
    margin-top: 0.95rem;
    color: rgba(240, 244, 255, 0.9);
    line-height: 1.75;
}

.community-thread__body p,
.community-reply__body p {
    margin: 0 0 0.9rem;
}

.community-thread__body p:last-child,
.community-reply__body p:last-child {
    margin-bottom: 0;
}

.community-thread__foot,
.community-thread__actions,
.community-thread__report,
.community-preview-list small {
    margin-top: 0.95rem;
}

.community-thread__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.community-thread__report {
    display: inline-flex;
}

.community-composer {
    display: grid;
    gap: 0.85rem;
}

.community-composer label {
    display: grid;
    gap: 0.4rem;
}

.community-composer input,
.community-composer select,
.community-composer textarea {
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(3, 8, 20, 0.72);
    color: #eef4ff;
    padding: 0.8rem 0.95rem;
    font: inherit;
}

.community-composer textarea {
    min-height: 132px;
    resize: vertical;
}

.community-composer--reply {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 18px;
}

.community-badge,
.lyroscore-chip,
.moderation-status,
.notification-pill,
.song-room-nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    font-size: 0.84rem;
    line-height: 1;
}

.community-badge,
.lyroscore-chip {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #eef4ff;
}

.moderation-status {
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.moderation-status--success {
    background: rgba(53, 209, 127, 0.14);
    color: #8df2b7;
}

.moderation-status--warn {
    background: rgba(255, 193, 74, 0.14);
    color: #ffd27a;
}

.moderation-status--danger {
    background: rgba(255, 100, 122, 0.14);
    color: #ffadb8;
}

.selected-insight {
    border-color: rgba(110, 231, 183, 0.32);
    background: linear-gradient(180deg, rgba(18, 42, 35, 0.92), rgba(10, 16, 32, 0.9));
}

.follow-button {
    min-width: 148px;
    justify-content: center;
}

.notification-pill {
    justify-content: space-between;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.notification-pill--unread {
    border-color: rgba(110, 231, 183, 0.25);
    background: rgba(110, 231, 183, 0.08);
}

.report-action {
    color: #ffb4bf;
}

.community-warning,
.media-pending-note {
    color: rgba(240, 244, 255, 0.88);
    background: rgba(76, 46, 8, 0.45);
    border-color: rgba(255, 202, 112, 0.22);
}

.song-room-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.song-room-nav a {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #eef4ff;
    text-decoration: none;
}

.community-card p,
.community-warning p,
.media-pending-note p {
    margin: 0.55rem 0 0;
}

@media (max-width: 720px) {
    .page {
        min-height: calc(100vh - 160px);
        padding-top: 1rem;
    }

    .desktop-search-band {
        display: none;
    }

    .container {
        width: min(calc(100vw - 24px), 100%);
    }

    .app-header {
        min-height: 72px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .song-row__meta {
        white-space: normal;
        text-align: right;
    }

    .app-header__inner {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
        gap: 0.75rem;
        min-height: 72px;
        padding: 0.75rem 0;
    }

    .brand {
        min-width: 0;
        width: auto;
        max-width: 100%;
        align-items: center;
        overflow: hidden;
    }

    .brand__copy {
        min-width: 0;
    }

    .brand__copy span {
        display: none;
    }

    .brand__mark {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .brand__mark .material-symbols-rounded {
        font-size: 1.55rem;
    }

    .brand__copy strong {
        display: block;
        font-size: 1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .app-header__toggle {
        display: inline-grid;
        position: static;
        align-self: start;
    }

    .app-header__panel {
        display: none;
        grid-template-columns: 1fr;
        gap: 0.85rem;
        width: 100%;
        grid-column: 1 / -1;
        margin-top: 0.85rem;
        padding-top: 0.85rem;
        max-height: min(50vh, 420px);
        overflow-y: auto;
        overscroll-behavior: contain;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .app-header--open .app-header__panel {
        display: grid;
    }

    .search-bar--header {
        display: grid;
    }

    .search-bar {
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
    }

    .search-bar button {
        grid-column: auto;
        justify-content: center;
        min-width: 92px;
        padding: 0.72rem 0.95rem;
    }

    .header-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        gap: 0.7rem;
    }

    .header-actions .chip-link,
    .header-actions .inline-form,
    .header-actions .inline-form .chip-link--button {
        width: 100%;
    }

    .header-actions .chip-link,
    .header-actions .inline-form .chip-link--button {
        justify-content: center;
        min-height: 48px;
        padding: 0.72rem 0.75rem;
        min-width: 0;
        text-align: center;
    }

    .header-subnav {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .letter-nav {
        display: grid;
        grid-template-columns: repeat(7, minmax(0, 1fr));
        gap: 0.45rem;
    }

    .letter-nav a {
        display: grid;
        place-items: center;
        min-height: 38px;
        padding: 0.35rem 0.3rem;
    }

    .presence-pill {
        justify-content: flex-start;
    }

    .card-grid--artists,
    .card-grid--songs,
    .photo-grid,
    .photo-strip,
    .form-grid,
    .form-grid--triple,
    .choice-grid,
    .split-section--triple {
        grid-template-columns: 1fr;
    }

    .card--song,
    .artist-card,
    .spotlight-card {
        grid-template-columns: 1fr;
    }

    .entity-hero__media,
    .entity-hero__media--compact {
        width: min(100%, 280px);
        margin-inline: auto;
    }

    .entity-hero__media img,
    .entity-hero__media--compact img {
        margin-inline: auto;
    }

    .hero-video-card__frame iframe {
        min-height: 280px;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
    }

    .section-head > :first-child {
        width: 100%;
        flex-basis: auto;
    }

    .section-head__meta {
        width: 100%;
        justify-content: flex-start;
    }

    .section-head .text-link {
        display: block;
        width: 100%;
        align-self: flex-start;
        white-space: normal;
        overflow-wrap: normal;
        word-break: normal;
    }

    .lightbox__dialog {
        grid-template-columns: 1fr;
    }

    .lightbox__nav {
        justify-self: center;
    }

    .auth-modal__dialog {
        width: min(100vw - 24px, 100%);
        padding: 1.2rem;
    }

    .auth-modal__content {
        padding-right: 0;
    }

    .auth-modal__actions {
        flex-direction: column;
    }

    .auth-modal__actions .primary-button,
    .auth-modal__actions .secondary-button {
        width: 100%;
        justify-content: center;
    }

    .submission-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .community-thread__head,
    .community-reply__head,
    .profile-card__head,
    .community-thread__actions {
        flex-direction: column;
    }

    .follow-button,
    .notification-pill {
        width: 100%;
        justify-content: center;
    }
}
