/* =============================================================================
   SWO UI -- design system do site principal.
   Carrega DEPOIS dos CSS legados do Znote (default/main/cms...) e substitui o
   antigo mmorpg-dark.css. Regras genericas de conteudo usam :where() ou o mesmo
   seletor do CSS legado, pra continuar perdendo pros <style> proprios de cada
   pagina (que vem depois no documento).
   Motion: so transform/opacity/filter, tudo desligado em prefers-reduced-motion.
   ============================================================================= */

:root {
    --swo-bg: #05070e;
    --swo-bg-2: #080c17;
    --swo-surface: rgba(15, 21, 38, 0.68);
    --swo-surface-solid: #0d1322;
    --swo-surface-2: #131b30;
    --swo-surface-3: #1a2440;
    --swo-line: rgba(140, 170, 255, 0.10);
    --swo-line-2: rgba(140, 170, 255, 0.18);
    --swo-text: #ecf2ff;
    --swo-text-2: #a4b1ca;
    --swo-text-3: #6b7893;
    --swo-brand: #2ee6f6;
    --swo-brand-2: #3b82f6;
    --swo-brand-ink: #03161b;
    --swo-fire: #ff7a18;
    --swo-fire-2: #ff3d6e;
    --swo-gold: #ffcf4a;
    --swo-silver: #d3dcec;
    --swo-bronze: #e39459;
    --swo-ok: #34d399;
    --swo-bad: #f87171;
    --swo-link: #7fdcff;

    --swo-grad-brand: linear-gradient(120deg, #2ee6f6 0%, #3b82f6 55%, #8b5cf6 100%);
    --swo-grad-fire: linear-gradient(120deg, #ffb347 0%, #ff7a18 45%, #ff3d6e 100%);

    --swo-r-sm: 10px;
    --swo-r: 16px;
    --swo-r-lg: 24px;
    --swo-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.65);
    --swo-shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, 0.75);

    --swo-font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --swo-font-display: 'Sora', 'Inter', system-ui, sans-serif;

    --swo-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --swo-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --swo-nav-h: 72px;
    --swo-max: 1240px;
}

/* -----------------------------------------------------------------------------
   Base
   ----------------------------------------------------------------------------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--swo-nav-h) + 16px); }

body.swo {
    margin: 0;
    min-height: 100vh;
    font-family: var(--swo-font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--swo-text);
    text-shadow: none;
    background: var(--swo-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
body.swo input, body.swo select, body.swo textarea, body.swo button { font-family: var(--swo-font); }
/* Especificidade minima de proposito: vence o main.css (vem depois) mas perde
   pras cores de link/negrito que cada pagina define no proprio <style>. */
b, strong { font-weight: 700; }
body.swo ::selection { background: var(--swo-brand); color: var(--swo-brand-ink); }
a { color: var(--swo-link); transition: color .2s ease; }
a:hover { color: #c3efff; }
body.swo :focus-visible { outline: 2px solid var(--swo-brand); outline-offset: 3px; border-radius: 6px; }

body.swo::-webkit-scrollbar { width: 12px; }
body.swo::-webkit-scrollbar-track { background: var(--swo-bg); }
body.swo::-webkit-scrollbar-thumb { background: #1c2742; border-radius: 8px; border: 3px solid var(--swo-bg); }
body.swo::-webkit-scrollbar-thumb:hover { background: #28365a; }

.swo-i { width: 18px; height: 18px; flex: none; display: inline-block; vertical-align: middle; }
.swo-i-lg { width: 24px; height: 24px; }
.swo-i-xl { width: 32px; height: 32px; }

.swo-skip {
    position: fixed; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 10px;
    background: var(--swo-brand); color: var(--swo-brand-ink) !important; font-weight: 700; transition: top .2s ease;
}
.swo-skip:focus { top: 12px; }

/* Barra fina de carregamento no topo ao clicar num link interno */
.swo-progress {
    position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 400; pointer-events: none;
    background: var(--swo-grad-brand); transform-origin: 0 50%; transform: scaleX(0); opacity: 0;
    box-shadow: 0 0 12px rgba(46, 230, 246, .7);
}
.swo-progress.is-loading { opacity: 1; animation: swo-progress 8s cubic-bezier(.1, .7, .1, 1) forwards; }
@keyframes swo-progress { 0% { transform: scaleX(0); } 10% { transform: scaleX(.35); } 100% { transform: scaleX(.92); } }

/* Transicao suave entre paginas (Chrome/Edge 126+; nos outros so navega normal) */
@view-transition { navigation: auto; }
.swo-nav { view-transition-name: swo-nav; }
::view-transition-old(root) { animation: 160ms ease both swo-vt-out; }
::view-transition-new(root) { animation: 360ms var(--swo-ease) both swo-vt-in; }
@keyframes swo-vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes swo-vt-in { from { opacity: 0; transform: translateY(10px); } }

/* -----------------------------------------------------------------------------
   Fundo animado
   ----------------------------------------------------------------------------- */
.swo-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.swo-bg-art {
    position: absolute; inset: 0 0 auto 0; height: 100vh;
    background: url('../../img/bgImg.png') 62% top / cover no-repeat;
    opacity: .28;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.55) 45%, transparent 92%);
    mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.55) 45%, transparent 92%);
}
.swo-bg-aurora {
    position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; will-change: transform;
}
.swo-bg-aurora.a1 { width: 620px; height: 620px; left: -160px; top: -200px; background: radial-gradient(circle, rgba(46, 230, 246, .55), transparent 65%); animation: swo-aurora-1 26s ease-in-out infinite alternate; }
.swo-bg-aurora.a2 { width: 720px; height: 720px; right: -220px; top: -120px; background: radial-gradient(circle, rgba(59, 130, 246, .55), transparent 65%); animation: swo-aurora-2 32s ease-in-out infinite alternate; }
.swo-bg-aurora.a3 { width: 560px; height: 560px; left: 35%; top: 55vh; background: radial-gradient(circle, rgba(255, 122, 24, .28), transparent 65%); animation: swo-aurora-3 38s ease-in-out infinite alternate; }
@keyframes swo-aurora-1 { to { transform: translate(180px, 120px) scale(1.15); } }
@keyframes swo-aurora-2 { to { transform: translate(-160px, 160px) scale(.9); } }
@keyframes swo-aurora-3 { to { transform: translate(-220px, -120px) scale(1.2); } }
.swo-bg-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(140, 170, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(140, 170, 255, .045) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
}

/* -----------------------------------------------------------------------------
   Sharingan (logo + hero)
   ----------------------------------------------------------------------------- */
.swo-sharingan { position: relative; width: 40px; height: 40px; flex: none; display: inline-block; }
.swo-sharingan img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0;
    animation: swo-spin 8s linear infinite, swo-eye-swap 16s linear infinite;
    animation-delay: 0s, calc(var(--slot, 0) * 4s);
    filter: drop-shadow(0 0 6px rgba(46, 230, 246, .6));
}
.swo-sharingan img:only-child { opacity: 1; animation: swo-spin 8s linear infinite; }
@keyframes swo-spin { to { transform: rotate(360deg); } }
@keyframes swo-eye-swap { 0%, 24.99% { opacity: 1; } 25%, 100% { opacity: 0; } }

/* -----------------------------------------------------------------------------
   Navbar
   ----------------------------------------------------------------------------- */
.swo-nav {
    position: sticky; top: 0; z-index: 100;
    background: linear-gradient(180deg, rgba(5, 7, 14, .78), rgba(5, 7, 14, .55));
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    backdrop-filter: blur(18px) saturate(1.4);
    border-bottom: 1px solid transparent;
    transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.swo-nav::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(46, 230, 246, .55), rgba(59, 130, 246, .55), transparent);
    opacity: .5; transition: opacity .35s ease;
}
.swo-nav.is-scrolled { background: rgba(6, 9, 18, .88); box-shadow: 0 12px 40px -18px rgba(0, 0, 0, .8); }
.swo-nav.is-scrolled::after { opacity: 1; }
/* largura toda: logo colada na esquerda, botoes (Login/Play free/My Account)
   colados na direita, menu centralizado entre os dois */
.swo-nav-inner {
    max-width: none; margin: 0; padding: 0 28px;
    height: var(--swo-nav-h); display: flex; align-items: center; gap: 22px;
    transition: height .35s var(--swo-ease);
}
.swo-nav.is-scrolled .swo-nav-inner { height: 60px; }

.swo-logo { display: inline-flex; align-items: center; gap: 12px; flex: none; text-decoration: none; }
.swo-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.swo-logo-text strong {
    font-family: var(--swo-font-display); font-weight: 800; font-size: 18px; letter-spacing: -.01em; color: #fff;
    background: linear-gradient(90deg, #fff 0%, #fff 40%, #7ff3ff 50%, #fff 60%, #fff 100%);
    background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    animation: swo-shimmer 7s ease-in-out infinite;
}
.swo-logo-text small { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--swo-text-3); font-weight: 600; margin-top: 3px; }
@keyframes swo-shimmer { 0%, 70% { background-position: 100% 0; } 100% { background-position: -150% 0; } }
.swo-logo:hover .swo-sharingan { transform: scale(1.1); }
.swo-logo .swo-sharingan { transition: transform .4s var(--swo-ease-spring); }

.swo-menu { position: relative; display: flex; align-items: center; gap: 2px; margin: 0 auto; }
.swo-menu-glider {
    position: absolute; left: 0; top: 50%; height: 38px; width: 0; margin-top: -19px; border-radius: 999px;
    background: rgba(140, 170, 255, .09); border: 1px solid rgba(140, 170, 255, .12);
    opacity: 0; pointer-events: none;
    transition: transform .35s var(--swo-ease), width .35s var(--swo-ease), opacity .25s ease;
}
.swo-menu.has-glider .swo-menu-glider { opacity: 1; }
body.swo .swo-menu-link {
    position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px;
    border: 0; border-radius: 999px; background: none; cursor: pointer;
    color: var(--swo-text-2); font-size: 14px; font-weight: 600; letter-spacing: .01em; white-space: nowrap;
    transition: color .2s ease;
}
body.swo .swo-menu-link:hover, .swo-dd.is-open > .swo-menu-link, .swo-dd:hover > .swo-menu-link { color: #fff; }
body.swo .swo-menu-link.is-active, .swo-dd.is-current > .swo-menu-link { color: #fff; }
body.swo .swo-menu-link.is-active::after, .swo-dd.is-current > .swo-menu-link::after {
    content: ""; position: absolute; left: 50%; bottom: 2px; width: 16px; height: 2px; margin-left: -8px; border-radius: 2px;
    background: var(--swo-grad-brand); box-shadow: 0 0 10px rgba(46, 230, 246, .8);
}
/* DONATE: pilula cyan->azul com anel pulsando, brilho que atravessa e a gema
   "piscando" junto -- tem que chamar atencao no meio do menu. */
body.swo .swo-menu-link.swo-menu-donate {
    overflow: hidden; isolation: isolate; margin-left: 8px; padding: 0 18px; gap: 7px;
    color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
    background: linear-gradient(120deg, #67e8f9 0%, #22d3ee 35%, #2563eb 70%, #22d3ee 100%); background-size: 220% 100%;
    animation: swo-donate-pulse 2.4s ease-out infinite, swo-donate-pan 5s ease-in-out infinite alternate;
    transition: transform .35s var(--swo-ease-spring), filter .2s ease;
}
body.swo .swo-menu-link.swo-menu-donate:hover { color: #fff; transform: translateY(-2px) scale(1.05); filter: brightness(1.1); }
body.swo .swo-menu-link.swo-menu-donate::after { display: none; }
.swo-menu-donate::before {
    content: ""; position: absolute; top: 0; bottom: 0; left: -50%; width: 40%; z-index: -1; pointer-events: none;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .7), transparent);
    transform: skewX(-20deg) translateX(0); animation: swo-donate-shine 3.6s ease-in-out infinite;
}
.swo-menu-donate .swo-i { width: 16px; height: 16px; color: #fff; filter: drop-shadow(0 0 4px rgba(255, 255, 255, .8)); animation: swo-donate-gem 3.6s ease-in-out infinite; }
@keyframes swo-donate-pulse {
    0% { box-shadow: 0 0 0 0 rgba(46, 230, 246, .7), 0 8px 24px -8px rgba(34, 170, 240, .9), inset 0 1px 0 rgba(255, 255, 255, .35); }
    70%, 100% { box-shadow: 0 0 0 12px rgba(46, 230, 246, 0), 0 8px 24px -8px rgba(34, 170, 240, .9), inset 0 1px 0 rgba(255, 255, 255, .35); }
}
@keyframes swo-donate-pan { to { background-position: 100% 0; } }
@keyframes swo-donate-shine { 0%, 50% { transform: skewX(-20deg) translateX(0); } 100% { transform: skewX(-20deg) translateX(420%); } }
@keyframes swo-donate-gem { 0%, 55%, 100% { transform: none; } 70% { transform: rotate(-14deg) scale(1.25); } 85% { transform: rotate(8deg) scale(1.05); } }
/* WIKI: mesma pilula do Donate, em branco com texto preto; pulso defasado
   pra os dois nao piscarem juntos */
body.swo .swo-menu-link.swo-menu-donate.swo-menu-wiki {
    color: #0b0f18;
    background: linear-gradient(120deg, #ffffff 0%, #e2ecf8 45%, #ffffff 100%); background-size: 220% 100%;
    animation: swo-wiki-pulse 2.4s ease-out 1.2s infinite, swo-donate-pan 5s ease-in-out infinite alternate;
}
body.swo .swo-menu-link.swo-menu-donate.swo-menu-wiki:hover { color: #0b0f18; }
/* Wiki a esquerda, Donate colado a direita dela */
body.swo .swo-menu-wiki + .swo-menu-link.swo-menu-donate { margin-left: 4px; }
.swo-menu-wiki::before { background: linear-gradient(100deg, transparent, rgba(46, 230, 246, .55), transparent) !important; animation-delay: 1.8s !important; }
.swo-menu-wiki .swo-i { color: #0b0f18; filter: none; animation-delay: 1.8s; }
@keyframes swo-wiki-pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .6), 0 8px 24px -10px rgba(255, 255, 255, .5), inset 0 -1px 0 rgba(0, 0, 0, .08); }
    70%, 100% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0), 0 8px 24px -10px rgba(255, 255, 255, .5), inset 0 -1px 0 rgba(0, 0, 0, .08); }
}
body.swo .swo-drawer-link.swo-drawer-wiki { color: #0b0f18; font-weight: 700; background: linear-gradient(120deg, #fff, #e2ecf8); margin-top: 6px; }
body.swo .swo-drawer-link.swo-drawer-wiki .swo-i { color: #0b0f18; }
body.swo .swo-drawer-link.swo-drawer-donate { color: #fff; font-weight: 700; background: linear-gradient(120deg, #22d3ee, #2563eb); box-shadow: 0 8px 22px -10px rgba(34, 170, 240, .9); }
body.swo .swo-drawer-link.swo-drawer-donate .swo-i { color: #fff; }
/* Dropdowns (Community / Game / Account) com cara de botao que abre menu: pilula com
   borda, seta dentro de um circulo que gira. Home e Ranking ficam links discretos. */
body.swo .swo-menu-link.swo-dd-toggle {
    gap: 8px; height: 36px; margin: 0 3px; padding: 0 7px 0 14px; color: var(--swo-text);
    background: rgba(140, 170, 255, .06); border: 1px solid rgba(140, 170, 255, .18);
    transition: color .2s ease, background .25s ease, border-color .25s ease, box-shadow .3s ease;
}
body.swo .swo-dd:hover > .swo-dd-toggle, body.swo .swo-dd.is-open > .swo-dd-toggle, body.swo .swo-dd-toggle:focus-visible {
    background: rgba(46, 230, 246, .1); border-color: rgba(46, 230, 246, .45); box-shadow: 0 6px 18px -10px rgba(46, 230, 246, .7);
}
.swo-dd-caret {
    box-sizing: border-box; width: 22px; height: 22px; padding: 4px; border-radius: 50%; opacity: 1; color: var(--swo-brand);
    background: rgba(46, 230, 246, .12); transform: rotate(180deg); transition: transform .3s var(--swo-ease), background .25s ease, color .25s ease;
}
/* fechado a seta aponta pra cima; abrindo (hover) gira pra baixo junto com o painel */
.swo-dd:hover .swo-dd-caret, .swo-dd.is-open .swo-dd-caret { transform: rotate(0deg); background: var(--swo-brand); color: var(--swo-brand-ink); }
/* Home e Ranking: botao discreto, so uma bordinha branca */
body.swo .swo-menu-link.swo-menu-home, body.swo .swo-menu-link.swo-menu-ranking {
    height: 36px; margin: 0 3px; padding: 0 13px; color: var(--swo-text-2);
    border: 1px solid rgba(255, 255, 255, .22); transition: color .2s ease, border-color .25s ease, background .25s ease;
}
body.swo .swo-menu-link.swo-menu-home:hover, body.swo .swo-menu-link.swo-menu-ranking:hover { color: #fff; border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .05); }

.swo-dd { position: relative; }
.swo-dd-panel {
    position: absolute; top: calc(100% + 12px); left: 50%; width: 330px; padding: 8px;
    background: rgba(12, 17, 31, .96); border: 1px solid var(--swo-line-2); border-radius: 18px;
    box-shadow: var(--swo-shadow-lg), 0 0 0 1px rgba(0, 0, 0, .3);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden; transform: translate(-50%, 10px) scale(.97); transform-origin: 50% 0;
    transition: opacity .22s ease, transform .3s var(--swo-ease), visibility 0s linear .3s;
}
/* depois de abrir um item (swo.js), o painel fica fechado ate o mouse sair do dropdown */
.swo-menu .swo-dd.is-shut .swo-dd-panel { opacity: 0; visibility: hidden; transform: translate(-50%, 10px) scale(.97); pointer-events: none; }
.swo-dd.is-shut .swo-dd-caret { transform: rotate(180deg); background: rgba(46, 230, 246, .12); color: var(--swo-brand); }
/* ponte invisivel entre o botao e o painel, senao o hover cai no vao */
.swo-dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
/* pontinha ligando o painel ao botao */
.swo-dd-panel::after {
    content: ""; position: absolute; top: -7px; left: 50%; width: 12px; height: 12px; margin-left: -6px; transform: rotate(45deg);
    background: rgba(12, 17, 31, .96); border-left: 1px solid var(--swo-line-2); border-top: 1px solid var(--swo-line-2);
}
.swo-dd:hover .swo-dd-panel, .swo-dd.is-open .swo-dd-panel, .swo-dd:focus-within .swo-dd-panel {
    opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition-delay: 0s;
}
body.swo .swo-dd-item {
    display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--swo-text);
    transition: background .2s ease, transform .25s var(--swo-ease);
}
body.swo .swo-dd-item:hover { background: rgba(140, 170, 255, .08); color: #fff; transform: translateX(3px); }
.swo-dd-item.is-active { background: rgba(46, 230, 246, .08); }
.swo-dd-icon {
    width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 11px;
    background: linear-gradient(145deg, rgba(46, 230, 246, .16), rgba(59, 130, 246, .08));
    border: 1px solid rgba(46, 230, 246, .2); color: var(--swo-brand);
    transition: transform .35s var(--swo-ease-spring), box-shadow .3s ease;
}
.swo-dd-item:hover .swo-dd-icon { transform: scale(1.08) rotate(-6deg); box-shadow: 0 0 18px rgba(46, 230, 246, .3); }
.swo-dd-item.is-danger .swo-dd-icon { color: var(--swo-bad); background: rgba(248, 113, 113, .1); border-color: rgba(248, 113, 113, .25); }
.swo-dd-text { display: flex; flex-direction: column; line-height: 1.25; }
.swo-dd-text strong { font-size: 14px; font-weight: 600; }
.swo-dd-text small { font-size: 12px; color: var(--swo-text-3); margin-top: 2px; }

.swo-nav-actions { display: flex; align-items: center; gap: 10px; flex: none; }
/* status do servidor dentro do menu, logo a direita do Donate */
/* status do servidor dentro do menu, entre Ranking e Wiki, com respiro dos dois lados */
.swo-menu .swo-nav-status { position: relative; z-index: 1; display: flex; margin: 0 12px 0 18px; }
/* icones do menu: casinha no Home, trofeu dourado no Ranking */
.swo-menu-home .swo-i, .swo-menu-ranking .swo-i { width: 16px; height: 16px; transition: transform .4s var(--swo-ease-spring); }
.swo-menu-ranking .swo-i { color: var(--swo-gold); filter: drop-shadow(0 0 5px rgba(255, 207, 74, .6)); }
.swo-menu-home:hover .swo-i, .swo-menu-ranking:hover .swo-i { transform: translateY(-1px) rotate(-8deg) scale(1.12); }

/* Pilula de status (serverstatus.php) */
body.swo .server-pill {
    display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 999px;
    font-size: 12.5px; font-weight: 600; color: var(--swo-text-2); white-space: nowrap;
    /* borda branca: com a borda escura a pilula sumia no fundo do site */
    background: rgba(140, 170, 255, .08); border: 1px solid rgba(255, 255, 255, .55);
    transition: border-color .25s ease, background .25s ease, transform .25s var(--swo-ease);
}
body.swo .server-pill:hover { border-color: #fff; background: rgba(140, 170, 255, .14); color: #fff; transform: translateY(-1px); }
.server-pill .pill-icon { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--swo-bad); }
.server-pill.online .pill-icon { background: var(--swo-ok); }
.server-pill.online .pill-icon::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--swo-ok);
    animation: swo-ping 2s cubic-bezier(0, 0, .2, 1) infinite;
}
.server-pill .pill-label { color: #fff; }
.server-pill.offline .pill-label { color: #ffb4b4; }
.server-pill .pill-sep { width: 1px; height: 12px; background: var(--swo-line-2); }
@keyframes swo-ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }

.swo-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--swo-bad); margin-right: 8px; vertical-align: middle; }
.swo-dot.is-on { background: var(--swo-ok); box-shadow: 0 0 0 4px rgba(52, 211, 153, .15); }

/* Hamburguer animado (vira X) */
.swo-burger {
    display: none; position: relative; width: 42px; height: 42px; border-radius: 12px; cursor: pointer;
    background: rgba(140, 170, 255, .06); border: 1px solid var(--swo-line-2);
}
.swo-burger span {
    position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: #fff;
    transition: transform .35s var(--swo-ease), opacity .2s ease, top .35s var(--swo-ease);
}
.swo-burger span:nth-child(1) { top: 14px; }
.swo-burger span:nth-child(2) { top: 20px; right: 16px; }
.swo-burger span:nth-child(3) { top: 26px; }
.swo-burger[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.swo-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: translateX(8px); }
.swo-burger[aria-expanded="true"] span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* Gaveta mobile */
.swo-drawer { position: fixed; inset: 0; z-index: 150; visibility: hidden; pointer-events: none; }
.swo-drawer.is-open { visibility: visible; pointer-events: auto; }
.swo-drawer-backdrop { position: absolute; inset: 0; background: rgba(2, 4, 10, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .35s ease; }
.swo-drawer.is-open .swo-drawer-backdrop { opacity: 1; }
.swo-drawer-panel {
    position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); overflow-y: auto;
    background: linear-gradient(180deg, #0c1222, #070b16); border-left: 1px solid var(--swo-line-2);
    padding: 18px 18px 40px; transform: translateX(100%); transition: transform .45s var(--swo-ease);
    box-shadow: -30px 0 60px -20px rgba(0, 0, 0, .8);
}
.swo-drawer.is-open .swo-drawer-panel { transform: none; }
.swo-drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.swo-drawer-title { font-family: var(--swo-font-display); font-weight: 700; font-size: 18px; }
.swo-drawer-status { font-size: 13px; color: var(--swo-text-2); padding: 10px 12px; border-radius: 12px; background: rgba(140, 170, 255, .05); border: 1px solid var(--swo-line); }
.swo-drawer-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 10px; }
.swo-drawer-nav { display: flex; flex-direction: column; }
.swo-drawer-heading { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--swo-text-3); font-weight: 700; padding: 18px 12px 6px; }
body.swo .swo-drawer-link {
    display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: var(--swo-text); font-weight: 500;
}
body.swo .swo-drawer-link .swo-i { color: var(--swo-brand); }
body.swo .swo-drawer-link:hover, body.swo .swo-drawer-link.is-active { background: rgba(140, 170, 255, .07); color: #fff; }
.swo-drawer-nav > * { opacity: 0; transform: translateX(20px); transition: opacity .4s ease, transform .5s var(--swo-ease); }
.swo-drawer.is-open .swo-drawer-nav > * { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 28ms + 120ms); }
.swo-icon-btn {
    width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; cursor: pointer;
    background: rgba(140, 170, 255, .06); border: 1px solid var(--swo-line-2); color: #fff;
}
body.swo-lock { overflow: hidden; }

/* -----------------------------------------------------------------------------
   Botoes
   ----------------------------------------------------------------------------- */
body.swo .swo-btn,
body.swo .btn-primary-modern, body.swo .btn-secondary-modern, body.swo .btn-create-account,
body.swo .btn-logout-modern, body.swo .btn-discord-modern, body.swo .btn-instagram-modern, body.swo .btn-ghost-modern {
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
    font-family: var(--swo-font); font-size: 14.5px; font-weight: 700; letter-spacing: .01em; text-transform: none;
    text-decoration: none; white-space: nowrap; color: #fff;
    transition: transform .35s var(--swo-ease), box-shadow .35s ease, background-color .25s ease, border-color .25s ease, color .2s ease;
}
/* brilho que atravessa o botao no hover */
body.swo .swo-btn::after,
body.swo .btn-primary-modern::after, body.swo .btn-secondary-modern::after, body.swo .btn-create-account::after,
body.swo .btn-discord-modern::after, body.swo .btn-instagram-modern::after, body.swo .btn-logout-modern::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; z-index: -1; opacity: 1;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
    transform: skewX(-20deg) translateX(0); transition: transform .8s var(--swo-ease);
}
body.swo .swo-btn:hover::after,
body.swo .btn-primary-modern:hover::after, body.swo .btn-secondary-modern:hover::after, body.swo .btn-create-account:hover::after,
body.swo .btn-discord-modern:hover::after, body.swo .btn-instagram-modern:hover::after, body.swo .btn-logout-modern:hover::after { transform: skewX(-20deg) translateX(420%); }
body.swo .swo-btn:hover { transform: translateY(-2px); color: #fff; }
body.swo .swo-btn:active { transform: translateY(0) scale(.97); transition-duration: .1s; }
body.swo .swo-btn .swo-i { width: 17px; height: 17px; }

body.swo .swo-btn-fire, body.swo .btn-create-account {
    background: var(--swo-grad-fire) !important; box-shadow: 0 10px 30px -10px rgba(255, 90, 40, .75), inset 0 1px 0 rgba(255, 255, 255, .25);
}
body.swo .swo-btn-fire:hover, body.swo .btn-create-account:hover { box-shadow: 0 16px 40px -10px rgba(255, 90, 40, .9), inset 0 1px 0 rgba(255, 255, 255, .25); color: #fff !important; }
/* Branco com texto preto (combina com a pilula Wiki do topo); brilho cyan no hover */
body.swo .swo-btn-white {
    background: linear-gradient(120deg, #ffffff 0%, #e2ecf8 50%, #ffffff 100%) !important; color: #0b0f18 !important;
    box-shadow: 0 10px 28px -12px rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(0, 0, 0, .08);
}
body.swo .swo-btn-white:hover { color: #0b0f18 !important; box-shadow: 0 14px 34px -10px rgba(255, 255, 255, .7), inset 0 -1px 0 rgba(0, 0, 0, .08); }
body.swo .swo-btn-white::after { background: linear-gradient(100deg, transparent, rgba(46, 230, 246, .55), transparent); }
/* Verde (Login): mesma receita do fire, 3 tons + sombra colorida */
body.swo .swo-btn-green {
    background: linear-gradient(120deg, #86efac 0%, #22c55e 45%, #059669 100%) !important; color: #fff !important;
    box-shadow: 0 10px 30px -10px rgba(34, 197, 94, .75), inset 0 1px 0 rgba(255, 255, 255, .25);
}
body.swo .swo-btn-green:hover { box-shadow: 0 16px 40px -10px rgba(34, 197, 94, .9), inset 0 1px 0 rgba(255, 255, 255, .25); color: #fff !important; }
/* Mesma receita do fire (3 tons + sombra colorida), so que cyan -> azul */
body.swo .swo-btn-brand, body.swo .btn-primary-modern {
    background: linear-gradient(120deg, #67e8f9 0%, #22d3ee 40%, #2563eb 100%) !important; color: #fff !important;
    box-shadow: 0 10px 30px -10px rgba(34, 170, 240, .8), inset 0 1px 0 rgba(255, 255, 255, .25);
}
body.swo .swo-btn-brand:hover, body.swo .btn-primary-modern:hover { box-shadow: 0 16px 40px -10px rgba(34, 170, 240, .95), inset 0 1px 0 rgba(255, 255, 255, .25); color: #fff !important; }
body.swo .swo-btn-glass, body.swo .btn-secondary-modern {
    background: rgba(140, 170, 255, .08) !important; border-color: var(--swo-line-2); color: #fff !important;
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
body.swo .swo-btn-glass:hover, body.swo .btn-secondary-modern:hover { background: rgba(140, 170, 255, .14) !important; border-color: rgba(140, 170, 255, .32); }
body.swo .swo-btn-ghost, body.swo .btn-ghost-modern { background: transparent; border-color: var(--swo-line-2); color: var(--swo-text) !important; }
body.swo .swo-btn-ghost:hover, body.swo .btn-ghost-modern:hover { border-color: rgba(140, 170, 255, .4); background: rgba(140, 170, 255, .06); }
body.swo .swo-btn-discord, body.swo .btn-discord-modern { background: #5865f2 !important; box-shadow: 0 10px 30px -12px rgba(88, 101, 242, .8); }
body.swo .btn-instagram-modern { background: linear-gradient(120deg, #f77737, #e1306c, #c13584) !important; }
/* Instagram: degrade oficial da marca, mesma receita de sombra colorida dos outros */
body.swo .swo-btn-instagram {
    background: linear-gradient(120deg, #feda75 0%, #fa7e1e 22%, #d62976 50%, #962fbf 78%, #4f5bd5 100%) !important; color: #fff !important;
    box-shadow: 0 10px 30px -10px rgba(214, 41, 118, .8), inset 0 1px 0 rgba(255, 255, 255, .25);
}
body.swo .swo-btn-instagram:hover { box-shadow: 0 16px 40px -10px rgba(214, 41, 118, .95), inset 0 1px 0 rgba(255, 255, 255, .25); color: #fff !important; }
body.swo .btn-logout-modern { background: rgba(248, 113, 113, .12) !important; border-color: rgba(248, 113, 113, .35); color: #ffc9c9 !important; }
body.swo .swo-btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }
body.swo .swo-btn-lg { height: 54px; padding: 0 28px; font-size: 15.5px; }
body.swo .swo-btn-block { width: 100%; }

/* -----------------------------------------------------------------------------
   Container principal
   ----------------------------------------------------------------------------- */
.swo-main { position: relative; min-height: 60vh; }
.swo-shell {
    max-width: var(--swo-max); margin: 0 auto; padding: 36px 24px 80px;
    display: flex; flex-direction: column; gap: 24px; min-width: 0;
}
.swo-shell > * { min-width: 0; }

/* Cabecalho padrao das paginas internas */
.swo-page-head {
    position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    padding: 34px 34px 30px; border-radius: var(--swo-r-lg); overflow: hidden;
    background:
        radial-gradient(600px 220px at 0% 0%, rgba(46, 230, 246, .14), transparent 70%),
        radial-gradient(500px 240px at 100% 100%, rgba(59, 130, 246, .14), transparent 70%),
        linear-gradient(180deg, rgba(18, 26, 46, .75), rgba(10, 15, 28, .75));
    border: 1px solid var(--swo-line);
}
.swo-page-head::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .04), transparent);
    transform: translateX(-100%); animation: swo-sweep 6s ease-in-out 1s infinite;
}
@keyframes swo-sweep { 0% { transform: translateX(-100%); } 40%, 100% { transform: translateX(100%); } }
.swo-kicker {
    display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 8px; border-radius: 999px;
    font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--swo-brand);
    background: rgba(46, 230, 246, .08); border: 1px solid rgba(46, 230, 246, .22);
}
.swo-kicker .swo-i { width: 15px; height: 15px; }
.swo-page-head h1, .swo-h1 {
    font-family: var(--swo-font-display); font-weight: 800; font-size: clamp(28px, 4vw, 42px); line-height: 1.08;
    letter-spacing: -.02em; margin: 14px 0 8px; color: #fff;
}
.swo-page-head p { margin: 0; color: var(--swo-text-2); max-width: 560px; font-size: 15.5px; }
.swo-page-head-side { display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }

.swo-grad-text {
    background: var(--swo-grad-brand); background-size: 200% 100%;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    animation: swo-grad-pan 6s ease-in-out infinite alternate;
}
.swo-grad-fire { background: var(--swo-grad-fire); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: swo-grad-pan 6s ease-in-out infinite alternate; }
@keyframes swo-grad-pan { to { background-position: 100% 0; } }

.swo-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.swo-section-head h2 {
    font-family: var(--swo-font-display); font-weight: 700; font-size: 22px; letter-spacing: -.01em; margin: 6px 0 0; color: #fff;
}
.swo-section-head p { margin: 4px 0 0; color: var(--swo-text-3); font-size: 14px; }
body.swo .swo-link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--swo-brand); white-space: nowrap; }
.swo-link-arrow .swo-i { width: 16px; height: 16px; transition: transform .3s var(--swo-ease); }
.swo-link-arrow:hover .swo-i { transform: translateX(4px); }

/* -----------------------------------------------------------------------------
   Cards + spotlight que segue o mouse (--mx/--my setados por swo.js)
   ----------------------------------------------------------------------------- */
.swo-card {
    position: relative; border-radius: var(--swo-r-lg); padding: 24px;
    background: linear-gradient(180deg, rgba(20, 28, 50, .66), rgba(11, 16, 30, .7));
    border: 1px solid var(--swo-line);
    box-shadow: var(--swo-shadow);
}
.swo-glow { isolation: isolate; }
.swo-glow::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none; opacity: 0;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(46, 230, 246, .10), transparent 45%);
    transition: opacity .4s ease;
}
.swo-glow::after {
    content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0;
    background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(46, 230, 246, .7), rgba(59, 130, 246, .25) 40%, transparent 70%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    transition: opacity .4s ease;
}
.swo-glow:hover::before, .swo-glow:hover::after { opacity: 1; }

.swo-lift { transition: transform .45s var(--swo-ease), box-shadow .45s ease, border-color .3s ease; }
.swo-lift:hover { transform: translateY(-5px); box-shadow: var(--swo-shadow-lg); border-color: var(--swo-line-2); }

.swo-chip {
    display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px;
    font-size: 12px; font-weight: 600; color: var(--swo-text-2); background: rgba(140, 170, 255, .07); border: 1px solid var(--swo-line);
    white-space: nowrap;
}
.swo-chip .swo-i { width: 14px; height: 14px; }
.swo-chip.is-brand { color: var(--swo-brand); background: rgba(46, 230, 246, .08); border-color: rgba(46, 230, 246, .25); }
.swo-chip.is-fire { color: #ffb37a; background: rgba(255, 122, 24, .1); border-color: rgba(255, 122, 24, .3); }
.swo-chip.is-bad { color: #ffb0b0; background: rgba(248, 113, 113, .1); border-color: rgba(248, 113, 113, .3); }
.swo-chip.is-ok { color: #8ff0c8; background: rgba(52, 211, 153, .1); border-color: rgba(52, 211, 153, .3); }
.swo-chip.is-tank { color: #6ee7b7; background: rgba(52, 211, 153, .1); border-color: rgba(52, 211, 153, .3); }
.swo-chip.is-bruiser { color: #93c5fd; background: rgba(59, 130, 246, .12); border-color: rgba(59, 130, 246, .35); }
.swo-chip.is-dps { color: #fca5a5; background: rgba(248, 113, 113, .1); border-color: rgba(248, 113, 113, .3); }

/* Revelar ao rolar (so com JS; sem JS tudo aparece normal) */
.js [data-reveal] {
    opacity: 0; transform: translateY(26px);
    transition: opacity .8s var(--swo-ease), transform .9s var(--swo-ease);
    transition-delay: calc(var(--i, 0) * 70ms);
}
.js [data-reveal="zoom"] { transform: scale(.94); }
.js [data-reveal="left"] { transform: translateX(-30px); }
.js [data-reveal="right"] { transform: translateX(30px); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Entrada de pagina: o conteudo sobe de leve no load */
.swo-shell > :first-child { animation: swo-enter .8s var(--swo-ease) both; }
@keyframes swo-enter { from { opacity: 0; transform: translateY(16px); } }

/* -----------------------------------------------------------------------------
   Conteudo legado: titulos, tabelas e formularios das paginas do Znote.
   Especificidade baixa de proposito (ver cabecalho).
   ----------------------------------------------------------------------------- */
:where(.swo-shell) h1 { font-family: var(--swo-font-display); font-weight: 800; font-size: 30px; letter-spacing: -.02em; line-height: 1.15; color: #fff; }
:where(.swo-shell) h2 { font-family: var(--swo-font-display); font-weight: 700; font-size: 22px; letter-spacing: -.01em; line-height: 1.25; color: #fff; }
:where(.swo-shell) h3 { font-family: var(--swo-font-display); font-weight: 700; font-size: 18px; line-height: 1.3; color: #fff; }
:where(.swo-shell) h4, :where(.swo-shell) h5 { font-family: var(--swo-font-display); font-weight: 600; color: #fff; }
:where(.swo-shell) hr { border: 0; height: 1px; background: var(--swo-line-2); margin: 20px 0; }

table { margin: 10px 0 30px; width: 100%; border-collapse: separate; border-spacing: 0; }
th, tr { background: transparent; color: var(--swo-text); padding: 5px 4px; text-align: left; }
table tr td {
    background: rgba(15, 21, 38, .6); color: var(--swo-text); padding: 10px 12px;
    border-bottom: 1px solid var(--swo-line);
}
table tr:hover > td { background: rgba(26, 36, 64, .7); }
tr.yellow td, tr.yellow th, table th {
    background: rgba(20, 29, 52, .95); color: var(--swo-text-2); border: 0; border-bottom: 1px solid var(--swo-line-2);
    padding: 11px 12px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
tr.yellow:first-child td:first-child, table tr:first-child > th:first-child { border-top-left-radius: 12px; }
tr.yellow:first-child td:last-child, table tr:first-child > th:last-child { border-top-right-radius: 12px; }
.padraotabela { margin: 10px 0 30px; width: 100%; border: 1px solid var(--swo-line); border-radius: 14px; overflow: hidden; }
.padraotabela tr th, .padraotabela tr td { background: rgba(15, 21, 38, .6); color: var(--swo-text); padding: 10px 12px; text-align: center; border: 0; border-bottom: 1px solid var(--swo-line); }
.padraotabela tr td { text-shadow: none; background: rgba(15, 21, 38, .6); color: var(--swo-text); border: 0; border-bottom: 1px solid var(--swo-line); }
.padraotabela tr.yellow td { background: rgba(20, 29, 52, .95); color: var(--swo-text-2); font-weight: 700; padding: 11px 12px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.padraotabela tr:last-child td { border-bottom: 0; }
tr.special:hover td { background: rgba(46, 230, 246, .12); }

input[type="text"], input[type="password"], input[type="email"], input[type="number"], input[type="search"], select, textarea {
    color: var(--swo-text); background-color: rgba(8, 12, 23, .75); border: 1px solid var(--swo-line-2);
    border-radius: 12px; box-shadow: none; text-shadow: none; font-size: 14px; padding: 10px 12px;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus, input[type="number"]:focus, input[type="search"]:focus, select:focus, textarea:focus {
    color: #fff; outline: none; border-color: rgba(46, 230, 246, .6); background-color: rgba(8, 12, 23, .95);
    box-shadow: 0 0 0 4px rgba(46, 230, 246, .12);
}
option { background: #0d1322; color: var(--swo-text); }
:where(.swo-shell) input[type="submit"], :where(.swo-shell) button[type="submit"]:not([class]), :where(.swo-shell) input[type="button"] {
    display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 20px; border-radius: 999px; border: 0;
    background: linear-gradient(120deg, #22d3ee, #3b82f6); color: #fff; font-weight: 700; font-size: 14px; cursor: pointer;
    box-shadow: 0 10px 26px -12px rgba(46, 180, 246, .8); text-shadow: none;
    transition: transform .3s var(--swo-ease), box-shadow .3s ease, filter .2s ease;
}
:where(.swo-shell) input[type="submit"]:hover, :where(.swo-shell) input[type="button"]:hover { transform: translateY(-2px); filter: brightness(1.08); }

/* -----------------------------------------------------------------------------
   HOME
   ----------------------------------------------------------------------------- */
.swo-page-index { gap: 34px; padding-top: 20px; }

.swo-hero {
    position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: 30px;
    min-height: min(640px, calc(100vh - 110px)); padding: 30px 0 10px;
}
.swo-hero-copy { position: relative; z-index: 2; }
.swo-hero-live {
    display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border-radius: 999px;
    font-size: 13px; font-weight: 600; color: var(--swo-text-2);
    background: rgba(140, 170, 255, .06); border: 1px solid var(--swo-line-2);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.swo-hero-live b { color: #fff; }
.swo-hero-live-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #052e22; background: var(--swo-ok); }
.swo-hero-live-badge.is-off { background: var(--swo-bad); color: #3a0808; }
.swo-hero h1 {
    font-family: var(--swo-font-display); font-weight: 800; font-size: clamp(40px, 6.2vw, 76px); line-height: .98; letter-spacing: -.035em;
    margin: 22px 0 20px; color: #fff;
}
.swo-hero h1 .swo-line { display: block; overflow: hidden; padding-bottom: .06em; }
.swo-hero h1 .swo-line > span { display: inline-block; animation: swo-line-up 1s var(--swo-ease) both; animation-delay: calc(var(--i, 0) * 120ms + 100ms); }
@keyframes swo-line-up { from { transform: translateY(105%); opacity: 0; } }
.swo-hero-sub { font-size: 17px; line-height: 1.65; color: var(--swo-text-2); max-width: 540px; margin: 0 0 30px; animation: swo-enter .9s var(--swo-ease) .45s both; }
.swo-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; animation: swo-enter .9s var(--swo-ease) .6s both; }
.swo-hero-trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; font-size: 13px; color: var(--swo-text-3); animation: swo-enter .9s var(--swo-ease) .75s both; }
.swo-hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.swo-hero-trust .swo-i { width: 15px; height: 15px; color: var(--swo-ok); }

/* Orbita: sharingan no centro, vocacoes girando em volta */
.swo-orbit {
    --size: min(500px, 42vw); --r: calc(var(--size) * .39);
    position: relative; width: var(--size); height: var(--size); margin: 0 auto; justify-self: center;
    animation: swo-enter 1.2s var(--swo-ease) .2s both;
}
.swo-orbit-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(140, 170, 255, .14); }
.swo-orbit-ring.r1 { inset: 0; border-style: dashed; border-color: rgba(46, 230, 246, .22); animation: swo-spin 90s linear infinite; }
.swo-orbit-ring.r2 { inset: 11%; background: radial-gradient(circle, rgba(46, 230, 246, .06), transparent 65%); }
.swo-orbit-ring.r3 { inset: 27%; border-color: rgba(255, 122, 24, .25); animation: swo-spin 40s linear infinite reverse; border-style: dotted; }
.swo-orbit-ring.r2::before {
    content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%;
    background: var(--swo-brand); box-shadow: 0 0 16px 4px rgba(46, 230, 246, .7);
}
.swo-orbit-ring.r2 { animation: swo-spin 14s linear infinite; }
.swo-orbit-core {
    position: absolute; inset: 33%; border-radius: 50%; display: grid; place-items: center;
    background: radial-gradient(circle, rgba(10, 16, 32, .9) 55%, rgba(46, 230, 246, .18) 70%, transparent 72%);
}
.swo-orbit-core::before {
    content: ""; position: absolute; inset: -30%; border-radius: 50%; z-index: -1;
    background: radial-gradient(circle, rgba(46, 230, 246, .35), rgba(59, 130, 246, .12) 45%, transparent 70%);
    animation: swo-breathe 4s ease-in-out infinite;
}
.swo-orbit-core .swo-sharingan { width: 82%; height: 82%; }
.swo-orbit-core .swo-sharingan img { filter: drop-shadow(0 0 24px rgba(46, 230, 246, .7)); }
@keyframes swo-breathe { 50% { transform: scale(1.12); opacity: .7; } }
.swo-orbit-track { position: absolute; inset: 0; animation: swo-spin 48s linear infinite; }

/* Orbita + legenda embaixo */
.swo-orbit-wrap { display: flex; flex-direction: column; align-items: center; gap: 6px; justify-self: center; min-width: 0; }
.swo-orbit-caption {
    margin: 0; text-align: center; color: #fff;
    /* "Ninja Naruto" (cdnfonts, so carregada na home); Fredoka fica de reserva
       enquanto ela baixa ou se o CDN falhar */
    font-family: 'Ninja Naruto', 'Fredoka', var(--swo-font-display); font-weight: 400; font-size: clamp(17px, 2.2vw, 30px); letter-spacing: .05em; line-height: 1.25;
    /* nunca quebra linha: o arco e calculado pra frase inteira numa linha so */
    white-space: nowrap; margin-top: 16px; padding-top: .8em;
    animation: swo-caption-glow 4s ease-in-out 2.2s infinite;
}
/* arco: rotate/translate sao propriedades proprias, entao somam com o
   transform da entrada em onda (cada letra sobe desembacando, uma apos a outra) */
.swo-orbit-caption span {
    display: inline-block; rotate: var(--r, 0deg); translate: 0 var(--ty, 0);
    animation: swo-caption-in .7s var(--swo-ease-spring) both; animation-delay: calc(var(--c) * 35ms + .9s);
}
@keyframes swo-caption-in { from { opacity: 0; transform: translateY(14px) scale(.7); filter: blur(6px); } }
@keyframes swo-caption-glow {
    0%, 100% { text-shadow: 0 0 14px rgba(46, 230, 246, .35), 0 2px 12px rgba(0, 0, 0, .55); }
    50% { text-shadow: 0 0 22px rgba(46, 230, 246, .7), 0 0 44px rgba(59, 130, 246, .35), 0 2px 12px rgba(0, 0, 0, .55); }
}
.swo-orbit-sat {
    position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px;
    transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(-1 * var(--a)));
}
.swo-orbit-sat > span {
    display: grid; place-items: center; width: 100%; height: 100%; border-radius: 22px;
    background: linear-gradient(160deg, rgba(26, 36, 64, .95), rgba(10, 15, 28, .95));
    border: 1px solid var(--swo-line-2); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06);
    animation: swo-spin 48s linear infinite reverse;
}
.swo-orbit-sat img {
    width: 64px; height: 64px; object-fit: contain; image-rendering: pixelated; animation: swo-bob 3.2s ease-in-out infinite; animation-delay: calc(var(--n, 0) * -.5s);
    /* troca de vocacao: some encolhendo e a nova volta com mola. Usa "scale" (propriedade
       propria) pra nao brigar com o transform do swo-bob. */
    transition: opacity .38s ease, scale .5s var(--swo-ease-spring), filter .38s ease;
}
.swo-orbit-sat img.is-swapping { opacity: 0; scale: .4; filter: blur(3px) brightness(1.8); transition-timing-function: ease-in; }
.swo-orbit-sat > span { transition: border-color .4s ease, box-shadow .4s ease; }
.swo-orbit-sat > span:has(img.is-swapping) { border-color: rgba(46, 230, 246, .6); box-shadow: 0 0 22px -2px rgba(46, 230, 246, .55), inset 0 1px 0 rgba(255, 255, 255, .06); }
@keyframes swo-bob { 50% { transform: translateY(-5px); } }
.swo-orbit:hover .swo-orbit-track, .swo-orbit:hover .swo-orbit-sat > span,
.swo-orbit:focus-within .swo-orbit-track, .swo-orbit:focus-within .swo-orbit-sat > span { animation-play-state: paused; }

/* Vocacao clicavel (abre a wiki): cresce, acende e mostra o nome */
body.swo a.swo-orbit-sat { color: var(--swo-text); outline: none; }
.swo-orbit-sat:hover, .swo-orbit-sat:focus-visible { z-index: 3; }
.swo-orbit-sat > span { position: relative; cursor: pointer; transition: scale .45s var(--swo-ease-spring), border-color .3s ease, box-shadow .3s ease; }
.swo-orbit-sat:hover > span, .swo-orbit-sat:focus-visible > span {
    scale: 1.16; border-color: rgba(46, 230, 246, .75);
    box-shadow: 0 0 0 4px rgba(46, 230, 246, .12), 0 0 28px -2px rgba(46, 230, 246, .6), 0 14px 30px -12px rgba(0, 0, 0, .8);
}
.swo-orbit-name {
    position: absolute; left: 50%; top: calc(100% + 10px); translate: -50% 6px; opacity: 0; pointer-events: none;
    font-style: normal; font-size: 12px; font-weight: 700; white-space: nowrap; color: #fff;
    padding: 4px 11px; border-radius: 999px; background: rgba(8, 12, 23, .92); border: 1px solid rgba(46, 230, 246, .45);
    box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .8);
    transition: opacity .25s ease, translate .35s var(--swo-ease);
}
.swo-orbit-sat:hover .swo-orbit-name, .swo-orbit-sat:focus-visible .swo-orbit-name { opacity: 1; translate: -50% 0; }

/* Faixa de numeros */
.swo-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.swo-stat { display: flex; align-items: center; gap: 16px; padding: 20px 22px; }
.swo-stat-icon {
    width: 50px; height: 50px; flex: none; display: grid; place-items: center; border-radius: 15px; color: var(--swo-brand);
    background: linear-gradient(145deg, rgba(46, 230, 246, .18), rgba(59, 130, 246, .06)); border: 1px solid rgba(46, 230, 246, .22);
}
.swo-stat-icon .swo-i { width: 24px; height: 24px; }
.swo-stat.is-fire .swo-stat-icon { color: #ffae6b; background: linear-gradient(145deg, rgba(255, 122, 24, .2), rgba(255, 61, 110, .06)); border-color: rgba(255, 122, 24, .3); }
.swo-stat.is-ok .swo-stat-icon { color: var(--swo-ok); background: linear-gradient(145deg, rgba(52, 211, 153, .18), rgba(52, 211, 153, .04)); border-color: rgba(52, 211, 153, .3); }
.swo-stat.is-bad .swo-stat-icon { color: var(--swo-bad); background: rgba(248, 113, 113, .1); border-color: rgba(248, 113, 113, .3); }
.swo-stat-value { font-family: var(--swo-font-display); font-weight: 800; font-size: 28px; line-height: 1; color: #fff; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.swo-stat-label { font-size: 13px; color: var(--swo-text-3); margin-top: 6px; font-weight: 500; }

/* Carrossel: palco com o banner + controles numa faixa propria embaixo */
/* limitado a 860px (mantem a proporcao dos banners, so ocupa menos rolagem da home) */
.swo-carousel { position: relative; max-width: 860px; margin: 0 auto; touch-action: pan-y; outline: none; }
.swo-carousel-stage { position: relative; border-radius: var(--swo-r-lg); overflow: hidden; aspect-ratio: 2.2 / 1; background: #0a1020; border: 1px solid var(--swo-line); box-shadow: var(--swo-shadow-lg); }
.swo-carousel:focus-visible .swo-carousel-stage { outline: 2px solid var(--swo-brand); outline-offset: 3px; }
/* Troca de banner: crossfade + deslize curto na direcao da navegacao (--dir,
   setado por swo.js). Sem zoom: o banner ja aparece inteiro e parado. */
.swo-slide {
    position: absolute; inset: 0; opacity: 0; visibility: hidden;
    transform: translateX(calc(var(--dir, 1) * 36px));
    transition: opacity .8s ease, transform .8s var(--swo-ease), visibility 0s linear .8s;
}
.swo-slide.is-active { opacity: 1; visibility: visible; transform: none; z-index: 1; transition: opacity .8s ease, transform .8s var(--swo-ease); }
.swo-slide.is-leaving { visibility: visible; transform: translateX(calc(var(--dir, 1) * -36px)); transition: opacity .8s ease, transform .8s var(--swo-ease); }
.swo-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Setas centralizadas e, logo abaixo, uma barra de tempo por banner */
.swo-carousel-ui { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 16px; }
.swo-carousel-arrows { display: flex; justify-content: center; gap: 12px; }
.swo-carousel-arrow {
    width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #fff;
    background: rgba(140, 170, 255, .07); border: 1px solid var(--swo-line-2);
    transition: transform .35s var(--swo-ease-spring), background .25s ease, border-color .25s ease, box-shadow .3s ease;
}
.swo-carousel-arrow:hover { background: rgba(46, 230, 246, .12); border-color: rgba(46, 230, 246, .5); box-shadow: 0 8px 22px -10px rgba(46, 230, 246, .8); transform: scale(1.08); }
.swo-carousel-arrow:active { transform: scale(.94); transition-duration: .1s; }
.swo-carousel-arrow.is-prev .swo-i { transform: rotate(180deg); }
.swo-carousel-dots { display: flex; justify-content: center; gap: 8px; }
.swo-carousel-dot {
    position: relative; width: 44px; height: 4px; border-radius: 4px; border: 0; padding: 0; cursor: pointer; overflow: hidden;
    background: rgba(140, 170, 255, .16); transition: width .45s var(--swo-ease), background .2s ease;
}
/* area de clique maior que a barra fininha */
.swo-carousel-dot::before { content: ""; position: absolute; inset: -10px 0; }
.swo-carousel-dot:hover { background: rgba(140, 170, 255, .3); }
.swo-carousel-dot.is-active { width: 88px; }
.swo-carousel-dot i { position: absolute; inset: 0; border-radius: inherit; background: var(--swo-grad-brand); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 10px rgba(46, 230, 246, .6); }
.swo-carousel-dot.is-active i { animation: swo-dot-fill var(--swo-autoplay, 6s) linear forwards; }
.swo-carousel.is-paused .swo-carousel-dot.is-active i { animation-play-state: paused; }
@keyframes swo-dot-fill { to { transform: scaleX(1); } }

/* News + lateral */
.swo-home-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); gap: 24px; align-items: start; }
.swo-home-side { display: flex; flex-direction: column; gap: 24px; position: sticky; top: calc(var(--swo-nav-h) + 16px); }
/* Titulo "News" numa linha propria: o card de ranking comeca na mesma altura do
   primeiro card de noticia, em vez de ficar alinhado com o titulo. */
.swo-home-grid { row-gap: 0; }
.swo-home-main { display: contents; }
.swo-home-main > .swo-section-head { grid-column: 1; grid-row: 1; }
.swo-home-main > .swo-news { grid-column: 1; grid-row: 2; }
.swo-home-grid > .swo-home-side { grid-column: 2; grid-row: 2; }

.swo-news { display: flex; flex-direction: column; gap: 18px; }
.swo-news-card { padding: 26px 28px; }
.swo-news-card.is-featured { background: linear-gradient(180deg, rgba(24, 34, 62, .75), rgba(11, 16, 30, .75)); border-color: rgba(46, 230, 246, .2); }
.swo-news-card.is-featured::before { opacity: 1; }
.swo-news-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; font-size: 13px; color: var(--swo-text-3); }
.swo-news-meta a { color: var(--swo-text-2) !important; font-weight: 600; }
.swo-news-card h3 { font-family: var(--swo-font-display); font-weight: 700; font-size: 22px; line-height: 1.25; letter-spacing: -.01em; margin: 0 0 12px; }
.swo-news-card h3 a { color: #fff !important; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--swo-ease); }
.swo-news-card h3 a:hover { background-size: 100% 2px; }
.swo-news-body { color: var(--swo-text-2); font-size: 15px; line-height: 1.75; }
.swo-news-body img { max-width: 100%; height: auto; border-radius: 10px; }
.swo-news-body iframe, .swo-news-body video, .swo-news-body table { max-width: 100%; }
.swo-news-body b, .swo-news-body strong { color: var(--swo-text); }
.swo-news-body .youtube .aspectratio { position: relative; padding-top: 56.25%; border-radius: 12px; overflow: hidden; }
.swo-news-body .youtube iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.js .swo-clamp.is-clamped { max-height: 340px; overflow: hidden; position: relative; }
.js .swo-clamp.is-clamped::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; background: linear-gradient(180deg, transparent, rgba(12, 18, 33, .98)); pointer-events: none; }
.swo-clamp-btn { margin-top: 14px; }
.swo-pager { display: flex; flex-wrap: wrap; gap: 8px; }
body.swo .swo-pager a, .swo-pager span {
    min-width: 40px; height: 40px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 12px; font-weight: 700; font-size: 14px;
    color: var(--swo-text-2); background: rgba(140, 170, 255, .06); border: 1px solid var(--swo-line);
    transition: transform .3s var(--swo-ease), background .2s ease, color .2s ease;
}
body.swo .swo-pager a:hover { color: #fff; transform: translateY(-2px); border-color: var(--swo-line-2); }
.swo-pager .is-current { color: var(--swo-brand-ink); background: var(--swo-brand); border-color: var(--swo-brand); }

/* Mini podio (lateral da home) */
.swo-mini-podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; gap: 8px; margin: 6px 0 16px; }
body.swo .swo-mini-podium a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; min-width: 0; color: var(--swo-text); }
.swo-mini-podium img { width: 58px; height: 58px; object-fit: contain; image-rendering: pixelated; transition: transform .4s var(--swo-ease-spring); }
.swo-mini-podium a:hover img { transform: translateY(-6px) scale(1.06); }
.swo-mini-podium .p1 img { width: 72px; height: 72px; }
.swo-mini-podium strong { font-size: 13px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.swo-mini-podium small { font-size: 11.5px; color: var(--swo-text-3); }
.swo-mini-podium .swo-bar {
    width: 100%; border-radius: 12px 12px 4px 4px; display: grid; place-items: center; font-family: var(--swo-font-display); font-weight: 800; font-size: 20px;
    transform-origin: 50% 100%;
}
.js .swo-mini-podium .swo-bar { transform: scaleY(0); transition: transform 1s var(--swo-ease-spring); }
.js .is-in .swo-mini-podium .swo-bar, .js .swo-mini-podium.is-in .swo-bar { transform: none; }
.swo-mini-podium .p1 .swo-bar { height: 74px; color: #3b2700; background: linear-gradient(180deg, #ffe07a, #f0a92a); box-shadow: 0 10px 30px -10px rgba(255, 207, 74, .7); transition-delay: .25s; }
.swo-mini-podium .p2 .swo-bar { height: 54px; color: #1f2633; background: linear-gradient(180deg, #eef3fb, #aab6c9); transition-delay: .1s; }
.swo-mini-podium .p3 .swo-bar { height: 40px; color: #3a1d08; background: linear-gradient(180deg, #f5b27f, #c26b33); transition-delay: .4s; }
.swo-crown { color: var(--swo-gold); width: 22px; height: 22px; filter: drop-shadow(0 0 8px rgba(255, 207, 74, .8)); animation: swo-bob 2.4s ease-in-out infinite; }

.swo-rank-mini { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.swo-rank-mini li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: rgba(140, 170, 255, .04); border: 1px solid transparent; transition: border-color .2s ease, background .2s ease, transform .3s var(--swo-ease); }
.swo-rank-mini li:hover { border-color: var(--swo-line-2); background: rgba(140, 170, 255, .08); transform: translateX(3px); }
.swo-rank-mini .n { width: 26px; font-family: var(--swo-font-display); font-weight: 800; color: var(--swo-text-3); font-size: 14px; }
.swo-rank-mini img { width: 30px; height: 30px; image-rendering: pixelated; object-fit: contain; }
.swo-rank-mini a { flex: 1; min-width: 0; color: var(--swo-text) !important; font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.swo-rank-mini .lv { font-size: 12.5px; color: var(--swo-brand); font-weight: 700; font-variant-numeric: tabular-nums; }

/* Linha do tempo (changelog) */
.swo-timeline { list-style: none; margin: 0; padding: 0 0 0 18px; position: relative; }
.swo-timeline::before { content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--swo-brand), rgba(59, 130, 246, .1)); }
.swo-timeline li { position: relative; padding: 0 0 16px 10px; }
.swo-timeline li:last-child { padding-bottom: 0; }
.swo-timeline li::before { content: ""; position: absolute; left: -18px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--swo-bg); border: 2px solid var(--swo-brand); box-shadow: 0 0 10px rgba(46, 230, 246, .5); }
.swo-timeline time { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--swo-text-3); margin-bottom: 3px; }
.swo-timeline p { margin: 0; font-size: 14px; color: var(--swo-text-2); line-height: 1.55; }

/* Bento "explore" */
.swo-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 190px; gap: 16px; }
body.swo .swo-tile {
    position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
    padding: 24px; border-radius: var(--swo-r-lg); color: var(--swo-text);
    background: linear-gradient(180deg, rgba(20, 28, 50, .6), rgba(11, 16, 30, .8)); border: 1px solid var(--swo-line);
}
.swo-tile.is-wide { grid-column: span 2; }
.swo-tile.is-tall { grid-row: span 2; }
.swo-tile h3 { font-family: var(--swo-font-display); font-weight: 700; font-size: 21px; margin: 0; color: #fff; letter-spacing: -.01em; }
.swo-tile p { margin: 0; font-size: 14px; color: var(--swo-text-2); max-width: 340px; }
.swo-tile-icon {
    position: absolute; top: 22px; left: 24px; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
    color: var(--swo-brand); background: rgba(46, 230, 246, .1); border: 1px solid rgba(46, 230, 246, .25);
    transition: transform .5s var(--swo-ease-spring);
}
.swo-tile-icon .swo-i { width: 24px; height: 24px; }
.swo-tile:hover .swo-tile-icon { transform: rotate(-8deg) scale(1.1); }
.swo-tile-go {
    position: absolute; top: 22px; right: 22px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
    color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid var(--swo-line-2);
    transform: rotate(-45deg); transition: transform .45s var(--swo-ease), background .3s ease;
}
.swo-tile:hover .swo-tile-go { transform: rotate(0); background: var(--swo-brand); color: var(--swo-brand-ink); }
.swo-tile-art { position: absolute; right: -10px; bottom: -10px; width: 58%; max-width: 280px; opacity: .9; image-rendering: pixelated; pointer-events: none; transition: transform .8s var(--swo-ease); }
.swo-tile:hover .swo-tile-art { transform: scale(1.08) translate(-6px, -6px); }
/* Tile com arte em faixa lateral (Bosses): a arte ocupa a altura toda do card
   no lado direito, sem corte, e a borda esquerda dela some no fundo do tile. */
.swo-tile.is-side h3, .swo-tile.is-side p { position: relative; z-index: 1; max-width: 50%; }
.swo-tile-side-art {
    position: absolute; top: 0; right: 0; bottom: 0; height: 100%; width: auto; max-width: 56%; object-fit: cover; object-position: center top;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
    transition: transform .8s var(--swo-ease), filter .4s ease; transform-origin: 100% 50%;
}
.swo-tile.is-side:hover .swo-tile-side-art { transform: scale(1.05); filter: brightness(1.12) saturate(1.1); }
/* Bosses em faixa (linha inteira): texto a esquerda, daily bosses passando no meio
   (swo.js) e a arte dos world bosses no canto direito. */
.swo-tile.is-full { grid-column: 1 / -1; }
.swo-tile.is-bosses {
    background: radial-gradient(520px 220px at 45% 60%, rgba(255, 122, 24, .14), transparent 70%), linear-gradient(180deg, rgba(28, 18, 22, .7), rgba(11, 16, 30, .88));
    border-color: rgba(255, 122, 24, .3);
}
.swo-tile.is-bosses h3, .swo-tile.is-bosses p, .swo-tile.is-quests h3, .swo-tile.is-quests p { max-width: 22%; }
.swo-tile.is-bosses .swo-tile-side-art { max-width: 34%; }
.swo-tile.is-bosses .swo-tile-go { z-index: 2; }
.swo-boss-reel {
    position: absolute; z-index: 1; top: 50%; left: 25%; right: 33%; display: flex; justify-content: space-around; align-items: flex-end; gap: 16px;
    transform: translateY(-50%);
}
.swo-boss-slot { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 110px; flex: none; }
.swo-boss-stage { position: relative; width: 110px; height: 110px; display: grid; place-items: end center; padding-bottom: 8px; box-sizing: border-box; }
/* brilho atras e sombra de chao, como os cards de criatura da wiki */
.swo-boss-stage::before {
    content: ""; position: absolute; left: 50%; top: 50%; width: 100px; height: 100px; margin: -56px 0 0 -50px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 122, 24, .32), transparent 68%); animation: swo-boss-breathe 3.4s ease-in-out infinite alternate;
}
.swo-boss-slot:nth-child(2) .swo-boss-stage::before { animation-delay: .7s; }
.swo-boss-slot:nth-child(3) .swo-boss-stage::before { animation-delay: 1.4s; }
.swo-boss-slot:nth-child(4) .swo-boss-stage::before { animation-delay: 2.1s; }
.swo-boss-slot:nth-child(5) .swo-boss-stage::before { animation-delay: 2.8s; }
@keyframes swo-boss-breathe { from { transform: scale(.85); opacity: .6; } to { transform: scale(1.1); opacity: 1; } }
.swo-boss-stage::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 70px; height: 12px; margin-left: -35px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .6), transparent); }
.swo-boss-stage img {
    position: relative; z-index: 1; display: block; max-width: 100px; max-height: 96px; object-fit: contain; image-rendering: pixelated;
    filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .5)); transition: opacity .45s ease, transform .55s var(--swo-ease), filter .45s ease;
}
.swo-boss-slot.is-out .swo-boss-stage img { opacity: 0; transform: translateY(-16px); filter: blur(4px) brightness(1.7); }
.swo-boss-slot.is-enter .swo-boss-stage img { opacity: 0; transform: translateY(16px); transition: none; }
.swo-boss-name {
    max-width: 110px; padding: 2px 9px; border-radius: 999px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    font-size: 11px; font-weight: 700; color: #ffe2c7; background: rgba(14, 10, 18, .85); border: 1px solid rgba(255, 150, 70, .35);
    transition: opacity .35s ease;
}
.swo-boss-slot.is-out .swo-boss-name { opacity: 0; }
.swo-tile.is-bosses:hover .swo-boss-stage img, .swo-tile.is-quests:hover .swo-boss-stage img { transform: translateY(-5px); }

/* Quests em faixa: recompensas passando (mesmo carrossel dos bosses), tom dourado */
.swo-tile.is-quests {
    background: radial-gradient(560px 220px at 55% 60%, rgba(255, 207, 74, .12), transparent 70%), linear-gradient(180deg, rgba(26, 24, 20, .66), rgba(11, 16, 30, .88));
    border-color: rgba(255, 207, 74, .28);
}
.swo-tile.is-quests .swo-tile-icon { color: var(--swo-gold); background: rgba(255, 207, 74, .1); border-color: rgba(255, 207, 74, .3); }
.swo-quest-reel { left: 27%; right: 9%; }
/* Bosses: fileira mais pra direita (entra na parte esmaecida da arte) e mais espacada */
.swo-tile.is-bosses .swo-boss-reel { left: 28%; right: 24%; gap: 28px; }
.swo-tile.is-quests .swo-boss-reel { left: 30%; right: 8%; gap: 36px; }
.swo-quest-reel .swo-boss-stage::before { background: radial-gradient(circle, rgba(255, 207, 74, .3), transparent 68%); }
.swo-quest-reel .swo-boss-name { color: #fff1c7; border-color: rgba(255, 207, 74, .38); }

/* Download em faixa: card importante, "DOWNLOAD" grande, seta pulando, Windows e Linux */
body.swo .swo-tile.is-download {
    flex-direction: row; align-items: center; justify-content: flex-start; gap: 28px; padding: 24px 32px;
    background: radial-gradient(600px 240px at 20% 50%, rgba(46, 230, 246, .18), transparent 70%), linear-gradient(120deg, rgba(20, 40, 70, .75), rgba(11, 16, 30, .9) 60%);
    border-color: rgba(46, 230, 246, .4);
}
.swo-tile.is-download:hover { border-color: rgba(46, 230, 246, .75); box-shadow: 0 24px 50px -24px rgba(46, 230, 246, .7); }
.swo-dl-arrow {
    flex: none; width: 92px; height: 92px; border-radius: 26px; display: grid; place-items: center; color: #fff;
    background: linear-gradient(145deg, #22d3ee, #2563eb); box-shadow: 0 16px 34px -12px rgba(34, 170, 240, .9), inset 0 1px 0 rgba(255, 255, 255, .3);
    animation: swo-dl-ping 2.4s ease-out infinite;
}
.swo-dl-arrow .swo-i { width: 44px; height: 44px; animation: swo-dl-bounce 1.6s ease-in-out infinite; }
@keyframes swo-dl-bounce { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(5px); } }
@keyframes swo-dl-ping {
    0% { box-shadow: 0 16px 34px -12px rgba(34, 170, 240, .9), 0 0 0 0 rgba(46, 230, 246, .5), inset 0 1px 0 rgba(255, 255, 255, .3); }
    70%, 100% { box-shadow: 0 16px 34px -12px rgba(34, 170, 240, .9), 0 0 0 16px rgba(46, 230, 246, 0), inset 0 1px 0 rgba(255, 255, 255, .3); }
}
.swo-dl-copy { flex: 1 1 auto; min-width: 0; position: relative; z-index: 1; }
.swo-dl-title {
    display: block; font-family: var(--swo-font-display); font-size: clamp(40px, 5.2vw, 66px); font-weight: 800; line-height: 1; letter-spacing: .06em;
    background: linear-gradient(100deg, #ffffff 20%, #7ff3ff 45%, #ffffff 60%, #60a5fa 85%); background-size: 220% 100%;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    animation: swo-dl-shine 4s linear infinite;
}
@keyframes swo-dl-shine { to { background-position: -220% 0; } }
.swo-tile.is-download .swo-dl-copy p { max-width: 460px; margin-top: 8px; }
/* Windows / Linux: chips lado a lado no canto direito (swo-hdl-*: .swo-dl-os ja e da pagina de downloads) */
.swo-hdl-os { flex: none; display: flex; gap: 12px; margin-left: auto; position: relative; z-index: 1; }
.swo-hdl-chip {
    display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px; white-space: nowrap;
    background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .16);
    transition: border-color .25s ease, background .25s ease, transform .35s var(--swo-ease-spring);
}
.swo-hdl-chip-ico {
    flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff;
    background: linear-gradient(145deg, rgba(46, 230, 246, .25), rgba(37, 99, 235, .25)); border: 1px solid rgba(46, 230, 246, .35);
}
.swo-hdl-chip-ico .swo-i { width: 24px; height: 24px; }
.swo-hdl-chip-txt { display: flex; flex-direction: column; line-height: 1.2; }
.swo-hdl-chip-txt b { font-family: var(--swo-font-display); font-size: 16px; font-weight: 700; color: #fff; }
.swo-hdl-chip-txt small { font-size: 12px; color: var(--swo-text-3); }
.swo-tile.is-download:hover .swo-hdl-chip { border-color: rgba(46, 230, 246, .45); background: rgba(46, 230, 246, .07); }
.swo-tile.is-download:hover .swo-hdl-chip:nth-child(2) { transition-delay: .05s; }
.swo-tile.is-download:hover .swo-hdl-chip { transform: translateY(-3px); }
.swo-tile.is-fire .swo-tile-icon { color: #ffae6b; background: rgba(255, 122, 24, .12); border-color: rgba(255, 122, 24, .3); }
.swo-tile.is-wiki { background: radial-gradient(500px 260px at 100% 100%, rgba(46, 230, 246, .18), transparent 70%), linear-gradient(180deg, rgba(20, 28, 50, .6), rgba(11, 16, 30, .8)); }
.swo-tile.is-rank { background: radial-gradient(400px 200px at 100% 100%, rgba(255, 207, 74, .14), transparent 70%), linear-gradient(180deg, rgba(20, 28, 50, .6), rgba(11, 16, 30, .8)); }
.swo-tile-sharingan { position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; opacity: .22; animation: swo-spin 30s linear infinite; }

/* Vocations: piramide de 3 retratos trocando pelas vocacoes (swo.js), raios de fogo
   girando atras e CTA explicito. Retrato em 1x (pixel art nao escala nem flutua). */
.swo-tile.is-voc {
    background: radial-gradient(420px 320px at 50% 30%, rgba(255, 122, 24, .2), transparent 70%), linear-gradient(180deg, rgba(34, 20, 22, .72), rgba(11, 16, 30, .88));
    border-color: rgba(255, 122, 24, .35);
}
.swo-tile.is-voc:hover { border-color: rgba(255, 150, 70, .6); }
.swo-voc-rays {
    position: absolute; left: 73%; top: 50%; width: 620px; height: 620px; margin: -310px 0 0 -310px; pointer-events: none; opacity: .45;
    background: repeating-conic-gradient(from 0deg, rgba(255, 150, 60, .16) 0 7deg, transparent 7deg 18deg);
    -webkit-mask-image: radial-gradient(circle, #000 0, transparent 58%); mask-image: radial-gradient(circle, #000 0, transparent 58%);
    animation: swo-spin 40s linear infinite;
}
/* fotos + pastilha de ninjas jogaveis embaixo, na metade direita do card */
.swo-voc-stage { position: absolute; z-index: 1; top: 50%; right: 6%; width: 276px; display: flex; flex-direction: column; align-items: center; gap: 42px; transform: translateY(-51%); }
.swo-voc-pyr { position: relative; width: 276px; height: 272px; }
.swo-voc-slot { position: absolute; width: 126px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.swo-voc-slot.is-s0 { top: 0; left: 50%; margin-left: -63px; z-index: 2; }
.swo-voc-slot.is-s1 { top: 122px; left: 0; }
.swo-voc-slot.is-s2 { top: 122px; right: 0; }
.swo-voc-frame {
    position: relative; width: 126px; height: 126px; border-radius: 30px; display: grid; place-items: center;
    background: radial-gradient(circle at 50% 38%, rgba(255, 122, 24, .3), #140e16 75%);
    border: 2px solid rgba(255, 150, 70, .5); box-shadow: 0 14px 28px -12px rgba(255, 100, 30, .75);
    transition: transform .5s var(--swo-ease-spring), border-color .3s ease, box-shadow .4s ease;
}
.swo-voc-slot.is-s0 .swo-voc-frame { border-color: rgba(255, 207, 74, .75); box-shadow: 0 14px 30px -12px rgba(255, 190, 60, .8); }
/* onda saindo da moldura, cada retrato num tempo */
.swo-voc-frame::before {
    content: ""; position: absolute; inset: -2px; border-radius: 32px; border: 2px solid rgba(255, 150, 70, .55); pointer-events: none;
    animation: swo-voc-ping 3s ease-out infinite;
}
.swo-voc-slot.is-s1 .swo-voc-frame::before { animation-delay: 1s; }
.swo-voc-slot.is-s2 .swo-voc-frame::before { animation-delay: 2s; }
@keyframes swo-voc-ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.18); opacity: 0; } }
.swo-voc-frame img { image-rendering: pixelated; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .5)); transition: opacity .45s ease, transform .55s var(--swo-ease), filter .45s ease; }
.swo-voc-slot.is-out .swo-voc-frame img { opacity: 0; transform: translateY(-16px); filter: blur(4px) brightness(1.6); }
.swo-voc-slot.is-enter .swo-voc-frame img { opacity: 0; transform: translateY(16px); transition: none; }
.swo-voc-name {
    max-width: 132px; padding: 3px 10px; border-radius: 999px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    font-size: 11px; font-weight: 700; color: #ffe2c7; background: rgba(14, 10, 18, .85); border: 1px solid rgba(255, 150, 70, .35);
    transition: opacity .35s ease;
}
.swo-voc-slot.is-out .swo-voc-name { opacity: 0; }
.swo-tile.is-voc:hover .swo-voc-frame { transform: translateY(-6px); border-color: rgba(255, 190, 90, .9); }
.swo-tile.is-voc:hover .swo-voc-slot.is-s1 .swo-voc-frame { transition-delay: .05s; }
.swo-tile.is-voc:hover .swo-voc-slot.is-s2 .swo-voc-frame { transition-delay: .1s; }
.swo-tile.is-voc h3 { position: relative; z-index: 1; font-size: 30px; }
/* texto na metade esquerda; a piramide ocupa a direita */
.swo-tile.is-voc > h3, .swo-tile.is-voc > p, .swo-tile.is-voc > .swo-voc-feats { max-width: 48%; }
.swo-voc-feats { position: relative; z-index: 1; list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.swo-voc-feats li { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 13.5px; color: var(--swo-text); }
.swo-voc-feats .swo-i {
    flex: none; box-sizing: border-box; width: 26px; height: 26px; padding: 5px; border-radius: 8px; color: #ffae6b;
    background: rgba(255, 122, 24, .12); border: 1px solid rgba(255, 122, 24, .3);
}
.swo-tile.is-voc p { position: relative; z-index: 1; }
.swo-voc-chip { position: relative; z-index: 1; width: fit-content; }

/* ---- Tile da Wiki: chamativo sem perder a essencia ----------------------
   1) borda de luz girando (conic + angulo animado via @property)
   2) aura interna acompanhando a borda (girada por transform = GPU)
   3) sprites de monstros flutuando no espaco de cima
   4) botao "Open the Wiki" + anel pulsando na seta */
@property --swo-wiki-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.swo-tile.is-wiki { border-color: rgba(46, 230, 246, .25); }
.swo-tile-border {
    position: absolute; inset: 0; border-radius: inherit; padding: 2px; pointer-events: none; z-index: 3;
    background: conic-gradient(from var(--swo-wiki-a), transparent 0deg 200deg, rgba(46, 230, 246, .9) 262deg, #3b82f6 300deg, #a78bfa 330deg, transparent 360deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    animation: swo-wiki-border 4.5s linear infinite;
}
@keyframes swo-wiki-border { to { --swo-wiki-a: 360deg; } }
.swo-tile-aura {
    position: absolute; left: 50%; top: 50%; width: 170%; aspect-ratio: 1; z-index: -1; pointer-events: none;
    background: conic-gradient(from 0deg, transparent 0deg 215deg, rgba(46, 230, 246, .16) 270deg, rgba(59, 130, 246, .12) 305deg, transparent 345deg);
    filter: blur(40px); transform: translate(-50%, -50%) rotate(0deg); will-change: transform;
    animation: swo-wiki-aura 4.5s linear infinite;
}
@keyframes swo-wiki-aura { to { transform: translate(-50%, -50%) rotate(360deg); } }
.swo-wiki-sprites { position: absolute; inset: 0; pointer-events: none; }
.swo-wiki-sprites img {
    position: absolute; left: var(--x); top: var(--y); width: 58px; height: 58px; margin-left: -29px; object-fit: contain; image-rendering: pixelated;
    filter: drop-shadow(0 0 10px rgba(46, 230, 246, .35)) drop-shadow(0 10px 12px rgba(0, 0, 0, .5));
    animation: swo-bob 3.4s ease-in-out infinite; animation-delay: calc(var(--k) * -.7s);
    transition: scale .5s var(--swo-ease-spring);
}
.swo-tile.is-wiki:hover .swo-wiki-sprites img { scale: 1.12; }
.swo-tile.is-wiki .swo-tile-go { animation: swo-go-ping 2.4s ease-out infinite; }
@keyframes swo-go-ping {
    0% { box-shadow: 0 0 0 0 rgba(46, 230, 246, .55); }
    70%, 100% { box-shadow: 0 0 0 12px rgba(46, 230, 246, 0); }
}
/* Vocations: mesma borda de luz girando e o mesmo pulso na seta da Wiki, nas cores de fogo */
.swo-tile.is-voc .swo-tile-border {
    background: conic-gradient(from var(--swo-wiki-a), transparent 0deg 200deg, rgba(255, 150, 60, .9) 262deg, #ff7a18 300deg, #ffcf4a 330deg, transparent 360deg);
}
.swo-tile.is-voc .swo-tile-go { z-index: 4; animation: swo-voc-go-ping 2.4s ease-out infinite; }
.swo-tile.is-voc:hover .swo-tile-go { background: #ff7a18; color: #fff; }
@keyframes swo-voc-go-ping {
    0% { box-shadow: 0 0 0 0 rgba(255, 122, 24, .6); }
    70%, 100% { box-shadow: 0 0 0 12px rgba(255, 122, 24, 0); }
}
.swo-tile.is-voc:hover .swo-tile-cta .swo-i { transform: translateX(4px); }
body.swo .swo-tile.is-voc:hover .swo-tile-cta::after { transform: skewX(-20deg) translateX(420%); }
body.swo .swo-tile-cta { width: fit-content; margin-top: 12px; position: relative; z-index: 1; pointer-events: none; }
.swo-tile-cta .swo-i { transition: transform .35s var(--swo-ease); }
.swo-tile.is-wiki:hover .swo-tile-cta .swo-i { transform: translateX(4px); }
body.swo .swo-tile.is-wiki:hover .swo-tile-cta::after { transform: skewX(-20deg) translateX(420%); }

/* Faixa final de CTA */
.swo-cta-band {
    position: relative; overflow: hidden; border-radius: 28px; padding: 54px 40px; text-align: center;
    background:
        radial-gradient(600px 300px at 20% 0%, rgba(255, 122, 24, .25), transparent 70%),
        radial-gradient(600px 300px at 80% 100%, rgba(46, 230, 246, .22), transparent 70%),
        linear-gradient(180deg, #111a33, #0a0f1f);
    border: 1px solid var(--swo-line-2);
}
.swo-cta-band h2 { font-family: var(--swo-font-display); font-weight: 800; font-size: clamp(28px, 4vw, 44px); letter-spacing: -.02em; margin: 0 0 10px; color: #fff; }
.swo-cta-band p { color: var(--swo-text-2); margin: 0 auto 26px; max-width: 520px; font-size: 16px; }
.swo-cta-band .swo-hero-actions { justify-content: center; animation: none; }
.swo-cta-shuriken { position: absolute; width: 140px; height: 140px; color: rgba(255, 255, 255, .06); animation: swo-spin 22s linear infinite; }
.swo-cta-shuriken.s1 { left: -30px; top: -30px; }
.swo-cta-shuriken.s2 { right: -20px; bottom: -40px; width: 180px; height: 180px; animation-direction: reverse; }

/* -----------------------------------------------------------------------------
   RANKING
   ----------------------------------------------------------------------------- */
.swo-tabs { display: flex; gap: 6px; padding: 6px; border-radius: 16px; background: rgba(8, 12, 23, .6); border: 1px solid var(--swo-line); overflow-x: auto; scrollbar-width: none; }
.swo-tabs::-webkit-scrollbar { display: none; }
body.swo .swo-tab {
    flex: none; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; border-radius: 11px;
    font-size: 13.5px; font-weight: 600; color: var(--swo-text-2); transition: background .25s ease, color .2s ease;
}
body.swo .swo-tab:hover { color: #fff; background: rgba(140, 170, 255, .07); }
body.swo .swo-tab.is-active { color: var(--swo-brand-ink); background: var(--swo-brand); box-shadow: 0 8px 20px -8px rgba(46, 230, 246, .7); }
.swo-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.swo-toolbar select, .swo-toolbar input[type="search"], .swo-toolbar input[type="text"] { width: auto; min-width: 200px; height: 42px; margin: 0; box-sizing: border-box; }

.swo-podium { display: grid; grid-template-columns: 1fr 1.12fr 1fr; align-items: end; gap: 18px; padding-top: 30px; }
.swo-podium-card {
    position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 26px 18px 0; border-radius: 26px 26px 18px 18px; overflow: hidden;
    background: linear-gradient(180deg, rgba(20, 28, 50, .75), rgba(11, 16, 30, .85)); border: 1px solid var(--swo-line);
    transform-style: preserve-3d; transition: transform .5s var(--swo-ease), box-shadow .4s ease;
    --tone: 211, 220, 236;
}
.swo-podium-card.p1 { --tone: 255, 207, 74; border-color: rgba(255, 207, 74, .4); box-shadow: 0 30px 70px -30px rgba(255, 207, 74, .45); }
.swo-podium-card.p2 { --tone: 211, 220, 236; }
.swo-podium-card.p3 { --tone: 227, 148, 89; }
.swo-podium-card::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(260px 180px at 50% 0%, rgba(var(--tone), .22), transparent 70%);
}
.swo-podium-rank {
    position: absolute; top: 14px; left: 14px; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center;
    font-family: var(--swo-font-display); font-weight: 800; font-size: 16px; color: #0a0f1c; background: rgb(var(--tone));
    box-shadow: 0 6px 18px -6px rgba(var(--tone), .9);
}
.swo-podium-card .swo-crown { position: absolute; top: 6px; left: 50%; margin-left: -14px; width: 28px; height: 28px; }
.swo-podium-avatar {
    position: relative; width: 128px; height: 128px; display: grid; place-items: center; margin-top: 12px;
}
.swo-podium-avatar::before {
    content: ""; position: absolute; inset: 6px; border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(var(--tone), .0), rgba(var(--tone), .9), rgba(var(--tone), .0) 60%);
    -webkit-mask: radial-gradient(circle, transparent 60%, #000 61%); mask: radial-gradient(circle, transparent 60%, #000 61%);
    animation: swo-spin 4s linear infinite;
}
.swo-podium-avatar::after { content: ""; position: absolute; inset: 16px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--tone), .25), transparent 70%); }
/* retrato parado e no tamanho real (102px): mexer ou esticar borrava a pixel art; so o anel gira */
.swo-podium-avatar img { position: relative; z-index: 1; width: auto; height: auto; max-width: 102px; image-rendering: pixelated; }
.swo-podium-card.p1 .swo-podium-avatar { width: 150px; height: 150px; }
.swo-podium-card h3 { font-family: var(--swo-font-display); font-weight: 800; font-size: 20px; margin: 10px 0 2px; letter-spacing: -.01em; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.swo-podium-card h3 a { color: #fff !important; }
.swo-podium-voc { font-size: 13px; color: var(--swo-text-3); }
.swo-podium-value { margin: 14px 0 4px; font-family: var(--swo-font-display); font-weight: 800; font-size: 30px; line-height: 1; color: rgb(var(--tone)); font-variant-numeric: tabular-nums; }
.swo-podium-value small { display: block; font-family: var(--swo-font); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--swo-text-3); margin-top: 6px; }
.swo-podium-label { margin-top: 2px; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--swo-text-3); }
.swo-podium-status { margin: 10px 0 16px; }

/* Pastilha Online/Offline (ranking: podio e lista) */
.swo-status-pill {
    display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px;
    font-size: 11.5px; font-weight: 700; letter-spacing: .03em; white-space: nowrap;
}
.swo-status-pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.swo-status-pill.is-on { color: #6ee7b7; background: rgba(52, 211, 153, .12); border: 1px solid rgba(52, 211, 153, .4); }
.swo-status-pill.is-on i { box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: swo-status-ping 1.8s ease-out infinite; }
.swo-status-pill.is-off { color: #fca5a5; background: rgba(248, 113, 113, .1); border: 1px solid rgba(248, 113, 113, .35); }
@keyframes swo-status-ping { 70%, 100% { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); } }
.swo-podium-base {
    align-self: stretch; margin: 0 -18px; height: 22px; transform-origin: 50% 100%;
    background: linear-gradient(180deg, rgba(var(--tone), .35), rgba(var(--tone), .08));
    border-top: 1px solid rgba(var(--tone), .5);
}
.swo-podium-card.p1 .swo-podium-base { height: 64px; }
.swo-podium-card.p2 .swo-podium-base { height: 40px; }
.js .swo-podium-card { opacity: 0; transform: translateY(40px); }
.js .swo-podium.is-in .swo-podium-card { opacity: 1; transform: none; transition: opacity .8s ease, transform 1s var(--swo-ease-spring); }
.js .swo-podium.is-in .swo-podium-card.p2 { transition-delay: .15s; }
.js .swo-podium.is-in .swo-podium-card.p1 { transition-delay: .35s; }
.js .swo-podium.is-in .swo-podium-card.p3 { transition-delay: .5s; }
.js .swo-podium.is-in .swo-podium-card:hover { transform: translateY(-6px); transition: transform .25s ease-out; transition-delay: 0s; }

.swo-rank-list { display: flex; flex-direction: column; gap: 8px; }
.swo-rank-row {
    position: relative; display: grid; grid-template-columns: 54px 52px minmax(0, 1.6fr) minmax(0, 1fr) 110px minmax(0, 1fr); align-items: center; gap: 12px;
    padding: 10px 18px 10px 12px; border-radius: 16px;
    background: linear-gradient(90deg, rgba(20, 28, 50, .6), rgba(11, 16, 30, .6)); border: 1px solid var(--swo-line);
    transition: transform .35s var(--swo-ease), border-color .25s ease, background .25s ease;
}
.swo-rank-row:hover { transform: translateX(4px); border-color: rgba(46, 230, 246, .3); background: linear-gradient(90deg, rgba(26, 38, 68, .75), rgba(11, 16, 30, .6)); }
.swo-rank-row.is-head { background: none; border-color: transparent; padding-top: 0; padding-bottom: 0; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--swo-text-3); }
.swo-rank-row.is-head:hover { transform: none; }
.swo-rank-n { font-family: var(--swo-font-display); font-weight: 800; font-size: 17px; color: var(--swo-text-3); text-align: center; font-variant-numeric: tabular-nums; }
.swo-rank-av { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(140, 170, 255, .06); }
.swo-rank-av img { width: 42px; height: 42px; object-fit: contain; image-rendering: pixelated; }
.swo-rank-name { min-width: 0; font-weight: 700; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.swo-rank-name a { color: #fff !important; }
.swo-rank-name a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.swo-rank-voc { color: var(--swo-text-2); font-size: 14px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.swo-rank-val { font-family: var(--swo-font-display); font-weight: 800; font-size: 18px; color: var(--swo-brand); font-variant-numeric: tabular-nums; }
.swo-rank-exp { font-size: 13px; color: var(--swo-text-3); font-variant-numeric: tabular-nums; text-align: right; }
.swo-rank-bar { display: block; height: 4px; border-radius: 4px; background: rgba(140, 170, 255, .08); margin-top: 6px; overflow: hidden; }
.swo-rank-bar i { display: block; height: 100%; width: var(--w, 0%); border-radius: inherit; background: var(--swo-grad-brand); transform-origin: 0 50%; }
.js .swo-rank-bar i { transform: scaleX(0); transition: transform 1.2s var(--swo-ease) .2s; }
.js .is-in .swo-rank-bar i, .js .swo-rank-row.is-in .swo-rank-bar i { transform: none; }

.swo-empty { text-align: center; padding: 60px 20px; color: var(--swo-text-3); }
.swo-empty .swo-i { width: 44px; height: 44px; color: var(--swo-text-3); margin-bottom: 10px; }
.swo-empty h3 { color: #fff; margin: 0 0 6px; }

/* -----------------------------------------------------------------------------
   ONLINE
   ----------------------------------------------------------------------------- */
.swo-players { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.swo-player {
    position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px;
    background: linear-gradient(160deg, rgba(20, 28, 50, .66), rgba(11, 16, 30, .7)); border: 1px solid var(--swo-line);
}
.swo-player-av { position: relative; width: 58px; height: 58px; flex: none; border-radius: 16px; display: grid; place-items: center; background: rgba(140, 170, 255, .06); }
.swo-player-av img { width: 52px; height: 52px; object-fit: contain; image-rendering: pixelated; transition: transform .45s var(--swo-ease-spring); }
/* outfit da vocacao (sprite 32px) em 2x exato, sem escala no hover pra nao borrar */
.swo-player-av.is-outfit { width: 64px; height: 64px; }
.swo-player-av.is-outfit img { width: 64px; height: 64px; margin-top: -8px; }
.swo-player:hover .swo-player-av.is-outfit img { transform: translateY(-3px); }
.swo-player:hover .swo-player-av img { transform: scale(1.12) translateY(-3px); }
.swo-player-av::after { content: ""; position: absolute; right: -2px; bottom: -2px; width: 12px; height: 12px; border-radius: 50%; background: var(--swo-ok); border: 3px solid #0d1322; }
.swo-player-info { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.swo-player-name { font-weight: 700; font-size: 15px; line-height: 1.25; white-space: normal; overflow-wrap: anywhere; } /* nome inteiro, quebra linha se precisar */
.swo-player-name a { color: #fff !important; }
.swo-player-name a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.swo-player-voc { font-size: 12.5px; color: var(--swo-text-3); line-height: 1.3; overflow-wrap: anywhere; }
.swo-player-guild { position: relative; z-index: 1; font-size: 12.5px; font-weight: 600; color: #8ff0c8 !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.swo-player-lvl { flex: none; text-align: center; font-family: var(--swo-font-display); font-weight: 800; font-size: 16px; min-width: 34px; line-height: 1; color: var(--swo-brand); }
.swo-player-lvl small { display: block; font-family: var(--swo-font); font-size: 10px; font-weight: 700; letter-spacing: .1em; color: var(--swo-text-3); margin-top: 4px; }

/* -----------------------------------------------------------------------------
   DEATHS
   ----------------------------------------------------------------------------- */
.swo-feed { position: relative; display: flex; flex-direction: column; gap: 10px; padding-left: 30px; }
.swo-feed::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, rgba(248, 113, 113, .6), rgba(140, 170, 255, .08)); border-radius: 2px; }
.swo-death {
    position: relative; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 18px; border-radius: 16px;
    background: linear-gradient(90deg, rgba(20, 28, 50, .6), rgba(11, 16, 30, .6)); border: 1px solid var(--swo-line);
    transition: transform .35s var(--swo-ease), border-color .25s ease;
}
.swo-death:hover { transform: translateX(4px); border-color: var(--swo-line-2); }
.swo-death-node {
    position: absolute; left: -30px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; display: grid; place-items: center;
    background: #0d1322; border: 2px solid rgba(140, 170, 255, .35); color: var(--swo-text-3);
}
.swo-death-node .swo-i { width: 13px; height: 13px; }
.swo-death.is-pvp .swo-death-node { border-color: var(--swo-bad); color: var(--swo-bad); box-shadow: 0 0 12px rgba(248, 113, 113, .5); }
.swo-death-text { flex: 1; min-width: 220px; font-size: 14.5px; color: var(--swo-text-2); }
.swo-death-text a { font-weight: 700; color: #fff !important; }
.swo-death-text .killer, .swo-death-text a.killer { font-weight: 700; color: #ffc4c4 !important; }
.swo-death.is-monster .swo-death-text .killer { color: var(--swo-text) !important; }
.swo-death time { font-size: 12.5px; color: var(--swo-text-3); white-space: nowrap; }

/* Filtro por chips */
.swo-filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
body.swo .swo-filter-chip {
    height: 36px; padding: 0 14px; border-radius: 999px; cursor: pointer; font-size: 13px; font-weight: 600;
    color: var(--swo-text-2); background: rgba(140, 170, 255, .05); border: 1px solid var(--swo-line-2);
    transition: all .25s ease;
}
body.swo .swo-filter-chip:hover { color: #fff; }
body.swo .swo-filter-chip.is-active { color: var(--swo-brand-ink); background: var(--swo-brand); border-color: var(--swo-brand); }
.swo-hidden { display: none !important; }

/* -----------------------------------------------------------------------------
   DOWNLOADS
   ----------------------------------------------------------------------------- */
.swo-dl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.swo-dl-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; padding: 30px; }
.swo-dl-card.is-primary { border-color: rgba(46, 230, 246, .3); background: radial-gradient(500px 240px at 100% 0%, rgba(46, 230, 246, .16), transparent 70%), linear-gradient(180deg, rgba(20, 28, 50, .7), rgba(11, 16, 30, .75)); }
.swo-dl-os { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 10px; color: var(--swo-brand); background: rgba(46, 230, 246, .1); border: 1px solid rgba(46, 230, 246, .25); }
.swo-dl-os .swo-i { width: 30px; height: 30px; }
.swo-dl-card h2 { margin: 0; }
.swo-dl-card p { margin: 0 0 16px; color: var(--swo-text-2); }
.swo-dl-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.swo-dl-card .swo-btn { align-self: flex-start; }
.swo-dl-watermark { position: absolute; right: -30px; bottom: -40px; width: 200px; height: 200px; color: rgba(255, 255, 255, .035); }
.swo-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.swo-step { position: relative; padding: 24px; }
.swo-step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-family: var(--swo-font-display); font-weight: 800; color: var(--swo-brand-ink); background: var(--swo-grad-brand); margin-bottom: 14px; box-shadow: 0 8px 20px -8px rgba(46, 230, 246, .7); }
.swo-step h3 { margin: 0 0 6px; font-size: 17px; }
.swo-step p { margin: 0; color: var(--swo-text-2); font-size: 14px; }

/* -----------------------------------------------------------------------------
   Footer
   ----------------------------------------------------------------------------- */
/* main.css legado trava "footer { height: 67px }" e poe padding em "footer p":
   sem zerar aqui o rodape fica cortado (overflow hidden) */
footer.swo-footer { height: auto; color: var(--swo-text-3); font-size: 14px; clear: both; }
footer.swo-footer p { padding: 0; }
.swo-footer { position: relative; margin-top: 40px; border-top: 1px solid var(--swo-line); background: linear-gradient(180deg, rgba(8, 12, 23, .6), #04060c); overflow: hidden; }
.swo-footer-glow { position: absolute; left: 50%; top: -1px; width: 60%; height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--swo-brand), transparent); box-shadow: 0 0 40px 10px rgba(46, 230, 246, .15); }
.swo-footer-inner { max-width: var(--swo-max); margin: 0 auto; padding: 56px 24px 40px; display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.swo-footer-brand p { color: var(--swo-text-3); font-size: 14px; max-width: 340px; margin: 16px 0 18px; }
.swo-footer-col { display: flex; flex-direction: column; gap: 10px; }
.swo-footer-col h4 { font-family: var(--swo-font-display); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 4px 0 6px; }
body.swo .swo-footer-col a { color: var(--swo-text-3); font-size: 14px; width: fit-content; transition: color .2s ease, transform .3s var(--swo-ease); }
body.swo .swo-footer-col a:hover { color: #fff; transform: translateX(3px); }
.swo-footer-social { display: flex; gap: 10px; }
body.swo .swo-social { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--swo-text-2); background: rgba(140, 170, 255, .06); border: 1px solid var(--swo-line-2); transition: transform .35s var(--swo-ease-spring), color .2s ease, background .2s ease; }
body.swo .swo-social:hover { transform: translateY(-3px) rotate(-6deg); color: #fff; }
body.swo .swo-social.is-discord:hover { background: #5865f2; border-color: #5865f2; }
body.swo .swo-social.is-instagram:hover { background: linear-gradient(135deg, #f77737, #e1306c, #c13584); border-color: transparent; }
.swo-footer-bottom { max-width: var(--swo-max); margin: 0 auto; padding: 18px 24px 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; font-size: 12.5px; color: var(--swo-text-3); border-top: 1px solid var(--swo-line); }

/* Botoes flutuantes */
.swo-fab { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
body.swo .swo-fab-btn {
    height: 48px; min-width: 48px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 0; padding: 0 13px;
    color: #fff; cursor: pointer; border: 1px solid var(--swo-line-2); background: rgba(12, 17, 31, .85);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .8);
    transition: transform .4s var(--swo-ease), opacity .3s ease, background .25s ease, gap .4s var(--swo-ease);
}
.swo-fab-btn .swo-i { width: 22px; height: 22px; }
body.swo .swo-fab-discord { background: #5865f2; border-color: #5865f2; }
body.swo .swo-fab-instagram { background: linear-gradient(135deg, #feda75 0%, #fa7e1e 25%, #d62976 55%, #962fbf 80%, #4f5bd5 100%); border-color: transparent; box-shadow: 0 14px 30px -12px rgba(214, 41, 118, .7); }
/* Redes sociais: so o icone; o nome desliza pra fora no hover */
.swo-fab-social span { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 700; font-size: 14px; transition: max-width .45s var(--swo-ease); }
body.swo .swo-fab-social:hover { gap: 8px; color: #fff; transform: translateY(-2px); }
.swo-fab-social:hover span { max-width: 140px; }
.swo-fab-top { opacity: 0; transform: translateY(16px) scale(.8); pointer-events: none; }
.swo-fab-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.swo-fab-top:hover { background: var(--swo-surface-3); }

/* -----------------------------------------------------------------------------
   Responsivo
   ----------------------------------------------------------------------------- */
/* logo + 8 itens de menu + botoes so cabem acima disto (MacBook 14" = 1512px);
   abaixo o Login vazava e o overflow-x: hidden do body cortava ele */
@media (max-width: 1600px) {
    .swo-menu { display: none; }
    .swo-burger { display: inline-block; }
    .swo-nav-actions { margin-left: auto; }
}
@media (max-width: 1024px) {
    .swo-hero { grid-template-columns: 1fr; text-align: center; min-height: 0; padding-top: 10px; }
    .swo-hero-sub { margin-left: auto; margin-right: auto; }
    .swo-hero-actions, .swo-hero-trust { justify-content: center; }
    .swo-orbit { --size: min(420px, 86vw); }
    .swo-orbit-wrap { order: -1; }
    .swo-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .swo-home-grid { grid-template-columns: 1fr; }
    .swo-home-side { position: static; }
    .swo-home-grid > .swo-home-side { grid-column: 1; grid-row: 3; margin-top: 24px; }
    .swo-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .swo-footer-inner { grid-template-columns: 1fr 1fr; }
    .swo-footer-brand { grid-column: 1 / -1; }
    .swo-rank-row { grid-template-columns: 44px 48px minmax(0, 1.4fr) minmax(0, 1fr) 80px 96px; }
}
@media (max-width: 720px) {
    :root { --swo-nav-h: 64px; }
    .swo-nav-inner { padding: 0 14px; gap: 10px; }
    .swo-logo-text small { display: none; }
    .swo-nav-status { display: none; }
    .swo-hide-sm { display: none !important; }
    .swo-shell { padding: 22px 16px 60px; }
    .swo-page-head { padding: 26px 20px 22px; }
    .swo-stats { gap: 10px; }
    .swo-stat { padding: 16px; gap: 12px; flex-direction: column; align-items: flex-start; }
    .swo-stat-value { font-size: 24px; }
    .swo-bento { grid-template-columns: 1fr; grid-auto-rows: 170px; }
    .swo-tile.is-wide, .swo-tile.is-tall { grid-column: auto; grid-row: auto; }
    .swo-tile.is-wiki { grid-row: span 2; }
    .swo-wiki-sprites img { width: 46px; height: 46px; margin-left: -23px; }
    .swo-cta-band { padding: 40px 20px; }
    .swo-podium { grid-template-columns: 1fr; gap: 14px; }
    .swo-podium-card.p1 { order: -1; }
    .swo-podium-base { height: 10px !important; }
    .swo-rank-row { grid-template-columns: 30px 42px minmax(0, 1fr) 54px auto; gap: 8px; padding: 10px 12px 10px 8px; }
    .swo-rank-exp .swo-status-pill { padding: 0 8px; }
    .swo-rank-voc { display: none; }
    .swo-rank-row.is-head { display: none; }
    .swo-dl-grid, .swo-steps { grid-template-columns: 1fr; }
    .swo-footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 40px; }
    .swo-fab { right: 14px; bottom: 14px; }
    .swo-toolbar select, .swo-toolbar input[type="search"], .swo-toolbar input[type="text"] { min-width: 0; width: 100%; }
}
@media (max-width: 420px) {
    .swo-hide-xs { display: none !important; }
    .swo-drawer-cta { grid-template-columns: 1fr; }
}

/* Movimento reduzido: tudo parado, conteudo visivel */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .js [data-reveal], .js .swo-podium-card { opacity: 1 !important; transform: none !important; }
    .js .swo-mini-podium .swo-bar, .js .swo-rank-bar i { transform: none !important; }
    .swo-sharingan img { opacity: 0; } .swo-sharingan img:first-child { opacity: 1; }
    .swo-orbit-caption, .swo-orbit-caption span { animation: none !important; }
    @view-transition { navigation: none; }
}

/* Vocations alto tambem no celular (a regra de 720px zera o is-tall) */
@media (max-width: 720px) {
    .swo-tile.is-voc { grid-row: span 3; }
    .swo-voc-stage { top: 64px; right: auto; left: 50%; transform: translateX(-50%); }
    .swo-voc-rays { left: 50%; top: 200px; }
    .swo-tile.is-voc > h3, .swo-tile.is-voc > p, .swo-tile.is-voc > .swo-voc-feats { max-width: none; }
    .swo-tile.is-voc > p { display: none; }
}
@media (prefers-reduced-motion: reduce) { .swo-voc-rays, .swo-voc-frame::before { animation: none !important; } }

/* Bosses em faixa: menos daily bosses passando conforme a tela estreita */
@media (max-width: 1024px) {
    .swo-boss-reel { left: 30%; right: 30%; }
    .swo-boss-slot:nth-child(n+4) { display: none; }
    .swo-tile.is-bosses h3, .swo-tile.is-bosses p { max-width: 28%; }
}
@media (max-width: 720px) {
    .swo-tile.is-bosses { grid-row: span 2; }
    .swo-boss-reel { top: 22px; left: 70px; right: 16px; transform: none; justify-content: space-around; }
    .swo-boss-slot { width: 88px; }
    .swo-boss-stage { width: 88px; height: 92px; }
    .swo-tile.is-bosses h3, .swo-tile.is-bosses p { max-width: 62%; }
    .swo-tile.is-bosses .swo-tile-side-art { max-width: 42%; opacity: .7; }
}
@media (prefers-reduced-motion: reduce) { .swo-boss-stage::before { animation: none !important; } }

/* faixas de Bosses/Quests: 3 slots abaixo de 1200px; Download quebra em coluna no estreito */
@media (max-width: 1200px) { .swo-boss-slot:nth-child(n+4) { display: none; } }
@media (max-width: 1024px) {
    body.swo .swo-tile.is-download { flex-wrap: wrap; }
    .swo-dl-copy { flex-basis: calc(100% - 120px); }
    .swo-quest-reel { left: 30%; right: 6%; }
    .swo-tile.is-quests h3, .swo-tile.is-quests p { max-width: 28%; }
}
@media (max-width: 720px) {
    .swo-tile.is-quests { grid-row: span 2; }
    .swo-quest-reel { top: 22px; left: 70px; right: 16px; transform: none; justify-content: space-around; }
    .swo-tile.is-quests h3, .swo-tile.is-quests p { max-width: none; }
    .swo-tile.is-download { grid-row: span 3; }
    body.swo .swo-tile.is-download { flex-direction: column; align-items: flex-start; gap: 16px; }
    .swo-dl-copy { flex-basis: auto; }
    .swo-hdl-os { flex-wrap: wrap; margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .swo-dl-arrow, .swo-dl-arrow .swo-i, .swo-dl-title { animation: none !important; } }

/* fileiras de Bosses/Quests no tablet e no celular (mesma especificidade das regras acima) */
@media (max-width: 1024px) {
    .swo-tile.is-bosses .swo-boss-reel { left: 30%; right: 26%; gap: 18px; }
    .swo-tile.is-quests .swo-boss-reel { left: 31%; right: 6%; gap: 20px; }
}
@media (max-width: 720px) {
    .swo-tile.is-bosses .swo-boss-reel, .swo-tile.is-quests .swo-boss-reel { top: 22px; left: 70px; right: 16px; gap: 10px; transform: none; justify-content: space-around; }
}

/* =========================================================================
   Hero de pagina reutilizavel (online, mortes, busca, termos, senha, guerras):
   icone em moldura, kicker, titulo que entra varrendo, pilulas e numero grande.
   Cor do tema em --ph (padrao ciano).
   ========================================================================= */
.swo-phero {
    --ph: #2ee6f6;
    position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px;
    margin: 0 0 20px; padding: 26px 28px; border-radius: 24px; border: 1px solid color-mix(in srgb, var(--ph) 30%, var(--swo-line-2));
    background: radial-gradient(520px 260px at 0% 0%, color-mix(in srgb, var(--ph) 16%, transparent), transparent 70%), linear-gradient(135deg, rgba(20, 30, 52, .88), rgba(11, 16, 30, .92) 65%);
    box-shadow: 0 30px 60px -38px color-mix(in srgb, var(--ph) 60%, transparent), 0 20px 50px -30px rgba(0, 0, 0, .7);
    animation: swo-phero-up .7s var(--swo-ease) both;
}
.swo-phero::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--ph), transparent); transform: scaleX(0); animation: swo-phero-line 1.1s var(--swo-ease) .2s forwards; }
@keyframes swo-phero-line { to { transform: scaleX(1); } }
@keyframes swo-phero-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.swo-phero-stripes {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: repeating-linear-gradient(115deg, color-mix(in srgb, var(--ph) 6%, transparent) 0 12px, transparent 12px 30px);
    -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 100%); mask-image: linear-gradient(90deg, transparent 35%, #000 100%);
    animation: swo-phero-stripes 16s linear infinite;
}
@keyframes swo-phero-stripes { to { background-position: 330px 0; } }
.swo-phero-ico {
    width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center; color: var(--ph);
    background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--ph) 22%, transparent), #0b1120 75%); border: 2px solid color-mix(in srgb, var(--ph) 45%, transparent);
    box-shadow: 0 14px 30px -14px var(--ph); animation: swo-phero-up .8s var(--swo-ease-spring) .1s both, swo-phero-ping 2.6s ease-out 1s infinite;
}
.swo-phero-ico .swo-i { width: 38px; height: 38px; }
@keyframes swo-phero-ping {
    0% { box-shadow: 0 14px 30px -14px var(--ph), 0 0 0 0 color-mix(in srgb, var(--ph) 45%, transparent); }
    70%, 100% { box-shadow: 0 14px 30px -14px var(--ph), 0 0 0 14px transparent; }
}
.swo-phero-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.swo-phero-kicker {
    display: inline-flex; align-items: center; gap: 7px; padding: 5px 13px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
    color: var(--ph); background: color-mix(in srgb, var(--ph) 11%, transparent); border: 1px solid color-mix(in srgb, var(--ph) 36%, transparent);
    animation: swo-phero-up .6s var(--swo-ease) .15s both;
}
.swo-phero-kicker .swo-i { width: 13px; height: 13px; }
.swo-phero-kicker .swo-dot { margin: 0; }
body.swo .swo-phero-title {
    margin: 0; font-family: var(--swo-font-display); font-size: clamp(28px, 4vw, 42px); font-weight: 800; line-height: 1.08; letter-spacing: -.01em;
    background: linear-gradient(100deg, #fff 40%, color-mix(in srgb, var(--ph) 70%, #fff)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    animation: swo-phero-wipe 1s var(--swo-ease) .2s both;
}
@keyframes swo-phero-wipe { from { clip-path: inset(-20% 100% -30% 0); } to { clip-path: inset(-20% -4% -30% 0); } }
.swo-phero-sub { margin: 0; max-width: 620px; font-size: 14.5px; line-height: 1.6; color: var(--swo-text-2); animation: swo-phero-up .6s var(--swo-ease) .3s both; }
.swo-phero-pills { display: flex; flex-wrap: wrap; gap: 8px; animation: swo-phero-up .6s var(--swo-ease) .35s both; }
.swo-phero-pills > span, .swo-phero-pills > a {
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 10px; font-size: 12.5px; color: var(--swo-text-2); text-decoration: none;
    background: rgba(255, 255, 255, .04); border: 1px solid var(--swo-line-2);
}
.swo-phero-pills b { color: #fff; }
.swo-phero-pills .swo-i { width: 14px; height: 14px; color: var(--ph); }
.swo-phero-pills a:hover { color: #fff; border-color: color-mix(in srgb, var(--ph) 55%, transparent); }
.swo-phero-num { text-align: right; line-height: 1; animation: swo-phero-up .6s var(--swo-ease) .35s both; }
.swo-phero-num b { display: block; font-family: var(--swo-font-display); font-size: 52px; font-weight: 800; color: #fff; text-shadow: 0 0 30px color-mix(in srgb, var(--ph) 45%, transparent); font-variant-numeric: tabular-nums; }
.swo-phero-num small { font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--ph); }
@media (max-width: 640px) {
    .swo-phero { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding: 22px 18px; }
    .swo-phero-copy { align-items: center; }
    .swo-phero-pills { justify-content: center; }
    .swo-phero-num { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    .swo-phero, .swo-phero *, .swo-phero::before { animation: none !important; }
    body.swo .swo-phero-title { clip-path: none; }
    .swo-phero::before { transform: none; }
}

/* campo obrigatorio: asterisco na etiqueta e aviso no topo do formulario */
.swo-req { color: #f87171; font-weight: 800; margin-left: 3px; }
.swo-req-note { display: flex; align-items: center; gap: 6px; margin: 0 0 14px; font-size: 12.5px; color: var(--swo-text-3); }
.swo-req-note .swo-req { margin: 0; }

/* =========================================================================
   Termos (servico e compra): indice clicavel, secoes em card numerado com
   icone e itens com a letra destacada.
   ========================================================================= */
.tmx { display: flex; flex-direction: column; gap: 14px; }
.tmx-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 6px; }
body.swo .tmx-toc a {
    display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 12px; font-size: 12.5px; font-weight: 600; color: var(--swo-text-2); text-decoration: none;
    background: rgba(255, 255, 255, .04); border: 1px solid var(--swo-line-2); transition: color .2s ease, border-color .2s ease, transform .3s var(--swo-ease-spring);
}
body.swo .tmx-toc a b { color: var(--swo-brand); font-variant-numeric: tabular-nums; }
body.swo .tmx-toc a:hover { color: #fff; border-color: rgba(46, 230, 246, .5); transform: translateY(-2px); }
.tmx-sec {
    scroll-margin-top: calc(var(--swo-nav-h) + 16px); padding: 18px 20px; border-radius: 20px;
    border: 1px solid var(--swo-line-2); background: linear-gradient(180deg, rgba(19, 27, 48, .78), rgba(10, 15, 28, .82));
    transition: border-color .25s ease;
}
.tmx-sec:hover, .tmx-sec:target { border-color: rgba(46, 230, 246, .4); }
.tmx-sec:target { box-shadow: 0 0 0 3px rgba(46, 230, 246, .15); }
.tmx-head { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.tmx-num { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-family: var(--swo-font-display); font-weight: 800; color: #03161b; background: linear-gradient(145deg, #7ff3ff, #2ee6f6); }
.tmx-ico { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: var(--swo-brand); background: rgba(46, 230, 246, .1); border: 1px solid rgba(46, 230, 246, .28); }
.tmx-ico .swo-i { width: 17px; height: 17px; }
body.swo .tmx-head h2 { margin: 0; font-family: var(--swo-font-display); font-size: 17px; font-weight: 700; color: #fff; }
.tmx-intro { margin: 0 0 8px; font-size: 14px; color: var(--swo-text-2); }
.tmx-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.tmx-items li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: baseline; margin: 0; font-size: 14px; line-height: 1.65; color: #dce8fd; }
.tmx-items li.is-sub { margin-left: 30px; grid-template-columns: 38px minmax(0, 1fr); color: var(--swo-text-2); }
.tmx-l { display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 6px; border-radius: 7px; font-size: 11.5px; font-weight: 800; color: var(--swo-brand); background: rgba(46, 230, 246, .1); border: 1px solid rgba(46, 230, 246, .25); }
.tmx-items li.is-sub .tmx-l { color: var(--swo-text-2); background: rgba(255, 255, 255, .04); border-color: var(--swo-line-2); }
.tmx-items li.is-check { grid-template-columns: 28px minmax(0, 1fr); }
.tmx-items li.is-check .tmx-l { color: #34d399; background: rgba(52, 211, 153, .1); border-color: rgba(52, 211, 153, .3); }
.tmx-items li.is-check .tmx-l .swo-i { width: 13px; height: 13px; }
.tmx-warn {
    display: flex; align-items: flex-start; gap: 12px; padding: 14px 18px; border-radius: 16px; font-size: 14px; line-height: 1.6; color: #ffe2c7;
    background: rgba(255, 122, 24, .08); border: 1px solid rgba(255, 122, 24, .4);
}
.tmx-warn .swo-i { flex: none; width: 20px; height: 20px; margin-top: 2px; color: #ff9a4a; }
.tmx-foot { display: flex; justify-content: center; margin-top: 6px; }
@media (max-width: 640px) {
    .tmx-sec { padding: 14px; }
    .tmx-items li.is-sub { margin-left: 12px; }
}

/* Celular: os cards animados da home (piramide de vocacoes, faixas de bosses/recompensas,
   sprites do wiki, raios) somem e cada card vira icone + texto, com altura pelo conteudo.
   Menos firula, card certinho e mais leve de rodar. */
@media (max-width: 720px) {
    .swo-bento { grid-auto-rows: minmax(170px, auto); }
    .swo-voc-stage, .swo-voc-rays, .swo-boss-reel, .swo-voc-feats, .swo-wiki-sprites,
    .swo-tile.is-bosses .swo-tile-side-art { display: none !important; }
    .swo-tile.is-wiki, .swo-tile.is-voc, .swo-tile.is-bosses, .swo-tile.is-quests, .swo-tile.is-download { grid-row: auto !important; }
    body.swo .swo-tile.is-wiki, body.swo .swo-tile.is-voc, body.swo .swo-tile.is-bosses, body.swo .swo-tile.is-quests { padding-top: 90px; }
    .swo-tile.is-voc > h3, .swo-tile.is-voc > p, .swo-tile.is-bosses h3, .swo-tile.is-bosses p,
    .swo-tile.is-quests h3, .swo-tile.is-quests p { max-width: none !important; }
    .swo-tile.is-voc > p { display: block !important; }
    .swo-tile-cta { margin-top: 8px; width: fit-content; }
    body.swo .swo-tile.is-download { padding: 22px 20px; }
    .swo-dl-arrow { width: 64px; height: 64px; border-radius: 18px; animation: none; }
    .swo-dl-arrow .swo-i { width: 30px; height: 30px; }
    .swo-dl-title { font-size: 36px; animation: none; }
    .swo-hdl-os { width: 100%; }
    .swo-hdl-chip { flex: 1 1 140px; padding: 10px 12px 10px 10px; }
    .swo-hdl-chip-ico { width: 38px; height: 38px; border-radius: 12px; }
}

/* Card/secao fora da tela: animacoes infinitas pausadas (swo.js marca .is-offscreen).
   So play-state; nada muda no visual quando volta pra tela. */
.is-offscreen, .is-offscreen::before, .is-offscreen::after,
.is-offscreen *, .is-offscreen *::before, .is-offscreen *::after { animation-play-state: paused !important; }
