@font-face {
    font-family: 'Comic Sans MS Local';
    src: url('/assets/fonts/Comic%20Sans%20MS.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    font-family: 'Comic Sans MS Local', 'Comic Sans MS', 'Comic Sans', 'Chalkboard SE', 'Chalkboard', Arial, sans-serif;
}

body {
    background-color: #141414;
}

.navbar__version-display::before {
    content: "Shmooblesworld v3.2.2 | ";
}

.update-available-message {
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    font-family: inherit;
}

/* Profile dropdown */
.profile-container {
    position: fixed;
    top: calc(32px + env(safe-area-inset-top));
    right: 36px;
    z-index: 2055;
}

.profile-button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 2px;
    transition: transform 0.2s ease;
    min-width: 0;
}

.profile-button:hover {
    transform: scale(1.05);
}

.profile-label {
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    user-select: none;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    margin: 0;
    transform: translateY(-10px);
}

.profile-button .profile-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background-color: #2a2a2a;
    box-shadow: 0 0 0 3px #2a2a2a;
    transition: transform 0.2s ease;
    transform-origin: center;
}

.profile-dropdown {
    display: none;
    position: absolute;
    top: 100% !important;
    bottom: auto !important;
    right: 0;
    background-color: #2a2a2a;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
    margin-top: 10px !important;
    margin-bottom: 0 !important;
    min-width: 220px;
    overflow: hidden;
    z-index: 2056;
}

@media (max-width: 1200px) {
    .profile-container {
        top: auto;
        bottom: calc(16px + env(safe-area-inset-bottom));
        right: auto;
        left: 16px;
    }
    
    .profile-dropdown {
        bottom: 100% !important;
        top: auto !important;
        right: auto;
        left: 0;
        margin-bottom: 10px !important;
        margin-top: 0 !important;
    }
}

.profile-info {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #404040;
    background-color: #333333;
}

.profile-details {
    display: flex;
    flex-direction: column;
    margin-left: 12px;
    flex: 1;
    min-width: 0;
}

.profile-dropdown .profile-image {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

#profileName {
    font-weight: bold;
    margin-bottom: 6px;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.token-balance {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85em;
    color: #999;
    white-space: nowrap;
}

.token-label {
    color: #999;
}

.token-icon {
    display: none;
}

.beta-access-indicator {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.beta-access-text {
    color: #FFD700;
    font-size: 0.85em;
    font-weight: 500;
}

.beta-access-expiry {
    color: #999;
    font-size: 0.8em;
}

.dropdown-item {
    display: block;
    padding: 14px 16px;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.2s;
    white-space: nowrap;
    border: none;
    font-size: 14px;
}

.dropdown-item:hover {
    background-color: #404040;
}

.dropdown-item:first-of-type {
    margin-top: 0;
}

.dropdown-item:last-of-type {
    margin-bottom: 0;
}

.login-popup {
    display: none;
    position: absolute;
    bottom: 100%;
    top: auto;
    right: 0;
    left: auto;
    background-color: #2a2a2a;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    margin-bottom: 10px;
    margin-top: 0;
    padding: 12px;
    min-width: 250px;
}

@media (max-width: 1200px) {
    .login-popup {
        right: auto;
        left: 0;
    }
}

.login-popup p {
    color: #ffffff;
    margin: 0 0 12px 0;
    font-size: 14px;
    line-height: 1.4;
}

.login-popup a {
    display: block;
    padding: 10px;
    background-color: #404040;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    text-align: center;
    transition: background-color 0.2s;
    font-weight: bold;
}

.login-popup a:hover {
    background-color: #505050;
}

.update-message {
    font-family: 'Comic Sans MS', 'Comic Sans', sans-serif;
    letter-spacing: 2px;
    text-shadow: 
        2px 2px 0 rgba(0,0,0,0.8),
        3px 3px 0 rgba(0,0,0,0.6),
        4px 4px 0 rgba(0,0,0,0.4),
        5px 5px 0 rgba(0,0,0,0.2),
        0 0 0 rgba(0,0,0,0.9),
        1px 1px 0 rgba(0,0,0,0.9),
        2px 2px 0 rgba(0,0,0,0.9),
        3px 3px 0 rgba(0,0,0,0.9);
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    font-smooth: never;
    -webkit-font-smoothing: none;
    transform: scale(1);
    filter: contrast(1.1);
}

.shmooble-link {
    color: #ffb6c1;
}

.shmooble-link:hover {
    color: #ffc7d4;
}

/* Login styles */