.guides-hero {
    display: grid;
    align-items: center;
    min-height: 42vh;
    padding: 68px 6vw 62px;
    background: transparent;
    border-bottom: 1px solid var(--border);
}

.guides-hero-inner {
    max-width: 720px;
}

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

.guides-hero h1 {
    max-width: 620px;
    margin: 0;
    font-size: clamp(2rem, 3.1vw, 3.15rem);
    line-height: 1.02;
    text-wrap: balance;
    text-shadow: 0 28px 70px rgba(0, 0, 0, 0.48);
}

.guides-hero p:not(.eyebrow) {
    max-width: 650px;
    margin: 18px 0 0;
    color: #e2ded3;
    font-size: 1rem;
}

.guides-section {
    padding: 64px 6vw;
    background: transparent;
}

.guides-intro,
.wiki-category-index {
    max-width: 1120px;
    margin-inline: auto;
}

.guides-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 26px;
}

.guides-intro h2 {
    max-width: 560px;
    margin: 0;
    font-size: clamp(1.45rem, 2.25vw, 2.05rem);
    line-height: 1.1;
    text-wrap: balance;
}

.guides-intro p {
    max-width: 390px;
    margin: 0;
    color: var(--muted);
}

.guide-search {
    display: grid;
    gap: 8px;
    max-width: 1120px;
    margin: 0 auto 14px;
}

.guide-search label {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.guide-search input {
    min-height: 46px;
    width: 100%;
    padding: 0 14px;
    color: var(--text);
    background:
        linear-gradient(180deg, rgba(255, 248, 233, 0.06), rgba(98, 182, 255, 0.025)),
        rgba(16, 20, 18, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 8px;
    font: inherit;
    font-size: 1rem;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.16);
}

.guide-search input:focus {
    border-color: rgba(56, 212, 135, 0.48);
    outline: none;
}

.wiki-category-index {
    display: grid;
    align-content: start;
    gap: 14px;
    margin-top: 20px;
    min-height: clamp(520px, 58vh, 760px);
}

.guide-empty-state {
    max-width: 1120px;
    margin: 18px auto 0;
    padding: 18px;
    color: var(--muted);
    background: rgba(16, 20, 18, 0.86);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-align: center;
}

.wiki-category {
    padding: 16px 18px;
    background: rgba(9, 13, 11, 0.72);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 8px;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.18);
}

.wiki-category h3 {
    margin: 0 0 10px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.wiki-category ul {
    columns: 2;
    column-gap: 34px;
    margin: 0;
    padding-left: 18px;
}

.wiki-category li {
    break-inside: avoid;
    margin: 0 0 9px;
    color: var(--muted);
}

.wiki-category button {
    all: unset;
    display: inline;
    max-width: 100%;
    color: var(--text);
    cursor: pointer;
}

.wiki-category button:hover .wiki-link-title,
.wiki-category button:focus .wiki-link-title {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.wiki-category button:focus-visible {
    outline: 2px solid rgba(56, 212, 135, 0.62);
    outline-offset: 3px;
    border-radius: 4px;
}

.wiki-link-title {
    font-weight: 900;
}

.wiki-link-tag {
    margin-left: 6px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wiki-category small {
    display: block;
    margin-top: 2px;
    color: #c8c4b9;
    font-size: 0.86rem;
    font-weight: 500;
    line-height: 1.35;
}

.wiki-category[hidden],
.wiki-category li[hidden] {
    display: none;
}

.guide-source {
    display: none;
}

.guide-panel {
    --guide-accent: var(--accent);
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--guide-accent) 14%, transparent), transparent 34%),
        linear-gradient(180deg, rgba(255, 248, 233, 0.055), rgba(255, 248, 233, 0.02)),
        rgba(16, 20, 18, 0.82);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.18);
    transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.guide-panel::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--guide-accent);
    opacity: 0.9;
}

.guide-panel:hover,
.guide-panel:focus-within {
    border-color: color-mix(in srgb, var(--guide-accent) 52%, rgba(255, 255, 255, 0.18));
    transform: translateY(-1px);
}

.guide-card--recovery {
    --guide-accent: #35d48a;
}

.guide-card--crafting {
    --guide-accent: #d7a84a;
}

.guide-card--impound {
    --guide-accent: #ff7b54;
}

.guide-card--inventory-sort {
    --guide-accent: #9bdb6d;
}

.guide-card--speed-loader {
    --guide-accent: #ffcf4a;
}

.guide-card--backpack {
    --guide-accent: #c77dff;
}

.guide-card--drugs {
    --guide-accent: #f06db8;
}

.guide-card--moonshine {
    --guide-accent: #ff9d45;
}

.guide-card--mining {
    --guide-accent: #b9c56a;
}

.guide-card--diving {
    --guide-accent: #25c7b7;
}

.guide-card--cookz {
    --guide-accent: #f06a4f;
}

.guide-card--fish {
    --guide-accent: #49a6ff;
}

.guide-card--lootchest {
    --guide-accent: #ffcf4a;
}

.guide-card--recording {
    --guide-accent: #b7bdc9;
}

.guide-card--pokemon {
    --guide-accent: #ffdf4d;
}

.guide-card--collectibles {
    --guide-accent: #ff8f6b;
}

.guide-card--protected {
    --guide-accent: #ff5e5e;
}

.guide-card--protocol {
    --guide-accent: #8f7cff;
}

.guide-card--weapon-damage {
    --guide-accent: #ef5d45;
}

.guide-card--mobs {
    --guide-accent: #d96cff;
}

.guide-card--vehicle-attachments {
    --guide-accent: #5fc56b;
}

.guide-panel summary {
    display: grid;
    grid-template-columns: minmax(160px, 0.3fr) minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    min-height: 0;
    padding: 14px 16px;
    color: var(--text);
    cursor: pointer;
    font-size: 1.04rem;
    font-weight: 900;
    list-style: none;
}

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

.guide-panel summary::after {
    content: "Open";
    display: grid;
    place-items: center;
    width: max-content;
    min-height: 34px;
    padding: 0 12px;
    color: var(--text);
    background: color-mix(in srgb, var(--guide-accent) 18%, rgba(255, 255, 255, 0.04));
    border: 1px solid color-mix(in srgb, var(--guide-accent) 42%, rgba(255, 255, 255, 0.12));
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    line-height: 1;
    text-transform: uppercase;
}

.guide-panel[open] summary::after {
    content: "Close";
    color: var(--text);
}

.guide-panel summary:hover,
.guide-panel summary:focus-visible {
    background: rgba(255, 255, 255, 0.045);
    outline: none;
}

.guide-card-top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
}

.guide-card-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 34px;
    height: 34px;
    color: #07100c;
    background: var(--guide-accent);
    border-radius: 8px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.18) inset,
        0 12px 28px color-mix(in srgb, var(--guide-accent) 22%, transparent);
    font-size: 0.95rem;
    font-weight: 1000;
}

.guide-card-badge {
    min-width: 0;
    padding: 5px 8px;
    color: color-mix(in srgb, var(--guide-accent) 78%, #ffffff);
    background: color-mix(in srgb, var(--guide-accent) 12%, rgba(255, 255, 255, 0.035));
    border: 1px solid color-mix(in srgb, var(--guide-accent) 28%, rgba(255, 255, 255, 0.08));
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    white-space: nowrap;
}

.guide-card-title {
    display: block;
    max-width: 100%;
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.15;
}

.guide-card-copy {
    display: block;
    color: var(--muted);
    font-size: 0.91rem;
    font-weight: 600;
    line-height: 1.45;
}

.guide-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: flex-start;
    margin-top: 0;
}

.guide-card-meta span {
    padding: 4px 7px;
    color: #ddd7ca;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
}

.guide-folder {
    display: none;
}

.guide-panel-body {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-top: 1px solid var(--border);
}

.guide-panel > .guide-panel-body {
    display: none;
}

.guide-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

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

.guide-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);
}

.guide-modal-panel {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: min(1040px, 100%);
    max-height: min(86vh, 920px);
    overflow: hidden;
    background: rgba(10, 14, 12, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    box-shadow: 0 34px 110px rgba(0, 0, 0, 0.48);
}

.guide-modal-panel:focus {
    outline: none;
}

.guide-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
}

.guide-modal-header .eyebrow {
    margin-bottom: 6px;
}

.guide-modal-header h2 {
    margin: 0;
    font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.guide-modal-close {
    min-height: 38px;
    padding: 0 14px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 900;
    cursor: pointer;
}

.guide-modal-close:hover,
.guide-modal-close:focus {
    color: #07100c;
    background: var(--accent);
    outline: none;
}

.guide-modal-content {
    min-height: 0;
    overflow: auto;
}

.guide-modal-content .guide-panel-body {
    display: grid;
    padding: 22px;
    border-top: 0;
}

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

.guide-panel-body p {
    margin: 0;
    color: var(--muted);
}

.guide-subsection p:first-child {
    margin-top: 0;
}

.guide-panel-body a {
    color: var(--text);
    font-weight: 800;
    overflow-wrap: anywhere;
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-underline-offset: 3px;
}

.guide-panel-body ol,
.guide-panel-body ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 20px;
    color: var(--text);
}

.guide-panel-body li::marker {
    color: var(--accent-cool);
    font-weight: 900;
}

.guide-panel-body .discord-channel-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 22px;
    padding: 1px 7px;
    color: #dbdee1;
    background: #404249;
    border-radius: 4px;
    font-size: 0.92em;
    line-height: 1;
    text-decoration: none;
    vertical-align: baseline;
    white-space: nowrap;
}

.guide-panel-body .discord-channel-pill:hover,
.guide-panel-body .discord-channel-pill:focus {
    background: #4e5058;
    color: #fff;
}

.guide-panel-body .discord-channel-pill span:first-child {
    color: #b5bac1;
    font-weight: 900;
}

.guide-action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    background: rgba(56, 212, 135, 0.14);
    border: 1px solid rgba(56, 212, 135, 0.42);
    border-radius: 7px;
    text-decoration: none;
    text-align: center;
}

.guide-action-link:hover,
.guide-action-link:focus {
    background: rgba(56, 212, 135, 0.22);
}

.guide-subsection {
    display: grid;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    background: rgba(255, 248, 233, 0.04);
    border: 1px solid var(--border);
    border-radius: 7px;
}

.guide-subsection h3 {
    margin: 0;
    color: var(--accent);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.guide-image-card {
    overflow: hidden;
    width: min(100%, 520px);
    margin: 4px 0 0;
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 7px;
}

.guide-image-card img {
    display: block;
    width: 100%;
    height: auto;
}

.recipe-guide {
    gap: 18px;
}

.recipe-section {
    display: grid;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

.recipe-section h3,
.recipe-section h4 {
    margin: 0;
    color: var(--text);
}

.recipe-section h3 {
    margin-top: 20px;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.recipe-section h3 span {
    color: var(--muted);
    font-size: 0.82rem;
    font-style: italic;
    letter-spacing: 0;
    text-transform: none;
}

.recipe-section h4 {
    margin-top: 8px;
    color: var(--accent);
    font-size: 0.86rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.recipe-list {
    display: grid;
    gap: 8px;
}

.recipe-row {
    display: grid;
    grid-template-columns: minmax(190px, 0.7fr) minmax(0, 1fr);
    gap: 8px 18px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--border);
    border-radius: 7px;
}

.recipe-row strong {
    color: var(--text);
}

.recipe-row span {
    color: #e4dfd3;
}

.recipe-row em {
    grid-column: 2;
    color: var(--muted);
    font-style: italic;
}

.mob-guide {
    gap: 14px;
}

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

.mob-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 38px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
}

.mob-row span {
    min-width: 0;
    color: #e4dfd3;
    font-size: 0.92rem;
    overflow-wrap: anywhere;
}

.mob-row strong {
    flex: 0 0 auto;
    color: var(--text);
    font-size: 0.95rem;
}

.weapon-damage-guide {
    gap: 16px;
}

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

.weapon-damage-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 46px;
    padding: 10px 12px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.024)),
        rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border);
    border-radius: 7px;
}

.weapon-damage-row span {
    color: var(--text);
    font-weight: 900;
}

.weapon-damage-row strong {
    color: var(--accent);
    font-size: 1.05rem;
}

.vehicle-guide {
    gap: 16px;
}

.vehicle-guide-section {
    width: 100%;
    min-width: 0;
}

.vehicle-guide-table-wrap {
    width: 100%;
    overflow-x: visible;
    background: rgba(255, 255, 255, 0.028);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.vehicle-guide-table {
    width: 100%;
    min-width: 0;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.vehicle-guide-table th,
.vehicle-guide-table td {
    padding: 8px 7px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
}

.vehicle-guide-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    color: var(--text);
    background: color-mix(in srgb, var(--guide-accent, var(--accent)) 18%, #101711);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vehicle-guide-table td:first-child,
.vehicle-guide-table th:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    min-width: 150px;
    background: #111813;
}

.vehicle-guide-table th:first-child {
    z-index: 3;
    background: color-mix(in srgb, var(--guide-accent, var(--accent)) 22%, #101711);
}

.vehicle-guide-table td {
    color: #e4dfd3;
}

.vehicle-guide-table tbody tr:nth-child(even) td {
    background-color: rgba(255, 255, 255, 0.025);
}

.vehicle-guide-table tbody tr:hover td {
    background-color: color-mix(in srgb, var(--guide-accent, var(--accent)) 10%, rgba(255, 255, 255, 0.035));
}

.vehicle-guide-table td:not(:first-child) {
    text-align: center;
}

.moonshine-guide {
    gap: 16px;
}

.moonshine-step {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(280px, 1fr);
    align-items: start;
    gap: 18px;
}

.moonshine-step .guide-image-card {
    margin: 0;
}

.moonshine-step .guide-image-card img {
    max-height: 420px;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.24);
}

.mining-guide {
    gap: 16px;
}

.mining-hero,
.mining-step {
    display: grid;
    grid-template-columns: minmax(260px, 0.78fr) minmax(300px, 1fr);
    align-items: start;
    gap: 18px;
}

.mining-hero-images,
.mining-step-images {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.mining-hero .guide-image-card,
.mining-step .guide-image-card {
    margin: 0;
}

.mining-hero .guide-image-card img,
.mining-step .guide-image-card img {
    max-height: 420px;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.24);
}

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

.station-grid span,
.attachment-card {
    min-width: 0;
    padding: 12px;
    color: #e4dfd3;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 7px;
    overflow-wrap: anywhere;
}

.station-grid span {
    display: grid;
    place-items: center;
    min-height: 54px;
    color: var(--text);
    font-weight: 900;
    text-align: center;
}

.attachment-card {
    display: grid;
    gap: 10px;
}

.attachment-card h4 {
    margin: 0;
    color: var(--text);
    font-size: 0.95rem;
}

.attachment-card ul {
    gap: 7px;
}

.cookz-guide {
    gap: 16px;
}

.cookz-hero {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 0.75fr);
    align-items: start;
    gap: 18px;
}

.cookz-hero .guide-image-card {
    margin: 0;
}

.cookz-hero .guide-image-card img {
    max-height: 430px;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.24);
}

.fish-guide {
    gap: 16px;
}

.fish-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.fish-list span {
    min-width: 0;
    padding: 8px 10px;
    color: #e4dfd3;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.lootchest-guide {
    gap: 16px;
}

.lootchest-hero {
    display: grid;
    grid-template-columns: minmax(260px, 0.85fr) minmax(260px, 0.5fr);
    align-items: start;
    gap: 18px;
}

.lootchest-hero .guide-image-card {
    margin: 0;
}

.lootchest-hero .guide-image-card img {
    max-height: 360px;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.24);
}

.loot-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.loot-grid span {
    min-width: 0;
    padding: 9px 10px;
    color: #e4dfd3;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    text-align: center;
    overflow-wrap: anywhere;
}

.recording-guide {
    gap: 16px;
}

.recording-options {
    display: grid;
    gap: 10px;
}

.recording-option {
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
        rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.recording-option > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 0 14px;
    color: var(--text);
    cursor: pointer;
    font-weight: 900;
    list-style: none;
}

.recording-option > summary::-webkit-details-marker {
    display: none;
}

.recording-option > summary::after {
    content: "+";
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    line-height: 1;
}

.recording-option[open] > summary {
    border-bottom: 1px solid var(--border);
}

.recording-option[open] > summary::after {
    content: "-";
}

.recording-option-body {
    display: grid;
    gap: 12px;
    padding: 14px;
}

.settings-grid,
.proof-grid,
.comp-format {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.settings-grid span,
.proof-grid span,
.comp-format span {
    min-width: 0;
    padding: 9px 10px;
    color: #e4dfd3;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    overflow-wrap: anywhere;
}

.settings-grid strong {
    display: block;
    color: var(--text);
}

.inventory-sort-guide {
    gap: 16px;
}

.inventory-sort-step {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1fr);
    align-items: start;
    gap: 18px;
}

.inventory-sort-step .guide-image-card {
    margin: 0;
}

.inventory-sort-step .guide-image-card img {
    max-height: 420px;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.24);
}

.inventory-sort-images {
    display: grid;
    gap: 12px;
}

.speed-loader-guide {
    gap: 16px;
}

.speed-loader-hero {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(260px, 0.55fr);
    align-items: start;
    gap: 18px;
}

.speed-loader-hero .guide-image-card {
    margin: 0;
}

.speed-loader-hero .guide-image-card img {
    max-height: 460px;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.24);
}

.speed-loader-upgrades ul {
    display: grid;
    gap: 8px;
}

.backpack-guide {
    gap: 16px;
}

.backpack-step {
    display: grid;
    grid-template-columns: minmax(260px, 0.78fr) minmax(300px, 1fr);
    align-items: start;
    gap: 18px;
}

.backpack-step .guide-image-card {
    margin: 0;
}

.backpack-step .guide-image-card img {
    max-height: 430px;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.24);
}

.guide-warning {
    border-color: color-mix(in srgb, #ffb454 58%, var(--border));
    background:
        linear-gradient(180deg, rgba(255, 180, 84, 0.14), rgba(255, 255, 255, 0.026)),
        var(--panel);
}

.guide-warning h3 {
    color: #ffcf8b;
}

.guide-number-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 22px;
}

.guide-number-list li {
    padding-left: 4px;
}

@media (max-width: 920px) {
    .vehicle-guide-table-wrap {
        overflow-x: auto;
    }

    .vehicle-guide-table {
        min-width: 760px;
    }

    .vehicle-guide-table th,
    .vehicle-guide-table td {
        white-space: nowrap;
    }

    .moonshine-step {
        grid-template-columns: 1fr;
    }

    .mining-hero,
    .mining-step {
        grid-template-columns: 1fr;
    }

    .cookz-hero {
        grid-template-columns: 1fr;
    }

    .inventory-sort-step {
        grid-template-columns: 1fr;
    }

    .speed-loader-hero {
        grid-template-columns: 1fr;
    }

    .backpack-step {
        grid-template-columns: 1fr;
    }

    .lootchest-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .guides-hero {
        min-height: 36vh;
        padding: 52px 6vw;
    }

    .guides-intro {
        align-items: flex-start;
        flex-direction: column;
    }

    .wiki-category ul {
        columns: 1;
    }

    .wiki-category-index {
        min-height: 460px;
    }

    .guide-panel summary {
        grid-template-columns: 1fr;
        gap: 10px;
        min-height: 0;
    }

    .guide-panel summary::after {
        width: 100%;
    }

    .guide-card-badge {
        white-space: normal;
    }

    .guide-panel-body {
        padding-inline: 20px;
    }

    .guide-modal {
        align-items: stretch;
        padding: 12px;
    }

    .guide-modal-panel {
        max-height: none;
        height: calc(100vh - 24px);
    }

    .guide-modal-header {
        align-items: flex-start;
        padding: 16px;
    }

    .guide-modal-close {
        min-height: 34px;
        padding-inline: 10px;
    }

    .recipe-row {
        grid-template-columns: 1fr;
    }

    .recipe-row em {
        grid-column: auto;
    }

    .mob-list {
        grid-template-columns: 1fr;
    }

    .weapon-damage-list {
        grid-template-columns: 1fr;
    }

    .fish-list {
        grid-template-columns: 1fr;
    }

    .mining-hero-images,
    .mining-step-images,
    .station-grid,
    .attachment-grid {
        grid-template-columns: 1fr;
    }

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

    .settings-grid,
    .proof-grid,
    .comp-format {
        grid-template-columns: 1fr;
    }
}
