:root {
  --bg: #120d0a;
  --bg-2: #1d120b;
  --panel: rgba(36, 22, 13, 0.78);
  --field: rgba(20, 12, 8, 0.7);
  --line: rgba(233, 200, 143, 0.14);
  --line-strong: rgba(233, 200, 143, 0.3);
  --text: #f4e6cf;
  --muted: #b39778;
  --sand: #e9c88f;
  --bronze: #d08a3a;
  --glass: #7fc6d8;
  --glass-dim: rgba(127, 198, 216, 0.14);
  --bronze-2: #ecbd6e;
  --bronze-deep: #8c5622;
  --ok: #8fdc7a;
  --bad: #ff6b5b;
  --radius: 12px;
  --max: 1080px;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  min-height: 100vh; display: flex; flex-direction: column;
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif; font-size: 16px; line-height: 1.6;
  color: var(--text); -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1200px 520px at 15% -10%, rgba(208, 138, 58, 0.16), transparent 60%),
    radial-gradient(700px 320px at 90% 5%, rgba(233, 200, 143, 0.07), transparent 70%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  background-attachment: fixed;
}
a { color: var(--glass); text-underline-offset: 3px; }
a:hover { color: #b6e6f2; }
:focus-visible { outline: 2px solid var(--bronze-2); outline-offset: 3px; border-radius: 4px; }
img, svg { display: block; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--bronze); color: #1a0e06; padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }

/* ---- topo ---- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(20, 12, 8, 0.78); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { max-width: var(--max); margin: 0 auto; padding: 10px 20px 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: 'Cinzel', serif; font-weight: 700; font-size: 18px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sand); text-decoration: none; }
.sigil { width: 18px; height: 18px; border-radius: 50%; flex: none; background: radial-gradient(circle at 35% 35%, var(--bronze-2), var(--bronze-deep)); box-shadow: 0 0 12px rgba(208, 138, 58, 0.6); display: inline-block; }
.sigil.sm { width: 10px; height: 10px; vertical-align: -1px; margin-right: 4px; box-shadow: none; }
/* Menu na segunda linha; a margem negativa alinha o texto do primeiro link com a marca. */
.nav-wrap { order: 3; flex-basis: 100%; min-width: 0; margin: 0 -12px; }
.nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 8px; white-space: nowrap; transition: color .15s, background .15s; }
.nav a:hover { color: var(--text); background: rgba(233, 200, 143, 0.06); }
.nav a[aria-current] { color: var(--sand); background: rgba(208, 138, 58, 0.12); }
.pill { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; padding: 5px 12px 5px 10px; border-radius: 99px; border: 1px solid var(--line); background: var(--field); white-space: nowrap; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.pill.on .dot { background: var(--ok); box-shadow: 0 0 8px rgba(143, 220, 122, .7); }
.pill.off { color: var(--muted); }
.pill.off .dot { background: var(--bad); }
/* Larguras médias: links mais juntos para o menu caber sem rolar. */
@media (min-width: 761px) and (max-width: 900px) { .nav { gap: 0; } .nav a { padding: 8px 8px; } .nav-wrap { margin: 0 -8px; } }

main { flex: 1; width: 100%; max-width: var(--max); margin: 0 auto; padding: 36px 20px 64px; }

/* ---- tipografia ---- */
h1, h2, h3 { font-family: 'Cinzel', serif; color: var(--sand); letter-spacing: 0.04em; line-height: 1.25; }
h1 { font-size: 34px; margin-bottom: 10px; }
h2 { font-size: 22px; margin: 34px 0 12px; }
h3 { font-size: 17px; margin: 22px 0 8px; }
p, ul, ol { margin-bottom: 14px; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }
.mt { margin-top: 24px; }
.mt0 { margin-top: 0; }
.lead { font-size: 18px; color: var(--muted); max-width: 700px; }
.muted { color: var(--muted); }
.eyebrow { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
code, kbd { font-family: Consolas, 'Cascadia Mono', monospace; font-size: 0.88em; }
code { background: rgba(0,0,0,.35); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; color: var(--sand); }
pre { background: rgba(0,0,0,.4); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; margin: 10px 0; overflow-x: auto; }
pre code { background: none; border: 0; padding: 0; }
kbd { display: inline-block; min-width: 26px; text-align: center; padding: 1px 7px; border-radius: 6px; border: 1px solid var(--line-strong); border-bottom-width: 3px; background: var(--field); color: var(--text); }

/* ---- hero ---- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; min-height: 440px; padding: 56px 44px;
  display: flex; flex-direction: column; justify-content: center;
  border: 1px solid var(--line); border-radius: 18px; background: #170c0e; box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.hero .scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
/* Escurece o lado do texto; o sol e as dunas ficam visíveis à direita. */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 12, 8, .95) 0%, rgba(20, 12, 8, .8) 36%, rgba(20, 12, 8, .2) 66%, transparent 100%); }
.hero-in { max-width: 560px; }
.hero-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; padding: 0; margin: 24px 0 0; font-size: 13px; font-weight: 500; color: var(--sand); }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.hero-meta .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bad); }
.hero-meta .dot.on { background: var(--ok); box-shadow: 0 0 8px rgba(143, 220, 122, .7); }
.hero h1 {
  font-size: clamp(46px, 8vw, 84px); letter-spacing: 0.14em; margin: 6px 0 14px; line-height: 1;
  background: linear-gradient(180deg, #fff1d6 10%, var(--sand) 45%, var(--bronze) 110%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 28px rgba(208, 138, 58, 0.25));
}
.hero .lead { margin-bottom: 26px; color: #d9c3a3; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 10px; font-weight: 600; text-decoration: none; transition: filter .15s, transform .1s, background .15s; }
.btn svg { width: 18px; height: 18px; }
.btn.primary { color: #2a1406; background: linear-gradient(180deg, var(--bronze-2), var(--bronze) 55%, var(--bronze-deep)); box-shadow: 0 8px 24px rgba(208, 138, 58, .28); }
.btn.primary:hover { filter: brightness(1.08); color: #2a1406; }
.btn.danger { color: #fff; background: var(--bad); border: 0; }
.btn.danger:hover { filter: brightness(1.1); }
.card.staff { border-color: var(--bronze); }
.card.ticket { display: block; text-decoration: none; color: inherit; }
details.faq { margin: 8px 0; }
details.faq summary { cursor: pointer; }
.btn.ghost { color: var(--text); border: 1px solid var(--line-strong); }
.btn.ghost:hover { background: rgba(233, 200, 143, .08); color: var(--text); }

/* ---- cartões ---- */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
a.card { display: block; color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s, background .15s; }
a.card:hover { border-color: var(--line-strong); transform: translateY(-2px); background: rgba(44, 27, 15, .9); }
.card h3 { margin: 10px 0 6px; font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--text); }
.card p { color: var(--muted); font-size: 14px; margin: 0; }
.card .ico { display: block; width: 34px; height: 34px; padding: 7px; border-radius: 9px; color: var(--bronze-2); background: rgba(208, 138, 58, .12); border: 1px solid rgba(208, 138, 58, .25); }
.card .ico svg { width: 100%; height: 100%; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 44px 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.section-head h2 { margin: 0; }
.section-head a { font-size: 14px; font-weight: 600; }

/* ---- notícias ---- */
.news { display: grid; gap: 14px; }
.news article { background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--bronze); border-radius: 10px; padding: 16px 20px; }
.news time { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--bronze-2); }
.news h3 { font-family: 'Inter', sans-serif; font-size: 17px; color: var(--text); letter-spacing: 0; margin: 2px 0 6px; }
.news p { color: var(--muted); font-size: 15px; margin-bottom: 6px; }
.news p:last-child { margin-bottom: 0; }

/* ---- download ---- */
.dl { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; align-items: start; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; font-size: 14px; margin: 14px 0 20px; }
.facts dt { color: var(--muted); }
.facts dd { font-weight: 600; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps > li { counter-increment: s; position: relative; padding: 2px 0 14px 44px; margin: 0; }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #2a1406; background: linear-gradient(180deg, var(--bronze-2), var(--bronze)); }
.steps > li:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 34px; bottom: 4px; width: 2px; background: var(--line); }
.steps strong { color: var(--sand); }

/* ---- artigo (tutoriais, regras) ---- */
.article { max-width: 760px; }
.article .crumb { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.article .crumb a { color: var(--muted); }
.note { border: 1px solid rgba(236, 189, 110, .35); background: rgba(208, 138, 58, .08); border-radius: 10px; padding: 12px 16px; margin: 16px 0; font-size: 15px; }
.note.warn { border-color: rgba(255, 107, 91, .4); background: rgba(255, 107, 91, .08); }
.note strong { color: var(--bronze-2); }
.note.warn strong { color: var(--bad); }
table { width: 100%; border-collapse: collapse; margin: 10px 0 20px; font-size: 15px; }
th { text-align: left; font-weight: 600; color: var(--sand); padding: 9px 12px; border-bottom: 1px solid var(--line-strong); }
td { padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
td:first-child { white-space: nowrap; }
.table-wrap { overflow-x: auto; }
/* site.js marca o lado em que ainda há colunas fora da tela. */
.table-wrap.mais-dir { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
.table-wrap.mais-esq { -webkit-mask-image: linear-gradient(270deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(270deg, #000 calc(100% - 48px), transparent); }
.table-wrap.mais-dir.mais-esq { -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); }
.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.pager a { display: block; max-width: 48%; text-decoration: none; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); }
.pager a:hover { border-color: var(--line-strong); }
.pager small { display: block; color: var(--muted); font-size: 12px; }
.pager .next { margin-left: auto; text-align: right; }
.classes { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin: 16px 0; }
.classes .card h3 { margin-top: 0; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 99px; border: 1px solid var(--line-strong); color: var(--muted); margin: 0 4px 8px 0; }

/* ---- rodapé ---- */
.foot { border-top: 1px solid var(--line); background: rgba(20, 12, 8, .6); }
.foot-in { max-width: var(--max); margin: 0 auto; padding: 18px 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
/* Aviso de marca: linha inteira embaixo, menor e mais apagada que o resto. */

@media (max-width: 760px) {
  .top-in { flex-wrap: wrap; gap: 10px 14px; padding: 10px 16px; }
  /* No celular o topo não fica preso (ocuparia um quinto da tela) e o menu
     rola de lado: a borda direita esmaece para avisar que há mais itens. */
  .top { position: static; }
  .nav-wrap { margin: 0 -16px; }
  .nav { padding: 0 44px 0 10px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); }
  .tabs { overflow-x: auto; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs a { white-space: nowrap; padding: 10px 12px; }
  main { padding: 24px 16px 48px; }
  h1 { font-size: 28px; }
  .dl { grid-template-columns: 1fr; }
  .pager a { max-width: 100%; }
  .pager { flex-direction: column; }
  .pager .next { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---- conta, login e rankings ---- */
.acct { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.acct form { margin: 0; }
.acct-name { color: var(--sand); font-weight: 600; font-size: 14px; text-decoration: none; padding: 6px 10px; border-radius: 8px; }
.acct-name:hover, .acct-name.on { background: rgba(208, 138, 58, .12); color: var(--sand); }
.link-btn { background: none; border: 0; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--text); }
.btn.small { padding: 7px 16px; font-size: 14px; }
button.btn { border: 0; font: inherit; font-weight: 600; cursor: pointer; justify-self: start; }
.small { font-size: 13px; }
.auth { max-width: 440px; margin: 20px auto 0; }
.auth h1 { font-size: 28px; }
.form { display: grid; gap: 14px; margin: 18px 0; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--sand); }
.form .isca { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .check { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.form .check input { width: auto; margin: 0; }
.form .hint { font-weight: 400; color: var(--muted); font-size: 12px; }
.form input { width: 100%; background: var(--field); border: 1px solid var(--line-strong); border-radius: 8px; padding: 10px 12px; font: inherit; font-size: 16px; /* abaixo de 16px o Safari do iPhone dá zoom ao tocar */ color: var(--text); }
.form input:focus { outline: none; border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(208, 138, 58, .18); }
.alert { border: 1px solid rgba(255, 107, 91, .45); background: rgba(255, 107, 91, .1); color: #ffd9d3; border-radius: 8px; padding: 10px 14px; margin: 14px 0; font-size: 14px; }
.tag.gm { color: var(--bronze-2); border-color: rgba(236, 189, 110, .5); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 22px 0 16px; }
.tabs a { padding: 10px 16px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--text); }
.tabs a[aria-current="page"] { color: var(--sand); border-bottom-color: var(--bronze); }
.rank td:first-child { width: 48px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.rank .r { text-align: right; font-variant-numeric: tabular-nums; }
.rank tr.pos1 td:first-child { color: #ffd36b; }
.rank tr.pos2 td:first-child { color: #d9dde3; }
.rank tr.pos3 td:first-child { color: #e0a06b; }
.rank tr:hover td { background: rgba(233, 200, 143, .04); }
.season-banner { border: 1px solid var(--line-strong); background: var(--panel); border-radius: 8px; padding: 12px 16px; margin: 0 0 18px; font-size: 14px; color: var(--muted); }
.season-banner strong { color: var(--sand); }
.chars { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-bottom: 10px; }
.char header { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.char h3 { margin: 0; font-size: 18px; }
.char header p { margin: 0; }
.lvl { text-align: center; font-family: 'Cinzel', serif; font-size: 26px; font-weight: 700; color: var(--bronze-2); line-height: 1; }
.lvl small { display: block; font-family: 'Inter', sans-serif; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.bar { position: relative; height: 20px; border-radius: 6px; background: rgba(0,0,0,.4); border: 1px solid var(--line); overflow: hidden; margin-bottom: 6px; }
.bar .fill { position: absolute; inset: 0 auto 0 0; }
.bar.hp .fill { background: linear-gradient(90deg, #8a1f17, #d0412f); }
.bar.mp .fill { background: linear-gradient(90deg, #1b3f8a, #3f7fd6); }
.bar b { position: relative; display: block; text-align: center; font-size: 11px; line-height: 18px; font-weight: 600; text-shadow: 0 1px 2px #000; }
.w0 { width: 0%; } .w5 { width: 5%; } .w10 { width: 10%; } .w15 { width: 15%; } .w20 { width: 20%; } .w25 { width: 25%; } .w30 { width: 30%; } .w35 { width: 35%; } .w40 { width: 40%; } .w45 { width: 45%; } .w50 { width: 50%; } .w55 { width: 55%; } .w60 { width: 60%; } .w65 { width: 65%; } .w70 { width: 70%; } .w75 { width: 75%; } .w80 { width: 80%; } .w85 { width: 85%; } .w90 { width: 90%; } .w95 { width: 95%; } .w100 { width: 100%; }
.attrs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 12px 0 10px; text-align: center; }
.attrs div { background: var(--field); border: 1px solid var(--line); border-radius: 8px; padding: 6px 0; }
.attrs dt { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .08em; }
.attrs dd { font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .acct { order: 2; } .auth { margin-top: 0; } }

/* ---- database ---- */
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.crumb a { color: var(--muted); }
th.r, td.r { text-align: right; font-variant-numeric: tabular-nums; }
.search { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 10px; }
.search input, .search select { background: var(--field); border: 1px solid var(--line-strong); border-radius: 8px; padding: 9px 12px; font: inherit; font-size: 16px; color: var(--text); }
.search input { flex: 1 1 260px; min-width: 0; }
.search .check { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; color: var(--muted); cursor: pointer; }
.search .check input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--bronze); }
.search input:focus, .search select:focus { outline: none; border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(208, 138, 58, .18); }
.item-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); margin: 12px 0 18px; }
.item-card { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: border-color .15s, background .15s; min-width: 0; }
.item-card:hover { border-color: var(--line-strong); background: rgba(44, 27, 15, .9); color: var(--text); }
.item-card > span { min-width: 0; }
.item-card strong { display: block; font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item-card small { display: block; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.icon { width: 35px; height: 35px; flex: none; border-radius: 6px; background: #0d0806; border: 1px solid var(--line-strong); image-rendering: pixelated; }
.icon.none { display: grid; place-items: center; color: var(--muted); }
.icon.none svg { width: 60%; height: 60%; opacity: .7; }
.icon.big { width: 70px; height: 70px; border-radius: 10px; font-size: 26px; }
img.icon[src^="/monstros-img/"] { image-rendering: auto; object-fit: cover; } /* rosto: imagem do monstro (256px), não o ícone de 35px do client */
.mobimg { width: 44px; height: 44px; flex: none; display: block; border-radius: 8px; background: #0d0806; border: 1px solid var(--line-strong); object-fit: contain; }
.mobimg.none { display: grid; place-items: center; color: var(--muted); }
.mobimg.none svg { width: 26px; height: 26px; opacity: .7; }
.mobimg.big { width: 128px; height: 128px; border-radius: 12px; }
.mobimg.big.none svg { width: 64px; height: 64px; }
td.thumb { width: 1%; padding-right: 0; }
.th-item { display: inline-flex; align-items: center; gap: 8px; justify-content: flex-end; }
.th-item .icon { width: 28px; height: 28px; }
.item-head { display: flex; align-items: center; gap: 18px; margin-bottom: 8px; }
.item-head h1 { margin-bottom: 4px; }
.item-head p { margin-bottom: 4px; }
.pages { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 10px 0 20px; font-size: 14px; }
.pages a { font-weight: 600; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 16px 0 6px; }
.stats div { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; }
.stats dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.stats dd { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text); }
.mobs td:first-child a { font-weight: 600; }
.rar { display: inline-block; font-size: 12px; font-weight: 600; padding: 1px 8px; border-radius: 99px; border: 1px solid currentColor; }
.rar.r0, .rar.r1 { color: #b9c2c9; }
.rar.r2 { color: #8fdc7a; }
.rar.r3 { color: #7ab8ff; }
.rar.r4 { color: #c39bff; }
.rar.r5 { color: #ffb347; }
.rar.r6 { color: #ff6b5b; }

/* ---- database: classes, tabelas compactas ---- */
.pills { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 14px; }
.pills a { padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line-strong); color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; }
.pills a:hover { color: var(--text); background: rgba(233, 200, 143, .06); }
.pills a[aria-current="page"] { color: #2a1406; background: linear-gradient(180deg, var(--bronze-2), var(--bronze)); border-color: transparent; }
table.compact { margin: 0; font-size: 14px; }
table.compact td { padding: 5px 0; }
table.compact td.r { padding-left: 12px; }
.tag + .tag { margin-left: 0; }

/* ---- eventos, recompensa diária e painel GM ---- */
.event-bar { display: flex; align-items: center; gap: 12px; padding: 10px 20px; justify-content: center; flex-wrap: wrap; text-decoration: none; color: #2a1406; font-size: 14px; background: linear-gradient(90deg, var(--bronze-deep), var(--bronze), var(--bronze-2), var(--bronze), var(--bronze-deep)); }
.event-bar:hover { color: #2a1406; filter: brightness(1.05); }
.event-bar .more { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.spark { width: 10px; height: 10px; border-radius: 50%; background: #fff6e0; box-shadow: 0 0 10px #fff; animation: pulse-s 1.6s infinite; }
@keyframes pulse-s { 50% { opacity: .35; } }
.events { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: 20px 0; }
.ev { position: relative; }
.ev h3 { margin: 6px 0 6px; }
.ev p { margin-bottom: 10px; }
.ev-state { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ev.on { border-color: rgba(143, 220, 122, .5); box-shadow: 0 0 0 1px rgba(143, 220, 122, .25), 0 10px 30px rgba(0,0,0,.3); }
.ev.on .ev-state { color: var(--ok); }
.ev-hours-title { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 14px 0 4px; }
.ev-hours { margin: 0 0 10px; padding-left: 18px; }
.ev-hours li { margin: 2px 0; }
.ev-item { margin: 4px 0 10px; }
.bar.xp .fill { background: linear-gradient(90deg, var(--bronze-deep), var(--bronze-2)); }
.note.ok { border-color: rgba(143, 220, 122, .45); background: rgba(143, 220, 122, .08); }
.rewards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin: 10px 0 8px; }
.reward { display: flex; flex-direction: column; gap: 8px; }
.reward .btn { margin-top: auto; align-self: flex-start; }
.reward-head { display: flex; gap: 12px; align-items: center; }
.reward-head h3 { margin: 0; font-size: 15px; }
.reward p { margin: 0; font-size: 14px; color: var(--muted); }
.acct-name.gm { color: var(--bronze-2); }
.toggles { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
/* A caixa de marcar é pequena, mas o rótulo inteiro aceita o toque: por isso
   a altura mínima de 44px fica no label. */
.form .check, .toggles .check { display: flex; gap: 10px; align-items: flex-start; min-height: 44px; font-size: 14px; color: var(--text); font-weight: 400; cursor: pointer; }
.form .check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--bronze); flex: none; }
.form .check small { display: block; color: var(--muted); font-size: 12px; }
.form-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.form-grid .wide { grid-column: 1 / -1; }
.sub-form { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px 14px; display: grid; gap: 12px; }
.sub-form legend { padding: 0 6px; font-family: 'Cinzel', serif; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--sand); }
.form input[type=number] { width: 100%; background: var(--field); border: 1px solid var(--line-strong); border-radius: 8px; padding: 9px 12px; font: inherit; font-size: 16px; color: var(--text); }
td.actions { white-space: nowrap; }
td.actions form { display: inline; margin-left: 10px; }
.link-btn.danger { color: var(--bad); }
.edit-row td { padding-top: 0; border-bottom-color: var(--line-strong); }
.edit-row summary { cursor: pointer; color: var(--muted); font-size: 13px; }
.edit-row details[open] summary { margin-bottom: 8px; }
.mobs td { vertical-align: middle; }
@media (max-width: 760px) { .mobimg.big { width: 88px; height: 88px; } .mobimg.big.none svg { width: 44px; height: 44px; } }

/* Guildas: a bandeira tem 16x12 pixels; ampliada sem suavizar. */
.gmark { image-rendering: pixelated; image-rendering: crisp-edges; border-radius: 2px; vertical-align: middle; }
.gmark.big { border: 1px solid var(--line-strong); }
.guild-edit { display: flex; gap: 20px; align-items: flex-start; margin: 12px 0 24px; }
.guild-edit h3 { margin-top: 0; }
.guild-edit form { margin: 12px 0 0; }
.row-btns { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 600px) { .guild-edit { flex-direction: column; } }

/* ---- topo em uma linha (telas largas) ---- */
@media (min-width: 1000px) {
  .top-in { flex-wrap: nowrap; gap: 20px; padding: 10px 20px; }
  .nav-wrap { order: 0; flex: 1 1 auto; margin: 0; }
  .pill { margin-left: 0; }
}
/* Abas da seção Ajuda (Guia, Tutoriais, Comandos, Regras). */
.subnav { margin: -14px 0 28px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---- início: atalhos, tutoriais em linha e chamada de bugs ---- */
.grid.three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card.feature { position: relative; padding: 22px 22px 24px; background: linear-gradient(160deg, rgba(208, 138, 58, .12), rgba(36, 22, 13, .78) 58%); }
.card.feature h3 { font-size: 18px; margin-top: 14px; }
.go { width: 18px; height: 18px; flex: none; color: var(--muted); transition: transform .15s, color .15s; }
.card.feature .go { position: absolute; right: 20px; top: 22px; }
a.card:hover .go { color: var(--bronze-2); transform: translateX(3px); }
.grid.rows { gap: 12px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card.row { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; }
.card.row .ico { flex: none; }
.card.row > span:not(.ico) { min-width: 0; }
.card.row h3 { margin: 0 0 2px; font-size: 15px; }
.card.row.more { background: transparent; border-style: dashed; border-color: var(--line-strong); }
.card.row.callout { align-items: center; margin-top: 44px; }
.card.row.callout .go { margin-left: auto; }

/* ---- classes: cor própria no ranking e nos cartões ---- */
.c0 { --cls: #f08a70; }
.c1 { --cls: #7ab8ff; }
.c2 { --cls: #8fdc7a; }
.c3 { --cls: #d6a0ff; }
.cls { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.cls::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 2px; transform: rotate(45deg); background: var(--cls, var(--muted)); }
.card.cls-card { border-top: 3px solid var(--cls); }
.cls-card header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.cls-card header h3 { margin: 0; font-size: 18px; }
.cls-card .ico { color: var(--cls); background: color-mix(in srgb, var(--cls) 14%, transparent); border-color: color-mix(in srgb, var(--cls) 40%, transparent); }

/* ---- pódio do ranking ---- */
.podium { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 14px; padding: 0; margin: 8px 0 26px; }
.podium li { margin: 0; text-align: center; padding: 20px 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.podium .p1 { order: 2; padding-top: 30px; padding-bottom: 30px; border-color: rgba(255, 211, 107, .5); background: linear-gradient(180deg, rgba(255, 211, 107, .13), var(--panel) 62%); }
.podium .p2 { order: 1; }
.podium .p3 { order: 3; }
.podium .medal { display: grid; place-items: center; width: 38px; height: 38px; margin: 0 auto 12px; border-radius: 50%; font-family: 'Cinzel', serif; font-weight: 700; font-size: 18px; color: #2a1406; }
.podium .p1 .medal { width: 48px; height: 48px; font-size: 22px; background: linear-gradient(180deg, #ffe9a8, #ffd36b 50%, #c99a2e); box-shadow: 0 0 24px rgba(255, 211, 107, .35); }
.podium .p2 .medal { background: linear-gradient(180deg, #f2f4f7, #c9ced6 55%, #8f96a1); }
.podium .p3 .medal { background: linear-gradient(180deg, #f0c39a, #d08a52 55%, #96592b); }
.podium strong { display: block; font-size: 17px; overflow-wrap: anywhere; }
.podium small { display: block; font-size: 12px; color: var(--muted); }
.podium .big { display: block; margin: 10px 0 2px; font-family: 'Cinzel', serif; font-size: 26px; font-weight: 700; line-height: 1.1; color: var(--sand); font-variant-numeric: tabular-nums; }
.podium .big small { display: inline; font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }

@media (max-width: 760px) {
  /* No celular a cena fica numa faixa embaixo do texto. */
  .hero { min-height: 0; padding: 28px 20px 200px; border-radius: 14px; }
  .hero .scene { top: auto; height: 230px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%); mask-image: linear-gradient(180deg, transparent, #000 40%); }
  .hero::before { display: none; }
  .section-head { margin-top: 34px; }
  .subnav { margin: -6px 0 20px; }
  .podium { grid-template-columns: 1fr; gap: 10px; }
  .podium .p1, .podium .p2, .podium .p3 { order: 0; padding: 16px 14px; }
}

/* ---- painel de contas (/gm/contas) ---- */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tag.plain { text-transform: none; letter-spacing: 0; font-size: 12px; margin-bottom: 2px; }
.tag.bad { color: var(--bad); border-color: rgba(255, 107, 91, .5); }
.gm-char { display: grid; gap: 16px; grid-template-columns: minmax(250px, 320px) minmax(0, 1fr); align-items: start; margin-bottom: 8px; }
.gm-char .card h3 { margin: 18px 0 10px; }
.gm-char .card h3.mt0 { margin-top: 0; }
.inv { display: grid; grid-template-columns: repeat(5, 39px); gap: 4px; margin-top: 4px; }
.inv.wide { grid-template-columns: repeat(auto-fill, 39px); margin-top: 12px; }
.cell { position: relative; display: block; width: 39px; height: 39px; border-radius: 7px; border: 1px solid var(--line); background: rgba(0, 0, 0, .35); }
.cell:hover { border-color: var(--sand); }
.cell.sel { border-color: var(--bronze); box-shadow: 0 0 0 2px rgba(208, 138, 58, .45); }
.cell .icon { display: block; border-color: transparent; }
.cell b { position: absolute; right: 1px; bottom: 1px; padding: 1px 3px; border-radius: 4px; font-size: 10px; line-height: 1.1; font-weight: 700; color: var(--bronze-2); background: rgba(0, 0, 0, .82); }
.equip { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 10px 6px; }
.equip div { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.equip small { font-size: 12px; color: var(--muted); line-height: 1.2; }
.bags { display: flex; flex-wrap: wrap; gap: 14px 20px; margin-bottom: 10px; }
.gold-form { grid-template-columns: minmax(0, 1fr) auto; align-items: end; margin: 12px 0 0; }
.card > .gold-form { max-width: 380px; margin: 0 0 4px; }
.cell-panel { scroll-margin-top: 90px; margin-top: 18px; border-color: rgba(208, 138, 58, .45); }
.cell-head { display: flex; gap: 14px; align-items: center; }
.cell-head h3 { margin: 0 0 2px; }
ul.plain { list-style: none; padding: 0; margin: 12px 0; font-size: 14px; }
ul.plain li { margin: 2px 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 22px; margin: 8px 0 0; }
.facts div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.fold { margin-bottom: 10px; }
.fold > summary, .hints > summary { cursor: pointer; font-weight: 600; color: var(--sand); }
.fold[open] > summary, .hints[open] > summary { margin-bottom: 8px; }
.fold .tag { text-transform: none; letter-spacing: 0; font-size: 12px; }
@media (max-width: 760px) {
  .gm-char { grid-template-columns: minmax(0, 1fr); }
}

/* ---- mapa (/mapa) ---- */
.map-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 4px 0 10px; }
.map-bar input[type=search] { flex: 1 1 240px; min-width: 0; background: var(--field); border: 1px solid var(--line-strong); border-radius: 8px; padding: 9px 12px; font: inherit; font-size: 16px; color: var(--text); }
.map-bar input[type=search]:focus { outline: none; border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(208, 138, 58, .18); }
.map-bar .check { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; color: var(--muted); cursor: pointer; }
.map-bar .check input { width: 20px; height: 20px; margin: 0; accent-color: var(--bronze); }
.map-gm { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.map-gm[hidden] { display: none; }
.map-gm .tag { margin: 0; }
.map-zoom { display: inline-flex; gap: 6px; margin-left: auto; }
.map-zoom .btn { padding: 6px 12px; }
.map-hits { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 0; margin: 0 0 10px; font-size: 14px; }
.map-hits li { margin: 0; }
.map-wrap { position: relative; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; background: #100b08; }
.map { display: block; width: 100%; height: min(72vh, 760px); min-height: 380px; cursor: grab; touch-action: none; }
.map:active { cursor: grabbing; }
.map:focus-visible { outline: 2px solid var(--bronze); outline-offset: -2px; }
.map-pos { position: absolute; left: 10px; bottom: 8px; margin: 0; padding: 3px 9px; border-radius: 6px; font-size: 13px; font-variant-numeric: tabular-nums; background: rgba(0, 0, 0, .72); color: var(--sand); pointer-events: none; }
.map-info { position: absolute; top: 10px; right: 10px; width: min(300px, calc(100% - 20px)); background: rgba(24, 15, 9, .95); }
.map-info-head { display: flex; gap: 12px; align-items: center; }
.map-info h3 { margin: 0 0 2px; }
.map-info .btn { margin: 8px 10px 0 0; }
.map-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.map-legend li { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.map-legend[hidden], .map-hits[hidden], .map-info[hidden] { display: none; }
.map-sw { width: 14px; height: 14px; border-radius: 3px; border: 1px solid var(--line-strong); }
/* as mesmas cores da tabela ZONAS do tools\maprender.py */
.map-sw-cidade { background: rgb(90, 200, 120); }
.map-sw-bloqueio { background: rgb(150, 150, 150); }
.map-sw-sem-teleporte { background: rgb(120, 160, 255); }
.map-sw-casa { background: rgb(220, 190, 120); }
.map-sw-portal { background: rgb(255, 240, 120); }
.map-sw-guilda { background: rgb(200, 120, 255); }
.map-sw-pvp { background: rgb(255, 100, 90); }
.map-sw-treino { background: rgb(120, 230, 230); }

/* Captcha do cadastro (Turnstile): reserva a altura para a página não pular. */
.form .cf-turnstile { min-height: 65px; }

/* Código do e-mail no cadastro: grande e espaçado, fácil de conferir. */
.form input.codigo { font-size: 22px; letter-spacing: 4px; text-transform: uppercase; text-align: center; font-family: ui-monospace, Consolas, monospace; }

/* ---- comunidade (mural) ---- */
.form textarea, .form select { width: 100%; background: var(--field); border: 1px solid var(--line-strong); border-radius: 8px; padding: 10px 12px; font: inherit; font-size: 16px; color: var(--text); }
.form textarea { resize: vertical; min-height: 96px; }
.form textarea:focus, .form select:focus { outline: none; border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(208, 138, 58, .18); }
.mural-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.mural { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.mural-post { padding: 16px 20px; }
.mural-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.mural-head .tag { margin: 0; }
.mural-head form { margin-left: auto; }
.mural-text { margin: 10px 0 0; white-space: pre-line; overflow-wrap: anywhere; }

/* ---- Vardesh ---- */
/* Sigilo: losango de bronze com o vidro partido (sigil.svg). */
.sigil { border-radius: 0; background: url(sigil.svg) center / contain no-repeat; box-shadow: none; filter: drop-shadow(0 0 8px rgba(127, 198, 216, .35)); }
.sigil.sm { filter: none; }
/* Acento de vidro azul ao lado do bronze. */
.news article { border-left-color: var(--glass); }
.tabs a[aria-current="page"] { border-bottom-color: var(--glass); }
.card .ico { color: var(--glass); background: var(--glass-dim); border-color: rgba(127, 198, 216, .3); }
.attrs.two { grid-template-columns: repeat(2, 1fr); }
.attrs.two dd { font-size: 14px; font-weight: 600; padding: 0 6px; overflow-wrap: anywhere; }

.festivals { display: grid; gap: 16px; }
.festival header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; }
.festival h2 { margin: 0; font-size: 22px; }
.festival .when { color: var(--muted); font-size: 13px; margin: 4px 0 10px; }
.festival .missions, .festival .extra { font-size: 14px; color: var(--muted); margin: 6px 0 0; }
.festival.aberto { border-color: var(--bronze); }
.festival.encerrado { opacity: .7; }
.tag.live { color: var(--sand); border-color: var(--bronze); }

/* ---- manual do jogo ---- */
.manual { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 40px; align-items: start; }
.manual .article { max-width: none; min-width: 0; }
.mnav { position: sticky; top: 104px; max-height: calc(100vh - 124px); overflow-y: auto; font-size: 14px; scrollbar-width: thin; }
.mnav summary { cursor: pointer; font-weight: 600; color: var(--sand); padding: 8px 0; }
.mnav-h { margin: 14px 0 4px; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.mnav ul { list-style: none; padding: 0; margin: 0; }
.mnav li { margin: 0; }
.mnav a { display: block; padding: 5px 10px; border-left: 2px solid var(--line); color: var(--muted); text-decoration: none; }
.mnav a:hover { color: var(--text); border-left-color: var(--line-strong); }
.mnav a[aria-current] { color: var(--sand); border-left-color: var(--bronze); background: rgba(208, 138, 58, .08); }
.toc { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.toc li { margin: 0; }
.toc a { display: inline-block; padding: 4px 12px; font-size: 13px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--text); border-color: var(--line-strong); }
.manual h2[id], .manual h3[id], .entry[id] { scroll-margin-top: 110px; }
.entry { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 14px; }
.entry > header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 8px; }
.entry > header h3 { margin: 0; font-size: 17px; }
.entry > header .tag { margin: 0; }
.entry p:last-child, .entry ul:last-child, .entry dl:last-child { margin-bottom: 0; }
.entry .facts { margin: 8px 0 10px; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; font-size: 14px; margin: 0 0 8px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 4px 0 8px; }
.chips li { margin: 0; font-size: 13px; padding: 2px 10px; border-radius: 99px; background: var(--field); border: 1px solid var(--line); }
.chips li.elite { border-color: rgba(236, 189, 110, .5); color: var(--bronze-2); }
.manual td { min-width: 96px; }
.manual td.num { min-width: 0; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.compact td, table.compact th { padding: 6px 10px; font-size: 14px; }
.formula { display: block; padding: 10px 14px; margin: 8px 0 14px; background: rgba(0,0,0,.35); border: 1px solid var(--line); border-radius: 8px; font-family: Consolas, 'Cascadia Mono', monospace; font-size: 14px; color: var(--sand); overflow-x: auto; }
.man-search { width: 100%; margin: 4px 0 16px; background: var(--field); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; color: var(--text); font: inherit; }
.man-search:focus { outline: none; border-color: var(--bronze); }
@media (max-width: 880px) {
  .manual { grid-template-columns: 1fr; gap: 0; }
  .mnav { position: static; max-height: none; margin-bottom: 18px; border: 1px solid var(--line); border-radius: var(--radius); padding: 2px 14px 10px; background: var(--panel); }
}
