[hidden] { display: none !important; }

:root {
    --bg: #06060e;
    --bg-2: #0a0a16;
    --card-bg: #0e0e1c;
    --card-bg-2: #12122a;
    --card-border: #1a1a2e;
    --cyan: #00d4ff;
    --cyan-2: #00d9ff;
    --green: #00c853;
    --red: #ef4444;
    --yellow: #f59e0b;
    --purple: #a855f7;
    --text: #e0e0e0;
    --text-muted: #888;
    --text-dim: #555;
    --input-bg: #0a0a18;
    --border: #1a1a2e;
    --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.5;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

.topbar {
    position: sticky; top: 0; z-index: 100;
    background: rgba(6,6,14,.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    padding: 0 24px; height: 60px;
    display: flex; align-items: center; justify-content: space-between;
}
.topbar-brand {
    font-size: 1.1rem; font-weight: 700; white-space: nowrap;
    background: linear-gradient(90deg, #0077ff, var(--cyan));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.topbar-nav { display: flex; gap: 16px; align-items: center; }
.topbar-nav a {
    font-size: 0.85rem; color: var(--text-muted);
    transition: color 0.15s;
}
.topbar-nav a:hover { color: var(--cyan); text-decoration: none; }
.topbar-nav a.active { color: var(--cyan); }

.page { max-width: 900px; margin: 0 auto; padding: 32px 20px; }

.auth-card {
    max-width: 420px; margin: 48px auto;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 32px;
}
.auth-card h1 {
    font-size: 1.4rem; font-weight: 700;
    margin-bottom: 4px;
    background: linear-gradient(90deg, #0077ff, var(--cyan));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.auth-card .subtitle {
    color: var(--text-muted); font-size: 0.85rem; margin-bottom: 24px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block; font-size: 0.8rem; font-weight: 600;
    color: var(--text-muted); margin-bottom: 6px; text-transform: uppercase;
    letter-spacing: 0.5px;
}
.form-group input {
    width: 100%; padding: 10px 14px;
    background: var(--input-bg); border: 1px solid var(--border);
    border-radius: var(--radius); color: var(--text);
    font-size: 0.9rem; outline: none; transition: border-color 0.15s;
}
.form-group input:focus { border-color: var(--cyan); }
.form-group input::placeholder { color: var(--text-dim); }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 11px 20px;
    border: none; border-radius: var(--radius);
    font-size: 0.9rem; font-weight: 600; cursor: pointer;
    transition: all 0.15s; text-decoration: none;
}
.btn-primary {
    background: linear-gradient(135deg, #0077ff, var(--cyan));
    color: #fff;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); text-decoration: none; }
.btn-google {
    background: var(--card-bg-2); border: 1px solid var(--border);
    color: var(--text);
}
.btn-google:hover { border-color: var(--cyan); text-decoration: none; }
.btn-google svg { width: 18px; height: 18px; }
.btn-discord {
    background: var(--card-bg-2); border: 1px solid var(--border);
    color: var(--text);
}
.btn-discord:hover { border-color: #5865F2; text-decoration: none; }
.btn-discord svg { width: 18px; height: 18px; }
.divider {
    display: flex; align-items: center; gap: 12px;
    margin: 20px 0; color: var(--text-dim); font-size: 0.8rem;
}
.divider::before, .divider::after {
    content: ''; flex: 1; height: 1px; background: var(--border);
}
.error-msg {
    background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.3);
    color: var(--red); font-size: 0.8rem; padding: 10px 14px;
    border-radius: var(--radius); margin-bottom: 16px; display: none;
}
.error-msg.show { display: block; }
.success-msg {
    background: rgba(0,200,83,.1); border: 1px solid rgba(0,200,83,.3);
    color: var(--green); font-size: 0.8rem; padding: 10px 14px;
    border-radius: var(--radius); margin-bottom: 16px; display: none;
}
.success-msg.show { display: block; }
.link-text {
    text-align: center; margin-top: 16px;
    font-size: 0.85rem; color: var(--text-muted);
}

/* Verification code input */
.code-inputs {
    display: flex; gap: 8px; justify-content: center; margin: 24px 0;
}
.code-inputs input {
    width: 48px; height: 56px; text-align: center;
    font-size: 1.4rem; font-weight: 700; font-family: 'JetBrains Mono', monospace;
    background: var(--input-bg); border: 1px solid var(--border);
    border-radius: var(--radius); color: var(--cyan); outline: none;
    transition: border-color 0.15s;
}
.code-inputs input:focus { border-color: var(--cyan); }

/* Dashboard */
.dash-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.dash-user {
    display: flex; align-items: center; gap: 12px;
}
.dash-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(135deg, #0077ff, var(--cyan));
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.1rem; color: #fff;
}
.dash-name { font-weight: 600; font-size: 1rem; }
.dash-plan {
    font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
    padding: 2px 8px; border-radius: 99px;
}
.plan-free { background: rgba(0,212,255,.15); color: var(--cyan); }
.plan-vip { background: rgba(168,85,247,.15); color: var(--purple); }

/* Welcome bonus banner */
.bonus-banner {
    background: linear-gradient(135deg, rgba(0,212,255,.08), rgba(0,200,83,.08));
    border: 1px solid rgba(0,212,255,.2);
    border-radius: var(--radius); padding: 20px;
    margin-bottom: 24px; position: relative; overflow: hidden;
}
.bonus-banner::before {
    content: ''; position: absolute; top: -50%; right: -20%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(0,212,255,.08), transparent);
    pointer-events: none;
}
.bonus-title {
    font-size: 1rem; font-weight: 700; color: var(--cyan);
    margin-bottom: 4px;
}
.bonus-desc {
    font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px;
}
.bonus-countdown {
    display: flex; gap: 12px; align-items: center;
}
.bonus-countdown .time-block {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 6px; padding: 8px 14px;
    text-align: center; min-width: 64px;
}
.bonus-countdown .time-value {
    font-size: 1.4rem; font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    color: var(--cyan);
}
.bonus-countdown .time-label {
    font-size: 0.65rem; color: var(--text-dim);
    text-transform: uppercase; letter-spacing: 0.5px;
}
.bonus-countdown .sep {
    font-size: 1.2rem; color: var(--text-dim); font-weight: 700;
}

/* Stats cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px; margin-bottom: 24px;
}
.stat-card {
    background: var(--card-bg); border: 1px solid var(--card-border);
    border-radius: var(--radius); padding: 16px;
}
.stat-label {
    font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
    color: var(--text-dim); letter-spacing: 0.5px; margin-bottom: 4px;
}
.stat-value {
    font-size: 1.4rem; font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
}
.stat-limit {
    font-size: 0.75rem; color: var(--text-muted); margin-top: 2px;
}
.stat-bar {
    height: 4px; background: var(--border); border-radius: 99px;
    margin-top: 8px; overflow: hidden;
}
.stat-bar-fill {
    height: 100%; border-radius: 99px;
    transition: width 0.3s ease;
}
.fill-cyan { background: var(--cyan); }
.fill-green { background: var(--green); }
.fill-purple { background: var(--purple); }
.fill-yellow { background: var(--yellow); }

/* Tool cards */
.tool-grid {
    display: grid; gap: 16px;
}
.tool-card {
    background: var(--card-bg); border: 1px solid var(--card-border);
    border-radius: var(--radius); padding: 24px;
}
.tool-card h3 {
    font-size: 1rem; font-weight: 600; margin-bottom: 4px;
    display: flex; align-items: center; gap: 8px;
}
.tool-card h3 .ep-badge {
    font-size: 0.65rem; padding: 2px 8px; border-radius: 99px;
    font-weight: 600; text-transform: uppercase;
}
.tool-card .tool-desc {
    font-size: 0.8rem; color: var(--text-muted); margin-bottom: 16px;
}
.tool-card .tool-row {
    display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap;
}
.tool-card .tool-field {
    flex: 1; min-width: 120px;
}
.tool-card .tool-field label {
    display: block; font-size: 0.7rem; font-weight: 600;
    color: var(--text-dim); text-transform: uppercase;
    letter-spacing: 0.5px; margin-bottom: 4px;
}
.tool-card .tool-field input, .tool-card .tool-field select {
    width: 100%; padding: 9px 12px;
    background: var(--input-bg); border: 1px solid var(--border);
    border-radius: var(--radius); color: var(--text);
    font-size: 0.85rem; outline: none;
}
.tool-card .tool-field input:focus, .tool-card .tool-field select:focus {
    border-color: var(--cyan);
}
.tool-card .btn-send {
    padding: 9px 24px; white-space: nowrap;
    background: linear-gradient(135deg, #0077ff, var(--cyan));
    color: #fff; border: none; border-radius: var(--radius);
    font-size: 0.85rem; font-weight: 600; cursor: pointer;
    transition: opacity 0.15s;
}
.tool-card .btn-send:hover { opacity: 0.9; }
.tool-card .btn-send:disabled { opacity: 0.5; cursor: not-allowed; }
.result-box {
    margin-top: 12px; padding: 12px;
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius); font-size: 0.8rem;
    font-family: 'JetBrains Mono', monospace;
    white-space: pre-wrap; word-break: break-all;
    max-height: 300px; overflow-y: auto;
    display: none;
}
.result-box.show { display: block; }

/* Countdown ended */
.bonus-used {
    background: rgba(0,200,83,.08);
    border: 1px solid rgba(0,200,83,.2);
}
.bonus-used .bonus-title { color: var(--green); }

.like-result {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-left: 4px solid var(--green);
    border-radius: var(--radius);
    padding: 22px;
    margin-top: 16px;
}
.like-result.warn-result { border-left-color: var(--yellow); }
.like-result-head {
    font-size: 1rem; font-weight: 800; color: var(--green);
    margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.5px;
}
.like-result-head.warn { color: var(--yellow); }
.like-result-lines { display: flex; flex-direction: column; gap: 8px; }
.lr-line {
    display: flex; align-items: center; gap: 10px; font-size: 0.85rem;
    padding: 7px 10px; background: var(--bg-2);
    border: 1px solid var(--card-border); border-radius: 8px;
}
.lr-emoji { font-size: 15px; width: 22px; text-align: center; flex-shrink: 0; }
.lr-label {
    color: var(--text-muted); min-width: 110px; font-weight: 600;
    font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.4px;
}
.lr-value { font-family: 'JetBrains Mono', monospace; color: #fff; font-weight: 600; }

@media (max-width: 600px) {
    .auth-card { margin: 24px 12px; padding: 24px 16px; }
    .code-inputs input { width: 40px; height: 48px; font-size: 1.2rem; }
    .bonus-countdown { flex-wrap: wrap; gap: 8px; }
    .tool-card .tool-row { flex-direction: column; }
    .tool-card .tool-field { min-width: 100%; }
}

/* ============================================================================
   UX / ANIMATION ENHANCEMENTS
   ============================================================================ */

:root {
    --transition-fast: 120ms;
    --transition-normal: 220ms;
    --transition-slow: 420ms;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --card-shadow: 0 6px 22px rgba(0, 0, 0, 0.32);
    --card-shadow-hover: 0 14px 34px rgba(0, 0, 0, 0.4);
}

body {
    position: relative;
}
body::before {
    content: '';
    position: fixed;
    inset: -10%;
    z-index: -1;
    background:
        radial-gradient(900px 500px at 20% 10%, rgba(0, 212, 255, 0.04), transparent 50%),
        radial-gradient(700px 500px at 80% 90%, rgba(168, 85, 247, 0.035), transparent 50%);
    animation: bgDrift 30s var(--ease-smooth) alternate infinite;
    pointer-events: none;
}
@keyframes bgDrift {
    from { transform: translate3d(-0.75%, -0.5%, 0); }
    to { transform: translate3d(0.75%, 0.5%, 0); }
}

html { scroll-behavior: smooth; }

/* Section page transition */
.section-page {
    animation: pageIn var(--transition-normal) var(--ease-out) both;
}
@keyframes pageIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Inputs + selects focus glow */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
select,
textarea {
    transition:
        border-color var(--transition-fast) var(--ease-out),
        box-shadow var(--transition-fast) var(--ease-out),
        background var(--transition-fast) var(--ease-out);
}
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.12);
    outline: none;
}
select {
    background: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
}

/* Buttons micro-interactions */
.btn,
.btn-send,
.btn-primary,
.btn-nav {
    transition:
        transform var(--transition-fast) var(--ease-out),
        box-shadow var(--transition-fast) var(--ease-out),
        opacity var(--transition-fast) var(--ease-out),
        background var(--transition-fast) var(--ease-out),
        color var(--transition-fast) var(--ease-out),
        border-color var(--transition-fast) var(--ease-out);
}
.btn-send:not(:disabled):hover,
.btn-primary:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 212, 255, 0.22);
}
.btn:not(:disabled):active,
.btn-send:not(:disabled):active,
.btn-primary:not(:disabled):active {
    transform: translateY(1px);
}
.btn-nav:active {
    transform: translateY(0.5px) scale(0.985);
}

/* Cards hover subtle lift */
.tool-card,
.stat-card,
.auth-card {
    transition:
        transform var(--transition-normal) var(--ease-out),
        box-shadow var(--transition-normal) var(--ease-out),
        background var(--transition-normal) var(--ease-out),
        border-color var(--transition-normal) var(--ease-out);
}
.tool-card:hover,
.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(0, 212, 255, 0.3);
}
.stat-bar-fill {
    transition: width 0.6s var(--ease-out);
}

/* Scroll reveal (progressive enhancement, JS adds html.fx-ready) */
.reveal-on-scroll {
    transition:
        opacity 0.5s var(--ease-out),
        transform 0.5s var(--ease-out);
}
html.fx-ready .reveal-on-scroll:not(.revealed) {
    opacity: 0;
    transform: translateY(14px);
}

/* Mouse-follow radial glow (JS adds .spot-card) */
.spot-card {
    position: relative;
    overflow: hidden;
}
.spot-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 212, 255, 0.08), transparent 45%);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-slow) var(--ease-out);
}
.spot-card:hover::after {
    opacity: 1;
}
.bonus-banner.spot-card::before {
    z-index: 2;
}

/* Strong reduced-motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
        scroll-behavior: auto !important;
    }
    body::before { animation: none; }
    .reveal-on-scroll { opacity: 1 !important; transform: none !important; }
    .spot-card::after { opacity: 0 !important; }
}

/* ============================================================================
   STAGE 3 — SIGNIFICANT MOTION DESIGN (client panel). No color changes.
   ============================================================================ */

/* --- Section page entry sequence (JS adds .fx-enter on showSection) --- */
.section-page.fx-enter > * {
    opacity: 0;
    animation: pageChildIn 0.5s var(--ease-out) both;
    animation-delay: calc(var(--i, 0) * 60ms);
}
@keyframes pageChildIn {
    from { opacity: 0; transform: translateY(14px) scale(0.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- Stat cards: stagger + animated fill on every usage update --- */
.stat-card {
    animation: statIn 0.45s var(--ease-out) both;
    animation-delay: calc(var(--i, 0) * 55ms);
}
@keyframes statIn {
    from { opacity: 0; transform: translateY(10px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.stat-bar-fill {
    transition: width 0.7s var(--ease-out);
}
.stat-card:hover {
    transform: translateY(-3px);
}

/* --- Tool result panel: pops in when shown + staggered lines --- */
.like-result {
    animation: resultIn 0.4s var(--ease-out) both;
}
@keyframes resultIn {
    from { opacity: 0; transform: translateY(10px) scale(0.985); filter: blur(3px); }
    to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
.lr-stagger > * {
    animation: lrIn 0.38s var(--ease-out) both;
    animation-delay: calc(var(--i, 0) * 45ms);
}
@keyframes lrIn {
    from { opacity: 0; transform: translateX(10px); filter: blur(2px); }
    to { opacity: 1; transform: translateX(0); filter: blur(0); }
}
.lr-line {
    transition: background var(--transition-fast) var(--ease-out), transform var(--transition-fast) var(--ease-out);
}
.lr-line:hover {
    background: rgba(0, 212, 255, 0.04);
    transform: translateX(2px);
}

/* --- Buttons: loading spinner + success flash (JS helpers set classes) --- */
.btn-send.btn-loading,
.btn-neon.btn-loading,
.icon-btn.btn-loading {
    position: relative;
    opacity: 0.8;
    pointer-events: none;
}
.btn-loading[disabled] {
    cursor: wait;
}
.btn-loading::after {
    content: '';
    display: inline-block;
    width: 13px;
    height: 13px;
    margin-left: 8px;
    vertical-align: -2px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-top-color: #fff;
    border-radius: 50%;
    animation: btnSpin 0.7s linear infinite;
}
.btn-success {
    animation: btnOkPulse 0.7s var(--ease-out);
}
@keyframes btnSpin {
    to { transform: rotate(360deg); }
}
@keyframes btnOkPulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.55); }
    100% { box-shadow: 0 0 0 14px rgba(0, 200, 83, 0); }
}

/* --- Bonus banner numbers: quick pop on refresh --- */
.bonus-banner .bonus-text,
.bonus-banner .bonus-remaining {
    transition: opacity var(--transition-normal) var(--ease-out), transform var(--transition-normal) var(--ease-out);
}

/* --- Mobile nav active indicator slide --- */
.mobile-nav-item {
    position: relative;
    transition: transform var(--transition-fast) var(--ease-out), color var(--transition-fast) var(--ease-out);
}
.mobile-nav-item.active::after {
    content: '';
    position: absolute;
    left: 30%;
    right: 30%;
    bottom: 3px;
    height: 2px;
    border-radius: 2px;
    background: var(--cyan);
    animation: navDotIn 0.3s var(--ease-out) both;
}
@keyframes navDotIn {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}
.mobile-nav-item:active {
    transform: scale(0.96);
}

/* --- History like-items: light stagger + hover lift --- */
.like-history-item {
    transition: transform var(--transition-fast) var(--ease-out), border-color var(--transition-fast) var(--ease-out), box-shadow var(--transition-fast) var(--ease-out);
}
.like-history-item:hover {
    transform: translateX(3px);
    border-color: rgba(0, 212, 255, 0.3);
}

/* reduced-motion additions for stage-3 rules */
@media (prefers-reduced-motion: reduce) {
    .section-page.fx-enter > *,
    .stat-card,
    .like-result,
    .lr-stagger > *,
    .mobile-nav-item.active::after {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .btn-loading::after {
        animation: none !important;
    }
    .btn-send.btn-loading,
    .btn-neon.btn-loading {
        opacity: 1;
    }
    .stat-card:hover,
    .lr-line:hover,
    .like-history-item:hover {
        transform: none;
    }
    .stat-bar-fill {
        transition: none;
    }
}/* --- Auth pages compatibility: staggered children + card rise + press (public helpers) --- */
.fx-enter > * {
    opacity: 0;
    animation: authChildIn 0.5s var(--ease-out) both;
    animation-delay: calc(var(--i, 0) * 70ms);
}
@keyframes authChildIn {
    from { opacity: 0; transform: translateY(16px) scale(0.99); filter: blur(4px); }
    to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
.auth-card {
    animation: authCardRise 0.45s var(--ease-out) both;
}
@keyframes authCardRise {
    from { opacity: 0; transform: translateY(14px) scale(0.985); filter: blur(4px); }
    to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
.btn-neon {
    transition: transform var(--transition-fast) var(--ease-out), box-shadow var(--transition-fast) var(--ease-out);
}
.btn-neon:active {
    transform: scale(0.97);
}

/* reduced-motion for the auth compatibility rules */
@media (prefers-reduced-motion: reduce) {
    .fx-enter > *,
    .auth-card {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .btn-neon:active {
        transform: none;
    }
}
/* ============ INFO DO JOGADOR (mesmo estilo da pagina /verify) ============ */
.info-result {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-left: 4px solid var(--cyan);
    border-radius: 14px;
    padding: 22px;
    margin-bottom: 18px;
    animation: fadeInUp 0.5s ease both;
}

.info-result-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.info-avatar img {
    max-width: 420px;
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--card-border);
    display: block;
}

.info-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg-2);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 16px;
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0;
}

/* ============ BAN CHECK (titulo colorido) ============ */
.ban-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .5px;
    margin-bottom: 12px;
}

.ban-title.ok { color: var(--green); }
.ban-title.warn { color: var(--red); }

/* ============ WISHLIST (icones dos itens) ============ */
#wishText .wish-icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    object-fit: cover;
    vertical-align: -6px;
    display: inline-block;
    margin-right: 6px;
    border: 1px solid var(--card-border);
}

#wishText .wish-icon-ph {
    display: inline-block;
    width: 26px;
    text-align: center;
    vertical-align: -6px;
    margin-right: 6px;
}

/* ============ HISTORICO DE LIKES (2 partes) ============ */
.hist-req {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 8px;
}

.hist-ep {
    flex: 0 0 auto;
    min-width: 78px;
    text-align: center;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    padding: 3px 6px;
    border-radius: 6px;
    background: rgba(255,255,255,.05);
    color: var(--text-muted);
}

.hist-ep.ep-like { background: rgba(236,72,153,.15); color: #ec4899; }
.hist-ep.ep-info { background: rgba(56,189,248,.15); color: #38bdf8; }
.hist-ep.ep-wishlist { background: rgba(168,85,247,.15); color: #a855f7; }
.hist-ep.ep-bancheck { background: rgba(34,197,94,.15); color: #22c55e; }

.hist-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hist-title { font-size: 0.85rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hist-sub { font-size: 0.72rem; color: var(--text-muted); }

.hist-likes {
    flex: 0 0 auto;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--cyan);
    min-width: 56px;
    text-align: right;
}

.hist-date { flex: 0 0 auto; font-size: 0.72rem; color: var(--text-muted); min-width: 108px; text-align: right; }

.hist-total {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-left: 3px solid var(--cyan);
    border-radius: var(--radius);
    margin-bottom: 8px;
}

.hist-nick { font-size: 0.92rem; font-weight: 700; }
.hist-total-sub { font-size: 0.72rem; color: var(--text-muted); }
.hist-total-num { font-size: 0.85rem; font-weight: 700; color: var(--cyan); margin-top: 4px; }

@media (max-width: 560px) {
    .hist-req { flex-wrap: wrap; }
    .hist-date { min-width: 0; text-align: left; width: 100%; }
}

/* ============ AFILIADOS ============ */
.aff-card { margin-bottom: 0; }
.aff-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.aff-card h3 { font-size: 0.95rem; }

.aff-badge { font-size: 0.62rem; font-weight: 700; letter-spacing: .5px; padding: 3px 9px; border-radius: 20px; border: 1px solid var(--card-border); color: var(--text-muted); text-transform: uppercase; }
.aff-badge.ok { color: var(--green); border-color: rgba(0, 200, 83, .35); background: rgba(0, 200, 83, .08); }
.aff-badge.warn { color: var(--yellow); border-color: rgba(245, 158, 11, .35); background: rgba(245, 158, 11, .08); }

.aff-code-row { display: flex; gap: 10px; align-items: stretch; }
.aff-code {
    flex: 1;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 6px;
    color: var(--cyan);
    background: var(--input-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 14px 16px;
    text-align: center;
    text-shadow: 0 0 18px rgba(0, 212, 255, .35);
}
.aff-note { font-size: 0.75rem; color: var(--text-muted); margin-top: 10px; }

.aff-how { display: flex; flex-direction: column; gap: 9px; margin-top: 12px; }
.aff-how-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.82rem; color: var(--text-muted); }
.aff-how-item strong { color: var(--cyan); }
.aff-how-num { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 6px; background: rgba(0, 212, 255, .1); border: 1px solid rgba(0, 212, 255, .25); color: var(--cyan); font-size: .7rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }

.aff-input { flex: 1; background: var(--input-bg); border: 1px solid var(--card-border); border-radius: var(--radius); color: var(--text); padding: 11px 13px; font-family: inherit; font-size: 0.85rem; letter-spacing: 1px; }
.aff-input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 2px rgba(0, 212, 255, .12); }
.aff-textarea { width: 100%; letter-spacing: 0; resize: vertical; margin-bottom: 10px; }
.aff-label { display: block; font-size: 0.75rem; color: var(--text-muted); margin: 12px 0 6px; }

.aff-msg { font-size: 0.78rem; margin-top: 10px; display: none; }
.aff-msg.show { display: block; }
.aff-msg.err { color: var(--red); }
.aff-msg.ok { color: var(--green); }

.aff-warn { background: rgba(245, 158, 11, .07); border: 1px solid rgba(245, 158, 11, .28); border-radius: var(--radius); padding: 13px 15px; font-size: 0.82rem; color: #f5c26b; }
.aff-info { font-size: 0.8rem; color: var(--text-muted); background: var(--card-bg-2); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 11px 13px; }
.aff-appeal-info { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }
.aff-appeal-info strong { color: var(--cyan); }

.aff-history { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.aff-hist-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; background: var(--input-bg); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 11px 13px; }
.aff-hist-main { display: flex; align-items: center; gap: 10px; }
.aff-hist-id { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.aff-hist-date { font-size: 0.72rem; color: var(--text-muted); }
.aff-hist-right { display: flex; align-items: center; gap: 7px; }
.aff-chip { font-size: 0.68rem; font-weight: 600; padding: 3px 9px; border-radius: 20px; border: 1px solid var(--card-border); color: var(--text-muted); }
.aff-chip.ok { color: var(--green); border-color: rgba(0, 200, 83, .3); background: rgba(0, 200, 83, .07); }
.aff-chip.reward { color: var(--cyan); border-color: rgba(0, 212, 255, .3); background: rgba(0, 212, 255, .07); }
.aff-empty { font-size: 0.8rem; color: var(--text-dim); padding: 14px 0; }

@media (max-width: 560px) {
    .aff-code { font-size: 1.3rem; letter-spacing: 4px; }
    .aff-code-row { flex-direction: column; }
}

/* ============ OUTRAS FERRAMENTAS ============ */
.tool-input {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    color: var(--text);
    padding: 10px 12px;
    font-family: inherit;
    font-size: 0.85rem;
    resize: vertical;
}
.tool-input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 2px rgba(0, 212, 255, .12); }
select.tool-input { appearance: none; padding-right: 26px; background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%); background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
textarea.tool-input { min-height: 64px; }

.tool-result { margin-top: 12px; }
.tool-out { position: relative; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 12px 40px; }
.tool-out .info-text { margin: 0; max-height: 320px; overflow: auto; }
.tool-out .copy-btn { position: absolute; right: 10px; bottom: 10px; }
.tool-err { background: rgba(239, 68, 68, .08); border: 1px solid rgba(239, 68, 68, .3); border-radius: var(--radius); padding: 11px 13px; font-size: 0.82rem; color: #f2a0a0; }
.tool-warn { background: rgba(245, 158, 11, .08); border: 1px solid rgba(245, 158, 11, .3); border-radius: var(--radius); padding: 11px 13px; font-size: 0.82rem; color: #f5c26b; }
.info-foot { margin-top: 10px; font-size: 0.72rem; color: var(--text-muted); }
.ep-badge-ai { background: rgba(0, 212, 255, .12); color: var(--cyan); }

@media (max-width: 620px) {
    .tool-row { flex-direction: column; align-items: stretch; }
    .tool-row .btn-send { width: 100% !important; }
    .tool-row select.tool-input, .tool-row input.tool-input { max-width: 100% !important; }
    .topbar { padding: 0 12px; gap: 8px; }
    .topbar-brand { font-size: 1rem; }
    .topbar-nav { gap: 10px; font-size: 0.8rem; }
    .topbar-nav > a { display: none; }
    .topbar-nav #navLoggedIn { display: flex; align-items: center; gap: 8px; }
    .topbar-nav #navUserName { font-size: 0.8rem !important; margin-right: 0 !important; }
}

/* "Outras Ferramentas": 2 colunas quando ha espaco, 1 coluna no celular.
   O seletor precisa do .active: um #id sozinho tem especificidade maior que
   ".section-page.active" e deixava a secao sempre visivel junto com Ferramentas. */
#section-extra.active { display: grid; grid-template-columns: repeat(auto-fill, minmax(430px, 1fr)); gap: 16px; align-items: start; }
#section-extra > .section-title, #section-extra > .tool-desc { grid-column: 1 / -1; }
#section-extra > .tool-card { margin-bottom: 0 !important; }
#section-extra > .tool-card-wide { grid-column: 1 / -1; }
@media (max-width: 720px) {
    #section-extra.active { grid-template-columns: 1fr; }
}

/* --- resultados ricos: livros ------------------------------- */
.tag { font-size: .66rem; padding: 2px 6px; border-radius: 6px; background: rgba(0,212,255,.10); color: var(--cyan); }
.copy-source { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.tool-out { position: relative; }

/* --- conversor: serie de dias e aviso de dia util --- */
.fx-history { margin-top: 12px; border: 1px solid var(--card-border); border-radius: 10px; padding: 10px 12px; background: rgba(255,255,255,.02); }
.fx-history-title { font-size: .74rem; color: var(--text-muted); margin-bottom: 6px; }
.fx-row { display: flex; justify-content: space-between; gap: 10px; font-size: .8rem; padding: 3px 0; border-bottom: 1px solid rgba(255,255,255,.04); }
.fx-row:last-of-type { border-bottom: none; }
.fx-row span:last-child { color: var(--green); font-weight: 600; }
.fx-note { margin-top: 8px; font-size: .74rem; color: #ffb84d; line-height: 1.5; }

/* --- suporte / chamados (chat com o admin) --- */
.nav-badge[hidden] { display: none; }
.nav-badge {
    margin-left: auto; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
    background: var(--cyan); color: #04121f; font-size: .65rem; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
}
.sup-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.sup-field label { font-size: .78rem; color: var(--text-muted); }
.sup-field .tool-input { width: 100%; }
.sup-hint { font-size: .78rem; color: var(--green); }
.sup-hint:empty { display: none; }
.sup-count { color: var(--text-muted); font-weight: 400; font-size: .8rem; }
.sup-list { display: flex; flex-direction: column; gap: 8px; }
.sup-empty { color: var(--text-muted); font-size: .85rem; padding: 10px 2px; }
.sup-item {
    border: 1px solid var(--card-border); border-radius: 10px; padding: 10px 12px; cursor: pointer;
    display: flex; flex-direction: column; gap: 3px; background: rgba(255,255,255,.02);
}
.sup-item:hover { border-color: var(--cyan); }
.sup-item.closed { opacity: .62; }
.sup-item-top { display: flex; align-items: center; gap: 8px; }
.sup-item-subject { font-weight: 600; font-size: .88rem; color: var(--text); flex: 1; }
.sup-item-last { font-size: .78rem; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sup-item-meta { font-size: .7rem; color: var(--text-dim); }
.sup-status {
    font-size: .64rem; text-transform: uppercase; letter-spacing: .05em; padding: 2px 7px; border-radius: 6px;
    background: rgba(0,212,255,.12); color: var(--cyan); white-space: nowrap;
}
.sup-status.aguardando { background: rgba(255,184,77,.14); color: #ffb84d; }
.sup-status.resolvido { background: rgba(255,255,255,.07); color: var(--text-muted); }
.sup-unread {
    min-width: 18px; height: 18px; border-radius: 9px; background: var(--green); color: #04121f;
    font-size: .65rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px;
}
.sup-chat-card { display: flex; flex-direction: column; gap: 10px; }
.sup-chat-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.sup-chat-title { font-weight: 700; font-size: .95rem; color: var(--text); }
.sup-chat-meta { font-size: .72rem; color: var(--text-muted); margin-top: 2px; }
.sup-chat-actions { display: flex; align-items: center; gap: 8px; }
.sup-link-btn {
    background: none; border: none; color: var(--cyan); cursor: pointer; font-size: .78rem; padding: 2px 4px;
}
.sup-link-btn:hover { text-decoration: underline; }
.sup-messages {
    display: flex; flex-direction: column; gap: 8px; min-height: 220px; max-height: 460px; overflow-y: auto;
    padding: 10px; border: 1px solid var(--card-border); border-radius: 10px; background: rgba(0,0,0,.18);
}
.sup-msg { max-width: 82%; border-radius: 12px; padding: 8px 11px; }
.sup-msg.from-client { align-self: flex-end; background: rgba(0,119,255,.18); border: 1px solid rgba(0,212,255,.25); }
.sup-msg.from-admin { align-self: flex-start; background: rgba(255,255,255,.05); border: 1px solid var(--card-border); }
.sup-msg-who { font-size: .66rem; color: var(--cyan); font-weight: 700; margin-bottom: 3px; }
.sup-msg.from-client .sup-msg-who { color: #8ecbff; }
.sup-msg-body { font-size: .85rem; color: var(--text); white-space: pre-wrap; word-break: break-word; }
.sup-msg-time { font-size: .64rem; color: var(--text-dim); margin-top: 4px; text-align: right; }
.sup-reply { display: flex; gap: 8px; align-items: flex-end; }
.sup-reply textarea { flex: 1; width: 100%; resize: vertical; }
/* ---- Foto do chamado (somente imagem) ---- */
.sup-foto-btn {
    flex: 0 0 auto;
    width: 42px; height: 42px;
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent;
    border: 1px solid var(--card-border);
    border-radius: 10px;
    color: var(--text-muted);
    font-size: 1.05rem;
    cursor: pointer;
    transition: border-color .2s, color .2s;
}
.sup-foto-btn:hover:not(:disabled) { border-color: var(--cyan); color: var(--cyan); }
.sup-foto-btn:disabled { opacity: .4; cursor: not-allowed; }
.sup-foto-escolha { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.sup-foto-escolha[hidden] { display: none; }
.sup-foto-prev {
    width: 54px; height: 54px; flex: 0 0 auto;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--card-border);
}
.sup-foto-nome {
    flex: 1; min-width: 0;
    font-size: .74rem; color: var(--text-muted);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sup-foto-x {
    flex: 0 0 auto;
    background: none;
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: .72rem;
    cursor: pointer;
}
.sup-foto-x:hover { color: var(--red); border-color: var(--red); }
.sup-msg-foto {
    display: block;
    margin-top: 7px;
    max-width: 100%;
    max-height: 260px;
    border-radius: 9px;
    border: 1px solid var(--card-border);
    cursor: zoom-in;
    background: rgba(0,0,0,.25);
}
.sup-reply-fechado {
    padding: 11px 2px 2px;
    font-size: .78rem;
    color: var(--text-muted);
}
.sup-reply-fechado[hidden] { display: none; }
@media (max-width: 620px) {
    .sup-msg { max-width: 94%; }
    .sup-reply { flex-direction: column; align-items: stretch; }
    .sup-reply .btn-send { width: 100% !important; }
    .sup-foto-btn { width: 100%; }
}

.sup-dica { font-size: .78rem; color: var(--text-muted); margin-bottom: 10px; }
.sup-dica:empty { display: none; }
.sup-item.current { border-color: var(--cyan); background: rgba(0,212,255,.06); }

/* botao de acao dentro do cartao de afiliados (pedir analise) */
.aff-cta { width: auto; flex: 0 0 auto; padding: 9px 18px; }
#affAnaliseChat .tool-card { margin-bottom: 0; }

/* aviso de boas-vindas (mostrado logo apos criar a conta) */
.welcome-note {
    position: relative; border: 1px solid var(--cyan); border-radius: var(--radius);
    background: rgba(0,212,255,.08); padding: 12px 40px 12px 14px; margin-bottom: 16px;
}
.welcome-title { font-size: .92rem; font-weight: 700; color: var(--cyan); margin-bottom: 4px; }
.welcome-desc { font-size: .82rem; color: var(--text); }
.welcome-link { color: var(--cyan); font-weight: 600; margin-left: 4px; }
.welcome-close {
    position: absolute; top: 6px; right: 8px; background: none; border: none;
    color: var(--text-muted); font-size: 1.2rem; cursor: pointer; line-height: 1;
}
.welcome-close:hover { color: var(--text); }
.welcome-code { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.welcome-hint { font-size: .78rem; color: var(--green); }
.welcome-hint:empty { display: none; }
.welcome-actions { display: flex; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.welcome-actions .welcome-link { background: none; border: none; cursor: pointer; font-size: .78rem; }

/* porta de verificacao de e-mail (bloqueia o painel ate confirmar) */
.verify-gate {
    position: fixed; inset: 0; z-index: 9998; display: flex; align-items: center; justify-content: center;
    background: rgba(6, 8, 16, .96); padding: 20px; overflow: auto;
}
/* display:flex do autor vence o [hidden] padrao do navegador: sem esta
   regra a tela de codigo ficava sempre visivel, mesmo com hidden=true */
.verify-gate[hidden] { display: none; }
.verify-gate-card {
    width: 100%; max-width: 460px; background: var(--card-bg); border: 1px solid var(--cyan);
    border-radius: 14px; padding: 26px 24px; text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .55);
}
.verify-gate-icon { font-size: 2rem; margin-bottom: 8px; }
.verify-gate-title { font-size: 1.05rem; color: var(--cyan); margin-bottom: 10px; }
.verify-gate-text { font-size: .84rem; color: var(--text); line-height: 1.6; margin-bottom: 16px; }
.verify-gate-code { display: flex; gap: 8px; align-items: stretch; }
.verify-gate-code .tool-input { flex: 1; }
.verify-gate-code .btn-send { width: auto; padding: 0 18px; }
.verify-gate-hint { font-size: .78rem; margin-top: 10px; min-height: 18px; color: var(--text-muted); }
.verify-gate-hint.ok { color: var(--green); }
.verify-gate-hint.err { color: #ff6b6b; }
.verify-gate-foot { margin-top: 14px; display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; }
.gate-link { background: none; border: none; color: var(--cyan); cursor: pointer; font-size: .78rem; }
.gate-link:hover { text-decoration: underline; }
.gate-link.danger { color: #ff6b6b; }
.gate-sep { color: var(--text-dim); }
@media (max-width: 520px) {
    .verify-gate-code { flex-direction: column; }
    .verify-gate-code .btn-send { width: 100% !important; padding: 10px 18px; }
}

/* ---------------------------------------------------------------------------
   MOBILE: campos com 16px
   Abaixo de 16px o Safari do iOS dá zoom automático ao tocar no campo e mantém
   o zoom depois, o usuario fica preso ampliado. No Android 16px é o tamanho
   padrão de sistema, então não prejudica. A altura do campo é a mesma (padding
   vertical), só o texto cresce um pouco.
   --------------------------------------------------------------------------- */
@media (max-width: 768px) {
    /* !important e necessario: o <style> inline de client.html define
       .profile-field input e .tool-field input com 0.85rem e vem DEPOIS do
       client.css, entao ganha no desempate de especificidade. */
    .tool-input,
    .aff-input,
    .form-group input,
    .form-group select,
    .form-group textarea,
    .sup-field input,
    .sup-field textarea,
    input[type="text"],
    input[type="password"],
    input[type="number"],
    input[type="email"],
    input[type="date"],
    input[type="search"],
    input[type="url"],
    select,
    textarea {
        font-size: 16px !important;
    }

    /* Alvos de toque: o guia e 44px. "Sair" tinha 25x20 e era o botao de
       logout. O padding aumenta a area sensivel sem mudar o visual do texto. */
    .topbar-nav a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        min-width: 44px;
        padding: 0 8px;
        justify-content: center;
    }
    .topbar-nav { gap: 4px; }
    /* a marca ocupa espaco e nao e acao: nao precisa de area de toque */
    .topbar-brand { padding: 6px 0; }
}

/* ============================================================
   "Outras Ferramentas": icones (emoji) e cards ricos
   ============================================================ */

/* --- Clima: condicoes atuais + grade de previsao --- */
.wx-now {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 212, 255, .07), rgba(255, 255, 255, .02));
    margin-bottom: 12px;
}
.wx-now-ico { font-size: 2.6rem; line-height: 1; flex: none; }
.wx-now-body { min-width: 0; }
.wx-now-city { font-size: .82rem; color: var(--text-muted); }
.wx-now-city span { color: var(--text-dim, #7a8699); }
.wx-now-temp { font-size: 1.4rem; font-weight: 700; color: #fff; line-height: 1.2; }
.wx-now-temp span { font-size: .8rem; font-weight: 400; color: var(--text-muted); }
.wx-now-meta { font-size: .76rem; color: var(--text-muted); margin-top: 2px; }
.wx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.wx-day { border: 1px solid var(--card-border); border-radius: 10px; padding: 8px 6px; text-align: center; background: rgba(255, 255, 255, .02); }
.wx-day-ico { font-size: 1.5rem; line-height: 1; }
.wx-day-date { font-size: .68rem; color: var(--text-muted); margin-top: 3px; text-transform: capitalize; }
.wx-day-temp { font-size: .86rem; margin-top: 3px; }
.wx-day-temp b { color: #fff; }
.wx-day-temp span { color: var(--text-dim, #7a8699); margin-left: 4px; }
.wx-day-cond { font-size: .62rem; color: var(--text-muted); margin-top: 3px; min-height: 2.1em; }
.wx-day-rain { font-size: .64rem; color: #7fb3ff; margin-top: 3px; }

/* --- Moeda: resultado em destaque + serie de dias --- */
.fx-result {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 12px 14px;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(34, 197, 94, .08), rgba(255, 255, 255, .02));
    margin-bottom: 12px;
}
.fx-result .fx-flag { font-size: 1.05rem; font-weight: 700; color: var(--cyan); }
.fx-result .fx-amount { font-size: .9rem; color: var(--text-muted); }
.fx-result .fx-eq { color: var(--text-dim, #7a8699); }
.fx-result .fx-out { font-size: 1.05rem; font-weight: 700; color: var(--green); }

/* --- Wikipedia --- */
.wiki-card { border: 1px solid var(--card-border); border-radius: 12px; padding: 12px 14px; background: rgba(255, 255, 255, .02); }
.wiki-title { font-weight: 700; color: #fff; margin-bottom: 6px; }
.wiki-text { font-size: .84rem; line-height: 1.6; color: var(--text); }
.wiki-link { display: inline-block; margin-top: 10px; font-size: .78rem; color: var(--cyan); text-decoration: none; }
.wiki-link:hover { text-decoration: underline; }

/* --- Senha: valor + barra de forca --- */
.pw-wrap { border: 1px solid var(--card-border); border-radius: 12px; padding: 12px 14px; background: rgba(255, 255, 255, .02); }
.pw-value { font-family: 'JetBrains Mono', monospace; font-size: .95rem; color: #fff; word-break: break-all; }
.pw-bar { height: 7px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; margin: 10px 0 6px; }
.pw-bar span { display: block; height: 100%; border-radius: 6px; }
.pw-meta { font-size: .74rem; color: var(--text-muted); }

/* --- Piada --- */
.joke-card { border: 1px solid var(--card-border); border-left: 3px solid var(--cyan); border-radius: 10px; padding: 12px 14px; background: rgba(0, 212, 255, .05); font-size: .88rem; line-height: 1.6; }

/* --- Livros --- */
.bk-card { border: 1px solid var(--card-border); border-radius: 12px; padding: 12px 14px; background: rgba(255, 255, 255, .02); }
.bk-head { margin-bottom: 8px; }
.bk-title { font-weight: 700; color: #fff; font-size: .95rem; line-height: 1.3; }
.bk-meta { font-size: .74rem; color: var(--text-muted); margin-top: 2px; }
.bk-src { color: var(--cyan); font-weight: 600; }
.bk-text {
    font-size: .84rem; line-height: 1.7; color: var(--text);
    white-space: pre-wrap; word-break: break-word;
    max-height: 340px; overflow-y: auto;
    padding: 10px 12px; border-radius: 10px;
    background: rgba(0, 0, 0, .22); border: 1px solid rgba(255, 255, 255, .05);
}
.bk-foot { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: 10px; }
.bk-note { font-size: .72rem; color: var(--text-dim, #7a8699); }
.bk-link { font-size: .78rem; color: var(--cyan); text-decoration: none; font-weight: 600; }
.bk-link:hover { text-decoration: underline; }
.bk-alt { margin-top: 8px; font-size: .72rem; color: var(--text-muted); }
.bk-alt a { color: var(--cyan); text-decoration: none; }
.bk-alt a:hover { text-decoration: underline; }
