cat > /srv/virtuals/lore.eeree.eu/app/public/assets/css/style.css <<'CSS'
* {
    box-sizing: border-box;
}

:root {
    --bg: #09090c;
    --panel: #121016;
    --panel-2: #19151f;
    --gold: #c8a35a;
    --gold-light: #e1c07b;
    --text: #eee5d2;
    --muted: #958d7e;
    --border: rgba(200, 163, 90, 0.25);
    --danger: #d86f6f;
}

html {
    min-height: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;

    width: 100%;
    min-height: 100vh;
    height: auto;

    overflow-x: hidden;
    overflow-y: auto;

    background:
        radial-gradient(
            circle at 50% -20%,
            #35263d 0%,
            #18131d 30%,
            #09090c 65%
        );

    color: var(--text);

    font-family:
        Georgia,
        "Times New Roman",
        serif;
}

.game-body {
    width: 100%;
    height: 100vh;
    min-height: 0;

    overflow: hidden;
}
a {
    color: var(--gold-light);
    text-decoration: none;
}

a:hover {
    color: #f0d79c;
}

/* LOGIN / REGISTER */

.auth-page {
    min-height: 100vh;

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

    padding: 40px 20px;
}

.auth-card {
    width: 100%;
    max-width: 520px;

    padding: 52px;

    text-align: center;

    background:
        linear-gradient(
            145deg,
            rgba(25, 21, 30, 0.97),
            rgba(11, 10, 14, 0.98)
        );

    border: 1px solid var(--border);
    border-radius: 12px;

    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.6),
        inset 0 0 80px rgba(200, 163, 90, 0.025);
}

.rune {
    margin-bottom: 18px;

    font-size: 52px;

    color: var(--gold);
}

.eyebrow {
    display: block;

    color: var(--gold);

    font-family: Arial, sans-serif;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.28em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    font-weight: 400;
}

.auth-card h1 {
    margin: 12px 0 10px;

    font-size: 42px;
}

.intro {
    margin-bottom: 35px;

    color: var(--muted);

    line-height: 1.6;
}

form {
    text-align: left;
}

label {
    display: block;

    margin-bottom: 18px;

    color: #b7ae9d;

    font-family: Arial, sans-serif;
    font-size: 12px;

    letter-spacing: 0.06em;
}

input,
select,
textarea {
    width: 100%;

    margin-top: 8px;
    padding: 14px 15px;

    border: 1px solid rgba(255,255,255,.09);
    border-radius: 5px;

    background: #0a090d;

    color: #fff;

    outline: none;

    font-size: 15px;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--gold);

    box-shadow: 0 0 0 2px rgba(200,163,90,.1);
}

button,
.button {
    display: inline-flex;

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

    min-height: 48px;

    padding: 0 24px;

    border: 1px solid #d4ad62;
    border-radius: 4px;

    background:
        linear-gradient(
            180deg,
            #c59d54,
            #967239
        );

    color: #0b0906;

    font-family: Arial, sans-serif;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform .15s ease,
        filter .15s ease;
}

button:hover,
.button:hover {
    color: #0b0906;

    filter: brightness(1.12);

    transform: translateY(-1px);
}

.button.secondary {
    background: transparent;

    color: var(--gold-light);
}

form button {
    width: 100%;

    margin-top: 10px;
}

.auth-link {
    margin: 28px 0 0;

    color: var(--muted);

    font-family: Arial, sans-serif;
    font-size: 13px;
}

.alert {
    margin-bottom: 24px;
    padding: 12px 15px;

    border: 1px solid rgba(216, 111, 111, .35);
    border-radius: 5px;

    background: rgba(216, 111, 111, .08);

    color: #efa6a6;

    font-family: Arial, sans-serif;
    font-size: 13px;
}


/* DASHBOARD */

.dashboard {
    width: min(1200px, calc(100% - 40px));

    min-height: 100vh;
    height: auto;

    margin: 0 auto;

    padding: 40px 0 100px;

    overflow: visible;
}

.topbar {
    display: flex;

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

    padding-bottom: 25px;

    border-bottom: 1px solid var(--border);
}

.topbar h1 {
    margin: 7px 0 0;

    font-size: 34px;
}

.player {
    display: flex;

    align-items: center;

    gap: 18px;

    font-family: Arial, sans-serif;

    color: #bbb2a1;
}

.player a {
    font-size: 12px;
}

.welcome {
    max-width: 760px;

    margin: 85px auto 65px;

    text-align: center;
}

.welcome h2 {
    margin: 14px 0;

    font-size: clamp(38px, 6vw, 64px);
}

.welcome p {
    max-width: 600px;

    margin: auto;

    color: var(--muted);

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


/* CAMPAIGN CARDS */

.campaign-actions {
    display: grid;

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

    gap: 24px;
}

.campaign-card {
    padding: 38px;

    border: 1px solid var(--border);
    border-radius: 8px;

    background:
        linear-gradient(
            145deg,
            rgba(25, 21, 30, .88),
            rgba(11, 10, 14, .97)
        );

    box-shadow:
        0 20px 60px rgba(0,0,0,.25);
}

.card-icon {
    font-size: 38px;

    color: var(--gold);
}

.campaign-card h3 {
    margin: 20px 0 10px;

    font-size: 28px;
}

.campaign-card p {
    min-height: 52px;

    margin-bottom: 25px;

    color: var(--muted);

    line-height: 1.6;
}


/* MY CAMPAIGNS */

.my-campaigns {
    margin-top: 70px;
}

.my-campaigns h2 {
    margin: 10px 0 25px;

    font-size: 32px;
}

.campaign-list {
    display: grid;

    gap: 12px;
}

.campaign-list-item {
    display: flex;

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

    padding: 20px 22px;

    border: 1px solid var(--border);
    border-radius: 6px;

    background: rgba(18,16,22,.8);

    color: var(--text);
}

.campaign-list-item:hover {
    border-color: rgba(200,163,90,.6);

    background: rgba(26,22,31,.95);
}

.campaign-list-item div {
    display: flex;

    flex-direction: column;

    gap: 6px;
}

.campaign-list-item strong {
    font-size: 19px;
}

.campaign-list-item span {
    color: var(--muted);

    font-family: Arial, sans-serif;
    font-size: 12px;
}


/* CAMPAIGN LOBBY */

.lobby-welcome {
    margin-bottom: 50px;
}

.invite-code {
    display: inline-block;

    margin-top: 25px;
    padding: 16px 30px;

    border: 1px solid var(--gold);
    border-radius: 5px;

    background: rgba(200, 163, 90, .06);

    color: var(--gold-light);

    font-family: Arial, sans-serif;

    font-size: 30px;
    font-weight: 700;

    letter-spacing: .25em;

    user-select: all;
}

.party-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}

.party-card {
    position: relative;

    min-height: 270px;

    padding: 32px;

    border: 1px solid var(--border);
    border-radius: 8px;

    background:
        linear-gradient(
            145deg,
            rgba(25,21,30,.9),
            rgba(10,9,13,.97)
        );

    box-shadow:
        0 20px 60px rgba(0,0,0,.25);
}

.party-card.empty {
    opacity: .42;

    border-style: dashed;
}

.party-number {
    position: absolute;

    top: 20px;
    right: 24px;

    color: rgba(200,163,90,.18);

    font-size: 48px;
}

.party-card h3 {
    margin: 18px 0 25px;

    font-size: 30px;
}

.character-summary {
    display: flex;

    flex-direction: column;

    gap: 8px;

    margin-bottom: 25px;
}

.character-summary strong {
    color: var(--gold-light);

    font-size: 20px;
}

.character-summary span,
.waiting {
    color: var(--muted);

    font-family: Arial, sans-serif;
    font-size: 13px;
}

.waiting {
    margin-bottom: 25px;
}


/* RESPONSIVE */

@media (max-width: 850px) {

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

}

@media (max-width: 700px) {

    .campaign-actions {
        grid-template-columns: 1fr;
    }

    .auth-card {
        padding: 35px 25px;
    }

    .topbar {
        align-items: flex-start;

        flex-direction: column;

        gap: 20px;
    }

    .welcome {
        margin-top: 55px;
    }

}

/* CHARACTER CREATOR */

.character-creator {
    max-width: 1100px;
}

.character-form {
    margin-top: 55px;
}

.creator-section {
    margin-bottom: 55px;

    padding: 38px;

    border: 1px solid var(--border);
    border-radius: 8px;

    background:
        linear-gradient(
            145deg,
            rgba(25,21,30,.86),
            rgba(10,9,13,.96)
        );
}

.creator-section h2 {
    margin: 10px 0 30px;

    font-size: 34px;
}

.creator-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}

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

.creator-help {
    margin: -15px 0 30px;

    color: var(--muted);

    line-height: 1.6;
}

.creator-help strong {
    color: var(--gold-light);
}

.stats-grid {
    display: grid;

    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    gap: 12px;
}

.stat-card {
    margin: 0;
    padding: 20px 12px;

    text-align: center;

    border: 1px solid rgba(200,163,90,.18);
    border-radius: 6px;

    background: rgba(0,0,0,.18);
}

.stat-card span {
    display: block;

    min-height: 28px;

    color: var(--gold-light);

    font-size: 11px;
    font-weight: bold;

    text-transform: uppercase;
}

.stat-card select {
    margin-top: 12px;

    text-align: center;

    font-family: Georgia, serif;
    font-size: 22px;
}

textarea {
    resize: vertical;

    min-height: 150px;

    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.creator-submit {
    display: flex;

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

    gap: 30px;

    padding: 28px 32px;

    border-top: 1px solid var(--border);

    color: var(--muted);

    font-style: italic;
}

.creator-submit button {
    width: auto;

    margin: 0;

    min-width: 210px;
}

@media (max-width: 900px) {

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

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

    .creator-grid-two {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 550px) {

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

    .creator-section {
        padding: 25px 20px;
    }

    .creator-submit {
        align-items: stretch;

        flex-direction: column;
    }

    .creator-submit button {
        width: 100%;
    }

}

/* GAME */

.game-start {
    margin-top: 55px;
    text-align: center;
}

.game-start form {
    text-align: center;
}

.game-start-button {
    min-width: 260px;
    min-height: 58px;
    font-size: 15px;
}

.game-body {
    overflow: hidden;
}

.game-layout {
    display: grid;

    grid-template-columns:
        280px minmax(0, 1fr) 280px;

    width: 100%;
    height: 100vh;
    min-height: 0;

    overflow: hidden;
}

.game-party,
.character-sheet-mini {
    min-height: 0;

    overflow-x: hidden;
    overflow-y: auto;

    padding: 28px 22px;

    background: rgba(10, 9, 13, .97);
}

.game-party {
    border-right: 1px solid var(--border);
}

.character-sheet-mini {
    border-left: 1px solid var(--border);
}

.game-logo {
    margin-bottom: 32px;
}

.game-logo h2 {
    margin: 7px 0 0;
    font-size: 24px;
}

.game-character {
    margin-bottom: 15px;
    padding: 20px;

    border: 1px solid rgba(255,255,255,.07);
    border-radius: 7px;

    background: rgba(255,255,255,.025);
}

.game-character.mine {
    border-color: rgba(200,163,90,.55);
}

.game-character h3 {
    margin: 8px 0;
    font-size: 22px;
}

.character-meta {
    color: var(--muted);
    font-size: 12px;
}

.hp-row {
    display: flex;
    justify-content: space-between;

    margin-top: 18px;

    font-family: Arial, sans-serif;
    font-size: 12px;
}

.hp-bar {
    height: 5px;

    margin-top: 8px;

    overflow: hidden;

    border-radius: 10px;

    background: rgba(255,255,255,.08);
}

.hp-bar span {
    display: block;
    height: 100%;

    background: #a94e4e;
}

.character-small-stats {
    display: flex;
    justify-content: space-between;

    margin-top: 15px;

    color: var(--muted);

    font-family: Arial, sans-serif;
    font-size: 11px;
}

.character-small-stats strong {
    color: var(--text);
}

.game-back {
    display: block;

    margin-top: 30px;

    font-family: Arial, sans-serif;
    font-size: 12px;
}

.story-panel {
    display: flex;
    flex-direction: column;

    width: 100%;
    height: 100vh;

    min-width: 0;
    min-height: 0;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 0,
            rgba(65,44,73,.28),
            transparent 40%
        ),
        #0d0c11;
}

.story-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 92px;

    padding: 20px 32px;

    border-bottom: 1px solid var(--border);
}

.story-header h1 {
    margin: 5px 0 0;
    font-size: 28px;
}

.story-status {
    color: #6dca83;

    font-family: Arial, sans-serif;
    font-size: 11px;

    letter-spacing: .15em;
}

.story-feed {
    flex: 1 1 0;

    width: 100%;
    min-width: 0;
    min-height: 0;

    overflow-x: hidden;
    overflow-y: scroll;

    overscroll-behavior: contain;

    padding: 40px max(35px, 8%);
}

.story-loading {
    color: var(--muted);

    text-align: center;
    font-style: italic;
}

.story-message {
    max-width: 820px;

    margin: 0 auto 32px;
}

.story-message-header {
    display: flex;
    justify-content: space-between;

    margin-bottom: 8px;

    font-family: Arial, sans-serif;
    font-size: 11px;
}

.story-message-header strong {
    color: var(--gold);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.story-message-header span {
    color: #665f56;
}

.story-message-content {
    color: #ddd3c0;

    font-size: 17px;
    line-height: 1.75;

    white-space: pre-wrap;
}

.story-player {
    padding-left: 22px;

    border-left: 2px solid rgba(200,163,90,.3);
}

.story-player .story-message-content {
    color: #aaa294;
    font-style: italic;
}

.story-lore_master {
    padding: 25px 28px;

    border: 1px solid rgba(200,163,90,.16);
    border-radius: 6px;

    background: rgba(200,163,90,.025);
}

.story-lore_master .story-message-content {
    color: #eee1ca;
}

.story-composer {
    padding: 20px 30px 26px;

    border-top: 1px solid var(--border);

    background: rgba(8,7,10,.97);
}

.composer-character {
    display: flex;
    gap: 6px;

    margin-bottom: 10px;

    color: var(--muted);

    font-family: Arial, sans-serif;
    font-size: 11px;
}

.composer-character strong {
    color: var(--gold-light);
}

.story-composer form {
    display: flex;
    align-items: flex-end;

    gap: 12px;
}

.story-composer textarea {
    min-height: 60px;
    max-height: 140px;

    margin: 0;

    resize: none;
}

.story-composer button {
    width: auto;
    min-width: 145px;

    margin: 0;
}

.character-sheet-mini h2 {
    margin: 8px 0 28px;

    font-size: 28px;
}

.mini-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 8px;
}

.mini-stats div {
    padding: 14px 8px;

    text-align: center;

    border: 1px solid rgba(255,255,255,.07);
}

.mini-stats span {
    display: block;

    color: var(--muted);

    font-family: Arial, sans-serif;
    font-size: 9px;
}

.mini-stats strong {
    display: block;

    margin-top: 5px;

    color: var(--gold-light);
    font-size: 22px;
}

.mini-info {
    display: grid;
    gap: 10px;

    margin-top: 25px;
}

.mini-info span {
    display: flex;
    justify-content: space-between;

    padding-bottom: 10px;

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

    color: var(--muted);

    font-family: Arial, sans-serif;
    font-size: 12px;
}

.mini-info strong {
    color: var(--text);
}

@media (max-width: 1050px) {

    .game-layout {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .character-sheet-mini {
        display: none;
    }

}

@media (max-width: 700px) {

    .game-layout {
        display: block;
        height: auto;
    }

    .game-party {
        display: none;
    }

    .story-panel {
        min-height: 100vh;
    }

    .story-composer form {
        flex-direction: column;
    }

    .story-composer button {
        width: 100%;
    }

}
.story-feed::-webkit-scrollbar,
.game-party::-webkit-scrollbar,
.character-sheet-mini::-webkit-scrollbar {
    width: 8px;
}

.story-feed::-webkit-scrollbar-track,
.game-party::-webkit-scrollbar-track,
.character-sheet-mini::-webkit-scrollbar-track {
    background: rgba(255,255,255,.025);
}

.story-feed::-webkit-scrollbar-thumb,
.game-party::-webkit-scrollbar-thumb,
.character-sheet-mini::-webkit-scrollbar-thumb {
    background: rgba(200,163,90,.4);
    border-radius: 20px;
}

.story-feed::-webkit-scrollbar-thumb:hover {
    background: rgba(200,163,90,.65);
}

.enemy-section {
    margin: 35px 0;
}

.enemy-list {
    display: grid;
    gap: 10px;

    margin-top: 14px;
}

.enemy-card {
    padding: 14px;

    border: 1px solid rgba(180, 70, 70, .25);
    border-radius: 6px;

    background: rgba(100, 20, 20, .08);
}

.enemy-card strong {
    display: block;

    color: #e6b0a4;

    font-size: 15px;
}

.enemy-card span {
    display: block;

    margin-top: 5px;

    color: var(--muted);

    font-family: Arial, sans-serif;
    font-size: 10px;
}

.enemy-hp {
    height: 4px;

    margin-top: 10px;

    overflow: hidden;

    background: rgba(255,255,255,.07);

    border-radius: 5px;
}

.enemy-hp i {
    display: block;

    height: 100%;

    background: #a84949;

    transition: width .3s ease;
}

.no-enemies {
    color: var(--muted);

    font-family: Arial, sans-serif;
    font-size: 11px;

    font-style: italic;
}

.story-system {
    max-width: 820px;

    padding: 14px 18px;

    border: 1px solid rgba(201,165,92,.13);
    border-radius: 5px;

    background: rgba(201,165,92,.035);
}

.story-system .story-message-content {
    color: #c8b991;

    font-family: Arial, sans-serif;
    font-size: 13px;

    white-space: pre-line;
}

/* =========================================================
   CURRENT TURN
   ========================================================= */

.turn-indicator {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 48px;

    padding: 10px 20px;

    border-bottom:
        1px solid rgba(201, 165, 92, .18);

    background:
        rgba(10, 9, 13, .97);

    text-align: center;
}

.turn-indicator span {
    color: var(--muted);

    font-family:
        Arial,
        sans-serif;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: .18em;
}

.turn-indicator strong {
    color: #c9a55c;

    font-size: 17px;
}

.turn-indicator.my-turn {
    background:
        linear-gradient(
            90deg,
            rgba(201,165,92,.03),
            rgba(201,165,92,.14),
            rgba(201,165,92,.03)
        );
}

.turn-indicator.my-turn strong::after {
    content: " — TVŮJ TAH";

    color: #e6cf94;

    font-family:
        Arial,
        sans-serif;

    font-size: 10px;

    letter-spacing: .1em;
}

.story-panel textarea:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.story-panel button:disabled {
    opacity: .35;
    cursor: not-allowed;
}
