/* ============================================================
   Freedom Sports Academy — Dynamic Island Header
   header.css — Fixed Top Pill Header Styles (v2 — Premium)
   ============================================================ */

/* ─── Header Wrapper ─── */
#fsa-header {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 780px;
    z-index: 500;
    contain: layout style;
    transition: max-width 0.25s cubic-bezier(0.16, 1, 0.3, 1), top 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: max-width, top, transform;
}

/* Shrink on scroll */
#fsa-header.scrolled {
    top: 10px;
    max-width: 380px;
}

/* ─── Gradient Border Container ─── */
.header-border-wrap {
    border-radius: 9999px;
    padding: 0;
    background: transparent;
    transition: padding 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: padding;
    position: relative;
}

/* ─── Header Inner Pill (dark glass in BOTH themes) ─── */
.header-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    padding: 0;
    border-radius: 9999px;
    border: 1px solid #ff2d2d;
    /* Dark glass in BOTH light and dark modes */
    background: rgba(8, 14, 10, 0.78);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.10) inset,
        0 12px 40px rgba(0, 0, 0, 0.30),
        0 0 28px rgba(255, 45, 45, 0.08);
    contain: layout style;
    transition: background 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    position: relative;
}

/* Override any light-theme defaults */
html.light .header-pill {
    background: rgba(8, 14, 10, 0.82);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 8px 28px rgba(0, 0, 0, 0.22),
        0 0 20px rgba(255, 45, 45, 0.08);
}

/* Top specular shine */
.header-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.18) 30%,
        rgba(255, 45, 45, 0.40) 50%,
        rgba(255, 255, 255, 0.18) 70%,
        transparent 100%
    );
    pointer-events: none;
}

/* Ambient lime glow behind pill — always subtle */
.header-border-wrap::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 9999px;
    background: radial-gradient(
        ellipse at 50% 50%,
        rgba(255, 45, 45, 0.08) 0%,
        transparent 70%
    );
    z-index: -1;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

#fsa-header:hover .header-border-wrap::after {
    background: radial-gradient(
        ellipse at 50% 50%,
        rgba(255, 45, 45, 0.14) 0%,
        transparent 70%
    );
}

/* ─── Header Segments ─── */
.header-segment {
    display: flex;
    align-items: center;
    padding: 9px 18px;
    gap: 10px;
    transition: padding 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: padding;
}

.header-segment-logo { padding: 9px 16px 9px 20px; }
.header-segment-status { padding: 9px 16px; }
.header-segment-action { padding: 9px 18px 9px 14px; }

/* ─── Logo Container ─── */
.header-logo-img-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.header-logo-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8);
    animation: header-logo-breathe 2.5s infinite cubic-bezier(0.66, 0, 0, 1);
    transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), height 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: width, height, transform;
    flex-shrink: 0;
    padding: 2px;
    box-sizing: border-box;
}

@keyframes header-logo-breathe {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.header-logo-img-link:hover .header-logo-img {
    transform: scale(1.1) rotate(-4deg);
}

/* ─── Academy Name ─── */
.header-academy-name {
    font-family: 'Geist', sans-serif;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.92);
    white-space: nowrap;
    transition: font-size 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
    line-height: 1;
}

.header-academy-name .name-full-1 { color: #ff2d2d; }
.header-academy-name .name-full-2 { color: rgba(255, 255, 255, 0.90); }
.header-academy-name .name-full-3 {
    color: rgba(255, 255, 255, 0.90);
}

/* Scrolled: hide full name, show short code */
#fsa-header.scrolled .header-academy-name .name-full { display: none; }
#fsa-header.scrolled .header-academy-name .name-short { display: inline; }
.header-academy-name .name-short { display: none; }

/* ─── Divider ─── */
.header-divider {
    width: 1px;
    height: 22px;
    flex-shrink: 0;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--glass-border) 30%,
        var(--glass-border) 70%,
        transparent
    );
}

/* ─── Status Indicator ─── */
.header-status {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.10em;
    font-weight: 600;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
    transition: font-size 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
    will-change: font-size;
}

.header-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #4ade80;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.18), 0 0 8px rgba(74, 222, 128, 0.5);
    animation: status-pulse 2.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    flex-shrink: 0;
}

@keyframes status-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.18), 0 0 8px rgba(74, 222, 128, 0.5); }
    50%       { box-shadow: 0 0 0 5px rgba(74, 222, 128, 0.08), 0 0 14px rgba(74, 222, 128, 0.3); }
}

/* ─── Theme Toggle Button ─── */
.header-theme-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 45, 45, 0.12);
    border: 1px solid rgba(255, 45, 45, 0.35);
    color: #ff2d2d;
    cursor: pointer;
    transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), height 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
    will-change: width, height, transform;
    flex-shrink: 0;
}

html.light .header-theme-btn {
    background: rgba(255, 45, 45, 0.14);
    border-color: rgba(255, 45, 45, 0.40);
    color: #ff2d2d;
}

.header-theme-btn:hover {
    background: rgba(255, 45, 45, 0.24);
    border-color: rgba(255, 45, 45, 0.60);
    transform: rotate(30deg) scale(1.12);
}

.header-theme-btn:active { transform: scale(0.88); }

.header-theme-btn .material-symbols-outlined {
    font-size: 16px;
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 20;
    color: #ff2d2d;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Spin icon when theme changes */
html.dark  .header-theme-btn .material-symbols-outlined { transform: rotate(0deg); }
html.light .header-theme-btn .material-symbols-outlined { transform: rotate(180deg); }

/* ─── Scrolled — compact everything ─── */
#fsa-header.scrolled .header-segment-logo { padding: 7px 12px 7px 16px; }
#fsa-header.scrolled .header-segment-status { padding: 7px 12px; }
#fsa-header.scrolled .header-segment-action { padding: 7px 14px 7px 10px; }
#fsa-header.scrolled .header-logo-img { width: 24px; height: 24px; }
#fsa-header.scrolled .header-academy-name { font-size: 13px; letter-spacing: 0.04em; font-weight: 700; }
#fsa-header.scrolled .header-status { font-size: 9px; }
#fsa-header.scrolled .header-status-dot { width: 5px; height: 5px; }
#fsa-header.scrolled .header-theme-btn { width: 26px; height: 26px; }

/* ─── Mobile ─── */
@media (max-width: 600px) {
    #fsa-header {
        top: 14px;
        width: 94%;
    }

    /* Hide status segment AND both its surrounding dividers */
    .header-segment-status { display: none; }
    .header-divider { display: none; }

    .header-segment-logo { padding: 8px 12px 8px 14px; }
    .header-segment-action { padding: 8px 12px; gap: 7px; }

    .header-academy-name { font-size: 13px; }
    .header-logo-img { width: 26px; height: 26px; }
}


/* ═══════════════════════════════════════════════════════
   HINT BADGE — removed (submenu now on dock logo)
════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════
   COMMUNICATION HUD MODAL
════════════════════════════════════════════════════════ */
#comm-hud {
    position: fixed;
    inset: 0;
    z-index: 900;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 90px 16px 20px;
    background: rgba(0, 0, 0, 0.60);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
                visibility 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

#comm-hud.comm-hud-open {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

/* Card */
.comm-hud-card {
    position: relative;
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    background: rgba(6, 10, 8, 0.94);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 45, 45, 0.28);
    box-shadow:
        0 0 0 1px rgba(255, 45, 45, 0.06) inset,
        0 24px 64px rgba(0, 0, 0, 0.60),
        0 0 48px rgba(255, 45, 45, 0.06);
    overflow: hidden;
    transform: translateY(-12px) scale(0.97);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

#comm-hud.comm-hud-open .comm-hud-card {
    transform: translateY(0) scale(1);
}

/* Scanlines */
.comm-hud-scanlines {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 45, 45, 0.010) 2px,
        rgba(255, 45, 45, 0.010) 4px
    );
    pointer-events: none;
    z-index: 0;
}

/* Corner brackets */
.comm-hud-corner {
    position: absolute;
    width: 14px;
    height: 14px;
    z-index: 4;
    pointer-events: none;
}
.comm-hud-tl { top: 6px; left: 6px;  border-top: 1.5px solid rgba(255,45,45,0.65); border-left: 1.5px solid rgba(255,45,45,0.65); }
.comm-hud-tr { top: 6px; right: 6px; border-top: 1.5px solid rgba(255,45,45,0.65); border-right: 1.5px solid rgba(255,45,45,0.65); }
.comm-hud-bl { bottom: 6px; left: 6px;  border-bottom: 1.5px solid rgba(255,45,45,0.22); border-left: 1.5px solid rgba(255,45,45,0.22); }
.comm-hud-br { bottom: 6px; right: 6px; border-bottom: 1.5px solid rgba(255,45,45,0.22); border-right: 1.5px solid rgba(255,45,45,0.22); }

/* Close btn */
.comm-hud-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    border: 1px solid rgba(255, 45, 45, 0.22);
    background: rgba(255, 45, 45, 0.05);
    color: rgba(255, 45, 45, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 5;
}

.comm-hud-close:hover {
    background: rgba(255, 59, 48, 0.18);
    border-color: rgba(255, 59, 48, 0.45);
    color: #ff3b30;
    transform: rotate(90deg);
}

.comm-hud-close .material-symbols-outlined { font-size: 14px; }

/* Top bar */
.comm-hud-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 16px;
    border-bottom: 1px solid rgba(255, 45, 45, 0.12);
    background: rgba(255, 45, 45, 0.03);
    position: relative;
    z-index: 2;
}

.comm-hud-topbar-left,
.comm-hud-topbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.comm-hud-status-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ff2d2d;
    animation: hud-blink 2s step-end infinite;
    flex-shrink: 0;
}

@keyframes hud-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.15; }
}

.comm-hud-mono {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ff2d2d;
}

/* Body */
.comm-hud-body {
    padding: 20px 20px 22px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Title row */
.comm-hud-title-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
    margin-bottom: 8px;
}

.comm-hud-icon-box {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px solid rgba(255, 45, 45, 0.40);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 6px;
    box-shadow: 0 8px 24px rgba(255, 45, 45, 0.15);
}

.comm-hud-title {
    font-family: 'Geist', sans-serif;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 3px;
}

.comm-hud-subtitle {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.50);
}

/* Contact items grid */
.comm-hud-grid {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.comm-hud-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 45, 45, 0.08);
    background: rgba(255, 255, 255, 0.02);
    text-decoration: none;
    transition: all 0.22s ease;
}

.comm-hud-item:hover {
    background: rgba(255, 45, 45, 0.06);
    border-color: rgba(255, 45, 45, 0.28);
    transform: translateX(4px);
}

.comm-hud-item--wa:hover {
    background: rgba(37, 211, 102, 0.08);
    border-color: rgba(37, 211, 102, 0.30);
}

.comm-hud-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 45, 45, 0.16);
    background: rgba(255, 45, 45, 0.05);
    color: rgba(255, 45, 45, 0.70);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.22s ease;
}

.comm-hud-item:hover .comm-hud-item-icon {
    background: rgba(255, 45, 45, 0.12);
    color: #ff2d2d;
}

.comm-hud-item-icon--wa {
    color: #25d366;
    border-color: rgba(37, 211, 102, 0.20);
    background: rgba(37, 211, 102, 0.05);
}

.comm-hud-item--wa:hover .comm-hud-item-icon--wa {
    background: rgba(37, 211, 102, 0.14);
}

.comm-hud-item-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.comm-hud-item-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ff2d2d;
}

.comm-hud-item-value {
    font-family: 'Geist', sans-serif;
    font-size: 14.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
    white-space: normal;
    word-break: break-word;
    transition: color 0.22s ease;
}

.comm-hud-item:hover .comm-hud-item-value {
    color: rgba(255, 255, 255, 0.95);
}

.comm-hud-item-arrow {
    font-size: 14px;
    color: rgba(255, 45, 45, 0.25);
    flex-shrink: 0;
    transition: color 0.22s ease, transform 0.22s ease;
}

.comm-hud-item:hover .comm-hud-item-arrow {
    color: rgba(255, 45, 45, 0.70);
    transform: translateX(3px);
}

/* Quick action buttons */
.comm-hud-actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.comm-hud-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 8px;
    border-radius: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer;
}

.comm-hud-action-call {
    background: #ff2d2d;
    color: #0a1400;
    border: none;
}

.comm-hud-action-call:hover {
    background: #ff4444;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 45, 45, 0.35);
}

.comm-hud-action-wa {
    background: #25d366;
    color: #ffffff;
    border: none;
}

.comm-hud-action-wa:hover {
    background: #2edc6d;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.comm-hud-action-email {
    background: rgba(255, 45, 45, 0.08);
    color: rgba(255, 45, 45, 0.80);
    border: 1px solid rgba(255, 45, 45, 0.22);
}

.comm-hud-action-email:hover {
    background: rgba(255, 45, 45, 0.14);
    color: #ff2d2d;
    border-color: rgba(255, 45, 45, 0.50);
    transform: translateY(-2px);
}

/* ─── Mobile HUD ─── */
@media (max-width: 500px) {
    #comm-hud {
        padding: 80px 12px 16px;
        align-items: flex-start;
    }

    .comm-hud-body { padding: 16px 16px 18px; gap: 14px; }
    .comm-hud-title { font-size: 16px; }
    .comm-hud-actions { grid-template-columns: 1fr 1fr; gap: 8px; }
    .comm-hud-action-email { grid-column: 1 / -1; }
    .comm-hud-item { padding: 10px 12px; }
    .comm-hud-item-value { font-size: 12px; }
}

/* ============================================================
   Freedom Sports Academy — Backend Dynamic Island Header (v3)
   ============================================================ */
.fsc-island-container {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 900;
    display: flex;
    justify-content: center;
    pointer-events: none;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.fsc-island {
    pointer-events: auto;
    width: 320px;
    height: 48px;
    border-radius: 24px;
    background: rgba(10, 14, 12, 0.95);
    border: 1px solid rgba(255, 45, 45, 0.28);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 45, 45, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
    position: relative;
    transition: width 0.4s cubic-bezier(0.19, 1, 0.22, 1),
                height 0.4s cubic-bezier(0.19, 1, 0.22, 1),
                border-radius 0.4s cubic-bezier(0.19, 1, 0.22, 1),
                border-color 0.3s;
}

.fsc-island-pill-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
    padding: 0 20px;
    cursor: pointer;
    box-sizing: border-box;
}

.island-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.pulse-green {
    background: #00e676;
    box-shadow: 0 0 8px #00e676;
    animation: island-dot-pulse 2s infinite;
}

@keyframes island-dot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.9); }
}

.island-mono-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: rgba(255, 45, 45, 0.9);
}

.island-arrow-icon {
    font-size: 20px;
    color: rgba(255, 45, 45, 0.6);
    transition: transform 0.3s;
}

.fsc-island-expanded-content {
    opacity: 0;
    pointer-events: none;
    padding: 24px 28px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    transition: opacity 0.2s ease;
}

.island-expanded-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 45, 45, 0.15);
    padding-bottom: 10px;
}

.island-expanded-header .hud-mono-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(255, 45, 45, 0.85);
}

.island-close-btn {
    background: none;
    border: none;
    color: rgba(255, 45, 45, 0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.island-close-btn:hover { color: #ff2d2d; }
.island-close-btn .material-symbols-outlined {
    font-size: 18px !important;
}

.island-details-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 16px;
}

.island-detail-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 45, 45, 0.1);
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.island-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.island-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 45, 45, 0.08);
    border: 1px solid rgba(255, 45, 45, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.island-user-avatar .material-symbols-outlined {
    font-size: 24px !important;
}

.island-lbl {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9.5px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.island-val {
    font-family: 'Geist', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}
.green-text { color: #00e676; }

.island-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.island-btn {
    padding: 10px 14px;
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}
.island-btn .material-symbols-outlined {
    font-size: 18px !important;
}

.island-btn-site {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.island-btn-site:hover { background: rgba(255, 255, 255, 0.1); color: #ffffff; }

.island-btn-logout {
    background: rgba(255, 45, 45, 0.1);
    color: #ff453a;
    border: 1px solid rgba(255, 45, 45, 0.25);
}
.island-btn-logout:hover { background: #ff453a; color: #000000; }

/* Expanded State Class (Toggled via JS) */
.fsc-island.is-expanded {
    width: 550px;
    height: 250px;
    border-radius: 28px;
    border-color: rgba(255, 45, 45, 0.5);
}

.fsc-island.is-expanded .fsc-island-pill-content {
    display: none;
}

.fsc-island.is-expanded .fsc-island-expanded-content {
    opacity: 1;
    pointer-events: auto;
}
