﻿.inventory-workbench {
    background-position: center;
    background-size: cover;
    min-height: calc(100vh - 42px);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 14px 18px 18px;
    position: relative;
}

/* Break the workbench out of the normal content column while preserving the site shell. */
.inventory-workbench {
    margin: -26px calc(50% - 50vw) -80px;
}

@media (max-width: 760px) {
    .inventory-workbench {
        margin-top: -25px;
    }
}

.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-drag-preview {
    height: 1px;
    left: -9999px;
    pointer-events: none;
    position: fixed;
    top: -9999px;
    width: 1px;
}

.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;
}

.survivor-model-summary {
    align-items: center;
    background: linear-gradient(100deg, rgba(22, 30, 34, .96), rgba(13, 20, 17, .94));
    border: 1px solid rgba(255, 255, 255, .13);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .45);
    display: flex;
    justify-content: space-between;
    margin: 0 auto 8px;
    min-height: 68px;
    overflow: hidden;
    padding: 5px 9px;
    width: min(1840px, calc(100% - 48px));
}

.survivor-model-summary-copy {
    align-items: center;
    display: flex;
    gap: 11px;
    min-width: 0;
}

.survivor-model-summary-copy p,
.survivor-model-summary-copy strong,
.survivor-model-summary-copy span {
    display: block;
    margin: 0;
}

.survivor-model-summary-identity {
    min-width: 126px;
}

.survivor-model-summary-identity .eyebrow {
    font-size: 9px;
    line-height: 1;
}

.survivor-model-summary-copy strong {
    color: #ff7518;
    font-size: 16px;
    letter-spacing: .07em;
    line-height: 1;
    margin-top: 5px;
    text-transform: uppercase;
}

.survivor-model-summary-copy .survivor-blood-type-summary {
    align-items: center;
    border-left: 1px solid rgba(255, 255, 255, .13);
    display: flex;
    gap: 8px;
    min-height: 38px;
    padding-left: 12px;
}

.survivor-model-summary-copy .survivor-blood-type-summary b {
    background: rgba(255, 117, 24, .14);
    border: 1px solid rgba(255, 117, 24, .55);
    color: #ff8a38;
    font-size: 12px;
    line-height: 1;
    min-width: 39px;
    padding: 6px 8px;
    text-align: center;
}

.survivor-model-summary-copy span {
    color: rgba(229, 236, 238, .55);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .05em;
    margin-top: 2px;
    text-transform: uppercase;
}

.survivor-model-summary-portrait {
    background: rgba(0, 0, 0, .3);
    border: 1px solid rgba(255, 255, 255, .16);
    height: 56px;
    object-fit: contain;
    object-position: center bottom;
    width: 60px;
}

.survivor-model-summary-actions {
    flex: 0 0 auto;
}

.survivor-model-change-button,
.survivor-model-confirm {
    background: #ff7518;
    border: 1px solid #ff8e40;
    color: #111;
    font-weight: 900;
}

.survivor-model-change-button {
    min-height: 38px;
    min-width: 118px;
    padding: 9px 15px;
}

.survivor-model-change-button:hover,
.survivor-model-change-button:focus-visible,
.survivor-model-confirm:hover,
.survivor-model-confirm:focus-visible {
    background: #ff8a38;
    border-color: #ffad74;
    color: #111;
}

.inventory-workbench > .survivor-model-picker-backdrop {
    align-items: center;
    background: rgba(0, 0, 0, .8);
    backdrop-filter: blur(7px);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 22px;
    position: fixed;
    z-index: 1000;
}

.survivor-model-dialog {
    background: #151c20;
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .72), inset 0 0 0 1px rgba(0, 0, 0, .5);
    display: flex;
    flex-direction: column;
    max-height: min(820px, calc(100vh - 44px));
    overflow: hidden;
    width: min(1120px, 100%);
}

.survivor-model-dialog-header {
    align-items: flex-start;
    background: linear-gradient(90deg, #303b43, #1e282d);
    border-bottom: 1px solid rgba(255, 255, 255, .13);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    padding: 18px 20px;
}

.survivor-model-dialog-header h2,
.survivor-model-dialog-header p {
    margin: 0;
}

.survivor-model-dialog-header h2 {
    color: #fff;
    font: 900 28px/1.1 Arial, Helvetica, sans-serif;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.survivor-model-dialog-header p:last-child {
    color: rgba(229, 236, 238, .66);
    font-size: 12px;
    margin-top: 7px;
}

.survivor-model-dialog-close {
    align-items: center;
    background: rgba(0, 0, 0, .3);
    border: 1px solid rgba(255, 255, 255, .15);
    color: #fff;
    display: flex;
    font-size: 26px;
    height: 42px;
    justify-content: center;
    line-height: 1;
    min-width: 42px;
    padding: 0;
    width: 42px;
}

.survivor-model-dialog-close:hover,
.survivor-model-dialog-close:focus-visible {
    background: #7d2025;
    border-color: #b83b42;
}

.survivor-model-dialog-toolbar {
    align-items: center;
    background: #11171a;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    justify-content: space-between;
    padding: 10px 14px;
}

.survivor-model-dialog-toolbar > span {
    color: rgba(229, 236, 238, .58);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.survivor-model-filters {
    display: flex;
    gap: 6px;
}

.survivor-model-filters button {
    background: #252e33;
    border: 1px solid #3f4b52;
    color: #e9eef0;
    min-width: 84px;
    padding: 9px 14px;
}

.survivor-model-filters button:hover,
.survivor-model-filters button:focus-visible {
    background: #344149;
}

.survivor-model-filters button.active {
    background: #ff7518;
    border-color: #ff9c59;
    color: #111;
}

.survivor-model-dialog-content {
    display: grid;
    flex: 1 1 auto;
    grid-template-columns: minmax(0, 1fr) 300px;
    min-height: 0;
}

.survivor-model-dialog-grid {
    align-content: start;
    background: rgba(7, 11, 13, .42);
    display: grid;
    gap: 9px;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    min-height: 0;
    overflow: auto;
    padding: 14px;
    scrollbar-color: #59635a #111713;
}

.survivor-model-card {
    align-items: stretch;
    background: #111713;
    border: 1px solid #39423c;
    color: #e8eae8;
    display: grid;
    height: 126px;
    grid-template-rows: minmax(0, 1fr) auto;
    min-width: 0;
    overflow: hidden;
    padding: 0;
    position: relative;
    text-transform: none;
}

.survivor-model-card:hover,
.survivor-model-card:focus-visible {
    border-color: #8a9a8d;
    transform: none;
}

.survivor-model-card.selected {
    border-color: #ff7518;
    box-shadow: inset 0 -3px 0 #ff7518, 0 0 0 1px rgba(255, 117, 24, .3);
}

.survivor-model-card b {
    align-items: center;
    background: #ff7518;
    border-radius: 50%;
    color: #111;
    display: flex;
    font: 900 12px/1 Arial, sans-serif;
    height: 22px;
    justify-content: center;
    position: absolute;
    right: 6px;
    top: 6px;
    width: 22px;
}

.survivor-model-card img {
    height: 100%;
    min-height: 0;
    object-fit: contain;
    width: 100%;
}

.survivor-model-card span {
    background: rgba(0, 0, 0, .62);
    font-size: 12px;
    font-weight: 800;
    overflow: hidden;
    padding: 4px 3px 5px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.survivor-model-preview {
    align-content: start;
    background: linear-gradient(180deg, #273238, #161d21);
    border-left: 1px solid rgba(255, 255, 255, .12);
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto auto auto;
    min-height: 0;
    padding: 16px;
}

.survivor-model-preview-image {
    align-items: end;
    background: radial-gradient(circle at 50% 40%, rgba(118, 137, 146, .22), rgba(4, 7, 8, .56) 72%);
    border: 1px solid rgba(255, 255, 255, .13);
    display: flex;
    justify-content: center;
    min-height: 290px;
    overflow: hidden;
}

.survivor-model-preview-image img {
    height: 100%;
    max-height: 360px;
    object-fit: contain;
    object-position: center bottom;
    width: 100%;
}

.survivor-model-preview-copy {
    padding: 15px 2px;
}

.survivor-model-preview-copy span,
.survivor-model-preview-copy h3,
.survivor-model-preview-copy p {
    display: block;
    margin: 0;
}

.survivor-model-preview-copy span {
    color: #ff7518;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.survivor-blood-type-picker {
    border: 1px solid rgba(255, 255, 255, .13);
    margin: 0 0 14px;
    min-width: 0;
    padding: 12px;
}

.survivor-blood-type-picker legend {
    color: #ff7518;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .09em;
    padding: 0 5px;
    text-transform: uppercase;
}

.survivor-blood-type-picker > p {
    color: rgba(229, 236, 238, .66);
    font-size: 11px;
    line-height: 1.35;
    margin: 0 0 9px;
    min-height: 30px;
}

.survivor-blood-type-picker > div {
    display: grid;
    gap: 5px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.survivor-blood-type-picker button {
    background: #151b1e;
    border: 1px solid #47535a;
    color: #f1f4f5;
    font: 900 12px/1 Arial, Helvetica, sans-serif;
    min-height: 33px;
    padding: 7px 4px;
}

.survivor-blood-type-picker button.random {
    grid-column: span 4;
}

.survivor-blood-type-picker button:hover,
.survivor-blood-type-picker button:focus-visible {
    background: #303b41;
    border-color: #788991;
}

.survivor-blood-type-picker button.selected {
    background: #ff7518;
    border-color: #ff9c59;
    color: #111;
}

.survivor-blood-type-picker small {
    color: rgba(229, 236, 238, .48);
    display: block;
    font-size: 9px;
    line-height: 1.35;
    margin-top: 9px;
}

.survivor-model-preview-copy h3 {
    color: #fff;
    font: 900 26px/1.1 Arial, Helvetica, sans-serif;
    margin-top: 5px;
    text-transform: uppercase;
}

.survivor-model-preview-copy p {
    color: rgba(229, 236, 238, .5);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    margin-top: 4px;
    text-transform: uppercase;
}

.survivor-model-preview-actions {
    display: grid;
    gap: 8px;
}

.survivor-model-preview-actions button {
    width: 100%;
}

.survivor-model-confirm,
.survivor-model-cancel {
    min-height: 43px;
    padding: 10px 12px;
}

.survivor-model-cancel {
    background: #252e33;
    border: 1px solid #44515a;
    color: #f0f3f4;
}

.survivor-model-cancel:hover,
.survivor-model-cancel:focus-visible {
    background: #344149;
    border-color: #60717c;
}

.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));
}

.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;
    position: relative;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .4);
}

.buyable-item-policy-badge {
    background: #ff6a00;
    border: 1px solid rgba(255, 255, 255, .86);
    color: #111;
    font-family: Arial, sans-serif;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .04em;
    line-height: 1;
    min-height: 0;
    padding: 3px 5px;
    position: absolute;
    right: 4px;
    text-shadow: none;
    top: 4px;
}

@media (max-width: 760px) {
    .survivor-model-summary {
        width: min(100% - 20px, 1840px);
    }
}

.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;
}

.inventory-policy-warning {
    align-items: baseline;
    background: rgba(80, 24, 10, .96);
    border: 1px solid #ff6a00;
    color: #f5f5f5;
    display: flex;
    flex-wrap: wrap;
    font: 12px/1.4 Arial, sans-serif;
    gap: 6px 10px;
    margin: 8px 12px 0;
    padding: 8px 10px;
}

.inventory-policy-warning strong {
    color: #ff9a52;
    text-transform: uppercase;
}

.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: #d15901; }
.buyable-item.gear-attachments { --category-color: #708fa1; }
.buyable-item.medical { --category-color: #f29a52; }
.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: #d68a45; }
.buyable-item.animals { --category-color: #9b7b5a; }
.buyable-item.infected { --category-color: #956f78; }
.buyable-item.miscellaneous { --category-color: #9aa2a6; }

.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: #f29a52;
}

.equipment-slot.drop-ok {
    border-color: #f47b20;
}

.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 #f47b20;
    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.magazine-two::before { background-image: url("../images/dayz-inventory/magazine2.png"); }
.attachment-slot-button.magazine-three::before { background-image: url("../images/dayz-inventory/magazine3.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.cooking-equipment::before { background-image: url("../images/dayz-inventory/cookingequipment.png"); }
.attachment-slot-button.gas-canister::before { background-image: url("../images/dayz-inventory/gascanister.png"); }
.attachment-slot-button.gas-mask-filter::before { background-image: url("../images/dayz-inventory/gasmaskfilter.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, .08);
    border: 1px solid #d9ef4b;
    box-sizing: border-box;
    display: flex;
    height: 100%;
    justify-content: center;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
    padding: 2px;
    pointer-events: none;
    width: 100%;
    z-index: 3;
}

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

.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 {
    height: var(--cargo-rotated-image-height, 100%);
    max-height: none;
    max-width: none;
    transform: rotate(90deg);
    width: var(--cargo-rotated-image-width, 100%);
}

.cargo-drag-preview-block.rotated .cargo-drag-preview-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: #f47b20;
}

.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;
}

.item-image-composite {
    display: block;
    overflow: visible;
    position: relative;
}

.item-image-composite > .item-image-layer {
    border: 0;
    height: 100%;
    left: 0;
    object-fit: contain;
    padding: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    user-select: none;
    width: 100%;
}

.item-image-composite > .item-image-layer-gas-canister {
    bottom: 0;
    height: 54%;
    left: 50%;
    top: auto;
    transform: translateX(-50%);
    width: 58%;
    z-index: 1;
}

.item-image-composite > .item-image-layer-medium {
    height: 61%;
    width: 62%;
}

.item-image-composite > .item-image-layer-large {
    height: 69%;
    width: 62%;
}

.item-image-composite > .item-image-layer-stove {
    height: 57%;
    left: 50%;
    transform: translateX(-50%);
    width: 76%;
    z-index: 2;
}

.item-image-composite.has-cookware > .item-image-layer-stove {
    height: 48%;
    top: 25%;
    width: 66%;
}

.item-image-composite > .item-image-layer-cookware {
    height: 58%;
    left: 50%;
    transform: translateX(-50%);
    width: 88%;
    z-index: 3;
}

.item-image-composite > .item-image-layer-frying-pan {
    height: 62%;
    width: 100%;
}

.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;
}

/* React-owned editor controls.  The old DOM script and hidden JSON buffer are gone. */
.inventory-heading {
    color: #fff;
    font: 800 20px/1.1 Georgia, "Times New Roman", serif;
    margin-top: 5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .7);
    text-transform: uppercase;
}

.help-panel.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
}

.inventory-workbench button:focus-visible,
.inventory-workbench a:focus-visible {
    outline: 2px solid #d9ef4b;
    outline-offset: 2px;
}

.equipped-item-select {
    align-items: center;
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    display: flex;
    font: inherit;
    gap: 10px;
    min-width: 0;
    padding: 0;
    text-align: left;
}

.equipped-item-select > span {
    min-width: 0;
}

.attachment-slot-control,
.cargo-list-control {
    position: relative;
}

.attachment-remove-button,
.cargo-remove-button {
    align-items: center;
    background: transparent;
    border: 0;
    color: #e75b50;
    cursor: pointer;
    display: flex;
    font-size: 22px;
    font-weight: 900;
    height: 22px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    position: absolute;
    right: -4px;
    top: -4px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .85);
    width: 22px;
    z-index: 5;
}

.attachment-remove-button:hover,
.cargo-remove-button:hover {
    background: transparent;
    color: #ff786c;
}

.cargo-list-control {
    height: 44px;
    width: 56px;
}

.cargo-list-control .cargo-list-item {
    height: 100%;
    width: 100%;
}

.available-item-grid {
    content-visibility: auto;
}

@media (prefers-reduced-motion: reduce) {
    .help-panel,
    .editor-toast {
        transition: none;
    }
}

.saved-toast {
    animation: toast-hide 3s forwards;
}

@keyframes toast-hide {
    0%, 86% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@media (max-width: 1180px) {
    .inventory-toolbar,
    .inventory-editor-form {
        min-width: 900px;
    }

    .inventory-editor-form {
        gap: 14px;
        grid-template-columns: repeat(2, minmax(420px, 1fr));
        height: calc(100vh - 150px);
        min-height: 640px;
    }

    .available-panel,
    .equipment-panel {
        height: 100%;
        min-height: 0;
    }

    .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;
    }

    .survivor-model-summary {
        align-items: center;
        flex-direction: row;
        gap: 6px;
        min-height: 62px;
        padding: 4px 6px;
    }

    .survivor-model-summary-copy {
        gap: 7px;
        min-width: 0;
    }

    .survivor-model-summary-portrait {
        height: 52px;
        width: 54px;
    }

    .survivor-model-summary-identity {
        min-width: 86px;
    }

    .survivor-model-summary-copy strong {
        font-size: 14px;
        margin-top: 4px;
    }

    .survivor-model-summary-copy .survivor-blood-type-summary {
        gap: 5px;
        min-height: 32px;
        padding-left: 8px;
    }

    .survivor-model-summary-copy .survivor-blood-type-summary > span {
        display: none;
    }

    .survivor-model-change-button {
        min-height: 36px;
        min-width: 80px;
        padding: 8px 10px;
    }

    .inventory-workbench > .survivor-model-picker-backdrop {
        padding: 0;
    }

    .survivor-model-dialog {
        border: 0;
        height: 100dvh;
        max-height: 100dvh;
        width: 100vw;
    }

    .survivor-model-dialog-header {
        padding: 13px 14px;
    }

    .survivor-model-dialog-header h2 {
        font-size: 22px;
    }

    .survivor-model-dialog-header p:last-child {
        display: none;
    }

    .survivor-model-dialog-close {
        height: 38px;
        min-width: 38px;
        width: 38px;
    }

    .survivor-model-dialog-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
        padding: 9px;
    }

    .survivor-model-dialog-toolbar > span {
        display: none;
    }

    .survivor-model-filters {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .survivor-model-filters button {
        min-width: 0;
        padding: 9px 8px;
    }

    .survivor-model-dialog-content {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(0, 1fr) auto;
    }

    .survivor-model-dialog-grid {
        gap: 7px;
        grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
        padding: 9px;
    }

    .survivor-model-card {
        height: 112px;
    }

    .survivor-model-preview {
        align-items: center;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .12);
        gap: 10px;
        grid-template-columns: 82px minmax(0, 1fr);
        grid-template-rows: auto auto auto;
        max-height: 42dvh;
        overflow-y: auto;
        padding: 9px;
    }

    .survivor-model-preview-image {
        grid-row: 1;
        min-height: 84px;
        height: 84px;
    }

    .survivor-model-preview-copy {
        padding: 0;
    }

    .survivor-model-preview-copy h3 {
        font-size: 20px;
    }

    .survivor-blood-type-picker {
        grid-column: 1 / -1;
        margin: 0;
        width: 100%;
    }

    .survivor-blood-type-picker > p,
    .survivor-blood-type-picker small {
        display: none;
    }

    .survivor-model-preview-actions {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .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;
    }

    .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));
    }

}
