:root {
  color-scheme: light;
  --bg: #f4f5f7;
  --surface: #ffffff;
  --ink: #16181d;
  --ink-2: #474d58;
  --ink-3: #7a818d;
  --line: #e2e5ea;
  --line-2: #eef0f3;
  --accent: #2d5fcf;
  --accent-soft: #e7edfa;
  --win: #1d8455;
  --win-soft: #e2f2e9;
  --loss: #c33d47;
  --loss-soft: #f8e4e5;
  --t-virou: #2d5fcf;
  --t-sozinho: #de8a2a;
  --t-primeiro: #27968a;
  --t-troca: #8a63c4;
  --muted-mark: #c3c8d1;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --r: 14px;
  --r-sm: 8px;
  --shadow: 0 1px 2px rgba(22, 24, 29, .04), 0 12px 32px -18px rgba(22, 24, 29, .18);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p { margin: 0; }
h2 { font-size: 1.375rem; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
h3 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
button, input, select { font: inherit; color: inherit; }
.num { font-family: var(--sans); font-variant-numeric: tabular-nums; font-feature-settings: 'tnum'; letter-spacing: -.01em; }
.muted { color: var(--ink-3); }
.small { font-size: .8125rem; }
.win { color: var(--win); }
.loss { color: var(--loss); }

.topo { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(244, 245, 247, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.topo-in { max-width: 1240px; margin: 0 auto; padding: 12px clamp(16px, 4vw, 32px); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.marca { display: flex; align-items: baseline; gap: 10px; min-width: 0; white-space: nowrap; }
.marca strong { font-weight: 650; letter-spacing: -.02em; font-size: 1rem; }
.marca span { color: var(--ink-3); font-size: .8125rem; overflow: hidden; text-overflow: ellipsis; }
.abas { display: flex; gap: 2px; padding: 3px; background: var(--line-2); border: 1px solid var(--line); border-radius: 999px; overflow-x: auto; scrollbar-width: none; }
.abas::-webkit-scrollbar { display: none; }
.aba { appearance: none; border: 0; background: transparent; padding: 6px 14px; border-radius: 999px; font-size: .875rem; color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: background .2s var(--ease), color .2s var(--ease); }
.aba:hover { color: var(--ink); }
.aba[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(22, 24, 29, .08); font-weight: 550; }
.aba:active { transform: scale(.98); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

main { max-width: 1240px; margin: 0 auto; padding: clamp(24px, 4vw, 44px) clamp(16px, 4vw, 32px) 64px; }
.pagina { display: flex; flex-direction: column; gap: clamp(36px, 5vw, 56px); }
.entra > * { animation: subir .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes subir { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .entra > * { animation: none; } .barra-v { transition: none !important; } }

.bloco { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: clamp(18px, 2.4vw, 28px); min-width: 0; }
.cab { display: flex; flex-direction: column; gap: 6px; max-width: 72ch; }
.cab p { color: var(--ink-2); }
.rotulo { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); font-weight: 550; }
.grade-2 { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; }
.grade-2b { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.grade-lista { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; align-items: start; }
.titulo-bloco { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.titulo-bloco p { color: var(--ink-3); font-size: .8125rem; }

.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 48px); align-items: stretch; }
.hero-txt { display: flex; flex-direction: column; gap: 14px; padding-top: 4px; }
.hero-num { font-family: var(--sans); font-weight: 650; font-size: clamp(3.4rem, 9vw, 5.6rem); line-height: .95; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.hero-num small { font-size: .45em; letter-spacing: -.02em; color: var(--ink-3); margin-left: 2px; }
.hero-sub { font-size: 1.0625rem; color: var(--ink-2); max-width: 40ch; }
.hero-sub b { color: var(--ink); font-weight: 600; }
.tira { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: auto; }
.tira > div { padding: 14px 12px 0 0; display: flex; flex-direction: column; gap: 2px; }
.tira > div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.tira .num { font-size: 1.375rem; font-weight: 600; }
.tira span:last-child { font-size: .8125rem; color: var(--ink-3); }
.hero-graf { display: flex; flex-direction: column; }
.graf { position: relative; min-width: 0; }

.plano { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.habito { display: grid; grid-template-columns: 3.2rem minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, .9fr); gap: clamp(16px, 2.5vw, 32px); padding: clamp(20px, 2.6vw, 30px); align-items: start; }
.habito + .habito { border-top: 1px solid var(--line); }
.hab-n { font-family: var(--mono); font-size: 1.75rem; font-weight: 500; color: var(--muted-mark); line-height: 1; letter-spacing: -.04em; }
.hab-txt { display: flex; flex-direction: column; gap: 8px; }
.hab-txt > p { color: var(--ink-2); font-size: .9rem; }
.regra { margin-top: 6px; padding: 12px 14px; background: var(--accent-soft); border-radius: var(--r-sm); font-size: .9rem; color: var(--ink); }
.regra b { display: block; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 2px; font-weight: 600; }
.hab-cmp { display: flex; flex-direction: column; gap: 12px; }
.fato { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.fato .num { font-size: 2rem; font-weight: 600; line-height: 1; }
.fato span:last-child { color: var(--ink-3); font-size: .8125rem; }
.vs { display: flex; flex-direction: column; gap: 8px; }
.vs-cab { font-size: .75rem; color: var(--ink-3); }
.vs-l { display: grid; grid-template-columns: 6.6rem minmax(0, 1fr) 3.6rem; gap: 10px; align-items: center; font-size: .8125rem; }
.vs-l > span:first-child { color: var(--ink-2); }
.vs-l > .num { text-align: right; font-weight: 600; }
.trilho { position: relative; height: 8px; border-radius: 4px; background: var(--line-2); overflow: hidden; }
.barra-v { position: absolute; inset: 0 auto 0 0; width: 100%; border-radius: 4px; transform-origin: left; transform: scaleX(0); transition: transform .9s var(--ease); }
.marco50 { position: absolute; top: -3px; bottom: -3px; left: 50%; width: 1px; background: var(--ink-3); opacity: .45; }
.hab-trend { display: flex; flex-direction: column; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 550; padding: 3px 9px; border-radius: 999px; width: fit-content; }
.chip.bom { background: var(--win-soft); color: var(--win); }
.chip.ruim { background: var(--loss-soft); color: var(--loss); }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.spark { min-height: 70px; }

.lista-fortes { display: flex; flex-direction: column; }
.forte { display: grid; grid-template-columns: minmax(0, 1fr) 3rem 3.6rem; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: .9rem; }
.forte:last-child { border-bottom: 0; }
.forte small { display: block; color: var(--ink-3); font-size: .75rem; }
.forte .num { text-align: right; }

.pilha { display: flex; height: 38px; border-radius: 10px; overflow: hidden; gap: 2px; }
.pilha > div { display: flex; align-items: center; padding: 0 10px; color: #fff; font-family: var(--sans); font-size: .8125rem; font-weight: 600; min-width: 0; white-space: nowrap; overflow: hidden; }
.tipos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; margin-top: 20px; }
.tipo { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 4px 10px; align-items: baseline; }
.tipo i { width: 10px; height: 10px; border-radius: 3px; transform: translateY(1px); }
.tipo strong { font-weight: 600; font-size: .9rem; }
.tipo .num { font-size: .875rem; }
.tipo p { grid-column: 2 / -1; color: var(--ink-3); font-size: .8125rem; }
.legenda { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .8125rem; color: var(--ink-2); margin-bottom: 8px; }
.legenda span { display: inline-flex; align-items: center; gap: 6px; }
.legenda i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

.tab { width: 100%; border-collapse: collapse; font-size: .875rem; }
.tab th { text-align: left; font-weight: 550; font-size: .75rem; color: var(--ink-3); padding: 0 10px 10px 0; border-bottom: 1px solid var(--line); white-space: nowrap; position: sticky; top: 0; background: var(--surface); z-index: 1; }
.tab td { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.tab tr:last-child td { border-bottom: 0; }
.tab .d { text-align: right; }
.tab th button { appearance: none; border: 0; background: none; padding: 0; cursor: pointer; color: inherit; font-weight: inherit; }
.tab th[aria-sort="descending"] button::after { content: " ↓"; }
.tab th[aria-sort="ascending"] button::after { content: " ↑"; }
.rolagem { max-height: 30rem; overflow: auto; min-width: 0; }
.barrinha { display: grid; grid-template-columns: 3.4rem minmax(3rem, 1fr); gap: 10px; align-items: center; }
.barrinha .num { text-align: right; font-weight: 600; }
.papel { display: block; color: var(--ink-3); font-size: .75rem; }
.busca { width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); font-size: .875rem; }
.busca:focus { background: var(--surface); }
.controles { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.controles .busca { flex: 1 1 12rem; width: auto; }
.filtro { display: flex; gap: 2px; padding: 3px; background: var(--line-2); border-radius: 999px; }
.filtro button { appearance: none; border: 0; background: transparent; padding: 5px 12px; border-radius: 999px; font-size: .8125rem; color: var(--ink-2); cursor: pointer; }
.filtro button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(22, 24, 29, .08); }

.mapas { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12.5rem), 1fr)); gap: 12px; }
.mapa { border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; background: var(--surface); }
.mapa .num.grande { font-size: 1.75rem; font-weight: 600; line-height: 1; }
.mapa p { font-size: .75rem; color: var(--ink-3); }

.talentos { display: flex; flex-direction: column; }
.nivel { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.nivel:last-child { border-bottom: 0; }
.nivel-n { font-family: var(--mono); font-size: .8125rem; color: var(--ink-3); padding-top: 2px; }
.nivel-n b { display: block; font-size: 1.25rem; color: var(--ink); font-weight: 600; }
.opcoes { display: flex; flex-direction: column; gap: 8px; }
.opcao { display: grid; grid-template-columns: minmax(0, 1fr) 4.4rem minmax(4rem, 9rem) 3.4rem; gap: 12px; align-items: center; font-size: .875rem; }
.opcao.melhor .nome { font-weight: 600; }
.opcao .nome { display: flex; gap: 8px; align-items: center; min-width: 0; }
.opcao .nome span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.selo { flex: none; font-size: .6875rem; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 1px 7px; border-radius: 999px; }
.opcao .num { text-align: right; }
.sel { padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: .875rem; max-width: 100%; }

.jogos { display: flex; flex-direction: column; max-height: 44rem; overflow: auto; margin: 0 -8px; padding: 0 8px; }
.jogo { appearance: none; border: 0; background: transparent; text-align: left; width: 100%; display: grid; grid-template-columns: 28px 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 8px; border-radius: 10px; cursor: pointer; }
.jogo + .jogo { margin-top: 2px; }
.jogo:hover { background: var(--bg); }
.jogo[aria-current="true"] { background: var(--accent-soft); }
.vd { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-family: var(--mono); font-weight: 600; font-size: .8125rem; }
.vd.v { background: var(--win-soft); color: var(--win); }
.vd.d { background: var(--loss-soft); color: var(--loss); }
.jogo strong { font-weight: 600; font-size: .9rem; display: block; }
.jogo small { color: var(--ink-3); font-size: .75rem; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jogo .lado { text-align: right; font-size: .75rem; color: var(--ink-3); }
.jogo .lado .num { display: block; font-size: .875rem; color: var(--ink); }
.detalhe { position: sticky; top: 76px; display: flex; flex-direction: column; gap: 18px; }
.det-cab { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.det-cab h3 { font-size: 1.375rem; letter-spacing: -.02em; }
.det-res { font-family: var(--mono); font-weight: 600; font-size: .875rem; padding: 5px 12px; border-radius: 999px; }
.det-res.v { background: var(--win-soft); color: var(--win); }
.det-res.d { background: var(--loss-soft); color: var(--loss); }
.det-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.det-nums > div { padding: 12px 0 12px 14px; display: flex; flex-direction: column; }
.det-nums > div:first-child { padding-left: 0; }
.det-nums > div + div { border-left: 1px solid var(--line); }
.det-nums .num { font-size: 1.25rem; font-weight: 600; }
.det-nums span:last-child { font-size: .75rem; color: var(--ink-3); }
.momentos { display: flex; flex-direction: column; }
.momento { display: grid; grid-template-columns: 3.6rem minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.momento:last-child { border-bottom: 0; }
.momento .t { font-family: var(--mono); font-weight: 600; font-size: .9rem; }
.momento strong { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .9rem; }
.momento strong i { width: 9px; height: 9px; border-radius: 50%; }
.momento p { color: var(--ink-3); font-size: .8125rem; }
.momento .custo { color: var(--loss); font-weight: 550; }
.vazio { color: var(--ink-3); font-size: .875rem; padding: 12px 0; }

.dica { position: absolute; z-index: 5; pointer-events: none; background: var(--ink); color: #f3f4f6; border-radius: 8px; padding: 7px 10px; font-size: .75rem; line-height: 1.45; box-shadow: 0 8px 24px -8px rgba(22, 24, 29, .4); max-width: 240px; }
.dica b { font-weight: 600; display: block; color: #fff; }
.dica .lin { display: flex; gap: 6px; align-items: center; white-space: nowrap; }
.dica i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.eixo { fill: var(--ink-3); font-size: 11px; font-family: var(--mono); }
.eixo-t { fill: var(--ink-3); font-size: 11px; font-family: var(--sans); }
.rot-fim { fill: var(--ink); font-size: 12px; font-family: var(--sans); font-weight: 600; font-variant-numeric: tabular-nums; }

.rodape { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px) 48px; color: var(--ink-3); font-size: .8125rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; border-top: 1px solid var(--line); padding-top: 20px; }
.rodape p { max-width: 80ch; }
.falha { padding: 40px 0; color: var(--loss); }

.periodo { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: .8125rem; color: var(--ink-3); white-space: nowrap; }
.periodo-legado select { appearance: none; -webkit-appearance: none; border: 1px solid var(--line); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%237a818d' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 11px center; padding: 6px 30px 6px 12px; border-radius: 999px; font-size: .875rem; font-weight: 550; color: var(--ink); cursor: pointer; }
.av { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; flex: none; background: var(--line-2); display: inline-grid; place-items: center; font-size: .6875rem; font-weight: 600; color: var(--ink-3); box-shadow: inset 0 0 0 1px rgba(22, 24, 29, .06); }
.av.p { width: 28px; height: 28px; border-radius: 8px; }
.av.g { width: 64px; height: 64px; border-radius: 14px; box-shadow: 0 0 0 3px var(--surface), 0 6px 16px -6px rgba(22, 24, 29, .35); }
.comav { display: flex; align-items: center; gap: 10px; min-width: 0; }
.comav > div { min-width: 0; }
.forte { grid-template-columns: minmax(0, 1fr) 3rem 3.6rem; }
.mapa { padding: 0; overflow: hidden; }
.mapa-img { aspect-ratio: 16 / 7; background: var(--line-2) center / cover no-repeat; position: relative; }
.mapa-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22, 24, 29, 0) 40%, rgba(22, 24, 29, .55)); }
.mapa-img h4 { position: absolute; left: 12px; bottom: 8px; right: 12px; z-index: 1; color: #fff; font-size: .9rem; font-weight: 600; text-shadow: 0 1px 2px rgba(0, 0, 0, .4); }
.mapa-corpo { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; }
.detalhe { padding: 0; overflow: hidden; gap: 0; }
.det-banner { position: relative; min-height: 132px; background: var(--ink) center / cover no-repeat; display: flex; align-items: flex-end; padding: 18px clamp(18px, 2.4vw, 28px); gap: 16px; }
.det-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22, 24, 29, .1), rgba(22, 24, 29, .78)); }
.det-banner > * { position: relative; }
.det-banner h3 { color: #fff; font-size: 1.375rem; letter-spacing: -.02em; }
.det-banner .sub { color: rgba(255, 255, 255, .8); font-size: .8125rem; }
.det-banner .det-res { margin-left: auto; align-self: flex-start; }
.det-corpo { padding: clamp(18px, 2.4vw, 28px); padding-top: 18px; display: flex; flex-direction: column; gap: 18px; }
.build { border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-bottom: 8px; background: linear-gradient(180deg, var(--accent-soft), var(--surface) 70%); display: flex; flex-direction: column; gap: 14px; }
.build-cab { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.build-cab h4 { font-size: 1rem; font-weight: 600; }
.build-cab p { font-size: .8125rem; color: var(--ink-2); }
.codigo { display: inline-flex; align-items: center; gap: 8px; }
.codigo code { font-family: var(--mono); font-size: .8125rem; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; user-select: all; }
.copiar { appearance: none; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: 6px 12px; font-size: .8125rem; font-weight: 550; cursor: pointer; }
.copiar:hover { border-color: var(--accent); color: var(--accent); }
.copiar:active { transform: translateY(1px); }
.build-lista { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.bt { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; min-width: 0; }
.bt .nv { font-family: var(--mono); font-size: .6875rem; color: var(--ink-3); }
.bt strong { font-size: .75rem; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.bt span:last-child { font-size: .6875rem; color: var(--ink-3); }
.ic { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; background: var(--line-2); box-shadow: inset 0 0 0 1px rgba(22, 24, 29, .08); display: inline-grid; place-items: center; font-size: .625rem; color: var(--ink-3); }
.ic.p { width: 30px; height: 30px; border-radius: 7px; }
.bt .ic { width: 48px; height: 48px; box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px var(--accent); }
.opcao { grid-template-columns: 30px minmax(0, 1fr) 4.4rem minmax(4rem, 9rem) 3.4rem; }
.mapas { grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); }
.mapa-top { display: flex; flex-direction: column; gap: 6px; padding-top: 4px; }
.mapa-rot { font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); font-weight: 550; }
.mapa-funcoes { display: flex; flex-direction: column; border-top: 1px solid var(--line-2); margin-top: 2px; }
.mf { display: grid; grid-template-columns: 6.6rem minmax(0, 1fr); align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line-2); font-size: .75rem; }
.mf:last-child { border-bottom: 0; }
.mf-f { color: var(--ink-3); }
.mh { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mh > div { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.mh strong { font-weight: 600; font-size: .8125rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mh span { font-size: .75rem; }
.mh .av.p { width: 24px; height: 24px; border-radius: 6px; }
.mh.g strong { font-size: .9rem; }
.draft { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 20px; align-items: start; }
.draft-mesa { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 76px; }
.draft-mapa { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 12px; background: var(--line-2) center / cover no-repeat; position: relative; min-height: 84px; }
.draft-mapa::before { content: ""; position: absolute; inset: 0; border-radius: 12px; background: linear-gradient(90deg, rgba(22, 24, 29, .6), rgba(22, 24, 29, .1)); opacity: 0; transition: opacity .3s var(--ease); }
.draft-mapa.com-img::before { opacity: 1; }
.draft-mapa > * { position: relative; }
.draft-mapa label { font-size: .8125rem; font-weight: 600; color: var(--ink-2); }
.draft-mapa.com-img label { color: #fff; }
.draft-lado { display: flex; flex-direction: column; gap: 10px; }
.draft-cab { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.draft-cab h3 { font-size: .9375rem; }
.slots { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.slot { appearance: none; border: 1.5px dashed var(--line); background: var(--surface); border-radius: 12px; padding: 8px 4px; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; min-width: 0; min-height: 86px; justify-content: center; color: var(--ink-3); font-size: .75rem; transition: border-color .2s var(--ease), transform .15s var(--ease); }
.slot:hover { border-color: var(--accent); color: var(--accent); }
.slot:active { transform: scale(.97); }
.slot.cheio { border-style: solid; color: var(--ink); }
.slot.cheio span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 550; }
.slot.voce { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: 600; cursor: default; }
.slot .mais { font-size: 1.25rem; line-height: 1; }
.slot .av { width: 44px; height: 44px; border-radius: 10px; }
.slots.pequenos { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.slots.pequenos .slot { min-height: 66px; }
.slots.pequenos .av { width: 32px; height: 32px; filter: grayscale(1); opacity: .75; }
.draft-recs { display: flex; flex-direction: column; gap: 20px; }
.recs { display: flex; flex-direction: column; }
.rec { display: grid; grid-template-columns: 1.6rem 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.rec:last-child { border-bottom: 0; }
.rec .pos { font-family: var(--mono); font-size: .8125rem; color: var(--ink-3); }
.rec .av { width: 44px; height: 44px; border-radius: 10px; }
.rec strong { font-weight: 600; display: block; }
.rec .papel { margin-bottom: 4px; }
.motivos { display: flex; flex-wrap: wrap; gap: 4px; }
.motivo { font-size: .6875rem; padding: 2px 7px; border-radius: 999px; background: var(--line-2); color: var(--ink-2); white-space: nowrap; }
.motivo.mais { background: var(--win-soft); color: var(--win); }
.motivo.menos { background: var(--loss-soft); color: var(--loss); }
.nota-rec { text-align: right; }
.nota-rec .num { font-size: 1.375rem; font-weight: 650; display: block; line-height: 1; }
.nota-rec small { font-size: .6875rem; color: var(--ink-3); }
.nota-rec .num.win { color: var(--win); }
.nota-rec .num.loss { color: var(--loss); }
.motivo.info { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.motivo.info.mais { color: var(--win); }
.motivo.info.menos { color: var(--loss); }
.pj-cab .nota b.win { color: #9be3b6; }
.pj-cab .nota b.loss { color: #ffaab0; }
.pj-rapido { display: flex; flex-direction: column; gap: 8px; border: 1.5px solid var(--accent); background: var(--accent-soft); border-radius: 12px; padding: 14px 16px; }
.pj-rapido > b { font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.pr-linha { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 10px; align-items: start; font-size: .875rem; line-height: 1.45; }
.pr-linha .rotulo { padding-top: 2px; }
.pr-build { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pr-build code { font-family: 'Geist Mono', ui-monospace, monospace; font-size: .8125rem; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; }
@media (max-width: 520px) { .pr-linha { grid-template-columns: 1fr; gap: 2px; } }
.slot.ameaca { border-color: var(--loss); background: var(--loss-soft); }
.tarja-ameaca { position: absolute; left: 4px; top: 4px; font-size: .625rem; font-weight: 650; color: #fff; background: var(--loss); border-radius: 999px; padding: 1px 6px; }
.bt.troca { box-shadow: inset 0 0 0 1.5px var(--accent); }
.recs-funcao { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 10rem), 1fr)); gap: 10px; }
.rf { border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.rf .mapa-rot { font-size: .625rem; }
.seletor { border: 0; border-radius: 18px; padding: 20px; width: min(760px, calc(100vw - 32px)); max-height: min(80vh, 760px); box-shadow: 0 30px 80px -20px rgba(22, 24, 29, .5); background: var(--surface); color: var(--ink); }
.seletor[open] { display: flex; flex-direction: column; gap: 14px; }
.seletor::backdrop { background: rgba(22, 24, 29, .45); backdrop-filter: blur(3px); }
.seletor-cab { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.seletor-grade { overflow: auto; display: flex; flex-direction: column; gap: 14px; min-height: 0; }
.seletor-grupo h4 { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); font-weight: 550; margin-bottom: 8px; }
.seletor-herois { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 6px; }
.op-heroi { appearance: none; border: 1px solid transparent; background: transparent; border-radius: 10px; padding: 6px 2px; display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; font-size: .6875rem; color: var(--ink-2); min-width: 0; }
.op-heroi span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.op-heroi:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--ink); }
.op-heroi:disabled { opacity: .3; cursor: not-allowed; background: transparent; border-color: transparent; }
.op-heroi .av { width: 44px; height: 44px; border-radius: 10px; }
@media (max-width: 960px) { .draft { grid-template-columns: minmax(0, 1fr); } .draft-mesa { position: static; } }
@media (max-width: 760px) { .slot .av { width: 36px; height: 36px; } .slot { min-height: 74px; font-size: .6875rem; } .slots.pequenos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rec.clicavel { cursor: pointer; border-radius: 10px; transition: background .15s var(--ease); }
.rec.clicavel:hover { background: var(--bg); }
.slot.voce:not(:disabled) { cursor: pointer; }
.plano-jogo { padding: 0; overflow: hidden; border-color: var(--accent); }
.pj-cab { display: flex; align-items: center; gap: 14px; padding: 18px 22px; background: var(--ink) center / cover no-repeat; position: relative; color: #fff; }
.pj-cab::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22, 24, 29, .85), rgba(22, 24, 29, .35)); }
.pj-cab > * { position: relative; }
.pj-cab h3 { color: #fff; font-size: 1.2rem; letter-spacing: -.02em; }
.pj-cab p { color: rgba(255, 255, 255, .8); font-size: .8125rem; }
.pj-cab .nota { margin-left: auto; text-align: right; }
.pj-cab .nota b { display: block; font-size: 1.6rem; font-weight: 650; line-height: 1; }
.pj-cab .nota small { font-size: .6875rem; color: rgba(255, 255, 255, .75); }
.pj-corpo { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 16px; }
.pj-itens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; }
.pj-item h4 { font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin-bottom: 4px; }
.pj-item p { font-size: .875rem; color: var(--ink); line-height: 1.5; }
.pj-item p + p { margin-top: 4px; }
.pj-item .pessoas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.pj-item .pessoa { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; padding: 3px 8px 3px 3px; border-radius: 999px; background: var(--line-2); }
.pj-item .pessoa .av { width: 22px; height: 22px; border-radius: 999px; }
.pj-item .pessoa.ruim { background: var(--loss-soft); color: var(--loss); }
.pj-item .pessoa.bom { background: var(--win-soft); color: var(--win); }
.pj-lembrete { background: var(--accent-soft); border-radius: 10px; padding: 12px 14px; font-size: .875rem; }
.pj-lembrete b { display: block; font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 2px; }
.plano-jogo .build { margin: 0; }
@media (max-width: 760px) { .pj-itens { grid-template-columns: minmax(0, 1fr); } .pj-cab { flex-wrap: wrap; } }
.sessao { display: flex; flex-direction: column; gap: 16px; }
.sessao-cab { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: flex-end; }
.sessao-cab h3 { font-size: 1.125rem; margin-top: 4px; }
.sessao-jogos { display: flex; flex-wrap: wrap; gap: 6px; }
.sj { appearance: none; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 3px 10px 3px 3px; display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 550; cursor: pointer; }
.sj .av.p { width: 24px; height: 24px; border-radius: 999px; }
.sj.v { border-color: var(--win); color: var(--win); background: var(--win-soft); }
.sj.d { border-color: var(--loss); color: var(--loss); background: var(--loss-soft); }
.sessao-comp { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: 10px; }
.sc { border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--line); }
.sc.bom { background: var(--win-soft); border-color: transparent; }
.sc.ruim { background: var(--loss-soft); border-color: transparent; }
.sc-n { font-size: .75rem; color: var(--ink-2); }
.sc b { font-size: 1.5rem; font-weight: 650; }
.sc small { font-size: .6875rem; color: var(--ink-3); }
.sessao-rever { display: flex; flex-direction: column; }
.metas-cab { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.metas-tab td.celula { text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; font-size: .8125rem; border-radius: 6px; }
.metas-tab td.ok { background: var(--win-soft); color: var(--win); }
.metas-tab td.nao { background: var(--loss-soft); color: var(--loss); }
.metas-tab td.vazia { color: var(--ink-3); }
.metas-tab { border-collapse: separate; border-spacing: 3px; }
.metas-tab th.d { text-align: center; }
.metas-tab tr.total td { font-size: .75rem; color: var(--ink-2); text-align: center; }
.metas-tab tr.total td:first-child { text-align: left; }
.meta-in { width: 4.6rem; padding: 4px 6px; border: 1px solid var(--line); border-radius: 6px; font: inherit; font-size: .8125rem; text-align: right; background: var(--bg); }
.mec-grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 14px; margin-bottom: 24px; }
.mec-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.mec-card > b { font-size: 2rem; font-weight: 650; line-height: 1.05; }
.mec-card p { color: var(--ink-2); margin-top: 4px; }
.mec-vs { display: flex; gap: 10px; flex-wrap: wrap; font-size: .75rem; color: var(--ink-2); }
.mec-vs span { background: var(--line-2); border-radius: 999px; padding: 2px 8px; }
.mec-tit { margin: 4px 0 12px; }
#mecanica-corpo .rolagem { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; box-shadow: var(--shadow); }
.grupo { background: linear-gradient(135deg, var(--ink) 0%, #2a3242 100%); color: #fff; border-radius: var(--r); padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 20px; box-shadow: var(--shadow); }
.grupo .rotulo { color: rgba(255, 255, 255, .6); }
.grupo h2 { color: #fff; margin-top: 4px; }
.grupo-cab { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: flex-end; }
.grupo-cab p { color: rgba(255, 255, 255, .75); max-width: 60ch; margin-top: 6px; font-size: .9rem; }
.grupo-cab .grupo-exp { max-width: 32ch; text-align: right; color: #fff; font-weight: 550; }
.grupo-grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr)); gap: 12px; }
.gf { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.gf-funcao { font-size: .6875rem; letter-spacing: .07em; text-transform: uppercase; color: rgba(255, 255, 255, .6); font-weight: 600; }
.gh { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.gh .av { width: 44px; height: 44px; border-radius: 10px; background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 1px rgba(255, 255, 255, .15); }
.gh.primeiro .av { box-shadow: 0 0 0 2px #8fb0ff; }
.gh strong { display: block; font-weight: 600; font-size: .9375rem; color: #fff; }
.gh .muted { color: rgba(255, 255, 255, .55); font-size: .75rem; }
.gh-v { font-size: 1.375rem; font-weight: 650; color: #fff; }
.gh-v.win { color: #7ee2a8; }
@media (max-width: 760px) { .grupo-cab .grupo-exp { text-align: left; } }
.cab.secundario { padding-top: 12px; border-top: 1px solid var(--line); }
.delta { display: inline-block; font-size: .6875rem; font-weight: 600; padding: 1px 6px; border-radius: 999px; background: var(--line-2); color: var(--ink-2); margin-left: 6px; font-variant-numeric: tabular-nums; }
.delta.bom { background: var(--win-soft); color: var(--win); }
.delta.ruim { background: var(--loss-soft); color: var(--loss); }
.celula-delta { display: inline-flex; align-items: center; justify-content: flex-end; white-space: nowrap; }
.dano-cura { margin-bottom: 28px; }
.det-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)); gap: 10px; }
.ds { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.ds-n { font-size: .6875rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.ds-v { display: flex; align-items: center; gap: 6px; }
.ds-v .num { font-size: 1.125rem; font-weight: 650; }
.ds-v .delta { margin-left: 0; }
.ds-v .av.p { width: 22px; height: 22px; border-radius: 6px; }
.ds small { font-size: .6875rem; color: var(--ink-3); }
.numeros-funcao { margin-bottom: 24px; }
.nf-grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 14px; }
.nf { border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.nf-cab { display: flex; justify-content: space-between; align-items: baseline; }
.nf .gf-funcao { color: var(--ink-3); }
.nf-tit { font-size: .75rem; color: var(--ink-2); }
.nf-lista { display: flex; flex-direction: column; gap: 6px; }
.nf-l { display: grid; grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr) 3.2rem; gap: 10px; align-items: center; font-size: .8125rem; }
.nf-l > .num { text-align: right; font-weight: 600; }
.nf-nome { display: flex; align-items: center; gap: 8px; min-width: 0; }
.nf-nome span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nf-nome .av.p { width: 24px; height: 24px; border-radius: 6px; }
.nf-barra { position: relative; height: 8px; background: var(--line-2); border-radius: 4px; }
.nf-barra::after { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: var(--ink-3); opacity: .5; }
.nf-barra i { position: absolute; top: 0; bottom: 0; border-radius: 4px; }
.nf-sep { font-size: .8125rem; background: var(--accent-soft); border-radius: 8px; padding: 10px 12px; line-height: 1.45; }
.nf-sep.alerta { background: #fdf3e2; }
.idioma { position: relative; }
.idioma summary { list-style: none; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%237a818d' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center; padding: 5px 28px 5px 9px; border-radius: 999px; font-size: .8125rem; color: var(--ink-2); cursor: pointer; user-select: none; }
.idioma summary::-webkit-details-marker { display: none; }
.idioma summary:focus-visible { outline: 2px solid var(--accent, #2d5fcf); outline-offset: 2px; }
.idioma-menu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 60; min-width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgba(22, 24, 29, .12); padding: 4px; display: grid; gap: 2px; }
.idioma-menu button { display: flex; align-items: center; gap: 8px; border: 0; background: none; padding: 7px 10px; border-radius: 8px; font: inherit; font-size: .8125rem; color: var(--ink-2); cursor: pointer; text-align: left; white-space: nowrap; }
.idioma-menu button:hover, .idioma-menu button[aria-current="true"] { background: var(--line-2, #f1f2f4); color: var(--ink); }
.bandeira { width: 20px; height: 14px; border-radius: 2px; flex: none; box-shadow: 0 0 0 1px rgba(22, 24, 29, .12); }
@media (max-width: 640px) { .idioma summary span { display: none; } }
.periodo { position: relative; }
.periodo-btn { appearance: none; border: 1px solid var(--line); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%237a818d' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 11px center; padding: 6px 30px 6px 12px; border-radius: 999px; font-size: .875rem; font-weight: 550; color: var(--ink); cursor: pointer; max-width: 22rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
.periodo-pop { position: absolute; top: calc(100% + 8px); right: 0; z-index: 40; width: min(320px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px -16px rgba(22, 24, 29, .35); padding: 14px; display: flex; flex-direction: column; gap: 14px; color: var(--ink); white-space: normal; }
.pp-grupo { display: flex; flex-direction: column; gap: 6px; }
.pp-tit { font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.pp-anos { display: flex; flex-wrap: wrap; gap: 6px; }
.pp-ano { appearance: none; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 5px 12px; font-size: .8125rem; cursor: pointer; color: var(--ink-2); }
.pp-ano[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.pp-season { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 8px; cursor: pointer; font-size: .875rem; }
.pp-season:hover { background: var(--bg); }
.pp-season input { width: 16px; height: 16px; accent-color: var(--accent); margin: 0; }
.pp-season small { color: var(--ink-3); font-size: .75rem; }
@media (max-width: 760px) { .periodo-pop { left: 0; right: auto; } .periodo-btn { max-width: none; flex: 1; } }
.draft-base { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 6px; font-size: .9rem; }
.draft-base b { background: var(--accent-soft); color: var(--accent); padding: 3px 10px; border-radius: 999px; font-weight: 600; }
.filtro-funcao { flex-wrap: wrap; width: fit-content; max-width: 100%; margin-bottom: 8px; border-radius: 14px; }
.notas-mapa { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1px dashed var(--line); border-radius: 12px; background: var(--bg); }
.notas-cab { display: flex; flex-direction: column; gap: 10px; }
.notas-cab h3 { font-size: .9375rem; }
.notas-alvos { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.nota-alvo { appearance: none; position: relative; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 3px 10px 3px 4px; font: inherit; font-size: .75rem; color: var(--ink-2); cursor: pointer; }
.nota-alvo:first-child .muted { padding-left: 6px; }
.nota-alvo .av { width: 22px; height: 22px; border-radius: 999px; }
.nota-alvo[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.ponto-nota { width: 6px; height: 6px; border-radius: 999px; background: #d98a0b; }
.nota-outro { font-size: .75rem; padding: 4px 8px; max-width: 11rem; }
.selo-nota { position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; border-radius: 999px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); box-shadow: 0 0 0 2px var(--surface); }
.selo-nota.tem-aviso { background: #fdf0d8; color: #d98a0b; }
.selo-nota .ico-aviso { margin: 0; width: 12px; height: 12px; }
.slot { position: relative; }
.slot .selo-nota { cursor: help; }
.op-heroi { position: relative; }
.rec strong .selo-nota { position: static; display: inline-grid; vertical-align: -5px; margin-left: 6px; box-shadow: none; width: 22px; height: 22px; cursor: help; }
.dica-nota { position: fixed; z-index: 100; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(22, 24, 29, .16); padding: 12px; display: flex; flex-direction: column; gap: 10px; pointer-events: none; font-size: .8125rem; }
.dica-nota > b { font-size: .8125rem; }
.dica-grupo { display: flex; flex-direction: column; gap: 6px; }
.rec-notas { display: flex; flex-direction: column; gap: 3px; margin-top: 6px; }
.rec-nota { display: flex; gap: 6px; align-items: flex-start; font-size: .75rem; line-height: 1.35; color: var(--ink-2); }
.rec-nota svg { flex: none; margin-top: 1px; color: var(--accent); }
.rec-nota.m-alerta svg { color: #d98a0b; } .rec-nota.m-ideia svg { color: #2d5fcf; } .rec-nota.m-bom svg { color: #1f8a4c; } .rec-nota.m-ruim svg { color: #b3262f; }
.pj-nota-grupo { display: flex; flex-direction: column; gap: 6px; }
.pj-nota-grupo + .pj-nota-grupo { border-top: 1px solid #f1d9a8; padding-top: 8px; }
.pj-nota-grupo > strong { font-size: .8125rem; }
.notas-mapa .nota-in.largo { flex: none; }
#notas-draft { margin-top: 4px; }
.nota-linha { display: flex; gap: 6px; align-items: center; flex: 1 1 100%; min-width: 0; }
.nota-linha .nota-in { flex: 1 1 auto; min-width: 0; width: auto; }
.nota-add { appearance: none; flex: none; border: 1px solid var(--accent); background: var(--accent); color: #fff; border-radius: 8px; padding: 6px 12px; font: inherit; font-size: .75rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
.nota-add:hover { filter: brightness(1.08); }
.notas-tags .nota-linha .nota-in { border-radius: 8px; padding: 6px 10px; }
.nota-ta { position: relative; }
.nota-status { position: absolute; right: 10px; bottom: 8px; font-size: .6875rem; color: var(--ink-3); pointer-events: none; }
.nota-status.ok { color: var(--win); font-weight: 600; }
.nota-status.ok::before { content: "✓ "; }
.notas-campos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.nota-campo { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.nota-campo .sel { width: 100%; font-size: .8125rem; }
.nota-escopo { font-size: .8125rem; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line-2); border-radius: 8px; padding: 7px 10px; }
@media (max-width: 520px) { .notas-campos { grid-template-columns: 1fr; } }
.marc-ops { display: flex; flex-wrap: wrap; gap: 6px; }
.marc-op { appearance: none; display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 4px 10px 4px 7px; font: inherit; font-size: .75rem; color: var(--ink-2); cursor: pointer; }
.marc-op[aria-pressed="true"] { font-weight: 600; color: var(--ink); }
.marc-op.m-alerta .ico-marc, .nota-aviso.m-alerta .ico-marc, .selo-nota.m-alerta { color: #d98a0b; }
.marc-op.m-ideia .ico-marc, .nota-aviso.m-ideia .ico-marc, .selo-nota.m-ideia { color: #2d5fcf; }
.marc-op.m-bom .ico-marc, .nota-aviso.m-bom .ico-marc, .selo-nota.m-bom { color: #1f8a4c; }
.marc-op.m-ruim .ico-marc, .nota-aviso.m-ruim .ico-marc, .selo-nota.m-ruim { color: #b3262f; }
.marc-op.m-alerta[aria-pressed="true"] { background: #fdf0d8; border-color: #f1c879; }
.marc-op.m-ideia[aria-pressed="true"] { background: #e8eefc; border-color: #a9bff0; }
.marc-op.m-bom[aria-pressed="true"] { background: #e3f4ea; border-color: #9fd3b4; }
.marc-op.m-ruim[aria-pressed="true"] { background: #fbe6e7; border-color: #eaa9ad; }
.nota-aviso .ico-marc { margin-top: 2px; }
.nota-aviso.m-ideia { background: #e8eefc; color: #1f3f8f; }
.nota-aviso.m-bom { background: #e3f4ea; color: #14532d; }
.nota-aviso.m-ruim { background: #fbe6e7; color: #7a1a20; }
.selo-nota.m-alerta { background: #fdf0d8; }
.selo-nota.m-ideia { background: #e8eefc; }
.selo-nota.m-bom { background: #e3f4ea; }
.selo-nota.m-ruim { background: #fbe6e7; }
.notas-rodape { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; }
.nota-link { appearance: none; border: 0; background: none; padding: 0; font: inherit; font-size: .75rem; color: var(--accent); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.notas-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.nota-tag { display: inline-flex; align-items: center; gap: 4px; font-size: .75rem; font-weight: 550; padding: 3px 4px 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.pj-notas .nota-tag, .mapa-notas .nota-tag { padding-right: 10px; }
.nota-tag.aviso { background: #fdf0d8; color: #9a5b05; }
.nota-x { appearance: none; border: 0; background: transparent; color: inherit; opacity: .6; cursor: pointer; font-size: .95rem; line-height: 1; padding: 0 4px; border-radius: 999px; }
.nota-x:hover { opacity: 1; background: rgba(0, 0, 0, .06); }
.nota-in { flex: 1 1 8rem; min-width: 7rem; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 4px 10px; font: inherit; font-size: .75rem; }
.nota-in.largo { width: 100%; border-radius: 8px; padding: 7px 10px; }
.notas-avisos { display: flex; flex-direction: column; gap: 6px; }
.nota-aviso { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 8px; align-items: start; font-size: .8125rem; background: #fdf0d8; color: #6b3f04; border-radius: 8px; padding: 7px 10px; line-height: 1.4; }
.ico-aviso { color: #d98a0b; margin-top: 2px; }
.nota-texto { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font: inherit; font-size: .8125rem; resize: vertical; background: var(--surface); color: var(--ink); }
.pj-notas { display: flex; flex-direction: column; gap: 8px; border: 1px solid #f1d9a8; background: #fffaf0; border-radius: 10px; padding: 12px 14px; }
.pj-notas > b { font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: #9a5b05; }
.nota-livre { font-size: .875rem; color: var(--ink-2); white-space: pre-wrap; }
.mapa-notas { position: absolute; left: 10px; right: 10px; top: 10px; z-index: 1; display: flex; flex-wrap: wrap; gap: 4px; }
.mapa-notas .nota-tag { background: rgba(255, 255, 255, .92); }
.mapa-notas .nota-tag.aviso { background: #fdf0d8; }
.aviso { font-size: .8125rem; color: var(--ink-2); background: var(--line-2); border-radius: var(--r-sm); padding: 10px 12px; }
@media (max-width: 760px) {
  .build-lista { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 16px; }
  .opcao { grid-template-columns: 30px minmax(0, 1fr) 3.6rem 3.4rem; }
  .topo { position: static; }
  .aba { padding: 6px 10px; font-size: .8125rem; }
  .abas { align-self: stretch; justify-content: space-between; }
  .periodo { margin-left: 0; }
  .periodo select { flex: 1; }
}

@media (max-width: 960px) {
  .habito { grid-template-columns: 2.4rem minmax(0, 1fr) minmax(0, 1fr); }
  .hab-trend { grid-column: 2 / -1; }
}
@media (max-width: 760px) {
  .hero, .grade-2, .grade-2b, .grade-lista { grid-template-columns: minmax(0, 1fr); }
  .habito { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .hab-n { font-size: 1.25rem; }
  .hab-trend { grid-column: auto; }
  .tipos { grid-template-columns: minmax(0, 1fr); }
  .detalhe { position: static; }
  .marca span { display: none; }
  .topo-in { flex-direction: column; align-items: stretch; gap: 10px; }
  .abas { align-self: flex-start; max-width: 100%; }
  .opcao { grid-template-columns: minmax(0, 1fr) 3.6rem 3.4rem; }
  .opcao .trilho { display: none; }
  .esc { display: none; }
  .det-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .det-nums > div:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .det-nums > div:nth-child(4) { border-top: 1px solid var(--line); }
  .rodape { grid-template-columns: minmax(0, 1fr); }
}

.aba-ico { display: none; width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 960px) {
  body { padding-left: 224px; }
  .topo { position: fixed; top: 0; left: 0; bottom: 0; width: 224px; border-bottom: 0; border-right: 1px solid var(--line); background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .topo-in { height: 100%; max-width: none; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 22px; padding: 22px 14px 18px; }
  .marca { order: 0; flex-direction: column; align-items: flex-start; gap: 2px; padding: 0 8px; white-space: normal; }
  .marca strong { font-size: 1.125rem; }
  .periodo { order: 1; margin-left: 0; flex-direction: column; align-items: stretch; gap: 6px; padding: 0 2px; }
  .periodo > span { padding: 0 6px; font-size: .6875rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
  .periodo-btn { max-width: none; width: 100%; }
  .periodo-pop { left: 0; right: auto; }
  .abas { order: 2; flex-direction: column; gap: 2px; padding: 0; background: none; border: 0; border-radius: 0; overflow: visible; }
  .aba { display: flex; align-items: center; gap: 11px; width: 100%; text-align: left; padding: 9px 10px; border-radius: 10px; font-size: .9rem; }
  .aba:hover { background: var(--line-2); }
  .aba[aria-selected="true"] { background: var(--accent-soft); color: var(--accent); box-shadow: none; font-weight: 600; }
  .aba-ico { display: block; }
  .topo .idioma { order: 3; margin-top: auto; padding: 0 2px; }
  .topo .idioma summary { width: 100%; }
  .topo .idioma-menu { top: auto; bottom: calc(100% + 6px); }
  .detalhe, .draft-mesa { top: 24px; }
  .faixa-demo { position: sticky; top: 0; z-index: 15; }
}
@media (min-width: 761px) and (max-width: 959px) {
  .topo-in { flex-wrap: wrap; row-gap: 10px; }
  .abas { order: 5; flex: 1 0 100%; justify-content: space-between; }
}
@media (min-width: 960px) and (max-width: 1199px) {
  .draft { grid-template-columns: minmax(0, 1fr); }
  .draft-mesa { position: static; }
}
.notas-mapa .nota-linha .nota-in.largo { flex: 1 1 auto; width: auto; min-width: 0; }

.decide { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.dc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.dc h4 { font-size: .9375rem; font-weight: 600; }
.dc-sub { font-size: .8125rem; color: var(--ink-3); margin-top: -6px; }
.dc-linhas { display: flex; flex-direction: column; gap: 8px; }
.dc-l { display: grid; grid-template-columns: minmax(0, 9rem) minmax(60px, 1fr) 2.75rem; gap: 12px; align-items: center; font-size: .8125rem; }
.dc-rot { display: flex; flex-direction: column; line-height: 1.3; }
.dc-rot { color: var(--ink-2); }
.dc-barra { height: 8px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.dc-fill { display: block; height: 100%; border-radius: 999px; background: var(--muted-mark); }
.dc-fill.bom { background: var(--accent); }
.dc-fill.ruim { background: var(--loss); }
.dc-v { text-align: right; font-weight: 600; }
.dc-n { font-size: .75rem; color: var(--ink-3); }
.dc-regra { font-size: .8125rem; color: var(--ink); border-top: 1px solid var(--line-2); padding-top: 10px; }
.dc-aviso { font-size: .75rem; color: var(--ink-3); }
@media (max-width: 400px) { .dc-l { grid-template-columns: minmax(0, 1fr) minmax(40px, 30%) 2.75rem; } }

.leitura-coach { display: flex; flex-direction: column; gap: 16px; border-top: 3px solid var(--accent); }
.leit-cab h2 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.25; margin-top: 4px; max-width: 40ch; }
.leit-corpo { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; }
.leit-txt { display: flex; flex-direction: column; gap: 10px; font-size: .9375rem; line-height: 1.6; color: var(--ink-2); }
.leit-ok { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.leit-ok > b, .leit-sub { font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.leit-lado { display: flex; flex-direction: column; gap: 10px; }
.leit-pri { list-style: none; margin: 0; padding: 0; counter-reset: pri; display: flex; flex-direction: column; gap: 10px; }
.leit-pri li { counter-increment: pri; display: grid; grid-template-columns: 2rem minmax(0, 1fr); column-gap: 10px; row-gap: 2px; background: var(--accent-soft); border-radius: 12px; padding: 12px 14px; }
.leit-pri li::before { content: counter(pri); grid-row: span 2; font-family: var(--mono); font-size: 1.5rem; font-weight: 600; color: var(--accent); line-height: 1; }
.leit-pri strong { font-size: .9375rem; }
.leit-pri span { font-size: .8125rem; color: var(--ink-2); line-height: 1.45; }
.leit-data { font-size: .75rem; color: var(--ink-3); }
@media (max-width: 860px) { .leit-corpo { grid-template-columns: 1fr; } }
.leitura-mapa { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.lm-cab { position: relative; padding: 20px 22px; color: #fff; background: #1b2233 center / cover no-repeat; display: flex; flex-direction: column; gap: 6px; }
.lm-cab::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(14, 18, 28, .94) 30%, rgba(14, 18, 28, .7)); }
.lm-cab > * { position: relative; }
.lm-cab .rotulo { color: rgba(255, 255, 255, .7); }
.lm-cab h3 { font-size: 1.25rem; color: #fff; }
.lm-resumo { font-size: 1rem; line-height: 1.5; max-width: 60ch; }
.lm-nums { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.lm-nums span { font-size: .75rem; background: rgba(255, 255, 255, .14); border-radius: 999px; padding: 3px 10px; }
.lm-fases { list-style: none; margin: 0; padding: 16px 22px 4px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
@media (max-width: 520px) { .lm-fases { grid-template-columns: 1fr; } }
.lm-fases li { display: flex; flex-direction: column; gap: 4px; border-left: 3px solid var(--accent); padding: 2px 0 2px 12px; font-size: .875rem; line-height: 1.45; }
.lm-fase { font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 650; color: var(--accent); }
.lm-pe { display: flex; flex-direction: column; gap: 6px; padding: 12px 22px 0; }
.leitura-mapa .leit-data { padding: 10px 22px 16px; }
.ld-comp { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ld-col { display: flex; flex-direction: column; gap: 8px; background: var(--bg); border-radius: 12px; padding: 12px; min-width: 0; }
.ld-col > b { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.ld-avs { display: flex; flex-wrap: wrap; gap: 4px; }
.ld-avs .av { width: 30px; height: 30px; border-radius: 8px; }
.ld-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.ld-chip { font-size: .6875rem; font-weight: 550; padding: 2px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.ld-chip.ruim { background: var(--loss-soft); border-color: transparent; color: var(--loss); }
.ld-dicas { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ld-dicas li { position: relative; padding-left: 16px; font-size: .875rem; line-height: 1.5; }
.ld-dicas li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 999px; background: var(--accent); }
.ld-dicas li.ruim::before { background: var(--loss); }
.pj-lista { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pj-lista li { position: relative; padding-left: 14px; font-size: .875rem; line-height: 1.5; color: var(--ink-2); }
.pj-lista li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 999px; background: var(--accent); }
.pj-lista strong { color: var(--ink); font-weight: 600; }
