/* ============================================================
   HYDRA COMMUNITY — Tema Hacker/Hydra
   Adaptado do Novo designer.html (referência oficial)
   ============================================================ */

:root {
    --bg: #0d0f11;
    --bg2: #141619;
    --rail: #08090a;
    --header: #0d0f11;
    --active: rgba(0, 255, 68, 0.15);
    --hover: rgba(0, 255, 68, 0.05);
    --text: #dbdee1;
    --muted: #6a747d;
    --blurple: #00ff44;
    --green: #00ff44;
    --red: #ff0044;
    --blue: #00aaff;
    --orange: #ffaa00;
    --border: #1a1a1a;
}

* { box-sizing: border-box; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-thumb { background: #00ff4444; border-radius: 4px; }
::-webkit-scrollbar-track { background: transparent; }

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    font-family: "gg sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Componentes base ---------- */

.hydra-btn {
    background: rgba(0, 15, 0, 0.7);
    color: #00ff44;
    border: 1px solid rgba(0, 255, 68, 0.5);
    padding: 12px 32px;
    font-size: 15px;
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 3px;
    cursor: pointer;
    outline: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    display: inline-block;
    text-decoration: none;
    text-align: center;
}
.hydra-btn:hover {
    background: rgba(0, 255, 68, 0.15);
    color: #fff;
    border-color: #00ff44;
    box-shadow: 0 0 20px rgba(0, 255, 68, 0.5);
    transform: scale(1.02);
    text-decoration: none;
}
.hydra-btn::before { content: '[ '; opacity: 0.5; }
.hydra-btn::after { content: ' ]'; opacity: 0.5; }
.hydra-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.hydra-btn.danger { border-color: rgba(255, 0, 68, 0.5); color: #ff0044; }
.hydra-btn.danger:hover { background: rgba(255, 0, 68, 0.15); border-color: #ff0044; color: #fff; box-shadow: 0 0 20px rgba(255, 0, 68, 0.5); }

.hydra-input, .hydra-select, .hydra-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #333;
    border-radius: 4px;
    background: #08090a;
    color: var(--text);
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
    font-family: inherit;
}
.hydra-input::placeholder, .hydra-textarea::placeholder { color: #555; }
.hydra-input:focus, .hydra-select:focus, .hydra-textarea:focus {
    border: 1px solid #00ff44;
    box-shadow: 0 0 5px rgba(0, 255, 68, 0.2);
}
.hydra-select option { background: #141619; color: var(--text); }

.hydra-label { display: block; color: var(--muted); font-size: 12px; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 700; }

.hydra-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
}
.hydra-card h3 { color: #00ff44; margin: 0 0 16px; font-family: 'Courier New', Courier, monospace; letter-spacing: 2px; }

.hydra-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.hydra-tag.green { background: rgba(0,255,68,0.15); color: #00ff44; }
.hydra-tag.red { background: rgba(255,0,68,0.15); color: #ff0044; }
.hydra-tag.blue { background: rgba(0,170,255,0.15); color: #00aaff; }
.hydra-tag.orange { background: rgba(255,170,0,0.15); color: #ffaa00; }
.hydra-tag.muted { background: rgba(106,116,125,0.15); color: var(--muted); }

.hydra-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.hydra-table th {
    text-align: left;
    padding: 10px 12px;
    color: #00ff44;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border);
    font-family: 'Courier New', Courier, monospace;
}
.hydra-table td { padding: 10px 12px; border-bottom: 1px solid #1a1a1a; color: var(--text); }
.hydra-table tr:hover td { background: var(--hover); }

.hydra-alert {
    padding: 12px 16px;
    border-radius: 4px;
    border: 1px solid;
    margin-bottom: 16px;
    font-size: 14px;
}
.hydra-alert.error { background: rgba(255,0,68,0.1); border-color: rgba(255,0,68,0.4); color: #ff6677; }
.hydra-alert.success { background: rgba(0,255,68,0.1); border-color: rgba(0,255,68,0.4); color: #00ff44; }
.hydra-alert.info { background: rgba(0,170,255,0.1); border-color: rgba(0,170,255,0.4); color: #66ccff; }

/* ---------- Layout painel (rail + sidebar + main) ---------- */

.hydra-app { display: flex; height: 100vh; background: var(--bg); color: var(--text); overflow: hidden; }

.rail {
    width: 72px;
    background: var(--rail);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 12px;
    gap: 12px;
    overflow-y: auto;
    flex-shrink: 0;
    border-right: 1px solid #1a1a1a;
}
.server-wrapper { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; }
.server-label { font-size: 9px; color: var(--muted); text-transform: uppercase; font-weight: 700; letter-spacing: 0.5px; text-align: center; line-height: 1; }
.pill { position: relative; display: flex; justify-content: center; width: 100%; }
.guild-btn {
    width: 48px;
    height: 48px;
    border-radius: 24px;
    background: var(--bg2);
    color: #00ff44;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-radius .15s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
    flex-shrink: 0;
    border: 2px solid transparent;
    position: relative;
    text-decoration: none;
}
.guild-btn .glyph { font-size: 22px; }
.guild-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    transition: border-radius .15s ease;
}
.pill.active .guild-logo { border-radius: 16px; }
.guild-btn:hover .guild-logo { border-radius: 16px; }
.acervo-1 { border-color: #00ff44; box-shadow: inset 0 0 10px rgba(0,255,68,0.2); }
.acervo-1:hover, .pill.active .acervo-1 { background: rgba(0,255,68,0.15); border-radius: 16px; box-shadow: 0 0 15px rgba(0,255,68,0.4); }
.acervo-2 { border-color: #ff0044; color: #ff0044; box-shadow: inset 0 0 10px rgba(255,0,68,0.2); }
.acervo-2:hover, .pill.active .acervo-2 { background: rgba(255,0,68,0.15); border-radius: 16px; box-shadow: 0 0 15px rgba(255,0,68,0.4); color: #fff; }
.acervo-3 { border-color: #00aaff; color: #00aaff; box-shadow: inset 0 0 10px rgba(0,170,255,0.2); }
.acervo-3:hover, .pill.active .acervo-3 { background: rgba(0,170,255,0.15); border-radius: 16px; box-shadow: 0 0 15px rgba(0,170,255,0.4); color: #fff; }
.network { border-color: #ffaa00; color: #ffaa00; box-shadow: inset 0 0 10px rgba(255,170,0,0.2); }
.network:hover, .pill.active .network { background: rgba(255,170,0,0.15); border-radius: 16px; box-shadow: 0 0 15px rgba(255,170,0,0.4); color: #fff; }
.dev { border-color: #aa66ff; color: #aa66ff; box-shadow: inset 0 0 10px rgba(170,102,255,0.2); }
.dev:hover, .pill.active .dev { background: rgba(170,102,255,0.15); border-radius: 16px; box-shadow: 0 0 15px rgba(170,102,255,0.4); color: #fff; }
.pill.active .dev .glyph { color: #fff; }
.hot { border-color: #ff6b00; color: #ff6b00; box-shadow: inset 0 0 10px rgba(255,107,0,0.2); }
.hot:hover, .pill.active .hot { background: rgba(255,107,0,0.15); border-radius: 16px; box-shadow: 0 0 15px rgba(255,107,0,0.4); color: #fff; }
.pill.active .hot .glyph { color: #fff; }
.divider { width: 32px; height: 2px; background: #1a1a1a; margin: 4px 0; flex-shrink: 0; }

.sidebar {
    width: 280px;
    background: var(--bg2);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    border-right: 1px solid #1a1a1a;
}
.guild-header {
    height: 48px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg2);
    border-bottom: 1px solid #000;
    box-shadow: 0 1px 0 rgba(0,0,0,.2);
    font-weight: 700;
    cursor: pointer;
    user-select: none;
    font-size: 15px;
    color: #00ff44;
    text-shadow: 0 0 5px rgba(0,255,68,0.3);
}
.guild-header:hover { background: #1a1f1a; }
.guild-header a { color: #00ff44; }
.search-box { padding: 12px 12px 4px; }
.search-box input {
    width: 100%;
    height: 32px;
    padding: 0 12px;
    border: 1px solid #333;
    border-radius: 4px;
    background: #08090a;
    color: var(--text);
    font-size: 13px;
    outline: none;
    transition: all 0.3s;
}
.search-box input::placeholder { color: #555; }
.search-box input:focus { border: 1px solid #00ff44; box-shadow: 0 0 5px rgba(0,255,68,0.2); }
.channel-scroll { flex: 1; overflow-y: auto; padding: 12px 8px 8px; }
.category { margin-bottom: 16px; }
.category-title {
    display: flex;
    align-items: center;
    padding: 6px 8px;
    color: #00ff44;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0.8;
}
.category-title:hover { opacity: 1; }
.cat-arrow { margin-right: 4px; font-size: 10px; transition: transform .15s ease; }
.category.collapsed .cat-arrow { transform: rotate(-90deg); }
.category.collapsed .category-channels { display: none; }
.channel {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 8px;
    margin-bottom: 2px;
    border-radius: 4px;
    color: var(--muted);
    font-size: 14px;
    cursor: pointer;
    user-select: none;
    border-left: 2px solid transparent;
    text-decoration: none;
}
.channel:hover { background: var(--hover); color: var(--text); text-decoration: none; }
.channel.active {
    background: var(--active);
    color: #fff;
    border-left: 2px solid #00ff44;
    box-shadow: inset 20px 0 30px -20px rgba(0,255,68,0.2);
}
.channel .icon { font-size: 16px; width: 22px; text-align: center; flex-shrink: 0; filter: grayscale(100%); transition: 0.3s; }
.channel:hover .icon, .channel.active .icon { filter: grayscale(0%); }
.channel .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.user-panel {
    height: 56px;
    background: #0a0b0c;
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 12px;
    flex-shrink: 0;
    border-top: 1px solid #1a1a1a;
}
.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0,255,68,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: #00ff44;
    flex-shrink: 0;
    position: relative;
    border: 1px solid #00ff44;
}
.avatar::after {
    content: "";
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--green);
    border: 2px solid #0a0b0c;
}
.user-info { flex: 1; min-width: 0; }
.user-name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; }
.user-tag { font-size: 11px; color: #00ff44; opacity: 0.8; }
.user-actions { display: flex; gap: 8px; color: var(--muted); }
.user-actions a { cursor: pointer; font-size: 16px; transition: 0.2s; color: var(--muted); text-decoration: none; }
.user-actions a:hover { color: #00ff44; }

.hydra-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.chat-header {
    height: 48px;
    background: var(--header);
    border-bottom: 1px solid #1a1a1a;
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 12px;
    font-weight: 600;
    font-size: 15px;
    flex-shrink: 0;
}
.chat-header .hash { color: #00ff44; font-size: 20px; }
.chat-header .title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; }
.chat-header .member-count { margin-left: auto; color: var(--muted); font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #00ff44; box-shadow: 0 0 5px #00ff44; }

/* Botão de menu (mobile) — oculto no desktop */
.menu-toggle {
    display: none;
    width: 34px;
    height: 34px;
    border: 1px solid #333;
    border-radius: 6px;
    background: #08090a;
    color: #00ff44;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.frame-wrap { flex: 1; min-height: 0; position: relative; background: #0d0f11; }
.frame-wrap iframe { width: 100%; height: 100%; border: 0; background: #0d0f11; }

.empty {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--muted);
    background: radial-gradient(circle, #141619 0%, #0d0f11 100%);
    text-align: center;
    padding: 20px;
}
.empty .big { font-size: 22px; font-weight: 700; color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.2); }
.empty .small { font-size: 14px; max-width: 420px; line-height: 1.5; }

/* ---------- Página de vendas ---------- */

.site-body { background: #000; color: var(--text); overflow-x: hidden; }
.site-wrap { position: relative; }
.site-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    position: relative;
}
.site-hero h1 {
    color: #00ff44;
    font-size: clamp(28px, 6vw, 64px);
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 8px;
    text-shadow: 0 0 15px #00ff44, 0 0 30px rgba(0, 255, 68, 0.5);
    font-weight: bold;
    font-family: 'Courier New', Courier, monospace;
}
.site-hero .subtitle {
    color: #00ff44;
    font-family: 'Courier New', Courier, monospace;
    font-size: clamp(12px, 1.4vw, 18px);
    letter-spacing: 5px;
    text-transform: uppercase;
    opacity: 0.8;
}
.site-section { padding: 80px 20px; max-width: 1200px; margin: 0 auto; }
.site-section h2 {
    color: #00ff44;
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0 0 30px;
    text-align: center;
}
.site-section .lead { text-align: center; color: var(--muted); max-width: 700px; margin: 0 auto 40px; line-height: 1.7; }

/* ---------- Tela de login / checkout ---------- */

.auth-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #141619 0%, #0d0f11 60%, #000 100%);
    padding: 20px;
}
.checkout-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: start;
}
@media (max-width: 768px) {
    .checkout-grid { grid-template-columns: 1fr; gap: 16px; }
    .checkout-grid > div:first-child { order: 2; }
}
.auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 32px;
}
.auth-card h1 {
    color: #00ff44;
    font-family: 'Courier New', Courier, monospace;
    font-size: 20px;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 6px;
}
.auth-card .auth-sub { text-align: center; color: var(--muted); font-size: 13px; margin-bottom: 24px; }
.auth-field { margin-bottom: 16px; }

/* ---------- Admin ---------- */

.admin-shell { display: flex; min-height: 100vh; background: var(--bg); color: var(--text); }
.admin-nav {
    width: 220px;
    background: var(--bg2);
    border-right: 1px solid var(--border);
    padding: 20px 0;
    flex-shrink: 0;
}
.admin-nav .brand {
    color: #00ff44;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    letter-spacing: 2px;
    padding: 0 20px 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
    font-weight: bold;
}
.admin-nav a {
    display: block;
    padding: 10px 20px;
    color: var(--muted);
    font-size: 14px;
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: 0.2s;
}
.admin-nav a:hover { background: var(--hover); color: var(--text); }
.admin-nav a.active { color: #00ff44; border-left-color: #00ff44; background: var(--active); }
.admin-content { flex: 1; padding: 24px; overflow-x: hidden; }
.admin-content h1 { color: #00ff44; font-family: 'Courier New', Courier, monospace; letter-spacing: 2px; font-size: 22px; margin: 0 0 24px; text-transform: uppercase; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 8px; padding: 18px; }
.stat-card .stat-value { font-size: 28px; font-weight: 700; color: #00ff44; font-family: 'Courier New', Courier, monospace; }
.stat-card .stat-label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 4px; }
.table-actions { display: flex; gap: 6px; }
.table-actions a, .table-actions button {
    font-size: 12px; padding: 4px 10px; border-radius: 3px;
    border: 1px solid var(--border); background: var(--bg); color: var(--muted);
    cursor: pointer; text-decoration: none; transition: 0.2s; font-family: inherit;
}
.table-actions a:hover, .table-actions button:hover { border-color: #00ff44; color: #00ff44; }
.table-actions .del:hover { border-color: #ff0044; color: #ff0044; }

@media (max-width: 720px) {
    .sidebar { width: 220px; }
    .admin-nav { width: 60px; }
    .admin-nav a { padding: 10px; font-size: 0; text-align: center; }
    .admin-nav a::first-letter { font-size: 14px; }
    .admin-nav .brand { font-size: 0; padding: 0 0 16px; }
    .admin-nav .brand::first-letter { font-size: 14px; }
}

/* ---------- Notificações (toast) ---------- */

.hydra-notif-wrap {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: min(380px, calc(100vw - 32px));
    font-family: "gg sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    pointer-events: none;
}
.hydra-notif-toast {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #111418;
    border: 1px solid #2a313b;
    border-left: 4px solid #00ff44;
    border-radius: 10px;
    padding: 14px 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .55);
    color: #e8ebf0;
    opacity: 0;
    transform: translateX(24px);
    transition: opacity .25s ease, transform .25s ease;
}
.hydra-notif-toast.in { opacity: 1; transform: translateX(0); }
.hydra-notif-toast.out { opacity: 0; transform: translateX(24px); }
.hydra-notif-toast.mention { border-left-color: #3b82f6; }
.hydra-notif-icon { font-size: 22px; line-height: 1.3; }
.hydra-notif-title { font-weight: 800; font-size: 14px; margin-bottom: 3px; color: #fff; }
.hydra-notif-msg { font-size: 13px; color: #b9c0cb; line-height: 1.5; white-space: pre-line; word-break: break-word; }
.hydra-notif-close {
    margin-left: auto;
    background: none;
    border: none;
    color: #8b93a1;
    cursor: pointer;
    font-size: 15px;
    padding: 2px 4px;
    line-height: 1;
    border-radius: 6px;
}
.hydra-notif-close:hover { color: #fff; background: #1f2530; }

/* ============================================================
   RESPONSIVIDADE
   ============================================================ */

/* ---------- Telas médias (tablet / notebook pequeno) ---------- */
@media (max-width: 1024px) {
    .sidebar { width: 240px; }
    .chat-header { padding: 0 12px; }
    .chat-header .member-count { font-size: 12px; }
}

/* ---------- Celular ---------- */
@media (max-width: 768px) {
    /* Painel do membro: rail vira barra horizontal, sidebar vira drawer */
    .hydra-app { flex-direction: column; }
    .hydra-app .rail {
        width: 100%;
        height: auto;
        min-height: 68px;
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 8px 10px;
        gap: 14px;
        overflow-x: auto;
        overflow-y: hidden;
        border-right: none;
        border-bottom: 1px solid #1a1a1a;
        flex-shrink: 0;
        -webkit-overflow-scrolling: touch;
    }
    .hydra-app .rail .server-wrapper { flex-direction: column; width: auto; flex-shrink: 0; gap: 3px; }
    .hydra-app .rail .server-label {
        display: block;
        font-size: 8px;
        max-width: 56px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .hydra-app .rail .divider { display: none; }
    .hydra-app .rail .guild-btn { width: 44px; height: 44px; border-radius: 22px; }
    .hydra-app .rail .guild-logo { width: 38px; height: 38px; }

    .hydra-app .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 1000;
        width: 270px;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        box-shadow: 4px 0 24px rgba(0,0,0,0.6);
    }
    .hydra-app .sidebar.open { transform: translateX(0); }
    .hydra-app .sidebar-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 999;
        background: rgba(0,0,0,0.6);
    }
    .hydra-app .sidebar-backdrop.show { display: block; }

    .hydra-main { width: 100%; }
    .chat-header { height: 48px; padding: 0 8px; gap: 8px; }
    .chat-header .member-count { display: none; }
    .chat-header .header-balance { padding-left: 8px; }
    .chat-header .header-balance span { display: none; }
    .chat-header .title { font-size: 13px; }
    .menu-toggle { display: inline-flex !important; }

    /* Auth / checkout: tudo em 1 coluna */
    .auth-screen { padding: 12px; }
    .auth-card { padding: 20px; }

    /* Admin */
    .admin-shell { flex-direction: column; }
    .admin-nav {
        width: 100%;
        height: auto;
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        align-items: center;
        padding: 8px;
        border-right: none;
        border-bottom: 1px solid var(--border);
        -webkit-overflow-scrolling: touch;
    }
    .admin-nav .brand { display: none; }
    .admin-nav a {
        padding: 8px 12px;
        font-size: 12px;
        border-left: none;
        border-bottom: 2px solid transparent;
        white-space: nowrap;
        flex-shrink: 0;
    }
    .admin-nav a.active { border-left: none; border-bottom-color: #00ff44; }
    .admin-content { padding: 16px 12px; }

    /* Tabelas */
    .hydra-table th, .hydra-table td { padding: 8px 6px; font-size: 12px; }
    .table-actions { flex-wrap: wrap; }

    /* Grids inline que quebram no mobile */
    .site-section { padding: 40px 16px; }
    .site-section h2 { font-size: 20px; letter-spacing: 1px; }

    /* Header do site (intro 3D) */
    .hero-title { font-size: 8vw !important; letter-spacing: 4px !important; }
    .hero-subtitle { font-size: 3vw !important; letter-spacing: 2px !important; }
}

/* ---------- Celular pequeno ---------- */
@media (max-width: 480px) {
    .hydra-app .rail .guild-btn { width: 38px; height: 38px; border-radius: 19px; }
    .hydra-app .rail .guild-logo { width: 32px; height: 32px; }
    .auth-card h1 { font-size: 17px; }
    .hydra-btn { padding: 10px 20px; font-size: 13px; }
    .stat-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
}
