/* =========================================================
   VILLAGE LAST STAND
   STYLE COMPLET
========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: #f2ead7;

    background:
        radial-gradient(
            circle at 50% -10%,
            #344d38 0%,
            #18251c 42%,
            #090e0b 100%
        );
}

button,
input {
    font-family: inherit;
}


/* =========================================================
   ACCUEIL / INDEX
========================================================= */

.app {
    width: 100%;
    min-height: 100vh;
}

.screen {
    display: none;
    min-height: 100vh;
}

.screen.active {
    display: flex;
}


/* =========================================================
   ACCUEIL
========================================================= */

#accueil {
    align-items: center;
    justify-content: center;

    padding: 30px;

    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(82, 111, 70, 0.22),
            transparent 45%
        );
}

.home-content {
    width: 100%;
    max-width: 760px;

    padding: 55px 45px;

    text-align: center;

    background:
        linear-gradient(
            145deg,
            rgba(31, 48, 36, 0.96),
            rgba(12, 20, 15, 0.98)
        );

    border: 1px solid rgba(220, 185, 91, 0.18);
    border-radius: 28px;

    box-shadow:
        0 30px 100px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.logo-small {
    color: #c9a653;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 4px;
}

.home-content h1 {
    margin-top: 15px;

    color: #f2ead7;

    font-size: clamp(48px, 8vw, 78px);
    line-height: 0.9;
    font-weight: 900;
    letter-spacing: 3px;

    text-shadow:
        0 5px 20px rgba(0, 0, 0, 0.45);
}

.home-content h1 span {
    color: #d0ad55;
}

.subtitle {
    margin-top: 25px;

    color: #ddd2b7;

    font-size: 18px;
    font-weight: bold;
}

.description {
    max-width: 520px;

    margin: 14px auto 0;

    color: #89968c;

    font-size: 13px;
    line-height: 1.7;
}

.home-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;

    max-width: 360px;

    margin: 32px auto 0;
}

.main-button,
.secondary-button {
    width: 100%;

    padding: 15px 22px;

    border-radius: 12px;

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.2px;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        filter 0.2s ease,
        background 0.2s ease;
}

.main-button {
    border: 1px solid #d5b55e;

    background:
        linear-gradient(
            135deg,
            #d8b85f,
            #b89037
        );

    color: #151910;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.25);
}

.secondary-button {
    border: 1px solid rgba(220, 185, 91, 0.3);

    background: rgba(255, 255, 255, 0.045);

    color: #e6dcc5;
}

.main-button:hover,
.secondary-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.main-button:active,
.secondary-button:active {
    transform: scale(0.98);
}

.main-button.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.game-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px;

    margin-top: 30px;

    color: #7e8b81;

    font-size: 11px;
}


/* =========================================================
   CREATION / REJOINDRE
========================================================= */

#creation,
#rejoindre {
    align-items: center;
    justify-content: center;

    padding: 30px;
}

.selection-container,
.join-container {
    position: relative;

    width: 100%;
    max-width: 850px;

    padding: 42px;

    background:
        linear-gradient(
            145deg,
            rgba(31, 48, 36, 0.98),
            rgba(12, 20, 15, 0.98)
        );

    border: 1px solid rgba(220, 185, 91, 0.16);
    border-radius: 24px;

    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.5);
}

.join-container {
    max-width: 780px;
    text-align: center;
}

.back-button {
    position: absolute;
    top: 18px;
    left: 18px;

    padding: 8px 12px;

    border: none;
    border-radius: 8px;

    background: rgba(255, 255, 255, 0.05);

    color: #aab5aa;

    font-size: 11px;

    cursor: pointer;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.09);
    color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 25px;
}

.section-title h2,
.join-container h2 {
    margin-top: 10px;

    color: #ead18a;

    font-size: 28px;
}

.section-title p,
.join-container > p {
    margin-top: 7px;

    color: #859287;

    font-size: 12px;
}

.join-container h3 {
    margin: 22px 0 12px;

    color: #b9c2b8;

    font-size: 12px;
}

.name-input,
.code-input {
    width: 100%;

    padding: 13px 15px;

    margin-bottom: 18px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 11px;

    outline: none;

    background: rgba(0, 0, 0, 0.22);

    color: #f0e8d6;

    font-size: 13px;
}

.name-input:focus,
.code-input:focus {
    border-color: rgba(220, 185, 91, 0.45);
}

.code-input {
    margin-top: 25px;

    text-align: center;

    font-size: 20px;
    font-weight: bold;
    letter-spacing: 4px;

    text-transform: uppercase;
}


/* =========================================================
   PERSONNAGES
========================================================= */

.characters {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 12px;

    margin-bottom: 22px;
}

.character-card {
    padding: 18px 10px;

    text-align: center;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.025)
        );

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 15px;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.character-card:hover {
    transform: translateY(-4px);

    border-color: rgba(220, 185, 91, 0.3);

    background:
        rgba(220, 185, 91, 0.07);
}

.character-card.selected {
    transform: translateY(-3px);

    border-color: #d3af52;

    background:
        linear-gradient(
            145deg,
            rgba(211, 175, 82, 0.15),
            rgba(255, 255, 255, 0.04)
        );

    box-shadow:
        0 0 0 2px rgba(211, 175, 82, 0.1),
        0 10px 30px rgba(0, 0, 0, 0.25);
}

.character-icon {
    width: 72px;
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 10px;

    border-radius: 15px;

    background: rgba(0, 0, 0, 0.18);

    font-size: 38px;
}

.character-card h3 {
    margin-bottom: 7px;

    color: #eee5d1;

    font-size: 12px;
    letter-spacing: 0.5px;
}

.character-card p {
    min-height: 32px;

    margin-bottom: 8px;

    color: #849187;

    font-size: 9px;
    line-height: 1.4;
}

.character-card strong {
    color: #d8b861;

    font-size: 10px;
}

.small-characters {
    grid-template-columns: repeat(4, 1fr);
}

.small-characters .character-card {
    padding: 12px 8px;
}

.small-characters .character-icon {
    width: 55px;
    height: 55px;

    font-size: 29px;
}

.index-message {
    min-height: 20px;

    margin-top: 15px;

    color: #d49384;

    font-size: 11px;
}


/* =========================================================
   PAGE DE JEU
========================================================= */

.game-page {
    width: 100%;
    max-width: 1450px;

    margin: 0 auto;

    padding: 20px;
}


/* =========================================================
   HEADER JEU
========================================================= */

.game-header {
    min-height: 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 18px 24px;
    margin-bottom: 18px;

    background:
        linear-gradient(
            135deg,
            rgba(35, 54, 40, 0.98),
            rgba(18, 29, 23, 0.98)
        );

    border: 1px solid rgba(202, 164, 78, 0.25);
    border-radius: 18px;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.game-logo {
    font-size: 25px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #e8c96c;
}

.game-logo span {
    color: #f3eee1;
}

.partie-code {
    margin-top: 7px;

    color: #9fae9f;

    font-size: 13px;
}

.partie-code strong {
    color: #e8c96c;
    letter-spacing: 2px;
}

.turn-display,
.player-display {
    min-width: 130px;

    padding: 10px 18px;

    text-align: center;

    border-radius: 12px;

    background: rgba(0, 0, 0, 0.2);
}

.turn-display span,
.player-display span {
    display: block;

    margin-bottom: 4px;

    color: #9da99e;

    font-size: 10px;
    letter-spacing: 1.5px;
}

.turn-display strong,
.player-display strong {
    color: #f0d47d;
    font-size: 18px;
}


/* =========================================================
   RESSOURCES
========================================================= */

.resources {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 14px;

    margin-bottom: 18px;
}

.resource-card {
    min-height: 75px;

    display: flex;
    align-items: center;

    gap: 13px;

    padding: 12px 18px;

    background:
        linear-gradient(
            145deg,
            rgba(37, 55, 42, 0.96),
            rgba(19, 30, 24, 0.96)
        );

    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 15px;

    box-shadow:
        0 7px 20px rgba(0, 0, 0, 0.22);
}

.resource-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 12px;

    background: rgba(255, 255, 255, 0.05);

    font-size: 27px;
}

.resource-card small {
    display: block;

    margin-bottom: 3px;

    color: #89978c;

    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1.2px;
}

.resource-card strong {
    color: #f2d77e;
    font-size: 22px;
}


/* =========================================================
   LAYOUT
========================================================= */

.game-layout {
    display: grid;

    grid-template-columns:
        minmax(280px, 0.9fr)
        minmax(380px, 1.4fr);

    gap: 18px;
}


/* =========================================================
   PANELS
========================================================= */

.panel {
    padding: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(30, 45, 35, 0.98),
            rgba(15, 24, 19, 0.98)
        );

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.panel-title {
    display: flex;
    align-items: center;
    gap: 9px;

    padding-bottom: 13px;
    margin-bottom: 15px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.panel-title span {
    font-size: 20px;
}

.panel-title h2 {
    color: #ead18a;

    font-size: 14px;
    letter-spacing: 1.5px;
}


/* =========================================================
   JOUEURS
========================================================= */

.player-card {
    padding: 13px;
    margin-bottom: 10px;

    background: rgba(255, 255, 255, 0.035);

    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 13px;
}

.player-top {
    display: flex;
    align-items: center;

    gap: 11px;
}

.player-avatar {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    overflow: hidden;

    border-radius: 13px;

    background:
        radial-gradient(
            circle,
            rgba(220, 185, 91, 0.12),
            rgba(0, 0, 0, 0.2)
        );
}

.player-avatar img {
    width: 54px;
    height: 54px;

    object-fit: contain;

    transition: transform 0.2s ease;
}

.player-card:hover .player-avatar img {
    transform: scale(1.08);
}

.player-top strong {
    display: block;

    color: #f2e8ce;

    font-size: 14px;
}

.player-top span {
    display: block;

    margin-top: 3px;

    color: #8f9d92;

    font-size: 11px;
}

.player-number {
    margin-left: auto;

    padding: 5px 8px;

    border-radius: 7px;

    background: rgba(220, 184, 88, 0.12);

    color: #e1c36e;

    font-size: 10px;
    font-weight: bold;
}

.health-line {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-top: 11px;

    color: #9ca89e;

    font-size: 10px;
}

.health-bar {
    height: 8px;

    flex: 1;

    overflow: hidden;

    background: rgba(0, 0, 0, 0.35);

    border-radius: 10px;
}

.health-fill {
    height: 100%;

    background: #75a95d;

    border-radius: 10px;

    transition: width 0.3s ease;
}

.player-status {
    margin-top: 8px;

    color: #7fa46b;

    font-size: 10px;
    font-weight: bold;
}

.waiting-player {
    margin-top: 10px;
    padding: 12px;

    text-align: center;

    color: #9da99e;

    background: rgba(255, 255, 255, 0.025);

    border: 1px dashed rgba(255, 255, 255, 0.08);
    border-radius: 10px;

    font-size: 10px;
}


/* =========================================================
   VILLAGE
========================================================= */

.village-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 10px;
}

.building-card {
    display: flex;
    align-items: center;

    gap: 10px;

    padding: 10px;

    border-radius: 12px;

    background: rgba(255, 255, 255, 0.035);

    border: 1px solid rgba(255, 255, 255, 0.06);

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.building-card:hover {
    transform: translateY(-2px);

    background: rgba(255, 255, 255, 0.06);

    border-color: rgba(220, 185, 91, 0.18);
}

.building-card.destroyed {
    opacity: 0.45;

    filter: grayscale(0.8);
}

.building-icon {
    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 12px;

    background: rgba(0, 0, 0, 0.14);
}

.building-icon img {
    width: 65px;
    height: 65px;

    object-fit: contain;

    transition: transform 0.2s ease;
}

.building-card:hover .building-icon img {
    transform: scale(1.08);
}

.building-info {
    min-width: 0;

    flex: 1;
}

.building-info strong {
    display: block;

    color: #e2dac5;

    font-size: 11px;
}

.building-info span {
    display: block;

    margin-top: 4px;

    color: #8c998f;

    font-size: 9px;
}

.building-bar {
    height: 5px;

    margin-top: 6px;

    overflow: hidden;

    background: rgba(0, 0, 0, 0.35);

    border-radius: 10px;
}

.building-bar div {
    height: 100%;

    background: #719c5b;

    border-radius: 10px;

    transition: width 0.3s ease;
}


/* =========================================================
   ACTIONS
========================================================= */

.action-help {
    margin-bottom: 13px;

    color: #8f9c91;

    font-size: 11px;
    line-height: 1.5;
}

.actions {
    display: flex;
    flex-direction: column;

    gap: 9px;
}

.action-button {
    width: 100%;

    display: flex;
    align-items: center;

    gap: 13px;

    padding: 12px;

    color: #eee7d8;

    text-align: left;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.025)
        );

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 13px;

    cursor: pointer;

    transition:
        transform 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease;
}

.action-button:hover:not(:disabled) {
    transform: translateX(3px);

    background:
        linear-gradient(
            135deg,
            rgba(211, 174, 82, 0.13),
            rgba(255, 255, 255, 0.045)
        );

    border-color: rgba(220, 185, 91, 0.28);
}

.action-button:active:not(:disabled) {
    transform: scale(0.98);
}

.action-button:disabled,
.action-button.disabled {
    opacity: 0.4;

    cursor: not-allowed;

    transform: none;
}

.action-image {
    width: 52px;
    height: 52px;

    object-fit: contain;

    flex-shrink: 0;
}

.action-button:hover .action-image {
    transform: scale(1.08);
}

.action-button strong {
    display: block;

    margin-bottom: 4px;

    color: #e9e1cf;

    font-size: 12px;
}

.action-button small {
    display: block;

    color: #849187;

    font-size: 10px;
}

.waiting-message {
    margin-top: 13px;
    padding: 10px;

    text-align: center;

    color: #b5a979;

    background: rgba(202, 164, 78, 0.07);

    border: 1px solid rgba(202, 164, 78, 0.12);
    border-radius: 10px;

    font-size: 10px;
}


/* =========================================================
   JOURNAL
========================================================= */

.journal-panel {
    grid-column: 1 / -1;
}

.journal {
    max-height: 190px;

    overflow-y: auto;

    padding: 8px;

    border-radius: 11px;

    background: rgba(0, 0, 0, 0.16);
}

.journal div {
    padding: 8px 9px;

    color: #aab4aa;

    border-bottom: 1px solid rgba(255, 255, 255, 0.045);

    font-size: 11px;
    line-height: 1.4;
}

.journal div:last-child {
    border-bottom: none;
}


/* =========================================================
   MODALES
========================================================= */

.modal {
    position: fixed;

    inset: 0;

    z-index: 1000;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.72);

    backdrop-filter: blur(5px);
}

.modal.visible,
.modal.active {
    display: flex;
}

.modal-content {
    position: relative;

    width: 100%;
    max-width: 500px;

    padding: 25px;

    background:
        linear-gradient(
            145deg,
            #24372a,
            #121d17
        );

    border: 1px solid rgba(220, 185, 91, 0.2);
    border-radius: 18px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.55);
}

.modal-content h2 {
    margin-bottom: 8px;

    color: #e8ca70;

    font-size: 20px;
    letter-spacing: 1px;
}

.modal-content p {
    margin-bottom: 17px;

    color: #89968d;

    font-size: 12px;
}

.modal-close {
    position: absolute;

    top: 12px;
    right: 15px;

    width: 32px;
    height: 32px;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.06);

    color: #b8c0b8;

    font-size: 21px;

    cursor: pointer;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.12);

    color: white;
}


/* =========================================================
   CONSTRUCTION
========================================================= */

.build-option {
    width: 100%;

    display: flex;
    align-items: center;

    gap: 14px;

    margin-bottom: 9px;

    padding: 12px;

    color: #eee7d8;

    text-align: left;

    background: rgba(255, 255, 255, 0.04);

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 13px;

    cursor: pointer;

    transition:
        transform 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease;
}

.build-option:hover {
    transform: translateX(3px);

    background: rgba(211, 174, 82, 0.09);

    border-color: rgba(220, 185, 91, 0.25);
}

.build-image {
    width: 60px;
    height: 60px;

    object-fit: contain;

    flex-shrink: 0;
}

.build-option strong {
    display: block;

    margin-bottom: 5px;

    color: #e8dfcc;

    font-size: 12px;
}

.build-option small {
    display: block;

    color: #89968d;

    font-size: 10px;
}


/* =========================================================
   FIN DE PARTIE
========================================================= */

.end-content {
    text-align: center;
}

.end-icon {
    margin-bottom: 10px;

    font-size: 55px;
}

.end-content h2 {
    font-size: 25px;
}

.end-content p {
    margin-top: 8px;
}

.final-score {
    margin: 20px 0;

    padding: 15px;

    border-radius: 12px;

    background: rgba(0, 0, 0, 0.2);

    color: #aeb8ad;

    font-size: 13px;
}

.final-score strong {
    display: block;

    margin-top: 5px;

    color: #e8ca70;

    font-size: 30px;
}


/* =========================================================
   NOTIFICATION
========================================================= */

.notification {
    position: fixed;

    right: 20px;
    bottom: 20px;

    z-index: 2000;

    max-width: 350px;

    padding: 13px 17px;

    opacity: 0;

    pointer-events: none;

    background: #25372b;

    border: 1px solid rgba(220, 185, 91, 0.25);
    border-radius: 11px;

    color: #e9e1cf;

    font-size: 11px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.35);

    transform: translateY(10px);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.notification.visible,
.notification.show {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   CHARGEMENT
========================================================= */

.loading {
    padding: 25px;

    text-align: center;

    color: #78857b;

    font-size: 11px;
}


/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
    background: rgba(210, 176, 87, 0.35);

    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(210, 176, 87, 0.55);
}


/* =========================================================
   TABLETTE
========================================================= */

@media (max-width: 900px) {

    .characters,
    .small-characters {
        grid-template-columns: repeat(2, 1fr);
    }

    .game-header {
        flex-wrap: wrap;
    }

    .game-header > div:first-child {
        width: 100%;
    }

    .turn-display,
    .player-display {
        flex: 1;
    }

    .resources {
        grid-template-columns: repeat(2, 1fr);
    }

    .game-layout {
        grid-template-columns: 1fr;
    }

    .journal-panel {
        grid-column: auto;
    }
}


/* =========================================================
   TELEPHONE
========================================================= */

@media (max-width: 600px) {

    #accueil,
    #creation,
    #rejoindre {
        padding: 15px;
    }

    .home-content {
        padding: 40px 22px;
        border-radius: 20px;
    }

    .home-content h1 {
        font-size: 44px;
    }

    .subtitle {
        font-size: 15px;
    }

    .selection-container,
    .join-container {
        padding: 38px 18px 22px;

        border-radius: 18px;
    }

    .characters,
    .small-characters {
        grid-template-columns: 1fr 1fr;

        gap: 8px;
    }

    .character-card {
        padding: 13px 7px;
    }

    .character-icon {
        width: 55px;
        height: 55px;

        font-size: 29px;
    }

    .game-page {
        padding: 10px;
    }

    .game-header {
        padding: 15px;

        border-radius: 14px;
    }

    .game-logo {
        font-size: 19px;
    }

    .turn-display,
    .player-display {
        min-width: 0;

        padding: 8px;
    }

    .resources {
        grid-template-columns: 1fr 1fr;

        gap: 8px;
    }

    .resource-card {
        min-height: 65px;

        padding: 9px;

        gap: 8px;
    }

    .resource-icon {
        width: 38px;
        height: 38px;

        font-size: 20px;
    }

    .resource-card strong {
        font-size: 17px;
    }

    .panel {
        padding: 13px;

        border-radius: 14px;
    }

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

    .building-icon {
        width: 65px;
        height: 65px;
    }

    .building-icon img {
        width: 60px;
        height: 60px;
    }

    .action-image {
        width: 45px;
        height: 45px;
    }

    .modal-content {
        padding: 20px;
    }
}


/* =========================================================
   PETITS ECRANS
========================================================= */

@media (max-width: 400px) {

    .home-content h1 {
        font-size: 37px;
    }

    .game-header {
        gap: 8px;
    }

    .game-logo {
        font-size: 16px;
    }

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

    .characters,
    .small-characters {
        grid-template-columns: 1fr;
    }
}