/* =====================================================================
   MuDragon — PADRÃO VISUAL ÚNICO DO SITE DOS JOGADORES (2026-09-23)
   Mesmo kit do painel admin (dashboard/css/ui.css, prefixo md-), com a
   identidade do site: cantos de 4px, títulos Cinzel dourados, botão âmbar.
   Carregado DEPOIS de arq/style.css em todas as páginas. Guia: Docs/site-padrao-visual.md
   JS: assets/scripts/lib/ui.js (MD.toast/confirm/prompt/alert/modal/tabs/esc/num/busy)
   ===================================================================== */
:root {
    --md-gold: #f59e0b;
    --md-gold-2: #d97706;
    --md-gold-soft: rgba(245, 158, 11, .12);
    --md-gold-line: rgba(245, 158, 11, .22);
    --md-green: #10b981;  --md-green-soft: rgba(16, 185, 129, .14);  --md-green-txt: #6ee7b7;
    --md-red: #ef4444;    --md-red-soft: rgba(239, 68, 68, .14);     --md-red-txt: #fca5a5;
    --md-blue: #3b82f6;   --md-blue-soft: rgba(59, 130, 246, .14);   --md-blue-txt: #93c5fd;
    --md-purple: #a855f7; --md-purple-soft: rgba(168, 85, 247, .14); --md-purple-txt: #d8b4fe;
    --md-yellow-txt: #fcd34d;
    --md-bg-0: #020617;
    --md-bg-1: #0b1121;
    --md-bg-2: #0f172a;
    --md-bg-3: #1e293b;
    --md-line: #334155;
    --md-line-2: rgba(148, 163, 184, .12);
    --md-text: #f1f5f9;
    --md-text-2: #cbd5e1;
    --md-muted: #94a3b8;
    --md-muted-2: #64748b;
    --md-font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --md-font-title: 'Cinzel', serif;
    --md-font-num: 'Orbitron', var(--md-font);
    --md-mono: ui-monospace, 'Cascadia Mono', Consolas, 'Courier New', monospace;
    --md-r-sm: 4px;   /* site: cantos retos da identidade elite-box */
    --md-r: 6px;
    --md-r-pill: 999px;
    --md-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}

/* ---------- Base (uma fonte só, igual em Windows e celular) ---------- */
.md-mono { font-family: var(--md-mono); font-size: 12.5px; }
.md-muted { color: var(--md-muted); }
.md-small { font-size: 12px; }
.md-nowrap { white-space: nowrap; }
.md-right { text-align: right; }
.md-hide-mobile { }

/* ---------- Cabeçalho da página ---------- */
.md-page-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 16px; margin: 0 0 22px; padding-bottom: 16px; border-bottom: 1px solid var(--md-gold-line); }
.md-page-title { margin: 0 !important; font-family: var(--md-font-title) !important; font-size: 22px !important; letter-spacing: 1.5px !important; color: var(--md-gold) !important; text-transform: uppercase; display: flex; align-items: center; gap: 12px; line-height: 1.25; border: none !important; }
.md-page-title > i { width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 17px; background: var(--md-gold-soft); border: 1px solid var(--md-gold-line); text-shadow: none; }
.md-page-sub { margin: 6px 0 0; color: var(--md-muted); font-size: 13px; max-width: 760px; }
.md-page-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* ---------- Título de seção (um formato só) ---------- */
.md-section { display: flex; align-items: center; gap: 10px; margin: 26px 0 12px; font-family: var(--md-font); font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--md-text); }
.md-section::before { content: ''; width: 4px; height: 16px; border-radius: 2px; background: var(--md-gold); }
.md-section:first-child { margin-top: 0; }

/* ---------- Card ---------- */
.md-card { background: rgba(2, 6, 23, .55); border: 1px solid var(--md-gold-line); border-radius: var(--md-r); padding: 18px; margin-bottom: 16px; }
.md-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin: -2px 0 14px; }
.md-card-title { margin: 0; display: flex; align-items: center; gap: 9px; font-family: var(--md-font); font-size: 15px; font-weight: 700; color: var(--md-text); letter-spacing: .2px; }
.md-card-title > i { color: var(--md-gold); width: 18px; text-align: center; }
.md-card-sub { color: var(--md-muted); font-size: 12.5px; margin: -8px 0 14px; }
.md-card-foot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--md-line-2); }
.md-card--gold { border-left: 3px solid var(--md-gold); }
.md-card--green { border-left: 3px solid var(--md-green); }
.md-card--red { border-left: 3px solid var(--md-red); }
.md-card--blue { border-left: 3px solid var(--md-blue); }

/* ---------- Grades (responsivas por classe, não por style="") ---------- */
.md-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); align-items: start; }
.md-grid-2 { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.md-grid-3 { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.md-grid-4 { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.md-span-all { grid-column: 1 / -1; }
.md-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.md-row--end { justify-content: flex-end; }
.md-row--between { justify-content: space-between; }
.md-stack > * + * { margin-top: 12px; }

/* ---------- Botões ---------- */
.md-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 8px 16px; border-radius: var(--md-r-sm); border: 1px solid var(--md-line); background: var(--md-bg-3); color: var(--md-text); font-family: var(--md-font); font-size: 13.5px; font-weight: 600; line-height: 1.2; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, filter .15s, transform .05s; -webkit-tap-highlight-color: transparent; }
.md-btn:hover { background: #273449; border-color: #475569; color: #fff; }
.md-btn:active { transform: translateY(1px); }
.md-btn:focus-visible { outline: 2px solid var(--md-gold); outline-offset: 2px; }
.md-btn:disabled, .md-btn.is-disabled { opacity: .45; cursor: not-allowed; transform: none; }
.md-btn--primary { background: linear-gradient(180deg, #fbbf24 0%, var(--md-gold) 45%, var(--md-gold-2) 100%); border-color: var(--md-gold); color: #1a1204; font-weight: 700; }
.md-btn--primary:hover { background: linear-gradient(180deg, #fcd34d 0%, #fbbf24 45%, var(--md-gold) 100%); border-color: #fbbf24; color: #1a1204; }
.md-btn--ghost { background: transparent; border-color: var(--md-line); color: var(--md-text-2); }
.md-btn--ghost:hover { background: rgba(148, 163, 184, .08); color: #fff; }
.md-btn--danger { background: var(--md-red); border-color: var(--md-red); color: #fff; }
.md-btn--danger:hover { background: #dc2626; border-color: #dc2626; color: #fff; }
.md-btn--danger-soft { background: var(--md-red-soft); border-color: rgba(239, 68, 68, .4); color: var(--md-red-txt); }
.md-btn--danger-soft:hover { background: rgba(239, 68, 68, .24); border-color: var(--md-red); color: #fff; }
.md-btn--success { background: var(--md-green); border-color: var(--md-green); color: #03281c; font-weight: 700; }
.md-btn--success:hover { background: #34d399; border-color: #34d399; color: #03281c; }
.md-btn--success-soft { background: var(--md-green-soft); border-color: rgba(16, 185, 129, .4); color: var(--md-green-txt); }
.md-btn--success-soft:hover { background: rgba(16, 185, 129, .24); border-color: var(--md-green); color: #fff; }
.md-btn--info-soft { background: var(--md-blue-soft); border-color: rgba(59, 130, 246, .4); color: var(--md-blue-txt); }
.md-btn--info-soft:hover { background: rgba(59, 130, 246, .24); border-color: var(--md-blue); color: #fff; }
.md-btn--sm { min-height: 32px; padding: 5px 11px; font-size: 12.5px; gap: 6px; }
.md-btn--lg { min-height: 46px; padding: 11px 22px; font-size: 14.5px; }
.md-btn--block { width: 100%; }
.md-btn--icon { width: 38px; padding: 0; }
.md-btn--icon.md-btn--sm { width: 32px; }
.md-btn.is-loading { pointer-events: none; opacity: .75; }
.md-btn.is-loading::before { content: ''; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: md-spin .7s linear infinite; }
.md-btn.is-loading > i { display: none; }
@keyframes md-spin { to { transform: rotate(360deg); } }

/* ---------- Campos ---------- */
.md-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.md-label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--md-text-2); letter-spacing: .2px; }
.md-label small, .md-label .md-count { font-weight: 400; color: var(--md-muted-2); font-size: 11.5px; }
.md-req { color: var(--md-gold); }
.md-hint { font-size: 12px; color: var(--md-muted-2); }
.md-msg { font-size: 12px; min-height: 16px; color: var(--md-muted); }
.md-msg.ok { color: #4ade80; } .md-msg.erro { color: #f87171; }
.md-input,
.md-modal .md-input { width: 100%; box-sizing: border-box; min-height: 40px; padding: 9px 12px !important; background: var(--md-bg-0) !important; border: 1px solid var(--md-line) !important; border-radius: var(--md-r-sm) !important; color: var(--md-text) !important; font-family: var(--md-font); font-size: 14px; transition: border-color .15s, box-shadow .15s; }
.md-input::placeholder { color: #475569; }
.md-input:focus { outline: none; border-color: var(--md-gold) !important; box-shadow: 0 0 0 3px rgba(245, 158, 11, .15) !important; }
.md-input:disabled, .md-input[readonly] { opacity: .6; cursor: not-allowed; }
textarea.md-input { min-height: 90px; resize: vertical; }
select.md-input { appearance: none; -webkit-appearance: none; padding-right: 34px !important; background-image: linear-gradient(45deg, transparent 50%, var(--md-muted) 50%), linear-gradient(135deg, var(--md-muted) 50%, transparent 50%) !important; background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50% !important; background-size: 5px 5px, 5px 5px !important; background-repeat: no-repeat !important; }
.md-input.is-valid { border-color: #22c55e !important; box-shadow: 0 0 0 3px rgba(34, 197, 94, .13) !important; }
.md-input.is-invalid { border-color: var(--md-red) !important; box-shadow: 0 0 0 3px rgba(239, 68, 68, .13) !important; }
.md-input--mono { font-family: var(--md-mono); letter-spacing: .5px; }
.md-input-group { display: flex; align-items: stretch; }
.md-input-group .md-input { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; }
.md-input-group .md-btn { border-top-left-radius: 0; border-bottom-left-radius: 0; margin-left: -1px; }

/* Interruptor único (substitui toggle-switch, .toggle, .sv-sw, checkbox nativo) */
.md-switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; user-select: none; color: var(--md-text-2); font-size: 14px; line-height: 1.35; }
.md-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.md-switch .md-switch-ui { position: relative; flex-shrink: 0; width: 44px; height: 24px; border-radius: 999px; background: #334155; border: 1px solid #475569; transition: background .2s, border-color .2s; }
.md-switch .md-switch-ui::after { content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #e2e8f0; box-shadow: 0 1px 3px rgba(0, 0, 0, .4); transition: transform .2s; }
.md-switch input:checked + .md-switch-ui { background: var(--md-gold); border-color: var(--md-gold); }
.md-switch input:checked + .md-switch-ui::after { transform: translateX(20px); background: #1a1204; }
.md-switch input:focus-visible + .md-switch-ui { outline: 2px solid var(--md-gold); outline-offset: 2px; }
.md-switch input:disabled + .md-switch-ui { opacity: .5; }

/* Checkbox/radio no tema */
.md-check { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; color: var(--md-text-2); font-size: 14px; }
.md-check input { accent-color: var(--md-gold); width: 18px; height: 18px; margin: 0; }

/* ---------- Avisos (callout) ---------- */
.md-alert { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: var(--md-r-sm); border: 1px solid var(--md-line); border-left-width: 3px; background: rgba(15, 23, 42, .7); color: var(--md-text-2); font-size: 13px; line-height: 1.55; margin-bottom: 16px; }
.md-alert > i { margin-top: 2px; font-size: 15px; flex-shrink: 0; }
.md-alert--info { border-color: rgba(59, 130, 246, .35); border-left-color: var(--md-blue); background: rgba(59, 130, 246, .07); } .md-alert--info > i { color: var(--md-blue-txt); }
.md-alert--success { border-color: rgba(16, 185, 129, .35); border-left-color: var(--md-green); background: rgba(16, 185, 129, .07); } .md-alert--success > i { color: var(--md-green-txt); }
.md-alert--warning { border-color: var(--md-gold-line); border-left-color: var(--md-gold); background: rgba(245, 158, 11, .07); } .md-alert--warning > i { color: var(--md-yellow-txt); }
.md-alert--danger { border-color: rgba(239, 68, 68, .35); border-left-color: var(--md-red); background: rgba(239, 68, 68, .07); } .md-alert--danger > i { color: var(--md-red-txt); }

/* ---------- Selos / status (um mapa só) ---------- */
.md-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: var(--md-r-pill); font-size: 11.5px; font-weight: 700; line-height: 1.3; white-space: nowrap; border: 1px solid transparent; background: rgba(148, 163, 184, .14); color: var(--md-text-2); }
.md-badge--success { background: var(--md-green-soft); color: var(--md-green-txt); border-color: rgba(16, 185, 129, .3); }
.md-badge--warning { background: rgba(245, 158, 11, .14); color: var(--md-yellow-txt); border-color: rgba(245, 158, 11, .3); }
.md-badge--danger { background: var(--md-red-soft); color: var(--md-red-txt); border-color: rgba(239, 68, 68, .3); }
.md-badge--info { background: var(--md-blue-soft); color: var(--md-blue-txt); border-color: rgba(59, 130, 246, .3); }
.md-badge--purple { background: var(--md-purple-soft); color: var(--md-purple-txt); border-color: rgba(168, 85, 247, .3); }
.md-badge--gold { background: linear-gradient(180deg, #fbbf24, var(--md-gold-2)); color: #1a1204; }
.md-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; }
.md-dot--pulse { box-shadow: 0 0 0 0 currentColor; animation: md-pulse 1.8s infinite; }
@keyframes md-pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); } 70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

/* ---------- Indicadores (KPI) ---------- */
.md-kpis { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-bottom: 18px; }
.md-kpi { background: rgba(2, 6, 23, .55); border: 1px solid var(--md-gold-line); border-radius: var(--md-r); padding: 14px 16px; min-width: 0; }
.md-kpi-label { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--md-muted); display: flex; align-items: center; gap: 7px; }
.md-kpi-value { font-family: var(--md-font-num); font-size: 22px; font-weight: 700; color: var(--md-text); margin-top: 6px; line-height: 1.15; overflow-wrap: anywhere; }
.md-kpi-sub { font-size: 12px; color: var(--md-muted-2); margin-top: 4px; }
.md-kpi--gold .md-kpi-value { color: var(--md-gold); }
.md-kpi--green .md-kpi-value { color: #34d399; }
.md-kpi--red .md-kpi-value { color: #f87171; }
.md-kpi--blue .md-kpi-value { color: #60a5fa; }
.md-kpi--purple .md-kpi-value { color: #c084fc; }

/* ---------- Tabela ---------- */
.md-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--md-line-2); border-radius: var(--md-r-sm); }
.md-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.md-table th { text-align: left; padding: 11px 12px; background: rgba(245, 158, 11, .08); color: var(--md-gold); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .7px; border-bottom: 1px solid var(--md-gold-line); white-space: nowrap; }
.md-table td { padding: 11px 12px; border-bottom: 1px solid var(--md-line-2); color: var(--md-text-2); vertical-align: middle; }
.md-table tbody tr:last-child td { border-bottom: none; }
.md-table tbody tr:hover td { background: rgba(255, 255, 255, .025); }
.md-table .md-td-actions { text-align: right; white-space: nowrap; }
.md-table .md-td-actions .md-btn + .md-btn { margin-left: 6px; }
.md-table .md-td-sub { display: block; font-size: 11.5px; color: var(--md-muted-2); margin-top: 2px; }
.md-table tr.is-muted td { opacity: .55; }
.md-table-empty td { text-align: center; color: var(--md-muted); padding: 26px 12px !important; }

/* ---------- Abas ---------- */
.md-tabs { display: flex; gap: 4px; padding: 4px; margin-bottom: 18px; background: rgba(2, 6, 23, .6); border: 1px solid var(--md-line-2); border-radius: 10px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.md-tabs::-webkit-scrollbar { display: none; }
.md-tab { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: none; border-radius: 7px; background: transparent; color: var(--md-muted); font-family: var(--md-font); font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
.md-tab:hover { color: #fff; background: rgba(148, 163, 184, .08); }
.md-tab.is-active { background: var(--md-gold-soft); color: var(--md-gold); box-shadow: inset 0 0 0 1px var(--md-gold-line); }
.md-tab .md-badge { padding: 1px 7px; font-size: 10.5px; }
.md-tab-panel { display: none; }
.md-tab-panel.is-active { display: block; }

/* ---------- Barra de filtros ---------- */
.md-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-bottom: 14px; }
.md-toolbar .md-field { flex: 1 1 180px; }
.md-toolbar .md-field--grow { flex: 3 1 260px; }

/* ---------- Paginação ---------- */
.md-pager { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; margin-top: 16px; }
.md-pager .md-btn { min-width: 36px; min-height: 34px; padding: 5px 10px; font-size: 13px; }
.md-pager .md-btn.is-active { background: var(--md-gold-soft); border-color: var(--md-gold); color: var(--md-gold); }
.md-pager-info { color: var(--md-muted); font-size: 12.5px; margin: 0 6px; }

/* ---------- Vazio / carregando ---------- */
.md-empty { text-align: center; padding: 30px 16px; color: var(--md-muted); font-size: 13.5px; }
.md-empty > i { display: block; font-size: 28px; color: #475569; margin-bottom: 10px; }
.md-spinner { display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--md-gold); border-right-color: transparent; animation: md-spin .7s linear infinite; vertical-align: middle; }

/* ---------- Lista chave/valor (detalhe de pedido etc.) ---------- */
.md-kv { display: grid; grid-template-columns: minmax(110px, 38%) 1fr; gap: 0; font-size: 13.5px; }
.md-kv > dt, .md-kv > dd { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--md-line-2); }
.md-kv > dt { color: var(--md-muted); }
.md-kv > dd { color: var(--md-text); overflow-wrap: anywhere; }

/* ---------- Modal único ---------- */
.md-modal { position: fixed; inset: 0; z-index: 2150; display: none; align-items: center; justify-content: center; padding: 18px; background: rgba(0, 0, 0, .72); backdrop-filter: blur(3px); }
.md-modal.is-open { display: flex; animation: md-fade .15s ease; }
.md-modal-box { width: 100%; max-width: 560px; max-height: calc(100vh - 36px); display: flex; flex-direction: column; background: var(--md-bg-1); border: 1px solid var(--md-gold-line); border-top: 2px solid var(--md-gold); border-radius: 14px; box-shadow: var(--md-shadow); animation: md-rise .18s ease; }
.md-modal--sm .md-modal-box { max-width: 420px; }
.md-modal--lg .md-modal-box { max-width: 780px; }
.md-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--md-line-2); }
.md-modal-title { margin: 0; display: flex; align-items: center; gap: 10px; font-family: var(--md-font); font-size: 16px; font-weight: 700; color: var(--md-text); }
.md-modal-title > i { color: var(--md-gold); }
.md-modal-close { width: 34px; height: 34px; flex-shrink: 0; border-radius: 8px; border: 1px solid var(--md-line); background: transparent; color: var(--md-muted); cursor: pointer; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; }
.md-modal-close:hover { color: #fff; border-color: #475569; background: rgba(148, 163, 184, .08); }
.md-modal-body { padding: 18px; overflow-y: auto; -webkit-overflow-scrolling: touch; color: var(--md-text-2); font-size: 14px; }
.md-modal-foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 14px 18px; border-top: 1px solid var(--md-line-2); background: rgba(2, 6, 23, .35); border-radius: 0 0 14px 14px; }
body.md-modal-open { overflow: hidden; }
@keyframes md-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes md-rise { from { transform: translateY(12px); opacity: .6; } to { transform: none; opacity: 1; } }

/* ---------- Toast ---------- */
.md-toasts { position: fixed; z-index: 3100; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; width: min(420px, calc(100vw - 24px)); pointer-events: none; }
.md-toast { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 10px; background: rgba(11, 17, 33, .97); border: 1px solid var(--md-line); border-left: 3px solid var(--md-gold); color: var(--md-text); font-size: 13.5px; box-shadow: var(--md-shadow); pointer-events: auto; animation: md-rise .18s ease; }
.md-toast > i { margin-top: 2px; color: var(--md-gold); }
.md-toast--success { border-left-color: var(--md-green); } .md-toast--success > i { color: #34d399; }
.md-toast--error { border-left-color: var(--md-red); } .md-toast--error > i { color: #f87171; }
.md-toast--info { border-left-color: var(--md-blue); } .md-toast--info > i { color: #60a5fa; }
.md-toast.is-out { opacity: 0; transform: translateY(8px); transition: all .2s; }

/* ---------- Extras (sugestões da migração) ---------- */
.md-hidden, [hidden] { display: none !important; }
input[type="color"].md-input--color, .md-input--color { width: 56px; min-height: 40px; padding: 4px !important; background: var(--md-bg-0) !important; border: 1px solid var(--md-line) !important; border-radius: var(--md-r-sm) !important; cursor: pointer; }
.md-card ol, .md-card ul, .md-alert ul { margin: 8px 0; padding-left: 20px; }
.md-card li, .md-alert li { margin: 4px 0; }
.md-thumb { width: 44px; height: 44px; flex-shrink: 0; object-fit: contain; background: var(--md-bg-0); border: 1px solid var(--md-line); border-radius: var(--md-r-sm); padding: 3px; box-sizing: border-box; }
.md-thumb--lg { width: 72px; height: 72px; }
.md-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--md-line-2); border-radius: var(--md-r-sm); }
.md-list-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--md-line-2); }
.md-list-item:last-child { border-bottom: none; }
.md-input--accent { border-color: var(--md-gold) !important; box-shadow: 0 0 0 3px rgba(245, 158, 11, .1) !important; }
.md-table tr.is-clickable, .md-table tr[onclick] { cursor: pointer; }
.md-text-success { color: #34d399 !important; } .md-text-danger { color: #f87171 !important; }
.md-text-warning { color: var(--md-yellow-txt) !important; } .md-text-info { color: #60a5fa !important; } .md-text-gold { color: var(--md-gold) !important; }
.md-toast--warning { border-left-color: var(--md-gold); } .md-toast--warning > i { color: var(--md-yellow-txt); }
.md-progress { height: 8px; border-radius: 999px; background: var(--md-bg-3); overflow: hidden; }
.md-progress > span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--md-gold-2), #fbbf24); transition: width .3s; }
.md-kpi--click { cursor: pointer; transition: border-color .15s, background .15s; }
.md-kpi--click:hover { border-color: rgba(245, 158, 11, .45); }
.md-kpi--click.is-active { border-color: var(--md-gold); background: var(--md-gold-soft); }
.md-narrow { max-width: 720px; }
.md-thumb--cover { width: 100%; height: 130px; object-fit: cover; padding: 0; }
.md-kpi--warning .md-kpi-value { color: var(--md-yellow-txt); }
.md-card, .md-grid > *, .md-grid-2 > *, .md-grid-3 > *, .md-grid-4 > *, .md-tab-panel { min-width: 0; }
.md-table-wrap { max-width: 100%; }

/* =====================================================================
   IDENTIDADE DO SITE — o kit md- com a cara que o site já tem
   (caixa de vidro .elite-box, título Cinzel dourado .elite-title, botão âmbar 3D)
   ===================================================================== */
:root { --md-font: Calibri, 'Segoe UI', Arial, sans-serif; --md-font-btn: 'Orbitron', var(--md-font); }

/* Fonte: o site mantém a fonte ORIGINAL (Calibri no texto, Cinzel no .elite-title, Orbitron no menu/botões).
   Tentativa de trocar o texto por system-ui (23/09) foi DESFEITA: é mais larga e quebrava as linhas das caixas estreitas
   da lateral (ex.: "Dinâmica 120x ~ 30x"). Só os ícones são garantidos aqui. */
.fas, .far, .fa-solid, .fa-regular { font-family: "Font Awesome 6 Free" !important; }
.fab, .fa-brands { font-family: "Font Awesome 6 Brands" !important; }
i.icon, .ui .icon { font-family: Icons !important; }

/* Título da PÁGINA (um formato só: o da home/info/cadastro) */
.md-page-head { display: block; text-align: center; margin: 0 0 24px; padding: 0 0 14px; border-bottom: 1px solid var(--md-gold-line); }
.md-page-title { justify-content: center; margin: 0 !important; font-size: 26px !important; font-weight: 900; letter-spacing: 3px !important; color: var(--md-gold) !important; text-shadow: 0 0 15px rgba(245, 158, 11, .3) !important; border: none !important; padding: 0 !important; }
.md-page-title > i { width: auto; height: auto; background: none; border: none; font-size: .85em; }
.md-page-sub { margin: 8px auto 0; text-align: center; }
.md-page-actions { justify-content: center; margin-top: 14px; }

/* Título de SEÇÃO (a barra da home, em um só formato) */
.md-section { margin: 30px 0 14px; padding: 12px 16px; border-radius: var(--md-r-sm); background: linear-gradient(90deg, rgba(30, 27, 75, .55), rgba(2, 6, 23, .6)); border: 1px solid var(--md-gold-line); border-left: 3px solid var(--md-gold); font-size: 15px !important; letter-spacing: 2px !important; color: var(--md-gold) !important; text-shadow: 0 0 10px rgba(245, 158, 11, .25) !important; }
.md-section::before { display: none; }
.md-section > i { color: var(--md-gold); }
.md-section-link { margin-left: auto; font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--md-yellow-txt) !important; text-shadow: none; }

/* CAIXA = .elite-box (vidro, canto 4px, borda dourada suave) */
.md-card { background: rgba(15, 23, 42, .6); border: 1px solid var(--md-gold-line); border-radius: var(--md-r-sm); padding: 22px; margin-bottom: 20px; box-shadow: 0 5px 15px rgba(0, 0, 0, .4); color: var(--md-text-2); }
.md-card-head { justify-content: center; }
.md-card-title { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin: 0 0 15px !important; padding-bottom: 8px; border-bottom: 1px solid var(--md-gold-line); font-size: 14px !important; font-weight: 700; letter-spacing: 2px !important; text-transform: uppercase !important; text-align: center; color: var(--md-gold) !important; text-shadow: 0 0 10px rgba(245, 158, 11, .4) !important; }
.md-card-head .md-card-title { margin: 0 !important; }
.md-card-title > i { color: var(--md-gold); }
.md-card--gold { border-color: var(--md-gold); box-shadow: 0 0 0 1px rgba(245, 158, 11, .15), 0 5px 15px rgba(0, 0, 0, .4); }

/* BOTÕES: primário = .elite-button-primary (âmbar 3D, Orbitron); o resto no mesmo formato */
.md-btn { border-radius: var(--md-r-sm); font-size: 12.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; min-height: 40px; }
.md-btn--primary { background: linear-gradient(135deg, var(--md-gold-2) 0%, #92400e 100%); border: 1px solid var(--md-gold); color: #fff; font-weight: 900; letter-spacing: 1.5px; box-shadow: 0 4px 0 #451a03, 0 8px 15px rgba(0, 0, 0, .4); }
.md-btn--primary:hover { background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%); border-color: #fbbf24; color: #fff; transform: translateY(-2px); box-shadow: 0 6px 0 #451a03, 0 12px 20px rgba(245, 158, 11, .35); }
.md-btn--primary:active { transform: translateY(2px); box-shadow: none; }
.md-btn--sm { font-size: 11px; min-height: 32px; }
.md-btn--lg { font-size: 14px; min-height: 48px; }

/* Tabela: cabeçalho dourado (igual .elite-table) */
.md-table th { font-family: var(--md-font-btn) !important; font-size: 11px; letter-spacing: 1px; background: rgba(245, 158, 11, .08); }
.md-table-wrap { border-color: var(--md-gold-line); }

/* Modal do kit no site */
.md-modal-title { color: var(--md-gold) !important; text-transform: uppercase; letter-spacing: 1.5px; font-size: 15px; }

/* =====================================================================
   PONTE COM O LEGADO — componentes antigos (Semantic e classes soltas)
   já herdam o padrão enquanto as páginas não são refeitas.
   ===================================================================== */
section .ui.button, .ui.modal .ui.button { border-radius: var(--md-r-sm) !important; }
section .ui.primary.button, section .ui.orange.button, section .ui.yellow.button, section .ui.blue.button,
.ui.modal .ui.primary.button, .ui.modal .ui.orange.button, .ui.modal .ui.yellow.button, .ui.modal .ui.blue.button { background: linear-gradient(135deg, var(--md-gold-2) 0%, #92400e 100%) !important; color: #fff !important; border: 1px solid var(--md-gold) !important; box-shadow: 0 3px 0 #451a03 !important; }
section .ui.green.button, .ui.modal .ui.green.button { background: var(--md-green) !important; color: #03281c !important; }
section .ui.red.button, .ui.modal .ui.red.button { background: var(--md-red) !important; color: #fff !important; }
section .ui.basic.button, .ui.modal .ui.basic.button { background: transparent !important; box-shadow: inset 0 0 0 1px var(--md-line) !important; color: var(--md-text-2) !important; }
section .ui.red.basic.button, .ui.modal .ui.red.basic.button { box-shadow: inset 0 0 0 1px rgba(239, 68, 68, .5) !important; color: var(--md-red-txt) !important; }

/* campos: todos iguais (o do login da lateral) */
section input[type="text"], section input[type="password"], section input[type="email"], section input[type="number"], section input[type="search"], section input[type="tel"], section input[type="date"], section select, section textarea,
.ui.modal input[type="text"], .ui.modal input[type="password"], .ui.modal input[type="email"], .ui.modal input[type="number"], .ui.modal select, .ui.modal textarea {
    background: rgba(2, 6, 23, .75) !important; color: var(--md-text) !important; border: 1px solid rgba(245, 158, 11, .25) !important; border-radius: var(--md-r-sm) !important; }
section input:focus, section select:focus, section textarea:focus, .ui.modal input:focus, .ui.modal textarea:focus {
    border-color: var(--md-gold) !important; box-shadow: 0 0 0 3px rgba(245, 158, 11, .15) !important; outline: none; }
section input::placeholder, .ui.modal input::placeholder, section textarea::placeholder { color: #64748b !important; }

/* janelas Semantic: todas no tema dourado (tinha azul, dourado e basic misturados) */
.ui.modal:not(.basic) { background: #0b1121 !important; border: 1px solid var(--md-gold-line) !important; border-top: 2px solid var(--md-gold) !important; border-radius: var(--md-r) !important; color: var(--md-text-2) !important; box-shadow: 0 20px 50px rgba(0, 0, 0, .7) !important; }
.ui.modal:not(.basic) > .header { background: rgba(2, 6, 23, .6) !important; color: var(--md-gold) !important; border-bottom: 1px solid var(--md-gold-line) !important; text-transform: uppercase; letter-spacing: 1.5px; font-size: 17px !important; }
.ui.modal:not(.basic) > .content { background: transparent !important; color: var(--md-text-2) !important; }
.ui.modal:not(.basic) > .actions { background: rgba(2, 6, 23, .4) !important; border-top: 1px solid var(--md-gold-line) !important; }

/* tabelas Semantic e antigas: cabeçalho dourado */
section .ui.table, section table.elite-table, section table.ranking-table { background: transparent !important; color: var(--md-text-2) !important; border-color: var(--md-line-2) !important; }
section .ui.table thead th, section table.elite-table th, section table.ranking-table th { background: rgba(245, 158, 11, .08) !important; color: var(--md-gold) !important; border-color: var(--md-gold-line) !important; }
section .ui.table td { border-color: var(--md-line-2) !important; }

/* mensagens Semantic = md-alert */
section .ui.message, .ui.modal .ui.message { background: rgba(15, 23, 42, .7) !important; color: var(--md-text-2) !important; box-shadow: none !important; border: 1px solid var(--md-line) !important; border-left: 3px solid var(--md-blue) !important; border-radius: var(--md-r-sm) !important; }
section .ui.error.message, section .ui.negative.message, .ui.modal .ui.error.message, .ui.modal .ui.negative.message { border-color: rgba(239, 68, 68, .35) !important; border-left-color: var(--md-red) !important; background: rgba(239, 68, 68, .08) !important; color: var(--md-red-txt) !important; }
section .ui.success.message, section .ui.positive.message, .ui.modal .ui.success.message, .ui.modal .ui.positive.message { border-color: rgba(16, 185, 129, .35) !important; border-left-color: var(--md-green) !important; background: rgba(16, 185, 129, .08) !important; color: var(--md-green-txt) !important; }
section .ui.warning.message, .ui.modal .ui.warning.message { border-color: var(--md-gold-line) !important; border-left-color: var(--md-gold) !important; background: rgba(245, 158, 11, .08) !important; color: var(--md-yellow-txt) !important; }
section .ui.message .header, .ui.modal .ui.message .header { color: inherit !important; }

/* SweetAlert2 (loja/market) no tema */
.swal2-popup { background: #0b1121 !important; color: var(--md-text-2) !important; border: 1px solid var(--md-gold-line) !important; border-top: 2px solid var(--md-gold) !important; border-radius: var(--md-r) !important; }
.swal2-title { color: var(--md-gold) !important; font-family: var(--md-font-title) !important; }
.swal2-html-container { color: var(--md-text-2) !important; }
.swal2-styled.swal2-confirm { background: linear-gradient(135deg, var(--md-gold-2), #92400e) !important; border: 1px solid var(--md-gold) !important; color: #fff !important; border-radius: var(--md-r-sm) !important; box-shadow: none !important; font-family: var(--md-font-btn) !important; text-transform: uppercase; font-size: 13px !important; }
.swal2-styled.swal2-cancel, .swal2-styled.swal2-deny { background: var(--md-bg-3) !important; border: 1px solid var(--md-line) !important; color: var(--md-text) !important; border-radius: var(--md-r-sm) !important; box-shadow: none !important; font-family: var(--md-font-btn) !important; text-transform: uppercase; font-size: 13px !important; }

/* =====================================================================
   CELULAR
   ===================================================================== */
@media (max-width: 1000px) {
    .md-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .md-page-title { font-size: 21px !important; letter-spacing: 2px !important; }
    .md-card { padding: 16px; }
    .md-grid, .md-grid-2, .md-grid-3, .md-grid-4 { grid-template-columns: 1fr; }
    .md-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .md-btn { min-height: 44px; }
    .md-card-foot > .md-btn, .md-row--stack > .md-btn { flex: 1 1 140px; }
    .md-input, section input, section select, section textarea, .ui.modal input, .ui.modal textarea { font-size: 16px !important; }
    .md-hide-mobile { display: none !important; }
    .md-table-wrap.md-stack-mobile { border: none; overflow: visible; }
    .md-stack-mobile table.md-table { display: block; }
    .md-stack-mobile .md-table thead { display: none; }
    .md-stack-mobile .md-table tbody { display: flex; flex-direction: column; gap: 10px; }
    .md-stack-mobile .md-table tr { display: block; background: rgba(2, 6, 23, .55); border: 1px solid var(--md-line-2); border-radius: var(--md-r); padding: 6px 14px; }
    .md-stack-mobile .md-table td { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--md-line-2); text-align: right; }
    .md-stack-mobile .md-table td:last-child { border-bottom: none; }
    .md-stack-mobile .md-table td::before { content: attr(data-label); flex-shrink: 0; text-align: left; color: var(--md-muted); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; }
    .md-stack-mobile .md-table td[data-label=""]::before, .md-stack-mobile .md-table-empty td::before { display: none; }
    .md-stack-mobile .md-table td.md-td-actions { justify-content: stretch; gap: 8px; padding-top: 12px; }
    .md-stack-mobile .md-table td.md-td-actions .md-btn { flex: 1 1 0; margin: 0; }
    .md-stack-mobile .md-table td.md-td-main { display: block; text-align: left; font-size: 15px; padding-top: 10px; }
    .md-stack-mobile .md-table td.md-td-main::before { display: none; }
    .md-modal { align-items: flex-end; padding: 0; }
    .md-modal-box, .md-modal--sm .md-modal-box, .md-modal--lg .md-modal-box { max-width: none; max-height: 92vh; border-radius: 16px 16px 0 0; animation: md-sheet .22s ease; }
    .md-modal-foot { border-radius: 0; padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
    .md-modal-foot > .md-btn { flex: 1 1 0; }
    .md-toasts { bottom: calc(14px + env(safe-area-inset-bottom)); }
}
@keyframes md-sheet { from { transform: translateY(40%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .md-modal.is-open, .md-modal-box, .md-toast, .md-dot--pulse { animation: none !important; } }

/* =====================================================================
   GUIAS (guia.php) — menu lateral de categorias organizado (2026-09-23)
   Coluna do menu com largura fixa (260px) em vez da "four wide" do Semantic
   (~190px, que quebrava "Como Começar a Jogar" em 2 linhas e cortava a busca).
   No celular (≤768) vira uma lista-acordeão de toque confortável (44px).
   ===================================================================== */
.guia-layout.ui.grid { display: grid !important; grid-template-columns: 270px minmax(0, 1fr); gap: 20px; margin: 0 !important; }
.guia-layout.ui.grid > .column { width: auto !important; padding: 0 !important; margin: 0 !important; min-width: 0; box-shadow: none !important; }
.guide-sidebar.elite-box, .guide-sidebar { padding: 0 !important; background: rgba(15, 23, 42, .6); border: 1px solid var(--md-gold-line); border-radius: var(--md-r-sm); backdrop-filter: blur(5px); overflow: hidden; }
.guide-sidebar-head { display: flex; align-items: center; gap: 9px; padding: 14px 16px; border-bottom: 1px solid var(--md-gold-line); color: var(--md-gold); font-family: var(--md-font-btn); font-size: 12px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; }
.guide-busca { padding: 12px 12px 10px; border-bottom: 1px solid var(--md-line-2); }
.guide-busca-campo { position: relative; }
.guide-busca-campo > .fa-search { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: #64748b; font-size: 12px; pointer-events: none; }
section .guide-busca #guide-search { width: 100%; box-sizing: border-box; padding: 9px 30px 9px 32px !important; font-size: 13.5px; min-height: 38px; }
#guide-search-clear { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: none; color: #64748b; cursor: pointer; font-size: 16px; padding: 4px 6px; line-height: 1; }
#guide-search-clear:hover { color: #fff; }
#guide-search-status { margin-top: 7px; font-size: 11.5px; color: #64748b; }
/* categoria */
.guide-cat-item { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 14px 10px 13px; border-left: 3px solid transparent; border-bottom: 1px solid var(--md-line-2); color: var(--md-text-2); font-size: 14px; font-weight: 600; cursor: pointer; user-select: none; transition: background .15s, color .15s, border-color .15s; -webkit-tap-highlight-color: transparent; }
.guide-cat-item:hover { background: rgba(245, 158, 11, .06); color: #fff; }
.guide-cat-item:focus-visible { outline: 2px solid var(--md-gold); outline-offset: -2px; }
.guide-cat-item.active { background: var(--md-gold-soft); color: var(--md-gold); border-left-color: var(--md-gold); }
.guide-cat-ic { width: 18px; flex-shrink: 0; text-align: center; color: var(--md-gold); font-size: 14px; }
.guide-cat-nome { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guide-cat-qtd { flex-shrink: 0; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: rgba(148, 163, 184, .12); color: var(--md-muted); font-size: 11px; font-weight: 700; text-align: center; }
.guide-cat-item.active .guide-cat-qtd { background: rgba(245, 158, 11, .18); color: var(--md-yellow-txt); }
.guide-cat-seta { flex-shrink: 0; width: 12px; margin-left: 2px; font-size: 10px; color: var(--md-muted); text-align: center; transition: transform .2s; }
.guide-cat-item.active .guide-cat-seta { transform: rotate(180deg); color: var(--md-gold); }
/* guias dentro da categoria (indentação única: alinhada ao texto da categoria) */
.guide-list { display: none; margin: 0; padding: 4px 0; background: rgba(2, 6, 23, .45); border-bottom: 1px solid var(--md-line-2); }
#guide-menu-container .guide-link { position: relative; display: block; padding: 8px 14px 8px 44px; color: var(--md-text-2); font-size: 13px; line-height: 1.35; white-space: normal; overflow-wrap: anywhere; cursor: pointer; border: none; transition: background .15s, color .15s; }
#guide-menu-container .guide-link::before { content: ''; position: absolute; left: 30px; top: calc(8px + .675em - 2.5px); width: 5px; height: 5px; border-radius: 50%; background: #475569; transition: background .15s; }
#guide-menu-container .guide-link:hover { background: rgba(245, 158, 11, .06); color: #fff; }
#guide-menu-container .guide-link:hover::before { background: var(--md-gold); }
#guide-menu-container .guide-link.is-active { color: var(--md-gold); background: rgba(245, 158, 11, .1); font-weight: 600; }
#guide-menu-container .guide-link.is-active::before { background: var(--md-gold); box-shadow: 0 0 6px rgba(245, 158, 11, .7); }
@media (max-width: 1000px) { .guia-layout.ui.grid { grid-template-columns: 240px minmax(0, 1fr); gap: 16px; } }
@media (max-width: 768px) {
    .guia-layout.ui.grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .guide-sidebar { position: static; }
    .guide-cat-item { min-height: 48px; font-size: 15px; }
    #guide-menu-container .guide-link { padding-top: 11px; padding-bottom: 11px; font-size: 14px; }
    #guide-menu-container .guide-link::before { top: calc(11px + .675em - 2.5px); }
}

/* =====================================================================
   correções P0 (2026-09-23)
   ===================================================================== */
/* d) Menu no TABLET (769–1000px): o nav tinha width 960px fixo (style.css) e só era
      liberado em ≤768, então ficava cortado/rolando de lado. Aqui ele acompanha a
      largura da seção e os links encolhem; se ainda não couber, rola sem barra.
      Desktop ≥1001 e celular ≤768 não são tocados. */
@media (min-width: 769px) and (max-width: 1000px) {
    /* .all é display:table no desktop: no tablet a tabela crescia com o conteúdo largo
       (ex.: faixa de screenshots da home, ~4.800px) e a página rolava de lado. */
    .all { display: block !important; }
    nav { width: 100% !important; left: 0; right: 0; box-sizing: border-box; padding: 0 12px; }
    nav div { gap: clamp(10px, 1.6vw, 18px) !important; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
    nav div::-webkit-scrollbar { display: none; }
    /* centralizado quando cabe; quando não cabe, começa do "Home" (center puro cortava o início) */
    nav div { justify-content: flex-start !important; }
    nav div > a:first-child { margin-left: auto; }
    nav div > a:last-child { margin-right: auto; }
    nav a { flex: 0 0 auto; white-space: nowrap; font-size: 11.5px !important; letter-spacing: .5px; }
}

/* =====================================================================
   painel do jogador (2026-09-23)
   painel.php, painel-personagens.php, painel-tickets.php, painel-discord.php,
   dragon-market.php e compras.php. Prefixo mdp- (só estas telas).
   Templates: assets/templates/painel/*.html
   ===================================================================== */

/* títulos de caixa no Cinzel dourado (mesma cara do .elite-title, sem a regra de celular que o inflava pra 24px) */
.mdp .md-card-title, #shop-flow .md-card-title, .guia-moedas .md-card-title, .md-player-menu .mdp-menu-title { font-family: var(--md-font-title) !important; }
.md-table .md-right, .md-table th.right.aligned, .md-table td.right.aligned { text-align: right; }
.arrow-icon { transition: transform .25s; }
.arrow-icon.rotated { transform: rotate(180deg); }
.mdp-modal-x { position: absolute; top: 10px; right: 10px; z-index: 3; }
.ui.modal > .header > i.fas { color: var(--md-gold); margin-right: 6px; }

/* ---------- menu do jogador (user_sidebar.html) ---------- */
.md-player-menu { padding: 16px !important; }
.md-player-menu .mdp-menu-title { display: flex; align-items: center; gap: 8px; margin: 4px 0 12px !important; padding: 0 0 8px !important; border: none !important; border-bottom: 1px solid var(--md-gold-line) !important; font-size: 13px !important; font-weight: 700; letter-spacing: 2px !important; text-transform: uppercase; color: var(--md-gold) !important; text-shadow: 0 0 10px rgba(245, 158, 11, .3) !important; line-height: 1.3; }
.md-player-menu .mdp-menu + .mdp-menu-title { margin-top: 20px !important; }
.mdp-menu { display: flex; flex-direction: column; gap: 6px; }
.mdp-menu-item { display: flex; align-items: center; gap: 11px; min-height: 44px; padding: 10px 14px; border-radius: var(--md-r-sm); border: 1px solid var(--md-line-2); border-left: 3px solid transparent; background: rgba(2, 6, 23, .45); color: var(--md-text-2) !important; font-size: 15px; font-weight: 600; line-height: 1.25; text-decoration: none !important; transition: background .15s, border-color .15s, color .15s; -webkit-tap-highlight-color: transparent; }
.mdp-menu-item > i { width: 18px; flex-shrink: 0; text-align: center; color: var(--md-gold); font-size: 14px; }
.mdp-menu-item > span:first-of-type { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mdp-menu-item:hover { background: rgba(245, 158, 11, .07); border-color: var(--md-gold-line); color: #fff !important; }
.mdp-menu-item.is-active { background: var(--md-gold-soft); border-color: var(--md-gold-line); border-left-color: var(--md-gold); color: var(--md-gold) !important; }
.mdp-menu-item .md-badge { flex-shrink: 0; padding: 1px 7px; font-size: 10.5px; }
.md-player-menu .mdp-menu-sair { margin-top: 18px; }
.md-player-menu .mdp-menu-admin { margin-top: 10px; }

/* ---------- Minha Conta (principal.html) ---------- */
.mdp-dados { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2fr) minmax(0, .9fr); gap: 14px 18px; margin: 0; }
.mdp-dado { min-width: 0; }
.mdp-dado dt { margin: 0 0 6px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--md-muted); white-space: nowrap; }
.mdp-dado dd { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--md-text); overflow-wrap: anywhere; }
.mdp-dado--email dd { font-size: 15px; }
.mdp-dado dd.mdp-dado-forte { font-size: 18px; font-weight: 800; }
.mdp-linha-acao { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--md-line-2); font-size: 13px; }
.mdp-vip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 16px; padding: 14px 16px; border-radius: var(--md-r-sm); border: 1px solid var(--md-line-2); border-left: 3px solid var(--md-muted-2); background: rgba(2, 6, 23, .45); }
.mdp-vip--on { border-left-color: var(--md-gold); }
.mdp-vip-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 13px; }
.mdp-vip-txt > b { color: var(--md-text); font-size: 14px; text-transform: uppercase; letter-spacing: .5px; }
.mdp-vip--on .mdp-vip-txt > b > i { color: var(--md-gold); margin-right: 4px; }
.mdp-kpis { margin-bottom: 0; }
.mdp-kpis .md-kpi:only-child { grid-column: 1 / -1; }
.mdp-kpis .md-kpi { text-align: center; }
.mdp-kpis .md-kpi-label { justify-content: center; white-space: nowrap; }
.mdp #section-purchases { margin-top: 30px; }
.mdp .md-section-link { color: var(--md-muted) !important; text-transform: none; letter-spacing: 0; font-weight: 400; }

/* ---------- Meus Personagens (personagens.html) ---------- */
.mdp-char { margin-bottom: 18px; border: 1px solid var(--md-gold-line); border-left: 3px solid var(--md-gold); border-radius: var(--md-r-sm); background: linear-gradient(145deg, rgba(15, 23, 42, .8) 0%, rgba(2, 6, 23, .95) 100%); box-shadow: 0 10px 25px rgba(0, 0, 0, .45); overflow: hidden; }
.mdp-char-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; cursor: pointer; background: rgba(15, 23, 42, .6); border-bottom: 1px solid var(--md-line-2); }
.mdp-char-head:hover { background: rgba(245, 158, 11, .05); }
.mdp-char-head:focus-visible { outline: 2px solid var(--md-gold); outline-offset: -2px; }
.mdp-char-head > .arrow-icon { color: var(--md-gold); flex-shrink: 0; }
.mdp-char-nome { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-width: 0; }
.mdp-char-name { color: #fff; font-family: 'Orbitron', sans-serif; font-size: 17px; font-weight: 900; text-transform: uppercase; min-width: 0; }
.mdp-char-selos { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.mdp-char-body { padding: 22px; }
.mdp-char-grid { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 22px; align-items: start; }
.mdp-char-foto { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.mdp-char-img { width: 100px; height: 100px; border: 2px solid var(--md-gold); border-radius: var(--md-r-sm); overflow: hidden; background: #000; box-shadow: 0 0 20px rgba(245, 158, 11, .25); }
.mdp-char-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mdp-char-info { min-width: 0; }
.mdp-char-guild { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--md-line-2); }
.mdp-char-guild b { color: var(--md-gold); font-size: 14px; font-weight: 800; text-transform: uppercase; }
.mdp-guild-mark { width: 20px; height: 20px; border: 1px solid var(--md-gold-line); border-radius: 2px; }
.mdp-char-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.mdp-stats { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-content: start; }
.mdp-stat { min-width: 0; padding: 10px 12px; border-radius: var(--md-r-sm); border: 1px solid var(--md-line-2); background: rgba(2, 6, 23, .45); }
.mdp-stat > b { display: block; margin-top: 3px; color: #fff; font-size: 16px; font-weight: 800; overflow-wrap: anywhere; line-height: 1.25; }
.mdp-stat-label { display: inline-flex; align-items: center; gap: 6px; color: var(--md-muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; white-space: nowrap; }
.mdp-stat-label > i { color: var(--md-gold); font-size: 11px; }
.mdp-char-acao { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px; padding-top: 14px; border-top: 1px solid var(--md-line-2); }
.mdp-pontos { display: flex; align-items: baseline; gap: 10px; padding: 8px 14px; border-radius: var(--md-r-sm); border: 1px solid rgba(16, 185, 129, .35); background: var(--md-green-soft); }
.mdp-pontos .mdp-stat-label, .mdp-pontos .mdp-stat-label > i { color: var(--md-green-txt); }
.mdp-pontos > b { color: #34d399; font-family: 'Orbitron', sans-serif; font-size: 18px; font-weight: 900; }
.mdp-cmds { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mdp-cmd { padding: 12px; text-align: center; border-radius: var(--md-r-sm); border: 1px solid var(--md-line-2); background: rgba(2, 6, 23, .5); }
.mdp-cmd > b { display: block; color: #fff; font-size: 17px; }
.mdp-cmd > small { color: var(--md-muted); font-size: 10.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.mdp .md-empty > b { color: var(--md-text); }

/* ---------- Discord (discord.html) ---------- */
.mdp-discord-intro { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.mdp-discord-intro > svg { flex-shrink: 0; }
.mdp-discord-intro p { margin: 0; font-size: 13px; line-height: 1.6; }
.mdp .mdp-discord-tit { margin: 0 0 4px !important; padding: 0 !important; border: 0 !important; color: #fff !important; font-size: 16px !important; font-weight: 800; letter-spacing: .3px !important; text-transform: none !important; text-shadow: none !important; }
.mdp-discord-box { color: var(--md-text-2); font-size: 14px; }
.mdp-discord-codigo { font-family: var(--md-mono); font-size: 40px; font-weight: 900; letter-spacing: 10px; color: var(--md-gold); text-shadow: 0 0 20px rgba(245, 158, 11, .45); overflow-wrap: anywhere; }
.mdp-discord-passo { margin-top: 16px; padding: 14px; border-radius: var(--md-r-sm); border: 1px solid rgba(88, 101, 242, .35); background: rgba(88, 101, 242, .1); }
.mdp-discord-passo code { font-size: 17px; color: #fff; }
.mdp-discord-passos { margin-bottom: 16px; line-height: 1.8; }
.mdp-discord-passos b { color: #fff; }
.mdp-discord-passos ol { margin: 6px 0 0; padding-left: 20px; }

/* ---------- celular ---------- */
@media (max-width: 768px) {
    /* MENU DO JOGADOR NO TOPO em TODAS as páginas do painel — por classe, não por posição na lateral
       (substitui o antigo `.page-painel aside.esq > *:nth-child(1)` do style.css). */
    .page-painel aside.esq > .md-slot-jogador { order: 0 !important; margin: 0 0 14px !important; }
    /* reserva (regra separada: navegador sem :has() descarta só esta) */
    .page-painel aside.esq > *:has(.md-player-menu) { order: 0 !important; margin: 0 0 14px !important; }
    .md-player-menu { padding: 12px !important; margin-bottom: 0 !important; }
    .md-player-menu .mdp-menu-title { font-size: 11px !important; letter-spacing: 1.5px !important; margin: 2px 0 8px !important; padding-bottom: 6px !important; }
    .md-player-menu .mdp-menu + .mdp-menu-title { margin-top: 14px !important; }
    .mdp-menu { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
    .mdp-menu-item { justify-content: center; gap: 7px; min-height: 46px; padding: 10px 8px; font-size: 13px; border-left-width: 1px; text-align: center; }
    .mdp-menu-item.is-active { border-color: var(--md-gold); }
    .mdp-menu-item > span:first-of-type { flex: 0 1 auto; }
    .md-player-menu .mdp-menu-sair { margin-top: 12px; }

    /* título das telas do painel: cabe numa linha em 360px */
    .page-painel .md-page-title, #shop-flow .md-page-title { font-size: 19px !important; letter-spacing: 1.5px !important; gap: 10px; }

    /* Minha Conta */
    .mdp-dados { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .mdp-dado--email { grid-column: 1 / -1; order: 3; }
    .mdp-linha-acao, .mdp-vip { flex-direction: column; align-items: stretch; }
    .mdp-linha-acao .md-btn, .mdp-vip .md-btn { width: 100%; }
    .mdp-kpis .md-kpi { padding: 12px 10px; }
    .mdp-kpis .md-kpi-value { font-size: 18px; }
    /* Minhas compras: as linhas vêm do default.js sem data-label -> rótulo por coluna */
    .mdp-compras .md-table td { padding: 9px 0 !important; }
    .mdp-compras .md-table td:nth-child(1)::before { content: 'Item'; }
    .mdp-compras .md-table td:nth-child(2)::before { content: 'Tipo'; }
    .mdp-compras .md-table td:nth-child(3)::before { content: 'Cash'; }
    .mdp-compras .md-table td:nth-child(4)::before { content: 'Data'; }
    .mdp-compras .md-table td[colspan] { justify-content: center; text-align: center; }
    .mdp-compras .md-table td[colspan]::before { display: none; }

    /* Personagens */
    .mdp-char-head { padding: 12px 14px; }
    .mdp-char-name { font-size: 15px; }
    .mdp-char-body { padding: 14px 12px; }
    .mdp-char-grid { grid-template-columns: 1fr; gap: 16px; }
    .mdp-char-foto { flex-direction: row; justify-content: center; }
    .mdp-char-img { width: 72px; height: 72px; }
    .mdp-char-cols { grid-template-columns: 1fr; }
    .mdp-char-acao { flex-direction: column; align-items: stretch; }
    .mdp-char-acao .md-btn { width: 100%; }
    .mdp-pontos { justify-content: center; }

    /* Discord */
    .mdp-discord-codigo { font-size: 30px; letter-spacing: 6px; }
    .mdp-discord-box .md-btn { width: 100%; }
}

/* =====================================================================
   guias — conteúdo no celular (2026-09-23)
   O HTML dos guias vem do banco (gerar_guias_v2.py) com estilo inline; o JS de
   apresentação (assets/scripts/pages/guia-busca.js, 2º bloco) só reorganiza:
     .gt-lista  = tabela de 1 coluna (lista de drop) → grade de itens
     .gt-rolagem > table.gt-tab = tabela com rótulo por célula (td[data-label]);
       .gt-cartoes = no celular vira cartões; .is-rola = ainda rola de lado (com aviso)
     p.gt-imgs  = parágrafo só de imagens → fileira que quebra linha
     #guide-menu-toggle / .gm-recolhido = menu de categorias recolhível (≤768)
   Os seletores usam #guide-display para vencer o <style> inline do guia.php.
   ===================================================================== */

/* ---------- lista de drop (todas as larguras: era uma coluna de 40 linhas) ---------- */
#guide-display .gt-lista { margin: 14px 0 16px; border: 1px solid rgba(212, 175, 55, .3); border-radius: var(--md-r-sm); background: rgba(2, 6, 23, .35); overflow: hidden; }
#guide-display .gt-lista__tit { display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: rgba(212, 175, 55, .15); border-bottom: 1px solid rgba(212, 175, 55, .3); color: var(--md-gold); font-family: var(--md-font-btn); font-size: 11.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
#guide-display .gt-lista__itens { list-style: none; margin: 0; padding: 10px; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px; }
#guide-display .gt-lista--longa .gt-lista__itens { grid-template-columns: 1fr; }
#guide-display .gt-lista__itens > li { display: flex; align-items: center; gap: 8px; min-height: 38px; margin: 0; padding: 7px 10px 7px 12px; border: 1px solid rgba(148, 163, 184, .12); border-left: 3px solid rgba(212, 175, 55, .55); border-radius: 3px; background: rgba(15, 23, 42, .6); color: #e2e8f0; font-size: 14px; line-height: 1.3; overflow-wrap: break-word; }
#guide-display .gt-lista__itens > li b { font-weight: 600; }
#guide-display .gt-lista__itens > li img { flex-shrink: 0; width: 26px; height: 26px !important; object-fit: contain; margin: 0 !important; border: none; border-radius: 0; }

/* ---------- tabelas com várias colunas ---------- */
#guide-display .gt-rolagem { position: relative; max-width: 100%; margin: 10px 0 14px; overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
#guide-display table.gt-tab { display: table !important; width: 100% !important; margin: 0 !important; white-space: normal !important; overflow: visible !important; }
#guide-display table.gt-tab td, #guide-display table.gt-tab th { min-width: 0 !important; white-space: normal !important; overflow-wrap: normal; word-break: normal; hyphens: none; }
#guide-display table.gt-tab tr:not(.gt-cab):nth-child(even) > td { background: rgba(255, 255, 255, .018); }
/* rola de lado: aviso "arraste" + sombra na borda direita até chegar ao fim */
#guide-display .gt-rolagem.is-rola { padding-top: 22px; }
#guide-display .gt-rolagem.is-rola::before { content: '\2194\00a0 arraste para ver a tabela toda'; position: sticky; left: 0; display: block; margin: -22px 0 6px; height: 16px; color: var(--md-muted-2); font-size: 11.5px; letter-spacing: .3px; }
#guide-display .gt-rolagem.is-rola:not(.is-fim) { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), rgba(0, 0, 0, .25)); mask-image: linear-gradient(to right, #000 calc(100% - 28px), rgba(0, 0, 0, .25)); }
#guide-display .gt-rolagem.is-rola table.gt-tab { width: auto !important; min-width: 100%; }
#guide-display .gt-rolagem.is-rola table.gt-tab td, #guide-display .gt-rolagem.is-rola table.gt-tab th { min-width: 96px !important; }

/* ---------- parágrafo só de imagens ---------- */
#guide-display p.gt-imgs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 10px; }
#guide-display p.gt-imgs > img { margin: 0 !important; }
#guide-display p.gt-imgs--fotos > img { max-width: calc(50% - 6px) !important; }
#guide-display p.gt-imgs:not(.gt-imgs--fotos) > img { border: none; max-width: none !important; }

/* ---------- botão "Categorias" (só aparece no celular/tablet em pé) ---------- */
#guide-menu-toggle { display: none; }

@media (max-width: 768px) {
    /* menu recolhível: o conteúdo começa logo abaixo da busca */
    .guide-sidebar.gm-toggle .guide-sidebar-head { display: none; }
    #guide-menu-toggle { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; margin: 0; padding: 12px 16px; border: none; border-bottom: 1px solid var(--md-gold-line); background: transparent; color: var(--md-gold); font-family: var(--md-font-btn); font-size: 12px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
    #guide-menu-toggle:focus-visible { outline: 2px solid var(--md-gold); outline-offset: -2px; }
    #guide-menu-toggle .gmt-ic { width: 16px; text-align: center; font-size: 14px; }
    #guide-menu-toggle .gmt-nome { flex-shrink: 0; }
    #guide-menu-toggle .gmt-atual { flex: 1 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; text-align: right; color: var(--md-muted); font-family: var(--md-font); font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; }
    #guide-menu-toggle .gmt-seta { flex-shrink: 0; font-size: 11px; color: var(--md-gold); transition: transform .2s; }
    #guide-menu-toggle[aria-expanded="true"] .gmt-seta { transform: rotate(180deg); }
    .guide-sidebar.gm-recolhido #guide-menu-container { display: none; }
    .guide-sidebar.gm-recolhido #guide-menu-toggle { border-bottom-color: var(--md-line-2); }
    .guide-sidebar.gm-toggle .guide-busca { border-bottom: none; padding: 12px; }

    /* busca confortável ao toque (16px evita o zoom automático do iPhone) */
    section .guide-busca #guide-search { min-height: 46px; font-size: 16px !important; padding-left: 36px !important; padding-right: 44px !important; }
    .guide-busca-campo > .fa-search { left: 13px; font-size: 14px; }
    #guide-search-clear { right: 2px; width: 42px; height: 42px; padding: 0; font-size: 20px; }
    .guia-resultado { padding: 12px 14px; }

    /* card do guia */
    #guide-display.guide-content-area { padding: 16px 14px 20px; line-height: 1.55; overflow-wrap: break-word; }
    #guide-display > div[style*="margin-bottom:10px"] { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
    #guide-display > div[style*="margin-bottom:10px"] > span { margin-left: 0 !important; }
    #guide-display > img:first-child { display: block; width: auto !important; max-width: 100% !important; max-height: 180px !important; margin: 0 auto 16px !important; object-fit: contain !important; }
    /* colunas do layout: sem o respiro extra do Semantic (stackable) entre menu e conteúdo */
    section .guia-layout.ui.stackable.grid > .column { padding: 0 !important; margin: 0 !important; }
    .guia-layout .guide-sidebar.elite-box { margin-bottom: 0 !important; }

    /* títulos proporcionais */
    #guide-display h1 { font-size: 21px !important; letter-spacing: 1.2px !important; line-height: 1.3 !important; margin: 10px 0 12px !important; padding-bottom: 10px !important; }
    #guide-display h1 + p { font-size: 14.5px !important; margin-bottom: 16px !important; }
    #guide-display h2 { font-size: 18px !important; letter-spacing: 1px !important; line-height: 1.3 !important; margin: 26px 0 12px !important; padding-bottom: 8px !important; }
    #guide-display h3 { font-size: 15px !important; letter-spacing: .8px !important; line-height: 1.35 !important; margin: 22px 0 10px !important; }
    #guide-display h4 { font-size: 14px !important; letter-spacing: .5px !important; line-height: 1.35 !important; margin: 18px 0 8px !important; color: var(--md-gold); }
    #guide-display > div[style*="font-size:15px"] > h2:first-child { margin-top: 8px !important; }
    #guide-display p { margin: 0 0 12px; }
    /* caixas de dica */
    #guide-display div[style*="border-left:4px"] { padding: 10px 12px !important; font-size: 14px; line-height: 1.5; }
    /* tutoriais (details) */
    #guide-display details > summary { padding: 12px !important; line-height: 1.35; }
    #guide-display details > div { padding: 4px 12px 12px !important; }
    #guide-display details[open] > div[style*="padding:0 12px"] { padding: 0 8px 8px !important; }

    /* tabelas: mais compactas */
    #guide-display table.gt-tab th, #guide-display table.gt-tab td { padding: 7px 8px !important; font-size: 14px; line-height: 1.4; }
    #guide-display table.gt-tab th { font-size: 12.5px; }
    #guide-display table.gt-tab td { vertical-align: top; }

    /* listas de drop: 2 colunas certinhas */
    #guide-display .gt-lista__itens { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 8px; }
    #guide-display .gt-lista--longa .gt-lista__itens { grid-template-columns: 1fr; }
    #guide-display .gt-lista__itens > li { font-size: 13.5px; padding: 7px 8px 7px 10px; }
}

/* ---------- cartões: tabelas de texto longo no celular ---------- */
@media (max-width: 640px) {
    #guide-display .gt-rolagem.gt-rolagem--cartoes { overflow: visible; padding-top: 0; -webkit-mask-image: none; mask-image: none; }
    #guide-display .gt-rolagem.gt-rolagem--cartoes::before { display: none; }
    #guide-display table.gt-tab.gt-cartoes, #guide-display table.gt-cartoes > tbody { display: block !important; width: 100% !important; border: none !important; }
    #guide-display table.gt-cartoes tr.gt-cab { display: none; }
    #guide-display table.gt-cartoes tr { display: block; margin: 0 0 10px; border: 1px solid rgba(212, 175, 55, .25); border-left: 3px solid rgba(212, 175, 55, .6); border-radius: var(--md-r-sm); background: rgba(15, 23, 42, .6); overflow: hidden; }
    #guide-display table.gt-cartoes tr > td { display: grid; grid-template-columns: minmax(84px, 34%) minmax(0, 1fr); gap: 10px; align-items: baseline; min-width: 0 !important; padding: 7px 12px !important; border: none !important; border-top: 1px solid rgba(148, 163, 184, .08) !important; background: none !important; font-size: 14px; overflow-wrap: break-word; }
    #guide-display table.gt-cartoes tr > td::before { content: attr(data-label); color: var(--md-muted); font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; line-height: 1.5; }
    #guide-display table.gt-cartoes tr > td > .gt-v { min-width: 0; }
    #guide-display table.gt-cartoes tr > td:not([data-label])::before { content: none; }
    #guide-display table.gt-cartoes tr > td:not([data-label]) { display: block; }
    /* 1ª célula = título do cartão */
    #guide-display table.gt-cartoes tr > td:first-child { display: block; padding: 9px 12px !important; border-top: none !important; background: rgba(212, 175, 55, .08) !important; color: #f1f5f9; font-size: 15px; font-weight: 700; }
    #guide-display table.gt-cartoes tr > td:first-child::before { content: none; }
    #guide-display table.gt-cartoes tr.gt-secao > td { display: block; background: rgba(212, 175, 55, .15) !important; color: var(--md-gold); font-weight: 700; }
}

/* 2a visita em diante: sem animacao de entrada (functions.js marca html.md-rapido) */
.md-rapido .elite-animate { animation: none !important; opacity: 1 !important; transform: none !important; }
