:root {
    --bg: #07080b;
    --panel: #0d0f14;
    --panel-2: #12151c;
    --text: #f2f5ef;
    --muted: #8d949e;
    --line: rgba(255,255,255,.10);
    --lime: #c3ff59;
    --violet: #9670ff;
    --cyan: #6ee7ff;
    --danger: #ff6464;
    --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 320px;
    color: var(--text);
    background:
        radial-gradient(circle at 82% 12%, rgba(150,112,255,.14), transparent 28rem),
        radial-gradient(circle at 20% 72%, rgba(195,255,89,.07), transparent 30rem),
        var(--bg);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    letter-spacing: -.01em;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .13;
    background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, black, transparent 85%);
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.site-shell { min-height: 100vh; overflow: hidden; }

.topbar {
    width: var(--shell);
    height: 86px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 20;
}
.brand { display: flex; gap: 12px; align-items: center; }
.brand-mark {
    width: 43px; height: 43px; display: grid; place-items: center;
    background: var(--lime); color: #080a08; font-weight: 950; font-size: 14px;
    clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
}
.brand-copy { display: grid; line-height: 1; gap: 5px; }
.brand-copy strong { font-size: 18px; letter-spacing: .12em; }
.brand-copy small { color: var(--muted); font-size: 8px; letter-spacing: .2em; }
.main-nav { display: flex; justify-content: center; gap: clamp(18px, 3vw, 42px); }
.main-nav a { color: #a9afb7; font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; padding: 34px 0 31px; position: relative; }
.main-nav a:hover, .main-nav a.active { color: white; }
.main-nav a.active::after { content:""; position: absolute; height: 2px; left: 0; right: 0; bottom: -1px; background: var(--lime); }
.account-link { display:flex; align-items:center; gap:16px; font-size:11px; letter-spacing:.12em; text-transform:uppercase; }
.account-link b { width:32px; height:32px; display:grid; place-items:center; border:1px solid var(--line); font-size:17px; transition:.2s; }
.account-link:hover b { background:var(--lime); color:#080a08; border-color:var(--lime); }

.eyebrow { color: var(--lime); font-weight: 800; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.hero { min-height: 690px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; padding: 80px 0 70px; }
.hero-copy h1, .page-hero h1 { margin: 20px 0 24px; font-size: clamp(55px, 7vw, 100px); line-height: .89; letter-spacing: -.075em; font-weight: 850; max-width: 800px; }
.hero-copy h1 span, .page-hero h1 span { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.54); }
.hero-lead, .page-hero p { color: #a5abb4; font-size: 17px; line-height: 1.75; max-width: 690px; }
.hero-actions { display: flex; gap: 12px; margin: 35px 0 58px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid transparent; text-transform: uppercase; letter-spacing: .09em; font-size: 10px; font-weight: 850; cursor: pointer; }
.button-primary { background: var(--lime); color: #080a08; box-shadow: 0 0 42px rgba(195,255,89,.08); }
.button-primary:hover { filter: brightness(1.08); }
.button-primary:disabled { opacity: .45; cursor: not-allowed; }
.button-ghost { border-color: var(--line); color: white; }
.button-ghost:hover { border-color: rgba(255,255,255,.35); }
.button-dark { background: #080a0d; border-color: rgba(255,255,255,.16); }
.full-button { width: 100%; border: 0; }
.hero-footnote { display: grid; grid-template-columns: 42px 1fr; gap: 16px; align-items: start; max-width: 510px; }
.hero-footnote span, .security-note span { color: var(--lime); font-family: Consolas, monospace; font-size: 11px; border-top: 1px solid var(--lime); padding-top: 8px; }
.hero-footnote p { margin: 0; color: #767d86; font-size: 12px; line-height: 1.65; }

/* HOME — abertura compacta + atualizacoes acima da dobra */
.home-opening { display:grid; grid-template-columns:minmax(0,.82fr) minmax(430px,1.18fr); gap:26px; padding:58px 0 44px; align-items:stretch; }
.home-intro { padding:28px 0 20px; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; }
.home-intro h1 { margin:18px 0 20px; max-width:510px; font-size:clamp(46px,5.2vw,76px); line-height:.9; letter-spacing:-.072em; font-weight:850; }
.home-intro h1 span { display:block; color:transparent; -webkit-text-stroke:1px rgba(255,255,255,.54); }
.home-intro > p { margin:0; max-width:540px; color:#a5abb4; font-size:15px; line-height:1.72; }
.home-intro .hero-actions { margin:28px 0 30px; }
.home-trust-row { width:100%; display:flex; flex-wrap:wrap; gap:9px; }
.home-trust-row span { border:1px solid var(--line); padding:9px 10px; color:#8f97a1; font-size:9px; letter-spacing:.09em; text-transform:uppercase; }
.home-trust-row b { color:var(--lime); margin-right:4px; }
.home-devlog { position:relative; overflow:hidden; padding:26px 28px 12px; border:1px solid rgba(195,255,89,.40); background:linear-gradient(135deg,rgba(195,255,89,.13),rgba(18,20,25,.94) 38%,rgba(18,20,25,.98)); box-shadow:0 22px 70px rgba(0,0,0,.18); }
.home-devlog::before { content:"DEVLOG"; position:absolute; right:-12px; top:-15px; color:rgba(195,255,89,.045); font-size:94px; font-weight:900; letter-spacing:-.09em; pointer-events:none; }
.home-devlog-head { position:relative; z-index:1; display:flex; align-items:flex-start; justify-content:space-between; gap:18px; padding-bottom:17px; border-bottom:1px solid rgba(255,255,255,.13); }
.home-devlog-head h2 { margin:9px 0 0; font-size:28px; letter-spacing:-.045em; }
.home-devlog-head > a { color:var(--lime); white-space:nowrap; font-size:9px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; padding-top:6px; }
.home-devlog-feed { position:relative; z-index:1; }
.home-news-item { padding:15px 0 16px; border-bottom:1px solid rgba(255,255,255,.10); }
.home-news-item:last-child { border-bottom:0; }
.home-news-item.is-pinned { margin-inline:-10px; padding-inline:10px; background:rgba(195,255,89,.06); border-left:2px solid var(--lime); }
.home-news-item h3 { margin:8px 0 5px; font-size:18px; letter-spacing:-.025em; line-height:1.16; }
.home-news-item p { margin:0; color:#a8afb8; font-size:12px; line-height:1.5; }
.home-news-item .news-meta { color:#d6dce4; opacity:.72; }
.home-news-item .news-meta b { color:var(--lime); font-size:8px; }

.fair-core { width: min(480px, 90vw); aspect-ratio: 1; margin-inline: auto; position: relative; display: grid; place-items: center; }
.fair-core::before { content:""; position:absolute; inset:8%; border-radius:50%; background:radial-gradient(circle, rgba(195,255,89,.10), transparent 55%); filter:blur(6px); }
.core-orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); }
.orbit-one { inset: 8%; animation: spin 24s linear infinite; }
.orbit-one::before, .orbit-two::before { content:""; position:absolute; width:8px; height:8px; border-radius:50%; background:var(--lime); top:12%; left:15%; box-shadow:0 0 18px var(--lime); }
.orbit-two { inset: 20%; border-style: dashed; animation: spinReverse 18s linear infinite; }
.orbit-two::before { background:var(--violet); box-shadow:0 0 18px var(--violet); top:auto; left:auto; bottom:4%; right:32%; }
.core-center { width: 47%; aspect-ratio:1; border-radius:50%; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; border:1px solid rgba(195,255,89,.6); background:radial-gradient(circle at 50% 35%, rgba(195,255,89,.17), #0a0c10 65%); box-shadow:0 0 80px rgba(195,255,89,.09), inset 0 0 50px rgba(195,255,89,.05); }
.core-center small { font-size:9px; letter-spacing:.24em; color:var(--lime); }
.core-center strong { font-size:52px; letter-spacing:-.08em; margin:8px 0 2px; }
.core-center span { font-size:8px; letter-spacing:.18em; color:#929aa2; }
.core-label { position:absolute; padding:10px 12px; background:rgba(9,11,14,.85); border:1px solid var(--line); color:#9299a2; font-size:9px; letter-spacing:.11em; text-transform:uppercase; backdrop-filter:blur(8px); }
.core-label b { color:white; margin-right:6px; }
.label-a { left:0; top:28%; }.label-b { right:0; top:48%; }.label-c { left:15%; bottom:8%; }
@keyframes spin { to { transform:rotate(360deg); } }
@keyframes spinReverse { to { transform:rotate(-360deg); } }

.signal-strip { border-block:1px solid var(--line); background:rgba(255,255,255,.015); }
.signal-grid { min-height:65px; display:grid; grid-template-columns:repeat(4,1fr); align-items:center; }
.signal-grid span { color:#747b84; font-size:9px; letter-spacing:.17em; text-align:center; border-right:1px solid var(--line); }
.signal-grid span:first-child { border-left:1px solid var(--line); }

.manifesto-section, .server-section, .split-section { padding-top: 120px; }
.section-heading { display:flex; justify-content:space-between; gap:40px; align-items:end; margin-bottom:42px; }
.section-heading h2 { font-size:clamp(35px,4vw,57px); letter-spacing:-.055em; margin:14px 0 0; line-height:1; }
.section-heading > p { max-width:420px; color:#818892; line-height:1.7; margin:0; }
.section-heading.compact { align-items:center; }
.text-link { color:#bcc2ca; font-size:10px; letter-spacing:.11em; text-transform:uppercase; }
.text-link:hover { color:var(--lime); }
.manifesto-grid { display:grid; grid-template-columns:1.25fr .75fr; gap:14px; }
.manifesto-card { min-height:270px; padding:24px; border:1px solid var(--line); background:linear-gradient(145deg, rgba(255,255,255,.025), rgba(255,255,255,.005)); display:flex; flex-direction:column; justify-content:space-between; }
.manifesto-card.card-large { grid-row:span 2; min-height:554px; background:radial-gradient(circle at 65% 35%, rgba(150,112,255,.14), transparent 40%), var(--panel); }
.manifesto-card.accent-card { background:var(--lime); color:#080a08; }
.card-index { align-self:flex-end; font:11px Consolas,monospace; color:#6f7680; }
.accent-card .card-index { color:rgba(0,0,0,.5); }
.manifesto-card small { font-size:9px; letter-spacing:.18em; color:var(--lime); }
.accent-card small { color:#080a08; }
.manifesto-card h3 { font-size:clamp(25px,3vw,43px); line-height:1.05; letter-spacing:-.05em; max-width:560px; margin:16px 0; }
.manifesto-card p { color:#9299a2; max-width:570px; line-height:1.65; margin:0; }
.accent-card p { color:rgba(8,10,8,.72); }

.server-grid { display:grid; grid-template-columns:1fr; gap:14px; }
.server-card { padding:28px; min-height:330px; border:1px solid var(--line); background:var(--panel); position:relative; overflow:hidden; }
.server-card::after { content:""; position:absolute; width:220px; aspect-ratio:1; right:-80px; bottom:-100px; border-radius:50%; filter:blur(10px); opacity:.12; }
.server-card.lime::after { background:var(--lime); }.server-card.violet::after { background:var(--violet); }
.server-topline, .server-meta { display:flex; justify-content:space-between; color:#707782; font-size:9px; letter-spacing:.14em; }
.status-badge { display:inline-flex; align-items:center; gap:8px; color:#aeb5bd; }
.status-badge i, .live-dot { width:7px; height:7px; background:var(--lime); border-radius:50%; box-shadow:0 0 12px var(--lime); }
.server-card h3 { font-size:44px; letter-spacing:-.055em; margin:45px 0 8px; }
.server-card p { color:#8e959e; margin:0; }
.capacity-row { display:grid; grid-template-columns:auto 1fr auto; align-items:end; gap:20px; margin:38px 0 40px; }
.capacity-row > div:first-child { display:grid; }
.capacity-row strong { font-size:26px; }.capacity-row span, .capacity-row small { color:#737a83; font-size:9px; letter-spacing:.1em; text-transform:uppercase; }
.capacity-bar { height:3px; background:#252932; margin-bottom:8px; }
.capacity-bar i { display:block; height:100%; background:var(--lime); }
.server-card.violet .capacity-bar i { background:var(--violet); }
.server-meta a { color:white; }

.split-section { padding-bottom:120px; display:grid; grid-template-columns:1.15fr .85fr; gap:14px; }
.ranking-preview, .devlog-preview { border:1px solid var(--line); padding:30px; background:rgba(255,255,255,.018); }
.ranking-row { display:grid; grid-template-columns:38px 42px 1fr auto; gap:16px; align-items:center; min-height:72px; border-top:1px solid var(--line); }
.rank-number { font-family:Consolas,monospace; color:#858c95; }
.class-token { width:38px; height:38px; display:grid; place-items:center; background:#171a21; color:var(--lime); font-size:9px; font-weight:800; }
.ranking-row div:nth-child(3) { display:grid; gap:5px; }.ranking-row small { color:#747b85; font-size:9px; text-transform:uppercase; letter-spacing:.09em; }
.ranking-score { text-align:right; display:grid; }.ranking-score strong { font-size:22px; }
.devlog-preview { background:var(--violet); color:#090a0e; }
.devlog-preview .eyebrow { color:#090a0e; }
.devlog-preview article { border-top:1px solid rgba(0,0,0,.22); padding:25px 0; }
.news-meta { display:flex; gap:12px; align-items:center; color:inherit; font-size:8px; letter-spacing:.13em; text-transform:uppercase; opacity:.75; }
.news-meta time { margin-left:auto; }
.devlog-preview h3 { font-size:26px; letter-spacing:-.04em; margin:12px 0; }
.devlog-preview p { color:rgba(9,10,14,.7); line-height:1.55; font-size:13px; }

.page-hero { padding:100px 0 70px; border-bottom:1px solid var(--line); }
.page-hero h1 { font-size:clamp(52px,7vw,90px); }
.server-page-grid { padding:65px 0 30px; display:grid; gap:18px; }
.server-detail { padding:34px; background:var(--panel); border:1px solid var(--line); }
.server-detail-head { display:flex; justify-content:space-between; gap:30px; }
.server-detail h2 { font-size:48px; letter-spacing:-.055em; margin:18px 0 8px; }
.server-detail p { color:#9299a2; }
.role-block { text-align:right; display:grid; align-content:start; gap:8px; }.role-block small { color:#6f7680; font-size:8px; letter-spacing:.15em; }.role-block strong { font-size:50px; color:var(--lime); }
.server-detail.violet .role-block strong { color:var(--violet); }
.server-stat-grid { display:grid; grid-template-columns:repeat(4,1fr); border-block:1px solid var(--line); margin:34px 0; }
.server-stat-grid div { padding:24px 20px; border-right:1px solid var(--line); display:grid; gap:6px; }.server-stat-grid div:last-child { border:0; }
.server-stat-grid strong { font-size:21px; }.server-stat-grid span { color:#737b84; font-size:8px; letter-spacing:.13em; text-transform:uppercase; }
.server-principle { display:grid; grid-template-columns:100px 1fr; gap:20px; align-items:start; }.server-principle small { color:var(--lime); font-size:8px; letter-spacing:.14em; }.server-principle p { margin:0; }
.architecture-callout { margin-top:30px; margin-bottom:100px; min-height:90px; border:1px solid var(--line); display:flex; align-items:center; justify-content:center; gap:18px; flex-wrap:wrap; color:#848b94; font-size:9px; letter-spacing:.14em; }
.architecture-callout i { width:45px; height:1px; background:var(--lime); }

.ranking-page { padding:60px 0 110px; }
.ranking-toolbar { display:flex; gap:10px; margin-bottom:25px; }
.fake-select { min-width:200px; border:1px solid var(--line); padding:15px 16px; display:flex; justify-content:space-between; color:#a4abb3; font-size:9px; letter-spacing:.13em; }
.ranking-header-row, .ranking-full-row { display:grid; grid-template-columns:55px 1.2fr 1.2fr 1fr .8fr .6fr .5fr; gap:18px; align-items:center; }
.ranking-header-row { padding:14px 20px; color:#666e78; font-size:8px; letter-spacing:.13em; }
.ranking-full-row { min-height:76px; padding:0 20px; border-top:1px solid var(--line); background:rgba(255,255,255,.012); }
.ranking-full-row:hover { background:rgba(195,255,89,.035); }
.ranking-full-row span { color:#979ea7; font-size:13px; }.server-chip { color:var(--lime)!important; font-size:9px!important; letter-spacing:.12em; }

.news-list { padding:55px 0 110px; }
.news-list-item { display:grid; grid-template-columns:75px 1fr 40px; gap:30px; padding:38px 10px; border-top:1px solid var(--line); align-items:start; }
.news-date { display:grid; }.news-date strong { font-size:36px; }.news-date span { color:var(--lime); font-size:9px; letter-spacing:.14em; }
.news-list-item h2 { font-size:clamp(28px,4vw,48px); letter-spacing:-.05em; margin:14px 0; }
.news-list-item p { color:#8d949d; max-width:760px; line-height:1.65; }
.news-meta b { color:var(--lime); font-size:8px; }.news-arrow { font-size:24px; color:#737a83; }

.download-grid { padding:60px 0 110px; display:grid; grid-template-columns:1.15fr .85fr; gap:14px; }
.download-primary { grid-row:span 2; min-height:540px; padding:40px; border:1px solid var(--line); background:radial-gradient(circle at 70% 25%, rgba(195,255,89,.11), transparent 40%),var(--panel); display:flex; flex-direction:column; align-items:flex-start; }
.download-primary h2 { font-size:57px; letter-spacing:-.06em; margin:60px 0 14px; }.download-primary p { color:#9299a2; max-width:530px; line-height:1.65; }
.download-meta { display:flex; gap:35px; margin:auto 0 25px; color:#717983; font-size:8px; letter-spacing:.13em; }.download-meta span { display:grid; gap:6px; }.download-meta b { color:white; }
.integrity-card, .requirements-card { padding:30px; border:1px solid var(--line); background:rgba(255,255,255,.018); }
.integrity-card small, .requirements-card small { color:var(--lime); letter-spacing:.15em; font-size:8px; }.integrity-card h3 { font-size:28px; letter-spacing:-.04em; }
.integrity-card p { color:#808792; font-size:12px; line-height:1.6; }.hash-line { display:grid; gap:6px; padding:16px; background:#08090d; }.hash-line span { color:#727a83; font-size:8px; }.hash-line code { font-size:10px; color:#b0b7c0; overflow:hidden; }
.requirements-card ul { list-style:none; padding:0; margin:22px 0 0; }.requirements-card li { display:flex; justify-content:space-between; padding:13px 0; border-top:1px solid var(--line); font-size:11px; }.requirements-card li span { color:#6f7680; letter-spacing:.12em; }

.account-shell { padding:80px 0 110px; display:grid; grid-template-columns:1fr .8fr; gap:90px; align-items:start; }
.account-manifesto h1 { font-size:clamp(52px,6vw,82px); line-height:.91; letter-spacing:-.07em; margin:20px 0 24px; }.account-manifesto h1 span { color:transparent; -webkit-text-stroke:1px rgba(255,255,255,.55); }
.account-manifesto > p { color:#9299a2; line-height:1.7; max-width:600px; }
.security-note { display:grid; grid-template-columns:40px 1fr; gap:18px; margin-top:28px; max-width:560px; }.security-note p { color:#777f89; font-size:12px; line-height:1.55; margin:0; }
.account-card { background:var(--panel); border:1px solid var(--line); padding:28px; }
.account-card-head { display:flex; justify-content:space-between; padding-bottom:25px; border-bottom:1px solid var(--line); color:#7a828c; font-size:8px; letter-spacing:.14em; }.account-card-head span { color:var(--lime); }
.account-card form { display:grid; gap:17px; padding-top:25px; }.account-card label { display:grid; gap:8px; }.account-card label span { color:#747c85; font-size:8px; letter-spacing:.13em; }
.account-card input { width:100%; height:49px; border:1px solid var(--line); background:#090b0f; color:white; padding:0 14px; outline:none; }.account-card input:focus { border-color:var(--lime); }
.validation-errors { color:#ff8c8c; font-size:11px; padding-left:18px; }.form-message { margin-top:18px; padding:14px; border:1px solid rgba(195,255,89,.35); color:#c7e99a; font-size:12px; line-height:1.5; }

.empty-state { min-height:600px; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; }.empty-state h1 { font-size:60px; letter-spacing:-.06em; margin:20px 0; }.empty-state p { color:#9299a2; margin-bottom:30px; }
.footer { min-height:150px; border-top:1px solid var(--line); display:flex; justify-content:space-between; align-items:center; gap:30px; }
.brand-line { font-size:10px; letter-spacing:.16em; }.footer p { color:#707882; font-size:11px; }.footer-status { display:flex; align-items:center; gap:10px; color:#747c85; font-size:8px; letter-spacing:.13em; }

@media (max-width: 900px) {
    :root { --shell: min(100% - 28px, 720px); }
    .topbar { height:auto; min-height:76px; grid-template-columns:1fr auto; }
    .main-nav { grid-column:1/-1; order:3; overflow:auto; justify-content:flex-start; border-top:1px solid var(--line); }
    .main-nav a { padding:16px 0; white-space:nowrap; }
    .hero { grid-template-columns:1fr; gap:20px; padding-top:70px; }
    .fair-core { max-width:430px; }
    .signal-grid { grid-template-columns:1fr 1fr; }.signal-grid span { min-height:52px; display:grid; place-items:center; border-bottom:1px solid var(--line); }
    .manifesto-grid, .server-grid, .split-section, .download-grid, .account-shell { grid-template-columns:1fr; }
    .manifesto-card.card-large, .download-primary { grid-row:auto; min-height:420px; }
    .section-heading { align-items:start; flex-direction:column; }
    .server-stat-grid { grid-template-columns:1fr 1fr; }.server-stat-grid div:nth-child(2) { border-right:0; }
    .ranking-header-row { display:none; }.ranking-full-row { grid-template-columns:50px 1fr auto; }.ranking-full-row > *:nth-child(3), .ranking-full-row > *:nth-child(4), .ranking-full-row > *:nth-child(6) { display:none; }
    .account-shell { gap:45px; }
}

@media (max-width: 560px) {
    .account-link span { display:none; }
    .hero-copy h1, .page-hero h1 { font-size:52px; }
    .hero-actions { flex-direction:column; }.button { width:100%; }
    .fair-core { width:100%; }.core-center strong { font-size:40px; }.core-label { font-size:7px; }
    .manifesto-section, .server-section, .split-section { padding-top:80px; }
    .manifesto-card { min-height:310px; }.manifesto-card.card-large { min-height:410px; }
    .server-grid { grid-template-columns:1fr; }.server-card h3 { font-size:38px; }
    .server-detail-head { flex-direction:column; }.role-block { text-align:left; }.server-stat-grid { grid-template-columns:1fr; }.server-stat-grid div { border-right:0; border-bottom:1px solid var(--line); }
    .server-principle { grid-template-columns:1fr; }
    .ranking-toolbar { flex-direction:column; }.fake-select { min-width:100%; }
    .news-list-item { grid-template-columns:55px 1fr; }.news-arrow { display:none; }
    .footer { align-items:flex-start; flex-direction:column; justify-content:center; }
}

/* =========================================================
   RANKINGS V0.2 — RANKED + TOP RESETS
   ========================================================= */
.dual-ranking-section { padding-top:120px; }
.dual-ranking-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.ranking-preview { min-width:0; }
.ranking-preview-head { display:flex; justify-content:space-between; align-items:start; gap:20px; margin-bottom:20px; }
.ranking-preview-head small { color:var(--lime); font-size:8px; letter-spacing:.15em; }
.ranking-preview-head h3 { margin:8px 0 0; font-size:34px; letter-spacing:-.05em; }
.ranking-preview-head > span { color:#717983; font-size:8px; letter-spacing:.14em; }
.reset-preview { background:radial-gradient(circle at 90% 0, rgba(150,112,255,.13), transparent 35%), rgba(255,255,255,.018); }
.reset-preview .class-token { color:var(--violet); }
.ranking-preview-link { display:block; padding-top:20px; margin-top:8px; border-top:1px solid var(--line); color:#9da4ad; font-size:9px; letter-spacing:.13em; text-transform:uppercase; }
.ranking-preview-link:hover { color:var(--lime); }
.devlog-wide-section { padding:14px 0 120px; }
.devlog-preview.wide { min-height:auto; }
.devlog-wide-grid { display:grid; grid-template-columns:1fr 1fr; gap:30px; }

.ranking-hero { position:relative; }
.ranking-hero::after { content:"RANK / 02"; position:absolute; right:0; bottom:70px; color:rgba(255,255,255,.04); font-size:72px; font-weight:900; letter-spacing:-.06em; }
.ranking-mode-tabs { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:24px; }
.ranking-mode-tab { min-height:145px; padding:24px; border:1px solid var(--line); background:rgba(255,255,255,.012); display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-end; position:relative; overflow:hidden; transition:.2s ease; }
.ranking-mode-tab::before { content:""; position:absolute; inset:auto -30px -80px auto; width:190px; aspect-ratio:1; border-radius:50%; background:var(--violet); opacity:.06; filter:blur(8px); }
.ranking-mode-tab:first-child::before { background:var(--lime); }
.ranking-mode-tab small { color:#6f7780; font-size:8px; letter-spacing:.15em; }
.ranking-mode-tab strong { font-size:28px; letter-spacing:-.03em; margin:9px 0 5px; }
.ranking-mode-tab span { color:#858d96; font-size:11px; }
.ranking-mode-tab:hover { border-color:rgba(255,255,255,.28); transform:translateY(-2px); }
.ranking-mode-tab.active { border-color:rgba(195,255,89,.48); background:linear-gradient(120deg, rgba(195,255,89,.075), rgba(255,255,255,.012)); }
.ranking-mode-tab.active:last-child { border-color:rgba(150,112,255,.58); background:linear-gradient(120deg, rgba(150,112,255,.095), rgba(255,255,255,.012)); }
.ranking-mode-tab.active small { color:var(--lime); }
.ranking-mode-tab.active:last-child small { color:var(--violet); }

.ranking-context-bar { min-height:82px; display:grid; grid-template-columns:repeat(3, minmax(120px, .7fr)) 1.25fr; border:1px solid var(--line); margin-bottom:22px; background:#0a0c10; }
.ranking-context-bar > div { padding:18px 20px; border-right:1px solid var(--line); display:grid; gap:6px; align-content:center; }
.ranking-context-bar > div:last-child { border-right:0; }
.ranking-context-bar span { color:#727a84; font-size:8px; letter-spacing:.13em; text-transform:uppercase; }
.ranking-context-bar strong { font-size:14px; letter-spacing:.02em; }
.ranking-live-state { display:flex!important; grid-template-columns:auto 1fr; flex-direction:row; align-items:center!important; gap:10px!important; }
.ranking-live-state i { width:8px; height:8px; border-radius:50%; background:var(--lime); box-shadow:0 0 14px var(--lime); flex:0 0 auto; }
.reset-context .ranking-live-state i { background:var(--violet); box-shadow:0 0 14px var(--violet); }

.ranking-header-row.ranked-columns,
.ranking-full-row.ranked-columns { grid-template-columns:50px 1.05fr 1.2fr .65fr .65fr .7fr .8fr .65fr; }
.ranking-header-row.reset-columns,
.ranking-full-row.reset-columns { grid-template-columns:50px 1.25fr 1.15fr 1fr .55fr .65fr .8fr; }
.ranking-player { display:grid; gap:5px; min-width:0; }
.ranking-player strong, .ranking-player span { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ranking-player small { color:#646c76; font-size:8px; letter-spacing:.09em; text-transform:uppercase; }
.rating-value { color:var(--lime); font-size:19px; }
.win-value { color:var(--lime); }
.loss-value { color:#ff8585; }
.streak-value { color:#bbb2ff!important; }
.master-reset-value { color:var(--violet); font-size:19px; }
.ranking-full-row.podium-first { background:linear-gradient(90deg, rgba(195,255,89,.08), rgba(255,255,255,.012)); border-left:2px solid var(--lime); }
.ranking-full-row.podium-second { border-left:2px solid rgba(255,255,255,.6); }
.ranking-full-row.podium-third { border-left:2px solid #b88055; }
.ranking-empty { min-height:180px; border:1px solid var(--line); display:grid; place-items:center; color:#737b85; font-size:11px; letter-spacing:.08em; text-align:center; padding:30px; }

@media (max-width: 1050px) {
    .ranking-header-row.ranked-columns { display:none; }
    .ranking-full-row.ranked-columns { grid-template-columns:46px 1.1fr .9fr .65fr .65fr; }
    .ranking-full-row.ranked-columns > *:nth-child(3),
    .ranking-full-row.ranked-columns > *:nth-child(7),
    .ranking-full-row.ranked-columns > *:nth-child(8) { display:none; }
}

@media (max-width: 900px) {
    .home-opening { grid-template-columns:1fr; gap:18px; padding-top:38px; }
    .home-intro { padding:10px 0 4px; }
    .dual-ranking-grid, .devlog-wide-grid { grid-template-columns:1fr; }
    .ranking-mode-tabs { grid-template-columns:1fr; }
    .ranking-context-bar { grid-template-columns:1fr 1fr; }
    .ranking-context-bar > div:nth-child(2) { border-right:0; }
    .ranking-context-bar > div { border-bottom:1px solid var(--line); }
    .ranking-context-bar > div:nth-last-child(-n+2) { border-bottom:0; }
    .ranking-header-row.reset-columns { display:none; }
    .ranking-full-row.reset-columns { grid-template-columns:46px 1fr .65fr .8fr; }
    .ranking-full-row.reset-columns > *:nth-child(3),
    .ranking-full-row.reset-columns > *:nth-child(4),
    .ranking-full-row.reset-columns > *:nth-child(5) { display:none; }
}

@media (max-width: 560px) {
    .home-devlog { padding:22px 18px 8px; }
    .home-devlog-head { display:block; }
    .home-devlog-head > a { display:inline-block; margin-top:14px; padding-top:0; }
    .home-intro h1 { font-size:48px; }
    .home-trust-row { display:grid; grid-template-columns:1fr; }
    .dual-ranking-section { padding-top:80px; }
    .ranking-mode-tab { min-height:125px; }
    .ranking-context-bar { grid-template-columns:1fr; }
    .ranking-context-bar > div { border-right:0; border-bottom:1px solid var(--line)!important; }
    .ranking-context-bar > div:last-child { border-bottom:0!important; }
    .ranking-full-row.ranked-columns { grid-template-columns:38px 1fr .65fr; gap:10px; padding-inline:12px; }
    .ranking-full-row.ranked-columns > *:nth-child(5),
    .ranking-full-row.ranked-columns > *:nth-child(6) { display:none; }
    .ranking-full-row.reset-columns { grid-template-columns:38px 1fr .7fr; gap:10px; padding-inline:12px; }
    .ranking-full-row.reset-columns > *:nth-child(6) { display:none; }
    .ranking-hero::after { display:none; }
}

/* =========================================================
   CONTA v0.3 — LOGIN, SESSÃO E PAINEL DO JOGADOR
   ========================================================= */
.button-secondary { background:transparent; color:#d9dde2; border-color:var(--line); }
.button-secondary:hover { border-color:rgba(255,255,255,.35); color:white; }
.account-authenticated span { max-width:110px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--lime); }
.account-authenticated b { border-color:rgba(195,255,89,.3); }

.login-shell { min-height:720px; display:grid; grid-template-columns:1.08fr .72fr; gap:80px; align-items:center; padding:85px 0 100px; }
.login-manifesto h1 { margin:20px 0 25px; font-size:clamp(52px,6vw,82px); line-height:.91; letter-spacing:-.07em; }
.login-manifesto h1 span { color:transparent; -webkit-text-stroke:1px rgba(255,255,255,.55); }
.login-manifesto > p { max-width:660px; color:#969da6; font-size:15px; line-height:1.8; }
.login-trust-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; margin-top:45px; border:1px solid var(--line); background:var(--line); }
.login-trust-grid div { min-height:130px; display:flex; flex-direction:column; justify-content:space-between; gap:20px; padding:18px; background:#090b0f; }
.login-trust-grid strong { color:var(--lime); font:11px Consolas,monospace; }
.login-trust-grid span { color:#707984; font-size:8px; line-height:1.6; letter-spacing:.12em; }
.login-card { box-shadow:0 28px 100px rgba(0,0,0,.28); background:linear-gradient(155deg, rgba(255,255,255,.025), rgba(255,255,255,.005)), var(--panel); }
.login-card form { display:grid; gap:18px; padding-top:25px; }
.login-card label { display:grid; gap:8px; }
.login-card label > span { color:#747c85; font-size:8px; letter-spacing:.13em; }
.login-card input[type="text"], .login-card input[type="password"] { width:100%; height:52px; border:1px solid var(--line); background:#080a0e; color:white; padding:0 15px; outline:none; }
.login-card input:focus { border-color:var(--lime); box-shadow:0 0 0 3px rgba(195,255,89,.05); }
.remember-session { display:flex!important; grid-template-columns:auto 1fr; align-items:center; gap:10px!important; cursor:pointer; }
.remember-session input { appearance:none; width:17px; height:17px; margin:0; border:1px solid rgba(255,255,255,.24); background:#080a0e; display:grid; place-items:center; }
.remember-session input:checked { background:var(--lime); border-color:var(--lime); }
.remember-session input:checked::after { content:"✓"; color:#060806; font-size:12px; font-weight:900; }
.remember-session span { color:#858d96!important; font-size:10px!important; letter-spacing:0!important; }
.login-message { margin-top:22px; padding:14px 15px; border:1px solid var(--line); font-size:11px; line-height:1.55; }
.login-message.error { color:#ffaaaa; border-color:rgba(255,100,100,.32); background:rgba(255,100,100,.055); }
.login-message.success { color:#cdefa0; border-color:rgba(195,255,89,.3); background:rgba(195,255,89,.05); }
.login-card-footer { display:flex; justify-content:space-between; gap:18px; padding-top:23px; margin-top:24px; border-top:1px solid var(--line); font-size:10px; }
.login-card-footer span { color:#737b84; }
.login-card-footer a { color:var(--lime); text-transform:uppercase; letter-spacing:.08em; font-weight:800; }

/* PORTAL HOME - identidade MUNPTW */
.portal-shell { background:#050606; }
.portal-topbar { height:82px; border-color:rgba(184,255,44,.12); }
.portal-brand { gap:10px; }
.portal-brand .brand-mark { width:42px; height:48px; background:transparent url('/images/nptw-mark-official.png') center/contain no-repeat; color:transparent; clip-path:none; }
.portal-brand .brand-copy { gap:3px; }
.portal-brand .brand-copy strong { font-family:Georgia,serif; font-size:21px; letter-spacing:.055em; }
.portal-brand .brand-copy strong i { color:#f0f0ed; font-style:normal; }.portal-brand .brand-copy strong b { color:var(--lime); font-weight:700; }
.portal-brand .brand-copy small { color:#bec1bd; font-size:7px; letter-spacing:.44em; padding-left:2px; }
.portal-nav { gap:clamp(21px,2.7vw,42px); }.portal-nav a { font-size:10px; padding-block:33px 29px; }
.portal-account { min-height:34px; padding:0 16px; border:1px solid rgba(184,255,44,.55); color:var(--lime); font-size:9px; font-weight:800; letter-spacing:.1em; }.portal-account b { display:none; }

.portal-home { position:relative; min-height:calc(100vh - 82px); isolation:isolate; overflow:hidden; border-bottom:1px solid rgba(184,255,44,.12); }
.portal-hero-art { position:absolute; z-index:-2; inset:0; background-image:linear-gradient(90deg,#050606 0%,rgba(5,6,6,.96) 28%,rgba(5,6,6,.43) 60%,rgba(5,6,6,.24)),linear-gradient(0deg,#050606 0%,transparent 30%),url('/images/nptw-hero-knight-v1.png'); background-size:cover; background-position:center; opacity:.95; }
.portal-home::after { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; background:radial-gradient(circle at 55% 32%,rgba(184,255,44,.075),transparent 19rem),linear-gradient(90deg,rgba(184,255,44,.025) 1px,transparent 1px); background-size:auto,76px 100%; opacity:.75; }
.portal-home-content { padding:46px 0 22px; }
.portal-hero-grid { min-height:430px; display:grid; grid-template-columns:1.05fr .58fr .52fr; align-items:center; gap:20px; }
.portal-copy { padding-top:10px; }.portal-copy .eyebrow { color:#b8ff2c; font-size:9px; letter-spacing:.145em; }.portal-copy h1 { margin:15px 0 14px; max-width:500px; outline:0; font-family:Impact,"Arial Narrow",sans-serif; font-size:clamp(58px,6vw,94px); line-height:.89; letter-spacing:.005em; }.portal-copy h1:focus,.portal-copy h1:focus-visible { outline:0; }.portal-copy h1 span { display:block; color:#050606; -webkit-text-stroke:0; text-shadow:-1px -1px 0 rgba(255,255,255,.60),1px -1px 0 rgba(255,255,255,.60),-1px 1px 0 rgba(255,255,255,.60),1px 1px 0 rgba(255,255,255,.60); }.portal-copy p { max-width:445px; color:#d1d5d1; font-size:13px; line-height:1.64; }
.portal-actions { display:flex; gap:14px; margin-top:23px; }.portal-button { min-height:44px; padding:0 20px; display:inline-flex; align-items:center; justify-content:center; gap:18px; color:#f4f5f2; border:1px solid rgba(255,255,255,.34); background:rgba(0,0,0,.34); text-transform:uppercase; font-size:10px; font-weight:850; letter-spacing:.04em; }.portal-button.primary { color:#0a0d07; border-color:#b8ff2c; background:#b8ff2c; box-shadow:0 0 28px rgba(184,255,44,.15); }.portal-button:hover { transform:translateY(-1px); filter:brightness(1.07); }.portal-button b { font-size:18px; line-height:1; }
.portal-online-ring { width:216px; height:216px; justify-self:center; display:flex; flex-direction:column; align-items:center; justify-content:center; border:1px solid rgba(184,255,44,.5); border-radius:50%; background:radial-gradient(circle,rgba(184,255,44,.15),rgba(5,7,5,.60) 52%,transparent 53%); box-shadow:0 0 0 14px rgba(184,255,44,.035),0 0 0 40px rgba(184,255,44,.017),0 0 60px rgba(184,255,44,.13); text-align:center; }.portal-online-ring small,.portal-online-ring em { font-style:normal; color:#d0d4ce; font-size:8px; letter-spacing:.08em; }.portal-online-ring small i { display:inline-block; width:5px; height:5px; margin-left:4px; border-radius:50%; background:#b8ff2c; box-shadow:0 0 9px #b8ff2c; }.portal-online-ring span { color:#b8ff2c; font-size:14px; letter-spacing:.16em; margin-top:12px; }.portal-online-ring strong { margin:4px 0; color:#fff; font-size:49px; letter-spacing:-.07em; }.portal-online-ring em { color:#b8ff2c; }
.portal-server-card { align-self:center; padding:19px; border:1px solid rgba(184,255,44,.38); background:linear-gradient(135deg,rgba(7,9,7,.92),rgba(8,10,9,.66)); backdrop-filter:blur(5px); }.portal-card-label { display:block; padding-bottom:15px; border-bottom:1px solid rgba(255,255,255,.12); font-size:13px; font-weight:900; }.portal-server-card > div { display:flex; flex-direction:column; gap:5px; padding-top:14px; }.portal-server-card small { color:#8f968e; font-size:8px; letter-spacing:.08em; }.portal-server-card strong { font-size:13px; }.portal-server-card .is-online { color:#b8ff2c; }.portal-server-card .is-offline { color:#ff7777; }.portal-mini-chart { height:45px; display:flex!important; flex-direction:row!important; align-items:end; gap:6px; border-bottom:1px solid rgba(184,255,44,.4); }.portal-mini-chart i { width:12%; background:linear-gradient(#b8ff2c,rgba(184,255,44,.15)); clip-path:polygon(0 100%,0 55%,50% 20%,100% 60%,100% 100%); height:var(--h,50%); }.portal-mini-chart i:nth-child(2){--h:30%}.portal-mini-chart i:nth-child(3){--h:65%}.portal-mini-chart i:nth-child(4){--h:43%}.portal-mini-chart i:nth-child(5){--h:82%}.portal-mini-chart i:nth-child(6){--h:55%}
.portal-benefits { display:grid; grid-template-columns:repeat(4,1fr); gap:0; padding:14px 0 24px; }.portal-benefits > div { display:flex; gap:11px; padding:0 17px; border-right:1px solid rgba(184,255,44,.22); }.portal-benefits > div:first-child { padding-left:0; }.portal-benefits > div:last-child { border:0; }.portal-benefits b { color:#b8ff2c; font-size:27px; font-weight:400; }.portal-benefits span { display:flex; flex-direction:column; gap:4px; color:#f5f6f3; font-size:10px; font-weight:800; }.portal-benefits small { color:#babeba; font-size:9px; font-weight:400; line-height:1.35; }
.portal-dashboard { display:grid; grid-template-columns:1.18fr 1.15fr .9fr 1.18fr; gap:14px; }.portal-panel { min-height:241px; padding:18px; border:1px solid rgba(255,255,255,.13); background:linear-gradient(145deg,rgba(8,10,9,.87),rgba(4,5,5,.92)); backdrop-filter:blur(4px); }.portal-panel-head { display:flex; justify-content:space-between; gap:12px; padding-bottom:13px; border-bottom:1px solid rgba(255,255,255,.12); color:#f3f4f2; font-size:11px; font-weight:850; }.portal-panel-head a { color:#9da39c; font-size:8px; letter-spacing:.08em; }.portal-panel-head a:hover,.portal-more:hover { color:#b8ff2c; }.portal-empty { color:#a7ada6; font-size:11px; line-height:1.55; }.portal-rank-row { display:grid; grid-template-columns:28px 1fr auto; gap:8px; align-items:center; padding:10px 0; border-bottom:1px solid rgba(255,255,255,.09); font-size:10px; }.portal-rank-row b { color:#b8ff2c; }.portal-rank-row span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.portal-rank-row small { color:#9fa59e; font-size:8px; }.portal-featured-news { background:linear-gradient(90deg,rgba(6,8,7,.94),rgba(6,8,7,.5)),url('/images/nptw-hero-knight-v1.png') center/cover; }.portal-featured-news .portal-date { display:inline-block; margin-top:18px; color:#afb5ac; font-size:8px; border:1px solid rgba(184,255,44,.23); padding:6px; }.portal-featured-news h2,.portal-download h2 { margin:17px 0 8px; font-size:25px; letter-spacing:-.045em; line-height:1; }.portal-featured-news p,.portal-download p { color:#c7ccc6; font-size:11px; line-height:1.5; }.portal-more { display:inline-block; margin-top:13px; color:#b8ff2c; font-size:9px; font-weight:850; letter-spacing:.05em; }.portal-events > div:not(.portal-panel-head) { display:flex; gap:13px; padding:9px 0; border-bottom:1px solid rgba(255,255,255,.10); font-size:10px; }.portal-events time { color:#9da39c; width:32px; }.portal-events .portal-more { width:100%; text-align:center; border:1px solid rgba(184,255,44,.30); padding:9px 4px; }.portal-download .portal-button { width:100%; margin-top:8px; }.portal-download-meta { display:flex; justify-content:space-between; gap:5px; margin-top:20px; padding-top:13px; border-top:1px solid rgba(255,255,255,.12); color:#aeb4ad; font-size:8px; }.portal-download-meta span:first-child { color:#b8ff2c; }
.portal-footer { min-height:104px; display:grid; grid-template-columns:auto 1fr auto; gap:28px; align-items:center; border-color:rgba(184,255,44,.12); }.portal-footer-links { display:flex; justify-content:center; gap:22px; color:#afb5af; text-transform:uppercase; font-size:8px; letter-spacing:.07em; }.portal-footer p { margin:0; color:#8e958d; font-size:9px; }

@media (max-width:1000px) { .portal-hero-grid { grid-template-columns:1fr .7fr; }.portal-server-card { display:none; }.portal-dashboard { grid-template-columns:repeat(2,1fr); }.portal-footer { grid-template-columns:1fr; text-align:center; justify-items:center; }.portal-benefits { grid-template-columns:repeat(2,1fr); gap:18px; }.portal-benefits > div:nth-child(2) { border:0; } }
@media (max-width:700px) { .portal-topbar { height:auto; min-height:72px; }.portal-nav { order:3; grid-column:1/-1; }.portal-hero-art { background-position:65% center; opacity:.55; }.portal-home-content { padding-top:26px; }.portal-hero-grid { grid-template-columns:1fr; min-height:0; }.portal-copy h1 { font-size:57px; }.portal-online-ring { margin:8px auto 20px; width:190px; height:190px; }.portal-benefits { grid-template-columns:1fr; }.portal-benefits > div { padding:0 0 13px; border:0; border-bottom:1px solid rgba(184,255,44,.17); }.portal-dashboard { grid-template-columns:1fr; }.portal-panel { min-height:210px; }.portal-footer-links { flex-wrap:wrap; }.portal-account { padding:0 9px; font-size:8px; }.portal-brand .brand-copy strong { font-size:18px; } }
.already-authenticated { min-height:350px; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; padding-top:25px; }
.already-authenticated .player-status-dot { width:10px; height:10px; margin-bottom:24px; border-radius:50%; background:var(--lime); box-shadow:0 0 20px var(--lime); }
.already-authenticated small { color:#747d86; font-size:8px; letter-spacing:.16em; }
.already-authenticated strong { margin:12px 0 4px; font-size:36px; letter-spacing:-.045em; }
.already-authenticated p { color:#858d96; font-size:12px; margin:0 0 30px; }

.account-dashboard { padding:80px 0 120px; }
.account-loading { min-height:650px; display:flex; flex-direction:column; justify-content:center; }
.account-loading h1 { margin:18px 0; font-size:55px; letter-spacing:-.055em; }
.account-dashboard-head { display:flex; justify-content:space-between; align-items:end; gap:40px; margin-bottom:42px; }
.account-dashboard-head h1 { margin:17px 0 12px; font-size:clamp(52px,6vw,82px); line-height:.92; letter-spacing:-.07em; }
.account-dashboard-head h1 span { color:transparent; -webkit-text-stroke:1px rgba(195,255,89,.65); }
.account-dashboard-head p { margin:0; color:#8b939d; line-height:1.6; }
.account-dashboard-head form { flex:0 0 auto; }
.account-overview-grid { display:grid; grid-template-columns:1.25fr .85fr .85fr .85fr; gap:12px; }
.account-identity-card, .account-stat-card { min-height:260px; padding:24px; border:1px solid var(--line); background:rgba(255,255,255,.015); }
.account-identity-card { grid-row:span 1; background:radial-gradient(circle at 80% 20%, rgba(150,112,255,.14), transparent 38%), var(--panel); }
.identity-monogram { width:76px; height:76px; display:grid; place-items:center; margin:27px 0 20px; background:var(--lime); color:#070907; font-size:25px; font-weight:950; clip-path:polygon(0 0,100% 0,100% 72%,72% 100%,0 100%); }
.account-identity-card > strong { display:block; font-size:27px; letter-spacing:-.035em; }
.identity-login, .identity-email { display:block; margin-top:7px; color:#808892; font-size:10px; }
.identity-email { color:#626a74; }
.success-text { color:var(--lime)!important; }
.danger-text { color:var(--danger)!important; }
.account-stat-card { display:flex; flex-direction:column; justify-content:flex-end; position:relative; overflow:hidden; }
.account-stat-card::after { content:""; position:absolute; width:130px; aspect-ratio:1; right:-55px; top:-60px; border-radius:50%; background:var(--violet); opacity:.06; filter:blur(6px); }
.account-online-card::after { background:var(--lime); }
.account-stat-card > small { color:#707984; font-size:8px; letter-spacing:.15em; margin-bottom:auto; }
.account-stat-card > strong { font-size:27px; letter-spacing:-.035em; margin-bottom:8px; }
.account-stat-card > span { color:#767f89; font-size:10px; line-height:1.5; }
.account-status-line { display:flex; align-items:center; gap:12px; margin-bottom:9px; }
.account-status-line i { width:9px; height:9px; border-radius:50%; }
.account-status-line i.online { background:var(--lime); box-shadow:0 0 16px var(--lime); }
.account-status-line i.offline { background:#5d646d; }
.account-status-line strong { font-size:27px; letter-spacing:-.035em; }
.wallet-values { display:grid; gap:10px; }
.wallet-values span { color:#7d858f; font-size:9px; letter-spacing:.1em; }
.wallet-values b { color:white; font-size:21px; letter-spacing:-.03em; margin-right:5px; }

.account-characters-section { padding-top:105px; }
.account-character-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.character-account-card { min-height:290px; padding:24px; border:1px solid var(--line); background:linear-gradient(145deg,rgba(255,255,255,.024),rgba(255,255,255,.004)); position:relative; overflow:hidden; }
.character-account-card::before { content:""; position:absolute; width:180px; aspect-ratio:1; right:-85px; bottom:-100px; border-radius:50%; background:var(--lime); opacity:.055; filter:blur(8px); }
.character-card-head { display:flex; justify-content:space-between; align-items:center; color:#737c86; font-size:8px; letter-spacing:.12em; }
.character-account-card h3 { margin:43px 0 5px; font-size:35px; letter-spacing:-.05em; }
.character-account-card > small { color:#686f79; font-size:9px; letter-spacing:.12em; }
.character-progress-grid { display:grid; grid-template-columns:repeat(3,1fr); margin-top:35px; border-block:1px solid var(--line); }
.character-progress-grid div { min-height:75px; display:flex; flex-direction:column; justify-content:center; gap:7px; border-right:1px solid var(--line); }
.character-progress-grid div:last-child { border-right:0; padding-left:14px; }
.character-progress-grid div:nth-child(2) { padding-left:14px; }
.character-progress-grid span { color:#69717a; font-size:7px; letter-spacing:.11em; }
.character-progress-grid strong { font-size:22px; }
.character-ranked-line { display:flex; justify-content:space-between; gap:10px; padding-top:19px; color:#656d77; font-size:8px; letter-spacing:.08em; }
.character-ranked-line b { color:#b6bdc5; }
.account-security-strip { min-height:180px; margin-top:100px; border:1px solid var(--line); display:grid; grid-template-columns:1fr 1fr; gap:50px; align-items:center; padding:35px; background:radial-gradient(circle at 90% 50%,rgba(195,255,89,.08),transparent 30%); }
.account-security-strip h2 { margin:13px 0 0; font-size:40px; letter-spacing:-.05em; }
.account-security-strip p { color:#858d96; line-height:1.75; margin:0; }

@media (max-width: 1050px) {
    .login-shell { grid-template-columns:1fr .78fr; gap:40px; }
    .account-overview-grid { grid-template-columns:1fr 1fr; }
    .account-identity-card { grid-row:span 2; }
    .account-character-grid { grid-template-columns:1fr 1fr; }
}

@media (max-width: 900px) {
    .login-shell { grid-template-columns:1fr; padding-top:65px; }
    .login-trust-grid { grid-template-columns:1fr 1fr 1fr; }
    .account-dashboard-head { flex-direction:column; align-items:flex-start; }
    .account-overview-grid { grid-template-columns:1fr 1fr; }
    .account-identity-card { grid-column:1/-1; grid-row:auto; }
    .account-security-strip { grid-template-columns:1fr; gap:20px; }
}

@media (max-width: 620px) {
    .login-trust-grid, .account-overview-grid, .account-character-grid { grid-template-columns:1fr; }
    .login-trust-grid div { min-height:100px; }
    .login-card-footer { flex-direction:column; }
    .account-dashboard { padding-top:55px; }
    .account-dashboard-head h1 { font-size:52px; }
    .account-stat-card { min-height:210px; }
    .character-progress-grid { grid-template-columns:1fr; }
    .character-progress-grid div { border-right:0; border-bottom:1px solid var(--line); padding-left:0!important; }
    .character-progress-grid div:last-child { border-bottom:0; }
    .character-ranked-line { flex-direction:column; }
}

/* Responsividade do portal: desktop, notebook, tablet e celular. */
@media (max-width: 1280px) {
    .portal-topbar,
    .portal-home-content,
    .portal-footer { width:calc(100% - 48px); }
    .portal-hero-grid { grid-template-columns:minmax(390px,1fr) minmax(350px,.96fr) 205px; gap:16px; }
    .portal-copy h1 { font-size:clamp(54px,5.7vw,70px); }
    .portal-online-ring { width:185px; height:185px; }
    .portal-online-ring strong { font-size:43px; }
    .portal-video-frame,.portal-video-frame video { min-height:278px; }
    .portal-benefits > div { padding-inline:11px; }
    .portal-dashboard { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width: 980px) {
    .portal-topbar { min-height:72px; height:auto; grid-template-columns:1fr auto; }
    .portal-nav { grid-column:1/-1; order:3; justify-content:flex-start; overflow-x:auto; gap:26px; border-top:1px solid rgba(184,255,44,.12); scrollbar-width:thin; }
    .portal-nav a { flex:0 0 auto; padding:16px 0 14px; font-size:9px; }
    .portal-hero-grid { grid-template-columns:minmax(0,1fr) 220px; min-height:0; padding-top:10px; }
    .portal-copy { grid-column:1/-1; padding-top:0; }
    .portal-copy p { max-width:620px; }
    .portal-video-frame { min-height:300px; }.portal-video-frame video { min-height:300px; }
    .portal-online-ring { align-self:center; }
    .portal-benefits { grid-template-columns:repeat(2,1fr); gap:14px 0; }
    .portal-benefits > div:nth-child(2) { border-right:0; }
    .portal-benefits > div:nth-child(n+3) { padding-top:12px; }
    .portal-footer { grid-template-columns:1fr; justify-items:center; text-align:center; gap:16px; padding-block:24px; }
}

@media (max-width: 680px) {
    .portal-topbar,
    .portal-home-content,
    .portal-footer { width:calc(100% - 28px); }
    .portal-brand .brand-mark { width:34px; height:40px; }
    .portal-brand .brand-copy strong { font-size:18px; }
    .portal-brand .brand-copy small { font-size:6px; }
    .portal-account { min-height:32px; padding-inline:10px; font-size:8px; }
    .portal-hero-art { background-position:69% center; opacity:.48; }
    .portal-home-content { padding-top:25px; }
    .portal-hero-grid { grid-template-columns:1fr; gap:20px; }
    .portal-copy h1 { max-width:450px; font-size:clamp(45px,14.5vw,64px); }
    .portal-copy p { font-size:12px; line-height:1.6; }
    .portal-actions { width:100%; flex-direction:column; gap:9px; }
    .portal-button { width:100%; min-height:46px; }
    .portal-video-frame,.portal-video-frame video { min-height:205px; }
    .portal-online-ring { width:178px; height:178px; margin-inline:auto; }
    .portal-online-ring strong { font-size:42px; }
    .portal-benefits { grid-template-columns:1fr; gap:0; padding-bottom:19px; }
    .portal-benefits > div,.portal-benefits > div:nth-child(2) { padding:12px 0; border-right:0; border-bottom:1px solid rgba(184,255,44,.18); }
    .portal-benefits > div:last-child { border-bottom:0; }
    .portal-dashboard { grid-template-columns:1fr; gap:11px; }
    .portal-panel { min-height:0; padding:16px; }
    .portal-featured-news h2,.portal-download h2 { font-size:23px; }
    .portal-footer-links { gap:13px 19px; }
}

@media (max-width: 390px) {
    .portal-topbar,
    .portal-home-content,
    .portal-footer { width:calc(100% - 22px); }
    .portal-brand .brand-copy { display:none; }
    .portal-copy h1 { font-size:45px; }
    .portal-copy .eyebrow { font-size:8px; letter-spacing:.09em; }
    .portal-video-frame,.portal-video-frame video { min-height:174px; }
    .portal-download-meta { font-size:7px; }
}

/* Ajuste de escala desktop: o portal deve ocupar a tela como o layout de referencia. */
.portal-topbar,
.portal-home-content,
.portal-footer { width:min(1520px, calc(100% - 56px)); }
.portal-hero-art { background-image:linear-gradient(90deg,#050606 0%,rgba(5,6,6,.96) 28%,rgba(5,6,6,.38) 58%,rgba(5,6,6,.20)),linear-gradient(0deg,#050606 0%,transparent 29%),url('/images/nptw-hero-knight-v2.png'); }
.portal-home-content { padding-top:34px; }
.portal-hero-grid { min-height:390px; grid-template-columns:minmax(560px,1.22fr) minmax(220px,.56fr) minmax(225px,.50fr); }
.portal-copy h1 { max-width:590px; font-size:clamp(57px,4.25vw,74px); line-height:.91; }
.portal-copy p { max-width:485px; }.portal-online-ring { width:205px; height:205px; }
.portal-dashboard { grid-template-columns:1.15fr 1.22fr .9fr 1.12fr; }.portal-panel { min-height:222px; }
.portal-hero-grid { grid-template-columns:minmax(480px,.96fr) minmax(420px,1.12fr) 235px; }
.portal-video-frame { position:relative; align-self:center; min-height:318px; overflow:hidden; border:1px solid rgba(184,255,44,.36); background:#050706; box-shadow:0 0 42px rgba(184,255,44,.11); }
.portal-video-frame::after { content:""; position:absolute; inset:0; pointer-events:none; border:1px solid rgba(255,255,255,.08); background:linear-gradient(135deg,rgba(184,255,44,.10),transparent 30%,rgba(0,0,0,.22)); }
.portal-video-frame video { display:block; width:100%; height:100%; min-height:318px; object-fit:cover; object-position:center; background:#050706; }
.portal-video-frame span { position:absolute; z-index:1; left:12px; bottom:11px; padding:6px 8px; border:1px solid rgba(184,255,44,.48); background:rgba(3,5,3,.72); color:#b8ff2c; font-size:8px; font-weight:800; letter-spacing:.1em; }
.portal-audio-toggle { position:absolute; z-index:2; right:12px; bottom:11px; min-height:30px; padding:0 9px; border:1px solid rgba(255,255,255,.38); background:rgba(3,5,3,.78); color:#f5f6f2; font-size:8px; font-weight:850; letter-spacing:.07em; cursor:pointer; }.portal-audio-toggle:hover,.portal-audio-toggle.is-active { border-color:#b8ff2c; color:#b8ff2c; }.portal-audio-toggle b { font-size:13px; margin-right:4px; }

@media (max-width:1100px) {
    .portal-topbar,.portal-home-content,.portal-footer { width:calc(100% - 40px); }
    .portal-hero-grid { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }.portal-video-frame { min-height:260px; }.portal-video-frame video { min-height:260px; }
    .portal-copy h1 { font-size:clamp(53px,6vw,71px); }.portal-dashboard { grid-template-columns:repeat(2,1fr); }
}

@media (max-width:700px) {
    .portal-topbar,.portal-home-content,.portal-footer { width:calc(100% - 28px); }
    .portal-hero-grid { grid-template-columns:1fr; }.portal-copy h1 { font-size:56px; }.portal-online-ring { width:185px; height:185px; }.portal-video-frame { min-height:220px; }.portal-video-frame video { min-height:220px; }
}


/* v0.4 — cadastro seguro */
.registration-honeypot {
    position:absolute!important;
    left:-10000px!important;
    top:auto!important;
    width:1px!important;
    height:1px!important;
    overflow:hidden!important;
}
.registration-consent {
    display:grid!important;
    grid-template-columns:auto 1fr;
    align-items:center;
    gap:10px!important;
    cursor:pointer;
}
.registration-consent input {
    appearance:none;
    width:17px!important;
    height:17px!important;
    min-width:17px;
    margin:0;
    padding:0!important;
    border:1px solid rgba(255,255,255,.24)!important;
    background:#080a0e!important;
    display:grid;
    place-items:center;
}
.registration-consent input:checked {
    background:var(--lime)!important;
    border-color:var(--lime)!important;
}
.registration-consent input:checked::after {
    content:"✓";
    color:#060806;
    font-size:12px;
    font-weight:900;
}
.registration-consent span {
    color:#858d96!important;
    font-size:10px!important;
    line-height:1.5;
    letter-spacing:0!important;
}


/* v0.5 — segurança da conta e sessões revogáveis */
.account-character-empty {
    min-height:210px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:10px;
}
.account-character-empty strong {
    color:#e9ede7;
    font-size:19px;
    letter-spacing:-.02em;
}
.account-character-empty span {
    color:#747d86;
    font-size:10px;
    line-height:1.6;
}
.account-security-actions {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
}
.account-security-actions p {
    flex:1;
}
.account-security-actions .button {
    flex:0 0 auto;
}

.account-security-page {
    padding:80px 0 120px;
}
.account-security-head {
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:40px;
    margin-bottom:42px;
}
.account-security-head h1 {
    margin:17px 0 13px;
    font-size:clamp(52px,6vw,82px);
    line-height:.92;
    letter-spacing:-.07em;
}
.account-security-head h1 span {
    color:transparent;
    -webkit-text-stroke:1px rgba(195,255,89,.65);
}
.account-security-head p {
    max-width:760px;
    margin:0;
    color:#89919b;
    line-height:1.7;
}
.security-summary-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:12px;
    margin-top:26px;
}
.security-summary-grid article {
    min-height:150px;
    padding:24px;
    border:1px solid var(--line);
    background:
        radial-gradient(
            circle at 90% 15%,
            rgba(195,255,89,.06),
            transparent 34%
        ),
        rgba(255,255,255,.012);
    display:flex;
    flex-direction:column;
}
.security-summary-grid small {
    color:#6f7781;
    font-size:8px;
    letter-spacing:.15em;
}
.security-summary-grid strong {
    margin-top:auto;
    font-size:25px;
    letter-spacing:-.035em;
}
.security-summary-grid span {
    margin-top:7px;
    color:#777f89;
    font-size:10px;
    line-height:1.5;
}
.security-forms-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin-top:70px;
}
.security-form-card {
    padding:28px;
    border:1px solid var(--line);
    background:var(--panel);
}
.security-form-head {
    display:flex;
    justify-content:space-between;
    align-items:start;
    gap:20px;
    padding-bottom:24px;
    border-bottom:1px solid var(--line);
}
.security-form-head small {
    color:#717a84;
    font-size:8px;
    letter-spacing:.15em;
}
.security-form-head h2 {
    margin:10px 0 0;
    font-size:33px;
    letter-spacing:-.045em;
}
.security-form-head > span {
    color:var(--lime);
    font-size:8px;
    letter-spacing:.12em;
    text-align:right;
}
.security-form-card > p {
    min-height:54px;
    color:#818a94;
    font-size:11px;
    line-height:1.65;
    margin:24px 0 0;
}
.security-form-card form {
    display:grid;
    gap:17px;
    margin-top:25px;
}
.security-form-card label {
    display:grid;
    gap:8px;
}
.security-form-card label span {
    color:#747c85;
    font-size:8px;
    letter-spacing:.13em;
}
.security-form-card input {
    width:100%;
    height:49px;
    border:1px solid var(--line);
    background:#090b0f;
    color:white;
    padding:0 14px;
    outline:none;
}
.security-form-card input:focus {
    border-color:var(--lime);
}
.active-sessions-section {
    padding-top:100px;
}
.active-sessions-section .section-heading form {
    flex:0 0 auto;
}
.session-list {
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:12px;
}
.session-card {
    padding:25px;
    border:1px solid var(--line);
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.02),
            rgba(255,255,255,.004)
        );
}
.session-card.current {
    border-color:rgba(195,255,89,.34);
    background:
        radial-gradient(
            circle at 92% 14%,
            rgba(195,255,89,.08),
            transparent 34%
        ),
        rgba(255,255,255,.014);
}
.session-card-head {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    padding-bottom:20px;
    border-bottom:1px solid var(--line);
}
.session-card-head strong {
    font-size:18px;
    letter-spacing:-.02em;
}
.session-card-head span {
    color:var(--lime);
    font-size:8px;
    letter-spacing:.13em;
}
.session-meta-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    margin-top:24px;
}
.session-meta-grid div {
    display:grid;
    gap:7px;
}
.session-meta-grid small {
    color:#69727c;
    font-size:7px;
    letter-spacing:.14em;
}
.session-meta-grid b {
    color:#b8bfc6;
    font-size:10px;
    font-weight:600;
}
.session-card > p {
    margin:23px 0 0;
    color:#6f7882;
    font-size:9px;
    line-height:1.55;
}
.security-architecture-note {
    margin-top:90px;
    padding:36px;
    border:1px solid var(--line);
    background:
        radial-gradient(
            circle at 90% 50%,
            rgba(145,105,255,.1),
            transparent 32%
        );
}
.security-architecture-note h2 {
    margin:13px 0;
    font-size:40px;
    letter-spacing:-.05em;
}
.security-architecture-note p {
    max-width:850px;
    margin:0;
    color:#838b95;
    line-height:1.75;
}

@media (max-width: 900px) {
    .account-security-head {
        align-items:flex-start;
        flex-direction:column;
    }
    .security-summary-grid,
    .security-forms-grid {
        grid-template-columns:1fr;
    }
    .session-list {
        grid-template-columns:1fr;
    }
    .account-security-actions {
        align-items:flex-start;
        flex-direction:column;
    }
}

@media (max-width: 620px) {
    .account-security-page {
        padding-top:55px;
    }
    .account-security-head h1 {
        font-size:52px;
    }
    .security-form-head {
        flex-direction:column;
    }
    .session-meta-grid {
        grid-template-columns:1fr;
    }
}
