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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

body.game-active {
    padding: 0;
    overflow: hidden;
}

#app {
    max-width: 1600px;
    margin: 0 auto;
}

#app.game-active {
    max-width: none;
    margin: 0;
}

/* Start Screen */
#startScreen {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.start-container {
    background: white;
    padding: 50px;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.start-container h1 {
    font-size: 4rem;
    margin: 0;
    color: #667eea;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 1.5rem;
    color: #666;
    margin: 10px 0 40px;
    font-weight: 300;
}

.start-section {
    margin: 40px 0;
}

.start-section h2 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.region-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.region-btn {
    background: white;
    border: 3px solid #e0e0e0;
    padding: 15px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
}

.region-btn:hover {
    border-color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.region-btn.selected {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

/* Delete button for saved custom regions */
.delete-region-btn,
.clear-search-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.2s ease;
    padding: 0;
    font-weight: bold;
}

.region-btn:hover .delete-region-btn,
.region-btn:hover .clear-search-btn {
    opacity: 1;
}

.delete-region-btn:hover,
.clear-search-btn:hover {
    background: #cc0000;
    transform: scale(1.1);
}

.region-icon {
    font-size: 2.5rem;
}

.region-name {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.region-select {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid #667eea;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 5px;
}

.region-select:hover,
.region-select:focus {
    border-color: #764ba2;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.region-select option {
    padding: 8px;
}

.mode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.mode-btn {
    background: white;
    border: 3px solid #e0e0e0;
    padding: 20px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.mode-btn:hover {
    border-color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.mode-btn.selected {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.mode-icon {
    font-size: 3rem;
}

.mode-name {
    font-weight: 700;
    color: #333;
    font-size: 1.2rem;
}

.mode-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

.btn-large {
    padding: 18px 50px;
    font-size: 1.3rem;
    margin-top: 30px;
}

/* Header */
header {
    background: white;
    padding: 10px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 150;
    width: 100%;
    transition: background 0.3s ease;
}

header.time-warning {
    animation: blinkRed 1s ease-in-out infinite;
}

@keyframes blinkRed {
    0%, 100% {
        background: white;
    }
    50% {
        background: #ff4444;
    }
}

header h1 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

header h1:hover {
    color: #667eea;
    transform: scale(1.05);
}

.score-container {
    display: flex;
    gap: 20px;
    align-items: center;
}

.score-item {
    display: flex;
    gap: 6px;
    align-items: baseline;
}

.score-item .label {
    color: #666;
    font-size: 0.85rem;
}

.score-item span:not(.label) {
    color: #667eea;
    font-weight: 700;
    font-size: 1rem;
}

/* Game Container */
#gameContainer {
    position: relative;
    height: 100vh;
    width: 100vw;
}

/* Fullscreen Panorama Section */
#panoramaSection {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    overflow: hidden;
}

#panoramaContainer {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}


/* Top Controls Bar */
#topControls {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.control-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.control-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.control-group select {
    padding: 5px 10px;
    border: 2px solid #e0e0e0;
    background: white;
    color: #333;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-group select:hover {
    border-color: #667eea;
}

/* Floating Map Overlay */
#mapOverlay {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    z-index: 200;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 20px);
}

#mapOverlay.collapsed {
    width: 350px;
    height: 250px;
}

#mapOverlay.expanded {
    width: 50vw;
    height: 50vh;
    max-width: 800px;
    max-height: calc(100vh - 20px);
}

#mapHeader {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: move;
    flex-shrink: 0;
}

.map-title {
    font-weight: 600;
    font-size: 1rem;
}

.map-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

#mapLayerSelect {
    padding: 3px 6px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 0.75rem;
    cursor: pointer;
}

.icon-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 28px;
    height: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

#mapContainer {
    width: 100%;
    flex: 1;
    min-height: 0;
    position: relative;
}

.map-footer {
    padding: 6px 10px;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    flex-shrink: 0;
}

.btn-compact {
    padding: 6px 16px;
    font-size: 0.85rem;
    width: auto;
    min-width: 120px;
}


.btn {
    padding: 10px 24px;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-success {
background: linear-gradient(135deg, #56ab2f 0%, #a8e063 100%);
color: white;
}

/* Minimized Controls Container */
.minimized-controls {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    gap: 10px;
    z-index: 500;
}

/* Restore Result Button */
.restore-btn {
    position: relative;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
}

.restore-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.6);
}

.restore-btn-next {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    box-shadow: 0 4px 12px rgba(17, 153, 142, 0.4);
}

.restore-btn-next:hover {
    box-shadow: 0 6px 16px rgba(17, 153, 142, 0.6);
}

/* Reset Location Button */
.reset-location-btn {
    position: absolute;
    top: 60px;
    right: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #333;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.reset-location-btn:hover {
    background: #667eea;
    color: white;
}

/* Timer warning state */
#timerValue.warning {
    animation: blinkTextInverse 1s ease-in-out infinite;
}

@keyframes blinkTextInverse {
    0%, 100% {
        color: #ff4444;
    }
    50% {
        color: white;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

/* Modals */
.modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
z-index: 1000;
justify-content: center;
align-items: center;
}

.modal-content {
background: white;
padding: 30px;
max-width: 800px;
width: 90%;
max-height: 90vh;
overflow-y: auto;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-large {
max-width: 1000px;
max-height: 85vh;
}

.modal-subtitle {
color: #666;
font-size: 1rem;
margin: -10px 0 20px;
text-align: center;
}

#drawMapContainer {
width: 100%;
height: 500px;
border: 2px solid #e0e0e0;
margin-bottom: 20px;
position: relative;
cursor: crosshair;
}

.draw-mode-toggle {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 15px;
}

.mode-toggle-btn {
    padding: 8px 16px;
    border: 2px solid #e0e0e0;
    background: white;
    color: #333;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mode-toggle-btn:hover {
    border-color: #667eea;
    background: #f8f9fa;
}

.mode-toggle-btn.active {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: #667eea;
}

.mode-toggle-btn span {
    font-size: 1.2rem;
}

.draw-controls {
display: flex;
gap: 15px;
justify-content: center;
flex-wrap: wrap;
}

.modal-content h2 {
color: #333;
margin-bottom: 20px;
font-size: 1.8rem;
}

#resultDetails {
    margin-bottom: 20px;
}

#resultDetails p {
    margin: 10px 0;
    font-size: 1.1rem;
    color: #555;
}

#resultDetails strong {
    color: #333;
}

#resultMap {
    height: 300px;
    margin: 20px 0;
    overflow: hidden;
    border: 2px solid #e0e0e0;
}

#finalScoreDetails {
    text-align: center;
}

.final-score {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    margin: 20px 0;
}

#roundBreakdown {
    margin: 20px 0;
    text-align: left;
}

.round-result {
    padding: 10px;
    margin: 8px 0;
    background: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.round-result strong {
    color: #333;
}

.round-result .score {
    color: #667eea;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Status Messages */
.status-message {
    padding: 15px 20px;
    text-align: center;
    color: #666;
}

.status-message.loading {
    color: #667eea;
    font-weight: 500;
}

.status-message.error {
    color: #dc3545;
    font-weight: 500;
}

/* Custom Markers */
.custom-marker {
    background: transparent !important;
    border: none !important;
}

.custom-marker::before {
    content: none !important;
}

/* Guess marker on main map */
.guess-marker {
    background: #ff4444;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.actual-marker {
    background-color: #44ff44;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    
    header h1 {
        font-size: 1.5rem;
    }
    
    .score-container {
        flex-direction: column;
        gap: 10px;
    }
    
    #gameContainer {
        height: calc(100vh - 180px);
    }
    
    #mapOverlay.collapsed {
        width: 280px;
        height: 200px;
    }
    
    #mapOverlay.expanded {
        width: calc(100vw - 40px);
        height: 60vh;
        bottom: 10px;
        right: 10px;
    }
    
    #topControls {
        top: 10px;
        left: 10px;
        padding: 8px 12px;
    }
    
    #actionButtons {
        bottom: 10px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

/* Difficulty Preferences */
.preferences-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.preference-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    transition: background 0.2s ease;
}

.preference-item:hover {
    background: #e9ecef;
}

.preference-info {
    flex: 1;
}

.preference-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.preference-desc {
    font-size: 0.85rem;
    color: #666;
}

/* Android-style Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked + .slider {
    background-color: #667eea;
}

input:focus + .slider {
    box-shadow: 0 0 1px #667eea;
}

input:checked + .slider:before {
    transform: translateX(24px);
}

/* Disabled state */
input:disabled + .slider {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Multiplayer Styles */
.play-mode-btn {
    background: white;
    border: 3px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 200px;
}

.play-mode-btn:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.2);
}

.mp-profile {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.mp-profile h3 {
    margin: 0 0 15px 0;
    color: #333;
}

.profile-inputs {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.profile-inputs input {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.icon-selector {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.icon-btn {
    width: 50px;
    height: 50px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.icon-btn:hover {
    transform: scale(1.1);
    border-color: #667eea;
}

.icon-btn.selected {
    border-color: #667eea;
    background: #f0f4ff;
    transform: scale(1.1);
}

.mp-actions {
    display: flex;
    gap: 30px;
    align-items: center;
    margin: 20px 0;
}

.mp-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.mp-section h3 {
    margin: 0;
    color: #333;
}

.mp-section input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    text-align: center;
}

.mp-divider {
    font-weight: bold;
    color: #999;
    padding: 0 20px;
}

/* Lobby Panel */
#lobbyPanel {
    position: fixed;
    right: 20px;
    top: 80px;
    width: 300px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 100;
}

.lobby-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.lobby-header {
    padding: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.lobby-header h3 {
    margin: 0 0 10px 0;
    color: #333;
}

.session-code {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.session-code strong {
    color: #667eea;
    font-size: 18px;
    letter-spacing: 2px;
}

.lobby-players {
    flex: 1;
    padding: 15px;
    max-height: 400px;
    overflow-y: auto;
}

.player-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 8px;
}

.player-icon {
    font-size: 24px;
}

.player-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.player-nick {
    font-weight: 600;
    color: #333;
}

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

.player-ready {
    color: #44ff44;
    font-size: 20px;
}

.player-not-ready {
    color: #ff4444;
    font-size: 20px;
}

.player-owner-badge {
    background: #667eea;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
}

.kick-btn {
    background: #ff4444;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.kick-btn:hover {
    background: #cc0000;
}

.lobby-footer {
    padding: 15px;
    border-top: 2px solid #f0f0f0;
    display: flex;
    gap: 10px;
}

.lobby-footer button {
    flex: 1;
}

/* Player submission notification */
.player-submitted-notification {
    position: fixed;
    top: 60px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: rgba(102, 126, 234, 0.95);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 200;
    pointer-events: none;
}

.player-submitted-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.player-submitted-notification strong {
    font-weight: 600;
}

/* Multiplayer Scoreboard */
.multiplayer-scoreboard {
    margin: 20px 0;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.multiplayer-scoreboard h3 {
    margin: 0 0 15px 0;
    text-align: center;
    color: #333;
}

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

.scoreboard-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: white;
    border-radius: 6px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.scoreboard-item.current-player {
    border-color: #667eea;
    background: #f0f4ff;
}

.scoreboard-item .rank {
    font-size: 18px;
    font-weight: bold;
    min-width: 30px;
    text-align: center;
}

.scoreboard-item .player-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.scoreboard-item .player-icon {
    font-size: 20px;
}

.scoreboard-item .player-nick {
    font-weight: 600;
    color: #333;
}

.scoreboard-item .scores {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.scoreboard-item .round-score {
    font-size: 12px;
    color: #44aa44;
    font-weight: 600;
}

.scoreboard-item .total-score {
    font-size: 16px;
    font-weight: bold;
    color: #667eea;
}

/* Player guess markers on map */
.player-guess-marker {
    background: transparent !important;
    border: none !important;
}

/* Distance labels on map */
.distance-label {
    background: transparent !important;
    border: none !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #lobbyPanel {
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
        margin: 20px 0;
    }
    
    .mp-actions {
        flex-direction: column;
    }
    
    .mp-divider {
        padding: 10px 0;
    }
    
    .player-submitted-notification {
        font-size: 12px;
        padding: 8px 15px;
    }
}
