:root {
    --bg: #050505;
    --bg-soft: #0f0d09;
    --panel: rgba(16, 16, 18, 0.88);
    --panel-strong: rgba(25, 25, 28, 0.96);
    --text: #f6f1d9;
    --muted: #bbad86;
    --gold: #c9a14a;
    --gold-strong: #f0cf79;
    --line: rgba(216, 177, 90, 0.18);
    --success: #54c690;
    --error: #ff7f7f;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Manrope', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(201, 161, 74, 0.18), transparent 34%),
        radial-gradient(circle at 88% 12%, rgba(255, 219, 128, 0.07), transparent 18%),
        linear-gradient(180deg, #040404 0%, #090805 42%, #060606 100%);
    color: var(--text);
}

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

img {
    max-width: 100%;
}

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

textarea {
    resize: vertical;
}

.page-shell {
    position: relative;
    overflow: hidden;
}

.page-shell::before,
.page-shell::after {
    content: "";
    position: fixed;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
}

.page-shell::before {
    top: -160px;
    left: -140px;
    background: rgba(216, 177, 90, 0.1);
}

.page-shell::after {
    bottom: -200px;
    right: -120px;
    background: rgba(216, 177, 90, 0.08);
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    background: linear-gradient(180deg, rgba(6, 6, 6, 0.92), rgba(6, 6, 6, 0.74));
    border-bottom: 1px solid rgba(216, 177, 90, 0.1);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
}

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

.brand-mark,
.avatar,
.comment-avatar {
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(242, 209, 125, 0.9), rgba(156, 113, 24, 0.95));
    color: #120d05;
    font-weight: 800;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35), 0 8px 30px rgba(216, 177, 90, 0.22);
}

.brand-mark {
    width: 46px;
    height: 46px;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.08em;
}

.brand strong,
.hero h1,
.hero-panel h2,
.section-heading h1,
.section-heading h2,
.auth-copy h1,
.profile-card h1,
.group-card h2,
.group-hero h1,
.page-hero h1 {
    font-family: 'Outfit', sans-serif;
}

.brand span {
    display: grid;
}

.brand small {
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.72rem;
}

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

.main-nav a {
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--muted);
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text);
    background: rgba(216, 177, 90, 0.12);
    transform: translateY(-1px);
}

.nav-pill {
    background: linear-gradient(135deg, rgba(216, 177, 90, 0.2), rgba(216, 177, 90, 0.08));
    border: 1px solid rgba(216, 177, 90, 0.24);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: 0;
    padding: 0;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--text);
    display: block;
}

.page-content {
    padding: 38px 0 72px;
}

.card {
    background: linear-gradient(180deg, rgba(22, 19, 15, 0.92), rgba(11, 11, 12, 0.98));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.flash {
    margin-bottom: 20px;
    padding: 14px 18px;
    border-radius: 16px;
    border: 1px solid rgba(216, 177, 90, 0.2);
}

.flash-success {
    color: #defbe8;
    background: rgba(84, 198, 144, 0.14);
    border-color: rgba(84, 198, 144, 0.3);
}

.flash-error {
    color: #ffe1e1;
    background: rgba(255, 127, 127, 0.12);
    border-color: rgba(255, 127, 127, 0.26);
}

.hero,
.dashboard-grid,
.group-detail-layout,
.profile-layout {
    display: grid;
    gap: 24px;
}

.hero {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: stretch;
    padding: 18px 0 28px;
}

.hero-copy,
.hero-panel,
.auth-card,
.profile-card,
.group-hero,
.composer-card,
.sidebar-card,
.group-card {
    padding: 28px;
}

.hero-copy {
    padding: 42px 8px 28px 0;
}

.hero-copy h1,
.auth-copy h1,
.profile-card h1,
.group-hero h1,
.page-hero h1 {
    font-size: clamp(2.2rem, 3vw, 4.1rem);
    line-height: 1.04;
    margin: 12px 0 18px;
    text-wrap: balance;
}

.hero-copy h1 {
    max-width: 11ch;
    font-size: clamp(2.7rem, 5vw, 5.2rem);
    letter-spacing: -0.04em;
}

.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gold-strong);
}

.hero-copy p,
.hero-panel-copy p,
.auth-copy p,
.group-card p,
.group-hero p,
.profile-bio,
.empty-state p,
.site-footer p,
.page-hero p {
    color: var(--muted);
    line-height: 1.78;
    margin: 0;
}

.hero-actions,
.group-actions,
.composer-actions,
.profile-links,
.group-meta,
.post-actions,
.inline-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0 26px;
}

.hero-points span,
.hero-trustbar span {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(216, 177, 90, 0.14);
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.35;
}

.button,
.action-button {
    position: relative;
    overflow: hidden;
    appearance: none;
    border: 1px solid rgba(216, 177, 90, 0.26);
    background: linear-gradient(135deg, rgba(242, 209, 125, 0.22), rgba(216, 177, 90, 0.08));
    color: var(--text);
    padding: 12px 18px;
    border-radius: 16px;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 24px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.button::before,
.action-button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.12) 50%, transparent 80%);
    opacity: 0;
    transform: translateX(-22%);
    transition: opacity 0.24s ease, transform 0.36s ease;
    pointer-events: none;
}

.button:hover,
.action-button:hover {
    transform: translateY(-2px);
    border-color: rgba(242, 209, 125, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 16px 34px rgba(0, 0, 0, 0.26);
}

.button:hover::before,
.action-button:hover::before {
    opacity: 1;
    transform: translateX(18%);
}

.button-secondary,
.action-button.static {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.action-button {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.action-button.liked {
    background: rgba(216, 177, 90, 0.2);
    color: var(--gold-strong);
}

.hero-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
        linear-gradient(155deg, rgba(40, 30, 14, 0.98), rgba(12, 12, 12, 0.96)),
        linear-gradient(180deg, rgba(242, 209, 125, 0.1), transparent);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-trustbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.hero-quote {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(216, 177, 90, 0.12);
}

.hero-quote strong {
    display: block;
    margin-bottom: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    line-height: 1.15;
}

.hero-quote p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.stat-grid,
.sidebar-stats,
.profile-meta-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-grid div,
.sidebar-stats div,
.profile-meta-grid div {
    display: grid;
    gap: 6px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(216, 177, 90, 0.12);
}

.stat-grid strong,
.sidebar-stats strong,
.profile-meta-grid strong {
    display: block;
    font-size: 1.8rem;
    font-family: 'Outfit', sans-serif;
}

.stat-grid span,
.sidebar-stats span,
.profile-meta-grid span,
.group-meta span,
.post-meta-line span,
.comment-meta span,
.mini-group-item span,
.helper-text {
    color: var(--muted);
}

.feature-grid,
.group-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.admin-stat-card,
.admin-panel {
    padding: 24px;
}

.admin-stat-card strong {
    display: block;
    font-size: 2rem;
    font-family: 'Outfit', sans-serif;
}

.admin-stat-card span {
    color: var(--muted);
}

.admin-section-stack {
    display: grid;
    gap: 22px;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(216, 177, 90, 0.12);
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    color: var(--gold-strong);
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.admin-table td span,
.admin-table td small {
    display: block;
    color: var(--muted);
    margin-top: 4px;
}

.admin-action-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-table td::before {
    content: none;
}

.role-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
}

.role-pill.admin {
    background: rgba(216, 177, 90, 0.18);
    color: var(--gold-strong);
}

.admin-danger {
    border-color: rgba(255, 127, 127, 0.25);
    background: rgba(255, 127, 127, 0.1);
    color: #ffd0d0;
}

.feature-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    min-height: 210px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(201, 161, 74, 0.06), transparent 48%);
    pointer-events: none;
}

.feature-card:hover,
.mini-group-item:hover,
.group-card:hover,
.post-card:hover,
.sidebar-card:hover,
.composer-card:hover {
    transform: translateY(-3px);
    border-color: rgba(240, 207, 121, 0.22);
    box-shadow: 0 28px 56px rgba(0, 0, 0, 0.32);
}

.feature-card h3,
.brand-strip h2 {
    font-family: 'Outfit', sans-serif;
}

.feature-card h3 {
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.12;
    max-width: 14ch;
    text-wrap: balance;
}

.feature-card p {
    margin: 0;
    max-width: 30ch;
    line-height: 1.75;
}

.brand-strip {
    margin-top: 22px;
    padding: 30px;
    display: grid;
    gap: 24px;
    background:
        linear-gradient(135deg, rgba(34, 26, 12, 0.95), rgba(13, 13, 13, 0.98)),
        linear-gradient(180deg, rgba(255, 223, 138, 0.06), transparent);
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.3);
}

.brand-strip h2 {
    margin: 8px 0 0;
    font-size: clamp(1.6rem, 2.6vw, 2.6rem);
    max-width: 18ch;
    line-height: 1.08;
    text-wrap: balance;
}

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

.brand-strip-grid div {
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: 180px;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(216, 177, 90, 0.14);
    background: rgba(255, 255, 255, 0.03);
}

.brand-strip-grid strong {
    display: block;
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    line-height: 1.15;
}

.brand-strip-grid p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
    max-width: 30ch;
}

.dashboard-grid,
.group-detail-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
}

.page-hero {
    position: relative;
    padding: 28px 30px;
    border-radius: 28px;
    border: 1px solid rgba(216, 177, 90, 0.14);
    background:
        linear-gradient(135deg, rgba(34, 26, 12, 0.92), rgba(11, 11, 11, 0.98)),
        linear-gradient(180deg, rgba(255, 223, 138, 0.05), transparent);
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.28);
}

.page-hero::before,
.profile-card::before,
.group-card::before,
.group-hero::before,
.sidebar-card::before,
.composer-card::before,
.admin-panel::before,
.post-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 223, 138, 0.05), transparent 32%);
    pointer-events: none;
}

.page-hero > *,
.profile-card > *,
.group-card > *,
.group-hero > *,
.sidebar-card > *,
.composer-card > *,
.admin-panel > *,
.post-card > * {
    position: relative;
    z-index: 1;
}

.main-column,
.side-column,
.section-stack {
    display: grid;
    gap: 20px;
}

.group-card,
.sidebar-card,
.composer-card,
.group-hero,
.admin-panel,
.profile-card {
    position: relative;
    background:
        linear-gradient(180deg, rgba(23, 19, 14, 0.95), rgba(10, 10, 11, 0.98)),
        linear-gradient(180deg, rgba(255, 223, 138, 0.04), transparent);
}

.group-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 320px;
}

.group-card p {
    margin: 0;
    max-width: 34ch;
}

.group-actions {
    margin-top: auto;
}

.composer-card textarea,
.group-hero textarea,
.comment-form textarea {
    min-height: 112px;
}

.comment-form textarea {
    min-height: 84px;
}

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

.section-heading.compact h2 {
    margin: 4px 0 0;
}

.section-heading h1,
.section-heading h2 {
    margin: 4px 0 0;
    line-height: 1.1;
    text-wrap: balance;
}

.composer-form,
.auth-card,
.comment-form {
    display: grid;
    gap: 16px;
}

label {
    display: grid;
    gap: 8px;
}

label span {
    color: var(--gold-strong);
    font-size: 0.92rem;
    line-height: 1.35;
}

input,
textarea,
select {
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(216, 177, 90, 0.18);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
    padding: 14px 16px;
    outline: none;
}

input:focus,
textarea:focus,
select:focus {
    border-color: rgba(242, 209, 125, 0.5);
    box-shadow: 0 0 0 4px rgba(216, 177, 90, 0.09);
}

select option {
    color: #111;
}

.auth-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 24px;
    align-items: center;
    min-height: 72vh;
}

.auth-copy {
    padding: 18px 6px;
}

.post-card {
    padding: 24px;
    display: grid;
    gap: 18px;
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
    position: relative;
    background:
        linear-gradient(180deg, rgba(20, 17, 14, 0.96), rgba(10, 10, 11, 0.99)),
        linear-gradient(180deg, rgba(255, 223, 138, 0.03), transparent);
}

.post-head,
.comment {
    display: flex;
    gap: 14px;
}

.avatar {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
}

.avatar-large {
    width: 92px;
    height: 92px;
    font-size: 1.75rem;
}

.comment-avatar {
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.post-author-line,
.post-meta-line,
.comment-meta,
.group-card-head,
.profile-header,
.page-hero {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.post-author-line a,
.comment-meta a {
    font-weight: 700;
}

.post-author-line,
.comment-meta {
    line-height: 1.35;
}

.post-meta-line {
    font-size: 0.93rem;
    line-height: 1.4;
}

.meta-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(242, 209, 125, 0.8);
}

.post-content,
.comment-body p {
    color: #f3efdf;
    line-height: 1.82;
}

.comments-list {
    display: grid;
    gap: 14px;
    border-top: 1px solid rgba(216, 177, 90, 0.12);
    padding-top: 18px;
}

.comment {
    padding: 12px 0;
}

.comment-body {
    display: grid;
    gap: 8px;
}

.comment-body p {
    margin: 0;
}

.empty-inline {
    color: var(--muted);
    font-size: 0.95rem;
}

.empty-state {
    padding: 28px;
}

.empty-state h3 {
    margin: 0 0 10px;
    font-family: 'Outfit', sans-serif;
    line-height: 1.12;
}

.group-card-head {
    align-items: flex-start;
}

.group-badge {
    display: inline-flex;
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(216, 177, 90, 0.12);
    color: var(--gold-strong);
    font-size: 0.85rem;
}

.mini-group-list {
    display: grid;
    gap: 12px;
}

.mini-group-item {
    display: grid;
    gap: 10px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(216, 177, 90, 0.14);
    background: rgba(255, 255, 255, 0.02);
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.mini-group-item strong {
    display: block;
    line-height: 1.15;
}

.mini-group-item small {
    line-height: 1.65;
}

.profile-layout {
    grid-template-columns: 360px minmax(0, 1fr);
    align-items: start;
}

.profile-card {
    position: sticky;
    top: 108px;
}

.profile-card h1 {
    margin-bottom: 8px;
}

.profile-card > p,
.profile-card .profile-links,
.profile-card .profile-meta-grid {
    margin-top: 18px;
}

.profile-header {
    justify-content: flex-start;
    align-items: center;
    gap: 18px;
}

.profile-links {
    margin-top: 18px;
}

.profile-links a,
.profile-links span {
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(216, 177, 90, 0.12);
}

.page-hero.small {
    margin-bottom: 24px;
}

.admin-panel h2,
.group-hero h1,
.page-hero h1,
.profile-card h1 {
    letter-spacing: -0.02em;
}

.admin-panel .section-heading,
.group-hero .section-heading {
    margin-bottom: 20px;
}

.admin-table tbody tr {
    transition: background 0.18s ease;
}

.admin-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.admin-table td:first-child strong,
.admin-table td:first-child a {
    font-weight: 700;
}

.admin-action-list .button,
.admin-table .button {
    white-space: nowrap;
}

.site-footer {
    border-top: 1px solid rgba(216, 177, 90, 0.1);
    background: linear-gradient(180deg, rgba(7, 7, 7, 0.92), rgba(4, 4, 4, 0.98));
}

.footer-wrap {
    padding: 26px 0 36px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-wrap p {
    max-width: 34ch;
}

@media (max-width: 980px) {
    .hero,
    .dashboard-grid,
    .auth-layout,
    .group-detail-layout,
    .profile-layout,
    .feature-grid,
    .group-grid,
    .admin-stats-grid,
    .brand-strip-grid {
        grid-template-columns: 1fr;
    }

    .profile-card {
        position: static;
    }

    .hero {
        gap: 18px;
        padding-top: 8px;
    }

    .hero-copy {
        order: 1;
        padding-top: 20px;
    }

    .hero-panel {
        order: 2;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 16px;
        left: 16px;
        display: none;
        flex-direction: column;
        padding: 14px;
        border-radius: 20px;
        background: rgba(12, 12, 14, 0.98);
        border: 1px solid rgba(216, 177, 90, 0.18);
        box-shadow: var(--shadow);
    }

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

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

    .hero-actions {
        width: 100%;
    }

    .hero-actions .button,
    .hero-actions .button-secondary {
        flex: 1 1 220px;
        justify-content: center;
        text-align: center;
    }

    .hero-points,
    .hero-trustbar {
        gap: 10px;
    }

    .page-hero {
        padding: 24px;
    }

    .group-card {
        min-height: auto;
    }
}

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

    .page-content {
        padding-top: 26px;
    }

    .hero-copy,
    .hero-panel,
    .auth-card,
    .profile-card,
    .group-hero,
    .composer-card,
    .sidebar-card,
    .group-card {
        padding: 22px;
    }

    .hero-copy {
        padding-right: 0;
    }

    .hero-copy h1,
    .auth-copy h1,
    .profile-card h1,
    .group-hero h1,
    .page-hero h1 {
        font-size: 2rem;
    }

    .hero-copy h1 {
        max-width: none;
    }

    .hero-points {
        margin: 20px 0 22px;
    }

    .hero-points span,
    .hero-trustbar span {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .feature-card,
    .brand-strip-grid div {
        min-height: auto;
    }

    .stat-grid,
    .sidebar-stats,
    .profile-meta-grid {
        grid-template-columns: 1fr 1fr;
    }

    .post-card {
        padding: 20px;
    }

    .brand-strip {
        padding: 24px;
    }

    .page-hero,
    .group-card,
    .sidebar-card,
    .composer-card,
    .group-hero,
    .admin-panel,
    .profile-card,
    .post-card {
        border-radius: 22px;
    }

    .profile-header {
        align-items: flex-start;
    }

    .admin-panel {
        padding: 20px;
    }

    .admin-table-wrap {
        overflow: visible;
    }

    .admin-table,
    .admin-table tbody,
    .admin-table tr,
    .admin-table td {
        display: block;
        width: 100%;
    }

    .admin-table thead {
        display: none;
    }

    .admin-table tbody {
        display: grid;
        gap: 16px;
    }

    .admin-table tbody tr {
        padding: 18px;
        border-radius: 18px;
        border: 1px solid rgba(216, 177, 90, 0.12);
        background: rgba(255, 255, 255, 0.02);
    }

    .admin-table td {
        display: grid;
        gap: 8px;
        padding: 10px 0;
        border-bottom: 1px solid rgba(216, 177, 90, 0.1);
    }

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

    .admin-table td::before {
        content: attr(data-label);
        color: var(--gold-strong);
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .admin-table td[colspan]::before {
        content: none;
    }

    .admin-action-list,
    .admin-table form {
        width: 100%;
    }

    .admin-action-list .button,
    .admin-table .button {
        width: 100%;
        justify-content: center;
    }
}
