/* ==========================================================================
   TC HUB - BESPOKE USER PILL, DROPDOWN & DYNAMIC DISCORD PROFILE CARD
   TC Hub Signature Amber-Gold & Stone Aesthetic + Dynamic Discord Theming
   ========================================================================== */

:root {
    --tchub-gold: #f0b54f;
    --tchub-gold-hover: #ffd17c;
    --tchub-gold-deep: #d48828;
    --tchub-stone-dark: #10110f;
    --tchub-stone-card: #151612;
    --tchub-stone-surface: #191a15;
    --tchub-gold-border: rgba(240, 181, 79, 0.35);
    --tchub-gold-glow: rgba(240, 181, 79, 0.22);
}

/* --------------------------------------------------------------------------
   1. TOP TASKBAR USER PILL (TC HUB GOLD THEME)
   -------------------------------------------------------------------------- */
.tc-user-menu-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    z-index: 1000;
}

.tc-user-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 38px;
    padding: 3px 14px 3px 5px;
    background: rgba(21, 22, 18, 0.92);
    border: 1px solid rgba(240, 181, 79, 0.35);
    border-radius: 9999px;
    color: #f6f1e7;
    cursor: pointer;
    font-family: 'Space Grotesk', 'Inter', -apple-system, sans-serif;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.tc-user-pill:hover,
.tc-user-pill.active {
    background: rgba(28, 29, 23, 0.98);
    border-color: #f0b54f;
    box-shadow: 0 6px 24px rgba(240, 181, 79, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.tc-user-pill-avatar-wrap {
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
}

.tc-user-pill-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #f0b54f;
    box-shadow: 0 0 8px rgba(240, 181, 79, 0.35);
    display: block;
}

.tc-status-dot-pulse {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 9px;
    height: 9px;
    background: #22c55e;
    border: 2px solid #151612;
    border-radius: 50%;
    box-shadow: 0 0 6px #22c55e;
    animation: tcStatusPulse 2.4s infinite ease-in-out;
}

@keyframes tcStatusPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.18); opacity: 0.85; box-shadow: 0 0 10px #22c55e; }
}

.tc-user-pill-name {
    max-width: 130px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #ffffff;
    font-weight: 700;
}

.tc-user-pill-chevron {
    font-size: 0.72rem;
    color: #f0b54f;
    margin-left: 2px;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tc-user-pill.active .tc-user-pill-chevron {
    transform: rotate(180deg);
}

/* --------------------------------------------------------------------------
   2. USER DROPDOWN MENU (TC HUB GOLD THEME)
   -------------------------------------------------------------------------- */
.tc-user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 260px;
    background: rgba(18, 19, 15, 0.96);
    border: 1px solid rgba(240, 181, 79, 0.3);
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75), 0 0 25px rgba(240, 181, 79, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.96);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 1050;
}

.tc-user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Dropdown Header */
.tc-dd-header {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 12px;
}

.tc-dd-user-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.98rem;
    font-weight: 700;
    color: #ffffff;
}

.tc-dd-verified-badge {
    color: #f0b54f;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
}

.tc-dd-role-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: 0.74rem;
    font-family: 'Space Grotesk', monospace;
}

.tc-dd-role-pill {
    font-weight: 700;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.tc-dd-dot {
    color: rgba(255, 255, 255, 0.3);
}

.tc-dd-id {
    color: rgba(255, 255, 255, 0.65);
    cursor: pointer;
    transition: color 0.18s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tc-dd-id:hover {
    color: #ffd17c;
    text-decoration: underline;
}

/* View Discord Profile Button */
.tc-dd-profile-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 14px;
    margin-bottom: 10px;
    background: rgba(240, 181, 79, 0.1);
    border: 1px solid rgba(240, 181, 79, 0.45);
    border-radius: 11px;
    color: #ffd17c;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: inset 0 0 12px rgba(240, 181, 79, 0.08);
}

.tc-dd-profile-btn i {
    font-size: 1rem;
    color: #f0b54f;
    transition: transform 0.2s ease;
}

.tc-dd-profile-btn:hover {
    background: linear-gradient(135deg, #f4ca7e, #d99538);
    border-color: #ffd17c;
    color: #20180b;
    box-shadow: 0 4px 18px rgba(240, 181, 79, 0.35);
    transform: translateY(-1px);
}

.tc-dd-profile-btn:hover i {
    color: #20180b;
    transform: scale(1.12);
}

/* Dropdown Navigation Links */
.tc-dd-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tc-dd-link {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 12px;
    border-radius: 9px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.81rem;
    font-weight: 500;
    transition: all 0.18s ease;
}

.tc-dd-link i {
    font-size: 0.92rem;
    width: 16px;
    text-align: center;
    color: #94a3b8;
    transition: color 0.18s;
}

.tc-dd-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    transform: translateX(2px);
}

.tc-dd-link:hover i {
    color: #f0b54f;
}

.tc-dd-badge {
    margin-left: auto;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 9999px;
    background: rgba(88, 101, 242, 0.2);
    border: 1px solid rgba(88, 101, 242, 0.4);
    color: #818cf8;
}

.tc-dd-admin {
    color: #ffd17c;
}
.tc-dd-admin i { color: #f0b54f; }
.tc-dd-admin:hover i { color: #ffd17c; }

.tc-dd-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 8px 0;
}

.tc-dd-logout {
    color: #f87171;
}

.tc-dd-logout i {
    color: #ef4444;
}

.tc-dd-logout:hover {
    background: rgba(239, 68, 68, 0.12);
    color: #fca5a5;
}

.tc-dd-logout:hover i {
    color: #f87171;
}

/* --------------------------------------------------------------------------
   3. DISCORD PROFILE CARD MODAL (DYNAMIC DISCORD THEMING)
   -------------------------------------------------------------------------- */
.tc-profile-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 9, 7, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s;
}

.tc-profile-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Card Container with Dynamic Theming CSS Custom Properties */
.tc-profile-card {
    --accent: var(--profile-accent, #f0b54f);
    --glow: var(--profile-glow, rgba(240, 181, 79, 0.22));
    --border: var(--profile-border, rgba(240, 181, 79, 0.38));
    --tint: var(--profile-tint, rgba(240, 181, 79, 0.08));

    position: relative;
    width: 100%;
    max-width: 520px;
    background: #141511;
    border: 1px solid var(--border);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.92), 0 0 60px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transform: scale(0.92) translateY(18px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.tc-profile-modal-overlay.active .tc-profile-card {
    transform: scale(1) translateY(0);
}

/* Close button */
.tc-profile-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(18, 19, 15, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.92rem;
    cursor: pointer;
    z-index: 20;
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}

.tc-profile-close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #ffffff;
    transform: rotate(90deg);
}

/* --------------------------------------------------------------------------
   Banner Area
   -------------------------------------------------------------------------- */
.tc-profile-banner {
    position: relative;
    width: 100%;
    height: 185px;
    background-color: #141511;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    transition: background-color 0.35s ease, filter 0.35s ease;
}

.tc-profile-card:hover .tc-profile-banner {
    filter: brightness(1.05);
}

.tc-profile-banner-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 85% 20%, var(--glow), transparent 60%),
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 100% 100%, 22px 22px, 22px 22px;
    pointer-events: none;
    opacity: 0.35;
}

.tc-profile-banner-ambient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 120%, var(--glow), transparent 70%);
}

.tc-profile-banner-tag {
    position: absolute;
    top: 14px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 9999px;
    background: rgba(14, 15, 11, 0.82);
    border: 1px solid var(--border);
    font-family: 'Space Grotesk', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--accent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    z-index: 5;
}

.tc-profile-banner-hud {
    position: absolute;
    top: 14px;
    right: 56px; /* leave room for close button */
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 9999px;
    background: rgba(14, 15, 11, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Space Grotesk', monospace;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #e5e7eb;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    z-index: 5;
}

.tc-profile-banner-hud i {
    color: var(--accent);
    font-size: 0.7rem;
}

.tc-banner-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 6px var(--accent);
    animation: tcBannerGlowPulse 2s infinite ease-in-out;
}

@keyframes tcBannerGlowPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.85; box-shadow: 0 0 10px var(--accent); }
}

/* --------------------------------------------------------------------------
   Built-in Standalone Cyber Banner (Zero External File Dependency)
   -------------------------------------------------------------------------- */
.tc-cyber-banner-backdrop {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    background: 
        radial-gradient(circle at 50% 45%, rgba(240, 181, 79, 0.16) 0%, rgba(22, 23, 18, 0.94) 62%, #0e0f0c 100%),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 4px);
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

/* Center Emblem with Neon Orbit */
.tc-cyber-center-emblem {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
    pointer-events: none;
}

.tc-cyber-orbit-ring {
    position: absolute;
    width: 124px;
    height: 54px;
    border-radius: 50%;
    border: 3px solid #d4ff00;
    box-shadow: 0 0 18px #d4ff00, inset 0 0 10px #d4ff00;
    transform: rotate(-22deg);
    animation: tcOrbitGlow 3.5s infinite ease-in-out;
}

@keyframes tcOrbitGlow {
    0%, 100% {
        box-shadow: 0 0 14px #d4ff00, inset 0 0 8px #d4ff00;
        transform: rotate(-22deg) scale(1);
    }
    50% {
        box-shadow: 0 0 26px #f0b54f, inset 0 0 16px #f0b54f;
        transform: rotate(-22deg) scale(1.05);
        border-color: #ffd17c;
    }
}

.tc-cyber-tc-text {
    font-family: 'Space Grotesk', -apple-system, sans-serif;
    font-size: 3.6rem;
    font-weight: 900;
    font-style: italic;
    color: #ffffff;
    letter-spacing: -0.06em;
    text-shadow: 
        0 0 16px rgba(240, 181, 79, 0.9),
        0 0 35px rgba(212, 255, 0, 0.5),
        0 4px 14px rgba(0, 0, 0, 0.95);
    line-height: 0.95;
    user-select: none;
}

.tc-cyber-sub-text {
    font-family: 'Space Grotesk', monospace;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    color: #f0b54f;
    text-transform: uppercase;
    margin-top: 5px;
    text-shadow: 0 0 10px rgba(240, 181, 79, 0.7);
    user-select: none;
}

/* Left HUD & Circuit lines */
.tc-cyber-circuit-left {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 36px;
    opacity: 0.85;
}

.tc-circuit-svg {
    width: 110px;
    height: 40px;
    filter: drop-shadow(0 0 6px var(--accent));
}

.tc-cyber-hud-stats {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-family: 'Space Grotesk', monospace;
    font-size: 0.62rem;
    color: #94a3b8;
    letter-spacing: 0.05em;
}

.tc-hud-line {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    color: var(--accent);
}

.tc-hud-sub {
    font-size: 0.56rem;
    color: #64748b;
}

/* Right Audio Waveform / Equalizer */
.tc-cyber-circuit-right {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    margin-top: 36px;
    opacity: 0.85;
}

.tc-cyber-equalizer {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 28px;
}

.tc-eq-bar {
    width: 3px;
    background: linear-gradient(180deg, #d4ff00 0%, #f0b54f 60%, #d48828 100%);
    border-radius: 2px;
    box-shadow: 0 0 6px rgba(240, 181, 79, 0.6);
    animation: tcEqualizerAnim 1.4s infinite ease-in-out;
}

.tc-eq-1 { height: 8px;  animation-delay: 0.0s; }
.tc-eq-2 { height: 16px; animation-delay: 0.2s; }
.tc-eq-3 { height: 24px; animation-delay: 0.4s; }
.tc-eq-4 { height: 14px; animation-delay: 0.1s; }
.tc-eq-5 { height: 26px; animation-delay: 0.35s; }

@keyframes tcEqualizerAnim {
    0%, 100% { transform: scaleY(0.4); opacity: 0.65; }
    50% { transform: scaleY(1.2); opacity: 1; box-shadow: 0 0 10px #d4ff00; }
}

.tc-cyber-hud-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    font-family: 'Space Grotesk', monospace;
    font-size: 0.62rem;
    color: #94a3b8;
    letter-spacing: 0.05em;
}

.tc-text-right {
    text-align: right;
    justify-content: flex-end;
}

/* --------------------------------------------------------------------------
   Avatar & Badges Cluster
   -------------------------------------------------------------------------- */
.tc-profile-header-row {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 24px;
    margin-top: -52px;
    z-index: 10;
}

.tc-profile-avatar-container {
    position: relative;
}

.tc-profile-avatar-ring {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 5px solid #141511;
    background: #141511;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.7), 0 0 20px var(--glow);
}

.tc-profile-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.tc-profile-avatar-decoration {
    position: absolute;
    top: -12%;
    left: -12%;
    width: 124%;
    height: 124%;
    pointer-events: none;
    z-index: 2;
}

.tc-profile-status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    background: #22c55e;
    border: 3.5px solid #141511;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
    z-index: 3;
}

.tc-profile-badges-cluster {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(23, 24, 19, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 8px 12px;
    margin-bottom: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
}

.tc-pbadge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 7px;
    font-size: 0.82rem;
    transition: transform 0.18s;
}

.tc-pbadge:hover {
    transform: scale(1.15);
}

.tc-pbadge-tchub {
    background: rgba(240, 181, 79, 0.18);
    border: 1px solid rgba(240, 181, 79, 0.4);
    color: #ffd17c;
}

.tc-pbadge-owner {
    background: rgba(240, 181, 79, 0.22);
    border: 1px solid rgba(240, 181, 79, 0.5);
    color: #ffd17c;
}

.tc-pbadge-admin {
    background: rgba(229, 72, 77, 0.18);
    border: 1px solid rgba(229, 72, 77, 0.4);
    color: #f87171;
}

.tc-pbadge-vip {
    background: rgba(124, 180, 147, 0.18);
    border: 1px solid rgba(124, 180, 147, 0.4);
    color: #7cb493;
}

.tc-pbadge-booster {
    background: rgba(244, 127, 255, 0.18);
    border: 1px solid rgba(244, 127, 255, 0.4);
    color: #f47fff;
}

.tc-pbadge-member {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f6f1e7;
}

/* --------------------------------------------------------------------------
   Identity & Verification Strip
   -------------------------------------------------------------------------- */
.tc-profile-identity {
    padding: 18px 24px 0 24px;
}

.tc-profile-names {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tc-profile-display-name {
    margin: 0;
    font-family: 'Space Grotesk', -apple-system, sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.025em;
    line-height: 1.1;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.tc-profile-handle {
    font-family: 'Space Grotesk', monospace;
    font-size: 0.86rem;
    color: #8b949e;
    letter-spacing: -0.01em;
}

.tc-profile-verify-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding: 10px 16px;
    background: var(--tint);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--accent);
    font-size: 0.79rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.tc-verify-icon {
    font-size: 0.88rem;
    color: var(--accent);
}

/* --------------------------------------------------------------------------
   Data Grid (Dynamic Themed)
   -------------------------------------------------------------------------- */
.tc-profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 20px 24px 0 24px;
}

.tc-profile-grid-box {
    background: rgba(24, 25, 20, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.tc-profile-grid-box:hover {
    border-color: var(--border);
    box-shadow: 0 0 18px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.tc-grid-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Space Grotesk', monospace;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #6b7280;
    text-transform: uppercase;
}

.tc-grid-label i {
    color: var(--accent);
    font-size: 0.74rem;
}

.tc-grid-val-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.tc-grid-value {
    font-size: 0.88rem;
    font-weight: 700;
    color: #f6f1e7;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tc-font-mono {
    font-family: 'Courier New', monospace;
    letter-spacing: 0.02em;
}

.tc-btn-copy-id {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    background: var(--tint);
    border: 1px solid var(--border);
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
    flex-shrink: 0;
}

.tc-btn-copy-id:hover {
    background: var(--accent);
    color: #151612;
    border-color: var(--accent);
}

.tc-guild-name {
    color: #f6f1e7;
    font-weight: 600;
}

.tc-guild-pill,
.tc-sec-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--accent);
}

.tc-dot-gold {
    font-size: 0.45rem;
    color: var(--accent);
}

/* Full Width Grid Roles */
.tc-grid-roles {
    grid-column: 1 / -1;
}

.tc-roles-pill-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 4px;
}

.tc-role-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: transform 0.18s ease;
}

.tc-role-tag:hover {
    transform: translateY(-1px);
}

.tc-tag-member {
    background: var(--tint);
    border: 1px solid var(--border);
    color: var(--accent);
}

.tc-tag-owner {
    background: rgba(240, 181, 79, 0.18);
    border: 1px solid rgba(240, 181, 79, 0.5);
    color: #ffd17c;
}

.tc-tag-admin {
    background: rgba(229, 72, 77, 0.15);
    border: 1px solid rgba(229, 72, 77, 0.45);
    color: #f87171;
}

.tc-tag-vip {
    background: rgba(124, 180, 147, 0.15);
    border: 1px solid rgba(124, 180, 147, 0.45);
    color: #7cb493;
}

.tc-tag-booster {
    background: rgba(244, 127, 255, 0.15);
    border: 1px solid rgba(244, 127, 255, 0.45);
    color: #f47fff;
}

.tc-voice-synced {
    color: var(--accent);
    font-weight: 700;
}

.tc-voice-id {
    font-family: 'Courier New', monospace;
    font-size: 0.72rem;
    color: #8b949e;
}

/* --------------------------------------------------------------------------
   Live Sync Bar (Dynamic Themed)
   -------------------------------------------------------------------------- */
.tc-profile-sync-bar {
    padding: 16px 24px 0 24px;
}

.tc-btn-sync-discord {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px dashed var(--border);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.22s ease;
}

.tc-btn-sync-discord:hover {
    background: var(--tint);
    border-color: var(--accent);
    color: #ffffff;
}

.tc-btn-sync-discord.syncing i {
    animation: tcSpin 0.9s linear infinite;
}

@keyframes tcSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   Action Buttons (TC Hub Signature Buttons)
   -------------------------------------------------------------------------- */
.tc-profile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 24px 26px 24px;
}

.tc-profile-btn-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.tc-pbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 13px;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    letter-spacing: -0.01em;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.tc-pbtn-gold {
    background: linear-gradient(135deg, #f4ca7e, #d99538);
    color: #20180b;
    border: 1px solid #ffd17c;
    box-shadow: 0 4px 16px rgba(240, 181, 79, 0.28);
}

.tc-pbtn-gold:hover {
    background: #ffd17c;
    border-color: #ffe0a2;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(240, 181, 79, 0.42);
}

.tc-pbtn-discord {
    background: #5865f2;
    color: #ffffff;
    border: 1px solid #5865f2;
    box-shadow: 0 4px 16px rgba(88, 101, 242, 0.25);
}

.tc-pbtn-discord:hover {
    background: #4752c4;
    border-color: #4752c4;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4);
}

.tc-pbtn-signout {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #f87171;
}

.tc-pbtn-signout:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(239, 68, 68, 0.35);
}

/* --------------------------------------------------------------------------
   Mobile Adaptations
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .tc-user-pill-name {
        display: none;
    }
    .tc-user-pill {
        padding: 3px 6px 3px 4px;
        gap: 4px;
    }
    .tc-user-dropdown {
        right: -8px;
        width: 252px;
    }
    .tc-profile-card {
        max-width: 96vw;
        border-radius: 22px;
    }
    .tc-profile-banner {
        height: 140px;
    }
    .tc-profile-banner-hud {
        display: none;
    }
    .tc-cyber-circuit-left,
    .tc-cyber-circuit-right {
        display: none;
    }
    .tc-cyber-tc-text {
        font-size: 2.6rem;
    }
    .tc-cyber-orbit-ring {
        width: 95px;
        height: 42px;
    }
    .tc-profile-header-row {
        margin-top: -44px;
        padding: 0 18px;
    }
    .tc-profile-avatar-ring {
        width: 82px;
        height: 82px;
    }
    .tc-profile-identity {
        padding: 14px 18px 0 18px;
    }
    .tc-profile-grid {
        grid-template-columns: 1fr;
        padding: 16px 18px 0 18px;
    }
    .tc-profile-sync-bar {
        padding: 12px 18px 0 18px;
    }
    .tc-profile-actions {
        padding: 14px 18px 20px 18px;
    }
    .tc-profile-btn-row {
        grid-template-columns: 1fr;
    }
}
