:root {
    --bg-page: #f5f7fb;
    --bg-surface: rgba(255, 255, 255, 0.84);
    --bg-surface-strong: rgba(255, 255, 255, 0.96);
    --bg-surface-soft: rgba(255, 255, 255, 0.72);
    --bg-dark: #10131a;
    --line-soft: rgba(15, 23, 42, 0.08);
    --line-strong: rgba(15, 23, 42, 0.12);
    --text-main: #142033;
    --text-soft: #5f6c84;
    --text-faint: #8f9bb0;
    --text-white: #ffffff;
    --accent-coral: #ff6a3d;
    --accent-orange: #ff9052;
    --accent-green: #27c266;
    --accent-green-soft: #e8fff2;
    --accent-blue: #33a6ff;
    --accent-blue-soft: #eef8ff;
    --accent-violet: #6d6aff;
    --accent-pink: #ff6db2;
    --shadow-soft: 0 14px 40px rgba(19, 31, 56, 0.08);
    --shadow-mid: 0 24px 60px rgba(19, 31, 56, 0.12);
    --shadow-strong: 0 28px 90px rgba(19, 31, 56, 0.16);
    --radius-sm: 14px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --container: min(1240px, calc(100% - 28px));
    --font-body: "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 125, 80, 0.12), transparent 22%),
        radial-gradient(circle at 100% 0%, rgba(54, 187, 122, 0.14), transparent 24%),
        radial-gradient(circle at 50% 28%, rgba(82, 161, 255, 0.14), transparent 18%),
        linear-gradient(180deg, #fbfcff 0%, #f5f7fb 48%, #f3f5fa 100%);
    color: var(--text-soft);
    font: 14px/1.65 var(--font-body);
    overflow-x: hidden;
}

body::before,
body::after {
    content: "";
    position: fixed;
    z-index: -1;
    width: 34rem;
    height: 34rem;
    border-radius: 50%;
    filter: blur(20px);
    pointer-events: none;
}

body::before {
    top: -12rem;
    left: -10rem;
    background: radial-gradient(circle, rgba(255, 120, 86, 0.18) 0%, rgba(255, 120, 86, 0) 68%);
}

body::after {
    right: -8rem;
    top: 4rem;
    background: radial-gradient(circle, rgba(53, 196, 112, 0.16) 0%, rgba(53, 196, 112, 0) 70%);
}

a {
    color: inherit;
    text-decoration: none;
    transition:
        color 220ms ease,
        background-color 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease,
        transform 220ms ease,
        opacity 220ms ease;
}

a:hover {
    color: var(--text-main);
}

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

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

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

.site-shell {
    overflow: clip;
}

.button,
.mix-action,
.section-more,
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 700;
    white-space: nowrap;
}

.button--primary,
.mix-action,
.section-more {
    background: linear-gradient(135deg, var(--accent-coral) 0%, var(--accent-orange) 100%);
    color: var(--text-white);
    box-shadow: 0 14px 34px rgba(255, 106, 61, 0.22);
}

.button--ghost,
.mix-action--ghost,
.mix-action--button,
.footer-social a {
    background: rgba(255, 255, 255, 0.78);
    color: var(--text-main);
    border-color: var(--line-soft);
    box-shadow: none;
}

.button:hover,
.mix-action:hover,
.section-more:hover,
.footer-social a:hover {
    transform: translateY(-2px);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 420ms ease, transform 420ms ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.portal-header {
    position: sticky;
    top: 0;
    z-index: 90;
    backdrop-filter: blur(16px);
}

.portal-topbar {
    background: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.86);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.portal-topbar__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px) auto;
    align-items: center;
    gap: 18px;
    min-height: 56px;
}

.portal-topbar__left,
.portal-topbar__right {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.portal-topbar__right {
    justify-content: flex-end;
}

.topbar-home,
.topbar-link {
    color: var(--text-soft);
}

.topbar-home {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    font-weight: 800;
}

.topbar-home::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-coral) 0%, var(--accent-orange) 100%);
    box-shadow: 0 0 0 5px rgba(255, 106, 61, 0.12);
}

.topbar-copy {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--text-soft);
}

.topbar-link {
    font-size: 13px;
}

.topbar-link--accent {
    color: #74a400;
    font-weight: 800;
}

.topbar-search {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 6px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-soft);
}

.topbar-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--text-main);
    padding: 0 14px;
}

.topbar-search input::placeholder {
    color: var(--text-faint);
}

.topbar-search button {
    min-width: 92px;
    min-height: 34px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--text-main) 0%, #2a3446 100%);
    color: var(--text-white);
    font-weight: 700;
}

.portal-navbar-shell {
    padding: 14px 0 8px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.48) 100%);
}

.portal-navbar {
    display: grid;
    grid-template-columns: 300px auto;
    align-items: center;
    gap: 18px;
    min-height: 84px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.72) 100%);
    box-shadow: var(--shadow-soft);
}

.portal-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.portal-brand__mark,
.footer-brand__logo {
    position: relative;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 74px;
    height: 74px;
    border-radius: 24px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0)),
        linear-gradient(135deg, #0d1521 0%, #2c3850 100%);
    color: var(--text-white);
    font-size: 28px;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.portal-brand__mark img,
.footer-brand__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portal-brand__text,
.footer-brand__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.portal-brand__text strong,
.footer-brand__body strong {
    color: var(--text-main);
    font-size: 34px;
    line-height: 1.02;
    letter-spacing: -0.02em;
}

.portal-brand__text small {
    margin-top: 8px;
    color: var(--text-soft);
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
    min-width: 0;
}

.main-nav__item {
    position: relative;
}

.main-nav__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 16px;
    color: var(--text-main);
    font-size: 17px;
    font-weight: 700;
}

.main-nav__link:hover,
.main-nav__link.is-active,
.main-nav__item:hover > .main-nav__link {
    background: rgba(255, 106, 61, 0.1);
    color: var(--accent-coral);
}

.main-nav__dropdown {
    position: absolute;
    left: 50%;
    top: calc(100% + 10px);
    display: none;
    min-width: 170px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-mid);
    transform: translateX(-50%);
}

.main-nav__item:hover .main-nav__dropdown,
.main-nav__item:focus-within .main-nav__dropdown {
    display: grid;
    gap: 8px;
}

.main-nav__dropdown a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--text-soft);
    font-size: 13px;
}

.main-nav__dropdown a:hover {
    background: var(--accent-blue-soft);
    color: var(--accent-blue);
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line-soft);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-soft);
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 3px 0;
    border-radius: 999px;
    background: var(--text-main);
}

.site-main {
    padding: 20px 0 48px;
}

.portal-home {
    display: grid;
    gap: 20px;
}

.home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.85fr);
    gap: 18px;
}

.hero-card,
.hero-sidecard,
.home-section,
.side-card,
.archive-shell,
.article-card,
.comment-shell,
.footer-main,
.footer-friends {
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: linear-gradient(180deg, var(--bg-surface-strong) 0%, var(--bg-surface) 100%);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(20px);
}

.hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 20px;
    padding: 28px;
    border-radius: 32px;
}

.hero-card__content {
    display: grid;
    gap: 18px;
    align-content: center;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-coral);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-card h1,
.archive-head strong,
.article-hero__body h1 {
    margin: 0;
    color: var(--text-main);
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.hero-card p,
.hero-sidecard p,
.footer-brand__body p,
.archive-card__body p,
.article-hero__body p,
.mix-entry__body p,
.section-inline-copy,
.comment-shell,
.empty-state p {
    margin: 0;
    color: var(--text-soft);
}

.hero-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-card__meta span,
.mix-tag {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(20, 32, 51, 0.06);
    color: var(--text-main);
    font-size: 12px;
    font-weight: 700;
}

.hero-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-card__cover,
.mix-entry__cover,
.archive-card__cover,
.article-hero__media,
.producer-card__face {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-card__cover {
    min-height: 280px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.hero-card__cover::after,
.mix-entry__cover::after,
.archive-card__cover::after,
.article-hero__media::after,
.producer-card__face::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
        radial-gradient(circle at 0% 50%, rgba(255, 106, 61, 0.24), transparent 35%),
        radial-gradient(circle at 100% 0%, rgba(39, 194, 102, 0.2), transparent 38%),
        linear-gradient(180deg, rgba(17, 24, 39, 0.04), rgba(17, 24, 39, 0.32));
}

.is-fallback {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)),
        radial-gradient(circle at 0% 50%, rgba(255, 106, 61, 0.34), transparent 35%),
        radial-gradient(circle at 100% 0%, rgba(39, 194, 102, 0.28), transparent 38%),
        linear-gradient(135deg, #1b2331 0%, #2d3950 100%);
}

.hero-card__cover-tag {
    position: absolute;
    left: 18px;
    top: 18px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    color: var(--text-main);
    font-weight: 800;
}

.hero-sidecards {
    display: grid;
    gap: 16px;
}

.hero-sidecard {
    min-height: 120px;
    padding: 22px;
    border-radius: 26px;
}

.hero-sidecard span {
    display: block;
    color: var(--text-faint);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-sidecard strong {
    display: block;
    margin-top: 10px;
    color: var(--text-main);
    font-size: 24px;
    line-height: 1.2;
}

.hero-sidecard p {
    margin-top: 10px;
}

.home-quickchips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.quick-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--text-main);
    box-shadow: var(--shadow-soft);
}

.quick-chip em {
    color: var(--accent-coral);
    font-style: normal;
    font-weight: 800;
}

.quick-chip:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-mid);
}

.portal-home__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
    align-items: start;
}

.portal-home__left,
.portal-home__right {
    display: grid;
    gap: 18px;
}

.portal-home__right {
    position: sticky;
    top: 138px;
}

.home-section,
.side-card,
.archive-shell,
.article-card,
.comment-shell {
    border-radius: 30px;
}

.section-head,
.archive-head,
.side-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 24px 18px;
}

.section-head {
    border-bottom: 1px solid var(--line-soft);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.section-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 106, 61, 0.14), rgba(51, 166, 255, 0.12));
    color: var(--accent-coral);
    font-size: 14px;
    font-weight: 800;
}

.section-title strong,
.side-card__head strong {
    display: block;
    color: var(--text-main);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.15;
}

.section-title em,
.side-card__head span,
.archive-head em {
    display: block;
    color: var(--text-faint);
    font-style: normal;
    font-size: 14px;
}

.section-tabs,
.section-actions,
.playlist-toolbar__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.section-tab {
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: var(--text-soft);
    font-weight: 700;
    white-space: nowrap;
}

.section-tab.is-active {
    background: rgba(255, 106, 61, 0.1);
    color: var(--accent-coral);
    border-color: rgba(255, 106, 61, 0.18);
}

.section-tab:hover {
    background: rgba(51, 166, 255, 0.08);
    color: var(--accent-blue);
}

.section-tabs--soft .section-tab.is-active {
    background: rgba(39, 194, 102, 0.1);
    color: var(--accent-green);
    border-color: rgba(39, 194, 102, 0.16);
}

.section-inline-copy {
    max-width: 380px;
}

.section-more {
    min-height: 40px;
}

.recommend-panels,
.playlist-panel,
.producer-pages {
    padding: 22px 24px 24px;
}

.playlist-pages {
    padding: 0;
}

.recommend-panel,
.playlist-panel,
.playlist-page,
.producer-page {
    display: none;
}

.recommend-panel.is-active,
.playlist-panel.is-active,
.playlist-page.is-active,
.producer-page.is-active {
    display: block;
}

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

.mix-column {
    min-width: 0;
    padding: 18px;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(249, 251, 255, 0.94));
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.mix-column--alt {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(246, 249, 255, 0.96));
}

.mix-column__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.mix-column__eyebrow {
    display: block;
    color: var(--text-faint);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mix-column__title {
    display: inline-flex;
    margin-top: 8px;
    color: var(--text-main);
    font-size: 22px;
    font-weight: 800;
}

.mix-column__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.mix-action {
    min-height: 36px;
    padding: 0 14px;
    font-size: 13px;
}

.mix-action--ghost,
.mix-action--button {
    box-shadow: none;
}

.mix-indicator {
    color: var(--text-faint);
    font-size: 12px;
    font-weight: 800;
}

.mix-pages {
    min-width: 0;
}

.mix-page {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mix-page.is-active {
    display: grid;
}

.mix-entry {
    border-bottom: 1px solid var(--line-soft);
    outline: none;
}

.mix-entry:last-child {
    border-bottom: 0;
}

.mix-entry__compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 52px;
    cursor: pointer;
    color: var(--text-soft);
}

.mix-entry__name {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.mix-entry__date {
    flex-shrink: 0;
    color: var(--accent-green);
    font-weight: 800;
}

.mix-entry__expanded {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 16px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(8px);
    transition: max-height 280ms ease, opacity 280ms ease, transform 280ms ease, padding-bottom 280ms ease;
}

.mix-entry.is-active {
    padding-top: 2px;
}

.mix-entry.is-active .mix-entry__compact {
    min-height: 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
}

.mix-entry.is-active .mix-entry__expanded {
    max-height: 220px;
    opacity: 1;
    transform: translateY(0);
    padding-bottom: 18px;
}

.mix-entry__cover {
    min-height: 128px;
}

.mix-entry__body {
    display: grid;
    gap: 10px;
    align-content: start;
    min-width: 0;
}

.mix-entry__topline,
.mix-entry__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.mix-entry__producer,
.mix-entry__meta {
    color: var(--text-faint);
    font-size: 12px;
}

.mix-entry__body h3,
.archive-card__body h3 {
    margin: 0;
    color: var(--text-main);
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.mix-entry__body h3 a:hover,
.archive-card__body h3 a:hover,
.side-rank__body a:hover,
.fresh-list__item:hover .fresh-list__title,
.producer-card__tracks a:hover span {
    color: var(--accent-coral);
}

.playlist-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.playlist-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px 16px;
}

.playlist-card {
    display: grid;
    justify-items: center;
    gap: 12px;
    text-align: center;
}

.playlist-card__cover {
    position: relative;
    display: block;
    width: 132px;
    height: 132px;
    border-radius: 50%;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32), var(--shadow-soft);
}

.playlist-card__cover::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 44px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.38));
}

.playlist-card__badge {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-main);
    font-size: 13px;
    font-weight: 800;
}

.playlist-card strong {
    color: var(--text-main);
    font-size: 16px;
    line-height: 1.35;
    max-width: 100%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.playlist-card em {
    color: var(--text-faint);
    font-style: normal;
    font-size: 12px;
}

.producer-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.producer-card {
    position: relative;
    min-width: 0;
}

.producer-card__face {
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
}

.producer-card__initial {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
    color: var(--text-white);
    font-size: 38px;
    font-weight: 800;
}

.producer-card__meta {
    margin-top: 10px;
}

.producer-card__meta strong {
    display: block;
    color: var(--text-main);
    font-size: 18px;
    line-height: 1.2;
}

.producer-card__meta span {
    display: block;
    margin-top: 4px;
    color: var(--text-faint);
    font-size: 12px;
}

.producer-card__overlay {
    position: absolute;
    inset: 12px 12px 56px;
    display: grid;
    align-content: space-between;
    gap: 14px;
    padding: 16px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(26, 39, 61, 0.96));
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 240ms ease, transform 240ms ease;
}

.producer-card:hover .producer-card__overlay,
.producer-card:focus-within .producer-card__overlay {
    opacity: 1;
    transform: translateY(0);
}

.producer-card__overlay-head strong {
    display: block;
    color: var(--text-white);
    font-size: 18px;
}

.producer-card__overlay-head span {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 12px;
}

.producer-card__tracks {
    display: grid;
    gap: 10px;
}

.producer-card__tracks a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 12px;
}

.producer-card__tracks span {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.producer-card__tracks em {
    color: rgba(255, 255, 255, 0.54);
    font-style: normal;
}

.side-card {
    padding: 0 0 18px;
    border-radius: 28px;
}

.side-card__head {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line-soft);
}

.side-rank {
    display: grid;
    gap: 12px;
    padding: 18px 18px 0;
}

.side-rank--dense {
    gap: 10px;
}

.side-rank__item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.rank-badge {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: linear-gradient(135deg, #dfe7f3 0%, #cdd7e6 100%);
    color: var(--text-main);
    font-size: 18px;
    font-weight: 900;
}

.rank-badge--1 {
    background: linear-gradient(135deg, var(--accent-coral) 0%, var(--accent-orange) 100%);
    color: var(--text-white);
}

.rank-badge--2 {
    background: linear-gradient(135deg, #3bc2ff 0%, #2b88ff 100%);
    color: var(--text-white);
}

.rank-badge--3 {
    background: linear-gradient(135deg, #8fd300 0%, #59a500 100%);
    color: var(--text-white);
}

.side-rank__body {
    min-width: 0;
}

.side-rank__body a {
    color: var(--text-main);
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
}

.side-rank__body p {
    margin: 6px 0 0;
    color: var(--text-faint);
    font-size: 12px;
}

.fresh-list {
    display: grid;
    gap: 10px;
    padding: 18px 18px 0;
}

.fresh-list__item {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.fresh-list__title {
    display: block;
    color: var(--text-main);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
}

.fresh-list__meta {
    display: block;
    margin-top: 6px;
    color: var(--text-faint);
    font-size: 12px;
}

.portal-footer {
    padding-top: 8px;
}

.footer-friends {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding: 18px 24px;
    border-radius: 26px;
}

.footer-friends span {
    color: var(--text-faint);
}

.footer-friends a {
    color: var(--text-soft);
}

.footer-friends a:hover {
    color: var(--accent-coral);
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) auto;
    gap: 24px;
    margin-top: 18px;
    padding: 28px;
    border-radius: 32px;
}

.footer-brand {
    display: flex;
    gap: 18px;
    min-width: 0;
}

.footer-brand__logo {
    width: 84px;
    height: 84px;
    border-radius: 28px;
}

.footer-brand__body p + p {
    margin-top: 10px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    gap: 18px;
}

.footer-column h3 {
    margin: 0 0 12px;
    color: var(--text-main);
    font-size: 16px;
}

.footer-column a {
    display: block;
    color: var(--text-soft);
    padding: 6px 0;
}

.footer-column a:hover {
    color: var(--accent-coral);
}

.footer-social {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.footer-legal {
    padding: 18px 0 32px;
}

.footer-legal__inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    color: var(--text-faint);
}

.footer-legal__inner p {
    margin: 0;
}

.footer-powered {
    white-space: nowrap;
}

.back-top {
    position: fixed;
    right: 24px;
    bottom: 26px;
    z-index: 40;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--accent-coral) 0%, var(--accent-orange) 100%);
    color: var(--text-white);
    font-size: 22px;
    font-weight: 800;
    box-shadow: 0 22px 48px rgba(255, 106, 61, 0.26);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
}

.back-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.portal-archive {
    padding-top: 4px;
}

.archive-shell {
    padding: 24px;
    border-radius: 32px;
}

.archive-head {
    padding: 0 0 22px;
    border-bottom: 1px solid var(--line-soft);
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding-top: 22px;
}

.archive-card {
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.archive-card__cover {
    display: block;
    min-height: 220px;
}

.archive-card__body {
    padding: 18px;
}

.archive-card__meta,
.article-hero__meta,
.article-hero__footer,
.article-tags,
.pagination {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.archive-card__meta,
.article-hero__meta {
    color: var(--text-faint);
    font-size: 12px;
}

.pagination-wrap {
    margin-top: 26px;
}

.pagination {
    gap: 10px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, 0.72);
    color: var(--text-soft);
}

.pagination .current,
.pagination span.current,
.pagination a:hover {
    background: linear-gradient(135deg, var(--accent-coral) 0%, var(--accent-orange) 100%);
    color: var(--text-white);
    border-color: transparent;
}

.empty-state {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 48px 20px;
    text-align: center;
}

.empty-state h2 {
    margin: 0;
    color: var(--text-main);
    font-size: 28px;
}

.empty-state--compact {
    padding: 24px;
}

.article-shell {
    display: grid;
    gap: 18px;
}

.article-card {
    padding: 28px;
    border-radius: 32px;
}

.article-card--page .article-hero {
    grid-template-columns: minmax(0, 1fr) 300px;
}

.article-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 22px;
    align-items: stretch;
}

.article-hero__body {
    display: grid;
    gap: 16px;
    align-content: start;
}

.article-hero__media {
    min-height: 280px;
}

.article-content {
    margin-top: 26px;
    color: var(--text-main);
    font-size: 16px;
}

.article-content > *:first-child {
    margin-top: 0;
}

.article-content img {
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.article-content blockquote {
    margin: 24px 0;
    padding: 18px 20px;
    border-left: 4px solid var(--accent-coral);
    border-radius: 0 18px 18px 0;
    background: rgba(255, 255, 255, 0.74);
    color: var(--text-soft);
}

.article-nav {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--line-soft);
}

.article-nav div {
    flex: 1;
    min-width: 0;
}

.article-tags a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--accent-blue-soft);
    color: var(--accent-blue);
    font-size: 12px;
    font-weight: 700;
}

.comment-shell {
    padding: 24px;
    border-radius: 28px;
}

.section-head--compact {
    padding: 0 0 18px;
}

.comment-list,
.comment-list .children {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-list-wrap {
    padding-top: 8px;
}

.comment-list > li,
.comment-list .children > li {
    margin-top: 16px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.comment-list .children {
    margin-top: 14px;
    padding-left: 18px;
}

.comment-author {
    color: var(--text-main);
    font-weight: 800;
}

.comment-meta,
.comment-reply {
    color: var(--text-faint);
    font-size: 12px;
}

.comment-content {
    margin-top: 10px;
    color: var(--text-soft);
}

.comment-form-wrap {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--line-soft);
}

.cancel-comment-reply {
    margin-bottom: 12px;
}

.comment-form {
    display: grid;
    gap: 16px;
}

.comment-form__row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.comment-form label {
    display: grid;
    gap: 8px;
    color: var(--text-soft);
}

.comment-form span {
    color: var(--text-main);
    font-weight: 700;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--text-main);
    padding: 14px 16px;
    resize: vertical;
    outline: none;
    transition: border-color 220ms ease, box-shadow 220ms ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: rgba(255, 106, 61, 0.3);
    box-shadow: 0 0 0 4px rgba(255, 106, 61, 0.1);
}

.comment-login {
    margin: 0;
    color: var(--text-soft);
}

.comment-login a {
    color: var(--accent-blue);
}

@media (max-width: 1180px) {
    .portal-topbar__inner {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    }

    .portal-topbar__right {
        display: none;
    }

    .portal-navbar {
        grid-template-columns: minmax(0, 1fr) auto;
    }

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

    .hero-card__cover {
        min-height: 240px;
    }

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

    .portal-home__right {
        position: static;
    }

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

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

    .footer-social {
        justify-content: flex-start;
    }
}

@media (max-width: 1024px) {
    .portal-topbar__inner {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 12px 0;
    }

    .portal-topbar__left,
    .portal-topbar__right {
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .portal-navbar {
        grid-template-columns: minmax(0, 1fr) auto;
        position: relative;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .main-nav {
        position: absolute;
        left: 18px;
        right: 18px;
        top: calc(100% + 10px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        border: 1px solid rgba(255, 255, 255, 0.78);
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: var(--shadow-mid);
    }

    .nav-open .main-nav {
        display: flex;
    }

    .main-nav__item,
    .main-nav__link {
        width: 100%;
    }

    .main-nav__dropdown {
        position: static;
        transform: none;
        margin-top: 8px;
        box-shadow: none;
        border-radius: 16px;
    }

    .home-hero,
    .recommend-columns,
    .article-hero,
    .article-card--page .article-hero {
        grid-template-columns: 1fr;
    }

    .playlist-grid,
    .producer-grid,
    .archive-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .comment-form__row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .portal-navbar,
    .hero-card,
    .home-section,
    .side-card,
    .archive-shell,
    .article-card,
    .comment-shell,
    .footer-main {
        border-radius: 24px;
    }

    .portal-brand__text strong,
    .footer-brand__body strong {
        font-size: 26px;
    }

    .hero-card h1,
    .archive-head strong,
    .article-hero__body h1 {
        font-size: 30px;
    }

    .section-head,
    .archive-head,
    .side-card__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .recommend-panels,
    .playlist-panel,
    .producer-pages,
    .archive-shell,
    .article-card,
    .comment-shell {
        padding-left: 18px;
        padding-right: 18px;
    }

    .mix-column {
        padding: 16px;
    }

    .mix-column__head,
    .playlist-toolbar,
    .footer-brand {
        flex-direction: column;
        align-items: flex-start;
    }

    .mix-column__actions,
    .section-tabs,
    .section-actions,
    .playlist-toolbar__actions {
        justify-content: flex-start;
    }

    .mix-entry__expanded {
        grid-template-columns: 1fr;
    }

    .mix-entry__cover,
    .article-hero__media {
        min-height: 220px;
    }

    .playlist-grid,
    .producer-grid,
    .archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .playlist-card__cover {
        width: min(100%, 124px);
        height: auto;
        aspect-ratio: 1 / 1;
    }

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

    .footer-legal__inner,
    .article-nav {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 520px) {
    .container {
        width: min(100% - 20px, 100%);
    }

    .topbar-copy {
        width: 100%;
    }

    .topbar-search button {
        min-width: 78px;
    }

    .portal-navbar {
        padding: 14px;
    }

    .portal-brand {
        gap: 12px;
    }

    .portal-brand__mark,
    .footer-brand__logo {
        width: 64px;
        height: 64px;
        border-radius: 20px;
    }

    .section-icon {
        width: 40px;
        height: 40px;
    }

    .playlist-grid,
    .producer-grid,
    .archive-grid {
        grid-template-columns: 1fr;
    }

    .mix-entry__body h3,
    .playlist-card strong,
    .producer-card__meta strong,
    .side-rank__body a {
        font-size: 16px;
    }

    .back-top {
        right: 16px;
        bottom: 18px;
        width: 48px;
        height: 48px;
        border-radius: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
    }
}
