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

body {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #ffe;
    padding: 28px;
    min-height: 100vh;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(37, 99, 235, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000
}

.navbar-title {
    font-size: 18px;
    font-weight: 600;
    color: white
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 15px
}

.navbar-nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    transition: all 0.18s ease;
    padding: 6px 14px;
    border-radius: 18px
}

.navbar-nav a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2)
}

.navbar-nav a.active {
    color: white;
    background: rgba(255, 255, 255, 0.3)
}

.navbar-auth {
    display: flex;
    align-items: center;
    gap: 10px
}

.navbar-auth .login-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    padding: 6px 16px;
    border-radius: 18px;
    font-size: 14px;
    transition: all 0.18s ease
}

.navbar-auth .login-btn:hover {
    background: rgba(255, 255, 255, 0.3)
}

.user-area {
    display: flex;
    align-items: center;
    gap: 8px
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.5)
}

.user-name {
    color: white;
    font-size: 14px;
    font-weight: 500
}

.logout-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 12px;
    transition: all 0.18s ease
}

.logout-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white
}

#wrap {
    margin-top: 70px;
    position: relative;
}

#canvas {
    display: block;
    max-width: 100%;
    height: auto;
    background: transparent;
}

@media (max-width: 600px) {
    body {
        padding: 14px;
    }
}