* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f4f6f8;
    color: #17202a;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

a {
    color: #176b87;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.site-header {
    background: #111820;
    color: #fff;
    border-bottom: 4px solid #2fa36b;
}

.site-header-inner,
.page-shell,
.site-footer {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.brand:hover {
    text-decoration: none;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #2fa36b;
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.main-nav a {
    color: #d9e2e7;
    padding: 9px 10px;
    border-radius: 6px;
    font-size: 14px;
}

.main-nav a.active,
.main-nav a:hover {
    background: #25313d;
    color: #fff;
    text-decoration: none;
}

.page-shell {
    padding: 24px 0 40px;
}

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

.search-form,
.filter-bar {
    display: flex;
    gap: 8px;
    align-items: center;
    width: 100%;
}

.search-form {
    max-width: 620px;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid #c8d2da;
    background: #fff;
    color: #17202a;
    border-radius: 6px;
    padding: 11px 12px;
    font: inherit;
}

textarea {
    resize: vertical;
}

.button,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border: 1px solid #176b87;
    background: #176b87;
    color: #fff;
    border-radius: 6px;
    padding: 0 14px;
    font: inherit;
    cursor: pointer;
    white-space: nowrap;
}

.button:hover,
button:hover {
    text-decoration: none;
    background: #12566c;
}

.button-strong {
    background: #2f7d4f;
    border-color: #2f7d4f;
}

.button-strong:hover {
    background: #266640;
}

.button-ghost {
    background: #fff;
    color: #176b87;
}

.button-ghost:hover {
    background: #e9f4f6;
}

.button-small {
    min-height: 32px;
    padding: 0 10px;
    font-size: 13px;
}

.favorites-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid #d0a541;
    background: #fff8e6;
    color: #6b4d0b;
    border-radius: 6px;
    white-space: nowrap;
}

.hero-band,
.detail-panel,
.form-panel,
.content-section,
.thread-card,
.empty-state {
    background: #fff;
    border: 1px solid #dce3e8;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.hero-band {
    padding: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.hero-band h1,
.page-title h1,
.form-panel h1,
.detail-panel h1 {
    margin: 0;
    font-size: 28px;
    line-height: 1.2;
}

.eyebrow {
    margin: 0 0 8px;
    color: #60717f;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.category-tile {
    display: grid;
    gap: 6px;
    min-height: 150px;
    padding: 18px;
    background: #fff;
    border: 1px solid #dce3e8;
    border-radius: 8px;
    color: #17202a;
}

.category-tile:hover {
    border-color: #2fa36b;
    text-decoration: none;
}

.category-tile span {
    font-size: 18px;
    font-weight: 700;
}

.category-tile strong {
    color: #2f7d4f;
    font-size: 34px;
}

.category-tile small {
    color: #60717f;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.section-title h1,
.section-title h2 {
    margin: 0;
}

.page-title,
.form-panel,
.content-section,
.detail-panel {
    padding: 22px;
    margin-bottom: 18px;
}

.thread-card {
    padding: 18px;
    margin-bottom: 12px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
}

.thread-card h2 {
    margin: 6px 0 8px;
    font-size: 22px;
}

.thread-card p {
    margin: 0;
    color: #445260;
}

.thread-meta,
.thread-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: #60717f;
    font-size: 13px;
}

.thread-tags {
    margin-top: 12px;
}

.thread-tags span,
.thread-meta span,
.thread-meta a {
    background: #eef3f6;
    color: #43515d;
    border-radius: 999px;
    padding: 3px 9px;
}

.thread-actions,
.row-actions,
.detail-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.attachment-strip {
    grid-column: 1 / -1;
    display: grid;
    gap: 8px;
}

.attachment-pill,
.file-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #f8fafb;
    border: 1px solid #e4eaee;
    border-radius: 6px;
    padding: 10px;
}

.attachment-pill span,
.file-row span {
    display: block;
    color: #60717f;
    font-size: 13px;
}

.file-list {
    display: grid;
    gap: 8px;
}

.music-player {
    border-color: #cddce0;
    background: #fbfcfd;
}

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

.music-player h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1.2;
}

.music-player audio {
    width: 100%;
    display: block;
    margin: 10px 0 12px;
}

.player-controls {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.track-list {
    display: grid;
    gap: 8px;
}

.playlist-sync {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 10px 0 8px;
    padding: 8px 10px;
    color: #17202a;
    background: #eef8f2;
    border: 1px solid #cfe2dc;
    border-radius: 6px;
}

.playlist-sync span {
    color: #60717f;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.playlist-sync strong {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 13px;
}

[data-player-state="playing"] .playlist-sync {
    border-color: #2fa36b;
    background: #e4f7ec;
}

[data-player-state="reconnecting"] .playlist-sync {
    border-color: #d7a737;
    background: #fff7de;
}

.track-row {
    width: 100%;
    min-height: 54px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border: 1px solid #d8e2e7;
    background: #fff;
    color: #17202a;
    border-radius: 6px;
    padding: 10px 12px;
    text-align: left;
    white-space: normal;
}

.track-row:hover,
.track-row.active {
    border-color: #2fa36b;
    background: #eef8f2;
}

.track-row span {
    min-width: 0;
    overflow-wrap: anywhere;
    color: #17202a;
    font-weight: 700;
}

.track-row small {
    color: #60717f;
    white-space: nowrap;
}

.player-status {
    margin: 12px 0 0;
}

.abduction-hero {
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px;
    margin-bottom: 18px;
    color: #eef8f2;
    background: #111820;
    border: 1px solid #25313d;
    border-radius: 8px;
    overflow: hidden;
}

.abduction-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #fff;
    font-size: 34px;
    line-height: 1.15;
}

.abduction-hero p {
    max-width: 680px;
    color: #d9e2e7;
    margin: 12px 0 0;
}

.abduction-hero .eyebrow {
    color: #8fd6b0;
}

.abduction-hero img {
    width: 130px;
    max-width: 28vw;
    height: auto;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: #fff;
}

.abduction-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    gap: 18px;
    align-items: start;
}

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

.choice-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 16px;
    border: 1px solid #dce3e8;
    border-radius: 6px;
    padding: 12px;
}

.choice-row legend {
    padding: 0 6px;
    color: #344352;
    font-weight: 700;
}

.choice-row label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-weight: 400;
}

.choice-row input {
    width: auto;
}

.abduction-aside {
    margin-bottom: 0;
}

.abduction-report {
    display: grid;
    gap: 5px;
    padding: 12px 0;
    border-bottom: 1px solid #e4eaee;
}

.abduction-report:last-child {
    border-bottom: 0;
}

.abduction-report strong {
    color: #17202a;
}

.abduction-report span,
.abduction-report small {
    color: #60717f;
    font-size: 13px;
}

.abduction-report p {
    margin: 0;
    color: #344352;
}

.body-copy {
    margin-top: 18px;
    color: #27323c;
}

.stacked-form {
    display: grid;
    gap: 14px;
}

.stacked-form label {
    display: grid;
    gap: 6px;
    color: #344352;
    font-weight: 700;
}

.compact-form {
    margin-top: 18px;
    max-width: 720px;
}

.inline-form {
    display: inline-flex;
    margin: 0;
}

.reply {
    background: #f8fafb;
    border: 1px solid #e4eaee;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 10px;
}

.reply span {
    color: #60717f;
    font-size: 13px;
    margin-left: 8px;
}

.flash {
    padding: 12px 14px;
    border-radius: 6px;
    margin-bottom: 14px;
}

.flash-success {
    background: #e9f7ef;
    color: #1f6b3d;
    border: 1px solid #b8e0c8;
}

.flash-error {
    background: #fff0f0;
    color: #9a2b2b;
    border: 1px solid #f0c0c0;
}

.empty-state,
.muted {
    color: #60717f;
}

.empty-state {
    padding: 20px;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 0 34px;
    color: #60717f;
}

.admin-shell {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    min-height: 100vh;
}

.admin-side {
    background: #111820;
    color: #fff;
    padding: 22px;
}

.admin-side a {
    display: block;
    color: #d9e2e7;
    padding: 10px;
    border-radius: 6px;
    margin-top: 4px;
}

.admin-side a.active,
.admin-side a:hover {
    background: #25313d;
    color: #fff;
    text-decoration: none;
}

.admin-main {
    padding: 24px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #dce3e8;
    border-radius: 8px;
    overflow: hidden;
}

.admin-table th,
.admin-table td {
    text-align: left;
    padding: 10px;
    border-bottom: 1px solid #e8edf1;
    vertical-align: top;
}

.admin-table th {
    background: #f8fafb;
    color: #344352;
}

.admin-table tr:last-child td {
    border-bottom: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.stat-card {
    background: #fff;
    border: 1px solid #dce3e8;
    border-radius: 8px;
    padding: 16px;
}

.stat-card span {
    color: #60717f;
}

.stat-card strong {
    display: block;
    font-size: 30px;
    color: #2f7d4f;
}

@media (max-width: 820px) {
    .site-header-inner,
    .utility-row,
    .hero-band,
    .abduction-hero,
    .section-title,
    .music-player-top,
    .file-row,
    .attachment-pill,
    .site-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .category-grid,
    .abduction-grid,
    .form-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .thread-card {
        grid-template-columns: 1fr;
    }

    .thread-actions,
    .row-actions,
    .detail-actions {
        justify-content: flex-start;
    }

    .admin-shell {
        grid-template-columns: 1fr;
    }

    .track-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

.psybrazil-app {
    padding-bottom: 188px;
}

.ajax-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1200;
    width: 0;
    height: 3px;
    background: #2fa36b;
    opacity: 0;
    transition: width 220ms ease, opacity 180ms ease;
}

.ajax-progress.active {
    width: 72%;
    opacity: 1;
}

.ajax-progress.complete {
    width: 100%;
    opacity: 0;
}

.page-shell.loading {
    opacity: 0.56;
    transition: opacity 120ms ease;
}

.brand-mark {
    overflow: hidden;
    background: #fff;
}

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

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-direction: column;
    padding: 0;
    border-color: #344453;
    background: #17202a;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
}

.radio-dock {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 900;
    display: grid;
    grid-template-columns: minmax(190px, 0.8fr) minmax(260px, 1.2fr);
    gap: 12px;
    padding: 12px 16px;
    color: #f5fbff;
    background: #111820;
    border-top: 3px solid #2fa36b;
    box-shadow: 0 -8px 24px rgba(10, 16, 22, 0.22);
}

.radio-dock .eyebrow,
.radio-dock .muted,
.radio-dock .player-status {
    color: #c7d4dd;
}

.radio-dock-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
}

.radio-dock h2 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.radio-dock audio {
    width: 100%;
    display: block;
    margin: 2px 0 10px;
}

.radio-dock .player-controls {
    margin-bottom: 0;
}

.radio-dock .button-ghost {
    background: #17202a;
    color: #f5fbff;
    border-color: #3c5263;
}

.radio-dock .button-ghost:hover {
    background: #25313d;
}

.radio-download {
    min-height: 34px;
    font-size: 13px;
}

.radio-track-list {
    max-height: 78px;
    overflow: auto;
    grid-column: 1 / -1;
}

.radio-dock .playlist-sync {
    grid-column: 1 / -1;
    margin: 0;
    color: #f5fbff;
    background: #17202a;
    border-color: #344453;
}

.radio-dock .playlist-sync span {
    color: #9db3c2;
}

.radio-dock .playlist-sync strong {
    color: #f5fbff;
}

.radio-dock[data-player-state="playing"] .playlist-sync {
    background: #20352d;
    border-color: #2fa36b;
}

.radio-dock[data-player-state="reconnecting"] .playlist-sync {
    background: #332a18;
    border-color: #d7a737;
}

.radio-dock .track-row {
    min-height: 42px;
    padding: 8px 10px;
    background: #17202a;
    color: #f5fbff;
    border-color: #344453;
}

.radio-dock .track-row:hover,
.radio-dock .track-row.active {
    background: #20352d;
    border-color: #2fa36b;
}

.radio-dock .track-row span,
.radio-dock .track-row small {
    color: #f5fbff;
}

.radio-empty {
    align-self: center;
    color: #c7d4dd;
}

@media (orientation: landscape) and (min-width: 900px) {
    .psybrazil-app {
        padding-right: 326px;
        padding-bottom: 0;
    }

    .radio-dock {
        top: 76px;
        bottom: 0;
        left: auto;
        width: 326px;
        grid-template-columns: 1fr;
        align-content: start;
        overflow: auto;
        border-top: 0;
        border-left: 3px solid #2fa36b;
        box-shadow: -8px 0 24px rgba(10, 16, 22, 0.18);
    }

    .radio-dock-head,
    .radio-dock .player-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .radio-dock .player-controls {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .radio-track-list {
        max-height: none;
    }
}

@media (max-width: 820px), (orientation: portrait) {
    .psybrazil-app {
        padding-right: 0;
        padding-bottom: 220px;
    }

    .site-header-inner {
        flex-wrap: wrap;
    }

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

    .main-nav {
        display: none;
        width: 100%;
    }

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

    .radio-dock {
        grid-template-columns: 1fr;
        max-height: 46vh;
        overflow: auto;
    }

    .radio-dock-head {
        align-items: center;
    }
}

@media (max-width: 520px) {
    .psybrazil-app {
        padding-bottom: 250px;
    }

    .radio-dock {
        padding: 10px 12px;
    }

    .radio-dock-head {
        align-items: stretch;
        flex-direction: column;
    }

    .radio-dock .player-controls {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .radio-dock .button {
        padding-right: 8px;
        padding-left: 8px;
    }
}

.radio-entrance {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    gap: 22px;
    align-items: center;
    min-height: 420px;
    margin-bottom: 18px;
    padding: 30px;
    color: #f8fbff;
    background:
        linear-gradient(90deg, rgba(11, 17, 26, 0.94), rgba(13, 30, 41, 0.82)),
        url("../images/psybrazil.jpg") center / cover no-repeat;
    border: 1px solid rgba(87, 220, 183, 0.42);
    border-radius: 8px;
    box-shadow:
        0 0 0 1px rgba(255, 55, 148, 0.22),
        0 18px 42px rgba(12, 18, 28, 0.24),
        0 0 36px rgba(47, 163, 107, 0.24);
    overflow: hidden;
}

.radio-entrance:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #2fa36b, #ff3794, #35b7ff);
}

.radio-entrance-copy,
.radio-entrance-player {
    position: relative;
    z-index: 1;
}

.radio-entrance .eyebrow {
    color: #9ce8bf;
}

.radio-entrance h1 {
    max-width: 620px;
    margin: 0;
    color: #fff;
    font-size: 38px;
    line-height: 1.08;
    text-shadow: 0 0 24px rgba(255, 55, 148, 0.28);
}

.radio-entrance-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.radio-entrance-player {
    display: grid;
    gap: 12px;
    padding: 18px;
    background: rgba(13, 22, 32, 0.82);
    border: 1px solid rgba(227, 244, 255, 0.18);
    border-radius: 8px;
    box-shadow: 0 0 28px rgba(53, 183, 255, 0.16);
    backdrop-filter: blur(6px);
}

.radio-entrance-player h2 {
    margin: 0;
    color: #fff;
    font-size: 22px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.radio-entrance-player audio {
    width: 100%;
}

.radio-entrance-player .button-ghost,
.radio-entrance-player .track-row {
    background: rgba(17, 30, 43, 0.92);
    color: #f8fbff;
    border-color: rgba(156, 232, 191, 0.34);
}

.radio-entrance-player .button-ghost:hover,
.radio-entrance-player .track-row:hover,
.radio-entrance-player .track-row.active {
    background: rgba(35, 62, 58, 0.94);
    border-color: #35b7ff;
}

.radio-entrance-player .track-row span,
.radio-entrance-player .track-row small,
.radio-entrance-player .muted,
.radio-entrance-player .player-status {
    color: #f8fbff;
}

.radio-entrance-list {
    max-height: 220px;
    overflow: auto;
}

.forum-summary {
    border-color: #cfe2dc;
}

.radio-toggle {
    position: fixed;
    top: 88px;
    right: 16px;
    z-index: 940;
    min-height: 38px;
    padding: 0 12px;
    color: #fff;
    background: #b92770;
    border-color: #ff6fb2;
    box-shadow: 0 0 22px rgba(255, 55, 148, 0.28);
}

.radio-toggle:hover {
    background: #8f1d59;
}

.radio-dock {
    transition: transform 180ms ease, opacity 180ms ease, visibility 180ms ease;
}

.radio-dock-collapsed {
    padding-bottom: 40px;
}

.radio-dock-collapsed .radio-dock {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 20px));
}

@media (orientation: landscape) and (min-width: 900px) {
    .radio-dock-collapsed {
        padding-right: 0;
    }

    .radio-dock-collapsed .radio-dock {
        transform: translateX(calc(100% + 20px));
    }
}

@media (max-width: 900px) {
    .radio-entrance {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 24px;
    }

    .radio-entrance h1 {
        font-size: 30px;
    }
}

@media (max-width: 700px) {
    .psybrazil-app {
        padding-bottom: 188px;
    }

    .radio-dock {
        max-height: 38vh;
    }

    .radio-toggle {
        top: 78px;
        right: 12px;
        min-height: 36px;
        padding-right: 10px;
        padding-left: 10px;
        font-size: 14px;
    }

    .radio-dock-collapsed {
        padding-bottom: 28px;
    }
}

@media (max-width: 520px) {
    .radio-entrance {
        padding: 18px;
    }

    .radio-entrance h1 {
        font-size: 26px;
    }

    .radio-entrance-player {
        padding: 14px;
    }
}


/* Member mainframe upgrade */
:root { --ink: #0b1322; --panel: #121d30; --surface: #ffffff; --signal: #65e6a7; --violet: #8b7dff; --muted-ink: #6e7c8f; }
body { background: radial-gradient(circle at top right, #e8eeff 0, #f6f8fc 32rem, #f2f5f8 100%); color: var(--ink); }
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(11, 19, 34, .96); border-bottom: 1px solid rgba(101,230,167,.48); backdrop-filter: blur(16px); }
.site-header-inner { min-height: 78px; }
.brand { letter-spacing: .02em; }
.brand-mark { border-radius: 50%; box-shadow: 0 0 0 3px rgba(101,230,167,.2), 0 0 22px rgba(101,230,167,.25); }
.main-nav { gap: 6px; }
.main-nav a { border: 1px solid transparent; }
.main-nav a.active, .main-nav a:hover { border-color: rgba(101,230,167,.32); background: rgba(255,255,255,.1); }
.hero-band, .plan-hero { border: 0; color: #f8fbff; background: linear-gradient(120deg, #101b30 0%, #263d71 60%, #174b54 100%); box-shadow: 0 20px 55px rgba(12,22,39,.16); }
.hero-band .eyebrow, .plan-hero .eyebrow { color: var(--signal); }
.hero-band h1, .plan-hero h1 { max-width: 760px; color: #fff; }
.plan-hero { margin: 0 0 18px; padding: 34px; border-radius: 14px; }
.plan-hero p:last-child { max-width: 720px; color: #dce8f7; }
.category-tile, .content-section, .detail-panel, .form-panel, .thread-card, .membership-copy, .account-panel, .quota-card, .plan-card, .auth-gate { border-color: #dce5ef; border-radius: 14px; }
.category-tile { min-height: 164px; background: linear-gradient(145deg,#fff,#f4f8ff); transition: transform .18s ease, box-shadow .18s ease; }
.category-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(30,55,90,.12); border-color: #8b7dff; }
.category-tile strong { color: #6356d8; }
.content-section, .detail-panel, .form-panel { box-shadow: 0 8px 25px rgba(20,42,72,.06); }
.section-title { align-items: center; }
.view-switcher { display: inline-flex; gap: 3px; padding: 3px; background: #edf2f8; border-radius: 9px; }
.view-switcher a { padding: 7px 10px; color: #526177; font-size: 13px; border-radius: 7px; }
.view-switcher a.active { color: #fff; background: #263d71; text-decoration: none; }
.thread-collection.view1 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.thread-collection.view1 .thread-card { margin: 0; min-height: 270px; grid-template-columns: 1fr; background: linear-gradient(150deg,#fff,#f2f6fe); }
.thread-collection.view1 .thread-card-gallery:before { content: "RELEASE"; display: inline-flex; width: max-content; padding: 4px 8px; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .12em; border-radius: 999px; background: linear-gradient(90deg,#6356d8,#21959b); }
.thread-collection.view1 .thread-actions { justify-content: flex-start; }
.thread-collection.view1 .attachment-strip { grid-column: auto; }
.thread-collection.view2 .thread-card { border-left: 4px solid #8b7dff; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 20px 0 2px; color: var(--muted-ink); font-size: 14px; }
.membership-shell { display: grid; grid-template-columns: minmax(0,1fr) minmax(340px,.85fr); gap: 20px; align-items: start; max-width: 1000px; margin: 34px auto; }
.membership-copy { padding: 34px; background: linear-gradient(145deg,#101b30,#294064); color: #eaf3ff; }
.membership-copy h1 { margin: 0; color: #fff; font-size: clamp(30px,4vw,45px); line-height: 1.06; }
.membership-copy p:last-child { color: #c8d8ec; }
.plan-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.plan-card { padding: 28px; background: #fff; box-shadow: 0 8px 25px rgba(20,42,72,.06); }
.plan-card h2 { margin: 0 0 8px; font-size: 27px; }
.plan-card-premium { color: #edf7ff; background: linear-gradient(145deg,#31296c,#13515c); border-color: transparent; }
.plan-card-premium .eyebrow { color: #a8f3d0; }
.plan-card-premium h2 { color: #fff; }
.plan-card-premium p { color: #d8e8ff; }
.account-panel { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 28px; margin-bottom: 18px; background: linear-gradient(120deg,#111d31,#263e73); color: #fff; }
.account-panel h1 { margin: 0; color: #fff; }
.account-panel p { margin: 6px 0 0; color: #d1def2; }
.plan-badge { padding: 7px 11px; color: #092618; background: var(--signal); border-radius: 999px; font-weight: 700; white-space: nowrap; }
.quota-card, .auth-gate { padding: 28px; background: #fff; box-shadow: 0 8px 25px rgba(20,42,72,.06); }
.quota-meter { height: 12px; overflow: hidden; background: #e4eaf1; border-radius: 999px; }
.quota-meter span { display: block; height: 100%; background: linear-gradient(90deg,#6658e0,#57dca4); border-radius: inherit; }
.auth-gate { max-width: 760px; margin: 50px auto; text-align: center; }
.auth-gate h1 { margin: 0; font-size: 34px; }
.auth-gate p { color: var(--muted-ink); }
/* Native controls are not rendered; the branded transport remains keyboard-accessible. */
[data-player-audio] { display: none; }
.player-controls { padding: 5px; border-radius: 10px; background: #eaf1f9; }
.player-controls .button-strong { background: linear-gradient(135deg,#6356d8,#197e8d); border-color: transparent; }
.member-basic .download-link, .member-basic [data-player-download], .member-basic .radio-download { display: none !important; }
.member-basic .file-row .row-actions:after, .member-basic .attachment-pill:after { content: 'Premium download'; color: #6c5ea9; font-size: 12px; font-weight: 700; white-space: nowrap; }
.member-basic .radio-dock { border-color: #6a5de2; }
@media (max-width: 980px) { .thread-collection.view1 { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 820px) { .membership-shell, .plan-grid, .thread-collection.view1 { grid-template-columns: 1fr; } .account-panel { align-items: flex-start; flex-direction: column; } .view-switcher { width: 100%; } .view-switcher a { flex: 1; text-align: center; } }
@media (max-width: 520px) { .page-shell { width: min(100% - 20px,1180px); } .hero-band,.plan-hero,.content-section,.detail-panel,.form-panel,.auth-gate,.quota-card { padding: 18px; } .hero-band h1,.plan-hero h1 { font-size: 29px; } .pagination { justify-content: space-between; } }
