/* Team directory — the site's original holographic cyan / magenta system. */
.team-live-status { position: relative; z-index: 1; text-align: center; color: #8c9ba4; font: .75rem/1.6 'Courier New', monospace; padding: 12px; }
.team-page {
    color: #c8d5df;
    background: #000;
    overflow-x: hidden;
}
.team-page .hologram-container {
    min-height: 100dvh;
    padding: 20px 20px 0;
    background: radial-gradient(ellipse at 50% 8%, #001722 0, #000 58%);
}
.team-page .background-grid { z-index: 0; }
.team-page .floating-particles { z-index: 0; }
.team-page .nav-bar,
.team-page .team-hero,
.team-page .team-main,
.team-page .team-footer { position: relative; z-index: 1; }
.team-page .nav-logo { text-decoration: none; }
.team-page .team-hero {
    width: min(1100px, 100%);
    margin: 0 auto;
    padding: clamp(48px, 8vw, 88px) 0 54px;
    text-align: center;
}
.team-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    color: #00ffff;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .18em;
}
.eyebrow-rule { width: 24px; height: 1px; background: currentColor; box-shadow: 0 0 8px #00ffff; }
.team-hero h1 {
    margin: 0;
    color: #dffeff;
    font-family: 'Orbitron', monospace;
    font-size: clamp(2rem, 6vw, 4.6rem);
    font-weight: 900;
    line-height: 1.16;
    letter-spacing: -.045em;
    text-transform: uppercase;
    text-shadow: 0 0 24px rgba(0, 255, 255, .2);
}
.team-hero h1 em {
    color: #ff5cff;
    font-style: normal;
    text-shadow: 0 0 22px rgba(255, 0, 255, .34);
}
.hero-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 34px;
    margin-top: 24px;
}
.hero-copy {
    max-width: 540px;
    margin: 0;
    color: #9aa8b0;
    font: .92rem/1.75 'Courier New', monospace;
}
.directory-count {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #8c9ba4;
    font: .68rem/1.5 'Orbitron', monospace;
    letter-spacing: .04em;
}
.count-mark {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #00ffff;
    box-shadow: 0 0 11px rgba(0, 255, 255, .75);
}
.count-number { color: #00ffff; font-size: 1.1rem; font-weight: 900; }
.team-page .team-main { width: min(1100px, 100%); min-height: 300px; margin: 0 auto; }
.directory-intro {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 550px);
    align-items: start;
    gap: 24px;
    margin-bottom: 24px;
    padding: 17px 0;
    border-top: 1px solid rgba(0, 255, 255, .19);
}
.intro-index {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: #00ffff;
    font: 700 .68rem/1 'Orbitron', monospace;
    letter-spacing: .1em;
}
.intro-index span { color: #596a73; font-size: .62rem; }
.intro-note { margin: 0; color: #83929b; font: .78rem/1.75 'Courier New', monospace; }
.intro-note strong { color: #d5faff; font-weight: 700; }
.team-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: 490px; margin-bottom: 12px; }
.team-filter {
    min-width: 0; min-height: 46px; padding: 10px 8px; border: 1px solid rgba(0,255,255,.2);
    border-radius: 9px; background: rgba(0,255,255,.035); color: #9aadb7;
    font: 700 clamp(.6rem, 2.4vw, .74rem)/1.4 'Orbitron', monospace; cursor: pointer;
    transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.team-filter:hover:not(:disabled), .team-filter.is-active { color: #00ffff; border-color: rgba(0,255,255,.55); background: linear-gradient(115deg, rgba(0,255,255,.12), rgba(255,0,255,.07)); }
.team-filter:focus-visible { outline: 2px solid #ff5cff; outline-offset: 3px; }
.team-filter:disabled { opacity: .5; cursor: wait; }
.team-filter-summary { min-height: 20px; margin: 0 0 18px; color: #83929b; font: .78rem/1.6 'Courier New', monospace; }
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 17px;
}
.member-card {
    position: relative;
    min-width: 0;
    padding: 22px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 255, .2);
    border-radius: 13px;
    background: linear-gradient(145deg, rgba(0, 255, 255, .055), rgba(8, 5, 18, .73) 58%, rgba(255, 0, 255, .035));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
    backdrop-filter: blur(10px);
    transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.member-card::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 2px;
    background: linear-gradient(180deg, var(--role-color, #00ffff), transparent 80%);
    content: "";
    opacity: .8;
}
.member-card:hover { transform: translateY(-3px); border-color: rgba(0, 255, 255, .48); background-color: rgba(0, 255, 255, .035); }
.member-topline { display: flex; align-items: center; gap: 15px; }
.member-avatar,
.member-avatar-fallback {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    border: 1px solid rgba(0, 255, 255, .35);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #15353e, #090d14 75%);
    object-fit: cover;
}
.member-avatar-fallback {
    display: grid;
    place-items: center;
    color: #00ffff;
    font: 700 1rem/1 'Orbitron', monospace;
    letter-spacing: .04em;
    box-shadow: inset 0 0 18px rgba(0, 255, 255, .08);
}
.member-identity { min-width: 0; }
.member-name {
    overflow-wrap: anywhere;
    margin: 0 0 5px;
    color: #e0fbff;
    font: 700 .98rem/1.35 'Orbitron', monospace;
    letter-spacing: -.025em;
}
.member-username { overflow-wrap: anywhere; margin: 0; color: #657780; font: .7rem/1.4 'Courier New', monospace; }
.badge-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    min-height: 50px;
    margin-top: 17px;
    padding: 11px 0;
    border-top: 1px solid rgba(0, 255, 255, .12);
    border-bottom: 1px solid rgba(0, 255, 255, .12);
}
.badge-button {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--badge-color, #00ffff) 52%, transparent);
    border-radius: 11px;
    background: color-mix(in srgb, var(--badge-color, #00ffff) 8%, rgba(3, 8, 13, .9));
    color: var(--badge-color, #00ffff);
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.badge-button:hover {
    transform: translateY(-2px);
    border-color: var(--badge-color, #00ffff);
    background: color-mix(in srgb, var(--badge-color, #00ffff) 17%, rgba(3, 8, 13, .9));
}
.badge-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.badge-notification {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    position: fixed; z-index: 10000;
    top: calc(16px + env(safe-area-inset-top, 0px)); left: 50%;
    width: max-content; max-width: calc(100vw - 32px); padding: 17px 24px;
    border: 1px solid var(--toast-color, #00ffff); border-radius: 12px;
    background: rgba(3, 12, 21, .98); color: var(--toast-color, #00ffff);
    box-shadow: 0 12px 50px rgba(0,0,0,.6), 0 0 24px color-mix(in srgb, var(--toast-color, #00ffff) 15%, transparent);
    font: 700 clamp(.76rem, 3vw, .95rem)/1.5 'Orbitron', monospace;
    text-align: center; overflow-wrap: anywhere;
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translate(-50%, calc(-100% - 32px - env(safe-area-inset-top, 0px)));
    transition: transform .28s ease, opacity .2s ease, visibility .28s;
}
.badge-notification.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.badge-notification svg { width: 28px; height: 28px; flex: 0 0 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card-details { margin-top: 14px; }
.card-details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 36px;
    color: #9baab0;
    font: 700 .67rem/1 'Orbitron', monospace;
    letter-spacing: .07em;
    list-style: none;
    cursor: pointer;
}
.card-details summary::-webkit-details-marker { display: none; }
.card-details summary::after { color: #00ffff; content: "+"; font: 1rem/1 'Courier New', monospace; }
.card-details[open] summary::after { content: "−"; }
.details-copy { margin: 10px 0 1px; color: #9aa8ae; font: .76rem/1.7 'Courier New', monospace; overflow-wrap: anywhere; }
.description-kind { display: block; margin-bottom: 5px; color: #00cfd5; font: 700 .58rem/1.4 'Orbitron', monospace; letter-spacing: .08em; text-transform: uppercase; }
.team-state {
    margin: 22px 0 60px;
    padding: clamp(26px, 5vw, 52px);
    border: 1px solid rgba(0, 255, 255, .2);
    border-radius: 13px;
    background: rgba(0, 255, 255, .035);
    text-align: center;
}
.team-state h2 { margin: 0 0 10px; color: #c8faff; font: 700 clamp(1.25rem, 3vw, 1.8rem)/1.3 'Orbitron', monospace; }
.team-state p { max-width: 500px; margin: 0 auto; color: #8999a1; font: .85rem/1.7 'Courier New', monospace; }
.state-action {
    margin-top: 20px;
    padding: 10px 17px;
    border: 1px solid rgba(0, 255, 255, .45);
    border-radius: 8px;
    background: rgba(0, 255, 255, .08);
    color: #00ffff;
    font: 700 .68rem 'Orbitron', monospace;
    cursor: pointer;
}
.state-action:hover { background: rgba(0, 255, 255, .15); }
.loading-state { border-color: transparent; background: transparent; }
.loading-state p { margin-top: 18px; font-size: .75rem; }
.skeleton-heading { width: min(170px, 40%); height: 13px; margin: 0 auto 16px; border-radius: 4px; background: rgba(0, 255, 255, .13); }
.skeleton-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; width: min(850px, 100%); margin: auto; }
.skeleton-row span {
    height: 145px;
    border: 1px solid rgba(0, 255, 255, .12);
    border-radius: 12px;
    background: linear-gradient(100deg, rgba(0, 255, 255, .035) 30%, rgba(0, 255, 255, .09) 50%, rgba(0, 255, 255, .035) 70%);
    background-size: 200% 100%;
    animation: team-skeleton 1.6s ease-in-out infinite;
}
@keyframes team-skeleton { to { background-position: -200% 0; } }
.team-page .team-footer {
    width: min(1100px, 100%);
    margin: 55px auto 0;
    padding: 24px 0 28px;
    border-top: 1px solid rgba(0, 255, 255, .2);
    color: #61727a;
    font-family: 'Courier New', monospace;
    text-align: left;
}
.footer-brand { color: #00ffff; font: 700 .78rem 'Orbitron', monospace; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; margin: 12px 0; }
.team-page .footer-link { color: #87979e; font: .72rem 'Courier New', monospace; opacity: 1; text-decoration: none; }
.team-page .footer-link:hover { color: #00ffff; }
.team-footer p { margin: 0; color: #53636a; font-size: .67rem; line-height: 1.6; }
.team-page a:focus-visible,
.team-page button:focus-visible,
.team-page summary:focus-visible { outline: 2px solid #ff5cff; outline-offset: 3px; }

@media (max-width: 900px) {
    .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .team-page .hologram-container { padding: 12px; }
    .team-hero { padding: 48px 0 42px; }
    .team-hero h1 { font-size: clamp(1.9rem, 8vw, 3.3rem); }
    .hero-bottom { flex-direction: column; gap: 16px; }
    .directory-intro { grid-template-columns: 1fr; gap: 12px; }
    .team-page .team-footer { margin-top: 42px; }
}
@media (max-width: 560px) {
    .team-grid { grid-template-columns: 1fr; gap: 12px; }
    .member-card { padding: 19px 18px; }
    .skeleton-row { grid-template-columns: 1fr; }
    .skeleton-row span:nth-child(n+2) { display: none; }
    .directory-count { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
    .team-page *,
    .team-page *::before,
    .team-page *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* Directory refinement: welcoming, readable profiles within the original holo field. */
.team-page {
    color: #d9e8f2;
}
.team-page .hologram-container {
    background:
        radial-gradient(ellipse at 78% 12%, rgba(123, 48, 125, .13), transparent 34%),
        radial-gradient(ellipse at 8% 34%, rgba(21, 132, 147, .14), transparent 34%),
        #080e1a;
}
.team-page .background-grid {
    opacity: .3;
    background-image:
        linear-gradient(rgba(95, 217, 224, .065) 1px, transparent 1px),
        linear-gradient(90deg, rgba(95, 217, 224, .065) 1px, transparent 1px);
    mask-image: linear-gradient(to bottom, #000, transparent 86%);
}
.team-page .floating-particles { opacity: .42; }
.team-page .team-hero {
    width: min(1140px, 100%);
    padding: clamp(50px, 8vw, 84px) 14px 48px;
    text-align: left;
}
.team-eyebrow {
    color: #63f5ed;
    letter-spacing: .2em;
}
.eyebrow-rule {
    width: 34px;
    height: 2px;
    background: linear-gradient(90deg, #63f5ed, #f17bd4);
    box-shadow: none;
}
.team-hero h1 {
    color: #e6f0f4;
    font-size: clamp(2.65rem, 7.8vw, 5.8rem);
    line-height: .99;
    letter-spacing: -.075em;
    text-shadow: 0 0 32px rgba(99, 245, 237, .13);
}
.team-hero h1 em {
    color: #63f5ed;
    text-shadow: 0 0 30px rgba(99, 245, 237, .2);
}
.hero-bottom {
    justify-content: space-between;
    gap: 18px 36px;
    margin-top: 23px;
}
.hero-copy {
    max-width: 620px;
    color: #a5b8c5;
    font-size: .9rem;
}
.directory-count {
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid rgba(99, 225, 233, .18);
    border-radius: 4px;
    background: rgba(13, 25, 41, .64);
    color: #a5b8c5;
}
.count-mark { background: #63f5ed; box-shadow: 0 0 10px rgba(99, 245, 237, .62); }
.count-number { color: #63f5ed; }
.team-page .team-main { width: min(1140px, 100%); }
.directory-intro {
    grid-template-columns: minmax(120px, .7fr) minmax(260px, 2fr);
    gap: clamp(18px, 4vw, 46px);
    margin-bottom: 25px;
    padding: 19px 0 20px;
    border-top-color: rgba(99, 225, 233, .22);
}
.intro-index { color: #f17bd4; }
.intro-index span { color: #748d9c; }
.intro-note { max-width: 690px; color: #a5b8c5; }
.intro-note strong { color: #63f5ed; }
.team-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: none;
    margin-bottom: 11px;
}
.team-filter {
    min-width: 105px;
    min-height: 42px;
    padding: 9px 15px;
    border-color: rgba(99, 225, 233, .2);
    border-radius: 4px;
    background: rgba(18, 40, 54, .58);
    color: #a8bbc5;
    font-size: .66rem;
    letter-spacing: .09em;
    transition: color .18s ease, border-color .18s ease, background-color .18s ease, transform .18s ease;
}
.team-filter:hover:not(:disabled) {
    color: #63f5ed;
    border-color: rgba(99, 245, 237, .55);
    background: rgba(47, 178, 191, .1);
    transform: translateY(-1px);
}
.team-filter.is-active {
    color: #07151b;
    border-color: #63f5ed;
    background: #63f5ed;
}
.team-filter:focus-visible { outline-color: #f17bd4; }
.team-filter:disabled { opacity: .52; }
.team-filter-summary {
    min-height: 20px;
    margin-bottom: 18px;
    color: #91a6b4;
    font-size: .72rem;
    letter-spacing: .025em;
}
.team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 14px;
}
.member-card {
    display: flex;
    flex-direction: column;
    min-height: 224px;
    padding: clamp(18px, 2.2vw, 24px);
    border-color: rgba(99, 225, 233, .2);
    border-radius: 7px;
    background:
        linear-gradient(125deg, rgba(16, 39, 54, .72), rgba(13, 20, 35, .89) 67%),
        rgba(10, 20, 34, .82);
    box-shadow: inset 0 1px rgba(255, 255, 255, .035);
    backdrop-filter: blur(12px);
}
.member-card::before {
    width: 2px;
    background: linear-gradient(180deg, var(--role-color, #63f5ed), rgba(241, 123, 212, .28) 48%, transparent 90%);
}
.member-card:hover {
    transform: translateY(-2px);
    border-color: rgba(99, 245, 237, .48);
    background-color: rgba(20, 48, 61, .42);
}
.member-topline {
    min-height: 64px;
    gap: 15px;
}
.member-avatar,
.member-avatar-fallback {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    border-color: rgba(99, 245, 237, .38);
    background: radial-gradient(circle at 35% 30%, #193b49, #0a1220 75%);
}
.member-avatar-fallback {
    color: #63f5ed;
    box-shadow: inset 0 0 18px rgba(99, 245, 237, .09);
}
.member-name {
    margin-bottom: 6px;
    color: #e6f0f4;
    font-size: clamp(.86rem, 1.2vw, .98rem);
    line-height: 1.45;
    letter-spacing: -.035em;
}
.member-username {
    color: #91a6b4;
    font-size: .72rem;
}
.badge-list {
    min-height: 54px;
    gap: 9px;
    margin-top: 17px;
    padding: 10px 0;
    border-top-color: rgba(99, 225, 233, .15);
    border-bottom-color: rgba(99, 225, 233, .15);
}
.badge-button {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: color-mix(in srgb, var(--badge-color, #63f5ed) 8%, rgba(7, 17, 27, .96));
}
.badge-button:hover {
    border-color: var(--badge-color, #63f5ed);
    background: color-mix(in srgb, var(--badge-color, #63f5ed) 15%, rgba(7, 17, 27, .96));
}
.badge-button:focus-visible {
    outline: 2px solid #f17bd4;
    outline-offset: 3px;
}
.badge-button svg { width: 22px; height: 22px; }
.card-details {
    margin-top: auto;
    padding-top: 12px;
}
.card-details summary {
    min-height: 42px;
    padding: 0 11px;
    border: 1px solid rgba(99, 245, 237, .22);
    border-radius: 4px;
    background: rgba(99, 245, 237, .055);
    color: #c7d7df;
    font-size: .64rem;
    letter-spacing: .1em;
    transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}
.card-details summary:hover {
    color: #63f5ed;
    border-color: rgba(99, 245, 237, .48);
    background: rgba(99, 245, 237, .09);
}
.card-details summary::after {
    color: #63f5ed;
    font-size: 1.15rem;
}
.card-details[open] summary { border-color: rgba(99, 245, 237, .36); }
.details-copy {
    margin-top: 14px;
    color: #b1c0c9;
    font-size: .77rem;
    line-height: 1.8;
}
.description-kind {
    color: #63dfe0;
    font-size: .59rem;
    letter-spacing: .12em;
}
.badge-notification {
    border-color: color-mix(in srgb, var(--toast-color, #63f5ed) 76%, transparent);
    border-radius: 7px;
    background: rgba(8, 15, 28, .98);
    box-shadow: 0 16px 48px rgba(0, 0, 0, .52);
}
.badge-notification svg { width: 27px; height: 27px; }
.team-state {
    border-color: rgba(99, 225, 233, .22);
    border-radius: 7px;
    background: linear-gradient(140deg, rgba(16, 39, 54, .62), rgba(13, 20, 35, .82));
}
.team-state h2 { color: #e6f0f4; letter-spacing: -.035em; }
.team-state p { color: #a5b8c5; }
.state-action {
    min-height: 44px;
    border-color: rgba(99, 245, 237, .48);
    border-radius: 4px;
    background: rgba(99, 245, 237, .09);
    color: #63f5ed;
}
.state-action:hover { background: rgba(99, 245, 237, .16); }
.skeleton-heading { background: rgba(99, 245, 237, .15); }
.skeleton-row span {
    border-color: rgba(99, 225, 233, .14);
    border-radius: 7px;
    background: linear-gradient(100deg, rgba(99, 245, 237, .035) 30%, rgba(99, 245, 237, .085) 50%, rgba(99, 245, 237, .035) 70%);
    background-size: 200% 100%;
}
.team-page .team-footer {
    width: min(1140px, 100%);
    border-top-color: rgba(99, 225, 233, .2);
    color: #748d9c;
}
.footer-brand { color: #63f5ed; }
.team-page .footer-link { color: #a5b8c5; }
.team-page .footer-link:hover { color: #63f5ed; }
.team-footer p { max-width: 760px; color: #91a6b4; }
.team-page a:focus-visible,
.team-page button:focus-visible,
.team-page summary:focus-visible {
    outline: 2px solid #f17bd4;
    outline-offset: 4px;
}

@media (max-width: 900px) {
    .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .team-page .hologram-container { padding: 12px clamp(14px, 4vw, 24px) 0; }
    .team-hero { padding: 44px 4px 34px; }
    .hero-bottom { align-items: flex-start; flex-direction: column; }
    .directory-intro { grid-template-columns: 1fr; gap: 12px; }
    .team-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .member-card { min-height: 0; padding: 20px; }
    .team-page .team-footer { margin-top: 40px; }
}
@media (max-width: 480px) {
    .team-page .hologram-container { padding-right: 13px; padding-left: 13px; }
    .team-hero h1 { font-size: clamp(2.45rem, 12vw, 3.8rem); }
    .team-eyebrow { font-size: .58rem; letter-spacing: .13em; }
    .hero-copy { font-size: .82rem; }
    .directory-count { align-items: flex-start; font-size: .62rem; }
    .team-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
    .team-filter { min-width: 0; min-height: 44px; padding: 8px 5px; font-size: .58rem; }
    .member-card { padding: 18px 16px; }
    .team-footer .footer-links { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .team-page .member-card:hover,
    .team-page .team-filter:hover:not(:disabled),
    .team-page .badge-button:hover { transform: none; }
}
