@font-face { font-family: "Lilita One"; src: url(/fonts/lilita-one.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Nunito"; src: url(/fonts/nunito.woff2) format("woff2"); font-weight: 200 1000; font-display: swap; }

:root {
  --ink: #2a1a0d;
  --wood: #8b5a2b; --wood-hi: #b07a3f; --wood-dk: #5a3719;
  --parch: #f5e9c9; --parch-2: #eadaae; --parch-3: #d9c48f;
  --text: #3a2614; --text-2: #6e5233;
  --stone: #262c36; --stone-2: #323a47; --stone-3: #414b5b;
  --gold: #ffcf3a; --gold-dk: #b9821a;
  --green: #79c142; --green-dk: #3f7d1c;
  /* cores por recurso do jogo */
  --c-hero: #6b3fa0;   --c-hero-2: #2e1650;
  --c-equip: #4f9fe0;  --c-equip-2: #1d4a86;
  --c-pet: #5fb34a;    --c-pet-2: #245a1c;
  --c-troop: #e05bd0;  --c-troop-2: #7a1f84;
  --c-spell: #c25ee8;  --c-spell-2: #4f1d7f;
  --c-siege: #c99b55;  --c-siege-2: #6b4520;
  --c-bb: #3fb8b0;     --c-bb-2: #145c63;
  --radius: 14px;
  --display: "Lilita One", "Nunito", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--stone); scrollbar-color: var(--wood) var(--stone); }
::selection { background: var(--gold); color: var(--ink); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--stone); }
::-webkit-scrollbar-thumb { background: var(--wood); border: 3px solid var(--stone); border-radius: 8px; }
body {
  margin: 0; color: var(--parch); min-height: 100vh;
  font: 500 15px/1.45 "Nunito", system-ui, sans-serif;
  background: linear-gradient(var(--stone-2), var(--stone) 420px);
}
img { display: block; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* lettering de jogo: branco com contorno escuro e sombra embaixo */
.lt {
  font-family: var(--display); font-weight: 400; color: #fff; letter-spacing: .01em;
  -webkit-text-stroke: .16em var(--ink); paint-order: stroke fill;
  text-shadow: 0 .09em 0 var(--ink);
}

.wrap { max-width: 1240px; margin: 0 auto; padding: 20px 20px 72px; }

/* ---------- topo ---------- */
.topbar { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 18px; }
.brand { font-size: 24px; margin: 0; }
.brand span { color: var(--gold); }
form.tag { display: flex; gap: 8px; }
form.tag input {
  width: 190px; padding: 10px 14px; font: 800 15px/1 "Nunito", sans-serif; letter-spacing: .06em; text-transform: uppercase;
  background: var(--parch); color: var(--text); border: 3px solid var(--ink); border-radius: 10px;
  box-shadow: inset 0 3px 0 rgba(0,0,0,.12);
}
form.tag input::placeholder { color: #9b8461; letter-spacing: .02em; text-transform: none; font-weight: 700; }
form.tag input:focus-visible { outline-offset: 0; }
.btn {
  font: 400 17px/1 var(--display); color: #fff; cursor: pointer; padding: 10px 18px 12px;
  border: 3px solid var(--ink); border-radius: 10px;
  background: linear-gradient(#9be05c, var(--green) 55%, #5ea32e);
  box-shadow: inset 0 -4px 0 var(--green-dk), 0 3px 0 var(--ink);
  -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill;
  transition: transform .12s, box-shadow .12s;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(3px); box-shadow: inset 0 -2px 0 var(--green-dk), 0 0 0 var(--ink); }
.btn[disabled] { filter: grayscale(.8); cursor: progress; }

/* ---------- painéis de pergaminho ---------- */
.parch {
  background: var(--parch); color: var(--text);
  border: 3px solid var(--ink); border-radius: var(--radius);
  box-shadow: inset 0 0 0 3px var(--parch-2), inset 0 -6px 0 var(--parch-2), 0 6px 16px rgba(0,0,0,.35);
}
.banner {
  display: inline-block; position: relative; margin: 0 0 -14px 18px; z-index: 2;
  padding: 6px 18px 8px; font-size: 20px;
  background: linear-gradient(var(--wood-hi), var(--wood) 60%, var(--wood-dk));
  border: 3px solid var(--ink); border-radius: 10px;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.18), 0 3px 0 var(--ink);
}

/* ---------- placa do jogador ---------- */
.player > div { min-width: 0; }
.player { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 16px 22px 16px 14px; margin-bottom: 26px; }
.th { width: 112px; height: 112px; object-fit: contain; filter: drop-shadow(0 4px 0 rgba(42,26,13,.35)); }
.pname { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.05; margin: 0 0 6px; overflow-wrap: anywhere; }
.pmeta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; color: var(--text-2); font-weight: 700; font-size: 14px; }
.xp {
  display: inline-grid; place-items: center; width: 34px; height: 34px; font: 400 15px/1 var(--display); color: #fff;
  background: radial-gradient(circle at 40% 35%, #8fd3ff, #2f7fd0 70%); border: 3px solid var(--ink); border-radius: 50%;
  -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill;
}
.league { display: inline-flex; align-items: center; gap: 6px; }
.league img { width: 30px; height: 30px; }
.chip-s { background: var(--parch-2); border: 2px solid var(--parch-3); border-radius: 999px; padding: 1px 10px; font-size: 13px; color: var(--text); }
.pstats { display: grid; grid-template-columns: repeat(3, minmax(88px, auto)); gap: 6px 18px; text-align: right; }
.pstats div { line-height: 1.1; }
.pstats b { display: flex; justify-content: flex-end; align-items: center; gap: 5px; font: 400 22px/1.1 var(--display); color: var(--text); font-variant-numeric: tabular-nums; }
.pstats b svg { width: 18px; height: 18px; }
.pstats small { font-size: 12px; color: var(--text-2); font-weight: 700; }

/* ---------- laboratório ---------- */
.lab { padding: 30px 20px 22px; margin-bottom: 30px; }
.lab-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 16px; }
.lab-head h2 { margin: 0; font: 400 clamp(24px, 3vw, 34px)/1.1 var(--display); color: var(--text); }
.lab-head h2 em { font-style: normal; color: #9a2fa8; }
.lab-head p { margin: 0; color: var(--text-2); font-weight: 700; font-size: 13px; max-width: 46ch; }

.mode { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mode > span { margin-right: 4px; font: 800 11px/1 "Nunito", sans-serif; text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); }
.seg {
  font: 800 13px/1 "Nunito", sans-serif; cursor: pointer; padding: 8px 12px;
  border: 3px solid var(--ink); border-radius: 9px; background: var(--parch-2); color: var(--text);
}
.seg[aria-pressed="true"] { background: linear-gradient(var(--wood-hi), var(--wood) 60%, var(--wood-dk)); color: var(--parch); box-shadow: 0 3px 0 var(--ink); }
.seg:not([aria-pressed="true"]):hover { background: var(--parch); }

/* heróis em destaque */
.heroes { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 12px; margin-bottom: 20px; }
.hero {
  position: relative; border: 3px solid var(--ink); border-radius: 12px; overflow: hidden;
  background: linear-gradient(170deg, var(--c-hero), var(--c-hero-2));
  box-shadow: 0 4px 0 var(--ink);
}
.hero.max { background: linear-gradient(170deg, #f6c445, #9a5f12); }
.hero .art { height: 150px; display: grid; place-items: end center; padding-top: 8px; }
.hero .art img { max-height: 142px; max-width: 92%; object-fit: contain; filter: drop-shadow(0 4px 0 rgba(0,0,0,.35)); }
.hero .foot { background: var(--parch); border-top: 3px solid var(--ink); padding: 7px 10px 9px; }
.hero .nm { font: 800 13px/1.15 "Nunito", sans-serif; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero .gear { display: flex; gap: 4px; margin-top: 6px; min-height: 30px; }
.hero .gear img { width: 30px; height: 30px; object-fit: contain; background: linear-gradient(var(--c-equip), var(--c-equip-2)); border: 2px solid var(--ink); border-radius: 7px; padding: 2px; }
.hero .gear span { font-size: 11px; color: var(--text-2); font-weight: 700; align-self: center; }

/* nível em selo */
.lvl {
  position: absolute; left: 8px; top: 8px; min-width: 38px; height: 38px; padding: 0 7px;
  display: grid; place-items: center; font: 400 19px/1 var(--display); color: #fff;
  background: radial-gradient(circle at 40% 30%, #6b6f7a, #1d2027 75%); border: 3px solid var(--ink); border-radius: 10px;
  -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; z-index: 2;
}
.max .lvl { background: radial-gradient(circle at 40% 30%, #fff3b0, var(--gold) 55%, var(--gold-dk)); }

.bar { height: 10px; background: #3a2614; border: 2px solid var(--ink); border-radius: 6px; overflow: hidden; margin-top: 5px; }
.bar i { display: block; height: 100%; border-radius: 3px 0 0 3px; background: linear-gradient(#f38ce8, #c03bb6); box-shadow: inset 0 2px 0 rgba(255,255,255,.35); }
.max .bar i { background: linear-gradient(#ffe68a, var(--gold-dk)); }
.prog { display: flex; justify-content: space-between; font: 800 12px/1 "Nunito", sans-serif; color: var(--text-2); margin-top: 5px; font-variant-numeric: tabular-nums; }
.prog b { color: #9a2fa8; }
.max .prog b { color: var(--gold-dk); }

/* filtros (abas de madeira) */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tab {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font: 800 14px/1 "Nunito", sans-serif; color: var(--parch); padding: 8px 12px 9px;
  background: linear-gradient(var(--wood-hi), var(--wood) 60%, var(--wood-dk));
  border: 3px solid var(--ink); border-radius: 10px; box-shadow: 0 3px 0 var(--ink);
  transition: transform .12s;
}
.tab:hover { transform: translateY(-1px); }
.tab .dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); background: var(--dot, #fff); }
.tab .n { font: 400 14px/1 var(--display); background: rgba(0,0,0,.28); border-radius: 6px; padding: 3px 6px; min-width: 24px; text-align: center; }
.tab[aria-pressed="true"] { background: var(--parch); color: var(--text); box-shadow: inset 0 -3px 0 var(--parch-3), 0 3px 0 var(--ink); }
.tab[aria-pressed="true"] .n { background: var(--ink); color: var(--gold); }

/* quadro de unidades */
.board { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; }
.u {
  position: relative; border: 3px solid var(--ink); border-radius: 11px; overflow: hidden; background: var(--parch);
  box-shadow: 0 3px 0 var(--ink); transition: transform .15s;
}
.u:hover { transform: translateY(-3px); }
.u .art { height: 96px; display: grid; place-items: center; background: linear-gradient(165deg, var(--a), var(--b)); }
.u .art img { max-width: 82%; max-height: 86px; object-fit: contain; filter: drop-shadow(0 3px 0 rgba(0,0,0,.3)); }
.u .lvl { min-width: 30px; height: 30px; font-size: 15px; left: 5px; top: 5px; border-radius: 8px; padding: 0 5px; }
.u .meta { padding: 5px 7px 7px; border-top: 3px solid var(--ink); }
.u .nm { font: 800 12px/1.15 "Nunito", sans-serif; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.u.max { border-color: var(--gold-dk); box-shadow: 0 3px 0 var(--ink), inset 0 0 0 2px var(--gold); }
.u.max .art::after {
  content: "MAX"; position: absolute; right: -24px; top: 10px; transform: rotate(38deg); width: 90px; text-align: center;
  font: 400 12px/1.5 var(--display); color: var(--ink); background: var(--gold); border-block: 2px solid var(--ink);
}
.fallback { font: 400 26px/1 var(--display); color: rgba(255,255,255,.85); }
.cat-hero  { --a: var(--c-hero);  --b: var(--c-hero-2); }
.cat-equip { --a: var(--c-equip); --b: var(--c-equip-2); }
.cat-pet   { --a: var(--c-pet);   --b: var(--c-pet-2); }
.cat-troop { --a: var(--c-troop); --b: var(--c-troop-2); }
.cat-spell { --a: var(--c-spell); --b: var(--c-spell-2); }
.cat-siege { --a: var(--c-siege); --b: var(--c-siege-2); }
.cat-bb    { --a: var(--c-bb);    --b: var(--c-bb-2); }
.cat-equip .bar i { background: linear-gradient(#9fd2ff, #2f7fd0); }
.cat-pet .bar i { background: linear-gradient(#b5ee8a, #4c9b2b); }
.cat-hero .bar i { background: linear-gradient(#b48ae6, #5a2a92); }
.cat-siege .bar i { background: linear-gradient(#f1cb8a, #a06a26); }
.cat-bb .bar i { background: linear-gradient(#8ef0e6, #1d8a8a); }

.sub-h { display: flex; align-items: center; gap: 10px; margin: 22px 0 10px; font: 400 18px/1 var(--display); color: var(--text); }
.maxed summary { cursor: pointer; list-style: none; }
.maxed summary::-webkit-details-marker { display: none; }
.maxed summary span { order: 2; font: 800 12px/1 "Nunito", sans-serif; color: var(--text-2); background: var(--parch-2); border: 2px solid var(--parch-3); border-radius: 999px; padding: 4px 10px; }
.maxed[open] summary span { visibility: hidden; }
.sub-h::after { content: ""; flex: 1; height: 3px; background: var(--parch-3); border-radius: 2px; }
.empty-board { padding: 22px; text-align: center; color: var(--text-2); font-weight: 800; background: var(--parch-2); border-radius: 10px; border: 2px dashed var(--parch-3); }
.empty-board b { display: block; font: 400 22px/1.2 var(--display); color: var(--green-dk); }

/* ---------- clã e conquistas ---------- */
.lower { display: grid; grid-template-columns: 1.15fr 1fr; gap: 26px; align-items: start; }
.panel { padding: 30px 18px 18px; }
.clan-top { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.clan-top img { width: 84px; height: 84px; }
.clan-top h3 { margin: 0; font: 400 24px/1.1 var(--display); color: var(--text); }
.clan-top p { margin: 3px 0 0; color: var(--text-2); font-weight: 700; font-size: 13px; }
.cstats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.desc { color: var(--text-2); font-size: 13px; margin: 0 0 12px; overflow-wrap: anywhere; }
table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
th { text-align: left; font: 800 11px/1 "Nunito", sans-serif; text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); padding: 0 6px 8px; }
td { padding: 6px; border-top: 2px solid var(--parch-2); font-weight: 700; }
td.n, th.n { text-align: right; }
tr.me td { background: #fff3c4; }
tr.me td:first-child { box-shadow: inset 4px 0 0 var(--gold-dk); }
.role { font-size: 11px; color: var(--text-2); }
.scroll { max-height: 520px; overflow: auto; margin: 0 -6px; padding: 0 6px; scrollbar-color: var(--parch-3) transparent; }

.ach { display: grid; gap: 8px; }
.a { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 8px 10px; background: var(--parch-2); border-radius: 9px; }
.a .t { font-weight: 800; font-size: 13px; }
.a .i { grid-column: 1 / -1; font-size: 12px; color: var(--text-2); }
.a .bar { grid-column: 1 / -1; height: 8px; }
.a .bar i { background: linear-gradient(#ffe68a, var(--gold-dk)); }
.stars { display: inline-flex; gap: 1px; }
.stars svg { width: 15px; height: 15px; }
details.more summary { cursor: pointer; font-weight: 800; color: var(--text-2); margin-top: 10px; }

/* ---------- mensagens ---------- */
.msg { padding: 26px 24px; margin: 30px auto; max-width: 620px; text-align: center; }
.msg h2 { margin: 0 0 8px; font: 400 26px/1.15 var(--display); color: var(--text); }
.msg p { margin: 0; color: var(--text-2); font-weight: 700; }
.msg code { background: var(--parch-2); border-radius: 5px; padding: 1px 6px; color: var(--text); }
.msg.err h2 { color: #a3261b; }
.spin { width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 50%; border: 6px solid var(--parch-3); border-top-color: #c03bb6; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hidden { display: none !important; }
.foot-note { margin-top: 30px; text-align: center; font-size: 12px; color: #b4bccb; }

/* entrada das cartas ao trocar filtro */
.pop { animation: pop .38s cubic-bezier(.2, 1.4, .4, 1) both; animation-delay: calc(var(--i, 0) * 14ms); }
@keyframes pop { from { opacity: 0; transform: scale(.86) translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .pop { animation: none; } .u, .tab, .btn { transition: none; } }

@media (max-width: 900px) {
  .lower { grid-template-columns: 1fr; }
  .player { grid-template-columns: auto 1fr; }
  .pstats { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); text-align: left; border-top: 2px solid var(--parch-2); padding-top: 10px; }
  .pstats b { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .wrap { padding: 14px 12px 60px; }
  .topbar { flex-direction: column; align-items: stretch; }
  form.tag input { flex: 1; width: auto; }
  .th { width: 76px; height: 76px; }
  .player { padding: 12px; gap: 12px; }
  .lab { padding: 28px 12px 16px; }
  .heroes { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 136px; overflow-x: auto; padding-bottom: 6px; }
  .board { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
  .u .art { height: 80px; }
  .u .art img { max-height: 70px; }
  .pstats { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   Painel público: navegação, vistas novas, anúncios
   ========================================================= */
a { color: inherit; }
.parch a { color: #7a3a10; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.parch a:hover { color: #9a2fa8; }
a.plain { text-decoration: none; color: inherit; }
a.plain:hover { color: #9a2fa8; }

/* casca com coluna lateral de anúncio (só aparece com anúncios ligados e tela larga) */
.shell { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; align-items: start; }
.brand a { text-decoration: none; }

/* topo: marca + navegação + busca rápida */
.topbar { margin-bottom: 14px; }
.nav { display: flex; gap: 8px; flex-wrap: wrap; }
.nav .tab { text-decoration: none; }
.nav .tab svg { width: 18px; height: 18px; }
.nav .tab[aria-current="page"] { background: var(--parch); color: var(--text); box-shadow: inset 0 -3px 0 var(--parch-3), 0 3px 0 var(--ink); }
body.at-home form.tag { visibility: hidden; }

/* busca grande (início) */
.find { padding: 26px 26px 24px; margin-bottom: 26px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 30px; align-items: end; }
.find h1 { margin: 0 0 6px; font: 400 clamp(30px, 4.4vw, 50px)/1.02 var(--display); color: var(--text); }
.find p { margin: 0; color: var(--text-2); font-weight: 700; max-width: 52ch; }
.find form { grid-column: 1 / -1; display: flex; gap: 10px; }
.find input {
  flex: 1; min-width: 0; padding: 14px 18px; font: 800 19px/1 "Nunito", sans-serif;
  background: #fffaf0; color: var(--text); border: 3px solid var(--ink); border-radius: 12px;
  box-shadow: inset 0 4px 0 rgba(0,0,0,.1);
}
.find input::placeholder { color: #9b8461; font-weight: 700; }
.find input:focus-visible { outline-offset: 0; }
.find .btn { font-size: 21px; padding: 12px 24px 14px; }
.find .hint { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--text-2); font-weight: 700; }
.find .season { text-align: right; }
.find .season b { display: block; font: 400 26px/1.05 var(--display); color: var(--text); }
.find .season small { font-size: 12px; font-weight: 800; color: var(--text-2); }

.recent { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 26px; }
.recent a {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; text-decoration: none;
  background: var(--stone-2); border: 2px solid var(--stone-3); border-radius: 999px; color: var(--parch); font-weight: 800; font-size: 13px;
}
.recent a:hover { border-color: var(--gold); }
.recent img { width: 26px; height: 26px; object-fit: contain; }
.recent .thc { width: 26px; height: 26px; font-size: 13px; }
.recent > span { align-self: center; font: 800 11px/1 "Nunito", sans-serif; text-transform: uppercase; letter-spacing: .06em; color: #b4bccb; margin-right: 2px; }

.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.panel-foot { margin: 12px 0 0; font-weight: 800; font-size: 14px; }

/* selo de CV (numeral no quadrado de pedra) */
.thc {
  display: inline-grid; place-items: center; width: 30px; height: 30px; flex: none;
  font: 400 15px/1 var(--display); color: #fff; border: 2px solid var(--ink); border-radius: 8px;
  background: radial-gradient(circle at 40% 30%, #8a7a62, #3b2d1d 75%);
  -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill;
}
.thc.t17, .thc.t18, .thc.t19 { background: radial-gradient(circle at 40% 30%, #ffe28a, #c98a12 75%); }
.thc.t15, .thc.t16 { background: radial-gradient(circle at 40% 30%, #c8a0ff, #4f2a8c 75%); }
.thc.t13, .thc.t14 { background: radial-gradient(circle at 40% 30%, #9ad8ff, #2a5f9a 75%); }

/* linhas de ranking / listas */
.rows { width: 100%; }
.rows td { vertical-align: middle; }
.rows .who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.rows .who img { width: 34px; height: 34px; object-fit: contain; flex: none; }
.rows .who b { display: block; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 26ch; }
.rows .who small { display: block; color: var(--text-2); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 30ch; }
.rows tbody tr { cursor: pointer; }
.rows tbody tr:hover td { background: #fbf3dc; }
.rank {
  display: inline-grid; place-items: center; min-width: 32px; height: 28px; padding: 0 5px;
  font: 400 15px/1 var(--display); color: var(--text); background: var(--parch-2); border-radius: 7px;
}
.rank.r1, .rank.r2, .rank.r3 { color: #fff; border: 2px solid var(--ink); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; }
.rank.r1 { background: radial-gradient(circle at 40% 30%, #fff3b0, var(--gold) 55%, var(--gold-dk)); }
.rank.r2 { background: radial-gradient(circle at 40% 30%, #ffffff, #c9d2dc 55%, #7d8895); }
.rank.r3 { background: radial-gradient(circle at 40% 30%, #ffd2a8, #d98a4a 55%, #8c4f1f); }
.mv { font: 800 11px/1 "Nunito", sans-serif; margin-left: 4px; }
.mv.up { color: #3f7d1c; } .mv.down { color: #a3261b; }
.num { font: 400 17px/1 var(--display); color: var(--text); font-variant-numeric: tabular-nums; }
.num svg { width: 15px; height: 15px; vertical-align: -2px; margin-right: 3px; }
.lg-i { width: 28px; height: 28px; object-fit: contain; display: inline-block; vertical-align: middle; }

/* placa do clã */
.clanplate { grid-template-columns: auto 1fr auto; }
.clanplate .badge { width: 120px; height: 120px; object-fit: contain; filter: drop-shadow(0 4px 0 rgba(42,26,13,.35)); }
.labels { display: flex; gap: 4px; margin-top: 8px; }
.labels img { width: 30px; height: 30px; }
.plate-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.btn-s {
  font: 800 13px/1 "Nunito", sans-serif; color: var(--text); cursor: pointer; padding: 8px 12px; text-decoration: none;
  border: 3px solid var(--ink); border-radius: 9px; background: linear-gradient(#fff6db, var(--parch-2));
  box-shadow: 0 3px 0 var(--ink); display: inline-flex; align-items: center; gap: 6px;
}
.parch a.btn-s { color: var(--text); }
.btn-s:hover { background: var(--parch); }
.btn-s:active { transform: translateY(3px); box-shadow: none; }
.btn-s svg { width: 16px; height: 16px; }
.clan-desc { margin: 10px 0 0; color: var(--text-2); font-size: 13px; font-weight: 600; white-space: pre-line; overflow-wrap: anywhere; max-width: 70ch; }

/* abas de seção (clã) e tabelas de dados */
.subtabs { margin: 0 0 -3px; position: relative; z-index: 2; padding-left: 14px; }
.subtabs .tab { border-radius: 10px 10px 0 0; box-shadow: none; text-decoration: none; padding-bottom: 11px; }
.subtabs .tab[aria-current="page"] { background: var(--parch); color: var(--text); box-shadow: none; border-bottom-color: var(--parch); transform: none; }
.subtabs .tab[aria-current="page"] .n { background: var(--ink); color: var(--gold); }
.sheet { padding: 22px 20px 20px; margin-bottom: 30px; min-height: 220px; }
.sheet-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 18px; margin-bottom: 14px; }
.sheet-head h2 { margin: 0; font: 400 clamp(22px, 2.6vw, 30px)/1.1 var(--display); color: var(--text); }
.sheet-head p { margin: 2px 0 0; color: var(--text-2); font-weight: 700; font-size: 13px; }
.note { padding: 26px 18px; text-align: center; color: var(--text-2); font-weight: 700; background: var(--parch-2); border-radius: 10px; border: 2px dashed var(--parch-3); }
.note b { display: block; font: 400 22px/1.2 var(--display); color: var(--text); margin-bottom: 4px; }
.note .btn-s { margin-top: 12px; }
.loading-inline { display: grid; place-items: center; padding: 40px 0; }
.loading-inline .spin { margin: 0; }
th button.sort { all: unset; cursor: pointer; }
th button.sort:hover, th button.sort[aria-pressed="true"] { color: var(--text); }
th button.sort[aria-pressed="true"]::after { content: ""; display: inline-block; margin-left: 5px; vertical-align: 2px; border-inline: 4px solid transparent; border-top: 5px solid currentColor; }
th button.sort:focus-visible { outline: 3px solid var(--gold); }
.tbl-wrap { overflow-x: auto; margin: 0 -6px; padding: 0 6px; }
.tbl-wrap table { min-width: 560px; }

/* placar de guerra */
.score { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; margin-bottom: 18px; }
.side { display: flex; align-items: center; gap: 12px; min-width: 0; }
.side.op { flex-direction: row-reverse; text-align: right; }
.side img { width: 72px; height: 72px; flex: none; }
.side h3 { margin: 0; font: 400 clamp(17px, 2vw, 22px)/1.1 var(--display); color: var(--text); overflow-wrap: anywhere; }
.side p { margin: 2px 0 0; font-size: 12px; font-weight: 800; color: var(--text-2); }
.vs { text-align: center; }
.vs .stars-big { display: flex; align-items: center; gap: 10px; font: 400 clamp(34px, 5vw, 52px)/1 var(--display); }
.vs .stars-big svg { width: .8em; height: .8em; }
.vs .dash { color: var(--text-2); font-size: .6em; }
.vs small { display: block; margin-top: 6px; font: 800 12px/1.3 "Nunito", sans-serif; color: var(--text-2); }
.state {
  display: inline-block; font: 400 15px/1 var(--display); color: #fff; padding: 6px 12px 7px; margin-bottom: 8px;
  border: 3px solid var(--ink); border-radius: 9px; -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill;
  background: linear-gradient(#ff8a6b, #c8412a);
}
.state.prep { background: linear-gradient(#8fd3ff, #2f7fd0); }
.state.won { background: linear-gradient(#ffe68a, var(--gold-dk)); }
.state.lost { background: linear-gradient(#b9b3a8, #6a6358); }
.state.tie { background: linear-gradient(#d8c8ff, #6d58b0); }
.dbar { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 8px; }
.dbar .bar { margin: 0; height: 12px; }
.dbar .bar.op { transform: scaleX(-1); }
.dbar .bar i { background: linear-gradient(#ffe68a, var(--gold-dk)); }
.dbar .bar.op i { background: linear-gradient(#ff9d8a, #b2341f); }

.map { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.map h3 { margin: 0 0 8px; font: 400 18px/1 var(--display); color: var(--text); display: flex; align-items: center; gap: 8px; }
.base {
  display: grid; grid-template-columns: 30px 30px minmax(0, 1fr) auto; gap: 8px; align-items: center;
  padding: 7px 8px; border-radius: 9px; background: var(--parch-2); margin-bottom: 6px;
}
.base .pos { font: 400 15px/1 var(--display); color: var(--text-2); text-align: center; }
.base .nm { font-weight: 800; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.base .nm a { color: var(--text); text-decoration: none; }
.base .nm a:hover { color: #9a2fa8; }
.base .nm small { display: block; font-size: 11px; color: var(--text-2); font-weight: 700; }
.base.pending { background: #fff3c4; box-shadow: inset 0 0 0 2px var(--gold); }
.atks { display: flex; gap: 6px; }
.atk { display: grid; justify-items: center; gap: 1px; min-width: 46px; padding: 3px 4px; background: var(--parch); border: 2px solid var(--parch-3); border-radius: 7px; }
.atk .stars svg { width: 12px; height: 12px; }
.atk small { font: 800 10px/1 "Nunito", sans-serif; color: var(--text-2); font-variant-numeric: tabular-nums; }
.atk.none { border-style: dashed; color: var(--text-2); font: 800 10px/1 "Nunito", sans-serif; place-content: center; min-height: 34px; }
.defended { display: grid; justify-items: center; gap: 1px; font: 800 10px/1 "Nunito", sans-serif; color: var(--text-2); }
.defended .stars svg { width: 12px; height: 12px; }

/* rodadas da liga */
.rounds { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.round {
  display: grid; justify-items: center; gap: 3px; min-width: 76px; padding: 7px 8px 8px; cursor: pointer;
  font: 800 11px/1 "Nunito", sans-serif; color: var(--text-2); background: var(--parch-2);
  border: 3px solid var(--ink); border-radius: 10px; box-shadow: 0 3px 0 var(--ink);
}
.round b { font: 400 16px/1 var(--display); color: var(--text); }
.round[disabled] { opacity: .45; cursor: default; box-shadow: none; border-style: dashed; }
.round[aria-pressed="true"] { background: linear-gradient(var(--wood-hi), var(--wood) 60%, var(--wood-dk)); color: var(--parch); }
.round[aria-pressed="true"] b { color: #fff; }
.round .w { color: #3f7d1c; } .round .l { color: #a3261b; } .round .t { color: #6d58b0; } .round .on { color: #c8412a; }
.round[aria-pressed="true"] .w, .round[aria-pressed="true"] .l, .round[aria-pressed="true"] .t, .round[aria-pressed="true"] .on { color: var(--gold); }

/* resultados de guerra (histórico) */
.res { display: inline-block; font: 800 11px/1 "Nunito", sans-serif; text-transform: uppercase; letter-spacing: .05em; padding: 4px 8px; border-radius: 6px; border: 2px solid var(--ink); }
.res.win { background: var(--gold); color: var(--ink); }
.res.lose { background: #c9bfae; color: var(--ink); }
.res.tie { background: #cdbff5; color: var(--ink); }
.res.cwl { background: var(--parch-2); color: var(--text-2); border-color: var(--parch-3); }

.tally { display: flex; gap: 8px; flex-wrap: wrap; }

/* capital */
.seasons { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; margin-bottom: 18px; }
.fact { background: var(--parch-2); border-radius: 10px; padding: 10px 12px; }
.fact b { display: block; font: 400 22px/1.1 var(--display); color: var(--text); font-variant-numeric: tabular-nums; }
.fact small { font-size: 12px; font-weight: 800; color: var(--text-2); }
.districts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.district { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 10px; background: var(--parch-2); border-radius: 8px; font-weight: 800; font-size: 13px; }
.district .thc { width: 26px; height: 26px; font-size: 13px; }

/* mais números do jogador */
.kv { display: grid; grid-template-columns: 1fr auto; gap: 0; margin: 0; }
.kv dt, .kv dd { padding: 7px 0; border-top: 2px solid var(--parch-2); font-size: 13px; }
.kv dt { color: var(--text-2); font-weight: 700; }
.kv dd { margin: 0; text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.kv dt:first-of-type, .kv dd:first-of-type { border-top: 0; }
.clan-card { display: flex; align-items: center; gap: 12px; padding: 10px; margin-bottom: 14px; background: var(--parch-2); border-radius: 12px; text-decoration: none; }
.clan-card img { width: 64px; height: 64px; flex: none; }
.clan-card b { display: block; font: 400 20px/1.1 var(--display); color: var(--text); }
.clan-card small { color: var(--text-2); font-weight: 700; font-size: 12px; }
.clan-card:hover b { color: #9a2fa8; }
.stack { display: grid; gap: 26px; align-content: start; }

/* filtros de formulário (busca de clãs, rankings) */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin-bottom: 16px; }
.field { display: grid; gap: 4px; }
.field > span { font: 800 11px/1 "Nunito", sans-serif; text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); }
.field input, .field select {
  font: 700 14px/1 "Nunito", sans-serif; color: var(--text); padding: 9px 10px; min-width: 0;
  background: #fffaf0; border: 3px solid var(--ink); border-radius: 9px;
}
.field select { padding-right: 28px; appearance: none; background: #fffaf0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232a1a0d' stroke-width='2.4' fill='none'/%3E%3C/svg%3E") right 9px center no-repeat; }
.field.grow { flex: 1; min-width: 200px; }
.field.grow input { width: 100%; }

/* comparar */
.versus { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; margin-bottom: 18px; }
.versus .pl { display: flex; gap: 12px; align-items: center; min-width: 0; }
.versus .pl.sb { flex-direction: row-reverse; text-align: right; }
.versus .pl img { width: 76px; height: 76px; object-fit: contain; flex: none; }
.versus h3 { margin: 0; font: 400 clamp(18px, 2.2vw, 26px)/1.1 var(--display); color: var(--text); overflow-wrap: anywhere; }
.versus h3 a { color: inherit; text-decoration: none; }
.versus p { margin: 2px 0 0; font-size: 12px; font-weight: 800; color: var(--text-2); }
.versus .mid { font: 400 28px/1 var(--display); color: var(--text-2); }
.cmp { width: 100%; }
.cmp td { padding: 5px 6px; }
.cmp td.ca, .cmp td.cb { width: 34%; }
.cmp .lv { display: flex; align-items: center; gap: 8px; }
.cmp td.ca .lv { flex-direction: row-reverse; }
.cmp .lv .bar { flex: 1; margin: 0; height: 10px; }
.cmp td.ca .bar { transform: scaleX(-1); }
.cmp .lv b { font: 400 16px/1 var(--display); min-width: 26px; text-align: center; color: var(--text-2); }
.cmp .lv.win b { color: #3f7d1c; }
.cmp .lv.win .bar i { background: linear-gradient(#b5ee8a, #4c9b2b); }
.cmp .lv:not(.win) .bar i { background: linear-gradient(#e6d6ae, #b69c66); }
.cmp td.u-name { text-align: center; font-weight: 800; font-size: 13px; white-space: nowrap; }
.cmp td.u-name .mini { display: inline-grid; place-items: center; width: 34px; height: 34px; vertical-align: middle; margin-right: 6px; border: 2px solid var(--ink); border-radius: 7px; background: linear-gradient(165deg, var(--a), var(--b)); overflow: hidden; }
.cmp td.u-name .mini img { max-width: 30px; max-height: 30px; }
.cmp td.u-name .mini .fallback { font-size: 13px; }
.cmp tr.cat-row td { padding-top: 16px; border-top: 0; }
.cmp tr.cat-row td span { font: 400 17px/1 var(--display); color: var(--text); }
.cmp-sum { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }

/* ---------- espaços de anúncio ----------
   Ficam escondidos até ligar ADS em js/app.js (ou abrir com ?ads=1 para ver os espaços). */
.ad { display: none; }
body.ads .ad {
  display: grid; place-items: center; position: relative; margin: 0 auto 26px; width: 100%;
  border: 2px dashed var(--stone-3); border-radius: 12px; background: rgba(0,0,0,.14); color: #8d97a8;
  font: 800 11px/1 "Nunito", sans-serif; text-transform: uppercase; letter-spacing: .08em;
}
body.ads .ad::before { content: "Publicidade"; position: absolute; top: -9px; left: 12px; padding: 0 6px; background: var(--stone); color: #8d97a8; font-size: 10px; }
body.ads .ad.live { border-style: solid; border-color: transparent; background: none; }
body.ads .ad-top, body.ads .ad-mid, body.ads .ad-foot { max-width: 728px; min-height: 90px; }
body.ads .ad-side { display: none; }
@media (min-width: 1340px) {
  body.ads .wrap { max-width: 1580px; }
  body.ads .shell { grid-template-columns: minmax(0, 1fr) 300px; }
  body.ads .ad-side { display: grid; width: 300px; min-height: 600px; position: sticky; top: 16px; margin: 0; }
}

@media (max-width: 900px) {
  .cols { grid-template-columns: 1fr; }
  .clanplate { grid-template-columns: auto 1fr; }
  .find { grid-template-columns: 1fr; }
  .find .season { text-align: left; }
  .map { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .topbar { flex-direction: column; align-items: stretch; }
  .nav { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .nav .tab { flex: none; }
  form.tag input { flex: 1; width: auto; }
  body.at-home form.tag { display: none; }
  .subtabs { display: flex; flex-wrap: nowrap; overflow-x: auto; padding-left: 8px; }
  .subtabs .tab { flex: none; }
  .score { grid-template-columns: 1fr 1fr; }
  .score .vs { grid-column: 1 / -1; grid-row: 1; }
  .side img { width: 52px; height: 52px; }
  .versus { grid-template-columns: 1fr 1fr; }
  .versus .mid { display: none; }
}
@media (max-width: 560px) {
  .find { padding: 20px 14px 18px; }
  .find form { flex-direction: column; }
  .clanplate .badge { width: 76px; height: 76px; }
  .sheet { padding: 18px 12px 14px; }
  .base { grid-template-columns: 24px 28px minmax(0, 1fr); }
  .base .atks, .base .defended { grid-column: 2 / -1; }
  .rows .who b { max-width: 16ch; }
  .hide-s { display: none; }
  .cmp td.u-name { white-space: normal; }
  .cmp td.u-name .mini { display: none; }
}
.map.only-pending .ours .base:not(.pending) { display: none; }

/* correções da 1ª revisão */
.cols > *, .lower > *, .stack > *, .shell > *, .map > * { min-width: 0; }
.xp.th { width: 112px; height: 112px; font-size: 44px; border-width: 4px; }
.dbar .bar.us { transform: scaleX(-1); }
.dbar .bar.us i { background: linear-gradient(#ffe68a, var(--gold-dk)); }
.dbar .bar.them i { background: linear-gradient(#ff9d8a, #b2341f); }
.cmp { table-layout: fixed; min-width: 0 !important; }
.cmp td.ca, .cmp td.cb { width: 37%; }
.cmp td.u-name { width: 26%; overflow: hidden; text-overflow: ellipsis; }
.versus .pl .xp { width: 76px; height: 76px; font-size: 30px; flex: none; }
@media (max-width: 560px) {
  .xp.th { width: 76px; height: 76px; font-size: 30px; }
  .cmp td.ca, .cmp td.cb { width: 34%; }
  .cmp td.u-name { width: 32%; font-size: 11px; }
  .versus .pl img, .versus .pl .xp { width: 48px; height: 48px; font-size: 20px; }
}
.cmp.only-diff tr.same { display: none; }
@media (max-width: 720px) { .topbar { flex-wrap: nowrap; } .topbar > * { min-width: 0; } }
.tbl-wrap table.rk { min-width: 0; }
body.ads .ad-foot { margin-top: 30px; }
.tab:not([aria-pressed="true"]):not([aria-current]) { text-shadow: 0 1px 0 rgba(42,26,13,.7); }
/* 2ª revisão: setas de ranking, dica de rolagem nas tabelas, navegação compacta no celular */
.mv { display: inline-flex; align-items: center; gap: 2px; }
.mv i { width: 0; height: 0; border-inline: 4px solid transparent; }
.mv.up i { border-bottom: 6px solid currentColor; }
.mv.down i { border-top: 6px solid currentColor; }
.tbl-wrap {
  background:
    linear-gradient(to right, var(--parch) 40%, rgba(245,233,201,0)) left / 36px 100% no-repeat local,
    linear-gradient(to left, var(--parch) 40%, rgba(245,233,201,0)) right / 36px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(42,26,13,.3), transparent) left / 12px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(42,26,13,.3), transparent) right / 12px 100% no-repeat scroll;
}
@media (max-width: 560px) {
  .tbl-wrap table { min-width: 0; }
  .rows td, .rows th { padding-inline: 4px; }
  .nav { gap: 6px; }
  .nav .tab { padding: 7px 9px 8px; font-size: 13px; gap: 5px; }
  .nav .tab svg { width: 15px; height: 15px; }
}

/* 3ª revisão (revisor de acabamento) */
/* herói no máximo: moldura dourada + faixa MAX, como nas cartas */
.hero.max { border-color: var(--gold-dk); box-shadow: 0 4px 0 var(--ink), inset 0 0 0 2px var(--gold); }
.hero.max::after {
  content: "MAX"; position: absolute; right: -26px; top: 14px; transform: rotate(38deg); width: 100px; text-align: center; z-index: 3;
  font: 400 13px/1.5 var(--display); color: var(--ink); background: var(--gold); border-block: 2px solid var(--ink);
}
/* linha do próprio jogador/clã: contorno dourado na linha toda, sem faixa lateral */
tr.me td:first-child { box-shadow: none; }
tr.me { outline: 2px solid var(--gold-dk); outline-offset: -2px; }
/* estrelas desenhadas dentro do texto "sofreu" */
.base .nm small .stars svg { width: 11px; height: 11px; vertical-align: -1px; }
/* CV sem arte (ex.: CV 19): selo de pedra dourado com numeral contornado, como o selo de nível */
.xp.th, .versus .pl .xp {
  border-radius: 18px; border: 3px solid var(--ink); color: #fff;
  background: radial-gradient(circle at 40% 30%, #fff3b0, var(--gold) 55%, var(--gold-dk));
  box-shadow: inset 0 -5px 0 rgba(42,26,13,.25), 0 4px 0 var(--ink);
  -webkit-text-stroke: 5px var(--ink); paint-order: stroke fill;
}
.kv .s-only { display: none; }
@media (max-width: 560px) {
  /* primeira tela do jogador: placa compacta, o quadro "Falta upar" sobe */
  .player:not(.clanplate) .pstats { grid-template-columns: repeat(3, 1fr); gap: 4px 10px; }
  .player:not(.clanplate) .pstats div:nth-child(n+4) { display: none; }
  .player:not(.clanplate) .pstats b { font-size: 19px; }
  .player:not(.clanplate) .labels { display: none; }
  .player:not(.clanplate) .plate-actions { margin-top: 8px; }
  .player:not(.clanplate) .xp.th { border-radius: 14px; }
  .kv .s-only { display: block; }
  .hero.max::after { right: -30px; top: 10px; }
}

/* páginas de texto: sobre, ajuda, privacidade */
.doc { max-width: 820px; margin: 0 auto 26px; padding: 30px clamp(18px, 4vw, 44px) 34px; }
.doc h1 { margin: 0 0 10px; font: 400 clamp(30px, 4vw, 44px)/1.05 var(--display); color: var(--text); }
.doc h2 { margin: 30px 0 8px; font: 400 clamp(20px, 2.3vw, 24px)/1.15 var(--display); color: var(--text); }
.doc p, .doc li { max-width: 68ch; font-size: 16px; line-height: 1.6; color: var(--text); }
.doc p { margin: 0 0 12px; }
.doc .lede { font-size: 18px; color: var(--text-2); font-weight: 700; }
.doc ul { margin: 0 0 12px; padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc li::marker { color: var(--wood); }
.doc code { background: var(--parch-2); border-radius: 5px; padding: 1px 6px; font-size: .92em; }
.foot-links { display: flex; justify-content: center; gap: 6px 22px; flex-wrap: wrap; margin-top: 30px; font-weight: 800; font-size: 14px; }
.foot-links a { color: var(--parch); text-underline-offset: 3px; }
.foot-links a:hover, .foot-links a[aria-current="page"] { color: var(--gold); }
.foot-links + .foot-note { margin-top: 10px; }

/* logo no topo */
.brand { line-height: 0; }
.brand img { display: block; height: 68px; width: auto; filter: drop-shadow(0 3px 0 rgba(0,0,0,.35)); transition: transform .15s; }
.brand a:hover img { transform: translateY(-1px) rotate(-1deg); }
@media (max-width: 720px) { .brand img { height: 52px; } }
@media (prefers-reduced-motion: reduce) { .brand img { transition: none; } }
