:root {
    color-scheme: dark;
    --bg: #090b0d;
    --panel: #11161a;
    --line: #2c343b;
    --text: #f4f7f8;
    --muted: #a9b1b7;
    --accent: #d9ef4b;
    --danger: #d95c48;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    background: radial-gradient(circle at 25% 10%, #1b2328 0, #090b0d 45%, #050607 100%);
    color: var(--text);
    font: 15px/1.45 Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
}

.topbar {
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    justify-content: space-between;
    min-height: 42px;
    padding: 0 26px;
}

.brand {
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1;
    text-decoration: none;
}

.topbar nav {
    align-items: center;
    display: flex;
    gap: 18px;
    line-height: 1;
}

.steam-id,
.muted {
    color: var(--muted);
}
.steam-id { align-items:center; display:inline-flex; gap:8px; text-decoration:none; }
.steam-avatar { border-radius:50%; height:26px; width:26px; }
.steam-login { align-items:center; padding:0; }
.steam-login img { display:block; max-width:100%; }

.landing {
    display: grid;
    min-height: calc(100vh - 42px);
    place-items: center;
    padding: 32px 18px;
}
.landing-home { display:block; padding:64px 18px; }
.landing-intro { margin:0 auto 38px; max-width:1100px; text-align:center; }
.landing-intro h1 { font-size:clamp(42px,7vw,86px); letter-spacing:-.05em; margin:8px 0; text-transform:uppercase; }
.landing-intro > p:last-child { color:var(--muted); font-size:18px; margin:auto; max-width:520px; }
.disabled { color:var(--muted); cursor:not-allowed; }

.server-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
    justify-content: center;
    width: min(1100px, 100%);
}

.server-card {
    aspect-ratio: 9 / 15;
    background-position: center;
    background-size: cover;
    border: 4px solid #050505;
    box-shadow: 0 22px 70px rgba(0, 0, 0, .55);
    min-height: 520px;
    overflow: hidden;
    position: relative;
}

.server-shade {
    background: linear-gradient(180deg, rgba(0, 0, 0, .20), rgba(0, 0, 0, .50) 38%, rgba(0, 0, 0, .92));
    inset: 0;
    position: absolute;
}

.server-status {
    background: rgba(0, 0, 0, .76);
    border: 1px solid rgba(255, 255, 255, .20);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    padding: 7px 10px;
    position: absolute;
    right: 16px;
    top: 16px;
}

.server-status.online {
    color: var(--accent);
}

.server-content {
    align-items: center;
    bottom: 36px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    left: 20px;
    position: absolute;
    right: 20px;
    text-align: center;
    text-shadow: 0 3px 14px rgba(0, 0, 0, .85);
}

.server-content h1 {
    font-size: clamp(30px, 8vw, 52px);
    line-height: .96;
    margin: 0;
    max-width: 300px;
    text-transform: uppercase;
}

.server-content p {
    color: #d6dcdf;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.server-actions,
.create-row,
.section-head,
.inline-form {
    align-items: center;
    display: flex;
    gap: 10px;
}

.server-actions {
    flex-direction: column;
    width: min(230px, 100%);
}

.button,
.steam-login,
.mini {
    background: #050607;
    border: 1px solid rgba(255, 255, 255, .28);
    color: var(--text);
    cursor: pointer;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    padding: 12px 16px;
    text-decoration: none;
    text-transform: uppercase;
}

.button,
.steam-login {
    min-height: 44px;
    width: 100%;
}

.primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #10130d;
}

.panel {
    background: rgba(17, 22, 26, .95);
    border: 1px solid var(--line);
    margin: 40px auto;
    padding: 24px;
    width: min(100% - 28px, 680px);
}

.stats-panel {
    width: min(100% - 28px, 960px);
}

.stats-panel h1,
.stats-panel h2 {
    margin: 0;
}

.stats-panel h2 {
    margin-top: 28px;
}

.eyebrow {
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    margin: 0 0 4px;
    text-transform: uppercase;
}

.stats-summary {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 22px;
}

.stat-card {
    background: #0b0f12;
    border: 1px solid var(--line);
    display: grid;
    gap: 5px;
    padding: 16px;
}

.stat-card span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.stat-card strong {
    font-size: 21px;
}

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

.stats-panel table {
    border-collapse: collapse;
    margin-top: 12px;
    min-width: 620px;
    width: 100%;
}

.stats-panel th,
.stats-panel td {
    border-bottom: 1px solid var(--line);
    padding: 11px 10px;
    text-align: left;
}

.stats-panel th {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.player-link {
    color: var(--accent);
    font-weight: 700;
}

.profile-panel {
    width: min(100% - 28px, 820px);
}

.profile-panel h1 {
    margin: 0;
}

.profile-panel h2 {
    margin-top: 28px;
}

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

.profile-stat {
    background: #0b0f12;
    border: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    padding: 12px;
}

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

.back-button {
    width: auto;
}

.leaderboard-controls,
.leaderboard-tabs {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.leaderboard-controls { justify-content: space-between; margin-top: 28px; }
.leaderboard-tabs .mini.active { background: var(--accent); color: #10130d; }
.player-search { background: #0b0f12; border: 1px solid var(--line); color: var(--text); padding: 10px; }
.achievement-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.achievement { background: #0b0f12; border: 1px solid var(--line); display: grid; gap: 4px; padding: 13px; }
.achievement span { color: var(--muted); font-size: 13px; }
.achievement.earned { border-color: var(--accent); }

/* PENALTE DAYZ community hub */
:root { --blue: #2362eb; --blue-dark: #112e78; --surface: #182131; --surface-2: #202b3c; --gold: #ffc529; }
html, body { background: radial-gradient(circle at 50% -20%, #14214c 0, #060d28 38%, #020622 100%); font-family: Inter, Arial, Helvetica, sans-serif; }
body { --bs-body-bg: #060d28; --bs-body-color: #f4f7f8; --bs-border-color: #35425d; --bs-link-color: #79a2ff; --bs-link-hover-color: #a9c2ff; --bs-primary-rgb: 35, 98, 235; }
.btn-primary { --bs-btn-bg: #2362eb; --bs-btn-border-color: #2362eb; --bs-btn-hover-bg: #3975f4; --bs-btn-hover-border-color: #3975f4; --bs-btn-active-bg: #194dbd; --bs-btn-active-border-color: #194dbd; }
.btn-outline-primary { --bs-btn-color: #79a2ff; --bs-btn-border-color: #4f78d8; --bs-btn-hover-bg: #2362eb; --bs-btn-hover-border-color: #2362eb; }
body { min-height: 100vh; }
.topbar { backdrop-filter: blur(16px); background: rgba(8, 14, 39, .88); border-color: rgba(165, 187, 236, .14); min-height: 62px; padding: 0 clamp(18px, 4vw, 52px); position: sticky; top: 0; z-index: 10; }
.brand { font-size: 20px; font-style: italic; letter-spacing: -.04em; text-transform: uppercase; } .brand span { color: #fff; }
.main-nav { gap: clamp(12px, 2vw, 28px); } .main-nav > a { color: #d4dbeb; font-weight: 700; text-decoration: none; } .main-nav > a:hover { color: #fff; }
.sign-in-link { background: #2454c8; border-radius: 7px; color: #fff; font-weight: 800; padding: 11px 14px; text-decoration: none; }
.account-toggle { align-items: center; display: inline-flex; gap: 8px; white-space: nowrap; }
.dropdown-menu { --bs-dropdown-bg: #151c33; --bs-dropdown-border-color: #3b4765; --bs-dropdown-link-color: #e6ebfb; --bs-dropdown-link-hover-bg: #273352; --bs-dropdown-link-hover-color: #fff; }
.account-menu { position: relative; } .account-menu summary { cursor: pointer; list-style: none; } .account-menu summary::-webkit-details-marker { display: none; } .account-menu summary b { color: #8ea8e9; font-size: 16px; }
.account-popover { background: #151c33; border: 1px solid #3b4765; border-radius: 8px; box-shadow: 0 18px 50px rgba(0,0,0,.45); display: grid; min-width: 210px; overflow: hidden; position: absolute; right: 0; top: calc(100% + 12px); z-index: 20; }
.account-popover a { color: #e6ebfb; font-weight: 700; padding: 13px 16px; text-decoration: none; } .account-popover a:hover { background: #273352; } .account-popover .logout-link { border-top: 1px solid #37415b; color: #ff8080; }
.site-footer { border-top: 1px solid rgba(155, 181, 244, .15); color: #8894b2; font-size: 13px; padding: 22px; text-align: center; } .site-footer span { color: var(--blue); padding: 0 7px; }
.landing-home { margin: auto; max-width: 1240px; padding: clamp(48px, 7vw, 88px) 22px 72px; }
.landing-intro { margin-bottom: 38px; max-width: 800px; text-align: center; } .landing-intro h1 { font-size: clamp(52px, 8vw, 96px); line-height: .88; margin: 12px 0 20px; } .landing-intro h1 em { color: #4c83ff; font-style: normal; }
.landing-intro > p:last-child { font-size: 18px; max-width: 600px; } .hero-actions { display: flex; gap: 12px; justify-content: center; margin-top: 26px; } .hero-actions .button { max-width: 200px; } .ghost { background: rgba(16, 26, 53, .7); border-color: #52678f; }
.community-strip { background: linear-gradient(100deg, #1e55ce, #26318c); border: 1px solid rgba(159, 193, 255, .45); border-radius: 10px; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 auto 70px; max-width: 1000px; overflow: hidden; }
.community-strip.row { display: flex; }
.community-strip div { display: grid; gap: 2px; padding: 17px 10px; text-align: center; } .community-strip strong { font-size: 18px; } .community-strip span { color: #cbdcff; font-size: 12px; text-transform: uppercase; }
.section-kicker { margin: 0 auto 28px; max-width: 740px; text-align: center; } .section-kicker h2 { font-size: clamp(30px, 4vw, 46px); margin: 4px 0 10px; } .section-kicker > p:last-child { color: var(--muted); margin: 0; }
.server-grid { gap: 22px; grid-template-columns: repeat(2, minmax(280px, 1fr)); max-width: 1000px; width: 100%; }
.server-grid.row { display: flex; gap: 0; margin-left: auto; margin-right: auto; }
.server-grid .server-card { height: 100%; width: 100%; }
.server-card { aspect-ratio: 1.48 / 1; background-color: #152039; border: 1px solid rgba(143, 169, 224, .35); border-radius: 12px; min-height: 380px; transition: transform .2s ease, border-color .2s ease; } .server-card:hover { border-color: #6f9cff; transform: translateY(-5px); }
.server-card.survival { filter: saturate(.78); } .server-shade { background: linear-gradient(180deg, rgba(5,12,35,.04), rgba(6,13,30,.3) 40%, rgba(7,11,28,.96)); }
.server-topline { align-items: center; color: #d6e1ff; display: flex; font-size: 11px; font-weight: 900; justify-content: space-between; letter-spacing: .12em; left: 18px; position: absolute; right: 18px; top: 16px; } .server-status { align-items: center; background: rgba(5, 12, 28, .72); border: 1px solid rgba(180, 205, 255, .3); display: flex; gap: 6px; padding: 6px 9px; position: static; } .server-status i { background: #ff5f6c; border-radius: 50%; height: 7px; width: 7px; } .server-status.online { color: #58e791; } .server-status.online i { background: #4ce384; box-shadow: 0 0 10px #4ce384; }
.server-content { align-items: flex-start; bottom: 20px; text-align: left; } .server-content h1 { font-size: clamp(31px, 4vw, 46px); max-width: 100%; } .server-content p { font-size: 12px; letter-spacing: .08em; text-align: left; } .server-meta { color: #cbd8f3; display: flex; font-size: 13px; gap: 20px; } .server-meta b { color: #fff; margin-left: 4px; }.server-actions { flex-direction: row; flex-wrap: wrap; width: 100%; }.server-actions .button, .server-actions .btn { flex: 1 1 135px; min-height: 38px; padding: 9px 11px; }
.experience-section { margin: 90px auto 0; max-width: 1000px; }.feature-grid { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); }.feature-grid.row { display: flex; gap: 0; }.feature-grid article { background: rgba(27, 39, 61, .82); border: 1px solid rgba(147, 173, 226, .28); border-radius: 10px; padding: 22px 18px; }.feature-grid article > span { color: #6f9dff; font-size: 25px; }.feature-grid h3 { margin: 14px 0 8px; text-transform: uppercase; }.feature-grid p { color: #bac5da; font-size: 13px; margin: 0; }
.panel { background: rgba(19, 29, 46, .94); border-color: rgba(144, 166, 209, .3); border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.22); }.stats-actions { align-items: center; display: flex; gap: 10px; }.server-picker { align-items: center; display: flex; gap: 8px; margin: 0; text-transform: none; }.server-picker select { background: #273247; min-height: 36px; padding: 7px 30px 7px 9px; width: auto; }.stats-head { align-items: center; }.account-panel { max-width: 760px; }.account-hero { align-items: center; border-bottom: 1px solid var(--line); display: flex; gap: 18px; padding-bottom: 22px; }.account-hero h1 { margin: 0; }.account-avatar { border: 2px solid #4d78de; border-radius: 10px; height: 76px; width: 76px; }.account-links { display: grid; gap: 10px; margin-top: 20px; }.account-links a { align-items: center; background: #111b2d; border: 1px solid #303e59; display: grid; gap: 13px; grid-template-columns: 28px 1fr auto; padding: 15px; text-decoration: none; }.account-links a:hover { border-color: #5885f3; }.account-links a > span { color: #6f9dff; font-size: 21px; }.account-links small { color: var(--muted); display: block; margin-top: 3px; }

@media (max-width: 760px) { .topbar { min-height: 58px; }.main-nav > a:not(.sign-in-link) { display: none; }.community-strip { grid-template-columns: repeat(2, 1fr); }.server-grid { grid-template-columns: 1fr; }.feature-grid { grid-template-columns: repeat(2, 1fr); }.stats-head { align-items: stretch; }.stats-actions { justify-content: space-between; }.server-picker select { max-width: 190px; }.server-content { left: 18px; right: 18px; } }
@media (max-width: 440px) { .brand { font-size: 17px; }.main-nav { gap: 9px; }.steam-id span { max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.sign-in-link { font-size: 12px; padding: 10px; }.feature-grid { grid-template-columns: 1fr; }.hero-actions { flex-direction: column; align-items: center; }.stats-actions { align-items: stretch; flex-direction: column; }.server-picker { justify-content: space-between; } }

@media (max-width: 540px) {
    .stats-summary { grid-template-columns: 1fr; }
    .profile-grid { grid-template-columns: 1fr; }
    .achievement-grid { grid-template-columns: 1fr; }
}

.panel.wide {
    width: min(100% - 28px, 1180px);
}

.panel.narrow {
    width: min(100% - 28px, 480px);
}

.section-head {
    justify-content: space-between;
    margin-bottom: 22px;
}

.section-head .button {
    width: auto;
}

h1,
h2 {
    margin: 0 0 8px;
    text-transform: uppercase;
}

input,
select,
textarea {
    background: #080b0d;
    border: 1px solid var(--line);
    color: var(--text);
    min-height: 42px;
    padding: 10px 12px;
    width: 100%;
}

label {
    display: block;
    font-weight: 800;
    margin: 12px 0 6px;
    text-transform: uppercase;
}

.create-row {
    align-items: stretch;
    margin-bottom: 18px;
}

.create-row .button {
    width: auto;
}

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

table {
    border-collapse: collapse;
    min-width: 100%;
    width: 100%;
}

th,
td {
    border-bottom: 1px solid var(--line);
    padding: 12px 10px;
    text-align: left;
}

th {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
}

.mini {
    min-height: 34px;
    padding: 8px 10px;
    width: auto;
}

.mini.link {
    display: inline-flex;
}

.inline-form input,
.inline-form select {
    min-height: 34px;
    padding: 7px 9px;
    width: auto;
}

.loadout-name-form input {
    min-width: 110px;
}

.copy-name-input {
    min-width: 150px;
}

.danger {
    background: var(--danger);
    border-color: var(--danger);
}

.alert,
.notice {
    border: 1px solid;
    margin: 12px 0 18px;
    padding: 12px 14px;
}

.alert {
    background: rgba(217, 92, 72, .14);
    border-color: rgba(217, 92, 72, .45);
}

.notice {
    background: rgba(217, 239, 75, .12);
    border-color: rgba(217, 239, 75, .38);
}

.empty {
    color: var(--muted);
    text-align: center;
}

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

textarea {
    font-family: Consolas, Monaco, monospace;
    min-height: 520px;
    resize: vertical;
}

.whitelist {
    border-left: 1px solid var(--line);
    padding-left: 18px;
}

.item-list {
    display: grid;
    gap: 8px;
    max-height: 620px;
    overflow: auto;
}

code {
    background: #080b0d;
    border: 1px solid var(--line);
    display: block;
    padding: 8px;
}

.dev-login {
    border-top: 1px solid var(--line);
    margin-top: 24px;
    padding-top: 16px;
}

@media (max-width: 760px) {
    .topbar {
        padding: 0 16px;
    }

    .create-row,
    .section-head {
        align-items: stretch;
        flex-direction: column;
    }

    .copy-loadout-form {
        align-items: stretch;
        flex-direction: column;
    }

    .editor-grid {
        grid-template-columns: 1fr;
    }

    .whitelist {
        border-left: 0;
        border-top: 1px solid var(--line);
        padding-left: 0;
        padding-top: 18px;
    }
}

/* CFTools player profile */
.profile-dashboard {
    margin: 0 auto;
    max-width: 1320px;
    padding: clamp(28px, 4vw, 54px) 32px 70px;
}

.profile-toolbar {
    align-items: end;
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
}

.profile-toolbar p {
    margin-bottom: 0;
}

.profile-server-name {
    color: #8f8f8f;
    font-size: 13px;
}

.profile-toolbar-actions {
    display: flex;
    gap: 8px;
}

.profile-status {
    align-items: center;
    color: #a7a7a7;
    display: flex;
    font-size: 12px;
    gap: 8px;
    margin: 0 0 14px;
    min-height: 22px;
}

.profile-status.loaded {
    color: #70d99b;
}

.profile-status.error {
    background: rgba(174, 54, 54, .12);
    border: 1px solid rgba(220, 77, 77, .45);
    border-radius: 4px;
    color: #ff9797;
    padding: 10px 12px;
}

.profile-live-dot {
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 9px rgba(74, 222, 128, .9);
    display: inline-block;
    height: 7px;
    width: 7px;
}

.profile-kicker {
    color: #55c987;
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.profile-identity-card,
.profile-highlight-card,
.profile-section-card {
    background: #181818;
    border: 1px solid #333;
    border-radius: 5px;
}

.profile-identity-card {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(190px, .75fr) minmax(230px, .85fr);
    min-height: 154px;
    overflow: hidden;
}

.profile-identity-main,
.profile-identity-metrics,
.profile-identity-dates {
    padding: 24px;
}

.profile-identity-main h1 {
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 600;
    letter-spacing: .025em;
    line-height: 1;
    margin: 0 0 12px;
    overflow-wrap: anywhere;
}

.profile-identity-main p {
    color: #aaa;
    line-height: 1.55;
    margin: 0;
    overflow-wrap: anywhere;
}

.profile-identity-metrics,
.profile-identity-dates {
    border-left: 1px solid #333;
    display: grid;
    gap: 15px;
}

.profile-identity-metrics div,
.profile-identity-dates div {
    display: grid;
    gap: 3px;
}

.profile-identity-metrics span,
.profile-identity-dates span {
    color: #8f8f8f;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.profile-identity-metrics strong,
.profile-identity-dates strong {
    color: #fff;
    font-size: 17px;
    font-weight: 600;
}

.profile-highlight-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 14px;
}

.profile-highlight-card {
    align-items: center;
    display: grid;
    gap: 13px;
    grid-template-columns: 38px minmax(0, 1fr);
    min-height: 108px;
    padding: 16px;
}

.profile-highlight-tag {
    align-items: center;
    background: rgba(36, 152, 90, .15);
    border: 1px solid rgba(85, 201, 135, .22);
    border-radius: 50%;
    color: #55c987;
    display: flex;
    font-size: 7px;
    font-weight: 700;
    height: 38px;
    justify-content: center;
    letter-spacing: .03em;
    width: 38px;
}

.profile-highlight-card > div {
    display: grid;
    min-width: 0;
}

.profile-highlight-card div > span {
    color: #999;
    font-size: 10px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.profile-highlight-card strong {
    color: #fff;
    font-size: clamp(17px, 1.6vw, 22px);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-highlight-card small {
    color: #777;
    font-size: 10px;
}

.profile-detail-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    margin-top: 14px;
}

.profile-section-card {
    grid-column: span 4;
    padding: 20px;
}

.profile-section-heading {
    align-items: center;
    border-bottom: 1px solid #303030;
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    min-height: 54px;
    padding-bottom: 12px;
}

.profile-section-heading h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.profile-section-total {
    color: #55c987;
    font-size: 17px;
    font-weight: 600;
    text-align: right;
}

.profile-metric-row {
    align-items: center;
    border-bottom: 1px solid #292929;
    display: flex;
    justify-content: space-between;
    min-height: 45px;
    padding: 8px 1px;
}

.profile-metric-row:last-child {
    border-bottom: 0;
}

.profile-metric-row > span {
    color: #a8a8a8;
    display: grid;
    font-size: 12px;
    gap: 1px;
}

.profile-metric-row small {
    color: #5fcf8e;
    font-size: 9px;
}

.profile-metric-row strong {
    color: #f3f3f3;
    font-size: 13px;
    font-weight: 600;
}

.profile-hit-zone-card {
    grid-column: 1 / -1;
}

.hit-zone-list {
    display: grid;
    gap: 0 34px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hit-zone-row {
    border-bottom: 1px solid #292929;
    padding: 12px 0;
}

.hit-zone-row > div {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 7px;
}

.hit-zone-row span {
    color: #a8a8a8;
    font-size: 12px;
}

.hit-zone-row strong {
    font-size: 12px;
    font-weight: 600;
}

.hit-zone-row strong small {
    color: #777;
    font-size: 10px;
}

.hit-zone-track {
    background: #272727;
    border-radius: 99px;
    display: block;
    height: 5px;
    overflow: hidden;
}

.hit-zone-track i {
    background: linear-gradient(90deg, #24985a, #63d796);
    border-radius: inherit;
    display: block;
    height: 100%;
}

.profile-achievements-card {
    margin-top: 14px;
}

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

.profile-achievement-grid .achievement {
    min-height: 100px;
    padding: 15px;
}

.achievement-mark {
    color: #737373 !important;
    font-size: 9px !important;
    font-weight: 700;
    letter-spacing: .1em;
}

.achievement.earned .achievement-mark {
    color: #55c987 !important;
}

.profile-weapon-modal .modal-content {
    background: #181818;
    border: 1px solid #3a3a3a;
    border-radius: 5px;
}

.profile-weapon-modal .modal-header,
.profile-weapon-modal .modal-footer {
    border-color: #333;
}

.profile-weapon-modal .modal-title {
    font-weight: 600;
    margin: 0;
}

.weapon-search-label {
    color: #aaa;
    font-size: 11px;
    letter-spacing: .06em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.weapon-search {
    max-width: 320px;
}

.weapon-stats-table {
    min-width: 720px;
}

.weapon-stats-table th button {
    background: transparent;
    border: 0;
    color: #aaa;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 0;
    text-align: left;
    text-transform: uppercase;
}

.weapon-stats-table th button.active,
.weapon-stats-table th button:hover {
    color: #55c987;
}

.weapon-stats-table th button span {
    display: inline-block;
    min-width: 10px;
}

.weapon-stats-table td {
    color: #cfcfcf;
    font-size: 13px;
    padding-bottom: 13px;
    padding-top: 13px;
}

.weapon-stats-table td:first-child {
    color: #fff;
    text-transform: capitalize;
}

.weapon-empty {
    padding: 24px 0 10px;
    text-align: center;
}

.weapon-modal-footer {
    align-items: center;
    color: #8f8f8f;
    font-size: 12px;
    justify-content: space-between;
}

.weapon-pagination {
    display: flex;
    gap: 5px;
}

.weapon-pagination button {
    align-items: center;
    background: #222;
    border: 1px solid #383838;
    border-radius: 3px;
    color: #d7d7d7;
    display: inline-flex;
    height: 32px;
    justify-content: center;
    min-width: 32px;
}

.weapon-pagination button:hover:not(:disabled),
.weapon-pagination button.active {
    background: #24985a;
    border-color: #24985a;
    color: #fff;
}

.weapon-pagination button:disabled {
    cursor: not-allowed;
    opacity: .35;
}

@media (max-width: 1100px) {
    .profile-highlight-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .profile-section-card {
        grid-column: span 6;
    }

    .profile-section-card:nth-child(3),
    .profile-hit-zone-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 820px) {
    .profile-dashboard {
        padding-left: 18px;
        padding-right: 18px;
    }

    .profile-identity-card {
        grid-template-columns: 1fr 1fr;
    }

    .profile-identity-main {
        grid-column: 1 / -1;
    }

    .profile-identity-metrics {
        border-left: 0;
        border-top: 1px solid #333;
    }

    .profile-identity-dates {
        border-top: 1px solid #333;
    }

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

@media (max-width: 620px) {
    .profile-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .profile-toolbar-actions .btn {
        flex: 1;
    }

    .profile-highlight-grid,
    .profile-detail-grid,
    .hit-zone-list,
    .profile-achievement-grid {
        grid-template-columns: 1fr;
    }

    .profile-section-card,
    .profile-section-card:nth-child(3),
    .profile-hit-zone-card {
        grid-column: 1;
    }

    .profile-identity-card {
        grid-template-columns: 1fr;
    }

    .profile-identity-main,
    .profile-identity-metrics,
    .profile-identity-dates {
        grid-column: 1;
        padding: 19px;
    }

    .profile-identity-dates {
        border-left: 0;
    }

    .weapon-modal-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Login-required pages follow the compact notice layout used across the site theme. */
.login-required-page {
    margin: 0 auto;
    min-height: calc(100vh - 122px);
    padding: 12px 0 64px;
    width: min(calc(100% - 64px), 1280px);
}

.login-required-page > h1 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: .025em;
    margin: 0 0 14px;
    text-transform: none;
}

.login-required-notice {
    background: #292515;
    border: 1px solid #7a6417;
    border-radius: 4px;
    color: #f5f5f5;
    padding: 17px 16px 16px;
}

.login-required-notice > strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
}

.login-required-notice > p {
    color: #d2cab0;
    font-size: 14px;
    margin: 14px 0 16px;
}

.login-required-steam {
    align-items: center;
    display: inline-flex;
    gap: 8px;
    min-height: 40px;
    padding: 7px 12px;
    width: auto;
}

.login-required-dev {
    border-color: rgba(255, 255, 255, .16);
    max-width: 420px;
}

@media (max-width: 767px) {
    .login-required-page {
        padding-top: 18px;
        width: min(calc(100% - 24px), 1280px);
    }
}

/* JailBreak-inspired PENALTE theme: flat charcoal surfaces and green status accents. */
@font-face { font-family: "Oxanium"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/oxanium/oxanium-400.ttf") format("truetype"); }
@font-face { font-family: "Oxanium"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/oxanium/oxanium-500.ttf") format("truetype"); }
@font-face { font-family: "Oxanium"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/oxanium/oxanium-600.ttf") format("truetype"); }
@font-face { font-family: "Oxanium"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/oxanium/oxanium-700.ttf") format("truetype"); }

:root {
    --bg: #131313;
    --panel: #181818;
    --surface: #181818;
    --surface-2: #1d1d1d;
    --line: #333333;
    --text: #ffffff;
    --muted: #a7a7a7;
    --accent: #24985a;
    --blue: #24985a;
    --blue-dark: #1d7847;
}

html,
body {
    background: #131313;
    color: #fff;
    font-family: "Oxanium", "Segoe UI", sans-serif;
}

body {
    --bs-body-bg: #131313;
    --bs-body-color: #fff;
    --bs-border-color: #333;
    --bs-link-color: #55c987;
    --bs-link-hover-color: #76dda1;
    --bs-primary-rgb: 36, 152, 90;
}

::selection { background: #24985a; color: #fff; }

.topbar {
    backdrop-filter: none;
    background: #181818;
    border-bottom: 1px solid rgba(174,174,174,.12);
    min-height: 58px;
    padding: 0 clamp(16px, 3vw, 38px);
}

.brand,
.navbar-brand.brand {
    color: #fff;
    font-size: clamp(20px, 2.2vw, 28px);
    font-style: normal;
    font-weight: 700;
    letter-spacing: .1em;
}

.brand span { color: #fff; }
.main-nav .nav-link { color: rgba(255,255,255,.7); font-size: 16px; font-weight: 400; letter-spacing: .025em; }
.main-nav .nav-link:hover,
.main-nav .nav-link:focus { color: #fff; }
.online-nav { align-items: center; display: inline-flex; gap: 8px; white-space: nowrap; }
.online-dot { background: #647067; border-radius: 50%; display: inline-block; flex: 0 0 auto; height: 8px; transition: background .2s ease, box-shadow .2s ease; width: 8px; }
.online-dot.active { background: #4ade80; box-shadow: 0 0 5px #4ade80, 0 0 12px rgba(74,222,128,.85); }
.navbar-toggler { background: #222; border-color: #333; border-radius: 4px; }

.btn {
    border-radius: 4px;
    font-family: "Oxanium", "Segoe UI", sans-serif;
    font-weight: 500;
    letter-spacing: .03em;
}

.btn-primary,
.btn-success {
    --bs-btn-bg: #24985a;
    --bs-btn-border-color: #24985a;
    --bs-btn-hover-bg: #218a52;
    --bs-btn-hover-border-color: #218a52;
    --bs-btn-active-bg: #1d7847;
    --bs-btn-active-border-color: #1d7847;
    box-shadow: 0 0 10px rgba(36,152,90,.45);
}

.btn-primary:hover,
.btn-success:hover { box-shadow: 0 0 20px rgba(36,152,90,.62); }
.btn-outline-primary { --bs-btn-color: #55c987; --bs-btn-border-color: #24985a; --bs-btn-hover-bg: #24985a; --bs-btn-hover-border-color: #24985a; }
.btn-outline-light { --bs-btn-color: #d9d9d9; --bs-btn-border-color: #444; --bs-btn-hover-bg: #242424; --bs-btn-hover-border-color: #555; }
.sign-in-link { background: #24985a; border-color: #24985a; border-radius: 4px; padding: 6px 10px; }
.account-toggle { background: #24985a; border-color: #24985a; padding: 5px 9px; }
.dropdown-menu { --bs-dropdown-bg: #181818; --bs-dropdown-border-color: #333; --bs-dropdown-link-color: #d9d9d9; --bs-dropdown-link-hover-bg: #242424; --bs-dropdown-link-hover-color: #fff; border-radius: 4px; }

.landing-home { max-width: 1280px; padding: 34px 12px 64px; }
.landing-intro { margin: 0 auto 28px; max-width: 1256px; text-align: left; }
.landing-intro h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 700; letter-spacing: .08em; line-height: 1; margin: 10px 0 14px; }
.landing-intro h1 em { color: #fff; }
.landing-intro > p:last-child { color: #c7c7c7; font-size: 16px; margin: 0; max-width: 680px; }
.hero-actions { justify-content: flex-start; margin-top: 20px; }
.hero-actions .btn { font-size: 15px; padding: 9px 15px !important; }
.eyebrow { color: #55c987; font-size: 12px; letter-spacing: .16em; }

.network-stats {
    display: grid;
    gap: 9px;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    margin: 0 auto 52px;
    max-width: 1256px;
    width: 100%;
}

.network-stat {
    align-items: center;
    background: #181818;
    border: 1px solid #333;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 116px;
    padding: 13px 8px 12px;
    text-align: center;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.network-stat:hover {
    background: #1d1d1d;
    border-color: #3f654e;
    transform: translateY(-2px);
}

.network-stat-icon {
    align-items: center;
    background: rgba(36, 152, 90, .16);
    border: 1px solid rgba(85, 201, 135, .18);
    border-radius: 50%;
    color: #55c987;
    display: inline-flex;
    font-size: 15px;
    height: 34px;
    justify-content: center;
    line-height: 1;
    margin-bottom: 8px;
    width: 34px;
}

.network-stat strong {
    color: #fff;
    font-size: clamp(16px, 1.5vw, 20px);
    font-weight: 600;
    line-height: 1.15;
}

.network-stat small {
    color: #929292;
    font-size: 10px;
    letter-spacing: .07em;
    margin-top: 4px;
    text-transform: uppercase;
}

.network-stat.stat-kills .network-stat-icon { background: rgba(211, 76, 76, .15); border-color: rgba(232, 104, 104, .18); color: #e86868; }
.network-stat.stat-infected .network-stat-icon { background: rgba(46, 178, 108, .15); color: #4ade80; }
.network-stat.stat-hours .network-stat-icon { background: rgba(69, 119, 201, .15); border-color: rgba(90, 145, 232, .18); color: #63a0ee; }
.network-stat.stat-sessions .network-stat-icon { background: rgba(205, 139, 48, .14); border-color: rgba(222, 158, 69, .18); color: #dda34e; }

@media (max-width: 1100px) {
    .network-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .network-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 420px) {
    .network-stats { grid-template-columns: 1fr; }
}

.section-kicker { margin: 0 auto 20px; max-width: 1256px; text-align: left; }
.section-kicker h2 { font-size: 28px; font-weight: 600; letter-spacing: .04em; margin: 2px 0 6px; }
.section-kicker > p:last-child { color: #9d9d9d; }
.server-grid,
.server-grid.row { max-width: 1256px; }

.server-card {
    aspect-ratio: auto;
    background-color: #181818;
    background-position: center;
    border: 1px solid #333;
    border-radius: 6px;
    min-height: 200px;
    transition: border-color .2s ease, transform .2s ease;
}

.server-card:hover { border-color: #444; transform: translateY(-2px); }
.server-card.survival { filter: none; }
.server-shade { background: rgba(0,0,0,.58); transition: background .3s ease; }
.server-card:hover .server-shade { background: rgba(0,0,0,.48); }
.server-topline { color: #aaa; font-size: 10px; left: 24px; right: 24px; top: 20px; }
.server-topline { justify-content: flex-end; }
.server-status { background: #222; border-color: #333; border-radius: 999px; color: #c7c7c7; }
.server-status.online { color: #55c987; }
.server-content { align-items: flex-start; bottom: 22px; gap: 10px; left: 24px; right: 24px; text-shadow: none; }
.server-content h1 { font-size: clamp(25px, 4vw, 36px); font-weight: 600; letter-spacing: .035em; }
.server-content p { color: #c7c7c7; letter-spacing: .04em; text-transform: none; }
.server-meta { color: #9d9d9d; }
.server-meta b { color: #fff; font-weight: 500; }
.server-actions { max-width: 650px; }
.server-actions .btn { flex: 0 1 auto; font-size: 13px; min-width: 130px; }
.server-capacity { background: rgba(0,0,0,.5); bottom: 0; height: 8px; left: 0; overflow: hidden; position: absolute; right: 0; z-index: 4; }
.server-capacity span { background: #4ade80; box-shadow: 0 0 8px #4ade80; display: block; height: 100%; transition: width .5s ease; }

.experience-section { margin-top: 64px; max-width: 1256px; }
.feature-grid article {
    background: #181818;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 20px;
    transition: background .2s ease, border-color .2s ease;
}
.feature-grid article:hover { background: #1d1d1d; border-color: #24985a; }
.feature-grid article > span { color: #55c987; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.feature-grid h3 { font-size: 18px; font-weight: 600; margin: 12px 0 8px; }
.feature-grid p { color: #a9a9a9; font-size: 13px; line-height: 1.55; }

.panel,
.card.panel {
    background: #181818;
    border: 1px solid #333;
    border-radius: 6px;
    box-shadow: none;
}
.stats-panel { width: min(100% - 24px, 1256px); }
.online-summary { align-items: baseline; background: #151515; border: 1px solid #333; border-radius: 4px; display: flex; gap: 10px; margin: 8px 0 18px; padding: 16px 18px; }
.online-summary strong { color: #55c987; font-size: 30px; font-weight: 600; line-height: 1; }
.online-summary span { color: #a7a7a7; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.stat-card,
.profile-stat,
.achievement { background: #151515; border-color: #333; border-radius: 4px; }
.stat-card strong { font-weight: 600; }
.achievement.earned { border-color: #24985a; box-shadow: inset 3px 0 #24985a; }
.player-link { color: #55c987; }
.form-control,
.form-select,
input,
select,
textarea { background-color: #151515; border-color: #333; border-radius: 4px; color: #fff; }
.form-control:focus,
.form-select:focus,
input:focus,
select:focus,
textarea:focus { background-color: #181818; border-color: #24985a; box-shadow: 0 0 0 .2rem rgba(36,152,90,.16); color: #fff; }
.table { --bs-table-bg: #181818; --bs-table-border-color: #333; --bs-table-hover-bg: #1d1d1d; --bs-table-color: #e8e8e8; }
.table thead th { background: #151515; color: #aaa; font-weight: 500; }
.leaderboard-tabs .btn.active { background: #24985a; border-color: #24985a; color: #fff; }
.account-hero { border-color: #333; }
.account-links a { background: #151515; border-color: #333; border-radius: 4px !important; }
.account-links a:hover { background: #1d1d1d; border-color: #24985a; }
.account-links a > span { color: #55c987; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.site-footer { background: #181818; border-color: rgba(255,255,255,.1); color: #8f8f8f; }
.site-footer span { color: #24985a; }

@media (max-width: 767px) {
    .topbar { padding-bottom: 7px; padding-top: 7px; }
    .main-nav { padding-top: 10px; }
    .main-nav .navbar-nav { align-items: stretch !important; }
    .main-nav .nav-link { padding: 10px 4px; }
    .account-toggle,
    .sign-in-link { justify-content: center; width: 100%; }
    .community-strip div:nth-child(2) { border-right: 1px solid #333; border-radius: 0 4px 4px 0; }
    .community-strip div:nth-child(3) { border-radius: 4px 0 0 4px; }
    .community-strip div { border-top: 0; }
    .community-strip div:nth-child(-n+2) { border-top: 1px solid #333; }
    .server-card { min-height: 360px; }
    .server-shade { background: linear-gradient(180deg, rgba(24,24,24,.35), rgba(24,24,24,.98) 68%); }
    .server-actions { max-width: none; }
    .server-actions .btn { flex: 1 1 140px; }
}

.inventory-workbench {
    background-position: center;
    background-size: cover;
    min-height: calc(100vh - 42px);
    padding: 14px 18px 18px;
    position: relative;
}

.inventory-workbench::before {
    background: rgba(19, 30, 21, .42);
    backdrop-filter: blur(5px);
    content: "";
    inset: 0;
    position: absolute;
}

.inventory-workbench > * {
    position: relative;
    z-index: 1;
}

.inventory-toolbar {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin: 0 auto 12px;
    width: min(1840px, calc(100% - 48px));
}

.inventory-toolbar h1,
.inventory-toolbar p {
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .7);
}

.inventory-toolbar-actions .button {
    width: auto;
}

.inventory-toolbar-actions {
    align-items: center;
    display: flex;
    gap: 10px;
}

.toolbar-loadout-name {
    color: #fff;
    font-weight: 900;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .7);
    text-transform: uppercase;
    white-space: nowrap;
}

.autosave-status {
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    min-width: 76px;
    text-align: right;
    text-transform: uppercase;
}

.autosave-status.saving {
    color: #d9ef4b;
}

.autosave-status.error {
    color: #d95c48;
}

.button:disabled {
    cursor: wait;
    opacity: .62;
}

.inventory-editor-form {
    align-items: stretch;
    display: grid;
    gap: 60px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    height: calc(100vh - 150px);
    margin: 0 auto;
    min-height: 640px;
    width: min(1840px, calc(100% - 48px));
}

#equipmentJsonField {
    display: none;
}

.available-panel,
.equipment-panel {
    background: rgba(37, 44, 49, .72);
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35);
}

.available-panel,
.equipment-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
}

.available-panel {
    position: relative;
}

.inventory-panel-header {
    align-items: center;
    background: rgba(99, 101, 104, .82);
    display: flex;
    justify-content: space-between;
    min-height: 50px;
    padding: 0 22px;
}

.inventory-panel-header.centered {
    justify-content: center;
}

.inventory-panel-header h2 {
    color: #020202;
    font: 800 28px/1 Georgia, "Times New Roman", serif;
    letter-spacing: .02em;
    margin: 0;
}

.help-popover {
    position: relative;
    z-index: 20;
}

.help-button {
    align-items: center;
    background: rgba(91, 96, 99, .92);
    border: 0;
    color: white;
    cursor: help;
    display: flex;
    font-size: 28px;
    font-weight: 800;
    height: 36px;
    justify-content: center;
    line-height: 1;
    width: 36px;
}

.help-button:hover,
.help-button:focus-visible,
.help-popover:hover .help-button,
.help-popover:focus-within .help-button {
    background: rgba(121, 126, 130, .96);
    outline: 0;
}

.help-panel {
    background: rgba(0, 0, 0, .88);
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.25;
    max-width: min(560px, calc(100vw - 48px));
    opacity: 0;
    padding: 20px 44px 34px;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    transform: translateY(-4px);
    transition: opacity .12s ease, transform .12s ease, visibility .12s ease;
    visibility: hidden;
    width: 520px;
    z-index: 40;
}

.help-popover:hover .help-panel,
.help-popover:focus-within .help-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
}

.help-panel h3 {
    color: #fff;
    font: 800 18px/1.2 Arial, Helvetica, sans-serif;
    margin: 0 0 18px;
    text-align: center;
}

.help-panel h3:not(:first-child) {
    margin-top: 26px;
}

.help-panel p {
    color: #fff;
    margin: 6px 0;
}

.help-panel strong {
    color: #fff;
    font-weight: 800;
}

.filterbar {
    align-items: end;
    background: rgba(57, 69, 78, .86);
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr 1fr .44fr .8fr;
    padding: 14px 22px;
}

.filter label {
    color: #f4f4f4;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    font-weight: 400;
    margin: 0 0 5px;
    text-transform: none;
}

.filter input,
.filter select {
    background: rgba(180, 184, 189, .62);
    border: 0;
    color: #101010;
    min-height: 18px;
    padding: 2px 6px;
}

.filter-checkbox {
    align-items: center;
    display: flex;
    gap: 8px;
}

.filter-checkbox input {
    min-height: auto;
    width: auto;
}

.available-item-grid {
    align-content: start;
    display: grid;
    flex: 1 1 auto;
    gap: 10px;
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
    min-height: 0;
    overflow: auto;
    padding: 10px 24px;
}

.available-item-grid,
.equipped-items {
    scrollbar-color: rgba(220, 224, 226, .72) rgba(0, 0, 0, .22);
    scrollbar-width: thin;
}

.available-item-grid::-webkit-scrollbar,
.equipped-items::-webkit-scrollbar {
    width: 12px;
}

.available-item-grid::-webkit-scrollbar-track,
.equipped-items::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, .22);
}

.available-item-grid::-webkit-scrollbar-thumb,
.equipped-items::-webkit-scrollbar-thumb {
    background: rgba(220, 224, 226, .72);
    border: 3px solid rgba(0, 0, 0, .22);
}

.buyable-item {
    --category-color: #9aa2a6;
    align-items: center;
    background: rgba(132, 135, 136, .92);
    border: 1px solid rgba(255, 255, 255, .95);
    border-bottom: 4px solid var(--category-color);
    color: #f8f8f8;
    cursor: grab;
    display: flex;
    flex-direction: column;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    gap: 5px;
    justify-content: center;
    line-height: 1.08;
    min-height: 104px;
    padding: 6px 4px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .4);
}

.buyable-item span {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    max-width: 100%;
    min-height: 28px;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.buyable-item-icon {
    background: rgba(8, 11, 13, .38);
    border: 1px solid rgba(255, 255, 255, .12);
    height: 64px;
    object-fit: contain;
    padding: 4px;
    width: 64px;
}

.buyable-item:hover {
    background: rgba(158, 162, 164, .96);
}

.buyable-item.unavailable {
    cursor: not-allowed;
    filter: grayscale(1);
    opacity: .42;
}

.buyable-item.weapons { --category-color: #d95c48; }
.buyable-item.weapon-attachments { --category-color: #d39d42; }
.buyable-item.magazines { --category-color: #e77a43; }
.buyable-item.ammunition { --category-color: #d9c54a; }
.buyable-item.explosives { --category-color: #bd5265; }
.buyable-item.clothes { --category-color: #5c98c5; }
.buyable-item.containers { --category-color: #3aa67e; }
.buyable-item.gear-attachments { --category-color: #708fa1; }
.buyable-item.medical { --category-color: #43ae62; }
.buyable-item.food { --category-color: #bd9449; }
.buyable-item.tools { --category-color: #809aaa; }
.buyable-item.electronics { --category-color: #49a7c2; }
.buyable-item.materials { --category-color: #a4835f; }
.buyable-item.vehicles { --category-color: #627d9b; }
.buyable-item.deployables { --category-color: #7c8c56; }
.buyable-item.animals { --category-color: #9b7b5a; }
.buyable-item.infected { --category-color: #956f78; }
.buyable-item.miscellaneous { --category-color: #9aa2a6; }

.item-information {
    background: rgba(11, 15, 10, .82);
    color: #d4d4d4;
    display: grid;
    gap: 3px 18px;
    grid-template-columns: 1fr 1fr;
    margin-top: auto;
    min-height: 84px;
    padding: 10px 14px;
}

.item-information[hidden] {
    display: none !important;
}

.item-information span {
    color: #c8c8c8;
    font-family: Georgia, "Times New Roman", serif;
}

.item-information strong {
    color: white;
    font-weight: 400;
}

.description-line {
    grid-column: 1 / -1;
}

.description-line strong {
    display: block;
}

.equipment-slot-bar {
    align-items: center;
    background: rgba(57, 69, 78, .86);
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(auto-fit, minmax(58px, 1fr));
    min-height: 78px;
    padding: 8px 12px;
}

.equipment-slot {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    color: rgba(224, 231, 239, .72);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    font-family: Georgia, "Times New Roman", serif;
    justify-content: center;
    min-height: 60px;
    overflow: hidden;
    padding: 4px;
    text-align: center;
}

.slot-item-icons {
    align-items: center;
    display: flex;
    gap: 2px;
    justify-content: center;
    min-height: 48px;
    max-width: 100%;
}

.slot-item-icon {
    height: 48px;
    object-fit: contain;
    width: 54px;
}

.equipment-slot::before {
    content: "";
    background-color: transparent;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 48px;
    opacity: .62;
    width: 54px;
}

.equipment-slot.primary-left::before { background-image: url("../images/dayz-inventory/shoulderleft.png"); }
.equipment-slot.primary-right::before { background-image: url("../images/dayz-inventory/shoulderright.png"); }
.equipment-slot.vest::before { background-image: url("../images/dayz-inventory/vest.png"); }
.equipment-slot.jacket::before { background-image: url("../images/dayz-inventory/body.png"); }
.equipment-slot.belt::before { background-image: url("../images/dayz-inventory/hips.png"); }
.equipment-slot.pants::before { background-image: url("../images/dayz-inventory/legs.png"); }
.equipment-slot.backpack::before { background-image: url("../images/dayz-inventory/back.png"); }
.equipment-slot.hat::before { background-image: url("../images/dayz-inventory/headgear.png"); }
.equipment-slot.mask::before { background-image: url("../images/dayz-inventory/mask.png"); }
.equipment-slot.glasses::before { background-image: url("../images/dayz-inventory/eyewear.png"); }
.equipment-slot.gloves::before { background-image: url("../images/dayz-inventory/gloves.png"); }
.equipment-slot.shoes::before { background-image: url("../images/dayz-inventory/feet.png"); }
.equipment-slot.arm-band::before { background-image: url("../images/dayz-inventory/armband.png"); }

.equipment-slot.selected {
    border-color: #d9ef4b;
}

.equipment-slot.drop-ok {
    border-color: #7ed957;
}

.equipment-slot.drop-bad {
    border-color: #d95c48;
}

.equipment-slot.occupied::before {
    display: none;
}

.equipped-items {
    align-content: start;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    overflow: auto;
    padding: 12px;
}

.equipped-items.drop-ok {
    outline: 1px solid #7ed957;
    outline-offset: -7px;
}

.equipped-items.drop-bad {
    outline: 1px solid #d95c48;
    outline-offset: -7px;
}

.equipment-slot-section {
    background: rgba(5, 8, 10, .28);
    border: 1px solid rgba(255, 255, 255, .10);
    display: grid;
    gap: 7px;
    padding: 7px;
}

.equipment-slot-section-header {
    align-items: center;
    color: rgba(244, 247, 248, .82);
    display: flex;
    font-size: 12px;
    font-weight: 800;
    justify-content: space-between;
    letter-spacing: .04em;
    min-height: 24px;
    text-transform: uppercase;
}

.equipment-slot-section-header strong {
    background: rgba(217, 239, 75, .14);
    border: 1px solid rgba(217, 239, 75, .28);
    color: var(--accent);
    min-width: 28px;
    padding: 1px 7px;
    text-align: center;
}

.equipment-slot-section-items {
    display: grid;
    gap: 8px;
}

.equipped-item-card {
    background: rgba(14, 18, 20, .86);
    border: 1px solid rgba(255, 255, 255, .16);
    cursor: grab;
    display: block;
    min-height: 0;
    padding: 0;
}

.equipped-item-card.selected {
    border-color: #d9ef4b;
}

.equipped-item-card.collapsed {
    min-height: 0;
}

.equipped-item-header {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    min-height: 62px;
    padding: 8px 10px;
}

.equipped-item-title {
    align-items: center;
    display: flex;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
}

.equipped-item-icon {
    flex: 0 0 auto;
    height: 44px;
    object-fit: contain;
    width: 44px;
}

.equipped-item-card h3 {
    color: #fff;
    font-size: 14px;
    line-height: 1.12;
    margin: 0 0 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.equipped-item-card p {
    color: var(--muted);
    font-size: 11px;
    margin: 0;
}

.equipped-item-actions {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 6px;
    justify-content: flex-end;
}

.nested-section {
    border-top: 1px solid rgba(255, 255, 255, .11);
    margin: 0 12px 12px;
    padding-top: 10px;
}

.nested-section-title {
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.attachment-slot-grid {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
}

.inline-attachment-slots {
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.inline-attachment-slots::-webkit-scrollbar {
    display: none;
}

.attachment-slot-grid.compact {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    justify-content: flex-end;
    max-width: none;
    min-width: max-content;
}

.attachment-slot-button {
    align-items: center;
    background: rgba(0, 0, 0, .28);
    border: 1px solid rgba(255, 255, 255, .18);
    color: white;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 3px;
    justify-content: center;
    min-height: 64px;
    padding: 6px 5px;
    position: relative;
    text-align: center;
}

.attachment-slot-grid.compact .attachment-slot-button {
    min-height: 44px;
    padding: 4px 3px;
    width: 58px;
}

.attachment-slot-button.occupied {
    justify-content: center;
    padding: 3px;
}

.attachment-slot-grid.compact .attachment-slot-button.occupied {
    height: 58px;
    min-height: 58px;
}

.attachment-item-visual {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    line-height: 0;
    position: relative;
    width: 100%;
}

.attachment-slot-button::before {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    height: 36px;
    opacity: .58;
    width: 44px;
}

.attachment-slot-grid.compact .attachment-slot-button::before {
    height: 42px;
    width: 50px;
}

.attachment-slot-button.occupied::before {
    display: none;
}

.attachment-slot-button.buttstock::before { background-image: url("../images/dayz-inventory/buttstock.png"); }
.attachment-slot-button.handguard::before { background-image: url("../images/dayz-inventory/handguard.png"); }
.attachment-slot-button.optic::before { background-image: url("../images/dayz-inventory/weaponoptics.png"); }
.attachment-slot-button.optic-small::before { background-image: url("../images/dayz-inventory/weaponopticssmall.png"); }
.attachment-slot-button.bayonet::before { background-image: url("../images/dayz-inventory/bayonet.png"); }
.attachment-slot-button.supressor::before { background-image: url("../images/dayz-inventory/supressor.png"); }
.attachment-slot-button.gun-wrap::before { background-image: url("../images/dayz-inventory/weaponwrap.png"); }
.attachment-slot-button.weapon-light::before { background-image: url("../images/dayz-inventory/weaponflashlight.png"); }
.attachment-slot-button.battery::before { background-image: url("../images/dayz-inventory/batteryd.png"); }
.attachment-slot-button.personal-radio::before { background-image: url("../images/dayz-inventory/walkietalkie.png"); }
.attachment-slot-button.chem-light::before { background-image: url("../images/dayz-inventory/chemlight.png"); }
.attachment-slot-button.backpack-main-slot::before { background-image: url("../images/dayz-inventory/backpack_1.png"); }
.attachment-slot-button.backpack-strap-one::before { background-image: url("../images/dayz-inventory/backpack_strap_1.png"); }
.attachment-slot-button.backpack-strap-two::before { background-image: url("../images/dayz-inventory/backpack_strap_2.png"); }
.attachment-slot-button.vest-backpack::before { background-image: url("../images/dayz-inventory/back.png"); }
.attachment-slot-button.gorka-visor::before { background-image: url("../images/dayz-inventory/gorkavisor.png"); }
.attachment-slot-button.visor::before { background-image: url("../images/dayz-inventory/dbhelmetvisor.png"); }
.attachment-slot-button.mouthguard::before { background-image: url("../images/dayz-inventory/dbhelmetmouth.png"); }
.attachment-slot-button.nvg::before { background-image: url("../images/dayz-inventory/nvggoggles.png"); }
.attachment-slot-button.magazine::before { background-image: url("../images/dayz-inventory/magazine.png"); }
.attachment-slot-button.bullets::before { background-image: url("../images/dayz-inventory/bullets.png"); }
.attachment-slot-button.arrows::before { background-image: url("../images/dayz-inventory/arrows.png"); }
.attachment-slot-button.grenade::before { background-image: url("../images/dayz-inventory/grenade.png"); }
.attachment-slot-button.explosive-slot::before { background-image: url("../images/dayz-inventory/explosive.png"); }
.attachment-slot-button.sheath::before { background-image: url("../images/dayz-inventory/knifeholster.png"); }
.attachment-slot-button.holster::before { background-image: url("../images/dayz-inventory/vestholster.png"); }
.attachment-slot-button.canteen::before { background-image: url("../images/dayz-inventory/canteen.png"); }
.attachment-slot-button.pistol::before { background-image: url("../images/dayz-inventory/pistol.png"); }
.attachment-slot-button.pouches::before { background-image: url("../images/dayz-inventory/vestpouches.png"); }
.attachment-slot-button.knife::before { background-image: url("../images/dayz-inventory/knife.png"); }
.attachment-slot-button.hook::before { background-image: url("../images/dayz-inventory/hook.png"); }
.attachment-slot-button.fallback-attachment-type::before { background-image: url("../images/dayz-inventory/missing.png"); }

.attachment-item-icon {
    display: block;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    width: 100%;
}

.attachment-remove-mark {
    align-items: center;
    background: #d95c48;
    color: #fff;
    display: flex;
    font-size: 11px;
    font-weight: 900;
    height: 15px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    right: -2px;
    top: -2px;
    width: 15px;
}

.attachment-slot-button.selected,
.attachment-slot-button.drop-ok {
    border-color: #d9ef4b;
}

.attachment-slot-button.drop-bad {
    border-color: #d95c48;
}

.attachment-slot-button.blocked {
    border-color: #d95c48;
    cursor: not-allowed;
    opacity: .5;
}

.attachment-slot-button span {
    color: rgba(255, 255, 255, .72);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.05;
}

.attachment-slot-button .attachment-item-visual {
    line-height: 0;
}

.attachment-slot-button strong {
    font-size: 10px;
    font-weight: 700;
    line-height: 1.1;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nested-equipped-items {
    display: grid;
    gap: 8px;
    margin: 0 12px 12px;
    padding-left: calc(8px + (var(--depth, 0) * 8px));
}

.cargo-nested-items {
    margin: 8px 0 0;
    padding-left: 0;
}

.nested-equipped-items .equipped-item-card {
    background: rgba(7, 10, 12, .72);
    cursor: grab;
    min-height: 0;
}

.nested-equipped-items .equipped-item-header {
    min-height: 52px;
    padding: 5px 8px;
}

.nested-equipped-items .equipped-item-icon {
    height: 34px;
    width: 34px;
}

.nested-equipped-items .equipped-item-title {
    gap: 8px;
}

.nested-equipped-items .equipped-item-card h3 {
    font-size: 13px;
    margin-bottom: 2px;
}

.nested-equipped-items .equipped-item-card p {
    font-size: 10px;
}

.cargo-grid {
    display: grid;
    gap: 1px;
    grid-auto-rows: var(--cargo-cell-size, 34px);
    grid-auto-flow: row;
    width: max-content;
}

.cargo-section {
    overflow-x: auto;
    padding-bottom: 4px;
}

.cargo-layout {
    align-items: flex-start;
    display: flex;
    gap: 8px;
    min-width: 0;
}

.cargo-cell {
    align-items: center;
    aspect-ratio: 1 / 1;
    background: rgba(0, 0, 0, .24);
    border: 1px solid rgba(255, 255, 255, .18);
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: center;
    height: var(--cargo-cell-size, 34px);
    min-height: 0;
    overflow: hidden;
    padding: 2px;
    width: var(--cargo-cell-size, 34px);
}

.cargo-cell.occupied {
    background: rgba(140, 140, 140, .38);
}

.cargo-cell.origin {
    align-items: center;
    flex-direction: column;
    gap: 2px;
    justify-content: center;
}

.cargo-cell.selected,
.cargo-cell.drop-ok {
    border-color: #d9ef4b;
}

.cargo-cell.drop-bad {
    border-color: #d95c48;
}

.cargo-cell strong,
.cargo-item-block strong {
    display: none;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.1;
    overflow-wrap: anywhere;
    text-align: left;
}

.cargo-item-block {
    align-items: center;
    background: rgba(140, 140, 140, .28);
    border: 1px solid rgba(255, 255, 255, .22);
    box-sizing: border-box;
    color: white;
    cursor: grab;
    display: flex;
    height: 100%;
    justify-content: center;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
    padding: 2px;
    position: relative;
    width: 100%;
    z-index: 2;
}

.cargo-drag-preview-block {
    align-items: center;
    background: rgba(217, 239, 75, .12);
    border: 1px solid #d9ef4b;
    box-sizing: border-box;
    display: flex;
    height: 100%;
    justify-content: center;
    min-height: 0;
    min-width: 0;
    opacity: .82;
    overflow: hidden;
    padding: 2px;
    pointer-events: none;
    width: 100%;
    z-index: 4;
}

.cargo-drag-preview-block.drop-bad {
    background: rgba(217, 92, 72, .18);
    border-color: #d95c48;
}

.cargo-item-block.selected {
    border-color: #d9ef4b;
}

.cargo-item-icon {
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    width: 100%;
}

.cargo-item-block.rotated .cargo-item-icon,
.cargo-drag-preview-block.rotated .cargo-item-icon {
    height: var(--cargo-rotated-image-height, 100%);
    max-height: none;
    max-width: none;
    transform: rotate(90deg);
    width: var(--cargo-rotated-image-width, 100%);
}

.cargo-item-list {
    align-content: flex-start;
    align-items: center;
    display: flex;
    flex: 1 1 180px;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 0;
    min-width: 62px;
}

.cargo-list-item {
    align-items: center;
    background: rgba(0, 0, 0, .2);
    border: 1px solid rgba(255, 255, 255, .18);
    box-sizing: border-box;
    cursor: grab;
    display: flex;
    height: 44px;
    justify-content: center;
    overflow: visible;
    padding: 3px;
    position: relative;
    width: 56px;
}

.cargo-list-item.selected {
    border-color: #d9ef4b;
}

.cargo-list-item-icon {
    display: flex;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    width: 100%;
}

.cargo-list-item.rotated .cargo-list-item-icon {
    height: 100%;
    max-height: none;
    max-width: none;
    transform: rotate(90deg);
    width: 100%;
}

.cargo-remove-mark {
    align-items: center;
    background: #d95c48;
    color: #fff;
    display: flex;
    font-size: 11px;
    font-weight: 900;
    height: 15px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    right: -2px;
    top: -2px;
    width: 15px;
}

.empty-inventory-state {
    color: rgba(255, 255, 255, .72);
    margin: 0;
}

.quickbar-panel {
    flex: 0 0 auto;
    margin-top: auto;
    padding: 8px 12px 10px;
}

.quickbar-container {
    display: grid;
    gap: 3px;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    padding: 0;
}

.quickbar-entry {
    min-width: 0;
}

.quickbar-slot {
    background: rgba(0, 0, 0, .28);
    border: 1px solid #6e6f72;
    color: white;
    cursor: pointer;
    display: grid;
    height: 48px;
    place-items: center;
    position: relative;
    min-width: 0;
    padding: 2px 4px;
    text-align: center;
    width: 100%;
}

.quickbar-entry.spawn-in-hands .quickbar-slot {
    border-color: #d7ba5f;
    box-shadow: inset 0 0 0 1px rgba(215, 186, 95, .45);
}

.quickbar-slot:hover {
    background: rgba(105, 105, 105, .42);
}

.quickbar-slot.drop-ok {
    border-color: #7ed957;
}

.quickbar-slot.drop-bad {
    border-color: #d95c48;
}

.quickbar-slot.locked {
    background: rgba(0, 0, 0, .38);
    cursor: not-allowed;
    opacity: .34;
}

.quickbar-slot.locked:hover {
    background: rgba(0, 0, 0, .38);
}

.quickbar-slot-number {
    display: block;
    font-size: 12px;
    font-weight: 800;
    left: 4px;
    position: absolute;
    top: 2px;
}

.quickbar-hands-indicator {
    bottom: 1px;
    color: #f4e4aa;
    font-size: 14px;
    font-style: normal;
    line-height: 1;
    pointer-events: none;
    position: absolute;
    right: 2px;
}

.quickbar-item-icon {
    height: 36px;
    object-fit: contain;
    width: min(48px, 78%);
}

.item-icon-placeholder {
    background: rgba(255, 255, 255, .08);
    display: inline-block;
}

.editor-toast {
    background: rgba(5, 6, 7, .96);
    border: 1px solid #d95c48;
    bottom: 26px;
    color: #fff;
    font-weight: 800;
    left: 50%;
    max-width: min(520px, calc(100vw - 28px));
    padding: 12px 16px;
    position: fixed;
    text-align: center;
    transform: translateX(-50%);
    z-index: 50;
}

.saved-toast {
    animation: toast-hide 3s forwards;
}

@keyframes toast-hide {
    0%, 86% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@media (max-width: 1180px) {
    .inventory-editor-form {
        gap: 14px;
        grid-template-columns: 1fr;
        height: auto;
        min-height: auto;
    }

    .available-panel,
    .equipment-panel {
        height: auto;
        min-height: 520px;
    }

    .equipment-slot-bar {
        padding: 8px;
    }

    .available-item-grid {
        max-height: 420px;
    }

    .equipped-items {
        max-height: 640px;
    }

    .quickbar-container {
        grid-template-columns: repeat(5, minmax(58px, 1fr));
    }
}

@media (max-width: 760px) {
    .inventory-workbench {
        padding: 8px;
    }

    .inventory-toolbar,
    .inventory-editor-form {
        width: 100%;
    }

    .inventory-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .inventory-toolbar-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .toolbar-loadout-name {
        grid-column: 1 / -1;
    }

    .inventory-toolbar-actions .button {
        width: 100%;
    }

    .inventory-panel-header {
        min-height: 42px;
        padding: 0 12px;
    }

    .inventory-panel-header h2 {
        font-size: 22px;
    }

    .filterbar {
        grid-template-columns: 1fr 1fr;
        padding: 10px 12px;
    }

    .filter-checkbox {
        align-items: start;
        flex-direction: column;
        gap: 4px;
    }

    .available-item-grid {
        grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
        padding: 8px;
    }

    .equipment-slot-bar {
        grid-template-columns: repeat(auto-fit, minmax(54px, 1fr));
    }

    .equipment-slot-section,
    .equipped-items {
        gap: 8px;
        padding: 8px;
    }

    .equipped-item-header {
        align-items: stretch;
        flex-direction: column;
    }

    .equipped-item-actions {
        align-items: stretch;
        display: grid;
        grid-template-columns: 34px minmax(0, 1fr) auto;
    }

    .equipped-item-actions select {
        min-width: 0;
        width: 100%;
    }

    .nested-section,
    .nested-equipped-items {
        margin-left: 8px;
        margin-right: 8px;
    }

    .attachment-slot-grid {
        grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
    }

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

}
