﻿html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    overscroll-behavior-x: none;
    touch-action: pan-y;
}


/* Links and default buttons */

a, .btn-link { color: #006bb7; }

.btn-primary {
    background-color: #1b6ec2;
    border-color: #1861ac;
    color: #fff;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus { box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb; }

/* Content */

.content { padding-top: 1.1rem; }

/* Avoid removing outlines entirely; keep focus visible */

h1:focus {
    outline: 2px solid #258cfb;
    outline-offset: 2px;
}

/* Validation */

.valid.modified:not([type=checkbox]) { outline: 1px solid #26b050; }

.invalid { outline: 1px solid #e50000; }

.validation-message { color: #e50000; }

/* Error boundary */

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    color: white;
    padding: 1rem 1rem 1rem 3.7rem;
}

.blazor-error-boundary::after { content: "An error has occurred."; }

/* Inputs */

.darker-border-checkbox.form-check-input { border-color: #929292; }

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder { text-align: start; }

/* Overall body styling */

body {
    background-color: lightgray;
    color: #2b2b2b;
    font-family: "Special Elite", system-ui;
    margin: 0;
}

body {
    background-image: url('background.png'); /* your file */
    background-size: cover; /* scale to fill screen */
    background-position: center bottom;
    background-repeat: no-repeat; /* avoid tiling */
    background-attachment: fixed; /* optional: nice parallax effect */
}

.game-guidance {
    position: absolute;
    width: 100%;
    height: 100%;
    color: #f7e8c5; /* warm deco ivory */
    background: radial-gradient(circle, rgba(60,40,20,0.95), rgba(30,20,10,0.95));
    padding: 1.5rem;
    font-size: min(4.4cqw, 21px);
    /* Art Deco frame */
    border: 3px solid #d4b46d;
    outline: 2px double #8c6e3c;
    border-radius: 6px;
    /* Slight letter spacing for period feel */
    letter-spacing: 0.03em;
    /* Soft inner glow */
    box-shadow: inset 0 0 20px rgba(0,0,0,0.6), 0 0 12px rgba(0,0,0,0.4);
    overflow-y: auto;
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #d4b46d rgba(0,0,0,0.3); /* Firefox */
    z-index: 100;
}

/* Chrome / Edge / WebKit */
.game-guidance::-webkit-scrollbar {
    width: 14px;
    background: transparent;
}

.game-guidance::-webkit-scrollbar-track {
    background: linear-gradient( to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0.15) );
    border-left: 2px solid #8c6e3c;
    border-right: 2px solid #8c6e3c;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.5), inset 0 0 3px rgba(0,0,0,0.4);
}

/* Deco thumb */
.game-guidance::-webkit-scrollbar-thumb {
    background: #d4b46d;
    border: 3px solid #3a2a15; /* dark inset frame */
    border-radius: 0;
    /* stepped deco shape */
    box-shadow: inset 0 0 0 2px #f7e8c5, inset 0 0 0 4px #d4b46d, 0 0 6px rgba(0,0,0,0.6);
}

.game-guidance::-webkit-scrollbar-thumb:hover {
    background: #e2c98a;
}

/* Optional: top & bottom “end caps” */
.game-guidance::-webkit-scrollbar-button:start,
.game-guidance::-webkit-scrollbar-button:end {
    height: 16px;
    background: linear-gradient( to bottom, #d4b46d, #8c6e3c );
    border: 2px solid #3a2a15;
    border-radius: 0;
}


.game-guidance pre {

    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.3;
    font-family: "Special Elite", "Garamond", serif;
    color: #f7e8c5;
}

/* Optional: Deco corner lines */
/*.game-guidance::before,
.game-guidance::after {
    content: "";
    position: absolute;
    width: 50px;
    height: 50px;
    border: 3px solid #d4b46d;
    border-radius: 2px;
}*/

.game-guidance::before {
    top: 8px;
    left: 8px;
    border-right: none;
    border-bottom: none;
}

.game-guidance::after {
    bottom: 8px;
    right: 8px;
    border-left: none;
    border-top: none;
}

/* Utility: visually hidden (for screen readers) */

.visually-hidden {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

/* Layout */

.col-content {
    padding: 6px;
    text-align: center;
}

/* Map container */

.map-container {
    aspect-ratio: 1/1;
    background-color: #e6ded2;
    border-bottom-right-radius: 0%;
    border-radius: 10px;
    border-top-left-radius: 0%;
    border-top-right-radius: 0%;
    opacity: 0.8;
    overflow: hidden;
    width: 45%;
}

.map-image {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

/* Scene title (unused?) */

.scene-title {
    color: #2b2b2b;
    font-family: 'Prata', cursive;
    font-size: 2rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 0 #e6ded2;
}

/* Info row */

.top-info {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    max-width: 600px;
    width: 90vw;
}

/* Clues */

.clues {
    background: rgba(0, 0, 0, 0.35); /* improved contrast */
    border-bottom-right-radius: 10px;
    color: #fff;
    display: block;
    font-size: min(3vw, 1.2rem);
    padding: 6px;
    position: absolute;
    text-align: center;
    top: 0%;
}

.mute {
    background: rgba(0, 0, 0, 0.35); /* improved contrast */
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    color: #fff;
    display: block;
    font-size: min(3vw, 1.2rem);
    padding: 6px;
    position: absolute;
    text-align: center;
    top: 0;
    width: 20%;
    height: 20%;
    max-width: 60px;
    max-height: 60px;
    left: 25%;
}

.mute button {
    background: url("speaker.png") center/contain no-repeat;
    width: 100%;
    height: 100%;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    /* Remove default button styles */
    background-color: transparent;
    outline: none;
    appearance: none;
}

.mute.muted button {
    opacity: 0.2;
}


.clues .cluetext {
    display: inline-block;
    padding-left: 3px;
}

/* Scene container */

.scene-container {
    aspect-ratio: 1/1;
    background-color: #e6ded2;
    background-image: url('library.png');
    background-position: center;
    background-size: cover;
    border: 3px solid #2b2b2b;
    border-radius: 10px;
    max-width: 600px;
    overflow: hidden;
    position: relative;
    text-align: left;
    width: 90vw;
}

/* Round table countdown overlay */

.round-table-countdown {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(60,40,20,0.97), rgba(20,10,5,0.97));
    border: 3px solid #d4b46d;
    outline: 2px double #8c6e3c;
    z-index: 200;
}

.round-table-countdown-inner {
    text-align: center;
    color: #f7e8c5;
    font-family: "Special Elite", "Garamond", serif;
    padding: 1rem;
    letter-spacing: 0.05em;
}

.round-table-countdown-title {
    font-size: min(8cqw, 2.4rem);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    border-bottom: 2px solid #d4b46d;
    padding-bottom: 0.4rem;
    margin-bottom: 0.4rem;
    color: #d4b46d;
    text-shadow: 0 0 12px rgba(212,180,109,0.5);
}

.round-table-countdown-subtitle {
    font-size: min(5cqw, 1.2rem);
    color: #c9b99a;
    margin-bottom: 0.6rem;
    text-transform: lowercase;
    letter-spacing: 0.1em;
}

.round-table-countdown-number {
    font-size: min(28cqw, 9rem);
    font-weight: bold;
    color: #f7e8c5;
    line-height: 1;
    text-shadow: 0 0 30px rgba(212,180,109,0.7), 0 0 60px rgba(212,180,109,0.3);
}

/* Map title (scene name) */

.map-title {
    background: rgba(0, 0, 0, 0.35); /* improved contrast */
    bottom: 0%;
    color: #fff;
    display: block;
    font-size: min(5vw, 2.2rem);
    padding-top: 3px;
    position: absolute;
    text-align: center;
    width: 100%;
}

/* Scene avatars within the scene container */

.scene-avatar-wrapper {
    bottom: 11%;
    left: 1%;
    position: absolute;
    width: 99%;
}

.scene-avatar-wrapper .others img {
    border-radius: 3px;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.others div {
    aspect-ratio: 2/3;
    background: none;
    border: 1px solid rgba(43, 43, 43, 255);
    margin: 1px;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    width: 8%;
}

/* Weapon / clue indicators */

.others div .weapon,
.others div .clue {
    align-items: center;
    border: none;
    display: flex;
    inset: 0;
    justify-content: center;
    opacity: 0.9;
    position: absolute;
    width: 100%;
    z-index: 10;
}

.others div .weapon { background: url("weapon.png") center 90%/70% no-repeat; }

.others div .clue { background: url("clue.png") center 90%/70% no-repeat; }

/* Player avatar within scene */

.scene-avatar-wrapper .player {
    border: 1px solid #2b2b2b;
    border-radius: 5px;
    float: left;
    width: 17%;
}

.scene-avatar-wrapper .player img {
    border-radius: 4px;
    object-fit: cover;
    width: 100%;
}

/* Avatar grids */

.avatars {
    align-items: end;
    background: rgba(44, 44, 44, 0.1);
    border-radius: 5px;
    bottom: 10%;
    display: grid;
    gap: 0.25rem;
    grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
    justify-items: left;
    left: 0;
    margin-bottom: 0.25rem;
    margin-top: 0.25rem;
    padding: 0.25rem;
    position: absolute;
    width: 100%;
}

.player-details .avatars {
    display: grid;
    gap: 0.25rem;
    grid-template-columns: repeat(auto-fit, minmax(30px, 1fr));
    position: relative;
}

/* Individual avatar */

.avatars img {
    aspect-ratio: 2/3;
    background-color: #fff;
    border: 1px solid #2b2b2b;
    border-radius: 5px;
    object-fit: cover;
    width: 100%;
}

/* Avatar wrapper */

.avatar-wrapper {
    aspect-ratio: 2/3;
    border: 1px solid #2b2b2b;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.avatar-wrapper.murderer { border: 1px solid red; }


.avatar-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden; /* keeps glow inside the box */
}

    .avatar-wrapper.murderer::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        border-radius: inherit;
        box-shadow: inset 0 0 0.75vw 0.15vw rgba(255, 0, 0, 0.65);
        
    }

.glow-content {
    position: relative;
    padding: 1rem;
    background: #111;
    z-index: 1;
}


/* Dead / banished / absent state */

.avatar-wrapper.dead,
.avatar-wrapper.banished,
.avatar-wrapper.absent {
    display: block;
    position: relative; /* required for pseudo-element overlay */
}

/* Overlay the appropriate status image over the avatar */
.avatar-wrapper.dead::after,
.avatar-wrapper.banished::after,
.avatar-wrapper.absent::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: 3;
    /* subtle darken so the overlay stands out */
    
}

.avatar-wrapper.dead::after { background-image: url("dead.png"); }
.avatar-wrapper.banished::after { background-image: url("banished.png"); }
.avatar-wrapper.absent::after { background-image: url("absent.png"); }

/* keep the underlying image slightly dimmed but remove grayscale filter */
    .avatar-wrapper.dead > img,
    .avatar-wrapper.banished > img,
    .avatar-wrapper.absent > img {
        display: flex;
        font-size: min(8cqw, 2rem);
    }

/* Avatar image */

.avatar-wrapper img {
    background-color: #fff;
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

/* Overlay + votes */

.avatar-overlay {
    align-items: center;
    border-radius: 5px;
    display: none;
    inset: 0;
    justify-content: center;
    position: absolute;
    z-index: 1;
}




.avatar-vote {
    align-items: center;
    background: rgba(256, 256, 256, 0.6);
    color: black;
    width: 60%;
    height: 40%;
    margin-top: 80%;
    margin-left: 20%;
    padding-top: 5px;
    display: flex;
    border-radius: 50%;
    font-size: min(2.5cqw, 16px);
    inset: 0;
    justify-content: center;
    position: absolute;
    z-index: 10;
}

/* Avatar text badge */

.avatar-text {
    backdrop-filter: blur(3px);
    background: rgba(0, 0, 0, 0.4);
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    bottom: 0;
    color: white;
    font-size: 0.75rem;
    left: 0;
    padding: 0.25rem 0;
    position: absolute;
    text-align: center;
    width: 100%;
}

.avatar-wrapper.murderer .avatar-text { color: red; }

/* Panel divider */

.left-panel { border-right: 4px double #6b5b4b; }

@media (max-width: 1199px) {
    .left-panel {
        border-bottom: 4px double #6b5b4b;
        border-right: none;
    }
}

/* Side panel for actions */

.side-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.nav-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

/* Action buttons (now real <button>s) */

.nav-button {
    align-items: center;
    all: unset; /* remove all default button styling */
    aspect-ratio: 3/2;
    background-color: #f4f0e6;
    border: 2px solid #2b2b2b;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 200px;
    justify-content: space-between;
    overflow: hidden;
    transition: all 0.2s ease;
    width: 120px;
}


.nav-button:hover {
    background-color: #e6ded2;
    transform: scale(1.03);
}

/* Disabled state: class and attribute */

.nav-button.disabled,
.nav-button:disabled {
    background-color: #f4f0e6;
    cursor: default;
    opacity: 0.3;
    pointer-events: none;
    transform: none;
}

/* Clear default button focus outline and replace with consistent one */

.nav-button:focus-visible {
    outline: 3px solid #000;
    outline-offset: 3px;
}

/* Action icons */


/* ── Mobile Command Bar ─────────────────────────────────────────────
   Bootstrap's d-sm-none on the pill handles desktop hiding via
   display:none !important — no custom media query needed for that.
   The tray/backdrop/buttons are always-styled since they only exist
   in the DOM on mobile (they're inside an @if(_expanded) block that
   is only reachable from the mobile pill).
   ────────────────────────────────────────────────────────────────── */

/* Tray animation — must be at root level, not inside @media */
@keyframes mob-tray-rise {
    from { opacity: 0; transform: translateY(100%); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Backdrop */
.mob-cmd-backdrop {
    background: rgba(20, 12, 5, 0.55);
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 900;
}

/* Sliding tray */
.mob-cmd-tray {
    animation: mob-tray-rise 0.22s ease-out both;
    background: radial-gradient(circle at bottom, rgba(55, 38, 18, 0.97), rgba(28, 18, 8, 0.97));
    border-top: 2px solid #d4b46d;
    bottom: 48px;
    left: 0;
    max-height: 80vh;
    outline: 1px solid #8c6e3c;
    overflow-y: auto;
    position: fixed;
    right: 0;
    scrollbar-color: #d4b46d rgba(0, 0, 0, 0.3);
    scrollbar-width: thin;
    z-index: 901;
}

.mob-cmd-tray-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    padding: 0.9rem 0.75rem 1rem;
}

/* Compact command buttons */
.mob-cmd-btn {
    align-items: center;
    all: unset;
    background-color: #f4f0e6;
    border: 2px solid #2b2b2b;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    font-family: "Special Elite", system-ui;
    justify-content: space-between;
    overflow: hidden;
    transition: background-color 0.15s ease, transform 0.15s ease;
    width: 80px;
}

.mob-cmd-btn img {
    aspect-ratio: 1 / 1;
    background-color: #fff;
    border-bottom: 2px solid #2b2b2b;
    object-fit: cover;
    object-position: top;
    width: 100%;
}

.mob-cmd-btn span {
    color: #2b2b2b;
    font-size: 0.7rem;
    padding: 0.2rem 0.1rem;
    text-align: center;
    width: 100%;
}

.mob-cmd-btn:hover,
.mob-cmd-btn:focus-visible {
    background-color: #e6ded2;
    transform: scale(1.05);
}

.mob-cmd-btn.active {
    background-color: #d4b46d;
    border-color: #8c6e3c;
}

.mob-cmd-btn.disabled,
.mob-cmd-btn:disabled {
    cursor: default;
    opacity: 0.3;
    pointer-events: none;
    transform: none;
}

/* Pinned pill bar — Bootstrap d-sm-none hides this above 575px */
.mob-cmd-pill {
    align-items: stretch;
    background: linear-gradient(to top, rgba(28, 18, 8, 0.97), rgba(50, 35, 15, 0.95));
    border-top: 2px solid #d4b46d;
    bottom: 0;
    display: flex;
    height: 48px;
    left: 0;
    position: fixed;
    right: 0;
    z-index: 902;
}

.mob-cmd-toggle {
    all: unset;
    color: #f7e8c5;
    cursor: pointer;
    display: flex;
    align-items: center;
    flex: 1;
    font-family: "Special Elite", system-ui;
    font-size: 0.85rem;
    gap: 0.5rem;
    justify-content: center;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: background 0.15s ease;
}

.mob-cmd-toggle:hover,
.mob-cmd-toggle:focus-visible {
    background: rgba(212, 180, 109, 0.12);
}

/* CSS-only chevron */
.mob-cmd-arrow {
    border-color: #d4b46d;
    border-style: solid;
    border-width: 0 2px 2px 0;
    display: inline-block;
    height: 10px;
    transition: transform 0.2s ease;
    width: 10px;
}

.mob-cmd-arrow.up   { transform: rotate(-135deg) translateY(3px); }
.mob-cmd-arrow.down { transform: rotate(45deg) translateY(-3px); }

.mob-cmd-pill-icon {
    transition: transform 0.3s ease;
    aspect-ratio: 1 / 1;
    height: 70%;
    width: auto;
}

.mob-cmd-pill-icon.open {
    transform: rotate(180deg);
}

/* Extra body padding on mobile so content isn't hidden behind the pill */
@media (max-width: 575.98px) {
    body { padding-bottom: 52px; }
}

@keyframes mob-cmd-pill-glow {
    0%, 100% { box-shadow: 0 -2px 10px 2px rgba(212, 180, 109, 0.15); border-top-color: #d4b46d; }
    50%       { box-shadow: 0 -4px 22px 6px rgba(212, 180, 109, 0.65); border-top-color: #f7e0a0; }
}

@keyframes mob-cmd-label-glow {
    0%, 100% { color: #f7e8c5; text-shadow: none; }
    50%       { color: #fff8e1; text-shadow: 0 0 8px rgba(247, 224, 160, 0.9), 0 0 18px rgba(212, 180, 109, 0.6); }
}

.mob-cmd-pill--pulse {
    animation: mob-cmd-pill-glow 1.8s ease-in-out infinite;
}

.mob-cmd-pill--pulse .mob-cmd-pill-label {
    animation: mob-cmd-label-glow 1.8s ease-in-out infinite;
}

/* Action icons */

.nav-button img {
    aspect-ratio: 1/1;
    background-color: #fff;
    border-bottom: 2px solid #2b2b2b;
    object-fit: cover;
    object-position: top;
    width: 100%;
}


.nav-button span {
    color: #2b2b2b;
    font-size: 1rem;
    padding: 0.25rem 0;
    text-align: center;
}

/* Game code entry */

.game-code-entry {
    align-items: center;
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid #2b2b2b;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    font-family: "Special Elite", system-ui;
    gap: 0.5rem;
    justify-content: center;
    margin: 1rem auto;
    padding: 1rem 2rem;
    width: fit-content;
}

.game-code-entry label {
    color: #2b2b2b;
    font-size: 1.2rem;
    font-weight: bold;
}

.game-code-entry input {
    background-color: #f4f0e6;
    border: 2px solid #2b2b2b;
    border-radius: 6px;
    color: #2b2b2b;
    font-family: "Special Elite", system-ui;
    font-size: 2rem;
    letter-spacing: 0.3ch;
    outline: none;
    padding: 0.25rem 0.5rem;
    text-align: center;
    width: 6ch;
}

.game-code-entry input:focus {
    background-color: #fff;
    border-color: #473838;
    box-shadow: 0 0 0 2px rgba(37, 140, 251, 0.5);
}

/* Join button */

.join-button {
    background-color: #e6ded2;
    border: 2px solid #2b2b2b;
    border-radius: 6px;
    color: #2b2b2b;
    cursor: pointer;
    font-family: "Special Elite", system-ui;
    font-size: 1rem;
    padding: 0.4rem 1rem;
    transition: all 0.2s ease;
}

.join-button:hover {
    background-color: #d8cfc3;
    transform: scale(1.05);
}

.join-button:focus-visible {
    outline: 3px solid #000;
    outline-offset: 2px;
}

.artdeco-guidance {
    display: inline-block;
    padding: 0.1rem 1.5rem;
    margin: 0.5rem 0;
    /* Colours: gold on dark */
    background: #111;
    color: #f5d792;
    /* Thin geometric border */
    border: 2px solid #f5d792;
    border-radius: 0; /* keep it sharp, deco-style */
    /* 1930s typography vibes */
    font-family: "Cinzel", "Cormorant Garamond", "Times New Roman", serif; /* or your deco font */
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    /* Subtle glamour */
    text-shadow: 0 0 4px rgba(0,0,0,0.7);
    box-shadow: 0 0 0 1px #333, 0 0 8px rgba(0,0,0,0.7);
    /* ✨ Fluid scaling based on container size */
    
    font-size: clamp(0.4rem, 2.2vw, 1.0rem);
}

/* Optional: little deco lines left/right */
.artdeco-guidance::before,
.artdeco-guidance::after {
    content: "";
    display: inline-block;
/* Cursor blinking keyframes (for typewriter if needed) */

        @keyframes blink {
            50% {
                opacity: 0;
            }
        }
        /* Responsive tweaks */

        @media (max-width: 768px) {
            .side-panel {
                align-items: center;
                flex-direction: column;
            }
        }

        @media (max-width: 1200px) {


            .avatar-wrapper.murderer::before {
                box-shadow: inset 0 0 2.5vw 0.35vw rgba(255, 0, 0, 0.65);
            }
        }



