:root {
    --font-sans: "Cascadia Mono", "JetBrains Mono", "Fira Code", "Consolas", "Courier New", monospace;
    --font-display: "Cascadia Mono", "JetBrains Mono", "Fira Code", "Consolas", "Courier New", monospace;
    --bg: #08101a;
    --bg-soft: #0d1624;
    --panel: rgba(13, 22, 36, 0.68);
    --panel-strong: rgba(12, 19, 31, 0.9);
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(82, 255, 224, 0.28);
    --text: #eff8ff;
    --muted: #90a6ba;
    --accent: #52ffe0;
    --accent-2: #ff8456;
    --accent-3: #7cd4ff;
    --success: #6bf5af;
    --danger: #ff6c80;
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    --radius: 26px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(82, 255, 224, 0.16), transparent 25%),
        radial-gradient(circle at 85% 10%, rgba(255, 132, 86, 0.12), transparent 20%),
        radial-gradient(circle at 50% 120%, rgba(124, 212, 255, 0.16), transparent 35%),
        linear-gradient(180deg, #060c14 0%, #09111b 44%, #060d15 100%);
    font-family: var(--font-sans);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 92%);
}

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

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

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

button {
    cursor: pointer;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(22px);
    background: rgba(6, 12, 20, 0.7);
    border-bottom: 1px solid var(--line);
}

.site-header.is-scrolled {
    background: rgba(6, 12, 20, 0.88);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px 0;
}

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

.brand--stacked {
    margin-bottom: 26px;
}

.brand-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(82, 255, 224, 0.3), rgba(124, 212, 255, 0.12)),
        rgba(10, 18, 30, 0.8);
    border: 1px solid rgba(82, 255, 224, 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.brand-copy {
    display: grid;
    gap: 2px;
}

.brand-copy strong {
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 0.03em;
}

.brand-copy small,
.footer-copy,
.panel-copy,
.mini-game p,
.game-card__copy,
.page-hero__content p,
.detail-main__lead,
.content-prose,
.admin-toolbar p,
.admin-auth__copy,
.form-note,
.field span,
.status-badge,
.mini-list__item span {
    color: var(--muted);
}

.header-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex: 1;
}

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

.site-nav a,
.admin-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--muted);
    transition: 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active,
.admin-nav a:hover,
.admin-nav a.is-active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    min-width: 290px;
}

.header-search input,
.search-panel input,
.field input,
.field textarea,
.field select {
    width: 100%;
    border: 1px solid transparent;
    outline: none;
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 14px 16px;
}

.header-search input {
    background: transparent;
    padding: 8px 12px;
}

.header-search button {
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    color: #03131b;
    background: linear-gradient(135deg, var(--accent), #c6fff4);
    font-weight: 700;
}

.menu-toggle {
    display: none;
    margin-left: auto;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 6px auto;
    background: var(--text);
}

.hero,
.page-hero {
    padding: 44px 0 20px;
}

.section {
    padding: 26px 0;
}

.hero-grid,
.page-hero__grid,
.detail-layout,
.stream-layout,
.feature-grid,
.admin-grid,
.admin-stats,
.footer-grid {
    display: grid;
    gap: 24px;
}

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

.page-hero__grid,
.detail-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
}

.stream-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
}

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

.glass-panel,
.game-card,
.spotlight-main,
.spotlight-mini,
.category-pill,
.admin-panel,
.admin-auth__card,
.admin-stat {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
        var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.glass-panel::after,
.game-card::after,
.spotlight-main::after,
.spotlight-mini::after,
.category-pill::after,
.admin-panel::after,
.admin-auth__card::after,
.admin-stat::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 34%);
    pointer-events: none;
}

.hero-copy,
.page-hero__content,
.page-hero__aside,
.detail-main__body,
.panel-block,
.feature-card,
.empty-state,
.admin-toolbar,
.admin-panel,
.admin-auth__card {
    padding: 30px;
}

.hero-title,
.page-hero__content h1,
.detail-main h1,
.admin-toolbar h1,
.admin-auth__card h1 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.hero-title {
    font-size: clamp(2.6rem, 5vw, 4.9rem);
    margin-top: 10px;
}

.eyebrow,
.footer-label {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    color: var(--accent);
}

.hero-copy__text,
.page-hero__content p,
.detail-main__lead,
.admin-toolbar p,
.admin-auth__copy {
    font-size: 1rem;
    line-height: 1.8;
}

.hero-actions,
.form-actions,
.table-actions,
.badge-row,
.stat-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 16px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button--primary {
    color: #04131c;
    background: linear-gradient(135deg, var(--accent), #d5fff6);
    box-shadow: 0 16px 30px rgba(82, 255, 224, 0.18);
}

.button--ghost {
    color: var(--text);
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.button--danger {
    color: #fff3f4;
    background: rgba(255, 108, 128, 0.18);
    border-color: rgba(255, 108, 128, 0.3);
}

.button--small {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 14px;
    font-size: 0.92rem;
}

.button--full {
    width: 100%;
}

.stat-chip {
    min-width: 150px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--line);
}

.stat-chip strong,
.meta-tile strong,
.admin-stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.4rem;
}

.stat-chip span,
.meta-tile span,
.admin-stat span {
    font-size: 0.86rem;
    color: var(--muted);
}

.hero-note,
.form-note {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(82, 255, 224, 0.18);
    background: rgba(82, 255, 224, 0.07);
    color: #cbfff8;
}

.hero-spotlight,
.spotlight-stack,
.sidebar-stack,
.mini-list,
.form-stack {
    display: grid;
    gap: 18px;
}

.spotlight-main__visual,
.detail-banner {
    position: relative;
    min-height: 280px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.responsive-picture {
    display: block;
    width: 100%;
    height: 100%;
}

.spotlight-main__visual img,
.detail-banner__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spotlight-main__cover,
.game-card__cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spotlight-main__fallback,
.detail-banner__fallback,
.game-card__fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    text-align: center;
    background:
        radial-gradient(circle at 18% 20%, rgba(82, 255, 224, 0.28), transparent 30%),
        radial-gradient(circle at 84% 18%, rgba(255, 132, 86, 0.18), transparent 25%),
        linear-gradient(145deg, rgba(11, 19, 30, 0.98), rgba(16, 27, 42, 0.9));
}

.spotlight-main__fallback span,
.detail-banner__fallback span,
.game-card__mono {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5.5rem);
    color: rgba(255, 255, 255, 0.9);
}

.spotlight-main__fallback small,
.detail-banner__fallback small,
.game-card__fallback small {
    display: block;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.spotlight-main__body {
    padding: 24px 26px 28px;
}

.spotlight-main__body h2,
.page-hero__aside h2,
.feature-card h2,
.panel-block h2,
.section-head h2,
.detail-main h1,
.prose-card h2,
.empty-state h2,
.empty-state h1,
.admin-panel h2 {
    margin: 10px 0 12px;
    font-family: var(--font-display);
    letter-spacing: -0.03em;
}

.spotlight-main__body p,
.feature-card p,
.panel-block p,
.empty-state p,
.prose-card p,
.mini-game p {
    line-height: 1.75;
}

.spotlight-main__footer,
.game-card__meta,
.mini-game__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    color: var(--muted);
}

.spotlight-mini {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 22px;
}

.spotlight-mini__eyebrow,
.mini-game__eyebrow {
    font-size: 0.78rem;
    color: var(--accent);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

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

.section-head p {
    max-width: 500px;
    color: var(--muted);
    line-height: 1.7;
}

.section-head--compact {
    margin-bottom: 14px;
}

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

.game-card {
    display: grid;
}

.game-card__media {
    position: relative;
    min-height: 230px;
    overflow: hidden;
}

.game-card__cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card__overlay {
    position: absolute;
    inset: auto 0 0 0;
    height: 35%;
    background: linear-gradient(180deg, transparent, rgba(4, 10, 16, 0.9));
}

.game-card__body {
    padding: 20px;
}

.game-card__title {
    margin: 12px 0 10px;
    font-size: 1.25rem;
    line-height: 1.25;
}

.game-card__copy {
    min-height: 4.6em;
    line-height: 1.65;
}

.game-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.8rem;
}

.badge--accent {
    background: rgba(82, 255, 224, 0.1);
    border-color: rgba(82, 255, 224, 0.18);
    color: #cbfff8;
}

.category-rail {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.category-pill {
    min-width: 240px;
    padding: 20px 22px;
    display: grid;
    gap: 8px;
}

.category-pill__dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 24px rgba(82, 255, 224, 0.4);
}

.mini-game {
    display: grid;
    gap: 10px;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mini-game:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.mini-game:last-of-type {
    padding-bottom: 0;
}

.mini-game h3 {
    margin: 10px 0 8px;
    font-size: 1rem;
}

.panel-block--accent {
    border-color: var(--line-strong);
}

.empty-state {
    display: grid;
    place-items: start;
    min-height: 220px;
}

.empty-state--hero {
    place-items: center;
    text-align: center;
    min-height: 420px;
}

.detail-main {
    overflow: hidden;
}

.detail-banner__fallback {
    min-height: 340px;
}

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

.meta-tile {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
}

.content-prose {
    font-size: 1rem;
    line-height: 1.85;
}

.content-prose p,
.content-prose ul,
.content-prose ol,
.content-prose blockquote,
.content-prose h2,
.content-prose h3 {
    margin-top: 0;
    margin-bottom: 1.1rem;
}

.content-prose h2,
.content-prose h3 {
    font-family: var(--font-display);
}

.content-prose blockquote {
    padding: 18px 20px;
    border-left: 3px solid var(--accent);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0 16px 16px 0;
}

.search-panel {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.alert {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid transparent;
}

.alert--info {
    background: rgba(124, 212, 255, 0.09);
    border-color: rgba(124, 212, 255, 0.18);
}

.alert--success {
    background: rgba(107, 245, 175, 0.1);
    border-color: rgba(107, 245, 175, 0.18);
}

.alert--danger {
    background: rgba(255, 108, 128, 0.12);
    border-color: rgba(255, 108, 128, 0.18);
}

.site-footer {
    padding: 60px 0 70px;
}

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

.footer-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: grid;
    gap: 10px;
    color: var(--muted);
}

.admin-body {
    background:
        radial-gradient(circle at 0% 0%, rgba(82, 255, 224, 0.12), transparent 24%),
        radial-gradient(circle at 100% 0%, rgba(255, 132, 86, 0.12), transparent 20%),
        linear-gradient(180deg, #050b12, #08101a);
}

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

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 24px;
    border-right: 1px solid var(--line);
    background: rgba(7, 12, 20, 0.8);
    backdrop-filter: blur(20px);
}

.admin-nav {
    display: grid;
    gap: 8px;
    margin-bottom: 24px;
}

.admin-sidebar__card {
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.admin-content {
    padding: 32px;
}

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

.admin-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.settings-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.settings-tabs {
    position: sticky;
    top: 22px;
}

.settings-stage {
    min-width: 0;
}

.settings-panel {
    min-height: 420px;
}

.settings-panel__actions {
    margin-top: 24px;
}

.settings-tab-nav {
    display: grid;
    gap: 10px;
}

.settings-tab-link {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
    transition: 180ms ease;
}

.settings-tab-link:hover {
    border-color: rgba(82, 255, 224, 0.18);
    background: rgba(82, 255, 224, 0.05);
}

.settings-tab-link.is-active {
    border-color: rgba(82, 255, 224, 0.22);
    background: linear-gradient(135deg, rgba(82, 255, 224, 0.12), rgba(255, 255, 255, 0.04));
    box-shadow: 0 18px 30px rgba(82, 255, 224, 0.08);
}

.settings-tab-link span {
    color: var(--text);
    font-weight: 800;
}

.settings-tab-link small {
    color: var(--muted);
    line-height: 1.5;
}

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

.admin-stat {
    padding: 24px;
}

.admin-stats--dashboard {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.admin-stat--warning {
    border-color: rgba(255, 186, 91, 0.18);
}

.admin-stat--danger {
    border-color: rgba(255, 108, 128, 0.18);
}

.admin-grid {
    grid-template-columns: minmax(0, 1.15fr) 320px;
    align-items: start;
}

.dashboard-stack {
    display: grid;
    gap: 24px;
}

.dashboard-panel {
    min-width: 0;
}

.dashboard-table {
    min-width: 960px;
    table-layout: fixed;
}

.dashboard-table th,
.dashboard-table td {
    padding: 12px 10px;
    vertical-align: middle;
    white-space: nowrap;
}

.dashboard-title {
    display: block;
    max-width: min(100%, 620px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-actions,
.dashboard-badges {
    flex-wrap: nowrap;
    white-space: nowrap;
}

.dashboard-actions .button {
    white-space: nowrap;
}

.dashboard-table .status-badge {
    white-space: nowrap;
}

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

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

.admin-table th,
.admin-table td {
    padding: 15px 10px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-table th {
    color: var(--muted);
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.admin-table td strong,
.mini-list__item strong {
    display: block;
}

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

.admin-table--games td {
    vertical-align: middle;
}

.admin-sort-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.admin-sort-link span {
    color: var(--muted);
    font-size: 0.85em;
}

.admin-sort-link:hover,
.admin-sort-link:focus-visible,
.admin-sort-link.is-active {
    color: var(--primary);
}

.admin-sort-link.is-active span {
    color: currentColor;
}

.admin-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
}

.admin-pagination__link,
.admin-pagination__ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    text-decoration: none;
}

.admin-pagination__link:hover,
.admin-pagination__link:focus-visible,
.admin-pagination__link.is-active {
    border-color: rgba(130, 255, 235, 0.35);
    background: rgba(130, 255, 235, 0.1);
    color: var(--primary);
}

.admin-pagination__link.is-disabled {
    pointer-events: none;
    opacity: 0.38;
}

.status-badge {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
}

.status-badge--success {
    background: rgba(107, 245, 175, 0.1);
    color: #d7ffe9;
}

.status-badge--warning {
    background: rgba(255, 186, 91, 0.12);
    color: #ffe0ad;
}

.status-badge--danger {
    background: rgba(255, 108, 128, 0.14);
    color: #ffd5db;
}

.status-badge--muted {
    background: rgba(255, 255, 255, 0.05);
}

.mini-list {
    gap: 14px;
}

.mini-list__item {
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mini-list__item:first-of-type {
    padding-top: 0;
    border-top: 0;
}

.admin-form {
    display: grid;
}

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

.field {
    display: grid;
    align-self: start;
    gap: 8px;
}

.field--full {
    grid-column: 1 / -1;
}

.field textarea {
    resize: vertical;
    min-height: 130px;
}

.field--checkbox {
    align-content: start;
    align-items: center;
    grid-template-columns: 24px auto;
    gap: 12px;
    min-height: 82px;
    padding-top: 34px;
}

.field--checkbox input {
    width: 20px;
    height: 20px;
}

.field small {
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.5;
}

.field input[type="file"] {
    min-height: 64px;
    padding: 11px 12px;
    cursor: pointer;
}

.field input[type="file"]::file-selector-button {
    margin-right: 12px;
    border: 0;
    border-radius: 12px;
    padding: 10px 14px;
    color: #041414;
    background: linear-gradient(135deg, var(--accent), #c6fff4);
    font-weight: 800;
    cursor: pointer;
}

.publish-lock {
    min-height: 54px;
    display: grid;
    align-content: center;
    gap: 3px;
    padding: 11px 16px;
    border: 1px solid rgba(107, 245, 175, 0.16);
    border-radius: 16px;
    background: rgba(107, 245, 175, 0.08);
}

.publish-lock strong,
.publish-lock small {
    display: block;
}

.publish-lock small {
    color: var(--muted);
    font-size: 0.78rem;
}

.field input[type="color"] {
    min-height: 48px;
    padding: 6px;
}

.form-grid--compact {
    gap: 14px;
}

.admin-media-field {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) 240px;
    gap: 18px;
    align-items: start;
}

.admin-media-field--social {
    grid-template-columns: minmax(0, 1.2fr) 320px;
}

.admin-media-preview {
    display: grid;
    gap: 12px;
}

.admin-media-preview__visual,
.admin-media-preview__empty {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
}

.admin-media-preview__visual {
    min-height: 180px;
}

.admin-media-field--social .admin-media-preview__visual {
    min-height: 190px;
}

.admin-media-preview__picture,
.admin-media-preview__image {
    display: block;
    width: 100%;
    height: 100%;
}

.admin-media-preview__image {
    object-fit: cover;
}

.admin-media-field--logo .admin-media-preview__image {
    object-fit: contain;
    background:
        linear-gradient(135deg, rgba(82, 255, 224, 0.06), rgba(255, 255, 255, 0.02)),
        rgba(8, 16, 26, 0.92);
    padding: 20px;
}

.admin-media-preview__meta {
    display: grid;
    gap: 6px;
}

.admin-media-preview__meta strong,
.admin-media-preview__empty strong,
.admin-media-preview__empty span {
    display: block;
}

.admin-media-preview__meta small,
.admin-media-preview__empty span {
    color: var(--muted);
    line-height: 1.6;
    word-break: break-word;
}

.admin-media-preview__empty {
    min-height: 180px;
    place-items: center;
    padding: 18px;
    text-align: center;
}

.profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) 320px;
    gap: 24px;
    align-items: start;
}

.profile-main,
.profile-side {
    display: grid;
    gap: 24px;
}

.profile-panel {
    min-height: 0;
}

.profile-form {
    gap: 18px;
}

.profile-form-grid,
.profile-password-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

.profile-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 4px;
}

.profile-inline-note {
    margin: 0;
    max-width: 560px;
    color: var(--muted);
    line-height: 1.7;
}

.profile-summary__list,
.profile-note__list {
    display: grid;
    gap: 14px;
}

.profile-summary__item,
.profile-note__item {
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.025);
}

.profile-summary__item span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.profile-summary__item strong {
    display: block;
    line-height: 1.55;
}

.profile-note h2 {
    margin-bottom: 14px;
}

.profile-note__item {
    line-height: 1.72;
    color: var(--text);
}

.category-admin-list {
    display: grid;
    gap: 18px;
}

.category-admin-card {
    position: relative;
    display: grid;
    gap: 18px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.035);
}

.category-admin-card__head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.category-admin-card__head strong,
.category-admin-card__head small {
    display: block;
}

.category-admin-card__head small {
    margin-top: 5px;
    color: var(--muted);
}

.category-color-dot {
    width: 18px;
    height: 52px;
    border-radius: 999px;
    box-shadow: 0 0 30px currentColor;
}

.category-admin-card__head .status-badge {
    margin-left: auto;
}

.category-delete-form {
    display: flex;
    justify-content: flex-end;
}

.media-thumb {
    width: 88px;
    aspect-ratio: 16 / 9;
    display: inline-grid;
    place-items: center;
    object-fit: cover;
    border-radius: 12px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.media-thumb--empty {
    font-size: 0.78rem;
}

.button:disabled {
    cursor: not-allowed;
    opacity: 0.48;
}

.seo-score {
    width: 54px;
    height: 54px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    font-weight: 900;
    font-size: 0.92rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.seo-score--passed,
.seo-score--excellent {
    color: #d7ffe9;
    background: rgba(107, 245, 175, 0.12);
}

.seo-score--good {
    color: #d8ffee;
    background: rgba(82, 255, 224, 0.14);
}

.seo-score--warning,
.seo-score--fair {
    color: #ffe0ad;
    background: rgba(255, 186, 91, 0.12);
}

.seo-score--low {
    color: #ffd6ac;
    background: rgba(255, 132, 86, 0.16);
}

.seo-score--critical,
.seo-score--poor {
    color: #ffd5db;
    background: rgba(255, 108, 128, 0.14);
}

.seo-score-stack {
    display: inline-grid;
    justify-items: center;
    gap: 7px;
}

.seo-score-caption {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.seo-score-caption--excellent,
.seo-score-caption--passed {
    color: #d7ffe9;
}

.seo-score-caption--good {
    color: #b9fff5;
}

.seo-score-caption--fair,
.seo-score-caption--warning {
    color: #ffe0ad;
}

.seo-score-caption--low {
    color: #ffd0ae;
}

.seo-score-caption--poor,
.seo-score-caption--critical {
    color: #ffd5db;
}

.seo-panel {
    overflow: visible;
}

.seo-panel .table-wrap {
    overflow-x: auto;
    overflow-y: visible;
}

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

.seo-legend-panel {
    overflow: hidden;
}

.seo-legend-panel::before {
    content: "";
    position: absolute;
    inset: -40% auto auto -10%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(82, 255, 224, 0.16), transparent 68%);
    pointer-events: none;
}

.seo-legend__item {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 18px 18px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
        rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
}

.seo-legend__item::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: currentColor;
    opacity: 0.95;
}

.seo-legend__item::after {
    content: "";
    position: absolute;
    top: -48px;
    right: -42px;
    width: 118px;
    height: 118px;
    border-radius: 50%;
    background: radial-gradient(circle, currentColor 0%, transparent 72%);
    opacity: 0.12;
    pointer-events: none;
}

.seo-legend__item strong,
.seo-legend__item small {
    display: block;
}

.seo-legend__item small {
    margin-top: 5px;
    color: var(--muted);
    line-height: 1.55;
}

.seo-legend__item--excellent {
    color: #b9ffe0;
    border-color: rgba(107, 245, 175, 0.22);
    background:
        linear-gradient(135deg, rgba(107, 245, 175, 0.16), rgba(255, 255, 255, 0.03)),
        rgba(255, 255, 255, 0.03);
}

.seo-legend__item--good {
    color: #a9fff2;
    border-color: rgba(82, 255, 224, 0.22);
    background:
        linear-gradient(135deg, rgba(82, 255, 224, 0.16), rgba(255, 255, 255, 0.03)),
        rgba(255, 255, 255, 0.03);
}

.seo-legend__item--fair {
    color: #ffe0ad;
    border-color: rgba(255, 186, 91, 0.22);
    background:
        linear-gradient(135deg, rgba(255, 186, 91, 0.18), rgba(255, 255, 255, 0.03)),
        rgba(255, 255, 255, 0.03);
}

.seo-legend__item--low {
    color: #ffd0ae;
    border-color: rgba(255, 132, 86, 0.22);
    background:
        linear-gradient(135deg, rgba(255, 132, 86, 0.18), rgba(255, 255, 255, 0.03)),
        rgba(255, 255, 255, 0.03);
}

.seo-legend__item--poor {
    color: #ffd5db;
    border-color: rgba(255, 108, 128, 0.22);
    background:
        linear-gradient(135deg, rgba(255, 108, 128, 0.18), rgba(255, 255, 255, 0.03)),
        rgba(255, 255, 255, 0.03);
}

.seo-table__row--excellent td:first-child,
.seo-table__row--passed td:first-child {
    border-left: 3px solid rgba(107, 245, 175, 0.5);
}

.seo-table__row--excellent td,
.seo-table__row--passed td {
    background: rgba(107, 245, 175, 0.035);
}

.seo-table__row--good td:first-child {
    border-left: 3px solid rgba(82, 255, 224, 0.5);
}

.seo-table__row--good td {
    background: rgba(82, 255, 224, 0.035);
}

.seo-table__row--fair td:first-child {
    border-left: 3px solid rgba(255, 186, 91, 0.5);
}

.seo-table__row--fair td {
    background: rgba(255, 186, 91, 0.035);
}

.seo-table__row--low td:first-child {
    border-left: 3px solid rgba(255, 132, 86, 0.56);
}

.seo-table__row--low td {
    background: rgba(255, 132, 86, 0.04);
}

.seo-table__row--poor td:first-child,
.seo-table__row--critical td:first-child {
    border-left: 3px solid rgba(255, 108, 128, 0.56);
}

.seo-table__row--poor td,
.seo-table__row--critical td {
    background: rgba(255, 108, 128, 0.045);
}

.seo-table__row.is-seo-queue-active td {
    background: rgba(82, 255, 224, 0.13);
    box-shadow: inset 0 0 0 999px rgba(82, 255, 224, 0.03);
}

.seo-table__row.is-seo-queue-done td {
    background: rgba(107, 245, 175, 0.16);
    color: #eafff3;
}

.seo-table__row.is-seo-queue-failed td {
    background: rgba(255, 108, 128, 0.16);
    color: #ffe2e7;
}

.seo-hint {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: help;
    outline: none;
}

.seo-hint__panel {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    z-index: 30;
    width: min(320px, calc(100vw - 64px));
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(82, 255, 224, 0.16);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
        rgba(6, 12, 20, 0.98);
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    pointer-events: none;
}

.seo-hint__panel::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 22px;
    width: 14px;
    height: 14px;
    transform: rotate(45deg);
    border-top: 1px solid rgba(82, 255, 224, 0.16);
    border-left: 1px solid rgba(82, 255, 224, 0.16);
    background: rgba(8, 16, 26, 0.96);
}

.seo-hint__panel--right {
    left: auto;
    right: 0;
}

.seo-hint__panel--right::before {
    left: auto;
    right: 22px;
}

.seo-hint:hover .seo-hint__panel,
.seo-hint:focus .seo-hint__panel,
.seo-hint:focus-within .seo-hint__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.seo-hint__title,
.seo-hint__kicker,
.seo-hint__meta,
.seo-hint__text,
.seo-hint__list span,
.seo-hint__success {
    display: block;
}

.seo-hint__title {
    font-family: var(--font-display);
    font-size: 1.02rem;
    margin-bottom: 8px;
}

.seo-hint__kicker,
.seo-hint__meta {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.7rem;
}

.seo-hint__kicker {
    color: var(--accent);
    margin-top: 10px;
}

.seo-hint__meta {
    color: var(--muted);
    margin-top: 10px;
}

.seo-hint__text,
.seo-hint__list span,
.seo-hint__success {
    color: var(--text);
    line-height: 1.6;
}

.seo-hint__divider {
    display: block;
    margin: 12px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.seo-hint__list {
    display: grid;
    gap: 8px;
    margin-top: 10px;
}

.seo-hint__list strong {
    color: #ffffff;
}

.seo-hint__success {
    color: #d7ffe9;
    margin-top: 10px;
}

.seo-issue-list {
    display: grid;
    gap: 7px;
    min-width: 280px;
}

.seo-issue {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 11px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.45;
    background: rgba(255, 255, 255, 0.035);
}

.seo-issue__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.88;
}

.seo-issue--critical {
    color: #ffd5db;
    border-color: rgba(255, 108, 128, 0.22);
    background: rgba(255, 108, 128, 0.08);
}

.seo-issue--warning {
    color: #ffe0ad;
    border-color: rgba(255, 186, 91, 0.22);
    background: rgba(255, 186, 91, 0.08);
}

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

.seo-card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
}

.seo-card strong,
.seo-card small {
    display: block;
}

.seo-card small {
    margin-top: 4px;
    color: var(--muted);
}

.seo-card a {
    color: var(--accent);
    font-weight: 800;
}

.seo-card--excellent,
.seo-card--passed {
    border-color: rgba(107, 245, 175, 0.2);
}

.seo-card--good {
    border-color: rgba(82, 255, 224, 0.2);
}

.seo-card--fair {
    border-color: rgba(255, 186, 91, 0.2);
}

.seo-card--low {
    border-color: rgba(255, 132, 86, 0.22);
}

.seo-card--poor,
.seo-card--critical {
    border-color: rgba(255, 108, 128, 0.22);
}

.seo-stats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.seo-legend--wide {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.seo-legend--loud .seo-score {
    width: 62px;
    height: 62px;
    font-size: 1rem;
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.03);
}

.seo-legend--loud .seo-legend__item strong {
    font-size: 1.08rem;
}

.seo-legend--loud .seo-legend__item small {
    color: rgba(239, 248, 255, 0.82);
}

.seo-audit-list {
    display: grid;
    gap: 18px;
}

.seo-audit-card {
    padding: 22px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.seo-audit-card--excellent,
.seo-audit-card--passed {
    border-color: rgba(107, 245, 175, 0.24);
}

.seo-audit-card--good {
    border-color: rgba(82, 255, 224, 0.24);
}

.seo-audit-card--fair {
    border-color: rgba(255, 186, 91, 0.24);
}

.seo-audit-card--low {
    border-color: rgba(255, 132, 86, 0.24);
}

.seo-audit-card--poor,
.seo-audit-card--critical {
    border-color: rgba(255, 108, 128, 0.28);
}

.seo-audit-card__top,
.seo-audit-card__facts {
    display: grid;
    gap: 18px;
}

.seo-audit-card__top {
    grid-template-columns: 82px minmax(0, 1fr) auto;
    align-items: start;
}

.seo-audit-card__score {
    display: grid;
    justify-items: center;
    gap: 8px;
}

.seo-audit-card__eyebrow {
    color: var(--muted);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    word-break: break-word;
}

.seo-audit-card__main h3 {
    margin: 8px 0 10px;
    font-family: var(--font-display);
    font-size: 1.42rem;
    line-height: 1.2;
}

.seo-audit-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    color: var(--muted);
    font-size: 0.88rem;
}

.seo-audit-card__summary-text {
    margin: 12px 0 0;
    color: var(--text);
    line-height: 1.75;
}

.seo-audit-card__actions {
    display: grid;
    gap: 10px;
    align-content: start;
}

.seo-audit-card__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 18px;
}

.seo-fact {
    display: grid;
    gap: 8px;
    padding: 15px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.025);
    min-width: 0;
}

.seo-fact span {
    color: var(--muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.seo-fact strong,
.seo-fact a {
    color: var(--text);
    word-break: break-word;
    line-height: 1.6;
}

.seo-issue-list--inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 0;
    margin-top: 16px;
}

.seo-issue--neutral {
    color: var(--muted);
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
}

.seo-issue--success {
    color: #d7ffe9;
    border-color: rgba(107, 245, 175, 0.18);
    background: rgba(107, 245, 175, 0.1);
}

.seo-panel .admin-table td a {
    overflow-wrap: anywhere;
}

.seo-panel--compact .admin-table td {
    vertical-align: top;
}

.seo-batch-panel {
    display: grid;
    gap: 18px;
}

.seo-batch-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.seo-select-all-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 700;
}

.seo-selection-count {
    color: var(--accent);
    font-size: 0.92rem;
}

.seo-batch-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.seo-batch-form {
    display: block;
}

.seo-batch-form .button,
.seo-modal__action-form .button {
    width: 100%;
}

.seo-queue {
    display: grid;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(82, 255, 224, 0.2);
    background: rgba(4, 15, 22, 0.86);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.seo-queue[hidden] {
    display: none;
}

.seo-queue__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--text);
}

.seo-queue__head strong {
    color: var(--accent);
    font-size: 1.1rem;
}

.seo-queue__head span {
    color: var(--muted);
    text-align: right;
}

.seo-queue__bar {
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
}

.seo-queue__bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), #8cffea);
    box-shadow: 0 0 24px rgba(82, 255, 224, 0.34);
    transition: width 220ms ease;
}

.seo-queue-old-note {
    display: none;
}

.seo-table__content {
    display: grid;
    gap: 6px;
    min-width: 260px;
}

.seo-select-col {
    width: 44px;
    min-width: 44px;
    text-align: center;
}

.seo-select-col input[type="checkbox"],
.seo-select-all-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}

.seo-table__slug {
    color: var(--muted);
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.seo-table__status {
    display: grid;
    gap: 10px;
    min-width: 150px;
}

.seo-health {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.seo-health__item {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
    font-weight: 700;
}

.seo-health__item--critical {
    color: #ffd5db;
    background: rgba(255, 108, 128, 0.12);
    border-color: rgba(255, 108, 128, 0.22);
}

.seo-health__item--warning {
    color: #ffe0ad;
    background: rgba(255, 186, 91, 0.12);
    border-color: rgba(255, 186, 91, 0.22);
}

.seo-table__clean {
    color: #d7ffe9;
    font-weight: 700;
}

.admin-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 24px;
}

.admin-modal[hidden] {
    display: none;
}

.admin-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 12, 0.7);
    backdrop-filter: blur(8px);
}

.admin-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(940px, calc(100vw - 40px));
    max-height: calc(100vh - 48px);
    overflow: auto;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025)),
        rgba(7, 12, 20, 0.96);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.48);
}

.admin-modal__head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 24px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-modal__head h2 {
    margin: 8px 0 0;
    font-family: var(--font-display);
}

.admin-modal__close {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.admin-modal__body {
    display: grid;
    gap: 18px;
    padding: 24px;
}

.seo-modal__summary {
    display: grid;
    gap: 14px;
}

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

.seo-modal__meta-item {
    display: grid;
    gap: 6px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.seo-modal__meta-item span {
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.seo-modal__meta-item strong {
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.seo-modal__hint {
    margin: 0;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(82, 255, 224, 0.06);
    border: 1px solid rgba(82, 255, 224, 0.14);
    color: #cbfff8;
    line-height: 1.7;
}

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

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

.seo-modal__action-form {
    display: block;
}

.button[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

body.has-modal-open {
    overflow: hidden;
}

.seo-issues-panel {
    margin-top: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: rgba(6, 12, 20, 0.24);
    overflow: hidden;
}

.seo-issues-panel summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    cursor: pointer;
    list-style: none;
    color: var(--text);
    font-weight: 700;
}

.seo-issues-panel summary::-webkit-details-marker {
    display: none;
}

.seo-issues-panel summary strong {
    color: var(--accent);
    font-size: 0.88rem;
    letter-spacing: 0.06em;
}

.seo-issues-panel[open] summary {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.seo-issues-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 18px;
}

.seo-issue-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.seo-issue-card--critical {
    border-color: rgba(255, 108, 128, 0.24);
    background: rgba(255, 108, 128, 0.06);
}

.seo-issue-card--warning {
    border-color: rgba(255, 186, 91, 0.24);
    background: rgba(255, 186, 91, 0.06);
}

.seo-issue-card__head {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.seo-issue-card__head strong {
    font-size: 1rem;
    line-height: 1.4;
}

.seo-issue-card__badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.seo-issue-card__badge--critical {
    color: #ffd5db;
    background: rgba(255, 108, 128, 0.14);
}

.seo-issue-card__badge--warning {
    color: #ffe0ad;
    background: rgba(255, 186, 91, 0.14);
}

.seo-issue-card p,
.seo-issue-card__fix p {
    margin: 0;
    color: var(--text);
    line-height: 1.72;
}

.seo-issue-card__fix {
    display: grid;
    gap: 6px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.seo-issue-card__fix span {
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

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

.seo-card {
    grid-template-columns: 54px minmax(0, 1fr) auto;
    align-items: start;
}

.seo-card small {
    line-height: 1.6;
}

.schema-grid {
    display: grid;
    gap: 18px;
}

.schema-card {
    display: grid;
    gap: 18px;
    padding: 22px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.schema-card--passed {
    border-color: rgba(107, 245, 175, 0.2);
}

.schema-card--warning {
    border-color: rgba(255, 186, 91, 0.22);
}

.schema-card--critical {
    border-color: rgba(255, 108, 128, 0.22);
}

.schema-card__head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 18px;
}

.schema-card__copy {
    display: grid;
    gap: 8px;
}

.schema-card__copy h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.18rem;
}

.schema-card__copy p,
.schema-card__aside small,
.schema-doc summary small,
.schema-doc__meta {
    color: var(--muted);
    line-height: 1.6;
}

.schema-card__url {
    color: var(--accent);
    word-break: break-all;
}

.schema-card__aside {
    display: grid;
    justify-items: end;
    gap: 10px;
}

.schema-issues {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.schema-note {
    margin-top: 0;
}

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

.schema-summary-box {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.025);
}

.schema-summary-box > span {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.schema-summary-box strong {
    color: var(--text);
    line-height: 1.6;
}

.schema-issues--simple {
    gap: 8px;
}

.schema-doc-grid {
    display: grid;
    gap: 14px;
}

.schema-doc {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.025);
    overflow: hidden;
}

.schema-doc[open] {
    border-color: rgba(82, 255, 224, 0.16);
}

.schema-doc summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    cursor: pointer;
    list-style: none;
}

.schema-doc summary::-webkit-details-marker {
    display: none;
}

.schema-doc summary strong,
.schema-doc summary small {
    display: block;
}

.schema-doc__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 18px 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
}

.schema-doc__code {
    margin: 0;
    padding: 0 18px 18px;
    overflow: auto;
}

.schema-doc__code code {
    display: block;
    min-width: max-content;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(7, 12, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #d8fff7;
    font-family: var(--font-sans);
    font-size: 0.84rem;
    line-height: 1.8;
    white-space: pre;
}

.schema-doc__empty {
    padding: 0 18px 18px;
    color: var(--muted);
    line-height: 1.7;
}

.admin-auth {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 16px;
}

.admin-auth__card {
    width: min(540px, 100%);
}

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

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

@media (max-width: 1100px) {
    .hero-grid,
    .stream-layout,
    .page-hero__grid,
    .detail-layout,
    .feature-grid,
    .admin-grid,
    .settings-layout,
    .profile-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .admin-sidebar {
        position: static;
        height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

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

    .seo-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .settings-tabs {
        position: static;
    }
}

@media (max-width: 860px) {
    .menu-toggle {
        display: inline-block;
    }

    .header-panel {
        position: absolute;
        top: 100%;
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        border-radius: 24px;
        border: 1px solid var(--line);
        background: rgba(7, 12, 20, 0.96);
        box-shadow: var(--shadow);
    }

    .header-panel.is-open {
        display: flex;
    }

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

    .header-search,
    .search-panel,
    .admin-toolbar,
    .game-card__footer,
    .schema-card__head {
        flex-direction: column;
        align-items: stretch;
    }

    .cards-grid,
    .form-grid,
    .admin-media-field,
    .profile-form-grid,
    .profile-password-grid,
    .admin-stats,
    .meta-grid,
    .seo-card-grid,
    .seo-legend {
        grid-template-columns: 1fr;
    }

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

    .seo-audit-card__top,
    .seo-audit-card__facts,
    .seo-issues-grid,
    .schema-summary-grid {
        grid-template-columns: 1fr;
    }

    .seo-audit-card__actions {
        grid-template-columns: 1fr;
    }

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

    .schema-card__aside {
        justify-items: start;
    }

    .seo-modal__meta,
    .seo-modal__issues,
    .seo-modal__actions,
    .seo-batch-actions {
        grid-template-columns: 1fr;
    }

    .admin-modal {
        padding: 16px;
    }
}

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

    .seo-stats {
        grid-template-columns: 1fr;
    }

    .hero-copy,
    .page-hero__content,
    .page-hero__aside,
    .detail-main__body,
    .panel-block,
    .feature-card,
    .empty-state,
    .admin-toolbar,
    .admin-panel,
    .admin-auth__card,
    .admin-content {
        padding: 22px;
    }

    .spotlight-main__body,
    .admin-sidebar {
        padding: 20px;
    }

    .button {
        width: 100%;
    }

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

    .admin-modal__close {
        width: 100%;
    }
}

body:not(.admin-body) {
    background: #121212;
    color: #f4f4f4;
    font-family: var(--font-sans);
}

body:not(.admin-body)::before {
    display: none;
}

body:not(.admin-body) .shell {
    width: min(1320px, calc(100% - 32px));
}

body:not(.admin-body) .site-topbar {
    background: #0b0b0b;
    border-bottom: 1px solid #232323;
    color: #a2a2a2;
    font-family: var(--font-sans);
    font-size: 0.84rem;
}

body:not(.admin-body) .site-topbar__inner,
body:not(.admin-body) .site-topbar__right {
    display: flex;
    align-items: center;
    gap: 18px;
}

body:not(.admin-body) .site-topbar__inner {
    justify-content: space-between;
    min-height: 42px;
}

body:not(.admin-body) .site-topbar a:hover {
    color: #ffffff;
}

body:not(.admin-body) .site-header {
    position: sticky;
    top: 0;
    border-bottom: 1px solid #242424;
    background: rgba(18, 18, 18, 0.96);
    backdrop-filter: blur(12px);
}

body:not(.admin-body) .site-header.is-scrolled {
    background: rgba(12, 12, 12, 0.98);
}

body:not(.admin-body) .header-inner {
    min-height: 86px;
    gap: 24px;
}

body:not(.admin-body) .brand {
    gap: 16px;
}

body:not(.admin-body) .brand--footer {
    align-items: center;
}

body:not(.admin-body) .brand-mark {
    width: 58px;
    height: 58px;
    border-radius: 0;
    border: 0;
    background: #d71e39;
    box-shadow: none;
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.35rem;
    letter-spacing: 0.14em;
}

body:not(.admin-body) .brand-copy {
    gap: 4px;
}

body:not(.admin-body) .brand-copy strong {
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

body:not(.admin-body) .brand-copy small {
    color: #b7b7b7;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

body:not(.admin-body) .header-panel {
    gap: 24px;
}

body:not(.admin-body) .site-nav {
    gap: 6px;
}

body:not(.admin-body) .site-nav a {
    border-radius: 0;
    color: #d5d5d5;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body:not(.admin-body) .site-nav a:hover,
body:not(.admin-body) .site-nav a.is-active {
    background: transparent;
    color: #ffffff;
}

body:not(.admin-body) .header-search {
    min-width: 300px;
    border: 1px solid #2a2a2a;
    border-radius: 0;
    background: #1a1a1a;
    padding: 4px;
}

body:not(.admin-body) .header-search input,
body:not(.admin-body) .search-panel input {
    border-radius: 0;
    background: transparent;
    color: #ffffff;
    font-family: var(--font-sans);
}

body:not(.admin-body) .header-search button {
    border-radius: 0;
    background: #d71e39;
    color: #fff;
}

body:not(.admin-body) .menu-toggle {
    border-radius: 0;
    border-color: #2e2e2e;
    background: #171717;
}

body:not(.admin-body) main {
    padding-bottom: 60px;
}

body:not(.admin-body) .front-hero,
body:not(.admin-body) .section-shell,
body:not(.admin-body) .single-hero {
    padding: 28px 0 0;
}

body:not(.admin-body) .hero-headline,
body:not(.admin-body) .section-heading,
body:not(.admin-body) .single-hero__inner {
    margin-bottom: 24px;
}

body:not(.admin-body) .hero-headline h1,
body:not(.admin-body) .section-heading h2,
body:not(.admin-body) .single-hero__inner h1,
body:not(.admin-body) .widget-heading h3,
body:not(.admin-body) .lead-story__content h2,
body:not(.admin-body) .editor-pick__content h3,
body:not(.admin-body) .post-card__title,
body:not(.admin-body) .overlay-tile__body h3 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
}

body:not(.admin-body) .hero-headline h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 12px;
}

body:not(.admin-body) .hero-headline p,
body:not(.admin-body) .lead-story__content p,
body:not(.admin-body) .editor-pick__content p,
body:not(.admin-body) .post-card__excerpt,
body:not(.admin-body) .single-hero__inner p,
body:not(.admin-body) .rich-content,
body:not(.admin-body) .sidebar-widget p,
body:not(.admin-body) .footer-copy,
body:not(.admin-body) .empty-block p,
body:not(.admin-body) .notice-panel {
    color: #b8b8b8;
    font-family: var(--font-sans);
    line-height: 1.8;
}

body:not(.admin-body) .section-kicker,
body:not(.admin-body) .story-tag,
body:not(.admin-body) .post-card__tag,
body:not(.admin-body) .footer-label,
body:not(.admin-body) .story-meta,
body:not(.admin-body) .single-hero__meta,
body:not(.admin-body) .post-card__meta,
body:not(.admin-body) .mini-card__meta,
body:not(.admin-body) .overlay-tile__meta,
body:not(.admin-body) .single-meta-row {
    color: #d71e39;
    font-family: var(--font-sans);
    font-size: 0.77rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

body:not(.admin-body) .story-meta,
body:not(.admin-body) .single-hero__meta,
body:not(.admin-body) .post-card__meta,
body:not(.admin-body) .single-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
}

body:not(.admin-body) .story-meta span,
body:not(.admin-body) .single-hero__meta span,
body:not(.admin-body) .post-card__meta span,
body:not(.admin-body) .single-meta-row span {
    color: #989898;
}

body:not(.admin-body) .story-tag,
body:not(.admin-body) .post-card__tag,
body:not(.admin-body) .single-hero__meta a {
    color: #ffffff;
    background: #d71e39;
    padding: 5px 10px;
}

body:not(.admin-body) .front-hero__grid,
body:not(.admin-body) .featured-split,
body:not(.admin-body) .content-layout,
body:not(.admin-body) .single-layout,
body:not(.admin-body) .footer-grid {
    display: grid;
    gap: 28px;
}

body:not(.admin-body) .front-hero__grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.8fr);
}

body:not(.admin-body) .featured-split,
body:not(.admin-body) .content-layout,
body:not(.admin-body) .single-layout {
    grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.75fr);
}

body:not(.admin-body) .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
}

body:not(.admin-body) .lead-story,
body:not(.admin-body) .editor-pick,
body:not(.admin-body) .post-card,
body:not(.admin-body) .sidebar-widget,
body:not(.admin-body) .notice-panel,
body:not(.admin-body) .empty-block,
body:not(.admin-body) .single-main,
body:not(.admin-body) .single-sidebar .sidebar-widget,
body:not(.admin-body) .archive-banner {
    background: #181818;
    border: 1px solid #292929;
    box-shadow: none;
    overflow: hidden;
}

body:not(.admin-body) .lead-story__media,
body:not(.admin-body) .editor-pick__media,
body:not(.admin-body) .post-card__thumb,
body:not(.admin-body) .mini-card__thumb,
body:not(.admin-body) .overlay-tile__media,
body:not(.admin-body) .single-cover {
    position: relative;
    display: block;
    overflow: hidden;
    background: #202020;
}

body:not(.admin-body) .lead-story__image,
body:not(.admin-body) .editor-pick__image,
body:not(.admin-body) .post-card__image,
body:not(.admin-body) .mini-card__image,
body:not(.admin-body) .overlay-tile__image,
body:not(.admin-body) .single-cover__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body:not(.admin-body) .lead-story__media,
body:not(.admin-body) .single-cover,
body:not(.admin-body) .editor-pick__media {
    min-height: 420px;
}

body:not(.admin-body) .lead-story__shade,
body:not(.admin-body) .overlay-tile__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.75));
}

body:not(.admin-body) .lead-story__content,
body:not(.admin-body) .editor-pick__content,
body:not(.admin-body) .sidebar-widget,
body:not(.admin-body) .single-content,
body:not(.admin-body) .single-hero__inner,
body:not(.admin-body) .hero-headline,
body:not(.admin-body) .section-heading,
body:not(.admin-body) .notice-panel,
body:not(.admin-body) .empty-block {
    padding: 26px;
}

body:not(.admin-body) .lead-story {
    position: relative;
    min-height: 560px;
}

body:not(.admin-body) .lead-story__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

body:not(.admin-body) .lead-story__content h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin: 14px 0 14px;
}

body:not(.admin-body) .story-actions,
body:not(.admin-body) .post-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

body:not(.admin-body) .button {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 0;
    border: 1px solid transparent;
    font-family: var(--font-sans);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

body:not(.admin-body) .button--accent,
body:not(.admin-body) .button--primary {
    background: #d71e39;
    color: #ffffff;
    box-shadow: none;
}

body:not(.admin-body) .button--ghost {
    border-color: #4c4c4c;
    background: transparent;
    color: #ffffff;
}

body:not(.admin-body) .button--small {
    min-height: 40px;
    padding: 0 14px;
}

body:not(.admin-body) .button--full {
    width: 100%;
}

body:not(.admin-body) .text-link {
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

body:not(.admin-body) .story-stack,
body:not(.admin-body) .tile-grid,
body:not(.admin-body) .front-sidebar {
    display: grid;
    gap: 22px;
}

body:not(.admin-body) .overlay-tile {
    position: relative;
    min-height: 166px;
    overflow: hidden;
    border: 1px solid #282828;
    background: #1a1a1a;
}

body:not(.admin-body) .overlay-tile__media {
    min-height: 100%;
    height: 100%;
}

body:not(.admin-body) .overlay-tile__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 18px;
}

body:not(.admin-body) .overlay-tile__body h3 {
    margin-top: 10px;
    font-size: 1.1rem;
}

body:not(.admin-body) .overlay-tile__body a {
    color: #ffffff;
}

body:not(.admin-body) .editor-pick__content h3 {
    font-size: 2rem;
    margin: 14px 0 12px;
}

body:not(.admin-body) .post-stream {
    display: grid;
    gap: 22px;
}

body:not(.admin-body) .post-card {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
}

body:not(.admin-body) .post-card__thumb {
    min-height: 100%;
}

body:not(.admin-body) .post-card__fallback,
body:not(.admin-body) .lead-story__fallback,
body:not(.admin-body) .editor-pick__fallback,
body:not(.admin-body) .single-cover__fallback,
body:not(.admin-body) .mini-card__fallback,
body:not(.admin-body) .overlay-tile__fallback {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #272727, #111111);
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    min-height: 100%;
}

body:not(.admin-body) .post-card__body {
    padding: 24px 26px;
}

body:not(.admin-body) .post-card__title {
    margin: 14px 0 12px;
    font-size: 1.8rem;
}

body:not(.admin-body) .post-card__title a {
    color: #ffffff;
}

body:not(.admin-body) .mini-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    padding: 0 0 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid #2a2a2a;
}

body:not(.admin-body) .mini-card:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

body:not(.admin-body) .mini-card__thumb {
    height: 76px;
}

body:not(.admin-body) .mini-card__image {
    height: 76px;
}

body:not(.admin-body) .mini-card__fallback {
    font-size: 1.6rem;
}

body:not(.admin-body) .mini-card__body h3 {
    margin: 8px 0 10px;
    font-size: 1rem;
    line-height: 1.45;
}

body:not(.admin-body) .mini-card__body a {
    color: #ffffff;
}

body:not(.admin-body) .mini-card__foot {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #999999;
    font-family: var(--font-sans);
    font-size: 0.84rem;
}

body:not(.admin-body) .mini-card__foot a {
    color: #d71e39;
    font-weight: 700;
}

body:not(.admin-body) .widget-heading {
    margin-bottom: 18px;
}

body:not(.admin-body) .widget-heading h3 {
    margin-top: 10px;
    font-size: 1.5rem;
}

body:not(.admin-body) .stats-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

body:not(.admin-body) .stats-strip div {
    padding: 18px 14px;
    border: 1px solid #2b2b2b;
    background: #121212;
    text-align: center;
}

body:not(.admin-body) .stats-strip strong {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 1.5rem;
}

body:not(.admin-body) .stats-strip span,
body:not(.admin-body) .category-list strong,
body:not(.admin-body) .info-list span,
body:not(.admin-body) .info-list strong {
    font-family: var(--font-sans);
}

body:not(.admin-body) .category-list {
    display: grid;
    gap: 10px;
}

body:not(.admin-body) .category-list a,
body:not(.admin-body) .info-list div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #2a2a2a;
    font-family: var(--font-sans);
}

body:not(.admin-body) .category-list a:last-child,
body:not(.admin-body) .info-list div:last-child {
    border-bottom: 0;
}

body:not(.admin-body) .category-list span,
body:not(.admin-body) .info-list span {
    color: #a9a9a9;
}

body:not(.admin-body) .category-list strong,
body:not(.admin-body) .info-list strong {
    color: #ffffff;
}

body:not(.admin-body) .single-hero__inner,
body:not(.admin-body) .single-main,
body:not(.admin-body) .sidebar-widget,
body:not(.admin-body) .notice-panel,
body:not(.admin-body) .empty-block {
    background: #181818;
}

body:not(.admin-body) .single-hero__inner h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin: 14px 0 12px;
}

body:not(.admin-body) .single-content {
    padding: 28px;
}

body:not(.admin-body) .single-meta-row {
    margin-bottom: 20px;
}

body:not(.admin-body) .rich-content {
    font-size: 1rem;
}

body:not(.admin-body) .rich-content h2,
body:not(.admin-body) .rich-content h3 {
    color: #ffffff;
    font-family: var(--font-display);
}

body:not(.admin-body) .rich-content a {
    color: #ff6176;
}

body:not(.admin-body) .related-section {
    padding-bottom: 20px;
}

body:not(.admin-body) .empty-block h2,
body:not(.admin-body) .empty-block h3 {
    color: #ffffff;
    font-family: var(--font-display);
}

body:not(.admin-body) .notice-panel {
    border-left: 4px solid #d71e39;
}

body:not(.admin-body) .site-footer {
    margin-top: 56px;
    padding: 42px 0 56px;
    border-top: 1px solid #242424;
    background: #0f0f0f;
}

body:not(.admin-body) .footer-links {
    gap: 14px;
    margin-top: 14px;
}

body:not(.admin-body) .footer-links a {
    color: #bdbdbd;
    font-family: var(--font-sans);
}

body:not(.admin-body) .footer-links a:hover {
    color: #ffffff;
}

body:not(.admin-body) .archive-banner {
    padding: 26px;
    margin-bottom: 24px;
}

body:not(.admin-body) .archive-banner h1 {
    margin: 10px 0 12px;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
}

body:not(.admin-body) .archive-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.75fr);
    gap: 28px;
}

@media (max-width: 1100px) {
    body:not(.admin-body) .front-hero__grid,
    body:not(.admin-body) .featured-split,
    body:not(.admin-body) .content-layout,
    body:not(.admin-body) .single-layout,
    body:not(.admin-body) .archive-layout,
    body:not(.admin-body) .footer-grid {
        grid-template-columns: 1fr;
    }

    body:not(.admin-body) .lead-story__media,
    body:not(.admin-body) .single-cover,
    body:not(.admin-body) .editor-pick__media {
        min-height: 340px;
    }
}

@media (max-width: 860px) {
    body:not(.admin-body) .header-panel {
        background: #121212;
        border: 1px solid #242424;
    }

    body:not(.admin-body) .site-nav {
        gap: 0;
    }

    body:not(.admin-body) .post-card {
        grid-template-columns: 1fr;
    }

    body:not(.admin-body) .post-card__thumb {
        min-height: 220px;
    }

    body:not(.admin-body) .stats-strip {
        grid-template-columns: 1fr;
    }

    body:not(.admin-body) .site-topbar__inner,
    body:not(.admin-body) .site-topbar__right {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 560px) {
    body:not(.admin-body) .shell {
        width: min(100% - 20px, 1320px);
    }

    body:not(.admin-body) .lead-story__content,
    body:not(.admin-body) .editor-pick__content,
    body:not(.admin-body) .sidebar-widget,
    body:not(.admin-body) .single-content,
    body:not(.admin-body) .single-hero__inner,
    body:not(.admin-body) .hero-headline,
    body:not(.admin-body) .section-heading,
    body:not(.admin-body) .notice-panel,
    body:not(.admin-body) .empty-block,
    body:not(.admin-body) .archive-banner,
    body:not(.admin-body) .post-card__body {
        padding: 20px;
    }

    body:not(.admin-body) .story-actions,
    body:not(.admin-body) .post-card__actions {
        flex-direction: column;
        align-items: stretch;
    }
}
