<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/* ==========================================================================
   Header &amp; Navigation Drawer
   ========================================================================== */

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: var(--header-background, #4a5568); /* Darker background */
    color: var(--header-text-color, white);
    /* border-radius: 8px; */ /* Removed, using .rounded-margin */
    /* margin-bottom: 15px; */ /* Let utility class handle margin */
    gap: 10px; /* Add gap between left, center, right */
    min-height: 70px; /* Added minimum height */
}

.header-left,
.header-right {
    flex: 0 0 auto; /* Don't grow or shrink, size based on content */
    display: flex;
    align-items: center;
}

.header-center {
    flex: 1 1 auto; /* Allow center to grow and shrink */
    display: flex;
    justify-content: center; /* Center the title */
    align-items: center;
    min-width: 0; /* Prevent flex overflow issues */
}

.header-title {
    text-align: center;
    flex-shrink: 0; /* Prevent title from shrinking too much */
}

/* Override base h1 margin specifically for the header */
.header-title h1 {
    margin: 0;
    line-height: 1; /* Adjust line height for better vertical centering of text */
}

.header-score {
    display: flex;
    align-items: baseline; /* Align text baselines */
    gap: 10px; /* Increased gap */
    padding: 8px 15px; /* Increased padding */
    border: 1px solid var(--header-player-score-inactive-border, #ccc);
    border-radius: 5px;
    background-color: var(--header-player-score-inactive-bg, #fff);
    min-width: 120px; /* Adjusted min-width */
}

.header-score .player-name {
    /* font-weight: normal; */ /* REMOVED */
    font-weight: 600; /* Make name bold */
    font-size: 1.1em; /* Increase name size */
    /* Add max-width / overflow ellipsis if names can be long */
}

.header-score .player-score {
    font-weight: bold;
    font-size: 1.2em;
}

#user-profile-area {
    /* Styles for login/logout button or user info */
    /* min-width: 50px; */ /* REMOVED - Let flexbox handle size */
    /* text-align: right; */ /* REMOVED - Let flexbox handle alignment */
}

#user-profile-icon {
    display: none; /* Hidden by default, shown by JS */
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #ccc; /* Placeholder border */
    background-color: #eee; /* Placeholder background */
    vertical-align: middle; /* Align with potential text/buttons */
    cursor: pointer;
    object-fit: cover; /* Ensure image covers the area well */
}

/* Active player highlight (apply to .header-score) */
.header-score.active {
    border-width: 2px;
    background-color: var(--header-player-score-active-bg);
    border-color: var(--header-player-score-active-border);
}
.player1-score-area.active {
    /* These are now handled by the general .header-score.active rule */
}
.player2-score-area.active {
    /* These are now handled by the general .header-score.active rule */
}

/* === NEW General Profile Icon Styles (Copied from index.css) === */
/* Force size with !important on more specific selector */
.auth-controls .profile-icon {
  width: 30px !important; 
  height: 30px !important; 
  border-radius: 50%; /* Make it circular */
  display: flex; /* Use flex for centering content (initials/icon) */
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1em; 
  cursor: pointer;
  border: 1px solid #aaa; 
  text-transform: uppercase; 
  overflow: hidden; /* Hide image overflow */
}

.profile-icon.logged-out {
  background-color: var(--background-tertiary, #ccc); /* Default logged-out background */
  /* color: #666; */ /* REMOVED - SVG fill controls this */
  /* font-size: 1.3em; */ /* REMOVED - No longer needed for SVG */
}

.profile-icon.initials {
  background-color: var(--primary-color, #2196F3); /* Blue background for initials */
  color: var(--text-inverted, #fff); /* Text color for initials */
  font-size: 0.9em; /* Adjust font size proportionally */
}

.profile-icon.picture {
  object-fit: cover; /* Ensure image covers the area */
  width: 100%; /* Make image fill the container */
  height: 100%;
  border: none; /* Remove border from img itself */
}

/* Hover effect on the container */
.auth-controls:hover .profile-icon.logged-out {
   background-color: var(--secondary-color, #bbb);
}
.auth-controls:hover .profile-icon.initials {
   background-color: var(--accent-color, #1e88e5); /* Darker blue */
}
.auth-controls:hover .profile-icon.picture {
   opacity: 0.9; /* Slight fade */
}
/* === END General Profile Icon Styles === */

/* Hamburger Menu Base Styles (for both index.html and krida.html mobile) */
.hamburger-menu {
    font-size: 30px;
    cursor: pointer;
    padding: 8px;
    /* position: static; /* Default, but good to be explicit if needed for flow */
    /* Consider adding a default display property if necessary, e.g., display: inline-block or flex */
    /* For now, relying on flex context of .header-left */
}

/* ==========================================================================
   Mobile Responsiveness (Header &amp; Nav)
   ========================================================================== */

@media (max-width: 768px) {
    .header {
        padding: 5px 10px; /* Further reduced horizontal padding */
        gap: 5px;
        position: relative; /* Keep for nav drawer fixed positioning */
        min-height: 60px; /* Added minimum height */
    }

    .header-center {
        gap: 5px;
    }

    /* Mobile Score Display Styles - Make consistent with desktop */
    .header-score {
        /* Keep smaller padding/gap for mobile */
        padding: 5px 10px; /* Increased mobile padding slightly */
        gap: 8px;  /* Increased mobile gap slightly */
        /* Use desktop border/bg, now with variables */
        border: 1px solid var(--header-player-score-inactive-border, #ccc); 
        background-color: var(--header-player-score-inactive-bg, #fff);
        min-width: auto; /* Allow shrinking */
    }
    .header-score .player-name {
         /* Keep mobile adjustments */
         max-width: 70px; /* Slightly larger max width */
         overflow: hidden;
         text-overflow: ellipsis;
         white-space: nowrap;
         /* font-size: 0.8em; */ /* REMOVED */
         font-size: 0.9em; /* Slightly increased mobile font */
         font-weight: 600; /* Match desktop weight */
    }
    .header-score .player-score {
        font-size: 1em; /* Slightly smaller font */
    }

    /* Hamburger Menu Styles */
    .hamburger-menu {
        display: block; /* Ensure shown on mobile for krida.html */
        /* font-size, cursor, padding are inherited from base .hamburger-menu */
        /* position: static; is inherited or can be re-stated if different from base */
    }

    /* --- Navigation Drawer Styles (Mobile Only) --- */
    .nav-drawer {
        display: block; /* Use block for positioning */
        position: fixed;
        left: -250px; /* Start off-screen */
        top: 0;
        width: 200px;
        height: 100%;
        background-color: var(--background-secondary, #f1f1f1); /* Light grey background */
        box-shadow: var(--modal-shadow, 2px 0 5px rgba(0,0,0,0.2));
        padding-top: 50px; /* Space for close button */
        transition: left 0.3s ease;
        z-index: 1002; /* Above overlay */
        overflow-y: auto;
    }

    .nav-drawer.open {
        left: 0; /* Slide in */
    }

    .nav-drawer ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .nav-drawer li {
        border-bottom: 1px solid var(--border-color, #ddd);
    }

    .nav-drawer li button {
        display: block;
        width: 100%;
        padding: 15px 20px;
        background: none;
        border: none;
        text-align: left;
        font-size: 1em;
        cursor: pointer;
        color: var(--text-primary, #333);
    }

    .nav-drawer li button:hover {
        background-color: var(--background-tertiary, #ddd);
    }

    .close-nav-btn {
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 24px;
        color: #333;
        text-decoration: none;
        font-weight: bold;
    }

    /* Overlay Styles */
    .overlay {
        display: none; /* Hidden by default */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
        z-index: 1001; /* Below drawer, above content */
    }

    .overlay.active {
        display: block;
    }
    /* --- End Navigation Drawer Styles --- */
}

/* ==========================================================================
   Desktop Responsiveness (Header &amp; Nav)
   ========================================================================== */

@media (min-width: 769px) {
    /* Hamburger menu is always visible now */
    /* Hide the hamburger menu on desktop - REVERTING THIS
    #hamburger-menu {
        display: none;
    } */

    /* Ensure #nav-drawer and #overlay are not set to display: none; here,
       so their visibility can be controlled by classes like '.open' and '.active' 
       which typically modify 'left', 'transform', 'opacity', or 'visibility'.
       The base styles in nav-drawer.css should handle the default hidden state. */

    /* Restore Desktop Score Appearance */
    .header-score {
       padding: 5px 10px;
       border: 1px solid #ccc;
       border-radius: 5px;
       background-color: #fff; 
       min-width: 100px; /* Restore min-width */
    }
} </pre></body></html>