@font-face { font-family: "Big Shoulders Display"; font-weight: 600; font-display: swap; src: url(../fonts/big-shoulders-display-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-weight: 700; font-display: swap; src: url(../fonts/big-shoulders-display-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-weight: 800; font-display: swap; src: url(../fonts/big-shoulders-display-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Pixelify Sans"; font-weight: 400; font-display: swap; src: url(../fonts/pixelify-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Pixelify Sans"; font-weight: 600; font-display: swap; src: url(../fonts/pixelify-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Pixelify Sans"; font-weight: 700 900; font-display: swap; src: url(../fonts/pixelify-sans-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 400; font-display: swap; src: url(../fonts/instrument-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 500; font-display: swap; src: url(../fonts/instrument-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 600; font-display: swap; src: url(../fonts/instrument-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 700 900; font-display: swap; src: url(../fonts/instrument-sans-latin-700-normal.woff2) format("woff2"); }

:root {
  --bg: #02101a;
  --bg-2: #041a28;
  --panel: #072232;
  --panel-2: #0b2e42;
  --line: #12405a;
  --text: #e6f6ff;
  --dim: #8fb3c6;
  --faint: #5a7c8e;
  --ember: #f4b54a;   /* latão do submarino: ação principal */
  --gold: #f2e6c9;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --sans: "Instrument Sans", system-ui, sans-serif;
  --purple: #3ee6d6;
  --green: #5cf2a0;
  --red: #ff4d5e;
  --r-comum: #a9c4d4;
  --r-raro: #3ee6d6;
  --r-epico: #ff7ad9;
  --r-lendario: #ffc857;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { color-scheme: dark; background: var(--bg); }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background:
    radial-gradient(1100px 520px at 70% -12%, #0f5b7c 0%, transparent 60%),
    radial-gradient(600px 400px at -10% 30%, #062d40 0%, transparent 60%),
    linear-gradient(180deg, #03182a 0, var(--bg) 900px);
  background-color: var(--bg);
  color: var(--text); font: 16px/1.55 var(--sans);
}
a { color: inherit; }
button { font: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: .01em; margin: 0; line-height: 1.05; }
h3 { font-size: 21px; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }

/* ---------- topo ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 24px; padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(2,16,26,.8); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 25px var(--display); color: var(--text); white-space: nowrap; letter-spacing: .02em; }
.brand-icon { display: grid; place-items: center; }
.brand-icon svg { width: 30px; height: 30px; display: block; }
nav { display: flex; gap: 4px; }
nav a { text-decoration: none; color: var(--dim); padding: 8px 12px; border-radius: 10px; font-weight: 500; }
nav a:hover { color: var(--text); background: var(--panel); }
nav a.active { color: var(--text); background: var(--panel-2); box-shadow: inset 0 -2px 0 var(--ember); }
.account { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.account img { width: 30px; height: 30px; border-radius: 50%; }
@media (max-width: 760px) {
  .top { flex-wrap: wrap; gap: 10px; }
  nav { order: 3; width: 100%; overflow-x: auto; }
  .brand { font-size: 18px; }
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; text-decoration: none;
  padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--panel-2); color: var(--text); font-weight: 600; transition: .15s;
}
.btn:hover { border-color: var(--purple); transform: translateY(-1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn.primary { background: var(--ember); border-color: transparent; color: #1c1203; }
.btn.primary:hover { background: #ffc867; }
.btn.twitch { background: #9146ff; border-color: transparent; color: #fff; }
.btn.twitch:hover { background: #a970ff; }
.btn.small { padding: 6px 11px; font-size: 14px; border-radius: 10px; }
.btn.ghost { background: transparent; }

/* ---------- layout ---------- */
main { flex: 1; width: 100%; max-width: 1120px; margin: 0 auto; padding: 32px clamp(16px, 4vw, 40px) 60px; outline: none; }
.card { background: color-mix(in srgb, var(--panel) 82%, transparent); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: inset 0 1px 0 #ffffff0a; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 40px 0 16px; }
.section-title h2 { font-size: 34px; }
.section-title p { margin: 0; color: var(--dim); font-size: 14px; }
.muted { color: var(--dim); }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: 8px 0 24px; }
.descend { font-size: clamp(44px, 5.7vw, 82px); font-weight: 800; line-height: .9; letter-spacing: 0; text-transform: none; }
.descend span { display: block; white-space: nowrap; }
main:focus, main:focus-visible { outline: none; }
/* cada linha mais funda que a anterior: a manchete afunda junto com a expedição */
.descend span:nth-child(1) { color: #eafcff; }
.descend span:nth-child(2) { color: #7fd8e6; }
.descend span:nth-child(3) { color: #3a8fae; }
.hero-copy > p { color: var(--dim); font-size: 18px; max-width: 46ch; margin: 22px 0 0; }
.hero .actions, .dz .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.hero-note { margin-top: 18px !important; font-size: 15px !important; }
.hero-note a { color: var(--text); font-weight: 600; text-underline-offset: 3px; }
.hero-stage { position: relative; aspect-ratio: 4/3; border-radius: 18px; border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(180deg, #11789b 0%, #0a4766 38%, #052338 72%, #020c14 100%); box-shadow: 0 30px 60px -30px #000; }
.hero-stage canvas { width: 100%; height: 100%; display: block; }
.stage-depth { position: absolute; left: 14px; top: 12px; font: 700 15px var(--display); letter-spacing: .04em; color: #d8f6ff; background: #021019aa; border: 1px solid #ffffff1f; padding: 2px 10px; border-radius: 99px; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } .hero-stage { order: -1; aspect-ratio: 16/10; } }

/* ---------- mergulho pelas zonas (página inicial) ---------- */
.dive { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 40px; margin-top: 56px; }
.gauge { position: sticky; top: 96px; align-self: start; height: calc(100vh - 140px); max-height: 640px; display: grid; grid-template-rows: auto 1fr; gap: 16px; }
.gauge-read b { display: block; font: 800 34px/1 var(--display); color: var(--text); font-variant-numeric: tabular-nums; }
.gauge-read span { display: block; margin-top: 4px; font-size: 13px; color: var(--dim); }
.gauge-track { position: relative; width: 6px; margin-left: 4px; border-radius: 6px; background: linear-gradient(180deg, #2a8fb0, #0a2c40 60%, #01070c); }
.gauge-track i { position: absolute; left: 0; right: 0; top: 0; height: 0; border-radius: 6px; background: var(--ember); box-shadow: 0 0 12px #f4b54a88; transition: height .12s linear; }
.gauge-track span { position: absolute; left: -5px; width: 16px; height: 1px; background: #8fb3c666; }
.dz { position: relative; padding: 8px 0 72px; border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.dz-mark { margin: 0 0 18px; padding-top: 14px; color: var(--dim); font-size: 14px; display: flex; gap: 10px; align-items: baseline; }
.dz-mark b { font: 700 18px var(--display); color: var(--ember); letter-spacing: .03em; }
.dz h2 { font-size: clamp(34px, 4.4vw, 48px); font-weight: 800; }
.dz .lead { color: var(--dim); font-size: 17px; max-width: 60ch; margin: 10px 0 28px; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: f; border-top: 1px solid var(--line); }
.flow li { counter-increment: f; padding: 18px 20px 4px 0; position: relative; }
.flow li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.flow li::before { content: counter(f); display: block; font: 800 44px/1 var(--display); color: #3a8fae; margin-bottom: 10px; }
.flow h3 { margin-bottom: 6px; }
.flow p, .crew p, .facts p { margin: 0; color: var(--dim); font-size: 15px; }
.crew { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.crew-row { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; align-items: center; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); }
.crew-row:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
.crew-row canvas { background: radial-gradient(circle at 50% 60%, #0e4a6688, transparent 70%); border-radius: 50%; }
.crew-row kbd { display: inline-block; margin-top: 8px; }
.rarity { display: flex; gap: 3px; height: 64px; border-radius: 10px; overflow: hidden; }
.rarity div { flex-basis: 0; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 8px 10px; background: color-mix(in srgb, var(--rc) 22%, #021019); border-top: 3px solid var(--rc); }
.rarity b { font: 700 16px var(--display); color: var(--rc); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .02em; }
.rarity span { font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; }
.rarity-cap { margin: 8px 0 28px; font-size: 13px; color: var(--faint); }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.facts li { padding: 18px 20px 4px 0; }
.facts li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.facts h3 { margin-bottom: 6px; }
.dz .cmds { max-width: 760px; }
.dz:last-child { border-bottom: 0; padding-bottom: 24px; }
@media (max-width: 900px) {
  .dive { grid-template-columns: 1fr; gap: 0; margin-top: 36px; }
  .gauge { display: none; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow li:nth-child(3) { padding-left: 0; border-left: 0; }
  .flow li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .facts { grid-template-columns: 1fr; }
  .facts li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .flow, .crew { grid-template-columns: 1fr; }
  .flow li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .crew-row:nth-child(even) { padding-left: 0; border-left: 0; }
  .rarity { height: auto; flex-wrap: wrap; }
  .rarity div { flex: 1 1 30% !important; }
}

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.step { position: relative; }
.step .num { font: 700 30px var(--display); color: var(--ember); }
.step h3 { font-size: 19px; margin: 4px 0 6px; }
.step p { margin: 0; color: var(--dim); font-size: 15px; }

.classes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.class-card { display: flex; gap: 14px; align-items: center; }
.class-card canvas { width: 76px; height: 76px; flex: none; }
.class-card h3 { font-size: 19px; }
.class-card p { margin: 2px 0 0; color: var(--dim); font-size: 14px; }
.class-card .special { color: var(--gold); font-size: 13px; font-weight: 600; }

.cmds { width: 100%; border-collapse: collapse; }
.cmds td { padding: 10px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmds td:first-child { white-space: nowrap; width: 1%; padding-right: 18px; }
kbd { font: 600 14px ui-monospace, Menlo, monospace; background: #021019; border: 1px solid var(--line); border-bottom-width: 2px; padding: 2px 7px; border-radius: 7px; color: var(--gold); }

/* ---------- inventário ---------- */
.profile { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: center; }
.profile canvas.big { width: 180px; height: 180px; background: radial-gradient(circle at 50% 60%, #0e4a66, transparent 70%); border-radius: 50%; }
.profile h1 { font-size: 34px; }
.profile .lvl { display: inline-block; font: 700 14px var(--display); color: #04121b; background: var(--purple); padding: 2px 10px; border-radius: 99px; margin-left: 8px; vertical-align: middle; }
.xpbar { height: 10px; background: #021019; border-radius: 99px; overflow: hidden; margin: 12px 0 6px; border: 1px solid var(--line); }
.xpbar span { display: block; height: 100%; background: linear-gradient(90deg, var(--purple), var(--ember)); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin-top: 16px; }
.stat { background: #021019; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.stat b { display: block; font: 700 22px var(--display); }
.stat small { color: var(--dim); }
@media (max-width: 620px) { .profile { grid-template-columns: 1fr; justify-items: center; text-align: center; } }

.item {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  padding: 16px 12px 14px; border-radius: 14px; border: 1px solid var(--line);
  background: linear-gradient(180deg, color-mix(in srgb, var(--rc) 10%, var(--panel)), var(--bg-2));
  --rc: var(--r-comum);
}
.item::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; border-radius: 14px 14px 0 0; background: var(--rc); }
.item.r-raro { --rc: var(--r-raro); }
.item.r-epico { --rc: var(--r-epico); }
.item.r-lendario { --rc: var(--r-lendario); box-shadow: 0 0 24px -8px var(--r-lendario); }
.item canvas { width: 110px; height: 110px; }
.item .icon { font-size: 64px; line-height: 110px; height: 110px; }
.item h3 { font-size: 17px; }
.item .rar { font-size: 12px; font-weight: 600; color: var(--rc); text-transform: uppercase; letter-spacing: .6px; }
.item .count { position: absolute; top: 10px; right: 10px; font-size: 12px; font-weight: 800; background: #021019; border: 1px solid var(--line); padding: 1px 7px; border-radius: 99px; }
.item.locked canvas, .item.locked .icon { filter: grayscale(1) brightness(.35); }
.item.locked h3 { color: var(--faint); }
.item .src { font-size: 12px; color: var(--faint); }
.item.equipped { outline: 2px solid var(--gold); outline-offset: -2px; }
.item .tag-eq { font-size: 12px; font-weight: 800; color: var(--gold); }
.price { font: 700 18px var(--display); color: var(--gold); }

/* ---------- ranking ---------- */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs button { cursor: pointer; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--dim); font-weight: 600; }
.tabs button.active { background: var(--panel-2); color: var(--text); border-color: var(--ember); }
.rank { width: 100%; border-collapse: collapse; }
.rank th { text-align: left; font-weight: 600; color: var(--dim); font-size: 13px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.rank td { padding: 8px 10px; border-bottom: 1px solid #ffffff0a; }
.rank tr:hover td { background: #ffffff05; }
.rank .pos { font: 700 18px var(--display); width: 44px; color: var(--faint); }
.rank tr:nth-child(1) .pos { color: var(--gold); }
.rank tr:nth-child(2) .pos { color: #d7dde5; }
.rank tr:nth-child(3) .pos { color: #e09a62; }
.rank .who { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.rank canvas { width: 40px; height: 40px; flex: none; }
.rank .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rank th.num { text-align: right; }
@media (max-width: 620px) { .rank .hide-sm { display: none; } }

/* ---------- estados ---------- */
.empty { text-align: center; padding: 50px 20px; }
.empty .big-emoji { font-size: 64px; }
.empty h2 { font-size: 28px; margin: 10px 0 6px; }
.empty p { color: var(--dim); max-width: 48ch; margin: 0 auto 18px; }
.skeleton { height: 220px; border-radius: var(--radius); background: linear-gradient(90deg, var(--panel) 0%, var(--panel-2) 50%, var(--panel) 100%); background-size: 200% 100%; animation: sk 1.2s infinite linear; }
@keyframes sk { to { background-position: -200% 0; } }

.foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px clamp(16px, 4vw, 40px); color: var(--faint); font-size: 13px; border-top: 1px solid var(--line); }
#toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; transition: .25s; background: var(--panel-2); border: 1px solid var(--line); padding: 12px 18px; border-radius: 12px; font-weight: 600; z-index: 50; max-width: calc(100% - 32px); }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast.err { border-color: var(--red); }
#toast.ok { border-color: var(--green); }
.local-login { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.local-login input { font: inherit; color: var(--text); background: #021019; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }

.loop { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; counter-reset: s; }
.loop .card { position: relative; }
.loop .ico { font-size: 30px; }
.zones { display: flex; flex-direction: column; gap: 6px; }
.zone { display: flex; justify-content: space-between; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); }
.zone b { font-family: var(--display); }
.zone span { color: var(--dim); font-variant-numeric: tabular-nums; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }

.brand-text { display:flex; flex-direction:column; line-height:1.1; }
.brand-text small { font:700 11px var(--sans); color:var(--dim); letter-spacing:.02em; }
.brand-text small:empty { display:none; }

/* ---------- canal + pesquisa ---------- */
.chanbar { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin:0 0 18px; }
.chanbar .chan { display:flex; align-items:center; gap:8px; font-weight:800; color:var(--dim); font-size:14px; }
.chanbar select, .chanbar input { background:rgba(0,0,0,.25); color:var(--text); border:1px solid var(--line); border-radius:10px; padding:9px 12px; font:700 14px var(--sans); }
.chanbar select { min-width:200px; }
.chanbar select:focus, .chanbar input:focus { outline:2px solid var(--cyan, #3ee6d6); outline-offset:1px; }
.search { position:relative; flex:1 1 260px; max-width:420px; }
.search input { width:100%; }
.search .results { position:absolute; z-index:20; left:0; right:0; top:calc(100% + 6px); background:#06202d; border:1px solid var(--line); border-radius:12px; overflow:hidden; box-shadow:0 12px 30px rgba(0,0,0,.45); }
.search .results a { display:flex; align-items:center; gap:10px; padding:8px 12px; color:var(--text); text-decoration:none; }
.search .results a:hover, .search .results a:focus { background:rgba(62,230,214,.1); }
.search .results small { display:block; color:var(--dim); font-size:12px; }
.search .results .none { padding:12px; color:var(--dim); font-size:14px; }
.viewing { margin:-6px 0 16px; padding:10px 14px; border-radius:12px; background:rgba(62,230,214,.08); border:1px solid var(--line); color:var(--dim); font-size:14px; }
.viewing a { color:var(--text); font-weight:800; }
.rank a.who { color:inherit; text-decoration:none; }
.rank a.who:hover { text-decoration:underline; }

/* ---------- convite beta ---------- */
.beta-cta { max-width:1100px; margin:48px auto 0; padding:22px 24px; display:flex; gap:18px; align-items:center; flex-wrap:wrap;
  background:linear-gradient(135deg, rgba(62,230,214,.12), rgba(255,122,89,.10)); border:1px solid var(--line); border-radius:18px; }
.beta-cta .beta-ico { font-size:40px; line-height:1; }
.beta-cta > div:nth-child(2) { flex:1 1 320px; }
.beta-cta h2 { margin:0 0 4px; font:700 22px var(--display); }
.beta-cta p { margin:0; color:var(--dim); }
.beta-cta p a { color:var(--text); font-weight:800; }
@media (max-width:640px) { .beta-cta { margin:32px 16px 0; } .chanbar select { min-width:0; width:100%; } .chanbar .chan { width:100%; } }
/* evita que a tabela de comandos empurre a página pro lado no celular */
.two > * { min-width: 0; }
.cmds td:first-child { white-space: normal; }
.cmds kbd { display: inline-block; margin: 1px 0; }

/* ---------- painel do streamer ---------- */
.pill { display:inline-block; padding:3px 10px; border-radius:999px; font-weight:800; font-size:13px; }
.pill.on { background:rgba(92,242,160,.15); color:#5cf2a0; }
.pill.off { background:rgba(255,255,255,.08); color:var(--dim); }
.panel-status { display:flex; flex-direction:column; gap:12px; }
.panel-actions { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.panel-actions select { background:rgba(0,0,0,.25); color:var(--text); border:1px solid var(--line); border-radius:10px; padding:9px 12px; font:700 14px var(--sans); }
.panel-actions.sticky { position:sticky; bottom:12px; z-index:5; background:rgba(2,16,26,.92); backdrop-filter:blur(8px); padding:12px; border:1px solid var(--line); border-radius:14px; margin-top:6px; }
.btn.danger { color:#ff8a95; }
.small { font-size:13px; }
.obs-list { display:flex; flex-direction:column; gap:10px; }
.obs-row { display:grid; grid-template-columns:minmax(150px, 220px) 1fr auto; gap:10px; align-items:center; }
.obs-row small { display:block; color:var(--dim); font-size:12px; }
.obs-row code { overflow-wrap:anywhere; font-size:12px; background:rgba(0,0,0,.3); padding:6px 8px; border-radius:8px; }
.panel-form fieldset { margin:0 0 14px; }
.panel-form legend { font:700 17px var(--display); padding:0 6px; }
.pf-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(230px, 1fr)); gap:12px 16px; }
.pf { display:flex; flex-direction:column; gap:4px; font-size:14px; color:var(--dim); font-weight:700; }
.pf.wide { grid-column:1 / -1; }
.pf input, .pf select, .pf textarea { background:rgba(0,0,0,.25); color:var(--text); border:1px solid var(--line); border-radius:10px; padding:9px 12px; font:700 15px var(--sans); }
.pf textarea { resize:vertical; font-weight:600; }
.pf small { color:var(--dim); font-weight:600; font-size:11px; }
.pf.check { flex-direction:row; align-items:center; gap:10px; color:var(--text); }
.pf.check input { width:20px; height:20px; accent-color:#3ee6d6; }
#fbForm { display:flex; flex-direction:column; gap:12px; }
@media (max-width:640px) { .obs-row { grid-template-columns:1fr; } }

/* ---------- raridades novas ---------- */
:root { --r-incomum: #7ee081; --r-abissal: #b388ff; }
.item.r-incomum { --rc: var(--r-incomum); }
.item.r-abissal { --rc: var(--r-abissal); box-shadow: 0 0 30px -6px var(--r-abissal); background-image: radial-gradient(circle at 50% 30%, #b388ff22, transparent 70%); }

/* ---------- inventário: equipamento e oficina ---------- */
.gear-icon { display: grid; place-items: center; margin: 0 auto; border-radius: 18px; background: radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--gc) 26%, transparent), transparent 68%); }
.item.locked .gear-icon { filter: grayscale(1) brightness(.35); }
.item .actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 4px; }
.item .stat-line { font-size: 12px; color: var(--gold); }
.stars { color: var(--r-lendario); letter-spacing: 1px; font-size: 13px; }
.btn.ghost { background: transparent; }
.btn.danger { border-color: #ff6b81; color: #ff6b81; }
button.link { background: none; border: 0; color: var(--faint); font-size: 12px; cursor: pointer; text-decoration: underline; padding: 0; }
.loadout { padding: 16px; }
.slots { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.slot { position: relative; border: 1px solid var(--line); border-radius: 14px; padding: 10px 8px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; --rc: var(--r-comum); }
.slot::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; border-radius: 14px 14px 0 0; background: var(--rc); }
.slot.empty::before { background: transparent; }
.slot.r-incomum { --rc: var(--r-incomum); } .slot.r-raro { --rc: var(--r-raro); } .slot.r-epico { --rc: var(--r-epico); }
.slot.r-lendario { --rc: var(--r-lendario); } .slot.r-abissal { --rc: var(--r-abissal); }
.slot small { color: var(--faint); font-size: 12px; }
.slot b { font-size: 13px; line-height: 1.2; overflow-wrap: anywhere; }
.slot canvas { width: 54px; height: 54px; }
.slot-empty { height: 54px; display: grid; place-items: center; color: var(--faint); font-size: 12px; }
.bonus-line { margin-top: 12px; text-align: center; color: var(--gold); font-weight: 600; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 22px 0 4px; }
.tabs a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; color: inherit; font-weight: 600; font-size: 14px; }
.tabs a.on { background: var(--gold); color: #021019; border-color: var(--gold); }
.slot-title { margin: 22px 0 10px; font-size: 18px; }
.slot-title small { font-weight: 400; color: var(--faint); font-size: 13px; margin-left: 6px; }
.mat-chip { display: inline-block; padding: 1px 8px; border-radius: 99px; background: #021019; border: 1px solid var(--line); font-size: 13px; white-space: nowrap; }
.mat-chip.miss { border-color: #ff6b81; color: #ff9aa9; }
.workshop { display: grid; gap: 14px; }
.workshop .row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.workshop label { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.workshop select { background: #021019; color: inherit; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: flex; gap: 6px; align-items: center; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line); font-size: 14px; cursor: pointer; border-left: 4px solid var(--r-comum); }
.chip.r-incomum { border-left-color: var(--r-incomum); } .chip.r-raro { border-left-color: var(--r-raro); } .chip.r-epico { border-left-color: var(--r-epico); }
.chip.r-lendario { border-left-color: var(--r-lendario); }
.chip small { color: var(--faint); }
.chip.disabled { opacity: .45; cursor: not-allowed; }
.craft-list { display: grid; gap: 8px; }
.craft { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; border-left: 4px solid var(--r-comum); }
.craft.r-incomum { border-left-color: var(--r-incomum); } .craft.r-raro { border-left-color: var(--r-raro); } .craft.r-epico { border-left-color: var(--r-epico); }
.craft.r-lendario { border-left-color: var(--r-lendario); } .craft.r-abissal { border-left-color: var(--r-abissal); }
.craft small { display: block; color: var(--faint); font-size: 12px; }
.craft .gear-icon { border-radius: 12px; }
.rules p { margin: 6px 0; }
@media (max-width: 720px) {
  .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .craft { grid-template-columns: 44px minmax(0, 1fr); }
  .craft .cost, .craft button { grid-column: 1 / -1; }
}

/* ---------- indicador de status ---------- */
.status-badge { display: inline-flex; align-items: center; gap: 8px; color: var(--faint); text-decoration: none; font-size: 13px; }
.status-badge:hover { color: inherit; }
.status-badge i { width: 9px; height: 9px; border-radius: 50%; background: #5cf2a0; box-shadow: 0 0 0 3px #5cf2a033; }
.status-badge[data-state="minor"] i, .status-badge[data-state="maintenance"] i { background: #ffc857; box-shadow: 0 0 0 3px #ffc85733; }
.status-badge[data-state="major"] i, .status-badge[data-state="critical"] i { background: #ff6b81; box-shadow: 0 0 0 3px #ff6b8133; }

/* ---------- beta fechado: pedidos e admin ---------- */
.req-form { display: grid; gap: 10px; max-width: 560px; margin: 14px auto 0; text-align: left; }
.req-form textarea, .req textarea { width: 100%; background: #021019; color: inherit; border: 1px solid var(--line); border-radius: 10px; padding: 10px; font: inherit; resize: vertical; }
blockquote.reason { margin: 12px auto; max-width: 560px; text-align: left; border-left: 3px solid var(--gold); padding: 8px 12px; background: #021019; border-radius: 0 10px 10px 0; }
.req-list { display: grid; gap: 12px; }
.req { display: grid; gap: 10px; padding: 16px; }
.req-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.req-head h3 { margin: 0 0 2px; }
.req-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.req-meta small { color: var(--faint); }
.req-msg { margin: 0; font-style: italic; }
.req .pf { display: grid; gap: 6px; }
.req .pf span { font-size: 13px; color: var(--faint); }

/* ---------- loja com abas ---------- */
.shop { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 18px; align-items: start; }
.shop-side { padding: 14px; display: grid; gap: 14px; position: sticky; top: 84px; }
.wallet { display: grid; gap: 8px; }
.wallet > div { display: flex; flex-direction: column; background: #021019; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.wallet b { font: 700 18px var(--display); color: var(--gold); }
.wallet small { color: var(--faint); font-size: 12px; }
.shop-tabs { display: grid; gap: 4px; }
.shop-tabs a { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 10px; text-decoration: none; color: var(--dim); font-weight: 600; }
.shop-tabs a span { width: 22px; text-align: center; }
.shop-tabs a:hover { background: var(--panel); color: var(--text); }
.shop-tabs a.on { background: var(--gold); color: #021019; }
.premium-note { display: flex; gap: 10px; align-items: flex-start; background: linear-gradient(90deg, #b388ff22, transparent); border: 1px solid #b388ff55; border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; }
.badge-premium { position: absolute; top: 10px; left: 10px; font-size: 11px; font-weight: 800; background: #b388ff; color: #160b2e; padding: 2px 8px; border-radius: 99px; }
.price.conchas { color: #d6c2ff; }
.item.pack .icon { font-size: 54px; line-height: 90px; height: 90px; }
.pix { margin-top: 16px; text-align: center; display: grid; gap: 10px; justify-items: center; }
.pix .qr { width: 220px; height: 220px; background: #fff; padding: 8px; border-radius: 12px; }
.pix .copy { display: flex; gap: 6px; width: min(520px, 100%); }
.pix .copy input { flex: 1; min-width: 0; background: #021019; color: inherit; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; font: 12px ui-monospace, monospace; }
.small-print { font-size: 12px; margin-top: 14px; }
@media (max-width: 820px) {
  .shop { grid-template-columns: 1fr; }
  .shop-side { position: static; }
  .shop-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- mercado ---------- */
.mk-filter { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; border: 1px dashed var(--line); border-radius: 12px; margin: 12px 0; }
.mk-filter select, .mk-filter input, .mk-row input { background: #021019; color: inherit; border: 1px solid var(--line); border-radius: 8px; padding: 7px 9px; font: inherit; font-size: 14px; min-width: 0; }
.mk-filter input[name=q], .mk-filter input[name=vend] { flex: 1 1 160px; }
.mk-filter input[type=number] { width: 110px; }
.mk-list { display: grid; gap: 8px; }
.mk-row { display: grid; grid-template-columns: 56px minmax(0, 1.4fr) minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.mk-row.sell { grid-template-columns: 56px minmax(0, 1.4fr) minmax(0, 1fr) auto; }
.mk-thumb { width: 56px; height: 56px; border-radius: 10px; display: grid; place-items: center; background: #021019; border: 2px solid var(--r-comum); overflow: hidden; }
.mk-thumb span { font-size: 28px; }
.mk-thumb canvas { width: 48px; height: 48px; }
.mk-thumb.r-incomum { border-color: var(--r-incomum); } .mk-thumb.r-raro { border-color: var(--r-raro); } .mk-thumb.r-epico { border-color: var(--r-epico); }
.mk-thumb.r-lendario { border-color: var(--r-lendario); } .mk-thumb.r-abissal { border-color: var(--r-abissal); }
.mk-name b { display: block; overflow-wrap: anywhere; }
.mk-name small, .mk-col small { color: var(--faint); font-size: 12px; display: block; }
.mk-col span { font-size: 14px; overflow-wrap: anywhere; }
.r-txt-comum { color: var(--r-comum) !important; } .r-txt-incomum { color: var(--r-incomum) !important; } .r-txt-raro { color: var(--r-raro) !important; }
.r-txt-epico { color: var(--r-epico) !important; } .r-txt-lendario { color: var(--r-lendario) !important; } .r-txt-abissal { color: var(--r-abissal) !important; }
.mk-price { text-align: right; }
.mk-price b { font: 700 18px var(--display); color: var(--gold); display: block; }
.mk-price small { display: block; font-size: 12px; color: var(--faint); }
.mk-price small.up { color: #ffb347; } .mk-price small.down { color: #5cf2a0; }
.mk-act { display: flex; gap: 6px; align-items: center; justify-content: flex-end; }
.mk-act input { width: 100px; }
.mk-pages { display: flex; gap: 12px; justify-content: center; align-items: center; margin-top: 14px; }
.btn.disabled { pointer-events: none; opacity: .4; }
@media (max-width: 820px) {
  .mk-row { grid-template-columns: 56px minmax(0, 1fr) auto; }
  .mk-row .mk-col { display: none; }
  .mk-row .mk-act { grid-column: 1 / -1; }
  .mk-row.sell .mk-col { display: block; grid-column: 2 / -1; }
}

/* ---------- quem sou ---------- */
.whoami { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; max-width: 1100px; margin: 0 auto 18px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); width: calc(100% - 32px); }
.whoami img { border-radius: 50%; background: #021019; }
.whoami h3 { margin: 0 0 2px; font-size: 15px; }
.whoami p { margin: 0; color: var(--dim); font-size: 14px; }
.whoami nav { display: flex; gap: 6px; flex-wrap: wrap; }
.whoami nav a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; color: var(--text); font-size: 14px; }
.whoami nav a:hover { border-color: var(--gold); }
@media (max-width: 640px) { .whoami { grid-template-columns: 48px minmax(0, 1fr); } .whoami nav { grid-column: 1 / -1; } }

/* ---------- pagamento com cartão ---------- */
.item.pack { cursor: pointer; }
.item.pack.picked { outline: 2px solid var(--gold); outline-offset: -2px; }
.card-pay { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; margin: 14px 0; padding: 12px; border: 1px dashed var(--line); border-radius: 12px; color: var(--dim); }
.checkout-shell { width: min(100%, 620px); margin: 0 auto; display: grid; gap: 12px; }
.checkout-card { padding: 24px; display: grid; gap: 14px; }
.checkout-card h1 { margin: 0; font-size: 26px; }
.checkout-packs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.checkout-packs a { display: grid; justify-items: center; gap: 2px; padding: 10px 6px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--text); font-weight: 700; }
.checkout-packs a small { color: var(--faint); font-weight: 500; }
.checkout-packs a.on { border-color: var(--gold); background: #f2e6c91a; }
.checkout-total { margin: 0; padding: 12px 14px; border-radius: 10px; background: #021019; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
#form-checkout { display: grid; gap: 14px; }
.checkout-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkout-label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--dim); }
.secure-input { position: relative; height: 46px; border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; }
.secure-input:focus-within { border-color: var(--gold); }
.secure-input iframe { display: block; width: 100%; height: 100%; border: 0; }
.checkout-field input { width: 100%; height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: #0f172a; font: inherit; }
.checkout-error { padding: 12px 14px; border: 1px solid #ff6b81; border-radius: 10px; background: #ff6b811a; color: #ffb3bf; }
.checkout-loading { padding: 12px 14px; border-radius: 10px; background: #021019; }
.checkout-success { padding: 14px; border: 1px solid #5cf2a0; border-radius: 10px; background: #5cf2a01a; }
.checkout-success h2 { margin: 0 0 6px; }
@media (max-width: 560px) { .checkout-row, .checkout-packs { grid-template-columns: 1fr 1fr; } .checkout-card { padding: 18px; } }
/* admin · feedbacks */
.fb-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 14px; }
.fb-filters .pill { background: rgba(255,255,255,.06); color: var(--dim); text-decoration: none; }
.fb-filters .pill.on { background: rgba(92,242,160,.15); color: #5cf2a0; }
.fb-filters .sep { flex: 0 0 1px; height: 20px; background: var(--line); margin: 0 4px; }
.req.fb .req-msg { font-style: normal; white-space: normal; overflow-wrap: anywhere; }
.req.fb.done { opacity: .6; }

/* ---------- rodapé ---------- */
.site-foot { margin-top: 56px; border-top: 1px solid var(--line); background: #010910; padding: 44px clamp(16px, 4vw, 40px) 22px; }
.foot-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, .8fr)) minmax(0, 1.3fr); gap: 32px; }
.site-foot h4 { margin: 0 0 12px; font: 700 18px var(--display); letter-spacing: .03em; color: var(--text); }
.site-foot nav { display: flex; flex-direction: column; gap: 8px; }
.site-foot nav a { color: var(--dim); text-decoration: none; font-size: 15px; padding: 0; border-radius: 0; }
.site-foot nav a:hover { color: var(--text); background: none; text-decoration: underline; text-underline-offset: 3px; }
.foot-about p, .foot-me p { color: var(--dim); font-size: 14px; margin: 12px 0; max-width: 42ch; }
.foot-about .brand { font-size: 22px; }
.me { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; }
.me img { border-radius: 50%; background: #021019; }
.me p { margin: 0; }
.site-foot .me-links { flex-direction: row; flex-wrap: wrap; gap: 14px; margin-top: 12px; }
.foot-bottom { max-width: 1120px; margin: 32px auto 0; padding-top: 16px; border-top: 1px solid #12405a88; display: flex; justify-content: space-between; gap: 12px; color: var(--faint); font-size: 13px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about, .foot-me { grid-column: 1 / -1; } }
.dz h2 + .cmds { margin-top: 22px; }
.dz .cmds td:first-child { width: 290px; }
.item .rar { text-transform: none; letter-spacing: .03em; font: 700 14px var(--display); }
.item h3 { font-size: 20px; }
@media (max-width: 620px) { .dz .cmds td:first-child { width: 42%; } }
@media (prefers-reduced-motion: reduce) { .gauge-track i { transition: none; } .btn:hover { transform: none; } }
.section-title > h2 { flex-shrink: 0; }

/* ---------- arte desenhada e ícones ---------- */
img.art { display: block; image-rendering: auto; }
.item .icon { display: grid; place-items: center; height: 110px; line-height: normal; }
.item .icon img.art { filter: drop-shadow(0 6px 10px rgba(0,0,0,.35)); }
.item.locked .icon img.art, .item.locked .gear-icon img.art { filter: grayscale(1) brightness(.35); }
.item.locked .gear-icon { filter: none; background: none; }
img.cur { display: inline-block; width: 1.05em; height: 1.05em; vertical-align: -0.17em; margin-right: .12em; }
.mat-chip img.art { display: inline-block; vertical-align: -4px; }
.mk-thumb img.art { width: 44px; height: 44px; }
.big-emoji img.scene { margin: 0 auto 4px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.4)); }
svg.ico { display: inline-block; vertical-align: -0.16em; flex: none; }
.section-title h2 svg.ico { vertical-align: -0.12em; color: var(--ember); }
.tabs a svg.ico { margin-right: 2px; }
.slot-title img.slot-ico, .muted img.slot-ico, .slot small img.slot-ico { display: inline-block; vertical-align: -0.28em; }
.shop-tabs a span { display: grid; place-items: center; width: 24px; }
.shop-tabs a span img.art { display: block; }
.rarity div img.art { margin-bottom: 2px; filter: drop-shadow(0 3px 5px rgba(0,0,0,.35)); }
.rarity { height: auto; }
.rarity div { padding-top: 10px; }
.tag-eq svg.ico { vertical-align: -0.2em; }
.panel-form legend svg.ico { color: var(--ember); vertical-align: -0.18em; }
h1 img.art, h2 img.art, h3 img.art, p img.art, span img.art, small img.art, b img.art, label img.art, td img.art, .src img.art { display: inline-block; vertical-align: middle; }
h2 img.art { margin-right: 4px; }
.section-title h2 img.art { width: 1.05em; height: 1.05em; }

/* ---------- botões de estilo (padrão / pixel) ---------- */
.style-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--dim); font: 600 13px var(--sans); cursor: pointer; }
.style-toggle:hover { color: var(--text); border-color: var(--purple); }
.style-toggle[aria-pressed="true"] { color: #021019; background: var(--gold); border-color: var(--gold); }
.top .style-toggle { margin-left: auto; }
.top .style-toggle + .account { margin-left: 0; }
.style-seg { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 12px; font-size: 13px; color: var(--faint); }
.style-seg button { padding: 4px 10px; border: 1px solid var(--line); border-radius: 99px; background: transparent; color: var(--dim); font: 600 13px var(--sans); cursor: pointer; }
.style-seg button.on { background: var(--gold); color: #021019; border-color: var(--gold); }
@media (max-width: 760px) { .top .style-toggle span { display: none; } }

/* =====================================================================
   ESTILO PIXEL ART: fonte pixel, cantos retos, bordas grossas e sombras em degrau
   ===================================================================== */
:root[data-style="pixel"] {
  --display: "Pixelify Sans", ui-monospace, monospace;
  --sans: "Pixelify Sans", ui-monospace, monospace;
  --radius: 0px;
  --line: #1d5a7c;
}
:root[data-style="pixel"] body {
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px) 0 0 / 8px 8px,
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px) 0 0 / 8px 8px,
    linear-gradient(180deg, #06243a 0, var(--bg) 700px);
  background-color: var(--bg);
  font-size: 17px; letter-spacing: .01em;
}
:root[data-style="pixel"] h1, :root[data-style="pixel"] h2, :root[data-style="pixel"] h3 { letter-spacing: .02em; line-height: 1.1; font-weight: 700; }
:root[data-style="pixel"] .descend { font-size: clamp(36px, 5vw, 70px); line-height: 1; }
:root[data-style="pixel"] .dz h2, :root[data-style="pixel"] .sheet-head h1, :root[data-style="pixel"] .cat > h2 { font-size: clamp(30px, 3.6vw, 42px); }
:root[data-style="pixel"] .section-title h2 { font-size: 28px; }
/* caixas e botões */
:root[data-style="pixel"] .card, :root[data-style="pixel"] .item, :root[data-style="pixel"] .tile, :root[data-style="pixel"] .slot,
:root[data-style="pixel"] .mk-row, :root[data-style="pixel"] .craft, :root[data-style="pixel"] .whoami, :root[data-style="pixel"] .hero-stage,
:root[data-style="pixel"] .stat, :root[data-style="pixel"] .wallet > div, :root[data-style="pixel"] .rarity, :root[data-style="pixel"] .rarity div,
:root[data-style="pixel"] .viewing, :root[data-style="pixel"] .premium-note, :root[data-style="pixel"] .chip, :root[data-style="pixel"] .zone,
:root[data-style="pixel"] .search .results, :root[data-style="pixel"] .obs-row code, :root[data-style="pixel"] blockquote.reason, :root[data-style="pixel"] .mk-thumb,
:root[data-style="pixel"] .checkout-packs a, :root[data-style="pixel"] .checkout-total, :root[data-style="pixel"] .pix .qr {
  border-radius: 0 !important;
}
:root[data-style="pixel"] .card, :root[data-style="pixel"] .item, :root[data-style="pixel"] .tile, :root[data-style="pixel"] .hero-stage, :root[data-style="pixel"] .mk-row {
  border-width: 2px; box-shadow: 4px 4px 0 #010810;
}
:root[data-style="pixel"] .item::before, :root[data-style="pixel"] .slot::before, :root[data-style="pixel"] .tile::before { border-radius: 0; height: 4px; }
:root[data-style="pixel"] .btn, :root[data-style="pixel"] .style-toggle, :root[data-style="pixel"] .style-seg button, :root[data-style="pixel"] .tabs a,
:root[data-style="pixel"] .pill, :root[data-style="pixel"] kbd, :root[data-style="pixel"] .mat-chip, :root[data-style="pixel"] nav a,
:root[data-style="pixel"] .shop-tabs a, :root[data-style="pixel"] .whoami nav a, :root[data-style="pixel"] .cat-nav a, :root[data-style="pixel"] .seg,
:root[data-style="pixel"] input, :root[data-style="pixel"] select, :root[data-style="pixel"] textarea, :root[data-style="pixel"] #toast {
  border-radius: 0 !important;
}
:root[data-style="pixel"] .btn { border-width: 2px; box-shadow: 3px 3px 0 #010810; font-weight: 600; transition: none; }
:root[data-style="pixel"] .btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 #010810; }
:root[data-style="pixel"] .btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 #010810; }
:root[data-style="pixel"] .btn.primary { border-color: #8a5a12; }
:root[data-style="pixel"] kbd { font-family: "Pixelify Sans", monospace; border-bottom-width: 3px; }
:root[data-style="pixel"] nav a.active { box-shadow: inset 0 -3px 0 var(--ember); }
:root[data-style="pixel"] .xpbar, :root[data-style="pixel"] .xpbar span, :root[data-style="pixel"] .gauge-track, :root[data-style="pixel"] .gauge-track i { border-radius: 0; }
:root[data-style="pixel"] .xpbar span { background: repeating-linear-gradient(90deg, var(--purple) 0 6px, var(--ember) 6px 12px); }
:root[data-style="pixel"] .gear-icon { border-radius: 0; }
:root[data-style="pixel"] .whoami img, :root[data-style="pixel"] .me img, :root[data-style="pixel"] .account img { border-radius: 0; image-rendering: pixelated; }
:root[data-style="pixel"] .site-foot { border-top-width: 2px; }
/* as artes já vêm pequenas: ampliar sem suavizar */
:root[data-style="pixel"] img.art, :root[data-style="pixel"] img.cur, :root[data-style="pixel"] canvas { image-rendering: pixelated; }
:root[data-style="pixel"] img.art, :root[data-style="pixel"] .item .icon img.art { filter: none; }
:root[data-style="pixel"] .big-emoji img.scene { filter: drop-shadow(4px 4px 0 #010810); }
:root[data-style="pixel"] :focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; }
:root[data-style="pixel"] main:focus, :root[data-style="pixel"] main:focus-visible { outline: none; }
:root[data-style="pixel"] .descend { font-size: clamp(30px, 4.1vw, 56px); }
:root[data-style="pixel"] .descend span { white-space: normal; }
@media (max-width: 620px) { .section-title { flex-wrap: wrap; } .section-title > p { flex-basis: 100%; } }
