:root {
  --bg: #f4f5f8; --panel: #ffffff; --panel2: #f0f2f6; --line: #dfe3ea; --fg: #151a24; --mut: #5a6373; --dim: #7c8594;
  --acc: #2361c9; --acc-soft: rgba(35,97,201,.10); --gold: #b77a10; --gold-bg: #fff4dd; --in: #16794a; --out: #c0392b;
  --head: #16213a; --head2: #1f2d4d; --headfg: #eef1f7;
  --W: #f3ecd0; --U: #3d86d6; --B: #4a4250; --R: #d9553f; --G: #3e9b5c; --C: #b8b3ab;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0f1218; --panel: #171b23; --panel2: #1e232d; --line: #2b313c; --fg: #e9ecf1; --mut: #9aa3b1; --dim: #7a8392;
  --acc: #6fa4ff; --acc-soft: rgba(111,164,255,.13); --gold: #f2b84b; --gold-bg: rgba(242,184,75,.12); --in: #4cc38a; --out: #f07068;
  --head: #0b0e13; --head2: #141925; color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1218; --panel: #171b23; --panel2: #1e232d; --line: #2b313c; --fg: #e9ecf1; --mut: #9aa3b1; --dim: #7a8392;
    --acc: #6fa4ff; --acc-soft: rgba(111,164,255,.13); --gold: #f2b84b; --gold-bg: rgba(242,184,75,.12); --in: #4cc38a; --out: #f07068;
    --head: #0b0e13; --head2: #141925; color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--fg); font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif; }
a { color: var(--acc); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 0; background: var(--acc); color: #fff; padding: .5rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; }
.top-in { max-width: 78rem; margin: 0 auto; padding: 0 1rem; display: flex; align-items: center; gap: 1rem; }

/* topo */
.top { background: var(--head); color: var(--headfg); position: sticky; top: 0; z-index: 20; }
.top > .top-in { min-height: 3.6rem; flex-wrap: wrap; padding-block: .4rem; }
.logo { display: flex; align-items: center; gap: .5rem; color: #fff; font-size: 1.12rem; font-weight: 600; text-decoration: none !important; }
.logo b { color: #f2b84b; }
.fmts { display: flex; gap: .15rem; flex-wrap: wrap; flex: 1; }
.fmts a { color: #c7cfdd; padding: .4rem .65rem; border-radius: 7px; font-size: .9rem; font-weight: 600; }
.fmts a:hover { background: rgba(255,255,255,.08); text-decoration: none; color: #fff; }
.fmts a[aria-current="page"] { background: #f2b84b; color: #1b1405; }
.search { position: relative; }
.search input { width: 15rem; max-width: 60vw; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff; border-radius: 8px; padding: .45rem .7rem; font: inherit; font-size: .88rem; }
.search input::placeholder { color: #aab3c3; }
#q-list { position: absolute; right: 0; top: 2.4rem; width: 20rem; max-width: 90vw; background: var(--panel); color: var(--fg); border: 1px solid var(--line); border-radius: 10px; list-style: none; margin: 0; padding: .3rem; box-shadow: 0 10px 30px rgba(0,0,0,.25); max-height: 22rem; overflow: auto; }
#q-list li { padding: .45rem .6rem; border-radius: 7px; cursor: pointer; display: flex; justify-content: space-between; gap: .6rem; font-size: .88rem; }
#q-list li[aria-selected="true"], #q-list li:hover { background: var(--acc-soft); }
#q-list li small { color: var(--mut); }
.theme { background: none; border: 1px solid rgba(255,255,255,.2); color: #fff; border-radius: 8px; width: 2.2rem; height: 2.2rem; cursor: pointer; font-size: 1rem; }
.sub { background: var(--head2); }
.sub .top-in { gap: .2rem; overflow-x: auto; }
.sub a { color: #c7cfdd; padding: .5rem .7rem; font-size: .86rem; white-space: nowrap; }
.sub a:hover { color: #fff; text-decoration: none; }
.sub a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 #f2b84b; }

/* conteúdo */
main:focus { outline: none; }
main { max-width: 78rem; margin: 0 auto; padding: 1.4rem 1rem 3rem; display: grid; gap: 1.2rem; outline: none; }
.loading, .empty { color: var(--mut); }
h1 { font-size: 1.75rem; margin: 0; letter-spacing: -.015em; line-height: 1.2; }
h2 { font-size: 1.15rem; margin: 0; }
h3 { font-size: .8rem; margin: 0 0 .4rem; text-transform: uppercase; letter-spacing: .06em; color: var(--mut); }
.crumb { font-size: .84rem; color: var(--mut); }
.lead { color: var(--mut); margin: .2rem 0 0; max-width: 75ch; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; min-width: 0; }
.card > h2 { margin-bottom: .7rem; display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.card > h2 small { font-size: .82rem; font-weight: 400; color: var(--mut); }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 1.2rem; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 1.2rem; align-items: start; }
@media (max-width: 60rem) { .split { grid-template-columns: 1fr; } }
.row { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.between { justify-content: space-between; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: var(--panel); }
.seg button { border: 0; background: none; padding: .4rem .8rem; font: inherit; font-size: .84rem; color: var(--mut); cursor: pointer; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button[aria-pressed="true"] { background: var(--acc); color: #fff; }
.btn { border: 1px solid var(--line); background: var(--panel); color: var(--fg); padding: .45rem .85rem; border-radius: 8px; font: inherit; font-size: .85rem; cursor: pointer; }
.btn:hover { border-color: var(--acc); }
.btn.pri { background: var(--acc); color: #fff; border-color: var(--acc); }
.input, select { background: var(--panel); border: 1px solid var(--line); color: var(--fg); border-radius: 8px; padding: .42rem .65rem; font: inherit; font-size: .86rem; }
.stats { display: flex; gap: 1.6rem; flex-wrap: wrap; margin-top: .6rem; }
.stat b { display: block; font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.stat small { color: var(--mut); font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; }

/* pips e etiquetas */
.pips { display: inline-flex; gap: 2px; vertical-align: -2px; margin-right: .35rem; }
.pips i { width: .78rem; height: .78rem; border-radius: 50%; display: inline-block; box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.pips .W { background: var(--W); } .pips .U { background: var(--U); } .pips .B { background: var(--B); } .pips .R { background: var(--R); } .pips .G { background: var(--G); } .pips .C { background: var(--C); }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; padding: .1rem .45rem; border-radius: 999px; background: var(--acc-soft); color: var(--acc); white-space: nowrap; }
.tag.gold { background: var(--gold-bg); color: var(--gold); }
.up { color: var(--in); font-weight: 600; } .down { color: var(--out); font-weight: 600; }

/* tabelas */
.tbox { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; }
table.t th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--mut); padding: .5rem .55rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.t td { padding: .5rem .55rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.t tbody tr:hover { background: var(--panel2); }
table.t .n { text-align: right; }
table.t td.nm { font-weight: 600; }
table.t small { color: var(--mut); }
.sortb { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; cursor: pointer; }
.bar { display: inline-block; height: .5rem; border-radius: 4px; background: var(--acc); vertical-align: middle; margin-right: .4rem; }
@media (max-width: 40rem) { .hide-sm { display: none; } }

/* cartões de formato */
.fcard h2 { display: flex; justify-content: space-between; }
.fcard ol { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .35rem; }
.fcard li { display: grid; grid-template-columns: minmax(0, 1fr) 3.6rem; gap: .5rem; align-items: center; font-size: .9rem; }
.fcard li span.b { height: .42rem; border-radius: 4px; background: var(--acc-soft); position: relative; grid-column: 1 / -1; margin-top: -.15rem; }
.fcard li span.b i { position: absolute; inset: 0 auto 0 0; border-radius: 4px; background: var(--acc); }
.fcard li em { font-style: normal; text-align: right; color: var(--mut); }
.ellip { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* listas de deck */
.deck { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: .3rem 1.6rem; }
.deck section { break-inside: avoid; margin-bottom: .8rem; }
.deck h3 { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: .25rem; }
.deck .ln { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr) auto; gap: .3rem; padding: .16rem 0; font-size: .9rem; }
.deck .ln b { color: var(--acc); }
.deck .ln a { color: var(--fg); }
.deck .ln a:hover { color: var(--acc); }
.deck .ln small { color: var(--mut); font-variant-numeric: tabular-nums; }
.price { font-size: 1.3rem; font-weight: 700; }
.chart { width: 100%; }
.chart text { fill: var(--mut); font-size: 11px; }
.tip { position: fixed; z-index: 60; pointer-events: none; }
.tip img { width: 244px; border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.4); display: block; }
.cardimg { width: 100%; max-width: 20rem; border-radius: 14px; box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.notice { background: var(--gold-bg); border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); border-radius: 10px; padding: .7rem .9rem; font-size: .88rem; }
.prose { max-width: 75ch; }
.prose p, .prose li { color: var(--fg); }
details.acc { border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
details.acc > summary { cursor: pointer; padding: .75rem 1rem; font-weight: 600; }
details.acc > div { padding: 0 1rem 1rem; display: grid; gap: .6rem; }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: .8rem 1.4rem; }
.kv h4 { margin: 0; font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--mut); }
.kv p { margin: .15rem 0 0; }
.inout { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: .8rem; }
.inout > div { border-radius: 10px; padding: .7rem .85rem; }
.inout .i { background: color-mix(in srgb, var(--in) 12%, transparent); }
.inout .o { background: color-mix(in srgb, var(--out) 11%, transparent); }
.inout h4 { margin: 0 0 .3rem; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; }
.inout .i h4 { color: var(--in); } .inout .o h4 { color: var(--out); }
.opps { display: flex; flex-wrap: wrap; gap: .4rem; }
.opps button { border: 1px solid var(--line); background: var(--panel); color: var(--fg); border-radius: 999px; padding: .35rem .75rem; font: inherit; font-size: .84rem; cursor: pointer; }
.opps button[aria-pressed="true"] { background: var(--acc); color: #fff; border-color: var(--acc); }
.foot { border-top: 1px solid var(--line); background: var(--panel); color: var(--mut); font-size: .8rem; }
.foot .top-in { display: block; padding: 1.2rem 1rem 1.6rem; }
.foot p { margin: .35rem 0; max-width: 95ch; }
@media (max-width: 40rem) {
  .top { position: static; }
  .fmts { order: 3; flex-basis: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .fmts::-webkit-scrollbar { display: none; }
  .search { flex: 1; } .search input { width: 100%; max-width: none; }
}

/* ---------- blocos de arquétipo (estilo metagame) ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13.5rem), 1fr)); gap: .9rem; }
.tile { display: grid; grid-template-rows: 7.2rem auto; border-radius: 12px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); color: var(--fg); text-decoration: none !important; transition: transform .12s, box-shadow .12s; }
.tile:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.14); }
.tile .art { position: relative; background: var(--grad) center / cover no-repeat; }
.tile .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.55)); }
.tile .art .rk { position: absolute; left: .5rem; top: .5rem; z-index: 1; background: rgba(0,0,0,.7); color: #fff; font-size: .72rem; font-weight: 700; padding: .12rem .45rem; border-radius: 6px; }
.tile .art .sh { position: absolute; right: .55rem; bottom: .4rem; z-index: 1; color: #fff; font-weight: 800; font-size: 1.25rem; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.tile .art .pp { position: absolute; left: .5rem; bottom: .55rem; z-index: 1; }
.tile .bd { padding: .6rem .75rem .7rem; display: grid; gap: .3rem; }
.tile .bd b { font-size: .95rem; line-height: 1.25; }
.tile .bd .pr { display: flex; justify-content: space-between; font-size: .8rem; color: var(--mut); font-variant-numeric: tabular-nums; }
.tile .bd .pr span:first-child { color: var(--fg); font-weight: 600; }
.tile .meter { height: .3rem; border-radius: 3px; background: var(--panel2); overflow: hidden; }
.tile .meter i { display: block; height: 100%; background: var(--acc); }
.fsec { display: grid; gap: .7rem; }
.fsec > header { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.fsec > header h2 { font-size: 1.25rem; }
.tiles.row6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 70rem) { .tiles.row6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .tiles.row6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile { grid-template-rows: 5.6rem auto; } }

/* banner de arquétipo */
.banner { position: relative; border-radius: 14px; overflow: hidden; min-height: 11rem; display: flex; align-items: flex-end; background: var(--grad) center 30% / cover no-repeat; color: #fff; }
.banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,14,22,.92) 0%, rgba(10,14,22,.65) 55%, rgba(10,14,22,.25)); }
.banner > div { position: relative; padding: 1.2rem 1.4rem; width: 100%; }
.banner .crumb, .banner .crumb a { color: #c9d1de; }
.banner h1 { color: #fff; font-size: 2.1rem; }
.banner .stat small { color: #c9d1de; }
.banner .stat b { color: #fff; }

/* mana */
.mana { display: inline-flex; gap: 1px; vertical-align: -2px; }
.mana i { width: 1rem; height: 1rem; border-radius: 50%; font-style: normal; font-size: .62rem; font-weight: 800; display: grid; place-items: center; color: #1a1a1a; box-shadow: 0 1px 0 rgba(0,0,0,.35); background: #cbc5bd; }
.mana i.W { background: #f8f3d6; } .mana i.U { background: #aad3f5; } .mana i.B { background: #c4b8bb; } .mana i.R { background: #f5ad90; } .mana i.G { background: #a8d8ad; }

/* tabela de lista */
.dl { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: 1.2rem; align-items: start; }
@media (max-width: 62rem) { .dl { grid-template-columns: 1fr; } }
table.dt { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.dt th { text-align: left; background: var(--panel2); font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--mut); padding: .45rem .6rem; }
table.dt th.n, table.dt td.n { text-align: right; }
table.dt td { padding: .32rem .6rem; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
table.dt td.q { width: 2.4rem; font-weight: 700; color: var(--acc); }
table.dt td.c { width: 5.5rem; }
table.dt td a { color: var(--fg); }
table.dt td a:hover { color: var(--acc); }
table.dt tr.sp td { height: .5rem; border: 0; }
.side-box { display: grid; gap: .9rem; position: sticky; top: 7.5rem; }
.pricebox { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.pricebox div { background: var(--panel2); border-radius: 10px; padding: .7rem .8rem; }
.pricebox small { display: block; color: var(--mut); font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; }
.pricebox b { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.curve { display: grid; grid-template-columns: repeat(7, 1fr); gap: .3rem; align-items: end; height: 6rem; }
.curve div { display: grid; gap: .15rem; text-align: center; font-size: .7rem; color: var(--mut); align-content: end; height: 100%; }
.curve i { display: block; background: var(--acc); border-radius: 3px 3px 0 0; min-height: 2px; }
.visual { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: .7rem; }
.visual a { position: relative; display: block; }
.visual img, .visual .ph { width: 100%; aspect-ratio: 63 / 88; border-radius: 6%; display: block; background: var(--panel2); object-fit: cover; }
.visual .ph { display: grid; place-items: center; padding: .5rem; text-align: center; font-size: .78rem; color: var(--mut); border: 1px solid var(--line); }
.visual .qb { position: absolute; left: .35rem; top: 2.1rem; background: rgba(0,0,0,.78); color: #fff; font-weight: 800; font-size: .8rem; padding: .1rem .45rem; border-radius: 6px; }
.visual h3 { grid-column: 1 / -1; margin: .4rem 0 0; }
@media (max-width: 40rem) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; } .tile .bd .pr { flex-direction: column; } .tile .art .sh { font-size: 1.05rem; } }

/* símbolos de mana oficiais (Scryfall) */
.pips img, .mana img { width: 1rem; height: 1rem; display: inline-block; border-radius: 50%; box-shadow: 0 1px 0 rgba(0,0,0,.35); }
.pips { gap: 2px; } .mana { gap: 1px; }
.tile .pp img { width: 1.15rem; height: 1.15rem; box-shadow: 0 1px 3px rgba(0,0,0,.6); }
.banner .pips img { width: 1.5rem; height: 1.5rem; }

/* leque de cartas inteiras nos blocos e no banner */
.tile { grid-template-rows: 11.5rem auto; }
.tile .art { background: var(--grad); overflow: hidden; }
.tile .art::after { background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55)); z-index: 1; pointer-events: none; }
.fan { position: absolute; inset: 0; }
.fan img { position: absolute; left: 50%; top: .9rem; width: 46%; aspect-ratio: 63 / 88; border-radius: 5%; box-shadow: 0 6px 14px rgba(0,0,0,.45); transform: translateX(calc(-50% + var(--i) * 38%)) rotate(calc(var(--i) * 9deg)); transform-origin: 50% 120%; transition: transform .15s; }
.fan.fan1 img { width: 52%; }
.tile:hover .fan img { transform: translateX(calc(-50% + var(--i) * 46%)) rotate(calc(var(--i) * 11deg)) translateY(-4px); }
.tile .art .rk, .tile .art .sh, .tile .art .pp { z-index: 2; }
.banner { min-height: 15rem; }
.banner .fan { left: auto; right: 0; width: min(46%, 26rem); z-index: 1; }
.banner .fan img { width: 34%; top: 1.4rem; transform: translateX(calc(-50% + var(--i) * 30%)) rotate(calc(var(--i) * 6deg)); }
.banner > div:not(.fan) { z-index: 2; }
@media (max-width: 40rem) { .tile { grid-template-rows: 9rem auto; } .banner .fan { display: none; } }

.thumbs { display: inline-flex; gap: 3px; }
.thumbs img { width: 2.1rem; aspect-ratio: 63 / 88; border-radius: 3px; object-fit: cover; object-position: top; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.btn[disabled] { opacity: .45; cursor: default; }

.tile .bd .l50 { font-size: .74rem; font-weight: 600; color: var(--in); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Link para a loja parceira */
.loja-ic { display: inline-flex; align-items: center; justify-content: center; width: 1.9rem; height: 1.9rem; margin: -.3rem 0; border-radius: 6px; color: var(--mut); vertical-align: middle; }
.loja-ic:hover, table.dt td a.loja-ic:hover { color: var(--acc); background: var(--acc-soft); }
table.dt td.lj, table.dt th.lj { width: 4.2rem; white-space: nowrap; padding-left: 0; padding-right: .3rem; text-align: center; }
table.dt td a.loja-ic { color: var(--mut); }
.btn.loja { display: inline-flex; align-items: center; gap: .45rem; background: var(--acc); color: #fff; border-color: var(--acc); font-weight: 600; }
.btn.loja:hover { filter: brightness(1.08); }
.btn.liga { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; }
table.dt td.n, table.t td.n { white-space: nowrap; }
.pricebox b { white-space: nowrap; font-size: clamp(1rem, 1.6vw, 1.25rem); }

/* Artigos */
.arts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 1rem; }
.art-card { display: grid; gap: .45rem; align-content: start; color: var(--fg); text-decoration: none; transition: border-color .15s; }
.art-card:hover { border-color: var(--acc); text-decoration: none; }
.art-card h2 { margin: 0; font-size: 1.12rem; line-height: 1.3; }
.art-card p { margin: 0; color: var(--mut); font-size: .92rem; }
.tags { display: flex; flex-wrap: wrap; gap: .3rem; }
.artigo { margin-inline: auto; width: 100%; }
.artigo h1 { margin: .5rem 0 .2rem; }
.artigo h2 { margin-top: 1.8rem; }
.artigo p, .artigo li { line-height: 1.65; }
.artigo blockquote { margin: 1rem 0; padding: .4rem 1rem; border-left: 3px solid var(--acc); color: var(--mut); }
.links { margin: 0; padding-left: 1.1rem; display: grid; gap: .35rem; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: 1rem; }
.grid3 .card h3 { margin: 0 0 .35rem; }
/* Formulários */
.form { display: grid; gap: 1rem; margin-top: 1.2rem; }
.fld { display: grid; gap: .35rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.fld > label, .fld legend { font-weight: 600; font-size: .92rem; padding: 0; }
.fld .help { color: var(--mut); font-size: .8rem; }
.req { color: var(--out); }
.form textarea, .form .input, .form select { width: 100%; box-sizing: border-box; background: var(--panel); border: 1px solid var(--line); color: var(--fg); border-radius: 8px; padding: .55rem .7rem; font: inherit; font-size: .92rem; }
.form textarea { resize: vertical; line-height: 1.5; }
.form textarea:focus, .form .input:focus, .form select:focus { outline: 2px solid var(--acc); outline-offset: 1px; border-color: var(--acc); }
.checks { display: flex; flex-wrap: wrap; gap: .4rem .5rem; }
.checks label { display: inline-flex; align-items: center; gap: .35rem; border: 1px solid var(--line); border-radius: 999px; padding: .3rem .7rem; font-size: .86rem; cursor: pointer; background: var(--panel); }
.checks label:has(input:checked) { border-color: var(--acc); background: var(--acc-soft); }
.scale { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: .25rem; }
.scale label { position: relative; }
.scale input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.scale span { display: grid; place-items: center; height: 2.3rem; border: 1px solid var(--line); border-radius: 8px; font-size: .88rem; background: var(--panel); }
.scale input:checked + span { background: var(--acc); color: #fff; border-color: var(--acc); }
.scale input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 2px; }
.scale-ends { display: flex; justify-content: space-between; color: var(--mut); }

/* Sub-abas de Commander */
.cmdtabs { display: inline-flex; flex-wrap: wrap; }
.cmdtabs a { padding: .5rem 1.1rem; font-weight: 600; color: var(--fg); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.cmdtabs a[aria-current="page"] { background: var(--acc); color: #fff; }
.cmdtabs a small { font-size: .72rem; opacity: .75; }

/* Bhell */
.statrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); gap: .8rem; }
.stat-c { display: grid; gap: .1rem; padding: .85rem 1rem; }
.stat-c small { color: var(--mut); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; }
.stat-c b { font-size: 1.35rem; font-variant-numeric: tabular-nums; }
table.bh tr.prize td { background: var(--gold-bg); }
table.bh tr.prize td:first-child { box-shadow: inset 3px 0 0 var(--gold); }
.crown { color: var(--gold); font-size: .85em; }
.recs { display: grid; gap: 1rem; }
.recs h3 { margin: 0 0 .3rem; font-size: .95rem; }
.recs h3 small { color: var(--mut); font-weight: 400; }
.recs ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .2rem; font-size: .9rem; }
.pname { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .15rem .45rem; }
.pdeck { display: inline-flex; align-items: center; gap: .25rem; font-size: .78rem; font-weight: 600; padding: .08rem .5rem .08rem .3rem; border-radius: 999px; background: var(--acc-soft); color: var(--acc); white-space: nowrap; }
.pdeck:hover { text-decoration: none; filter: brightness(1.1); }
.pdeck .pips img { width: 13px; height: 13px; }
