* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #111318;
    color: #f0eee6;
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.topbar {
    min-height: 72px;
    padding: 0 5%;
    border-bottom: 1px solid #343842;

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

    background: #171a20;
}

.brand {
    font-weight: 900;
    font-size: 24px;
    letter-spacing: 2px;
}

.brand span {
    display: block;
    font-size: 9px;
    letter-spacing: 4px;
    color: #9fa5ad;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    color: #c6c9ce;
}

.page-container {
    width: min(1200px, 90%);
    margin: auto;
}

.hero {
    min-height: 520px;

    display: flex;
    align-items: center;

    border-bottom: 1px solid #343842;
}

.hero h1 {
    max-width: 750px;

    margin: 10px 0 20px;

    font-size: clamp(48px, 8vw, 92px);
    line-height: .92;
    letter-spacing: -4px;
}

.eyebrow {
    color: #ff9d27;

    font-size: 12px;
    font-weight: bold;
    letter-spacing: 3px;
}

.hero-text {
    max-width: 500px;

    color: #aeb3bb;

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

.hero-actions {
    display: flex;
    gap: 12px;

    margin-top: 32px;
}

.button {
    display: inline-block;

    padding: 14px 22px;

    border: 0;
    border-radius: 3px;

    background: #ff9d27;
    color: #111318;

    font-weight: bold;

    cursor: pointer;
}

.button-small {
    padding: 10px 16px;
}

.button-secondary {
    background: transparent;
    color: #f0eee6;

    border: 1px solid #555b65;
}

.content-section {
    padding: 70px 0;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;

    margin-bottom: 25px;
}

.section-heading h2 {
    margin: 5px 0;

    font-size: 36px;
}

.text-link {
    color: #ff9d27;
}

.game-grid {
    display: grid;

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

    gap: 18px;
}

.game-card {
    padding: 24px;

    background: #191c22;

    border: 1px solid #343842;
    border-radius: 4px;
}

.game-system {
    color: #ff9d27;

    font-size: 11px;
    letter-spacing: 2px;
    font-weight: bold;
}

.game-card h3 {
    font-size: 22px;
    margin-bottom: 5px;
}

.game-card p {
    color: #9298a1;
}

.game-info {
    display: flex;
    gap: 20px;

    padding: 20px 0;

    color: #c0c4ca;

    font-size: 14px;
}

.card-footer {
    padding-top: 18px;

    border-top: 1px solid #343842;

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

.card-footer span {
    color: #9da2aa;
    font-size: 13px;
}

.card-footer button {
    border: 0;
    background: none;

    color: #ff9d27;

    font-weight: bold;

    cursor: pointer;
}

.auth-container {
    min-height: calc(100vh - 140px);

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

.auth-card {
    width: min(430px, 100%);

    padding: 38px;

    background: #191c22;

    border: 1px solid #343842;
}

.auth-card h1 {
    margin-top: 5px;

    font-size: 38px;
}

.auth-card form {
    display: flex;
    flex-direction: column;
}

.auth-card label {
    margin-top: 18px;
    margin-bottom: 7px;

    color: #bec2c8;

    font-size: 13px;
}

.auth-card input {
    padding: 14px;

    border: 1px solid #454a54;

    background: #111318;
    color: white;

    font-size: 16px;
}

.auth-card button {
    margin-top: 25px;
}

.auth-footer {
    margin-top: 25px;

    color: #9298a1;
}

.auth-footer a {
    color: #ff9d27;
}

footer {
    padding: 35px;

    border-top: 1px solid #343842;

    text-align: center;
    color: #777d86;

    font-size: 12px;
}


@media (max-width: 800px) {

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

    .hero {
        min-height: 470px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;

        text-align: center;
    }

}
.form-message {
    padding: 12px;
    margin: 15px 0;
    border: 1px solid;
    font-size: 14px;
}

.form-message.error {
    border-color: #c74a4a;
}

.form-message.success {
    border-color: #4f9d69;
}

.user-nav {
    display: flex;
    align-items: center;
    gap: 9px;

    font-weight: bold;
}

.user-avatar-small {
    width: 44px;
    height: 44px;

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

    border-radius: 50%;

    background: #ff9d27;
    color: #111318;

    font-size: 14px;
}


.profile-page {
    padding: 70px 0;
}


.profile-header {
    display: flex;
    align-items: center;
    gap: 30px;

    padding-bottom: 40px;

    border-bottom: 1px solid #343842;
}


.profile-avatar {
    width: 130px;
    height: 130px;

    flex-shrink: 0;

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

    border-radius: 50%;

    background: #ff9d27;
    color: #111318;

    font-size: 55px;
    font-weight: 900;
}


.profile-info h1 {
    margin: 5px 0;

    font-size: 48px;
}


.profile-location {
    color: #9298a1;

    margin: 5px 0 15px;
}


.profile-languages {
    display: flex;
    gap: 8px;

    font-size: 24px;
}


.profile-grid {
    display: grid;

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

    gap: 18px;

    margin-top: 30px;
}


.profile-card {
    padding: 25px;

    background: #191c22;

    border: 1px solid #343842;
}


.profile-card h2 {
    margin-top: 5px;
}


.profile-placeholder {
    color: #8e949d;
}


.profile-data {
    margin: 0;
}


.profile-data div {
    padding: 12px 0;

    border-bottom: 1px solid #343842;
}


.profile-data dt {
    color: #858b94;

    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.profile-data dd {
    margin: 5px 0 0;

    color: #e6e5df;
}


@media (max-width: 800px) {

    .profile-header {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .profile-avatar {
        width: 100px;
        height: 100px;

        font-size: 42px;
    }

    .profile-info h1 {
        font-size: 38px;
    }

}

.profile-edit-form {
    display: grid;
    gap: 20px;
}

.profile-edit-form label {
    display: block;
    margin-top: 18px;
    margin-bottom: 7px;
    color: #bec2c8;
    font-size: 13px;
}

.profile-edit-form input[type="text"],
.profile-edit-form input[type="number"],
.profile-edit-form select {
    width: 100%;
    padding: 14px;
    border: 1px solid #454a54;
    background: #111318;
    color: #f0eee6;
    font-size: 16px;
}

.field-help {
    color: #9298a1;
}

.language-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.language-option {
    display: flex !important;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    margin: 0 !important;
    padding: 10px 12px;
    border: 1px solid #343842;
    background: #111318;
    cursor: pointer;
}

.language-option input {
    width: 18px;
    height: 18px;
}

.language-flag {
    display: inline-block;
    width: 28px;
    height: 18px;
    border: 1px solid #555b65;
}

/* Senyera */
.flag-ca {
    background:
        repeating-linear-gradient(
            to bottom,
            #f4c430 0,
            #f4c430 2px,
            #c8102e 2px,
            #c8102e 4px
        );
}

.flag-es {
    background:
        linear-gradient(
            to bottom,
            #aa151b 0 25%,
            #f1bf00 25% 75%,
            #aa151b 75% 100%
        );
}

.flag-en {
    background:
        linear-gradient(
            to bottom,
            transparent 40%,
            #c8102e 40%,
            #c8102e 60%,
            transparent 60%
        ),
        linear-gradient(
            to right,
            transparent 43%,
            #c8102e 43%,
            #c8102e 57%,
            transparent 57%
        ),
        white;
}

.flag-fr {
    background:
        linear-gradient(
            to right,
            #0055a4 0 33%,
            white 33% 66%,
            #ef4135 66% 100%
        );
}

.flag-de {
    background:
        linear-gradient(
            to bottom,
            #111 0 33%,
            #dd0000 33% 66%,
            #ffce00 66% 100%
        );
}

.flag-it {
    background:
        linear-gradient(
            to right,
            #009246 0 33%,
            white 33% 66%,
            #ce2b37 66% 100%
        );
}

.flag-pt {
    background:
        linear-gradient(
            to right,
            #046a38 0 40%,
            #da291c 40% 100%
        );
}

.profile-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

@media (max-width: 600px) {
    .language-options {
        grid-template-columns: 1fr;
    }
}

.profile-language-item {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.profile-languages .language-flag {
    width: 32px;
    height: 21px;
}

.preferred-language {
    position: absolute;
    right: -6px;
    bottom: -7px;

    color: #ff9d27;
    font-size: 11px;
}

.profile-actions {
    margin-top: 20px;
}

.games-options {
    display: grid;
    gap: 14px;
}

.game-profile-option {
    padding: 18px;
    border: 1px solid #343842;
    background: #111318;
}

.game-select-row {
    display: flex !important;
    align-items: center;
    gap: 12px;

    margin: 0 0 14px !important;

    cursor: pointer;
}

.game-select-row input {
    width: 18px;
    height: 18px;
}

.game-profile-name {
    font-size: 18px;
    font-weight: bold;
    color: #f0eee6;
}

.skill-levels {
    display: grid;
    gap: 8px;

    margin-left: 30px;
}

.skill-option {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;

    margin: 0 !important;

    color: #c6c9ce;
    cursor: pointer;
}

.skill-option input {
    margin-top: 3px;
}

.skill-option strong {
    color: #f0eee6;
}

.skill-option em {
    margin-left: 5px;
    color: #8e949d;
    font-size: 13px;
}

@media (max-width: 700px) {
    .skill-levels {
        margin-left: 0;
        margin-top: 12px;
    }

    .skill-option span {
        display: flex;
        flex-direction: column;
    }

    .skill-option em {
        margin-left: 0;
        margin-top: 3px;
    }
}

.profile-games-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.profile-game-item {
    padding: 14px;
    border: 1px solid #343842;
    background: #111318;
}

.profile-game-name {
    color: #f0eee6;
    font-size: 16px;
    font-weight: bold;
}

.profile-game-level {
    margin-top: 5px;
    color: #ff9d27;
    font-size: 13px;
    font-weight: bold;
}

.profile-game-description {
    margin-top: 4px;
    color: #8e949d;
    font-size: 12px;
}

.profile-clubs-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.profile-club-item {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 14px;

    border: 1px solid #343842;
    background: #111318;

    text-decoration: none;
}

.profile-club-item:hover {
    border-color: #ff9d27;
}

.profile-club-name {
    color: #f0eee6;
    font-size: 16px;
    font-weight: bold;
}

.profile-club-location {
    margin-top: 4px;
    color: #8e949d;
    font-size: 13px;
}

.club-role {
    display: inline-block;

    padding: 5px 9px;

    border: 1px solid #ff9d27;

    color: #ff9d27;

    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}
.club-about-card {
    margin-top: 20px;
}

.club-address {
    color: #9298a1;
    line-height: 1.6;
}

.rooms-grid {
    display: grid;
    gap: 18px;
}

.room-card {
    padding: 24px;

    border: 1px solid #343842;
    background: #191c22;
}

.room-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;

    padding-bottom: 20px;
    border-bottom: 1px solid #343842;
}

.room-card-header h3 {
    margin: 0 0 6px;

    font-size: 24px;
}

.room-card-header p {
    margin: 0;

    color: #9298a1;
}

.physical-space-count {
    flex-shrink: 0;

    padding: 6px 10px;

    border: 1px solid #454a54;

    color: #aeb3bb;

    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.room-capacity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 12px;

    margin-top: 20px;
}

.capacity-item {
    padding: 16px;

    border: 1px solid #343842;
    background: #111318;
}

.capacity-label {
    display: block;

    color: #ff9d27;

    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.capacity-item strong {
    display: block;

    margin: 6px 0;

    font-size: 32px;
}

.capacity-size {
    color: #8e949d;
    font-size: 12px;
}

@media (max-width: 700px) {

    .room-card-header {
        flex-direction: column;
    }

    .room-capacity-grid {
        grid-template-columns: 1fr;
    }
}

.create-game-page {
    max-width: 850px;
}

.page-description {
    color: #9298a1;
}

.create-game-form {
    margin-top: 24px;
    padding: 28px;

    border: 1px solid #343842;
    background: #191c22;
}

.form-section {
    margin-bottom: 24px;
}

.form-section > label {
    display: block;
    margin-bottom: 8px;

    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
}

.create-game-form select,
.create-game-form input[type="date"],
.create-game-form input[type="time"],
.create-game-form input[type="number"] {
    box-sizing: border-box;
    width: 100%;
    padding: 12px;

    border: 1px solid #454a54;
    background: #111318;
    color: #f0f0f0;
}

.time-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.table-size-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.table-size-option {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 16px;

    border: 1px solid #454a54;
    background: #111318;

    cursor: pointer;
}

.table-size-option:hover {
    border-color: #ff9d27;
}

.table-size-option span {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.table-size-option small {
    color: #9298a1;
}

.form-actions {
    display: flex;
    justify-content: flex-end;

    margin-top: 30px;
}

@media (max-width: 700px) {

    .time-grid,
    .table-size-options {
        grid-template-columns: 1fr;
    }
}
	
.games-list {
    display: grid;
    gap: 14px;
}

.game-list-card {
    padding: 22px;

    border: 1px solid #343842;
    background: #191c22;
}

.game-list-card.past {
    opacity: 0.72;
}

.game-list-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.game-list-main h3 {
    margin: 4px 0 8px;

    font-size: 22px;
}

.game-date-line {
    margin: 0;

    color: #a3a8b0;
}

.game-status {
    flex-shrink: 0;

    padding: 6px 10px;

    border: 1px solid #454a54;

    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.game-status.open {
    color: #111;
    background: #ff9d27;
    border-color: #ff9d27;

    font-weight: 800;
    letter-spacing: 0.04em;

    padding: 8px 12px;
}

.game-status.confirmed {
    color: #aeb3bb;
}

.game-card-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 12px;

    margin-top: 18px;
    padding-top: 18px;

    border-top: 1px solid #343842;
}

.game-card-details div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.game-card-details span {
    color: #858b94;

    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.empty-state-card {
    padding: 30px;

    border: 1px dashed #454a54;
    background: #15181d;
}

@media (max-width: 700px) {

    .game-list-main {
        flex-direction: column;
    }

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

.game-detail-grid {
    display: grid;
    grid-template-columns: 0.9fr 0.9fr 1.35fr 1.35fr 0.75fr;
    gap: 12px;
    margin: 24px 0 32px;
}

.game-detail-card {
    padding: 18px;
    border: 1px solid #343842;
    background: #191c22;

    display: flex;
    flex-direction: column;
    gap: 6px;
}

.game-detail-card span {
    color: #858b94;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.game-detail-card small {
    color: #aeb4bc;
    font-size: 12px;
    line-height: 1.45;
}

.participant-list {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}

.participant-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 14px 16px;

    border: 1px solid #343842;
    background: #191c22;
}

.participant-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.participant-role {
    color: #858b94;

    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.game-title-link {
    color: inherit;
    text-decoration: none;
}

.game-title-link:hover {
    text-decoration: underline;
}

@media (max-width: 700px) {

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

.add-player-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-width: 100px;

    padding: 8px 12px;

    border: 0;
    background: transparent;

    cursor: pointer;
}

.add-player-circle {
    width: 52px;
    height: 52px;

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

    border: 2px solid #ff9d27;
    border-radius: 50%;

    color: #ff9d27;

    font-size: 32px;
    font-weight: 400;
    line-height: 1;

    transition: 0.15s ease;
}

.add-player-label {
    color: #ff9d27;

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

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

.add-player-action:hover .add-player-circle {
    background: #ff9d27;
    color: #111;
    transform: scale(1.06);
}

.invitation-actions {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}
.home-create-game-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 22px;

    font-size: 15px;
    font-weight: 800;

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

.create-game-prominent {
    padding: 14px 22px;

    background: #ff9d27;
    border: 1px solid #ff9d27;
    color: #111;

    font-size: 14px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.04em;

    text-decoration: none;
}

.create-game-prominent:hover {
    filter: brightness(1.08);
}

.visibility-options {
    display: grid;
    gap: 12px;
}

.visibility-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    padding: 16px;

    border: 1px solid #454a54;
    background: #111318;

    cursor: pointer;
}

.visibility-option:hover {
    border-color: #ff9d27;
}

.visibility-option span {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.visibility-option small {
    color: #9298a1;
}
.open-game-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;

    margin-top: 18px;
    padding-top: 18px;

    border-top: 1px solid #343842;
}

.open-game-actions form {
    margin: 0;
}

.join-game-button {
    padding: 12px 20px;

    border: 1px solid #ff9d27;
    background: #ff9d27;
    color: #111;

    font-size: 13px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.04em;

    cursor: pointer;
}

.join-game-button:hover {
    filter: brightness(1.08);
}

@media (max-width: 700px) {

    .open-game-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .open-game-actions form,
    .join-game-button,
    .open-game-actions .secondary-button {
        width: 100%;
    }
}
.player-search-form {
    display: flex;
    gap: 12px;

    margin: 24px 0 30px;
}

.player-search-form input {
    flex: 1;

    padding: 12px 14px;

    border: 1px solid #454a54;
    background: #111318;
    color: #f0f0f0;
}

.players-list {
    display: grid;
    gap: 12px;
}

.player-card {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 16px;

    border: 1px solid #343842;
    background: #191c22;

    color: inherit;
    text-decoration: none;
}

.player-card:hover {
    border-color: #ff9d27;
}

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

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

    border-radius: 50%;

    background: #ff9d27;
    color: #111;

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

.player-card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.player-card-info span {
    color: #9298a1;
    font-size: 13px;
}

@media (max-width: 700px) {

    .player-search-form {
        flex-direction: column;
    }
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 18px;
}

.player-profile-actions {
    display: flex;
    gap: 12px;

    margin: 24px 0;
}

.player-profile-actions form {
    margin: 0;
}
.player-follow-button {
    min-width: 180px;
    min-height: 48px;
    padding: 13px 22px;

    border: 2px solid #ff9d27;
    background: #ff9d27;
    color: #111;

    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;

    cursor: pointer;
}

.player-follow-button:hover {
    filter: brightness(1.08);
}

.player-follow-button.following {
    background: #191c22;
    color: #ff9d27;
}

.player-follow-button.following:hover {
    background: #242830;
}
.community-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;

    margin-top: 20px;
}

.community-columns h3 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.community-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 24px;
    height: 24px;
    padding: 0 7px;

    border-radius: 12px;

    background: #ff9d27;
    color: #111;

    font-size: 12px;
    font-weight: 800;
}

.community-player-list {
    display: grid;
    gap: 8px;

    margin-top: 12px;
}

.community-player {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 10px;

    border: 1px solid #343842;

    color: inherit;
    text-decoration: none;
}

.community-player:hover {
    border-color: #ff9d27;
}

.player-avatar-small {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    border-radius: 50%;

    background: #ff9d27;
    color: #111;

    font-weight: 800;
}

@media (max-width: 700px) {

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

.danger-button {
    padding: 12px 18px;

    border: 1px solid #b84a4a;
    background: transparent;
    color: #e06b6b;

    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;

    cursor: pointer;
}

.danger-button:hover {
    background: #b84a4a;
    color: #fff;
}

/* =========================================================
   BARONG MVP - UNIFIED ACTION SYSTEM
   ========================================================= */

.button,
.primary-button,
.join-game-button,
.create-game-prominent,
.player-follow-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;
    padding: 12px 20px;

    border: 1px solid #ff9d27;
    border-radius: 3px;

    background: #ff9d27;
    color: #111318;

    font-size: 13px;
    font-weight: 800;
    line-height: 1;

    text-transform: uppercase;
    letter-spacing: 0.04em;

    text-decoration: none;
    cursor: pointer;

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

.button:hover,
.primary-button:hover,
.join-game-button:hover,
.create-game-prominent:hover,
.player-follow-button:hover {
    filter: none;
    background: #ffad47;
    border-color: #ffad47;
    color: #111318;

    transform: translateY(-1px);
}


.button-secondary,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;
    padding: 12px 20px;

    border: 1px solid #555b65;
    border-radius: 3px;

    background: transparent;
    color: #f0eee6;

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

    text-transform: uppercase;
    letter-spacing: 0.04em;

    text-decoration: none;
    cursor: pointer;

    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}

.button-secondary:hover,
.secondary-button:hover {
    background: #242830;
    border-color: #777d86;
    color: #ffffff;
}


.danger-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;
    padding: 12px 20px;

    border: 1px solid #b84a4a;
    border-radius: 3px;

    background: transparent;
    color: #e06b6b;

    font-size: 13px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.04em;

    cursor: pointer;
}

.danger-button:hover {
    background: #b84a4a;
    color: #ffffff;
}


.player-follow-button.following {
    background: transparent;
    border-color: #ff9d27;
    color: #ff9d27;
}

.player-follow-button.following:hover {
    background: #242830;
    color: #ffad47;
}


.button-small {
    min-height: 38px;
    padding: 9px 14px;
    font-size: 12px;
}
.nav-link-secondary {
    color: #9298a1;
}

.nav-link-secondary:hover {
    color: #f0eee6;
}
.game-status.cancelled {
    color: #e06b6b;
    border-color: #b84a4a;
}
.game-list-card-link {
    position: relative;
}

.game-list-card-link::after {
    content: "View game →";

    position: absolute;
    right: 18px;
    bottom: 14px;

    color: #ff9d27;

    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;

    opacity: 0;
    transition: opacity 0.15s ease;
}

.game-list-card-link:hover::after {
    opacity: 1;
}
.game-list-card.past {
    opacity: 0.58;
}

.game-list-card.past:hover {
    opacity: 0.8;
}

.game-status-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.visibility-badge {
    padding: 5px 9px;

    border: 1px solid #555b65;

    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.visibility-badge.public {
    color: #aeb3bb;
}

.visibility-badge.community {
    color: #ff9d27;
    border-color: #8d632e;
}

.spots-left strong {
    color: #ff9d27;
    font-size: 20px;
}

.open-game-actions {
    justify-content: flex-end;
}

.open-game-actions .join-game-button {
    min-width: 145px;
}

.open-game-actions .secondary-button {
    min-width: 125px;
}

@media (max-width: 700px) {
    .game-status-group {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

.game-detail-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;

    margin-top: 28px;
    padding-top: 22px;

    border-top: 1px solid #343842;
}

.game-detail-actions-primary,
.game-detail-actions-secondary {
    display: flex;
    align-items: center;
    gap: 12px;
}

.game-detail-actions form {
    margin: 0;
}

@media (max-width: 700px) {

    .game-detail-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .game-detail-actions-primary,
    .game-detail-actions-secondary {
        flex-direction: column;
        align-items: stretch;
    }

    .game-detail-actions a,
    .game-detail-actions button,
    .game-detail-actions form {
        width: 100%;
    }
}

.player-card {
    transition:
        border-color 0.15s ease,
        background 0.15s ease,
        transform 0.15s ease;
}

.player-card:hover {
    border-color: #ff9d27;
    background: #191c22;
    transform: translateY(-1px);
}

@media (max-width: 700px) {

    .player-search-form {
        flex-direction: column;
    }

    .player-search-form input,
    .player-search-form button {
        width: 100%;
    }
}
@media (max-width: 700px) {

    .invitation-actions {
        flex-direction: column;
    }

    .invitation-actions form,
    .invitation-actions button {
        width: 100%;
    }
}

.participant-user-link {
    color: inherit;
    text-decoration: none;
}

.participant-user-link:hover strong {
    color: #ff9d27;
}

@media (max-width: 700px) {
    .user-avatar-small {
        width: 48px;
        height: 48px;
        flex: 0 0 48px;
    }
}
.game-card-players {
    margin-top: 16px;
    padding-top: 14px;

    border-top: 1px solid #343842;
}

.game-card-players-label {
    display: block;

    margin-bottom: 10px;

    color: #9298a1;

    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.game-card-player-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.game-card-player {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: inherit;
    text-decoration: none;

    font-size: 13px;
    font-weight: 700;
}

.game-card-player:hover {
    color: #ff9d27;
}

.game-card-player .user-avatar-small {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
}

@media (max-width: 700px) {

    .game-card-player-list {
        flex-direction: column;
        align-items: flex-start;
    }

    .game-card-player {
        width: 100%;
    }
}
.club-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: 18px;
}

@media (max-width: 700px) {

    .club-links {
        flex-direction: column;
    }

    .club-links a {
        width: 100%;
    }
}
.player-avatar-image {
    object-fit: cover;
    object-position: center;
    padding: 0;
}
/* =========================================================
 *  MOBILE TOP NAVIGATION
 *  ========================================================= */

.mobile-menu-toggle {
    display: none;
}

@media (max-width: 700px) {

    .topbar {
        min-height: 64px;
        padding: 0 18px;
        position: relative;
    }

    .brand {
        font-size: 20px;
    }

    .nav-actions {
        gap: 10px;
    }

    .mobile-menu-toggle {
        display: block;

        padding: 9px 12px;

        border: 1px solid #454a54;
        background: #191c22;
        color: #f0f0f0;

        font-weight: 800;
        text-transform: uppercase;

        cursor: pointer;
    }

    .nav-actions > .nav-link,
    .nav-actions > .user-nav {
        display: none;
    }

    body.mobile-menu-open .nav-actions {
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;

        z-index: 1000;

        padding: 16px 18px;

        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        background: #171a20;
        border-bottom: 1px solid #343842;
    }

    body.mobile-menu-open .nav-actions > .nav-link,
    body.mobile-menu-open .nav-actions > .user-nav {
        display: flex;

        min-height: 48px;
        padding: 0 12px;

        align-items: center;

        border-bottom: 1px solid #2b2f37;
    }

    body.mobile-menu-open .mobile-menu-toggle {
        align-self: flex-end;
        margin-bottom: 8px;
    }
}
.club-title-block {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.club-logo {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 18px;
    border: 2px solid rgba(255, 107, 31, 0.5);
    background: #0f1b24;
}.club-list-main {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.club-list-logo {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(255, 107, 31, 0.55);
    background: #0f1b24;
    flex-shrink: 0;
}
/* =========================================================
 *  JOCPOINT GLOBAL BRAND THEME
 *  ========================================================= */

:root {
    --joc-navy: #0f1b24;
    --joc-navy-light: #17232d;
    --joc-panel: #141f28;
    --joc-panel-light: #1a2732;

    --joc-orange: #ff6b1f;
    --joc-orange-hover: #ff7f3a;

    --joc-ivory: #f5f5f0;
    --joc-slate: #72808f;
    --joc-muted: #9da8b2;

    --joc-border: #33414d;
}


/* GLOBAL */

body {
    background: var(--joc-navy);
    color: var(--joc-ivory);
}

a {
    color: inherit;
}


/* TOP NAVIGATION */

.topbar {
    background: #0b151d;
    border-bottom: 1px solid var(--joc-border);
}

.nav-link {
    color: #c5cdd4;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--joc-orange);
}


/* JOCPOINT WORDMARK */

.jocpoint-brand {
    display: flex;
    align-items: baseline;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -1px;
}

.jocpoint-brand .jocpoint-joc {
    display: inline;
    color: var(--joc-ivory);
    font-size: inherit;
    letter-spacing: inherit;
}

.jocpoint-brand .jocpoint-point {
    display: inline;
    color: var(--joc-orange);
    font-size: inherit;
    letter-spacing: inherit;
}

.jocpoint-brand small {
    display: block;
    margin-left: 12px;

    color: var(--joc-slate);

    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.5px;
}


/* HEADINGS */

h1,
h2,
h3,
h4 {
    color: var(--joc-ivory);
}

.eyebrow {
    color: var(--joc-orange);
}

.page-description,
.hero-text,
.profile-location,
.muted {
    color: var(--joc-muted);
}


/* BUTTONS */

.button,
.primary-button {
    background: var(--joc-orange);
    color: #101820;

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

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

.button:hover,
.primary-button:hover {
    background: var(--joc-orange-hover);
    border-color: var(--joc-orange-hover);
}

.button-secondary,
.secondary-button {
    background: transparent;
    color: var(--joc-ivory);

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

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

.button-secondary:hover,
.secondary-button:hover {
    border-color: var(--joc-orange);
    color: var(--joc-orange);
}


/* LINKS */

.text-link {
    color: var(--joc-orange);
}

.text-link:hover {
    color: var(--joc-orange-hover);
}


/* CARDS */

.game-card,
.profile-card,
.auth-card,
.empty-state-card,
.game-list-card,
.room-card,
.content-card {
    background: var(--joc-panel);
    border-color: var(--joc-border);
}

.game-list-card-link:hover,
.game-card:hover {
    border-color: rgba(255, 107, 31, 0.65);
}


/* CARD DETAILS */

.game-system {
    color: var(--joc-orange);
}

.game-card p,
.card-footer span {
    color: var(--joc-muted);
}

.card-footer {
    border-top-color: var(--joc-border);
}

.card-footer button {
    color: var(--joc-orange);
}


/* FORMS */

input,
select,
textarea {
    background: #0c171f;
    color: var(--joc-ivory);

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

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--joc-orange);
}

label {
    color: #cbd2d8;
}


/* TABLE / PROFILE / VENUE ELEMENTS */

.club-role,
.badge {
    background: rgba(255, 107, 31, 0.12);
    color: var(--joc-orange);
    border-color: rgba(255, 107, 31, 0.35);
}

.club-logo,
.club-list-logo,
.calendar-club-logo {
    border-color: rgba(255, 107, 31, 0.65);
}


/* HERO */

.hero {
    border-bottom-color: var(--joc-border);
}


/* FOOTER */

.site-footer {
    width: min(1200px, 90%);
    margin: 70px auto 0;
    padding: 24px 0 32px;

    display: flex;
    justify-content: space-between;
    gap: 20px;

    color: var(--joc-slate);

    font-size: 12px;

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

.site-footer strong {
    color: var(--joc-ivory);
}


/* MOBILE */

@media (max-width: 700px) {

    .jocpoint-brand small {
        display: none;
    }

    .site-footer {
        flex-direction: column;
        gap: 5px;
    }

}
/* =========================================================
 *  JOCPOINT CLUB CALENDAR
 *  ========================================================= */

.calendar-club-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.calendar-club-logo {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 18px;
    background: var(--joc-navy);
    border: 2px solid rgba(255, 107, 31, 0.65);
    flex-shrink: 0;
}


/* CALENDAR TOOLBAR */

.calendar-toolbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;

    margin: 28px 0 18px;
}

.calendar-navigation,
.calendar-views {
    display: flex;
    gap: 8px;
}

.calendar-views {
    justify-content: flex-end;
}

#calendar-title {
margin: 0;

text-align: center;

font-size: 22px;
color: var(--joc-ivory);
}


/* CALENDAR BUTTONS */

.calendar-toolbar .btn {
    padding: 9px 14px;

    background: transparent;
    color: var(--joc-ivory);

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

    font-weight: 700;
    cursor: pointer;

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

.calendar-toolbar .btn:hover {
    border-color: var(--joc-orange);
    color: var(--joc-orange);
}

.calendar-toolbar .calendar-view-active {
    background: var(--joc-orange);
    border-color: var(--joc-orange);
    color: #101820;
}


/* CALENDAR CONTAINER */

.calendar-card {
    padding: 18px;

    background: var(--joc-panel);

    border: 1px solid var(--joc-border);
    border-radius: 14px;

    overflow: hidden;
}

#club-calendar {
color: var(--joc-ivory);
}


/* FULLCALENDAR THEME */

#club-calendar .fc {
--fc-border-color: #33414d;
--fc-page-bg-color: #141f28;
--fc-neutral-bg-color: #17232d;
--fc-today-bg-color: rgba(255, 107, 31, 0.08);
--fc-now-indicator-color: #ff6b1f;
}


/* WEEKDAY HEADERS */

#club-calendar .fc-col-header-cell {
background: var(--joc-navy-light);
}

#club-calendar .fc-col-header-cell-cushion {
display: block;

padding: 12px 6px;

color: var(--joc-ivory) !important;

font-size: 13px;
font-weight: 800;
letter-spacing: 0.5px;

text-decoration: none;
}


/* TODAY */

#club-calendar .fc-day-today {
background: rgba(255, 107, 31, 0.07) !important;
}

#club-calendar
.fc-day-today
.fc-col-header-cell-cushion {
    color: var(--joc-orange) !important;
}


/* TIME COLUMN */

#club-calendar .fc-timegrid-axis-cushion,
#club-calendar .fc-timegrid-slot-label-cushion {
color: var(--joc-muted);

font-size: 12px;
}


/* GRID */

#club-calendar .fc-theme-standard td,
#club-calendar .fc-theme-standard th {
border-color: var(--joc-border);
}

#club-calendar .fc-timegrid-slot {
background: var(--joc-panel);
}

#club-calendar .fc-scrollgrid {
border-color: var(--joc-border);
}


/* MONTH VIEW */

#club-calendar .fc-daygrid-day-number {
padding: 8px;

color: var(--joc-ivory);

text-decoration: none;
}

#club-calendar
.fc-day-today
.fc-daygrid-day-number {
    color: var(--joc-orange);

    font-weight: 800;
}


/* CURRENT TIME LINE */

#club-calendar .fc-timegrid-now-indicator-line {
border-color: var(--joc-orange);
border-width: 2px 0 0;
}

#club-calendar .fc-timegrid-now-indicator-arrow {
border-color:
transparent
transparent
transparent
var(--joc-orange);
}


/* BOOKED GAMES */

#club-calendar .fc-event {
background: var(--joc-orange);
border-color: var(--joc-orange);

color: #101820;

border-radius: 6px;

cursor: pointer;
}

#club-calendar .fc-event-main {
color: #101820;

font-weight: 700;
}

#club-calendar .fc-event:hover {
background: var(--joc-orange-hover);
border-color: var(--joc-orange-hover);
}


/* CALENDAR LINKS */

#club-calendar a {
text-decoration: none;
}


/* MOBILE CALENDAR */

@media (max-width: 700px) {

    .calendar-club-heading {
        align-items: flex-start;
    }

    .calendar-club-logo {
        width: 58px;
        height: 58px;
        border-radius: 14px;
    }

    .calendar-toolbar {
        grid-template-columns: 1fr;
    }

    #calendar-title {
    order: -1;
    text-align: left;
    }

    .calendar-views {
        justify-content: flex-start;
    }

    .calendar-card {
        padding: 8px;
        overflow-x: auto;
    }

    #club-calendar {
    min-width: 650px;
    }

}
.venue-hours-note {
    margin: 10px 0 0;
    padding: 10px 12px;

    background: rgba(255, 107, 31, 0.10);
    color: var(--joc-orange);

    border: 1px solid rgba(255, 107, 31, 0.35);
    border-radius: 6px;

    font-size: 13px;
    font-weight: 700;
}

/* Vendor forms */

.profile-card .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.profile-card .form-group input,
.profile-card .form-group textarea {
    width: 100%;
    max-width: 700px;
    box-sizing: border-box;
}

.profile-card .form-group textarea {
    min-height: 140px;
    resize: vertical;
}

/* Vendor forms */

.profile-card textarea {
    width: 100%;
    min-height: 120px;
    resize: vertical;
    box-sizing: border-box;
}

/* Secondary vendor actions */

.button-secondary {
    background: #72808F;
    border-color: #72808F;
    color: #F5F5F0;
}

.button-secondary:hover {
    background: #8793A0;
    border-color: #8793A0;
}

.table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    align-items: center;
}

.table-actions form {
    margin: 0;
}

.table-actions .button {
    margin: 0;
}

/* Vendor room actions */

.room-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0 18px;
    align-items: center;
}

.room-actions form {
    margin: 0;
    display: inline-flex;
}

.room-actions .button {
    margin: 0;
}

/* Vendor games & scenery */

.vendor-game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.vendor-game-card {
    border: 1px solid #2D3A45;
    background: #111A21;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vendor-game-card-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vendor-game-card-header h3 {
    margin: 0;
}

.vendor-game-status {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.vendor-game-status.configured {
    color: #7FD18A;
}

.vendor-game-status.not-configured {
    color: #72808F;
}

.vendor-game-details p {
    margin: 0;
    color: #D5D9DC;
}

.vendor-game-actions {
    margin-top: auto;
}

.scenery-inventory-form {
    margin-top: 0.75rem;
}

.scenery-inventory-form label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.9rem;
    color: #c9d3dc;
}

.scenery-inventory-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.scenery-quantity-input {
    width: 90px;
    padding: 0.6rem 0.7rem;
    border: 1px solid #34424d;
    border-radius: 6px;
    background: #0f1a22;
    color: #ffffff;
    font-size: 1rem;
}

.scenery-quantity-input:focus {
    outline: none;
    border-color: #ff6b22;
}

.scenery-inventory-controls .button {
    margin: 0;
}

.game-scenery-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.game-scenery-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.6rem;
    border: 1px solid #34424d;
    border-radius: 999px;
    background: #111c24;
    color: #d8e1e8;
    font-size: 0.82rem;
    line-height: 1;
}

/* ---------------------------------------------------------
 *  GAME CONFIGURATION
 - *-------------------------------------------------------- */

.game-config-page {
    max-width: 1180px;
}

.game-config-top {
    display: grid;
    grid-template-columns: 1fr 470px;
    gap: 3rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.game-config-back {
    display: inline-block;
    margin-bottom: 1.2rem;
    color: #ff6b22;
    text-decoration: none;
    font-weight: 600;
}

.game-config-heading h1 {
    margin-bottom: 0.25rem;
    font-size: 2.3rem;
}

.game-config-club {
    margin-top: 0;
    font-size: 1.1rem;
}

.game-config-intro {
    max-width: 620px;
    color: #aab7c2;
    line-height: 1.5;
}


.game-config-preview {
    display: flex;
    gap: 1.5rem;
    padding: 1rem;
    border: 1px solid #34424d;
    border-radius: 10px;
    background: #13212b;
}

.game-config-preview-image {
    width: 160px;
    height: 140px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 7px;
    background: #0d171e;
}

.game-config-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-config-image-fallback {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    color: #ff6b22;
    background: #0f1a22;
}

.game-config-preview-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.game-config-preview-info > span:not(.vendor-game-status) {
    margin-top: 0.55rem;
    font-size: 0.78rem;
    color: #8998a4;
}

.game-config-preview-info strong {
    color: #ffffff;
}


.game-config-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


.game-config-card {
    padding: 1.4rem 1.5rem;
    border: 1px solid #34424d;
    border-radius: 10px;
    background: #13212b;
}

.game-config-card h2 {
    margin: 0.2rem 0 0.3rem;
}

.game-config-card > p:not(.eyebrow) {
    margin-top: 0;
    color: #aab7c2;
}


.game-config-card:first-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.game-support-switch {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
}

.game-support-switch input {
    display: none;
}

.switch-slider {
    position: relative;
    width: 52px;
    height: 28px;
    border-radius: 999px;
    background: #394650;
    transition: 0.2s ease;
}

.switch-slider::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    top: 3px;
    left: 3px;
    border-radius: 50%;
    background: white;
    transition: 0.2s ease;
}

.game-support-switch input:checked + .switch-slider {
    background: #1677ff;
}

.game-support-switch input:checked + .switch-slider::after {
    transform: translateX(24px);
}


.game-config-mode-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-top: 1rem;
}

.game-config-mode-option {
    position: relative;
    display: block;
    cursor: pointer;
}

.game-config-mode-option input {
    position: absolute;
    opacity: 0;
}

.game-config-mode-content {
    display: flex;
    gap: 1rem;
    min-height: 88px;
    padding: 1rem;
    border: 1px solid #40505c;
    border-radius: 9px;
    background: #101c25;
    transition: 0.15s ease;
}

.game-config-mode-option input:checked + .game-config-mode-content {
    border-color: #1681ff;
    background: #102943;
}

.game-config-mode-content strong {
    display: block;
    margin-bottom: 0.3rem;
}

.game-config-mode-content small {
    display: block;
    color: #aab7c2;
    line-height: 1.35;
}

.game-config-mode-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    font-size: 1.7rem;
    color: #d8e1e8;
}


.game-config-scenery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.65rem;
    margin-top: 1rem;
}

.game-config-scenery-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 48px;
    padding: 0.7rem 0.8rem;
    border: 1px solid #40505c;
    border-radius: 7px;
    background: #101c25;
    cursor: pointer;
    transition: 0.15s ease;
}

.game-config-scenery-option input {
    display: none;
}

.game-config-scenery-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border: 1px solid #758590;
    border-radius: 3px;
    color: transparent;
    font-size: 0.75rem;
}

.game-config-scenery-option:has(input:checked) {
    border-color: #1681ff;
    background: #102943;
}

.game-config-scenery-option input:checked
+ .game-config-scenery-check {
    border-color: #1681ff;
    background: #1681ff;
    color: white;
}


.game-config-card.disabled {
    opacity: 0.35;
    pointer-events: none;
}


.game-config-actions {
    display: flex;
    gap: 0.8rem;
    padding-top: 0.25rem;
}

.game-config-cancel {
    background: transparent;
    border: 1px solid #40505c;
    color: #d8e1e8;
}


@media (max-width: 900px) {

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

    .game-config-preview {
        max-width: 100%;
    }

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

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

}


@media (max-width: 560px) {

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

}

cat >> app/static/style.css <<'CSS'

/* ========================================
 * Invitations & notifications
 * ======================================== */

.participant-pending {
    opacity: 0.82;
}

.participant-role.pending {
    color: #f0a04b;
    border-color: rgba(240, 160, 75, 0.35);
}

.invitation-pending-note {
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(240, 160, 75, 0.28);
    border-radius: 10px;
    background: rgba(240, 160, 75, 0.08);
}

.invitation-pending-note strong {
    color: #f0a04b;
}

.invitation-pending-note p {
    margin: 4px 0 0;
    opacity: 0.75;
}


/* Notification bell */

.notification-menu {
    position: relative;
}

.notification-menu summary {
    list-style: none;
}

.notification-menu summary::-webkit-details-marker {
    display: none;
}

.notification-bell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    user-select: none;
}

.notification-bell:hover,
.notification-bell.has-notifications {
    background: rgba(240, 160, 75, 0.12);
}

.notification-bell.has-notifications {
    box-shadow: inset 0 0 0 1px rgba(240, 160, 75, 0.35);
}

.notification-bell-icon {
    font-size: 19px;
}

.notification-count {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #d94a3a;
    color: white;
    font-size: 10px;
    font-weight: 700;
}

.notification-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 310px;
    z-index: 1000;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    background: #101a2b;
    box-shadow: 0 18px 45px rgba(0,0,0,0.35);
}

.notification-dropdown-header {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.notification-item {
    display: block;
    padding: 13px 16px;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.notification-item:hover {
    background: rgba(255,255,255,0.05);
}

.notification-item span,
.notification-item small {
    display: block;
    margin-top: 3px;
}

.notification-item small {
    opacity: 0.65;
}

.notification-view-all {
    display: block;
    padding: 12px 16px;
    text-align: center;
    color: #f0a04b;
    text-decoration: none;
    font-weight: 600;
}

.notification-empty {
    padding: 18px 16px;
    opacity: 0.7;
}

CSS

cat >> app/static/style.css <<'CSS'

/* ========================================
 * Club calendar — event states
 * ======================================== */

/* My games: orange */
#club-calendar .calendar-event-mine {
background: #e97824 !important;
border-color: #e97824 !important;
color: #ffffff !important;
}

/* Other games: neutral grey */
#club-calendar .calendar-event-other {
background: #66717f !important;
border-color: #66717f !important;
color: #ffffff !important;
}

/* Open games: transparent.
 *Keeps orange/grey border to identify mine/other. */
#club-calendar .calendar-event-open {
background: transparent !important;
border-width: 2px !important;
}

#club-calendar .calendar-event-mine.calendar-event-open {
border-color: #e97824 !important;
color: #e97824 !important;
}

#club-calendar .calendar-event-other.calendar-event-open {
border-color: #7f8995 !important;
color: #aab2bc !important;
}

/* Make events easier to read */
#club-calendar .fc-event {
border-radius: 5px;
padding: 2px 4px;
cursor: pointer;
}

#club-calendar .fc-event-title {
font-weight: 600;
}

/* Active Day / Week / Month button */
.calendar-view-active {
    border-color: #e97824 !important;
    color: #e97824 !important;
}

/* Give the actual calendar more visual presence */
.calendar-card {
    width: 100%;
}

#club-calendar {
min-height: 650px;
}

cat >> app/static/style.css <<'CSS'

/* ========================================
 * JocPoint Gaming Agenda
 * ======================================== */

.day-agenda {
    margin-top: 22px;
}

.agenda-time-group {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 22px;
    margin-bottom: 30px;
}

.agenda-time {
    padding-top: 18px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ff7626;
    text-align: right;
}

.agenda-games {
    display: grid;
    gap: 12px;
}


/* GAME CARD */

.agenda-game-card {
    position: relative;
    display: block;
    overflow: hidden;

    min-height: 105px;

    background: #171d24;
    border: 1px solid #303945;
    border-radius: 10px;

    color: #ffffff;
    text-decoration: none;

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

.agenda-game-card:hover {
    transform: translateY(-2px);
    border-color: #596574;
    background: #1b222b;
}


/* Orange accent only for MY games */

.agenda-game-accent {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;

    width: 4px;

    background: #59636f;
}

.agenda-game-card.mine .agenda-game-accent {
    background: #ff7626;
}


/* CONTENT */

.agenda-game-content {
    padding: 18px 20px 17px 22px;
}

.agenda-game-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.agenda-game-top h3 {
    margin: 0 0 5px;

    font-size: 1.12rem;
    line-height: 1.2;

    color: #ffffff;
}

.agenda-game-time {
    color: #99a6b5;
    font-size: 0.88rem;
    font-weight: 500;
}


/* META */

.agenda-game-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;

    margin-top: 16px;

    color: #aeb8c3;
    font-size: 0.85rem;
}


/* BADGES */

.agenda-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
}

.agenda-badge {
    display: inline-flex;
    align-items: center;

    min-height: 25px;
    padding: 3px 9px;

    border-radius: 999px;

    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.agenda-badge.mine {
    background: #ff7626;
    color: #10151b;
}

.agenda-badge.open {
    background: transparent;
    border: 1px solid #ff7626;
    color: #ff8b48;
}

.agenda-badge.confirmed {
    background: #28323d;
    border: 1px solid #3b4652;
    color: #bac4cf;
}


/* EMPTY DAY */

.agenda-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 300px;

    border: 1px dashed #35404c;
    border-radius: 12px;

    background: #151b22;

    color: #aab4bf;
    text-align: center;
}

.agenda-empty strong {
    margin-bottom: 6px;
    color: #ffffff;
    font-size: 1.1rem;
}


/* MOBILE */

@media (max-width: 700px) {

    .agenda-time-group {
        display: block;
    }

    .agenda-time {
        padding: 0;
        margin-bottom: 9px;
        text-align: left;
    }

    .agenda-game-top {
        display: block;
    }

    .agenda-badges {
        justify-content: flex-start;
        margin-top: 12px;
    }

}
CSS

/* ========================================
   JocPoint Calendar — Week view
   ======================================== */

/* Base: dark compact event */
#club-calendar .fc-timegrid-event {
    background: #1a2129 !important;
    border: 1px solid #36414d !important;
    border-radius: 7px !important;
    color: #e9edf2 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

/* Other games */
#club-calendar .fc-timegrid-event.calendar-event-other {
    background: #1a2129 !important;
    border-color: #3b4652 !important;
    color: #d8dee5 !important;
}

/* My games: clearly highlighted in JocPoint orange */
#club-calendar .fc-timegrid-event.calendar-event-mine {
    background: #e97824 !important;
    border: 1px solid #ff934d !important;
    border-top: 4px solid #ffad73 !important;
    color: #ffffff !important;
}

/* Open games */
#club-calendar .fc-timegrid-event.calendar-event-open {
    background: #171d23 !important;
    border-style: dashed !important;
}

/* My open games keep the orange identity but remain outlined */
#club-calendar
.fc-timegrid-event.calendar-event-mine.calendar-event-open {
    background: transparent !important;
    border: 2px dashed #e97824 !important;
    border-top: 4px solid #e97824 !important;
    color: #e97824 !important;
}

/* Internal FullCalendar content */
#club-calendar .fc-timegrid-event .fc-event-main {
    padding: 5px 6px !important;
    color: inherit !important;
}

#club-calendar .fc-timegrid-event .fc-event-time {
    margin-bottom: 3px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #9ca8b5;
}

#club-calendar .fc-timegrid-event .fc-event-title {
    font-size: 0.78rem;
    line-height: 1.2;
    font-weight: 700;
    color: inherit;
}

/* Slightly calmer weekly grid */
#club-calendar .fc-timegrid-slot {
    border-color: rgba(255, 255, 255, 0.055);
}

#club-calendar .fc-col-header-cell {
    padding: 7px 0;
}

#club-calendar .fc-day-today {
    background: rgba(255, 118, 38, 0.035) !important;
}



/* =========================================================
   VENDOR MEMBERS
   ========================================================= */

.vendor-add-member {
    margin-top: 24px;
    margin-bottom: 28px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.025);
}

.vendor-add-member h3 {
    margin: 0 0 5px;
}

.vendor-add-member .muted {
    margin: 0 0 16px;
}

.vendor-add-member-form {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 150px auto;
    gap: 10px;
    align-items: center;
}

.vendor-add-member-form input,
.vendor-add-member-form select,
.member-role-select {
    min-height: 40px;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;
    background: #0d1a22;
    color: #f2f5f7;
}

.vendor-add-member-form input:focus,
.vendor-add-member-form select:focus,
.member-role-select:focus {
    outline: none;
    border-color: #ff6b1a;
}


/* Member list */

.vendor-members-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vendor-member-row {
    display: grid;
    grid-template-columns:
        minmax(240px, 1fr)
        150px
        100px
        110px;
    gap: 18px;
    align-items: center;

    min-height: 72px;
    padding: 12px 16px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.018);
}

.vendor-member-row:hover {
    background: rgba(255, 255, 255, 0.035);
}


/* User */

.vendor-member-user {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.vendor-member-user strong {
    display: block;
    color: #f3f5f6;
}

.vendor-member-user .muted {
    margin-top: 2px;
    font-size: 0.86rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* Avatar */

.vendor-member-user .user-avatar-small {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 50%;

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

    object-fit: cover;

    background: #ff741c;
    color: #071119;
    font-weight: 700;
}


/* Roles */

.member-role-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 82px;
    min-height: 32px;
    padding: 5px 10px;

    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);

    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.member-role-badge.owner {
    border-color: rgba(255, 116, 28, 0.45);
    background: rgba(255, 116, 28, 0.10);
    color: #ff8a42;
}

.member-role-select {
    width: 100%;
}


/* Status */

.member-status-active {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    font-size: 0.82rem;
    color: #aab8c2;
}

.member-status-active::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #5dbb83;
}


/* Actions */

.vendor-member-actions {
    display: flex;
    justify-content: flex-end;
}

.vendor-member-actions form {
    margin: 0;
}

.member-remove-button {
    min-width: 88px;
    opacity: 0.72;
}

.member-remove-button:hover {
    opacity: 1;
}


/* Responsive */

@media (max-width: 800px) {

    .vendor-add-member-form {
        grid-template-columns: 1fr;
    }

    .vendor-member-row {
        grid-template-columns: 1fr auto;
        gap: 10px 14px;
    }

    .vendor-member-user {
        grid-column: 1 / -1;
    }

    .vendor-member-role {
        grid-column: 1;
    }

    .vendor-member-status {
        grid-column: 2;
        text-align: right;
    }

    .vendor-member-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}


/* =========================================================
   VENDOR BOOKINGS
   ========================================================= */

.vendor-booking-filters {
    display: inline-flex;
    gap: 4px;
    margin: 22px 0 20px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.025);
}

.vendor-booking-filters a {
    padding: 8px 16px;
    border-radius: 5px;
    color: #9eacb6;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
}

.vendor-booking-filters a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
}

.vendor-booking-filters a.active {
    color: #071119;
    background: #ff741c;
}


/* Booking list */

.vendor-bookings-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vendor-booking-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;

    padding: 16px 18px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.018);
}

.vendor-booking-card:hover {
    background: rgba(255, 255, 255, 0.032);
}


/* Date */

.vendor-booking-date {
    width: 58px;
    height: 58px;

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

    border: 1px solid rgba(255, 116, 28, 0.35);
    border-radius: 8px;

    background: rgba(255, 116, 28, 0.07);
}

.vendor-booking-date strong {
    font-size: 1.35rem;
    line-height: 1;
    color: #f5f7f8;
}

.vendor-booking-date span {
    margin-top: 5px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #ff7a28;
}


/* Main booking information */

.vendor-booking-main {
    min-width: 0;
}

.vendor-booking-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.vendor-booking-heading .eyebrow {
    margin: 0 0 4px;
}

.vendor-booking-heading h3 {
    margin: 0;
    font-size: 1rem;
}


/* Status */

.vendor-booking-status {
    display: inline-flex;
    align-items: center;

    padding: 5px 9px;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;

    color: #aab7bf;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.vendor-booking-status.confirmed {
    border-color: rgba(93, 187, 131, 0.35);
    background: rgba(93, 187, 131, 0.07);
    color: #77cc99;
}

.vendor-booking-status.open {
    border-color: rgba(255, 116, 28, 0.35);
    background: rgba(255, 116, 28, 0.07);
    color: #ff8a42;
}


/* Booking metadata */

.vendor-booking-details {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 18px;

    margin-top: 10px;

    color: #a8b5bd;
    font-size: 0.82rem;
}

.vendor-booking-details span {
    white-space: nowrap;
}


/* Actions */

.vendor-booking-actions {
    display: flex;
    align-items: center;
}


/* Empty state */

.vendor-bookings-empty {
    margin-top: 0;
    text-align: center;
    padding: 48px 24px;
}


/* Mobile */

@media (max-width: 800px) {

    .vendor-booking-card {
        grid-template-columns: 58px 1fr;
    }

    .vendor-booking-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }

    .vendor-booking-heading {
        flex-direction: column;
        gap: 8px;
    }

    .vendor-booking-details {
        flex-direction: column;
        gap: 6px;
    }

    .vendor-booking-filters {
        display: flex;
        width: 100%;
    }

    .vendor-booking-filters a {
        flex: 1;
        text-align: center;
    }
}


/* =========================================================
   VENDOR SETTINGS
   ========================================================= */

.vendor-settings-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 24px;
}

.vendor-settings-section {
    padding: 24px;
}

.vendor-settings-section h2 {
    margin: 4px 0 6px;
}

.vendor-settings-section > .muted {
    margin: 0 0 22px;
}


/* Form grid */

.vendor-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.vendor-settings-grid label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.vendor-settings-grid label > span {
    color: #c8d1d7;
    font-size: 0.78rem;
    font-weight: 600;
}

.vendor-settings-full {
    grid-column: 1 / -1;
}


/* Inputs */

.vendor-settings-grid input,
.vendor-settings-grid select,
.vendor-settings-grid textarea {
    width: 100%;
    box-sizing: border-box;

    padding: 11px 12px;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;

    background: #0d1a22;
    color: #f2f5f7;

    font: inherit;
}

.vendor-settings-grid input,
.vendor-settings-grid select {
    min-height: 42px;
}

.vendor-settings-grid textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.vendor-settings-grid input:focus,
.vendor-settings-grid select:focus,
.vendor-settings-grid textarea:focus {
    outline: none;
    border-color: #ff741c;
}

.vendor-settings-grid input:disabled {
    color: #73828c;
    background: rgba(255, 255, 255, 0.018);
    cursor: not-allowed;
}

.vendor-settings-grid small {
    color: #71818b;
    font-size: 0.72rem;
}


/* Save area */

.vendor-settings-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;

    padding-top: 8px;
}

.vendor-settings-actions .button,
.vendor-settings-actions .secondary-button {
    min-width: 130px;
    text-align: center;
}


/* Legacy success message */

.vendor-settings-success {
    margin-top: 18px;
    padding: 12px 15px;

    border: 1px solid rgba(93, 187, 131, 0.30);
    border-radius: 7px;

    background: rgba(93, 187, 131, 0.07);
    color: #77cc99;
}


/* Mobile */

@media (max-width: 700px) {

    .vendor-settings-grid {
        grid-template-columns: 1fr;
    }

    .vendor-settings-full {
        grid-column: auto;
    }

    .vendor-settings-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .vendor-settings-actions .button,
    .vendor-settings-actions .secondary-button {
        width: 100%;
        box-sizing: border-box;
    }
}

/* =========================================================
   GAME CHAT
   ========================================================= */

.game-chat-section {
    margin-top: 42px;
}

.game-chat-section > .page-description {
    margin-bottom: 18px;
}

.game-chat-messages {
    height: 360px;
    overflow-y: auto;
    padding: 18px;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px 8px 0 0;
    scrollbar-width: thin;
}

.game-chat-message {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 12px 14px;
    margin-bottom: 8px;
    border-radius: 7px;
    transition: background 0.15s ease;
}

.game-chat-message:hover {
    background: rgba(255, 255, 255, 0.035);
}

.game-chat-message-header {
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
}

.game-chat-message-header .participant-user-link {
    color: #ffffff;
    text-decoration: none;
}

.game-chat-message-header .participant-user-link:hover {
    text-decoration: underline;
}

.game-chat-player-id {
    color: #8b98a5;
    font-size: 0.78rem;
}

.game-chat-time {
    margin-left: auto;
    color: #71808d;
    font-size: 0.72rem;
    white-space: nowrap;
}

.game-chat-body {
    margin: 0;
    color: #dce4e9;
    line-height: 1.5;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.game-chat-empty {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #788793;
    font-size: 0.9rem;
}

.game-chat-form {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 0;
    border-radius: 0 0 8px 8px;
}

.game-chat-form textarea {
    flex: 1;
    min-width: 0;
    min-height: 48px;
    max-height: 130px;
    resize: vertical;
    box-sizing: border-box;
    padding: 13px 15px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.22);
    color: #ffffff;
    font: inherit;
    line-height: 1.35;
}

.game-chat-form textarea::placeholder {
    color: #71808d;
}

.game-chat-form textarea:focus {
    outline: none;
    border-color: #ff6b21;
}

.game-chat-form-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.game-chat-limit {
    color: #71808d;
    font-size: 0.72rem;
    white-space: nowrap;
}

.game-chat-form .primary-button {
    min-height: 48px;
    white-space: nowrap;
}

@media (max-width: 700px) {

    .game-chat-messages {
        height: 300px;
        padding: 10px;
    }

    .game-chat-message {
        padding: 10px 8px;
    }

    .game-chat-form {
        flex-direction: column;
        align-items: stretch;
    }

    .game-chat-form-actions {
        justify-content: space-between;
    }

    .game-chat-form .primary-button {
        width: auto;
    }

}

/* Game chat compact conversation layout */

.game-chat-message {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 10px 12px;
    margin-bottom: 4px;
}

.game-chat-avatar-link {
    display: block;
    width: 42px;
    height: 42px;
    text-decoration: none;
}

.game-chat-avatar {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: cover;
    border-radius: 50%;
}

.game-chat-avatar-fallback {
    background: #ff6b21;
    color: #101820;
    font-weight: 700;
}

.game-chat-message-content {
    min-width: 0;
}

.game-chat-message-header {
    justify-content: flex-start;
    min-height: 20px;
}

.game-chat-time {
    margin-left: 8px;
}

.game-chat-body {
    margin-top: 3px;
}

.game-chat-form textarea {
    min-height: 48px;
    height: 48px;
    resize: none;
}

@media (max-width: 700px) {
    .game-chat-message {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 9px;
    }

    .game-chat-avatar-link,
    .game-chat-avatar {
        width: 36px;
        height: 36px;
    }

    .game-chat-time {
        margin-left: auto;
    }
}


/* =========================================================
   HOME DASHBOARD REFINEMENT
   ========================================================= */

.hero-dashboard {
    min-height: 310px;
    padding: 38px 0 42px;
    box-sizing: border-box;
}

.hero-dashboard h1 {
    max-width: 680px;
    margin: 8px 0 14px;

    font-size: clamp(42px, 5vw, 66px);
    line-height: .96;
    letter-spacing: -3px;
}

.hero-dashboard .hero-text {
    max-width: 560px;
    margin: 0;

    font-size: 17px;
    line-height: 1.45;
}

.hero-dashboard .hero-actions {
    margin-top: 24px;
}


/* Logged-in home sections */

.hero-dashboard + .content-section {
    padding-top: 42px;
}

.hero-dashboard ~ .content-section {
    padding-top: 38px;
    padding-bottom: 38px;
}

.hero-dashboard ~ .content-section .section-heading {
    margin-bottom: 18px;
}

.hero-dashboard ~ .content-section .section-heading h2 {
    margin: 3px 0 0;

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

.hero-dashboard ~ .content-section .game-grid {
    gap: 14px;
}

.hero-dashboard ~ .content-section .game-card {
    padding: 20px;
}

.hero-dashboard ~ .content-section .game-card h3 {
    margin-top: 8px;
    margin-bottom: 8px;
}

.hero-dashboard ~ .content-section .game-info {
    margin-top: 16px;
}

.hero-dashboard ~ .content-section .card-footer {
    margin-top: 18px;
    padding-top: 14px;
}


/* Mobile dashboard */

@media (max-width: 700px) {

    .hero-dashboard {
        min-height: auto;
        padding: 32px 0;
    }

    .hero-dashboard h1 {
        font-size: 42px;
        letter-spacing: -2px;
    }

    .hero-dashboard ~ .content-section {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .hero-dashboard ~ .content-section .section-heading h2 {
        font-size: 26px;
    }
}


/* =========================================================
   HOME VISUAL CARDS
   ========================================================= */

.home-section-title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.home-section-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;

    display: grid;
    place-items: center;

    color: var(--joc-orange);

    border: 1px solid rgba(255, 107, 31, 0.32);
    border-radius: 8px;

    background: rgba(255, 107, 31, 0.07);
}

.home-section-icon svg {
    width: 22px;
    height: 22px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-dashboard ~ .content-section .home-game-card {
    position: relative;

    min-height: 170px;
    padding: 22px 22px 22px 250px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    overflow: hidden;
}

.home-card-media {
    position: absolute;
    inset: 0 auto 0 0;

    width: 220px;

    display: grid;
    place-items: center;

    background:
        radial-gradient(
            circle at 40% 35%,
            rgba(255, 107, 31, 0.16),
            transparent 45%
        ),
        linear-gradient(
            135deg,
            #152630,
            #0b151c
        );

    border-right: 1px solid var(--joc-border);
}

.home-card-media::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            transparent 55%,
            rgba(13, 24, 32, 0.45)
        );
}

.home-card-media svg {
    width: 62px;
    height: 62px;

    fill: none;
    stroke: rgba(255, 107, 31, 0.72);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-game-card .game-info {
    padding: 12px 0;
}

.home-status {
    display: inline-flex;
    align-items: center;

    width: fit-content;

    padding: 5px 9px;

    border-radius: 999px;

    font-size: 11px !important;
    font-weight: 700;
    line-height: 1;
}

.home-status-confirmed {
    color: #8bd5a6 !important;

    background: rgba(72, 187, 120, 0.10);
    border: 1px solid rgba(72, 187, 120, 0.28);
}

.home-status-open {
    color: var(--joc-orange) !important;

    background: rgba(255, 107, 31, 0.09);
    border: 1px solid rgba(255, 107, 31, 0.28);
}

.home-player-state {
    display: flex;
    align-items: center;
    gap: 12px;
}


/* HOME desktop cards use the full content width */

.hero-dashboard ~ .content-section .game-grid {
    grid-template-columns: 1fr;
}


/* Mobile */

@media (max-width: 700px) {

    .home-section-title {
        gap: 10px;
    }

    .home-section-icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .home-section-icon svg {
        width: 19px;
        height: 19px;
    }

    .hero-dashboard ~ .content-section .home-game-card {
        padding: 200px 18px 18px;
        min-height: 0;
    }

    .hero-dashboard ~ .content-section .home-game-card > .home-card-media {
        top: 0;
        right: 0;
        bottom: auto;
        left: 0;

        width: 100%;
        height: 180px;
        max-height: 180px;

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

    .hero-dashboard ~ .content-section .home-game-card > .home-card-media img {
        width: 100%;
        height: 180px;
        max-height: 180px;
        object-fit: cover;
        object-position: center;
    }

    .home-card-media::after {
        background:
            linear-gradient(
                180deg,
                transparent 45%,
                rgba(13, 24, 32, 0.55)
            );
    }

    .home-game-card .game-info {
        flex-direction: column;
        gap: 7px;
    }

    .home-game-card .card-footer {
        align-items: flex-start;
        gap: 14px;
        flex-direction: column;
    }

    .home-player-state {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .home-game-card .primary-button {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
}


/* HOME GAME ART */

.home-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    object-fit: cover;
    object-position: center;
}



/* OPEN GAMES REFINEMENT */

.open-game-card {
    overflow: hidden;
}

.open-game-art {
    display: block;
    width: 100%;
    height: 170px;

    margin-bottom: 22px;

    overflow: hidden;
    border-bottom: 1px solid var(--joc-border);

    background: #0b151c;
}

.open-game-art img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

@media (max-width: 700px) {
    .open-game-art {
        height: 150px;
        margin-bottom: 18px;
    }
}

/* MY GAMES ARTWORK */
.my-game-card {
    overflow: hidden;
}

.my-game-art {
    width: 100%;
    height: 170px;
    margin-bottom: 22px;
    overflow: hidden;
    border-bottom: 1px solid var(--joc-border);
    background: #0b151c;
}

.my-game-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.game-list-card.past .my-game-art {
    opacity: 0.72;
}

@media (max-width: 700px) {
    .my-game-art {
        height: 150px;
        margin-bottom: 18px;
    }
}

@media (min-width: 701px) and (max-width: 1050px) {
    .game-detail-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* GAME DETAIL PRIMARY ACTION */
.game-detail-primary-action {
    margin: 20px 0 10px;
}

.game-detail-primary-action .game-detail-actions-primary {
    display: flex;
    align-items: center;
    gap: 12px;
}

.game-detail-primary-action form {
    margin: 0;
}

/* =========================================================
   PUBLIC PLAYER PROFILE
   ========================================================= */

.public-profile-games {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.public-profile-game {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 17px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
}

.public-profile-game-name {
    color: #ffffff;
    font-weight: 700;
}

.public-profile-skill {
    flex-shrink: 0;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255, 107, 33, 0.12);
    border: 1px solid rgba(255, 107, 33, 0.30);
    color: #ff8a4c;
    font-size: 0.78rem;
    font-weight: 700;
}

.public-profile-clubs {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.public-profile-club {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 17px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    color: #ffffff;
    text-decoration: none;
    transition:
        border-color 0.15s ease,
        background 0.15s ease;
}

.public-profile-club:hover {
    border-color: rgba(255, 107, 33, 0.45);
    background: rgba(255, 107, 33, 0.055);
}

.public-profile-club strong {
    display: block;
}

.public-profile-club span:not(.public-profile-club-arrow) {
    display: block;
    margin-top: 3px;
    color: #8b98a5;
    font-size: 0.82rem;
}

.public-profile-club-arrow {
    color: #ff6b21;
    font-size: 1.2rem;
}

@media (max-width: 700px) {
    .public-profile-game {
        align-items: flex-start;
    }

    .public-profile-skill {
        font-size: 0.72rem;
    }
}

/* PUBLIC PLAYER IDENTITY */

.profile-page > .profile-header {
    padding: 28px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 10px;
    background:
        linear-gradient(
            135deg,
            rgba(255, 107, 33, 0.07),
            rgba(255, 255, 255, 0.02) 45%,
            rgba(255, 255, 255, 0.01)
        );
}

.profile-page > .profile-header .player-avatar {
    width: 76px;
    height: 76px;
    min-width: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.45rem;
    font-weight: 700;
}

.profile-page > .profile-header h1 {
    margin: 2px 0 6px;
    font-size: 2rem;
}

.profile-page > .profile-header .profile-player-id {
    margin: 0 0 6px;
    color: #8b98a5;
}

.profile-page > .profile-header .profile-player-id strong {
    color: #ff8a4c;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.player-profile-actions {
    margin: 0 0 12px;
}

@media (max-width: 700px) {
    .profile-page > .profile-header {
        padding: 20px;
    }

    .profile-page > .profile-header .player-avatar {
        width: 64px;
        height: 64px;
        min-width: 64px;
    }

    .profile-page > .profile-header h1 {
        font-size: 1.6rem;
    }
}

/* =========================================================
   PLAYER DISCOVERY POLISH
   ========================================================= */

.player-card-id {
    color: #ff8a4c !important;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.player-connection-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 5px;
}

.player-card-info .player-connection-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 4px 7px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    background: rgba(255, 255, 255, 0.045);
    color: #aeb7bf;
    font-size: 0.7rem;
    line-height: 1.2;
}

.player-card-info .player-connection-badge.played {
    border-color: rgba(255, 107, 33, 0.28);
    background: rgba(255, 107, 33, 0.08);
    color: #ff9a66;
}

.player-search-form input:focus {
    outline: none;
    border-color: rgba(255, 107, 33, 0.65);
}

@media (max-width: 700px) {
    .player-connection-signals {
        margin-top: 4px;
    }
}

/* =========================================================
   VENUE ONBOARDING
   ========================================================= */

.vendor-create-action {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 24px;
}

.vendor-onboarding-card {
    max-width: 680px;
}

.vendor-empty-state {
    margin-bottom: 24px;
}

@media (max-width: 700px) {
    .vendor-create-action {
        justify-content: stretch;
    }

    .vendor-create-action .primary-button {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}

/* =========================================================
   CREATE GAME FLOW
   ========================================================= */

.create-game-step {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 26px 0 14px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.create-game-step:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.create-game-step-number {
    width: 30px;
    height: 30px;
    min-width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ff6b21;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
}

.create-game-step strong {
    display: block;
    color: #fff;
    font-size: 0.95rem;
}

.create-game-step small {
    display: block;
    margin-top: 2px;
    color: #8b98a5;
    font-size: 0.75rem;
}

@media (max-width: 700px) {
    .create-game-step {
        margin-top: 22px;
        padding-top: 18px;
    }
}

.booking-flow-note {
    margin-top: 14px;
    color: #8b98a5;
    font-size: 0.78rem;
}

cat >> app/static/style.css <<'CSS'

/* =========================================================
 * GAME RESULTS
 * ========================================================= */

.game-result-section {
    margin-top: 3rem;
}

.game-result-section > h2 {
    margin: 0 0 0.4rem;
}

.game-result-section > .page-description {
    max-width: 760px;
    margin-bottom: 1.4rem;
}

.game-result-card {
    width: 100%;
    max-width: 760px;
    box-sizing: border-box;
    margin-top: 1.5rem;
    padding: 1.5rem 1.75rem 1.25rem;
    background: #16242e;
    border: 1px solid #31414c;
    border-radius: 8px;
}

.game-result-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: 100%;
    margin-bottom: 1.75rem;
}

.game-result-card-label {
    margin: 0;
    color: #ff7926;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.game-result-status {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.62rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.game-result-status-confirmed {
    color: #79d99a;
    border: 1px solid rgba(70,190,110,.35);
    background: rgba(70,190,110,.10);
}

.game-result-status-pending,
.game-result-status-review {
    color: #ffad72;
    border: 1px solid rgba(255,122,33,.32);
    background: rgba(255,122,33,.09);
}

.game-result-status-disputed {
    color: #ef7d7d;
    border: 1px solid rgba(220,75,75,.35);
    background: rgba(220,75,75,.09);
}

/* Player | score | dash | score | player */
.game-result-scoreboard {
    display: grid;
    grid-template-columns:
        minmax(150px, 1fr)
        72px
        28px
        72px
        minmax(150px, 1fr);
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 105px;
}

.game-result-player {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
}

.game-result-player-left {
    align-items: flex-start;
    text-align: left;
}

.game-result-player-right {
    align-items: flex-end;
    text-align: right;
}

.game-result-player strong {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #fff;
    font-size: 1.05rem;
}

.game-result-army {
    color: #8fa2b0;
    font-size: 0.78rem;
}

.game-result-score {
    color: #fff;
    font-size: 3rem;
    line-height: 1;
    font-weight: 800;
    text-align: center;
}

.game-result-separator {
    color: #647681;
    font-size: 1.4rem;
    text-align: center;
}

.game-result-badge {
    display: inline-flex;
    width: fit-content;
    padding: 0.27rem 0.62rem;
    border-radius: 999px;
    font-size: 0.64rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.07em;
}

.game-result-win {
    color: #79d99a;
    border: 1px solid rgba(70,190,110,.35);
    background: rgba(70,190,110,.10);
}

.game-result-loss {
    color: #ef7d7d;
    border: 1px solid rgba(220,75,75,.35);
    background: rgba(220,75,75,.09);
}

.game-result-draw {
    color: #c3ccd3;
    border: 1px solid rgba(170,180,190,.28);
    background: rgba(170,180,190,.08);
}

.game-result-submitted-by {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #2c3b45;
    color: #8195a3;
    font-size: 0.78rem;
}

.game-result-submitted-by strong {
    color: #d4dce1;
}

.game-result-review-note {
    max-width: 760px;
    box-sizing: border-box;
    margin: 1rem 0;
    padding: 0.9rem 1rem;
    color: #cbd5db;
    background: rgba(255,121,38,.07);
    border: 1px solid rgba(255,121,38,.28);
    border-left: 3px solid #ff7926;
    border-radius: 6px;
}

.game-result-review-note strong {
    color: #fff;
}

.game-result-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.game-result-actions form {
    margin: 0;
}

.game-result-change-form {
    max-width: 760px;
    box-sizing: border-box;
    margin-top: 1rem;
    padding: 1rem;
    background: #16242e;
    border: 1px solid #31414c;
    border-radius: 7px;
}

.game-result-change-form label {
    display: block;
    margin-bottom: 0.6rem;
    color: #fff;
    font-weight: 600;
}

.game-result-change-form textarea {
    display: block;
    width: 100%;
    min-height: 90px;
    box-sizing: border-box;
    padding: 0.8rem;
    resize: vertical;
    color: #fff;
    background: #0d1921;
    border: 1px solid #40515d;
    border-radius: 5px;
    font: inherit;
}

.game-result-change-form textarea:focus {
    outline: none;
    border-color: #ff7926;
}

@media (max-width: 700px) {
    .game-result-card {
        padding: 1.2rem;
    }

    .game-result-scoreboard {
        grid-template-columns:
            minmax(70px, 1fr)
            44px
            18px
            44px
            minmax(70px, 1fr);
        gap: 0.3rem;
        min-height: 85px;
    }

    .game-result-player strong {
        font-size: 0.85rem;
    }

    .game-result-score {
        font-size: 2rem;
    }

    .game-result-separator {
        font-size: 1rem;
    }

    .game-result-badge,
    .game-result-status {
        font-size: 0.57rem;
    }

    .game-result-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .game-result-actions form,
    .game-result-actions .primary-button,
    .game-result-actions .secondary-button,
    .game-result-actions .danger-button {
        width: 100%;
        box-sizing: border-box;
    }
}


/* =========================================================
   CLUB STATS
   ========================================================= */

.club-stats-chart {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 18px;
}

.club-stats-bar-row {
    display: grid;
    grid-template-columns: minmax(120px, 180px) 1fr 36px;
    align-items: center;
    gap: 12px;
}

.club-stats-bar-label {
    font-size: 0.9rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.club-stats-bar-track {
    height: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
}

.club-stats-bar-fill {
    height: 100%;
    min-width: 4px;
    background: var(--accent, #ff7a00);
    border-radius: 999px;
}

.club-stats-bar-value {
    font-size: 0.9rem;
    font-weight: 700;
    text-align: right;
}

@media (max-width: 700px) {
    .club-stats-bar-row {
        grid-template-columns: minmax(90px, 120px) 1fr 28px;
        gap: 8px;
    }

    .club-stats-bar-label {
        font-size: 0.8rem;
    }
}

.club-stats-analytics-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

@media (max-width: 800px) {
    .club-stats-analytics-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   JocPoint Social Result Card
   ========================================================== */

.social-result-preview {
    margin-top: 32px;
}

.social-result-preview-label {
    margin: 0 0 10px;
    color: #ff7a1a;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.social-result-card {
    width: 100%;
    max-width: 900px;
    overflow: hidden;
    border: 1px solid rgba(255, 122, 26, 0.5);
    border-radius: 18px;
    background: #09111d;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.social-result-artwork {
    min-height: 210px;
    padding: 24px 28px;
    background-color: #111a28;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}

.social-result-brand {
    position: absolute;
    top: 20px;
    left: 24px;
    font-size: 1.15rem;
    letter-spacing: 0.04em;
}

.social-result-brand strong {
    color: #f5f7fa;
}

.social-result-brand strong span {
    color: #ff7a1a;
}

.social-result-game {
    color: #fff;
    font-size: clamp(1.7rem, 5vw, 3rem);
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 0 3px 14px rgba(0,0,0,.75);
}

.social-result-mode {
    margin-top: 10px;
    color: #ff8a32;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.social-result-body {
    padding: 22px 28px 20px;
}

.social-result-outcome {
    margin-bottom: 18px;
    color: #ff7a1a;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: .1em;
}

.social-result-versus {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
    gap: 22px;
    align-items: center;
}

.social-result-player {
    min-width: 0;
}

.social-result-player strong {
    display: block;
    color: #f7f8fa;
    font-size: 1.05rem;
    overflow-wrap: anywhere;
}

.social-result-player span {
    display: block;
    margin-top: 4px;
    color: #9da8b8;
    font-size: .85rem;
}

.social-result-player-right {
    text-align: right;
}

.social-result-player em {
    display: inline-block;
    margin-top: 8px;
    padding: 3px 8px;
    border: 1px solid rgba(255,122,26,.5);
    border-radius: 999px;
    color: #ff8a32;
    font-size: .64rem;
    font-style: normal;
    font-weight: 900;
    letter-spacing: .08em;
}

.social-result-score {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #f8fafc;
}

.social-result-score strong {
    font-size: clamp(2rem, 6vw, 3.4rem);
    line-height: 1;
}

.social-result-score b {
    color: #ff7a1a;
    font-size: 1.4rem;
}

.social-result-meta {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.09);
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 14px;
}

.social-result-meta span {
    display: block;
    margin-bottom: 4px;
    color: #78869a;
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .09em;
}

.social-result-meta strong {
    color: #e8edf3;
    font-size: .82rem;
}

.social-result-footer {
    padding: 12px 28px;
    border-top: 1px solid rgba(255,122,26,.3);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    background: #070d16;
    color: #8995a5;
    font-size: .68rem;
    letter-spacing: .08em;
}

.social-result-footer strong {
    color: #ff7a1a;
}

@media (max-width: 700px) {
    .social-result-artwork {
        min-height: 170px;
        padding: 22px 18px;
    }

    .social-result-body {
        padding: 20px 18px 18px;
    }

    .social-result-versus {
        gap: 10px;
    }

    .social-result-player strong {
        font-size: .85rem;
    }

    .social-result-score {
        gap: 7px;
    }

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

    .social-result-footer {
        padding: 11px 18px;
        flex-direction: column;
        gap: 4px;
    }
}

/* JocPoint Result Share */

.social-result-share-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.social-result-share-actions .primary-button {
    min-width: 190px;
    text-align: center;
}

.social-result-share-status {
    max-width: 520px;
    margin: 0;
    text-align: center;
    color: var(--text-muted, #a6b0be);
    font-size: 0.9rem;
}
