/* Axion Network - design system (validé sur le style guide le 2026-07-12) */

@font-face {
    font-family: 'Rajdhani';
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    src: url('/assets/fonts/rajdhani-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Rajdhani';
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url('/assets/fonts/rajdhani-700.woff2') format('woff2');
}
@font-face {
    font-family: 'Plex';
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url('/assets/fonts/plex-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Plex';
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    src: url('/assets/fonts/plex-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Plex';
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    src: url('/assets/fonts/plex-600.woff2') format('woff2');
}

:root {
    --bg: #080b12;
    --surface: #121826;
    --surface-2: #182036;
    --border: #232c42;
    --border-soft: #1a2236;
    --text: #eaeef7;
    --text-muted: #8b93ac;
    --text-faint: #5b637c;

    --navy: #001f52;
    --cyan: #00a1fa;
    --accent: #0090f0;
    --accent-strong: #016dda;

    --danger: #ff5c5c;
    --danger-soft: rgba(255, 92, 92, 0.12);

    --radius-sm: 3px;
    --radius-md: 5px;
    --radius-lg: 6px;
    --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 12px 30px -14px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; }

html { color-scheme: dark; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Plex', ui-sans-serif, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

h1, h2, h3, .display {
    font-family: 'Rajdhani', ui-sans-serif, system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-wrap: balance;
    margin: 0;
}

.page { max-width: 1180px; margin: 0 auto; padding-inline: 32px; }

.eyebrow {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cyan);
}

/* ---- Nav ---- */
body { overflow-x: hidden; } /* filet de sécurité : la nav ne doit jamais faire défiler la page horizontalement */
.nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-soft);
    background: linear-gradient(180deg, rgba(13, 18, 32, 0.9), rgba(13, 18, 32, 0.6));
    position: sticky;
    inset-block-start: 0;
    backdrop-filter: blur(10px);
    z-index: 10;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-word { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 20px; letter-spacing: 0.04em; color: var(--text); }
.brand-word span { color: var(--cyan); }
.hex-mark {
    width: 36px;
    height: 36px;
    background-image: url('/assets/img/logo/axion-logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}
.nav-links { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .15s ease; white-space: nowrap; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--text); }
.nav-right { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.locale-switcher { position: relative; }
.locale-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: 'Plex', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .15s ease;
}
.locale-trigger:hover, .locale-trigger:focus-visible { border-color: var(--accent); }
.locale-trigger .locale-flag { font-size: 15px; line-height: 1; }
.locale-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 40;
    list-style: none;
    margin: 0;
    padding: 6px;
    min-width: 190px;
    max-height: 280px;
    overflow-y: auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);

    scrollbar-width: thin;
    scrollbar-color: var(--accent-strong) var(--surface-2);
}
.locale-switcher.is-open .locale-menu { display: block; }
.locale-menu::-webkit-scrollbar { width: 8px; }
.locale-menu::-webkit-scrollbar-track { background: var(--surface-2); border-radius: var(--radius-sm); }
.locale-menu::-webkit-scrollbar-thumb { background: var(--accent-strong); border-radius: var(--radius-sm); }
.locale-menu::-webkit-scrollbar-thumb:hover { background: var(--accent); }
.locale-menu li + li { margin-top: 2px; }
.locale-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 8px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13.5px;
    white-space: nowrap;
}
.locale-menu a:hover, .locale-menu a:focus-visible { background: var(--surface-2); color: var(--text); }
.locale-menu a.is-active { color: var(--accent); font-weight: 600; }
.locale-menu .locale-flag { font-size: 15px; line-height: 1; }
.locale-menu .locale-code { font-weight: 700; width: 26px; flex-shrink: 0; }
.locale-menu .locale-name { color: var(--text-muted); font-size: 12.5px; }

@media (max-width: 760px) {
    .nav-links { display: none; }
}

/* ---- Buttons & forms ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Plex', sans-serif;
    font-weight: 600;
    font-size: 14.5px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
    width: 100%;
}
.btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.btn-primary {
    background: linear-gradient(135deg, var(--accent-strong), var(--cyan));
    color: #06111f;
    box-shadow: 0 8px 20px -8px rgba(0, 144, 240, 0.55);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px -8px rgba(0, 144, 240, 0.7); }
.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--cyan); }
.btn-danger { color: var(--danger); }
.btn-danger:hover { border-color: var(--danger); color: var(--danger); }

.danger-zone { border-color: rgba(255, 92, 92, 0.35); margin-top: 20px; }
.danger-zone h2 { color: var(--danger); }

.auth-shell {
    min-height: calc(100vh - 78px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
}
.auth-card {
    width: 100%;
    max-width: 380px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-card);
}
.auth-card h1 { font-size: 24px; margin-bottom: 8px; }
.auth-card .subtitle { color: var(--text-muted); font-size: 14px; margin: 0 0 24px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.field input {
    width: 100%;
    padding: 10px 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: 'Plex', sans-serif;
    font-size: 14.5px;
}
.field input:focus-visible { outline: 2px solid var(--cyan); outline-offset: 1px; border-color: var(--accent); }

.alert {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    margin-bottom: 18px;
}
.alert-error { background: var(--danger-soft); color: var(--danger); border: 1px solid rgba(255, 92, 92, 0.35); }
.alert-info { background: rgba(0, 144, 240, 0.12); color: var(--cyan); border: 1px solid rgba(0, 144, 240, 0.35); }

.auth-links { display: flex; justify-content: space-between; margin-top: 18px; font-size: 13px; }
.auth-links a { color: var(--text-muted); text-decoration: none; }
.auth-links a:hover { color: var(--cyan); }

.code-display {
    text-align: center;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 32px;
    letter-spacing: 0.12em;
    padding: 18px;
    background: var(--bg);
    border: 1px dashed var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
    color: var(--cyan);
}

/* ---- Staff: people search & role management ---- */
.people-search { display: flex; gap: 10px; margin: 20px 0 28px; max-width: 420px; }
.people-search input {
    flex: 1;
    padding: 10px 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: 'Plex', sans-serif;
    font-size: 14.5px;
}
.role-manage-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin: 14px 0; }

.translation-grid { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; max-height: 60vh; overflow-y: auto; padding-right: 6px; }
.translation-row { display: flex; flex-direction: column; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid var(--border-soft); }
.translation-row label { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.translation-row input, .translation-row textarea {
    padding: 8px 10px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: 'Plex', sans-serif;
    font-size: 13.5px;
}
.translation-status-badge { font-size: 10.5px; padding: 2px 8px; }
.role-manage-perm { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text-muted); }
.role-manage-perm input { margin-top: 3px; accent-color: var(--accent); }

/* ---- Profile ---- */
.profile-header {
    display: flex;
    gap: 20px;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    box-shadow: var(--shadow-card);
    margin-bottom: 24px;
}
.profile-header img.skin-head {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-sm);
    image-rendering: pixelated;
    flex-shrink: 0;
}
.profile-header h1 { font-size: 22px; }
.profile-meta { list-style: none; padding: 0; margin: 8px 0 12px; color: var(--text-muted); font-size: 13.5px; display: flex; flex-direction: column; gap: 4px; }
.profile-meta .v { color: var(--text); font-weight: 500; }
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: 0.03em;
    background: rgba(0, 144, 240, 0.14);
    color: var(--cyan);
    border: 1px solid rgba(0, 144, 240, 0.35);
}

.section-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    box-shadow: var(--shadow-card);
    margin-bottom: 20px;
    max-width: 420px;
}
.section-card h2 { font-size: 17px; margin-bottom: 16px; }
.section-card .status { font-size: 13.5px; color: var(--text-muted); margin-bottom: 14px; }
.section-card code {
    display: block;
    word-break: break-all;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    font-size: 12.5px;
    color: var(--cyan);
    margin: 6px 0 14px;
}

/* ---- Forum ---- */
.forum-category-list, .forum-thread-list, .forum-post-list { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.forum-category-row, .forum-thread-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text);
    transition: border-color .15s ease;
}
.forum-category-row:hover, .forum-thread-row:hover { border-color: var(--accent); }
.forum-category-name, .forum-thread-title { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.forum-category-desc { color: var(--text-muted); font-size: 13px; margin-top: 4px; }
.forum-thread-list-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.forum-thread-meta { display: flex; gap: 14px; color: var(--text-faint); font-size: 12.5px; flex-shrink: 0; }

.forum-post {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px 20px;
}
.forum-post-head { display: flex; gap: 10px; align-items: baseline; font-size: 13px; margin-bottom: 10px; }
.forum-post-author { font-weight: 600; }
.forum-post-date, .forum-post-edited { color: var(--text-faint); }
.forum-post-body { font-size: 14.5px; line-height: 1.6; }
.forum-post-actions { display: flex; gap: 8px; margin-top: 12px; }

/* ---- Utilitaires ----
   Remplacent tout style="" en ligne : la CSP (style-src 'self', pas de
   unsafe-inline) bloquerait sinon silencieusement les styles inline une fois
   déployée. Toujours passer par une classe, jamais par un attribut style. */
.content-pad { padding-block: 48px; }
.btn-auto { width: auto; }
.inline-form { display: inline; }
.hidden { display: none; }
.form-textarea {
    width: 100%;
    padding: 10px 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: 'Plex', sans-serif;
    font-size: 14.5px;
}
.section-narrow { max-width: 560px; }
.section-wide { max-width: 100%; margin-top: 24px; }
.btn-post-action { width: auto; padding: 6px 12px; font-size: 12.5px; }
.btn-post-action-danger { color: var(--danger); }
.text-muted { color: var(--text-muted); }
.hex-mark-lg { width: 88px; height: 88px; margin-bottom: 24px; }
.text-center { text-align: center; }
.icon-centered { margin: 0 auto 16px; }

/* ---- Boutique ---- */
.shop-category-block { margin-bottom: 40px; }
.rank-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; margin-top: 20px; }
.rank-card {
    --rc: #0090f0;
    position: relative;
    border-radius: var(--radius-lg);
    padding: 20px 18px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform .15s ease, border-color .15s ease;
    text-decoration: none;
    color: var(--text);
    display: block;
}
.rank-card:hover { transform: translateY(-3px); border-color: var(--rc); }
.rank-card .rank-sale-badge {
    position: absolute; top: 10px; right: 10px;
    background: var(--danger); color: #fff;
    font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 11px;
    padding: 2px 8px; border-radius: var(--radius-sm); letter-spacing: 0.04em;
}
.rank-card img.rank-icon { width: 96px; height: 96px; object-fit: contain; display: block; margin: 4px auto 12px; }
.rank-card .rank-name { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 17px; text-align: center; color: var(--rc); }
.rank-card .rank-price { text-align: center; font-size: 20px; font-weight: 700; font-family: 'Rajdhani', sans-serif; margin: 6px 0 4px; }
.rank-card .rank-price .original { color: var(--text-faint); text-decoration: line-through; font-size: 14px; font-weight: 500; margin-inline-end: 6px; }
.rank-card .rank-price-unit { color: var(--text-faint); font-size: 12px; font-weight: 500; }

.info-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 18px; height: 18px; border-radius: 50%;
    border: 1px solid var(--border); color: var(--text-faint);
    font-size: 11px; font-weight: 700; text-decoration: none;
    margin-inline-start: 6px;
}
.info-icon:hover { border-color: var(--accent); color: var(--cyan); }

.tier-options { display: flex; flex-direction: column; gap: 8px; margin: 18px 0; }
.tier-option {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
    cursor: pointer; background: var(--bg);
}
.tier-option input { accent-color: var(--accent); }
.tier-option .tier-label { display: flex; align-items: center; gap: 10px; }
.tier-option .tier-price .original { color: var(--text-faint); text-decoration: line-through; font-size: 12.5px; margin-inline-end: 6px; }

.cart-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.cart-table th { text-align: start; color: var(--text-faint); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.cart-table td { padding: 14px 8px; border-bottom: 1px solid var(--border-soft); vertical-align: middle; }
.cart-table img { width: 44px; height: 44px; object-fit: contain; }
.cart-item-name { font-family: 'Rajdhani', sans-serif; font-weight: 700; }
.cart-item-tier { color: var(--text-faint); font-size: 12.5px; }
.cart-qty-input { width: 60px; padding: 6px 8px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); font-family: 'Plex', sans-serif; }
.cart-total-row { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; font-family: 'Rajdhani', sans-serif; font-size: 20px; font-weight: 700; }

/* ---- Homepage hero ---- */
.hero { position: relative; text-align: center; padding-bottom: 64px; border-bottom: 1px solid var(--border-soft); }
.banner {
    position: relative;
    height: 320px;
    margin: 0 -32px 40px;
    overflow: hidden;
    background:
        radial-gradient(640px 520px at 50% 18%, rgba(8,206,196,0.55), transparent 66%),
        linear-gradient(160deg, #036478 0%, #013a49 55%, #041624 100%);
}
.banner .bubbles { position: absolute; inset: 0; overflow: hidden; }
.banner .bubble {
    position: absolute;
    bottom: -60px;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 30%, rgba(255,255,255,0.55), rgba(93,255,214,0.16) 60%, transparent 78%);
    animation: rise linear infinite;
}
@keyframes rise {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    12% { opacity: .85; }
    88% { opacity: .5; }
    100% { transform: translateY(-380px) scale(1.2); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .banner .bubble { animation: none; opacity: .35; }
}
.banner .hex-mark {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 132px;
    height: 132px;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 6px 20px rgba(0,0,0,0.45));
    z-index: 1;
}
.hero h1 { font-size: clamp(32px, 5.4vw, 56px); line-height: 1.05; }
.hero h1 .grad {
    background: linear-gradient(120deg, var(--cyan), var(--accent-strong));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { max-width: 46ch; margin: 18px auto 0; color: var(--text-muted); font-size: 16px; }
.hero-actions { display: flex; justify-content: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.server-strip { display: flex; justify-content: center; gap: 20px; margin-top: 40px; flex-wrap: wrap; }
.server-stat {
    display: flex; flex-direction: column; gap: 4px;
    padding: 14px 20px; border: 1px solid var(--border); border-radius: var(--radius-md);
    background: var(--surface); min-width: 140px;
}
.server-stat .label { font-size: 11.5px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.07em; }
.server-stat .value { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; margin-inline-end: 6px; }
.status-dot-online { background: #3ecf6e; box-shadow: 0 0 6px #3ecf6e; }
.status-dot-offline { background: var(--text-faint); }

@media (max-width: 760px) {
    .banner { margin: 0 -18px 32px; height: 220px; }
    .banner .hex-mark { width: 92px; height: 92px; }
}

/* ---- Status page ---- */
.status-strip { justify-content: flex-start; margin-top: 24px; }
.languages-title { margin-top: 40px; font-size: 18px; }
.language-chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.language-chip {
    padding: 6px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 13px;
    color: var(--text-muted);
}

/* ---- Team page ---- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-top: 20px; }
.team-card {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    padding: 20px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    text-align: center;
}
.team-card img { width: 64px; height: 64px; border-radius: var(--radius-sm); image-rendering: pixelated; }
.team-card .name { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 16px; }
.team-role-group { margin-bottom: 32px; }
.team-role-title { font-size: 16px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }

/* ---- Rules ---- */
.rules-group-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 24px; }
.rules-group-tab {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
}
.rules-group-tab-active { color: var(--cyan); border-color: var(--accent); }
.rules-critical-badge { margin-inline-start: 10px; background: var(--danger); color: #fff; border-color: transparent; }
.rules-critical-check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); margin: 8px 0; }
.rules-list { display: flex; flex-direction: column; gap: 28px; margin-top: 28px; }
.rules-section-title { font-size: 19px; margin-bottom: 12px; }
.rules-items { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.rules-item {
    padding: 12px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-inline-start: 3px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14.5px;
    line-height: 1.6;
}
.rules-item-critical { border-inline-start-color: var(--danger); background: var(--danger-soft); }
.rules-footer { margin-top: 32px; font-size: 13px; }

/* ---- 404 ---- */
.error-shell {
    min-height: calc(100vh - 78px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 20px;
}
.error-shell .code {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: clamp(64px, 14vw, 140px);
    line-height: 1;
    background: linear-gradient(120deg, var(--cyan), var(--accent-strong));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.error-shell p { color: var(--text-muted); max-width: 40ch; margin: 8px 0 28px; }
