/* Global background for main app */
body {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Landing Page Styles */
.landing-container {
    min-height: 100vh;
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.landing-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.8);
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.landing-header {
    margin-bottom: 32px;
}

.landing-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.landing-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0;
}

.landing-form {
    text-align: left;
}

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

.landing-input {
    width: 100%;
}

.landing-input-optional {
    opacity: 0.7;
}

/* Make all landing inputs rounded and match button size */
.landing-input .mud-input-outlined {
    width: 100%;
    border-radius: 6px !important;
    min-height: 54px !important;
}

.landing-input .mud-input-outlined .mud-input-root {
    padding-left: 4%;
    width: 100%;
    border-radius: 6px !important;
    min-height: 54px !important;
}

.landing-input .mud-input-outlined .mud-input-root input {
    width: 100%;
    padding: 16px 20px 16px 4% !important;
    height: 54px !important;
    box-sizing: border-box !important;
}

.landing-input .mud-input-outlined .mud-input-label {
    padding: 0 8px !important;
}

.landing-btn-primary {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
    color: white !important;
    border: none !important;
    padding: 16px 32px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    width: 100% !important;
    margin-top: 12px !important;
    transition: all 0.3s ease !important;
    text-transform: none !important;
    min-height: 54px !important;
    box-shadow: 0 4px 16px rgba(44, 62, 80, 0.2) !important;
}

.landing-btn-primary:hover:not([disabled]) {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(44, 62, 80, 0.4) !important;
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%) !important;
}

.landing-btn-primary[disabled] {
    background: #e0e0e0 !important;
    color: #999 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

/* Poker Planning - Table Layout */

/* Top bar for active sessions */
.top-bar {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    color: white;
    padding: 12px 20px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.session-info-section {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.session-title {
    font-size: 18px;
    font-weight: 700;
}

.session-code-small {
    font-size: 14px;
    opacity: 0.9;
}

.joined-indicator {
    font-size: 12px;
    color: #4caf50;
    background: rgba(76, 175, 80, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.share-section {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
    min-width: 0;
}

.share-label {
    font-size: 14px;
    opacity: 0.9;
    white-space: nowrap;
}

.share-link-compact {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    padding: 6px 12px;
    color: white;
    font-family: monospace;
    font-size: 12px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}

.share-link-compact:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

.about-section {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
}


/* Buy Me a Coffee button styling */
.bmc-btn {
    background: #FFDD00 !important;
    color: #000000 !important;
    border: 1px solid #000000 !important;
    border-radius: 6px !important;
    padding: 6px 12px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    transition: all 0.3s ease !important;
    min-height: auto !important;
    height: auto !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.bmc-btn:hover {
    background: #FFE55C !important;
    color: #000000 !important;
    transform: translateY(-1px);
    text-decoration: none !important;
}

.bmc-btn:active {
    transform: translateY(0);
}

/* Leave button styling */
.leave-btn {
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 6px !important;
    padding: 6px 12px !important;
    color: white !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    min-height: auto !important;
    height: auto !important;
    box-shadow: none !important;
}

.leave-btn:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    color: white !important;
    transform: translateY(-1px);
}

.leave-btn:active {
    transform: translateY(0);
}

/* Copy link button styling */
.copy-link-btn {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 6px !important;
    padding: 6px 12px !important;
    color: white !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    transition: all 0.3s ease !important;
    min-height: auto !important;
    height: auto !important;
    box-shadow: none !important;
}

.copy-link-btn:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    color: white !important;
    transform: translateY(-1px);
}

.copy-link-btn:active {
    transform: translateY(0);
}

/* Main layout centering */
.main-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 10px;
}

.content-centered {
    max-width: 1400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}



/* Poker room container */
.poker-room {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: calc(100vh - 80px);
    padding: 20px;
}

/* Poker table container */
.poker-table-container {
    position: relative;
    width: 600px;
    height: 400px;
    margin: 20px 0;
}

/* Poker table */
.poker-table {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 200px;
    background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
    border-radius: 40%;
    border: 6px solid #63300c;
    box-shadow:
        inset 0 0 20px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(0, 0, 0, 0.2);
}

.table-surface {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: inherit;
}

/* Table center info */
.table-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.2);
    padding: 12px 20px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.consensus-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.consensus-title {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.9;
}

.consensus-value {
    font-size: 24px;
    font-weight: 700;
    color: #4caf50;
}

.consensus-stats {
    display: flex;
    gap: 16px;
    font-size: 14px;
}

.consensus-stats > div {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 8px;
    font-weight: 600;
}

/* Player seats around the table */
.player-seat {
    position: absolute;
    width: 100px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.player-seat.position-bottom {
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.player-seat.position-top {
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.player-seat.position-left {
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
}

.player-seat.position-right {
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
}

.player-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    color: #333;
}

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

.status-waiting {
    color: #999;
}

.status-voted {
    color: #4caf50;
    font-weight: 600;
}

.status-revealed {
    color: #1976d2;
    font-weight: 700;
    font-size: 14px;
    background: rgba(25, 118, 210, 0.1);
    padding: 2px 8px;
    border-radius: 8px;
    border: 1px solid rgba(25, 118, 210, 0.3);
}

/* Cards on the table */
.table-cards {
    position: relative;
    width: 100%;
    height: 100%;
}

.table-card {
    position: absolute;
    transition: all 0.3s ease;
}

.table-card.card-position-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.table-card.card-position-bottom {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.table-card.card-position-top {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.table-card.card-position-left {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.table-card.card-position-right {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* Vote cards */
.vote-card {
    width: 50px;
    height: 70px;
    perspective: 1000px;
    cursor: pointer;
    position: relative;
    margin: 3px;
}

.vote-card-inner {
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease-in-out;
    transform-style: preserve-3d;
    position: relative;
    transform-origin: center center;
}

.vote-card.flipped .vote-card-inner {
    transform: rotateY(180deg);
}

.vote-card-front,
.vote-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    transform-origin: center center;
}

.vote-card-front:hover {
    border-color: #1976d2;
    box-shadow: 0 6px 16px rgba(25, 118, 210, 0.2);
    transform: translateY(-2px);
}

.vote-card-back {
    background: linear-gradient(145deg, #1976d2, #1565c0);
    color: white;
    transform: rotateY(180deg);
    border-color: #1565c0;
}

.vote-card.selected .vote-card-front {
    background: linear-gradient(145deg, #e3f2fd, #bbdefb);
    border-color: #1976d2;
    color: #1565c0;
}

.vote-card.disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.vote-card.disabled .vote-card-front,
.vote-card.disabled .vote-card-back {
    pointer-events: none;
}

.vote-card.disabled:hover .vote-card-front {
    border-color: #e0e0e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: none;
}

/* User vote cards - smaller version for table */
.user-vote-card {
    width: 35px;
    height: 50px;
    margin: 0;
}

.user-vote-card .vote-card-front,
.user-vote-card .vote-card-back {
    font-size: 12px;
    font-weight: 700;
}

.user-vote-card .vote-card-front {
    background: linear-gradient(145deg, #f5f5f5, #e0e0e0);
    color: #666;
    border-color: #d0d0d0;
}

.user-vote-card.flipped .vote-card-inner {
    transform: rotateY(180deg);
}

/* Player hand (voting area) */
.player-hand {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 30px 0px 0px 0px;
    max-width: 500px;
    width: 100%;
}

.player-hand h5 {
    margin-bottom: 15px;
    color: white;
    font-size: 16px;
    text-align: center;
    font-weight: 600;
}

.voting-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
}

/* Host controls */
.host-controls {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 500px;
    width: 100%;
}


.btn-success {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.btn-warning {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

.btn-toggle {
    background: linear-gradient(135deg, #9e9e9e 0%, #757575 100%);
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(158, 158, 158, 0.4);
}

.btn-toggle-active {
    background: linear-gradient(135deg, #673ab7 0%, #5e35b1 100%);
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-toggle-active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(103, 58, 183, 0.4);
}

.btn-disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

.btn-disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Animation for card reveal */
@keyframes cardReveal {
    0% {
        transform: rotateY(0deg);
    }
    50% {
        transform: rotateY(90deg);
    }
    100% {
        transform: rotateY(180deg);
    }
}

.reveal-animation .vote-card-inner {
    animation: cardReveal 0.8s ease-in-out forwards;
}

/* Responsive design */
@media (max-width: 1024px) {
    .poker-table-container {
        width: 600px;
        height: 450px;
    }

    .poker-table {
        width: 300px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .content-centered {
        padding: 10px;
    }

    /* Top bar mobile adjustments */
    .top-bar {
        padding: 10px 15px;
    }

    .top-bar-content {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .session-info-section {
        justify-content: center;
    }

    .share-section {
        justify-content: center;
    }

    .share-link-compact {
        max-width: 250px;
        font-size: 11px;
    }

    .about-section {
        text-align: center;
    }

    /* Poker table mobile adjustments */
    .poker-table-container {
        width: 400px;
        height: 350px;
    }

    .poker-table {
        width: 250px;
        height: 160px;
    }

    .player-seat {
        width: 90px;
        padding: 8px;
        font-size: 12px;
    }

    .vote-card {
        width: 50px;
        height: 70px;
    }

    .user-vote-card {
        width: 30px;
        height: 42px;
    }

    .voting-container {
        gap: 6px;
    }

    .host-controls {
        margin-top: 15px;
        gap: 12px;
    }

}

@media (max-width: 480px) {
    .poker-table-container {
        width: 320px;
        height: 280px;
    }

    .poker-table {
        width: 200px;
        height: 130px;
    }

    .player-seat {
        width: 70px;
        padding: 6px;
        font-size: 10px;
    }

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

    .vote-card {
        width: 45px;
        height: 60px;
    }

    .user-vote-card {
        width: 25px;
        height: 35px;
    }
}

/* Custom Notification System - Clean, modern cards */
.custom-notification-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    pointer-events: none;
    max-width: 400px;
}

.custom-notification {
    margin-bottom: 12px;
    pointer-events: all;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-notification.custom-notification-show {
    transform: translateX(0);
    opacity: 1;
}

.custom-notification.custom-notification-fade-out {
    transform: translateX(100%);
    opacity: 0;
}

.custom-notification-content {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-radius: 12px;
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: white;
    min-width: 300px;
    max-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.custom-notification-icon {
    font-size: 16px;
    font-weight: bold;
    margin-right: 12px;
    flex-shrink: 0;
}

.custom-notification-message {
    flex: 1;
    line-height: 1.4;
}

.custom-notification-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: 12px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.custom-notification-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

/* Success notifications */
.custom-notification-success .custom-notification-content {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    border-color: rgba(76, 175, 80, 0.3);
}

/* Error notifications */
.custom-notification-error .custom-notification-content {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    border-color: rgba(244, 67, 54, 0.3);
}

/* Warning notifications */
.custom-notification-warning .custom-notification-content {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    border-color: rgba(255, 152, 0, 0.3);
}

/* Info notifications */
.custom-notification-info .custom-notification-content {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    border-color: rgba(33, 150, 243, 0.3);
}

/* Hide MudBlazor snackbars completely */
.mud-snackbar-provider {
    display: none !important;
}

/* Global Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-card {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 32px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: 300px;
    text-align: center;
}

.loading-text {
    color: white;
    font-size: 16px;
    font-weight: 500;
    opacity: 0.9;
}

/* Mobile-specific navbar styling */
@media (max-width: 1200px) {
    .top-bar {
        padding: 8px 16px;
        margin-bottom: 10px;
    }

    .top-bar-content {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }

    .session-info-section {
        text-align: center;
        order: 1;
    }

    .session-title {
        font-size: 16px;
        font-weight: 600;
    }

    .session-code-small {
        font-size: 12px;
        opacity: 0.8;
    }

    .joined-indicator {
        font-size: 12px;
        margin-left: 8px;
    }

    .share-section {
        order: 2;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .share-label {
        display: none;
    }

    .share-link-compact {
        font-size: 11px;
        max-width: 200px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .copy-link-btn,
    .leave-btn {
        font-size: 12px !important;
        padding: 4px 8px !important;
        min-height: 32px !important;
    }

    .about-section {
        order: 3;
        justify-content: center;
        margin-top: 4px;
    }

    .bmc-btn {
        font-size: 11px !important;
        padding: 4px 8px !important;
        min-height: 28px !important;
    }
}

/* Ultra-compact styling for very small screens */
@media (max-width: 500px) {
    .top-bar {
        padding: 6px 12px;
        margin-bottom: 8px;
    }

    .top-bar-content {
        gap: 6px;
    }

    .session-info-section {
        margin-bottom: 4px;
    }

    .session-title {
        font-size: 14px;
        font-weight: 600;
    }

    .session-code-small {
        font-size: 11px;
        opacity: 0.7;
    }

    .joined-indicator {
        font-size: 10px;
        margin-left: 4px;
    }

    .share-section {
        gap: 6px;
        margin-bottom: 4px;
    }

    .share-link-compact {
        font-size: 10px;
        max-width: 150px;
        padding: 2px 6px;
        border-radius: 4px;
        background: rgba(255, 255, 255, 0.1);
    }

    .copy-link-btn,
    .leave-btn {
        font-size: 10px !important;
        padding: 3px 6px !important;
        min-height: 28px !important;
        border-radius: 4px !important;
    }

    .copy-link-btn {
        min-width: 50px !important;
    }

    .leave-btn {
        min-width: 45px !important;
    }

    .about-section {
        margin-top: 2px;
    }

    .bmc-btn {
        font-size: 10px !important;
        padding: 3px 6px !important;
        min-height: 26px !important;
        border-radius: 4px !important;
    }

    /* Stack buttons in rows if needed */
    .share-section {
        display: grid;
        grid-template-columns: 1fr auto auto;
        grid-gap: 4px;
        align-items: center;
        justify-items: center;
    }

    .share-link-compact {
        grid-column: 1 / -1;
        width: 100%;
        text-align: center;
        margin-bottom: 2px;
    }
}