:root {
    --uv-ink: #171717;
    --uv-muted: #525252;
    --uv-soft: #737373;
    --uv-line: #d9ded6;
    --uv-line-strong: #c7cec3;
    --uv-bg: #f4f6f3;
    --uv-surface: #ffffff;
    --uv-surface-soft: #f8f9f6;
    --uv-primary: #171717;
    --uv-accent: #d4af37;
    --uv-success: #166534;
    --uv-danger: #b91c1c;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
    font-family: "Inter", "Noto Sans SC", "Microsoft YaHei", sans-serif;
    letter-spacing: 0;
    background: linear-gradient(180deg, #fbfcf8 0%, var(--uv-bg) 44%, #edf1eb 100%);
    color: var(--uv-ink);
}

body {
    overflow-y: scroll;
}

a {
    color: inherit;
}

.page-shell {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
}

.admin-appbar {
    border-bottom: 1px solid rgba(23, 23, 23, 0.08);
    background: rgba(248, 249, 246, 0.9) !important;
    backdrop-filter: blur(18px);
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.admin-brand-mark {
    display: grid;
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 8px;
    background: var(--uv-primary);
    color: #fffdf7;
    font-size: 0.8rem;
    font-weight: 800;
}

.admin-brand-title {
    color: var(--uv-ink);
    font-size: 1.05rem;
    font-weight: 850;
    line-height: 1;
}

.admin-brand-subtitle {
    color: var(--uv-muted);
    font-size: 0.72rem;
    font-weight: 650;
    line-height: 1.1;
}

.admin-drawer {
    border-right: 1px solid rgba(23, 23, 23, 0.08);
    background: rgba(255, 255, 255, 0.92) !important;
}

.admin-drawer-header {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: #171717;
    color: #fffdf7;
}

.admin-nav .mud-nav-link {
    margin-bottom: 0.25rem;
    border-radius: 8px;
    color: var(--uv-muted);
    font-weight: 650;
    transition: background-color 180ms ease, color 180ms ease;
}

.admin-nav .mud-nav-link:hover,
.admin-nav .mud-nav-link.active {
    background: #eef1eb;
    color: var(--uv-ink);
}

.admin-main {
    padding: 5.25rem 1.5rem 2rem;
}

.page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.page-kicker {
    margin-bottom: 0.25rem;
    color: var(--uv-success);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.page-title {
    color: var(--uv-ink);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 850;
    line-height: 1.08;
    letter-spacing: 0;
}

.page-subtitle {
    max-width: 48rem;
    color: var(--uv-muted);
    font-size: 0.98rem;
    line-height: 1.65;
}

.stat-card,
.app-panel,
.table-panel,
.form-panel {
    border: 1px solid rgba(23, 23, 23, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 42px rgba(23, 23, 23, 0.06);
}

.stat-card {
    min-height: 9rem;
    overflow: hidden;
}

.stat-card-accent {
    position: relative;
}

.stat-card-accent::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.25rem;
    background: var(--uv-accent);
    content: "";
}

.stat-label {
    color: var(--uv-muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.stat-value {
    color: var(--uv-ink);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 850;
    line-height: 1;
    letter-spacing: 0;
}

.stat-note {
    color: var(--uv-soft);
    font-size: 0.86rem;
}

.toolbar-row {
    gap: 0.75rem;
    flex-wrap: wrap;
}

.toolbar-row .mud-input-control {
    min-width: min(100%, 16rem);
    flex: 1 1 18rem;
}

.action-row {
    gap: 0.5rem;
    flex-wrap: wrap;
}

.form-panel-title {
    color: var(--uv-ink);
    font-weight: 800;
}

.table-panel .mud-table,
.table-panel .mud-table-container,
.table-panel .mud-table-root {
    background: transparent;
}

.table-panel .mud-table-container {
    overflow-x: auto;
}

.users-table .mud-table-container {
    overflow-y: auto;
}

.exception-logs-table,
.exception-logs-table .mud-table-container,
.exception-logs-table .mud-table-root {
    width: 100%;
    max-width: 100%;
}

.exception-logs-table .mud-table-container {
    overflow-x: hidden;
}

.exception-logs-table .mud-table-root {
    table-layout: fixed;
}

.exception-logs-table .mud-table-cell {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.exception-logs-table .mud-table-cell:nth-child(1) {
    width: 22%;
}

.exception-logs-table .mud-table-cell:nth-child(2) {
    width: 5rem;
}

.exception-logs-table .mud-table-cell:nth-child(4) {
    width: 10.5rem;
}

.table-panel thead .mud-table-cell {
    border-bottom: 1px solid var(--uv-line);
    color: var(--uv-muted);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.table-panel tbody .mud-table-row {
    transition: background-color 160ms ease;
}

.table-panel tbody .mud-table-row:hover {
    background: #f3f6f1;
}

.code-pill {
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    padding: 0.2rem 0.45rem;
    border: 1px solid var(--uv-line);
    border-radius: 6px;
    background: #f7f8f5;
    color: var(--uv-ink);
    font-family: "Cascadia Mono", "Consolas", monospace;
    font-size: 0.82rem;
}

.analysis-usage-panel .mud-table-cell:last-child {
    width: 7rem;
}

.analysis-count-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    min-height: 1.75rem;
    border: 1px solid rgba(22, 101, 52, 0.18);
    border-radius: 6px;
    background: #eef7ef;
    color: var(--uv-success);
    font-size: 0.86rem;
    font-weight: 850;
}

.login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8faf7 0%, #edf2e9 52%, #f7f3e3 100%);
}

.login-panel {
    width: min(100%, 27.5rem);
    border: 1px solid rgba(23, 23, 23, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 70px rgba(23, 23, 23, 0.12);
}

.login-label {
    color: var(--uv-muted);
    font-size: 0.875rem;
    font-weight: 750;
}

.login-input {
    width: 100%;
    border: 1px solid rgba(23, 23, 23, 0.16);
    border-radius: 8px;
    padding: 0.9rem 1rem;
    background: #ffffff;
    color: var(--uv-ink);
    font: inherit;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.login-input:focus {
    border-color: var(--uv-primary);
    box-shadow: 0 0 0 4px rgba(23, 23, 23, 0.1);
}

.mud-button,
.mud-icon-button,
.mud-nav-link {
    cursor: pointer;
}

.mud-button-root {
    border-radius: 8px;
    letter-spacing: 0;
}

.mud-input-control,
.mud-input,
.mud-select,
.mud-chip,
.mud-alert,
.mud-tabs-toolbar,
.mud-table {
    letter-spacing: 0;
}

.landing-shell {
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 18%, rgba(232, 56, 54, 0.22), transparent 28rem),
        radial-gradient(circle at 82% 28%, rgba(54, 205, 236, 0.14), transparent 30rem),
        linear-gradient(180deg, #07070b 0%, #121018 45%, #08080d 100%);
    color: #fff7e4;
    caret-color: transparent;
    cursor: default;
    font-family: "Chakra Petch", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

.landing-shell * {
    caret-color: transparent;
}

.landing-shell p,
.landing-shell h1,
.landing-shell h2,
.landing-shell span,
.landing-shell strong,
.landing-shell small,
.landing-shell img,
.landing-shell article,
.landing-shell section,
.landing-shell footer {
    cursor: default;
}

.landing-shell a,
.landing-shell button {
    cursor: pointer;
}

.landing-hero {
    position: relative;
    overflow: hidden;
    background: #050509;
}

.landing-login {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 5.5rem;
    min-height: 2.5rem;
    padding: 0.6rem 1rem;
    border: 1px solid rgba(255, 231, 164, 0.48);
    border-radius: 8px;
    background: rgba(9, 7, 11, 0.62);
    color: #ffe7a4;
    font-size: 0.95rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.landing-login:hover,
.landing-login:focus-visible {
    border-color: rgba(255, 240, 177, 0.95);
    background: rgba(96, 27, 23, 0.78);
    color: #fff8d7;
    outline: none;
}

.hero-banner {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero-banner-stage {
    position: relative;
    width: 100%;
}

.hero-banner-image {
    display: block;
    width: 100%;
    height: auto;
    user-select: none;
}

.hero-redeem-hotspot {
    position: absolute;
    top: 75.5%;
    left: 22.35%;
    width: 11.7%;
    height: 15.5%;
    border: 0;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
}

.hero-redeem-hotspot:hover,
.hero-redeem-hotspot:focus-visible {
    background: transparent;
    box-shadow: none;
    outline: none;
}

.landing-intro,
.promo-grid,
.tagline-band,
.landing-footer {
    width: min(100% - 2rem, 1180px);
    margin: 0 auto;
}

.landing-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
    gap: 2rem;
    align-items: stretch;
    padding: 3rem 0 2rem;
}

.landing-copy h1,
.purchase-modal h2,
.promo-card h2 {
    margin: 0;
    letter-spacing: 0;
}

.landing-copy h1 {
    max-width: 48rem;
    color: #fff2c4;
    font-family: "Russo One", "Noto Sans SC", sans-serif;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.05;
    text-shadow: 0 6px 24px rgba(0, 0, 0, 0.42);
}

.landing-copy p {
    max-width: 48rem;
    margin: 1rem 0 0;
    color: #d8d3c8;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.8;
}

.landing-kicker,
.promo-eyebrow {
    margin: 0 0 0.7rem;
    color: #65d9ff;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.landing-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.landing-stats div,
.promo-card {
    border: 1px solid rgba(255, 231, 164, 0.18);
    border-radius: 8px;
    background: rgba(255, 247, 228, 0.07);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.landing-stats div {
    padding: 1rem;
}

.landing-stats strong {
    display: block;
    color: #ffde7a;
    font-family: "Russo One", "Noto Sans SC", sans-serif;
    font-size: 1.75rem;
    line-height: 1;
}

.landing-stats span {
    display: block;
    margin-top: 0.35rem;
    color: #d8d3c8;
    font-size: 0.95rem;
    line-height: 1.45;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding: 1rem 0 2.5rem;
}

.promo-card {
    display: grid;
    grid-template-columns: minmax(10rem, 42%) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: center;
    min-height: 16rem;
    overflow: hidden;
    padding: 1rem;
}

.promo-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 11;
    border-radius: 8px;
    object-fit: cover;
    background: #0b0b11;
}

.promo-card h2 {
    color: #fff2c4;
    font-size: clamp(1.3rem, 2vw, 1.75rem);
    line-height: 1.18;
}

.promo-card p:not(.promo-eyebrow) {
    margin: 0.75rem 0 0;
    color: #d8d3c8;
    line-height: 1.7;
}

.tagline-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1.75rem;
    border: 1px solid rgba(101, 217, 255, 0.24);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(54, 205, 236, 0.12), rgba(236, 44, 42, 0.12)),
        rgba(255, 247, 228, 0.05);
}

.tagline-band p {
    margin: 0;
    color: #fff2c4;
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    font-weight: 800;
    line-height: 1.45;
}

.landing-footer {
    display: flex;
    gap: 0.75rem 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 2rem 0 2.4rem;
    color: #a9a498;
    font-size: 0.88rem;
}

.purchase-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(4, 4, 7, 0.72);
    backdrop-filter: blur(10px);
}

.purchase-modal {
    position: relative;
    width: min(100%, 34rem);
    border: 1px solid rgba(255, 231, 164, 0.28);
    border-radius: 8px;
    padding: 1.5rem;
    background:
        radial-gradient(circle at 18% 0%, rgba(236, 44, 42, 0.22), transparent 15rem),
        linear-gradient(180deg, #17131d, #0b0a10);
    color: #fff7e4;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.54);
}

.purchase-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: inline-grid;
    width: 2.25rem;
    height: 2.25rem;
    place-items: center;
    border: 1px solid rgba(255, 231, 164, 0.24);
    border-radius: 8px;
    background: rgba(255, 247, 228, 0.06);
    color: #fff2c4;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease;
}

.purchase-close:hover,
.purchase-close:focus-visible {
    border-color: rgba(255, 231, 164, 0.72);
    background: rgba(255, 247, 228, 0.12);
    outline: none;
}

.purchase-modal h2 {
    color: #fff2c4;
    font-size: clamp(1.55rem, 4vw, 2.25rem);
    line-height: 1.12;
}

.purchase-note {
    margin: 0.75rem 0 1.25rem;
    color: #cfc8bb;
    line-height: 1.6;
}

.bundle-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.bundle-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 7.2rem;
    padding: 0.75rem 0.5rem;
    border: 1px solid rgba(255, 231, 164, 0.2);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 247, 228, 0.08), rgba(255, 247, 228, 0.03)),
        #131019;
    color: #fff7e4;
    text-align: center;
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.bundle-card:hover,
.bundle-card:focus-visible,
.bundle-card.is-selected {
    border-color: rgba(255, 222, 122, 0.9);
    background-color: rgba(255, 196, 90, 0.12);
    box-shadow: 0 0 0 2px rgba(255, 222, 122, 0.16);
    outline: none;
}

.bundle-card span {
    display: block;
    font-family: "Russo One", "Noto Sans SC", sans-serif;
    font-size: clamp(1.45rem, 4vw, 2rem);
    line-height: 1;
}

.bundle-card small {
    display: block;
    max-width: 100%;
    margin-top: 0.5rem;
    color: #cfc8bb;
    font-size: 0.82rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.purchase-price {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.25rem 1rem;
    align-items: end;
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(101, 217, 255, 0.24);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(101, 217, 255, 0.1), rgba(255, 222, 122, 0.1));
}

.purchase-price span {
    color: #65d9ff;
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.purchase-price strong {
    color: #ffde7a;
    font-family: "Russo One", "Noto Sans SC", sans-serif;
    font-size: clamp(1.65rem, 5vw, 2.35rem);
    line-height: 1;
}

.purchase-price small {
    grid-column: 1 / -1;
    color: #cfc8bb;
    font-size: 0.9rem;
}

.purchase-confirm {
    width: 100%;
    min-height: 3rem;
    margin-top: 1rem;
    border: 1px solid rgba(255, 231, 164, 0.45);
    border-radius: 8px;
    background: linear-gradient(180deg, #ff5c4d, #a61722);
    color: #fff8d7;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    transition: filter 160ms ease, box-shadow 160ms ease;
}

.purchase-confirm:hover,
.purchase-confirm:focus-visible {
    filter: brightness(1.08);
    box-shadow: 0 0 0 3px rgba(255, 222, 122, 0.18);
    outline: none;
}

@media (prefers-reduced-motion: reduce) {
    .landing-login,
    .hero-redeem-hotspot,
    .purchase-close,
    .bundle-card,
    .purchase-confirm {
        transition: none;
    }
}

@media (max-width: 720px) {
    .admin-main {
        padding: 4.75rem 1rem 1.5rem;
    }

    .page-header {
        align-items: flex-start;
    }

    .toolbar-row .mud-input-control {
        flex-basis: 100%;
    }

    .landing-login {
        top: 0.75rem;
        right: 0.75rem;
        min-width: 4.8rem;
    }

    .hero-banner-stage {
        width: max(54rem, 100%);
    }

    .landing-intro {
        grid-template-columns: 1fr;
        padding-top: 2rem;
    }

    .promo-grid,
    .tagline-band {
        grid-template-columns: 1fr;
    }

    .promo-card {
        grid-template-columns: 1fr;
    }

    .bundle-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.hearth-home {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        linear-gradient(180deg, #070302 0%, #130806 44%, #06070c 100%);
    color: #fff2cf;
    caret-color: transparent;
    cursor: default;
    font-family: "Chakra Petch", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

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

.hearth-home a,
.hearth-home button {
    cursor: pointer;
}

.hearth-home-nav {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 20;
}

.hearth-home-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 5.25rem;
    min-height: 2.5rem;
    padding: 0.6rem 1.05rem;
    border: 1px solid rgba(255, 214, 126, 0.58);
    border-radius: 8px;
    background: rgba(17, 11, 8, 0.72);
    color: #ffe5a6;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(14px);
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.hearth-home-login:hover,
.hearth-home-login:focus-visible {
    border-color: rgba(255, 240, 194, 0.96);
    background: rgba(117, 38, 17, 0.84);
    color: #fff8df;
    outline: none;
}

.hearth-home-hero {
    position: relative;
    min-height: calc(100svh - 7.5rem);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 6rem 5rem 4.5rem;
    isolation: isolate;
    background: #080303;
}

.hearth-home-hero-image {
    position: absolute;
    inset: 0;
    z-index: -3;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% center;
    user-select: none;
}

.hearth-home-hero-shade {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(5, 3, 2, 0.9) 0%, rgba(5, 3, 2, 0.56) 36%, rgba(5, 3, 2, 0.08) 72%),
        linear-gradient(180deg, rgba(5, 3, 2, 0.14) 0%, rgba(5, 3, 2, 0.08) 54%, rgba(5, 3, 2, 0.78) 100%);
}

.hearth-home-hero-content {
    width: min(100%, 46rem);
    animation: hearthHeroRise 700ms ease-out both;
}

.hearth-home-logo {
    display: block;
    width: min(26rem, 78vw);
    height: auto;
    margin: 0 0 1rem;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.48));
    user-select: none;
}

.hearth-home-hero h1 {
    max-width: 42rem;
    margin: 0;
    color: #fff0c5;
    font-family: "Russo One", "Noto Sans SC", sans-serif;
    font-size: 3.45rem;
    line-height: 1.12;
    letter-spacing: 0;
    text-shadow: 0 5px 26px rgba(0, 0, 0, 0.66);
    overflow-wrap: anywhere;
}

.hearth-home-gallery {
    width: min(100% - 2rem, 1220px);
    margin: 0 auto;
    padding: 2rem 0 4rem;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.82fr);
    grid-template-rows: repeat(2, 18rem);
    gap: 1rem;
}

.hearth-home-art {
    position: relative;
    min-height: 18rem;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 217, 139, 0.28);
    border-radius: 8px;
    background: #140a08;
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.28);
    animation: hearthGalleryIn 580ms ease-out both;
}

.hearth-home-art:nth-child(2) {
    animation-delay: 90ms;
}

.hearth-home-art:nth-child(3) {
    animation-delay: 160ms;
}

.hearth-home-art.is-large {
    grid-column: 1;
    grid-row: span 2;
    min-height: 37rem;
}

.hearth-home-art::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 248, 219, 0.16);
    border-radius: inherit;
    pointer-events: none;
}

.hearth-home-art img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 320ms ease, filter 320ms ease;
    user-select: none;
}

.hearth-home-art:hover img {
    transform: scale(1.055);
    filter: saturate(1.08) contrast(1.04);
}

.hearth-home-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    flex-wrap: wrap;
    padding: 0 1rem 2.4rem;
    color: rgba(255, 232, 181, 0.72);
    font-size: 0.9rem;
}

.hearth-home-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    flex-wrap: wrap;
    color: inherit;
    text-decoration: none;
    transition: color 160ms ease;
}

.hearth-home-beian-icon {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
}

.hearth-home-footer a:hover,
.hearth-home-footer a:focus-visible {
    color: #fff3cf;
    outline: none;
}

@keyframes hearthHeroRise {
    from {
        opacity: 0;
        transform: translateY(1rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hearthGalleryIn {
    from {
        opacity: 0;
        transform: translateY(0.75rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hearth-home-login,
    .hearth-home-art img,
    .hearth-home-hero-content,
    .hearth-home-art {
        animation: none;
        transition: none;
    }

    .hearth-home-art img,
    .hearth-home-art:hover img {
        transform: none;
    }
}

@media (max-width: 1024px) {
    .hearth-home-hero {
        min-height: calc(100svh - 6.5rem);
        padding: 5.5rem 2rem 3.5rem;
    }

    .hearth-home-hero h1 {
        max-width: 34rem;
        font-size: 2.75rem;
    }

    .hearth-home-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .hearth-home-art.is-large {
        grid-column: 1 / -1;
        grid-row: auto;
        min-height: 25rem;
    }
}

@media (max-width: 640px) {
    .hearth-home-nav {
        top: 0.75rem;
        right: 0.75rem;
    }

    .hearth-home-login {
        min-width: 4.6rem;
        min-height: 2.35rem;
        padding: 0.52rem 0.8rem;
    }

    .hearth-home-hero {
        min-height: calc(100svh - 5.5rem);
        padding: 5rem 1rem 2.75rem;
    }

    .hearth-home-hero-image {
        object-position: 64% center;
    }

    .hearth-home-hero-shade {
        background:
            linear-gradient(90deg, rgba(5, 3, 2, 0.86) 0%, rgba(5, 3, 2, 0.44) 64%, rgba(5, 3, 2, 0.12) 100%),
            linear-gradient(180deg, rgba(5, 3, 2, 0.08) 0%, rgba(5, 3, 2, 0.12) 52%, rgba(5, 3, 2, 0.86) 100%);
    }

    .hearth-home-logo {
        width: min(18rem, 82vw);
        margin-bottom: 0.8rem;
    }

    .hearth-home-hero h1 {
        max-width: 23rem;
        font-size: 2.05rem;
        line-height: 1.18;
    }

    .hearth-home-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        padding: 1rem 0 2.5rem;
    }

    .hearth-home-art,
    .hearth-home-art.is-large {
        min-height: 15rem;
    }

    .hearth-home-footer {
        padding-bottom: 1.8rem;
    }
}
