:root {
    --bg: #f5f5f7;
    --bg-elevated: #fbfbfd;
    --bg-strong: #ffffff;
    --surface: rgba(255, 255, 255, 0.68);
    --surface-strong: rgba(255, 255, 255, 0.84);
    --surface-inverse: rgba(10, 10, 12, 0.92);
    --surface-muted: rgba(245, 245, 247, 0.82);
    --line: rgba(17, 17, 17, 0.08);
    --line-strong: rgba(17, 17, 17, 0.14);
    --line-inverse: rgba(255, 255, 255, 0.16);
    --text: #111111;
    --text-soft: #6e6e73;
    --text-faint: #8e8e93;
    --heading: #0a0a0a;
    --primary: #0a0a0a;
    --primary-soft: rgba(17, 17, 17, 0.05);
    --secondary: #2f2f31;
    --success: #171717;
    --warning: #4a4a4a;
    --danger: #252525;
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 8px 24px rgba(15, 15, 15, 0.06);
    --shadow: 0 18px 54px rgba(15, 15, 15, 0.08);
    --shadow-lg: 0 30px 80px rgba(15, 15, 15, 0.12);
    --radius-xl: 32px;
    --radius-lg: 26px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --transition-fast: 180ms cubic-bezier(0.22, 1, 0.36, 1);
    --transition-base: 360ms cubic-bezier(0.22, 1, 0.36, 1);
    --transition-slow: 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
    background: #ededf0;
}

body {
    margin: 0;
    font-family: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.96), transparent 32%),
        radial-gradient(circle at 88% 10%, rgba(255, 255, 255, 0.9), transparent 26%),
        linear-gradient(180deg, #f9f9fb 0%, #f2f2f4 42%, #ececef 100%);
    min-height: 100vh;
    letter-spacing: -0.01em;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.theme-admin {
    background:
        radial-gradient(circle at top center, rgba(255, 255, 255, 0.94), transparent 28%),
        linear-gradient(180deg, #f7f7f8 0%, #efeff1 52%, #e9e9ec 100%);
}

::selection {
    color: #ffffff;
    background: #111111;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast), opacity var(--transition-fast), transform var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

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

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

button {
    appearance: none;
}

.container {
    width: min(1280px, calc(100vw - 48px));
    margin: 0 auto;
}

.site-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.site-bg__orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(36px);
    opacity: 0.58;
    animation: ambientFloat 18s ease-in-out infinite;
    will-change: transform, opacity;
}

.site-bg__orb--a {
    top: -140px;
    left: -80px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(232, 232, 236, 0.6) 58%, transparent 78%);
}

.site-bg__orb--b {
    right: -120px;
    top: 120px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(220, 220, 224, 0.5) 58%, transparent 80%);
    animation-delay: -6s;
}

.topbar,
.page-shell,
.footer {
    position: relative;
    z-index: 1;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 18px 0 6px;
}

.topbar__inner,
.subnav,
.page-banner,
.hero,
.card,
.notice,
.table-wrap,
.auth-shell,
.footer__inner {
    backdrop-filter: saturate(140%) blur(22px);
    -webkit-backdrop-filter: saturate(140%) blur(22px);
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.66);
    box-shadow: 0 10px 28px rgba(15, 15, 15, 0.04);
    transition: background var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}

body.is-scrolled .topbar__inner {
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 44px rgba(15, 15, 15, 0.08);
}

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

.brand__mark {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 18px;
    color: #ffffff;
    background:
        linear-gradient(180deg, rgba(48, 48, 50, 0.98), rgba(10, 10, 12, 0.98));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 16px 32px rgba(10, 10, 12, 0.18);
}

.brand__icon,
.footer__icon {
    width: 22px;
    height: 22px;
}

.brand__title,
.user-chip strong {
    display: block;
    color: var(--heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.brand__meta,
.user-chip__meta,
.page-banner__eyebrow,
.meta,
.footer__meta,
.footer__brand p,
.helper-text {
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.55;
}

.nav-group,
.topbar__actions,
.hero-actions,
.action-row,
.search-input,
.stack-inline,
.stats-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-group {
    justify-content: center;
}

.nav-pill,
.action-link,
.subnav__item {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--text-soft);
    transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-pill:hover,
.action-link:hover,
.subnav__item:hover {
    color: var(--heading);
    background: rgba(255, 255, 255, 0.76);
    border-color: rgba(17, 17, 17, 0.06);
    transform: translateY(-1px);
}

.nav-pill.is-active,
.subnav__item.is-active {
    color: var(--heading);
    background: rgba(17, 17, 17, 0.06);
    border-color: rgba(17, 17, 17, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.action-link--primary {
    color: #ffffff;
    background: linear-gradient(180deg, rgba(46, 46, 48, 0.98), rgba(10, 10, 12, 0.98));
    border-color: rgba(0, 0, 0, 0.8);
    box-shadow: 0 14px 30px rgba(10, 10, 12, 0.18);
}

.action-link--primary:hover {
    color: #ffffff;
    background: linear-gradient(180deg, rgba(62, 62, 65, 0.98), rgba(17, 17, 20, 0.98));
    box-shadow: 0 18px 38px rgba(10, 10, 12, 0.24);
}

.user-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.66);
}

.user-chip__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(180deg, #2f2f31 0%, #0f0f10 100%);
}

.subnav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 10px 0 0;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: var(--shadow-sm);
}

.page-shell {
    padding: 22px 0 80px;
}

.page-banner,
.hero,
.card,
.notice,
.table-wrap,
.auth-shell {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.9);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(248, 248, 250, 0.62));
    box-shadow: var(--shadow);
}

.page-banner::before,
.hero::before,
.card::before,
.auth-shell::before,
.table-wrap::before,
.footer__inner::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 28%);
}

.page-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    padding: 34px 38px;
    border-radius: 38px;
    margin-bottom: 26px;
}

.page-banner__eyebrow {
    margin: 0 0 8px;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.page-banner__title,
.hero h1,
.card h1,
.card h2,
.card h3 {
    margin: 0;
    color: var(--heading);
    letter-spacing: -0.04em;
}

.page-banner__title {
    font-size: clamp(2.1rem, 1.4rem + 2.2vw, 4.2rem);
    line-height: 1.02;
    font-weight: 700;
}

.page-banner__desc,
.hero p,
.card p {
    line-height: 1.75;
}

.page-banner__desc {
    max-width: 720px;
    margin-top: 14px;
    font-size: 1rem;
    color: var(--text-soft);
}

.page-banner__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 999px;
    color: var(--heading);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

.hero,
.card,
.auth-shell {
    border-radius: var(--radius-xl);
    padding: 32px;
    margin: 22px 0;
}

.hero {
    min-height: 240px;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -80px -110px auto;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.82), rgba(220, 220, 224, 0.3) 48%, transparent 72%);
    filter: blur(6px);
}

.hero h1 {
    max-width: 12ch;
    font-size: clamp(2.4rem, 1.6rem + 2vw, 4.8rem);
    line-height: 0.98;
    font-weight: 700;
}

.hero p,
.card p,
.meta {
    margin: 10px 0 0;
    color: var(--text-soft);
}

.grid,
.resource-grid,
.metric-grid,
.split-grid,
.stats-grid,
.form-grid,
.admin-columns {
    display: grid;
    gap: 20px;
}

.grid,
.resource-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.split-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
}

.metric-grid,
.stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.form-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.admin-columns {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.metric-card,
.info-tile,
.resource-card,
.soft-card,
.stat-card,
.muted-box {
    position: relative;
    border: 1px solid rgba(17, 17, 17, 0.06);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(247, 247, 249, 0.76));
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background-color var(--transition-base);
}

.metric-card strong,
.stat-card strong,
.resource-card h3,
.soft-card h3 {
    display: block;
    color: var(--heading);
}

.metric-card strong,
.stat-card strong {
    margin-top: 10px;
    font-size: clamp(2rem, 1.7rem + 0.8vw, 2.6rem);
    letter-spacing: -0.05em;
    line-height: 1;
}

.resource-card,
.soft-card {
    height: 100%;
}

.resource-card__title,
.stack-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.resource-card__title h3 {
    font-size: 1.15rem;
    line-height: 1.25;
}

.resource-card__footer,
.card-actions,
.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

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

.section-head h2,
.section-head h3 {
    margin: 0;
    font-size: clamp(1.5rem, 1.28rem + 0.5vw, 2rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.section-head p {
    margin: 8px 0 0;
}

.badge,
.chip,
.status-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 8px 12px;
    border: 1px solid rgba(17, 17, 17, 0.07);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.01em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.badge,
.chip {
    color: var(--heading);
    background: rgba(255, 255, 255, 0.72);
}

.status-chip {
    color: var(--heading);
    background: rgba(17, 17, 17, 0.06);
}

.status-chip.success {
    background: rgba(17, 17, 17, 0.06);
}

.status-chip.warning {
    background: rgba(17, 17, 17, 0.08);
}

.status-chip.danger {
    color: #ffffff;
    background: rgba(17, 17, 17, 0.88);
    border-color: rgba(17, 17, 17, 0.92);
    box-shadow: none;
}

.form-group {
    margin-bottom: 18px;
}

label {
    display: block;
    margin-bottom: 9px;
    color: var(--heading);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: -0.015em;
}

input,
select,
textarea {
    width: 100%;
    min-height: 52px;
    padding: 13px 16px;
    border: 1px solid rgba(17, 17, 17, 0.09);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--text);
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast), background-color var(--transition-fast);
}

input::placeholder,
textarea::placeholder {
    color: #9a9aa1;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(17, 17, 17, 0.22);
    box-shadow:
        0 0 0 4px rgba(17, 17, 17, 0.06),
        0 12px 30px rgba(15, 15, 15, 0.06);
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.94);
}

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

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid rgba(10, 10, 12, 0.9);
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(44, 44, 46, 1), rgba(10, 10, 12, 1));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 14px 34px rgba(10, 10, 12, 0.16);
    cursor: pointer;
    white-space: nowrap;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), opacity var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
}

.btn.secondary {
    color: var(--heading);
    background: rgba(255, 255, 255, 0.84);
    border-color: rgba(17, 17, 17, 0.08);
    box-shadow: var(--shadow-xs);
}

.btn.success {
    background: linear-gradient(180deg, rgba(52, 52, 54, 1), rgba(16, 16, 18, 1));
}

.btn.danger {
    color: #ffffff;
    background: linear-gradient(180deg, rgba(36, 36, 38, 1), rgba(0, 0, 0, 1));
}

.notice {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 24px;
    margin: 16px 0;
}

.notice.success {
    color: var(--heading);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(247, 247, 248, 0.76));
}

.notice.error {
    color: var(--heading);
    background: linear-gradient(180deg, rgba(245, 245, 247, 0.92), rgba(236, 236, 239, 0.84));
}

.search-input input {
    flex: 1;
}

.table-wrap {
    margin: 20px 0;
    border-radius: 28px;
    overflow: auto;
}

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

.table th,
.table td {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(17, 17, 17, 0.06);
    text-align: left;
    vertical-align: top;
}

.table th {
    position: sticky;
    top: 0;
    z-index: 1;
    color: var(--heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(250, 250, 252, 0.94);
}

.table tbody tr {
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.table tbody tr:hover {
    background: rgba(17, 17, 17, 0.03);
}

.list-stack > * + * {
    border-top: 1px solid rgba(17, 17, 17, 0.06);
}

.list-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
}

.list-item__main {
    flex: 1;
    min-width: 0;
}

.list-item__main strong {
    display: block;
}

.inline-form,
.inline-form--wide {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.inline-form--wide {
    width: 100%;
}

.auth-shell {
    max-width: 760px;
    margin: 26px auto;
}

.auth-shell--narrow {
    max-width: 580px;
}

.hero .search-input,
.hero .hero-actions,
.stats-inline,
.metric-grid {
    margin-top: 22px;
}

.rank-list,
.plain-list {
    padding-left: 20px;
    margin: 0;
}

.rank-list li,
.plain-list li {
    margin-bottom: 12px;
    color: var(--text-soft);
}

.empty-state {
    padding: 24px;
    border-radius: 22px;
    border: 1px dashed rgba(17, 17, 17, 0.12);
    color: var(--text-soft);
    text-align: center;
    background: rgba(255, 255, 255, 0.48);
}

.ui-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.icon-lg {
    width: 22px;
    height: 22px;
}

.footer {
    padding: 6px 0 42px;
}

.footer__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 28px;
    border: 1px solid rgba(255, 255, 255, 0.84);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.64);
    box-shadow: var(--shadow-sm);
}

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

.footer__brand p {
    margin: 4px 0 0;
    max-width: 560px;
}

.muted-box {
    padding: 18px;
}

mark {
    padding: 0 5px;
    border-radius: 7px;
    color: var(--heading);
    background: rgba(17, 17, 17, 0.08);
}

.reveal {
    opacity: 0;
    transform: translate3d(0, 28px, 0) scale(0.985);
    transition:
        opacity var(--transition-slow) var(--reveal-delay, 0ms),
        transform var(--transition-slow) var(--reveal-delay, 0ms),
        box-shadow var(--transition-base),
        border-color var(--transition-base),
        background-color var(--transition-base);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

@media (hover: hover) {
    .metric-card:hover,
    .info-tile:hover,
    .resource-card:hover,
    .soft-card:hover,
    .stat-card:hover,
    .muted-box:hover,
    .card:hover,
    .auth-shell:hover {
        transform: translateY(-6px);
        border-color: rgba(17, 17, 17, 0.1);
        box-shadow: var(--shadow-lg);
    }

    .btn:hover,
    .btn:focus-visible {
        transform: translateY(-2px) scale(1.01);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            0 20px 40px rgba(10, 10, 12, 0.2);
    }

    .btn.secondary:hover,
    .btn.secondary:focus-visible {
        box-shadow: 0 14px 28px rgba(15, 15, 15, 0.08);
    }

    .nav-pill:hover,
    .action-link:hover,
    .subnav__item:hover {
        box-shadow: 0 12px 24px rgba(15, 15, 15, 0.06);
    }
}

@keyframes ambientFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.58;
    }
    50% {
        transform: translate3d(0, 18px, 0) scale(1.06);
        opacity: 0.72;
    }
}

@media (max-width: 1180px) {
    .container {
        width: min(100vw - 36px, 1280px);
    }

    .topbar__inner,
    .page-banner,
    .footer__inner {
        border-radius: 28px;
    }

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

    .nav-group,
    .topbar__actions {
        justify-content: flex-start;
    }
}

@media (max-width: 920px) {
    .page-banner,
    .split-grid {
        grid-template-columns: 1fr;
    }

    .page-banner {
        align-items: flex-start;
    }

    .page-banner__badge {
        white-space: normal;
    }

    .hero h1 {
        max-width: 100%;
    }

    .list-item,
    .footer__inner {
        flex-direction: column;
        align-items: stretch;
    }
}

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

    .topbar {
        padding-top: 12px;
    }

    .topbar__inner,
    .subnav {
        border-radius: 24px;
    }

    .page-shell {
        padding-top: 16px;
    }

    .hero,
    .card,
    .auth-shell,
    .page-banner {
        padding: 24px;
        border-radius: 26px;
    }

    .page-banner__title,
    .hero h1 {
        line-height: 1.02;
    }

    .search-input,
    .card-actions,
    .action-row,
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .search-input .btn,
    .card-actions .btn,
    .action-row .btn {
        width: 100%;
    }

    .table th,
    .table td {
        padding: 14px 12px;
        font-size: 14px;
    }
}

@media (max-width: 520px) {
    .brand {
        align-items: flex-start;
    }

    .brand__mark {
        width: 46px;
        height: 46px;
        border-radius: 16px;
    }

    .nav-pill,
    .action-link,
    .subnav__item {
        width: 100%;
        justify-content: center;
    }

    .page-banner,
    .hero,
    .card,
    .auth-shell,
    .table-wrap,
    .footer__inner {
        border-radius: 24px;
    }

    .metric-grid,
    .stats-grid,
    .grid,
    .resource-grid,
    .form-grid,
    .admin-columns {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
        scroll-behavior: auto !important;
    }

    .reveal,
    .reveal.is-visible {
        opacity: 1;
        transform: none;
    }
}
