@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

/* ── Design tokens ─────────────────────────────────────────────────────────── */
:root {
    --background-color: #000;
    --bg-secondary: #1a1a2e;
    --header-active-background-color: rgba(0, 255, 115, 0.55);
    --header-hover-background-color: rgba(0, 255, 85, 0.13);
    --input-background-color: #0a0a0a;
    --border-color: #525252;
    --text-color: #ffffff;
    --hover-text-color: rgba(255, 255, 255, 0.49);
    --active-text-color: rgba(255, 255, 255, 0.81);
    --utility-background-color: rgb(22, 22, 22);
    --utility-shadow-color: rgba(66, 66, 66, 0.86);
    --hr-background: rgba(160, 160, 160, 0.274);
    --navbar-background-color: rgb(22, 22, 22);
    --page-text-color: rgba(82, 82, 82, 0.97);
    --shortcut-background-color: #fff;
    --shortcut-box-shadow: 0 0 20px 1px #fff;
    --image-outline-color: #00ff88;
    --button-background-color: #00ff95;
    --button-gradient-color: linear-gradient(304deg, rgb(25, 157, 233) 0%, #00ff73 100%);
    --scrolltop-background-color: rgba(32, 32, 32, 0.37);
    --scrolltop-backdrop-filter: blur(10px);
    --random-btn-background-color: #0a0a0a;
    --random-btn-hover-background-color: rgb(25, 25, 25);
    --random-btn-active-background-color: rgb(15, 15, 15);
    --settingsection-background-color: #0c0c0c;
    --settingsection-background-color-hover: #101010;
    --link-hover-color: #0cc6e7;
    --settingsection-hr-background: rgba(255, 255, 255, 0.22);
    --button-reg-background-color: rgb(22, 22, 22);
    --button-reg-hover-background-color: rgb(25, 25, 25);
    --button-reg-active-background-color: rgb(15, 15, 15);
    --dropdown-background-color: rgb(22, 22, 22);
    --dropdown-hover-background-color: rgb(25, 25, 25);
    --panic-key-successful-color: #24b95b;
    --panic-key-failed-color: #e20b41;
    --failtoast-background: rgb(255, 0, 0);
    --failtoast-gradient: linear-gradient(165deg, rgba(255, 0, 0, 0.15) 0%, rgba(255, 255, 255, 0) 45%);
    --toast-background: rgb(43, 255, 0);
    --toast-gradient: linear-gradient(165deg, rgba(0, 255, 0, 0.145) 0%, rgba(255, 255, 255, 0) 45%);
    --slider-background-color: #d84f68;
    --slider-box-shadow: inset 1px 1px 2px 0px #e97cff;
    --checkbox-background-color: rgb(211, 127, 245);
    --checkbox-gradient: linear-gradient(126deg, rgb(221, 169, 255) 0%, rgb(255, 24, 236) 100%);
    --password-background-color: #252525;
    --password-hover-background-color: #181818;
    --dshadow1: #058f61;
    --dshadow2: #00ff95;
    --dshadow3: #006eff;
    --dshadow4: #0abb59;
    --menubar-height: 56px;
    --accent: #bdf730;
    --accent-cyan: #00f0ff;
}

:root.default {
    --header-active-background-color: #bdf730;
}

/* ── Neon animation ────────────────────────────────────────────────────────── */
@keyframes navbarNeon {
    0%   { border-color: #bdf730; box-shadow: 0 0 15px 2px rgba(189, 247, 48, 0.95), 0 10px 30px rgba(0, 0, 0, 0.35); }
    20%  { border-color: #00f0ff; box-shadow: 0 0 15px 2px rgba(0, 240, 255, 0.95), 0 10px 30px rgba(0, 0, 0, 0.35); }
    40%  { border-color: #ff00d4; box-shadow: 0 0 15px 2px rgba(255, 0, 212, 0.95), 0 10px 30px rgba(0, 0, 0, 0.35); }
    60%  { border-color: #ffaa00; box-shadow: 0 0 15px 2px rgba(255, 170, 0, 0.95), 0 10px 30px rgba(0, 0, 0, 0.35); }
    80%  { border-color: #b300ff; box-shadow: 0 0 15px 2px rgba(179, 0, 255, 0.95), 0 10px 30px rgba(0, 0, 0, 0.35); }
    100% { border-color: #bdf730; box-shadow: 0 0 15px 2px rgba(189, 247, 48, 0.95), 0 10px 30px rgba(0, 0, 0, 0.35); }
}

@keyframes cardNeon {
    0%   { box-shadow: 0 0 18px 3px rgba(189, 247, 48, 0.9); }
    20%  { box-shadow: 0 0 18px 3px rgba(0, 240, 255, 0.9); }
    40%  { box-shadow: 0 0 18px 3px rgba(255, 0, 212, 0.9); }
    60%  { box-shadow: 0 0 18px 3px rgba(255, 170, 0, 0.9); }
    80%  { box-shadow: 0 0 18px 3px rgba(179, 0, 255, 0.9); }
    100% { box-shadow: 0 0 18px 3px rgba(189, 247, 48, 0.9); }
}

@keyframes logoNeon {
    0%   { filter: drop-shadow(0 0 4px #bdf730) drop-shadow(0 0 10px #bdf730); }
    20%  { filter: drop-shadow(0 0 4px #00f0ff) drop-shadow(0 0 10px #00f0ff); }
    40%  { filter: drop-shadow(0 0 4px #ff00d4) drop-shadow(0 0 10px #ff00d4); }
    60%  { filter: drop-shadow(0 0 4px #ffaa00) drop-shadow(0 0 10px #ffaa00); }
    80%  { filter: drop-shadow(0 0 4px #b300ff) drop-shadow(0 0 10px #b300ff); }
    100% { filter: drop-shadow(0 0 4px #bdf730) drop-shadow(0 0 10px #bdf730); }
}

@keyframes chatGlow {
    0%   { box-shadow: 0 0 16px rgba(189, 247, 48, 0.7),  0 0 6px rgba(189, 247, 48, 0.35); }
    20%  { box-shadow: 0 0 16px rgba(0, 240, 255, 0.7),   0 0 6px rgba(0, 240, 255, 0.35); }
    40%  { box-shadow: 0 0 16px rgba(255, 0, 212, 0.7),   0 0 6px rgba(255, 0, 212, 0.35); }
    60%  { box-shadow: 0 0 16px rgba(255, 170, 0, 0.7),   0 0 6px rgba(255, 170, 0, 0.35); }
    80%  { box-shadow: 0 0 16px rgba(179, 0, 255, 0.7),   0 0 6px rgba(179, 0, 255, 0.35); }
    100% { box-shadow: 0 0 16px rgba(189, 247, 48, 0.7),  0 0 6px rgba(189, 247, 48, 0.35); }
}

@keyframes chatIconColor {
    0%   { color: #bdf730; } 20%  { color: #00f0ff; } 40%  { color: #ff00d4; }
    60%  { color: #ffaa00; } 80%  { color: #b300ff; } 100% { color: #bdf730; }
}

@keyframes fade-in-bottom {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in-left {
    from { opacity: 0; transform: translateX(-12px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes app-fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes vid-spin { to { transform: rotate(360deg); } }
@keyframes vid-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Reset / base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 99px; }
::-ms-reveal { filter: invert(100%); }

/* ── Top menu bar ──────────────────────────────────────────────────────────── */
#hub-menubar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--menubar-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0 16px;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    animation: navbarNeon 8s ease-in-out infinite;
}

#hub-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 20px;
    text-decoration: none;
    flex-shrink: 0;
}

#hub-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    animation: logoNeon 8s ease-in-out infinite;
}

#hub-logo span {
    font-size: 1rem;
    font-weight: 800;
    color: #bdf730;
    letter-spacing: -0.5px;
}

#hub-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
}
#hub-nav::-webkit-scrollbar { display: none; }

.hub-nav-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 10px;
    border: none;
    background: none;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
    text-decoration: none;
}
.hub-nav-item i, .hub-nav-item .material-symbols-outlined {
    font-size: 1rem;
    transition: color 0.15s;
}
.hub-nav-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}
.hub-nav-item.active {
    background: rgba(189, 247, 48, 0.12);
    color: #bdf730;
}
.hub-nav-item.active i, .hub-nav-item.active .material-symbols-outlined {
    color: #bdf730;
}

#hub-nav-end {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
}

#hub-user-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}
#hub-user-btn:hover { background: rgba(255, 255, 255, 0.12); }
#hub-user-btn img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
#hub-user-gems { color: #bdf730; font-size: 0.75rem; }

#hub-login-btn {
    padding: 6px 16px;
    border-radius: 10px;
    border: none;
    background: var(--button-gradient-color);
    color: #000;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.15s;
}
#hub-login-btn:hover { opacity: 0.85; }

#hub-hamburger {
    display: none;
    border: none;
    background: none;
    color: rgba(255,255,255,.6);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 4px;
}

/* ── Content area ──────────────────────────────────────────────────────────── */
#hub-content {
    padding-top: var(--menubar-height);
    min-height: 100vh;
}

/* ── Section panels ────────────────────────────────────────────────────────── */
.hub-section {
    display: none;
    min-height: calc(100vh - var(--menubar-height));
    padding: 32px 16px 64px;
    max-width: 1280px;
    margin: 0 auto;
    animation: fade-in-bottom 0.25s ease;
}
.hub-section.active { display: block; }

/* ── Home — hero card grid ─────────────────────────────────────────────────── */
#section-home { display: none; align-items: flex-start; }
#section-home.active { display: block; }

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.hero-card {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,.06);
    background: #0c0c0c;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: transform 0.18s ease, border-color 0.18s, box-shadow 0.18s;
    text-decoration: none;
    user-select: none;
}
.hero-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(189, 247, 48, 0.3);
    animation: cardNeon 8s ease-in-out infinite;
}
.hero-card-icon {
    font-size: 2.5rem;
    color: #bdf730;
    filter: drop-shadow(0 0 12px rgba(189, 247, 48, 0.6));
    transition: filter 0.18s;
}
.hero-card:hover .hero-card-icon {
    filter: drop-shadow(0 0 20px rgba(189, 247, 48, 0.9));
}
.hero-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.2px;
}
.hero-card-desc {
    font-size: 0.78rem;
    color: rgba(255,255,255,.4);
    text-align: center;
    padding: 0 16px;
    line-height: 1.4;
}

/* ── AI section ────────────────────────────────────────────────────────────── */
#section-ai .ai-container {
    max-width: 800px;
    margin: 0 auto;
}

.ai-model-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.ai-model-tab {
    padding: 8px 20px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
    color: rgba(255,255,255,.55);
    font-family: 'DM Sans', sans-serif;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}
.ai-model-tab:hover { background: rgba(255,255,255,.08); color: #fff; }
.ai-model-tab.active {
    background: rgba(189,247,48,.12);
    border-color: #bdf730;
    color: #bdf730;
}

.ai-messages {
    height: 420px;
    overflow-y: auto;
    background: #080808;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.ai-msg { display: flex; flex-direction: column; gap: 4px; max-width: 82%; }
.ai-msg.user { align-self: flex-end; }
.ai-msg.assistant { align-self: flex-start; }
.ai-msg-bubble {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: .88rem;
    line-height: 1.5;
    word-break: break-word;
}
.ai-msg.user .ai-msg-bubble {
    background: rgba(189, 247, 48, 0.12);
    border: 1px solid rgba(189, 247, 48, 0.2);
    color: #fff;
}
.ai-msg.assistant .ai-msg-bubble {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
    color: rgba(255,255,255,.88);
}
.ai-msg-time { font-size: .68rem; color: rgba(255,255,255,.25); align-self: flex-end; }

.ai-input-row {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}
.ai-input-row textarea {
    flex: 1;
    background: #0a0a0a;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: .9rem;
    padding: 11px 14px;
    outline: none;
    resize: none;
    max-height: 140px;
    min-height: 46px;
    line-height: 1.45;
    transition: border-color .15s;
}
.ai-input-row textarea:focus { border-color: rgba(189, 247, 48, .4); }
.ai-input-row textarea::placeholder { color: rgba(255,255,255,.25); }

.ai-send-btn {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: none;
    background: var(--button-gradient-color);
    color: #000;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: opacity .15s;
}
.ai-send-btn:hover { opacity: .85; }
.ai-send-btn:disabled { opacity: .4; cursor: not-allowed; }

.ai-clear-btn {
    border: none;
    background: rgba(255,255,255,.05);
    border-radius: 8px;
    padding: 6px 12px;
    color: rgba(255,255,255,.4);
    font-size: .78rem;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: background .15s, color .15s;
    margin-bottom: 10px;
}
.ai-clear-btn:hover { background: rgba(255,255,255,.1); color: rgba(255,255,255,.7); }

/* ── Gamification toasts ─────────────────────────────────────────────────── */
.cc-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    background: rgb(22, 22, 22);
    border: 1px solid rgba(43, 255, 0, 0.35);
    border-radius: 12px;
    padding: 14px 18px;
    min-width: 200px;
    max-width: 320px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), var(--toast-gradient);
    animation: fade-in-bottom 0.3s ease;
    color: #fff;
    font-size: .88rem;
}
.cc-toast.fail { border-color: rgba(255, 0, 0, 0.35); }
.cc-toast-title { font-weight: 700; color: #bdf730; margin-bottom: 3px; }
.cc-toast.fail .cc-toast-title { color: #ff6b6b; }

/* ── Auth modal ──────────────────────────────────────────────────────────── */
#app-auth-panel {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    animation: app-fadein .25s ease;
}
.ccat-box {
    background: var(--bg-secondary, #1a1a2e);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    padding: 2rem 2rem 1.75rem;
    max-width: 360px;
    width: 90%;
    text-align: center;
    box-shadow: 0 24px 64px rgba(0,0,0,.6);
    color: rgba(255,255,255,.9);
}
.ccat-box h2 { margin: 0 0 .5rem; font-size: 1.35rem; font-weight: 700; color: #fff; }
.ccat-box p { margin: 0 0 1.5rem; color: rgba(255,255,255,.6); font-size: .875rem; line-height: 1.5; }
.ccat-discord { display:flex;align-items:center;justify-content:center;gap:.6rem;background:#5865F2;color:#fff;border-radius:10px;padding:.8rem 1.25rem;text-decoration:none;font-weight:600;font-size:.9rem;margin-bottom:.6rem;transition:background .15s; }
.ccat-discord:hover { background: #4752c4; }
.ccat-secondary { width:100%;background:none;border:1px solid rgba(255,255,255,.15);color:inherit;border-radius:10px;padding:.65rem 1rem;cursor:pointer;font-size:.875rem;transition:background .15s;margin-bottom:.45rem;font-family:inherit; }
.ccat-secondary:hover { background: rgba(255,255,255,.06); }
.ccat-back { background:none;border:none;color:rgba(255,255,255,.4);font-size:.8rem;cursor:pointer;padding:0;margin-bottom:.75rem;font-family:inherit;display:block;text-align:left; }
.ccat-back:hover { color: rgba(255,255,255,.75); }
.ccat-fgrp { text-align: left; margin-bottom: .6rem; }
.ccat-flbl { display:block;font-size:.75rem;color:rgba(255,255,255,.5);font-weight:500;margin-bottom:.3rem; }
.ccat-finp { width:100%;height:40px;padding:0 .75rem;border:1px solid rgba(255,255,255,.12);border-radius:8px;outline:none;background:rgba(255,255,255,.06);color:#fff;font-size:.875rem;font-family:inherit;box-sizing:border-box;transition:border-color .15s; }
.ccat-finp:focus { border-color:rgba(255,255,255,.3);background:rgba(255,255,255,.09); }
.ccat-finp::placeholder { color: rgba(255,255,255,.25); }
.ccat-submit { width:100%;height:40px;background:#5865F2;color:#fff;border:none;border-radius:8px;font-weight:600;font-size:.875rem;cursor:pointer;transition:background .15s;font-family:inherit;margin:.35rem 0 .75rem; }
.ccat-submit:hover { background: #4752c4; }
.ccat-submit:disabled { opacity: .5; cursor: not-allowed; }
.ccat-ferr { background:rgba(239,68,68,.15);border:1px solid rgba(239,68,68,.3);color:#fca5a5;border-radius:7px;padding:.5rem .75rem;font-size:.8rem;margin-bottom:.75rem;text-align:left;display:none; }
.ccat-flinks { font-size:.78rem;color:rgba(255,255,255,.4);text-align:center;margin-top:.25rem; }
.ccat-flinks a { color:rgba(255,255,255,.6);text-decoration:none;cursor:pointer; }
.ccat-flinks a:hover { color: #fff; }
.ccat-fhint { font-size:.72rem;color:rgba(255,255,255,.3);text-align:left;margin-top:-.25rem;margin-bottom:.5rem; }
.ccat-ok { font-size: 2.25rem; margin-bottom: .5rem; }

/* ── Live chat widget ────────────────────────────────────────────────────── */
#chat-root { position:fixed;bottom:20px;left:20px;z-index:2147483500;font-family:'DM Sans',sans-serif; }
#chat-btn { width:46px;height:46px;border-radius:50%;background:#141414;border:none;color:#bdf730;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .15s;user-select:none;animation:chatGlow 8s ease-in-out infinite,chatIconColor 4s linear infinite; }
#chat-btn:hover { transform: scale(1.07); }
#chat-panel { display:none;position:absolute;bottom:56px;left:0;width:300px;background:#141414;border:1px solid rgba(189,247,48,.2);border-radius:14px;overflow:hidden;box-shadow:0 12px 40px rgba(0,0,0,.7),0 0 24px rgba(189,247,48,.08);flex-direction:column;animation:chat-in .18s ease; }
#chat-panel.open { display: flex; }
@keyframes chat-in { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }
#chat-header { display:flex;align-items:center;gap:8px;padding:10px 12px;background:#1c1c1c;border-bottom:1px solid rgba(255,255,255,.06);flex-shrink:0;cursor:move; }
#chat-title { font-size:13px;font-weight:700;color:#fff;flex-shrink:0; }
#chat-username-input { flex:1;min-width:0;background:transparent;border:1px solid transparent;border-radius:5px;color:#bdf730;font-size:11px;font-family:'DM Sans',sans-serif;font-weight:600;padding:2px 6px;outline:none;text-align:right;cursor:pointer;transition:border-color .15s,background .15s;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
#chat-username-input:hover { border-color:rgba(189,247,48,.3);background:rgba(189,247,48,.05); }
#chat-username-input:focus { border-color:#bdf730;background:rgba(189,247,48,.08);cursor:text; }
#chat-online { font-size:11px;color:#bdf730;white-space:nowrap; }
#chat-close { background:none;border:none;color:#555;cursor:pointer;font-size:15px;padding:0 2px;line-height:1;transition:color .15s; }
#chat-close:hover { color: #fff; }
#chat-messages { flex:1;overflow-y:auto;padding:10px 12px;display:flex;flex-direction:column;gap:10px;min-height:220px;max-height:280px; }
#chat-messages::-webkit-scrollbar { width: 3px; }
#chat-messages::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 2px; }
.chat-msg { display: flex; flex-direction: column; gap: 3px; }
.chat-msg-meta { display:flex;align-items:baseline;gap:6px; }
.chat-msg-user { font-size:10px;font-weight:700;color:#00f0ff; }
.chat-msg.mine .chat-msg-user { color: #bdf730; }
.chat-msg-time { font-size:9px;color:#444; }
.chat-msg-text { margin:0;font-size:12.5px;color:#ddd;word-break:break-word;line-height:1.45; }
#chat-footer { padding:8px 10px;border-top:1px solid rgba(255,255,255,.06);background:#1a1a1a;flex-shrink:0; }
#chat-user-label { font-size:10px;color:#444;display:block;margin-bottom:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
#chat-input-row { display:flex;gap:6px; }
#chat-input { flex:1;background:#222;border:1px solid #2e2e2e;border-radius:7px;color:#fff;font-size:12px;font-family:'DM Sans',sans-serif;padding:6px 9px;outline:none;transition:border-color .15s; }
#chat-input:focus { border-color: #bdf730; }
#chat-input::placeholder { color: #444; }
#chat-send { background:#bdf730;color:#000;border:none;border-radius:7px;padding:6px 11px;font-size:12px;font-weight:700;font-family:'DM Sans',sans-serif;cursor:pointer;transition:background .15s;white-space:nowrap; }
#chat-send:hover { background: #d0ff55; }
#chat-empty { color:#333;font-size:12px;text-align:center;margin:auto;padding:20px 0; }

/* ── Games section ───────────────────────────────────────────────────────── */
.g4m3-section-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.g4m3SearchInput {
    width: 100%;
    max-width: 400px;
    height: 40px;
    background: var(--input-background-color);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: .9rem;
    padding: 0 14px;
    outline: none;
    transition: border-color .15s;
}
.g4m3SearchInput:focus { border-color: rgba(189,247,48,.4); }
.g4m3SearchInput::placeholder { color: rgba(255,255,255,.3); }

.g4m3-section-label {
    grid-column: 1 / -1;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.35);
    padding: 6px 2px 10px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    margin-bottom: 4px;
}
.g4m3-section-label:first-child { padding-top: 0; }

.g4m3Contain {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
    grid-auto-flow: dense;
    gap: 8px;
    row-gap: 20px;
    padding-bottom: 4em;
}

.g4m3Anchor {
    display: block;
    position: relative;
    aspect-ratio: 1/1;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,.35);
    transition: transform .18s ease, box-shadow .18s ease;
}
.g4m3Anchor[data-big], .g4m3Anchor[data-big="1"] { grid-column: span 2; grid-row: span 2; }
.g4m3Thumb { position: absolute; inset: 0; border-radius: inherit; }
.g4m3Contain img, .g4m3Image { width:100%;height:100%;object-fit:cover;display:block; }
.g4m3Title { position:absolute;left:0;right:0;bottom:0;padding:22px 10px 8px;font-family:'DM Sans';font-size:12.5px;font-weight:600;color:#fff;background:linear-gradient(to top,rgba(0,0,0,.82),rgba(0,0,0,0));white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none; }
.g4m3Anchor[data-big] .g4m3Title { font-size:15px;padding:30px 14px 12px; }
.g4m3Anchor:hover { transform:scale(1.05);box-shadow:0 12px 28px rgba(0,0,0,.55);z-index:2;animation:cardNeon 8s ease-in-out infinite; }
.g4m3Anchor:active { outline:2px solid var(--image-outline-color);outline-offset:-2px; }

.g4m3PinBtn { position:absolute;top:6px;right:6px;width:26px;height:26px;border:none;border-radius:7px;background:rgba(0,0,0,.6);color:rgba(255,255,255,.75);cursor:pointer;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .15s,background .15s,color .15s;z-index:3;padding:0; }
.g4m3PinBtn .material-symbols-outlined { font-size:14px; }
.g4m3Anchor:hover .g4m3PinBtn { opacity: 1; }
.g4m3PinBtn.is-pinned { opacity:1;background:rgba(0,0,0,.72);color:#bdf730; }
.g4m3PinBtn:hover { background:rgba(0,0,0,.88)!important;color:#fff!important; }

#g4m3Stage { position:fixed;inset:0;z-index:9999999;background:rgba(0,0,0,.82);display:flex;justify-content:center;align-items:flex-start;padding:40px 16px 40px;box-sizing:border-box;overflow-y:auto; }
#g4m3Left { width:min(90vw,960px); }
#g4m3Top { display:flex; }
#g4m3Main { width:100%;display:flex;flex-direction:column; }
#g4m3Player { position:relative;width:100%;height:56vw;max-height:75vh;background:#000;border-radius:14px 14px 0 0;overflow:hidden;box-shadow:0 12px 40px rgba(0,0,0,.55); }
#g4m3Player iframe { position:absolute;inset:0;width:100%;height:100%;border:none; }
#g4m3Bar { width:100%;height:50px;background:#1b1b1b;border-radius:0 0 14px 14px;display:flex;align-items:center;justify-content:space-between;padding:0 14px;box-sizing:border-box; }
#g4m3BarTitle { color:#fff;font-family:'DM Sans';font-weight:600;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-right:12px; }
#g4m3BarActions { display:flex;gap:8px;flex-shrink:0; }
#g4m3BarActions button { width:40px;height:40px;border:none;border-radius:10px;background:rgba(255,255,255,.08);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .15s; }
#g4m3BarActions button:hover { background: rgba(255,255,255,.18); }
#g4m3Recs { display:block;font-size:0; }
#g4m3Recs .g4m3Anchor { display:inline-block;vertical-align:top;width:124px;height:124px;margin:0 8px 8px 0;border-radius:14px;aspect-ratio:unset; }
.g4m3Rec { display:inline-block;vertical-align:top;width:124px;height:124px;margin:0 8px 8px 0;border-radius:14px;overflow:hidden;cursor:pointer;position:relative;box-shadow:0 3px 10px rgba(0,0,0,.35);transition:transform .15s,box-shadow .15s; }
.g4m3Rec img { width:100%;height:100%;object-fit:cover;display:block; }
.g4m3Rec:hover { transform:translateY(-4px) scale(1.04);box-shadow:0 12px 26px rgba(0,0,0,.5);z-index:1;animation:cardNeon 8s ease-in-out infinite; }

/* ── Videos section ──────────────────────────────────────────────────────── */
.vid-tabs { display:flex;gap:8px;margin-bottom:16px;flex-wrap:wrap; }
.vid-tab { padding:8px 22px;border-radius:999px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04);color:rgba(255,255,255,.55);font-family:'DM Sans',system-ui,sans-serif;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s; }
.vid-tab:hover { background:rgba(255,255,255,.08);color:#fff; }
.vid-tab.active { background:linear-gradient(135deg,rgba(0,255,149,.15),rgba(0,110,255,.15));border-color:#00ff95;color:#00ff95;font-weight:600; }

.vid-search-row { margin-bottom:20px; }
#vid-search { width:100%;max-width:560px;height:42px;background:#0a0a0a;border:1px solid rgba(255,255,255,.12);border-radius:10px;color:#fff;font-size:.95rem;padding:0 14px;box-sizing:border-box;outline:none;font-family:'DM Sans',system-ui,sans-serif;transition:border-color .2s; }
#vid-search:focus { border-color:rgba(0,255,149,.5); }
#vid-search::placeholder { color: rgba(255,255,255,.3); }

#vid-grid { display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:14px; }
.vid-card { background:#0c0c0c;border-radius:10px;overflow:hidden;cursor:pointer;border:1px solid rgba(255,255,255,.06);transition:transform .18s,border-color .18s,box-shadow .18s; }
.vid-card:hover { transform:translateY(-3px);border-color:rgba(0,255,149,.3);box-shadow:0 8px 24px rgba(0,0,0,.5); }
.vid-card-thumb { width:100%;display:block;background:#111; }
.vid-card-thumb.ratio-2-3 { aspect-ratio:2/3;object-fit:cover; }
.vid-card-body { padding:8px 10px 10px; }
.vid-card-title { font-size:.82rem;font-weight:600;color:#fff;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:4px; }
.vid-card-meta { font-size:.72rem;color:rgba(255,255,255,.4); }

.vid-loader { text-align:center;padding:60px 0;color:rgba(255,255,255,.3);font-size:.9rem; }
.vid-loader-spinner { display:inline-block;width:32px;height:32px;border:3px solid rgba(255,255,255,.1);border-top-color:#00ff95;border-radius:50%;animation:vid-spin .7s linear infinite;margin-bottom:12px; }
@keyframes vid-spin { to { transform: rotate(360deg); } }

#vid-modal { position:fixed;inset:0;background:rgba(0,0,0,.88);z-index:99990;display:flex;align-items:center;justify-content:center;padding:16px;box-sizing:border-box; }
#vid-modal-inner { background:#111;border:1px solid rgba(255,255,255,.1);border-radius:16px;width:100%;max-width:920px;max-height:90vh;overflow-y:auto;position:relative;box-shadow:0 32px 80px rgba(0,0,0,.8); }
#vid-modal-close { position:absolute;top:12px;right:14px;background:rgba(255,255,255,.08);border:none;color:rgba(255,255,255,.6);font-size:1.1rem;width:30px;height:30px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:10;transition:background .15s,color .15s; }
#vid-modal-close:hover { background:rgba(255,255,255,.15);color:#fff; }
.vid-modal-embed { width:100%;border:none;border-radius:12px 12px 0 0;display:block; }
.vid-modal-embed.ratio-16-9 { aspect-ratio:16/9; }
.vid-modal-info { padding:16px 20px 20px; }
.vid-modal-title { font-size:1.05rem;font-weight:700;color:#fff;margin-bottom:6px;padding-right:36px; }
.vid-modal-meta { font-size:.8rem;color:rgba(255,255,255,.4);margin-bottom:14px; }
.vid-rating { display:inline-block;background:rgba(0,255,149,.12);color:#00ff95;font-size:.72rem;font-weight:700;padding:2px 7px;border-radius:5px;margin-left:6px;vertical-align:middle; }
.vid-series-selectors { display:flex;gap:10px;margin-bottom:14px;flex-wrap:wrap; }
.vid-series-sel { padding:7px 12px;border-radius:8px;border:1px solid rgba(255,255,255,.15);background:rgba(255,255,255,.06);color:rgba(255,255,255,.85);font-family:'DM Sans',system-ui,sans-serif;font-size:.85rem;cursor:pointer;outline:none; }
.vid-series-sel option { background:#1a1a1a; }
.vid-ep-list { list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px; }
.vid-ep-btn { padding:5px 12px;border-radius:7px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.05);color:rgba(255,255,255,.7);font-family:'DM Sans',system-ui,sans-serif;font-size:.78rem;cursor:pointer;transition:all .15s; }
.vid-ep-btn:hover { background:rgba(0,255,149,.12);border-color:#00ff95;color:#00ff95; }

/* ── Music section placeholder ───────────────────────────────────────────── */
#section-music .music-placeholder {
    max-width: 680px;
    margin: 40px auto;
    text-align: center;
    color: rgba(255,255,255,.4);
}
#section-music .music-placeholder i { font-size: 3rem; margin-bottom: 16px; color: rgba(255,255,255,.2); }

/* ── Cloud gaming section ────────────────────────────────────────────────── */
.cloud-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 20px;
}
.cloud-card {
    background: #0c0c0c;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 14px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: transform .18s, border-color .18s;
    text-align: center;
}
.cloud-card:hover { transform: translateY(-3px); border-color: rgba(189,247,48,.3); animation: cardNeon 8s ease-in-out infinite; }
.cloud-card img, .cloud-card i { width: 56px; height: 56px; border-radius: 12px; font-size: 2.5rem; display: flex; align-items: center; justify-content: center; }
.cloud-card-name { font-weight: 700; font-size: .95rem; color: #fff; }
.cloud-card-desc { font-size: .78rem; color: rgba(255,255,255,.4); line-height: 1.4; }

/* ── Settings section ────────────────────────────────────────────────────── */
.settings-layout {
    display: flex;
    gap: 0;
    max-width: 860px;
    margin: 0 auto;
    min-height: calc(100vh - var(--menubar-height) - 64px);
}

.settings-sidebar {
    width: 200px;
    flex-shrink: 0;
    padding-top: 8px;
    padding-right: 16px;
    border-right: 1px solid rgba(255,255,255,.06);
}

.settings-sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    color: rgba(255,255,255,.5);
    font-size: .88rem;
    font-weight: 600;
    transition: background .15s, color .15s;
    margin-bottom: 2px;
}
.settings-sidebar-item:hover { background: rgba(255,255,255,.06); color: rgba(255,255,255,.8); }
.settings-sidebar-item.active { background: rgba(189,247,48,.1); color: #bdf730; }
.settings-sidebar-item i { font-size: .9rem; width: 16px; text-align: center; }

.settings-content {
    flex: 1;
    padding: 8px 0 0 28px;
}

.settings-panel { display: none; animation: fade-in-bottom .2s ease; }
.settings-panel.active { display: block; }

.settings-panel h2 { font-size: 1.2rem; font-weight: 700; margin: 0 0 20px; color: #fff; }

.settings-card {
    background: #0c0c0c;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 16px;
}

.settings-card-label {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: rgba(255,255,255,.35);
    margin-bottom: 14px;
}

.settings-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
}
.settings-row + .settings-row { border-top: 1px solid rgba(255,255,255,.05); }
.settings-row-label { font-size: .88rem; color: rgba(255,255,255,.7); }
.settings-row-value { font-size: .88rem; color: rgba(255,255,255,.4); }

.settings-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,.1);
}
.settings-avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--button-gradient-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: #000;
}

.settings-input {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: .88rem;
    padding: 8px 12px;
    outline: none;
    transition: border-color .15s;
    width: 180px;
}
.settings-input:focus { border-color: rgba(255,255,255,.3); }

.settings-btn {
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    font-family: 'DM Sans', sans-serif;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .15s;
}
.settings-btn.primary { background: var(--button-gradient-color); color: #000; }
.settings-btn.primary:hover { opacity: .85; }
.settings-btn.danger { background: rgba(239,68,68,.15); border: 1px solid rgba(239,68,68,.3); color: #fca5a5; }
.settings-btn.danger:hover { background: rgba(239,68,68,.25); }
.settings-btn.ghost { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.7); }
.settings-btn.ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

.gems-balance {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 0;
}
.gems-balance-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: #bdf730;
    line-height: 1;
}
.gems-balance-icon { font-size: 2rem; }
.gems-streak { font-size: .9rem; color: rgba(255,255,255,.5); }
.gems-streak strong { color: #ffaa00; }

.gems-history-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    font-size: .84rem;
}
.gems-history-row + .gems-history-row { border-top: 1px solid rgba(255,255,255,.05); }
.gems-history-action { color: rgba(255,255,255,.6); }
.gems-history-delta { font-weight: 700; }
.gems-history-delta.pos { color: #bdf730; }
.gems-history-delta.neg { color: #ff6b6b; }
.gems-history-date { font-size: .72rem; color: rgba(255,255,255,.3); }

.leaderboard-table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.leaderboard-table th { text-align: left; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: rgba(255,255,255,.3); padding: 0 0 8px; }
.leaderboard-table td { padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.05); color: rgba(255,255,255,.8); }
.leaderboard-table tr:last-child td { border-bottom: none; }
.lb-rank { color: rgba(255,255,255,.35); width: 32px; }
.lb-pts { color: #bdf730; font-weight: 700; text-align: right; }

.pref-cloak-grid { display:flex;flex-wrap:wrap;gap:8px;margin-top:8px; }
.cloak-option { display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:80px;padding:10px 6px;border-radius:12px;background-color:var(--button-reg-background-color);outline:1px solid rgba(255,255,255,.09);cursor:pointer;transition:background-color .2s,outline-color .2s;user-select:none; }
.cloak-option:hover { background-color:var(--button-reg-hover-background-color); }
.cloak-option span { font-size:11px;color:rgba(255,255,255,.6);text-align:center; }
.cloak-option.selected { outline:2px solid #2a9d8f;background-color:rgba(42,157,143,.15); }
.cloak-option.selected span { color:#fff; }

.panic-row { display:flex;align-items:center;gap:10px;margin-top:8px; }
.panic-input { flex:1;height:35px;padding:0 12px;border-radius:10px;border:none;outline:1px solid rgba(255,255,255,.1);background-color:var(--password-background-color);color:var(--text-color);font-size:14px;font-family:'DM Sans',sans-serif; }
.panic-input:focus { outline:1px solid rgba(255,255,255,.25); }

.theme-grid { display:flex;flex-wrap:wrap;gap:8px;margin-top:8px; }
.theme-option { padding:6px 16px;border-radius:999px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04);color:rgba(255,255,255,.55);font-size:.82rem;font-weight:600;cursor:pointer;transition:all .15s; }
.theme-option:hover { background:rgba(255,255,255,.08);color:#fff; }
.theme-option.selected { border-color:#2a9d8f;background:rgba(42,157,143,.15);color:#fff; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    #hub-nav .hub-nav-label { display: none; }
    #hub-logo span { display: none; }
    #hub-hamburger { display: flex; }
    #hub-nav { display: none; }
    #hub-nav.open { display: flex; flex-direction: column; position: fixed; top: var(--menubar-height); left: 0; right: 0; background: rgba(10,10,10,.97); padding: 12px; z-index: 999; gap: 4px; }
    .hub-nav-item { justify-content: flex-start; }

    .hero-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
    .hub-section { padding: 20px 12px 64px; }

    .settings-layout { flex-direction: column; }
    .settings-sidebar { width: 100%; border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); padding: 0 0 12px; display: flex; gap: 4px; overflow-x: auto; }
    .settings-sidebar-item { white-space: nowrap; }
    .settings-content { padding: 16px 0 0; }

    #g4m3Stage { padding: 16px 10px 32px; }
    #g4m3Left { width: 100%; }
    #g4m3Player { height: 56vw; max-height: 60vh; }
    #vid-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
    #chat-root { bottom: 70px; left: 12px; }
}

@media (max-width: 480px) {
    .g4m3Contain { grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); }
}

/* ── Hub Chat (full-page section) ────────────────────────────────────────── */
.hub-chat-section {
    display: flex;
    flex-direction: column;
    height: calc(100vh - var(--menubar-height, 52px));
    padding: 0 !important;
    overflow: hidden;
}

#hub-chat-wrap {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

#hub-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

#hub-chat-input-row {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid rgba(255,255,255,.07);
    background: rgba(0,0,0,.3);
}

#hub-chat-input {
    flex: 1;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    font-size: .9rem;
    padding: 9px 14px;
    outline: none;
    transition: border-color .15s;
}
#hub-chat-input:focus { border-color: rgba(0,255,149,.45); }
#hub-chat-input:disabled { opacity: .4; }

#hub-chat-send {
    background: var(--button-gradient-color, linear-gradient(135deg,#00ff95,#0066ff));
    border: none;
    border-radius: 8px;
    color: #000;
    cursor: pointer;
    font-size: .9rem;
    font-weight: 700;
    padding: 9px 16px;
    transition: opacity .15s, transform .1s;
    white-space: nowrap;
}
#hub-chat-send:hover:not(:disabled) { opacity: .85; }
#hub-chat-send:active:not(:disabled) { transform: scale(.96); }
#hub-chat-send:disabled { opacity: .4; cursor: not-allowed; }

/* Message bubbles */
.hchat-msg {
    display: flex;
    gap: 8px;
    align-items: baseline;
    font-size: .88rem;
    line-height: 1.45;
    word-break: break-word;
}
.hchat-username {
    font-weight: 700;
    color: #00ff95;
    flex-shrink: 0;
}
.hchat-msg.role-admin .hchat-username { color: #ff6b6b; }
.hchat-msg.role-mod .hchat-username   { color: #7cc8ff; }
.hchat-text { color: rgba(255,255,255,.88); }
.hchat-time {
    margin-left: auto;
    font-size: .72rem;
    color: rgba(255,255,255,.25);
    flex-shrink: 0;
    padding-left: 8px;
    align-self: center;
}
.hchat-system {
    font-size: .78rem;
    color: rgba(255,255,255,.25);
    text-align: center;
    padding: 4px 0;
    font-style: italic;
}

/* Guest state */
#hub-chat-guest {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    color: rgba(255,255,255,.35);
    text-align: center;
    gap: 8px;
    padding: 40px 20px;
}
#hub-chat-guest p { margin: 0; font-size: .95rem; }
#hub-chat-guest a {
    color: #00ff95;
    text-decoration: none;
    font-size: .88rem;
}
#hub-chat-guest a:hover { text-decoration: underline; }
