/* Preceptor · estilos */
:root {
  --bg: #f4f6fa;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --brand: #0b7480;
  --brand-2: #0e9aa7;
  --brand-ink: #ffffff;
  --brand-soft: #e3f3f4;
  --ok: #15803d;
  --ok-soft: #dcfce7;
  --bad: #c2410c;
  --bad-soft: #ffedd5;
  --warn: #b45309;
  --warn-soft: #fef3c7;
  --a-clinica: #2563eb;
  --a-cirurgia: #ea580c;
  --a-go: #db2777;
  --a-pediatria: #7c3aed;
  --a-preventiva: #059669;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 16px rgba(15, 23, 42, .05);
  --radius: 16px;
  --radius-sm: 10px;
  --tab-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1220; --surface: #121a2b; --surface-2: #0f1726; --ink: #e8edf5; --ink-2: #c3cddc;
    --muted: #8b98ad; --line: #22304a; --brand: #22b3c0; --brand-2: #4cc9d4; --brand-ink: #04232a;
    --brand-soft: #0f2c33; --ok: #4ade80; --ok-soft: #0f2e1c; --bad: #fb923c; --bad-soft: #3a1d0c;
    --warn: #fbbf24; --warn-soft: #33270b;
    --a-clinica: #60a5fa; --a-cirurgia: #fb923c; --a-go: #f472b6; --a-pediatria: #a78bfa; --a-preventiva: #34d399;
    --shadow: 0 1px 2px rgba(0,0,0,.4); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1220; --surface: #121a2b; --surface-2: #0f1726; --ink: #e8edf5; --ink-2: #c3cddc;
  --muted: #8b98ad; --line: #22304a; --brand: #22b3c0; --brand-2: #4cc9d4; --brand-ink: #04232a;
  --brand-soft: #0f2c33; --ok: #4ade80; --ok-soft: #0f2e1c; --bad: #fb923c; --bad-soft: #3a1d0c;
  --warn: #fbbf24; --warn-soft: #33270b;
  --a-clinica: #60a5fa; --a-cirurgia: #fb923c; --a-go: #f472b6; --a-pediatria: #a78bfa; --a-preventiva: #34d399;
  --shadow: 0 1px 2px rgba(0,0,0,.4); color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 16px; line-height: 1.45; -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
a { color: var(--brand); }
h1, h2, h3 { margin: 0; line-height: 1.2; }
h1 { font-size: 24px; font-weight: 750; letter-spacing: -.01em; }
h2 { font-size: 18px; font-weight: 700; }
h3 { font-size: 15px; font-weight: 700; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.num { font-variant-numeric: tabular-nums; }

.app { max-width: 600px; margin: 0 auto; min-height: 100vh; position: relative; }
.boot { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 12px; color: var(--muted); }

/* logo */
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); position: relative; flex: none; }
.logo-mark::before, .logo-mark::after { content: ""; position: absolute; background: #fff; border-radius: 2px; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.logo-mark::before { width: 52%; height: 16%; }
.logo-mark::after { width: 16%; height: 52%; }
.logo-mark.big { width: 64px; height: 64px; border-radius: 18px; }

/* header */
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px; padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 10px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.topbar .title { font-weight: 750; font-size: 17px; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; border: 0; background: transparent; display: grid; place-items: center; color: var(--ink-2); flex: none; }
.icon-btn:hover { background: var(--surface); }
.icon-btn svg { width: 22px; height: 22px; }

.page { padding: 4px 16px calc(var(--tab-h) + var(--safe-b) + 24px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.page > *, .stack > *, .grid2 > *, .grid3 > * { min-width: 0; }
.cell { overflow-wrap: anywhere; }
.page.no-tabs { padding-bottom: calc(var(--safe-b) + 24px); }

/* bottom tabs */
.tabs { position: fixed; z-index: 30; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 600px; height: calc(var(--tab-h) + var(--safe-b)); padding-bottom: var(--safe-b); background: var(--surface); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); }
.tab { border: 0; background: none; display: grid; justify-items: center; align-content: center; gap: 3px; font-size: 11px; font-weight: 600; color: var(--muted); position: relative; }
.tab svg { width: 23px; height: 23px; }
.tab.active { color: var(--brand); }
.tab .dot { position: absolute; top: 9px; left: calc(50% + 8px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--bad); color: #fff; font-size: 10px; display: grid; place-items: center; font-weight: 700; }

/* cards */
.card { background: var(--surface); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.card.flat { box-shadow: none; }
.card.brand { background: linear-gradient(140deg, var(--brand), var(--brand-2)); color: #fff; border: 0; }
.card.brand .muted { color: rgba(255,255,255,.8); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.row { display: flex; align-items: center; gap: 10px; }
.row.wrap { flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.stack { display: grid; gap: 10px; }
.stack.tight { gap: 6px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sep { height: 1px; background: var(--line); margin: 4px 0; }

/* buttons */
.btn { border: 0; border-radius: 12px; padding: 13px 16px; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); min-height: 48px; }
.btn svg { width: 19px; height: 19px; }
.btn.primary { background: var(--brand); color: var(--brand-ink); border-color: transparent; }
.btn.primary:hover { filter: brightness(1.05); }
.btn.white { background: #fff; color: #0b5d66; border-color: transparent; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--brand); padding-left: 8px; padding-right: 8px; }
.btn.danger { color: var(--bad); }
.btn.block { width: 100%; }
.btn.sm { min-height: 36px; padding: 7px 12px; font-size: 13px; border-radius: 10px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 13px; font-size: 14px; font-weight: 600; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.chip.on { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); }
.chip .sw { width: 9px; height: 9px; border-radius: 50%; }
.scroll-x { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
.scroll-x::-webkit-scrollbar { display: none; }
.scroll-x .chip { flex: none; }

.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.tag.area { color: #fff; border: 0; }
.tag.ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.tag.bad { background: var(--bad-soft); color: var(--bad); border-color: transparent; }
.tag.warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }

/* stats */
.stat { background: var(--surface-2); border-radius: 12px; padding: 12px; border: 1px solid var(--line); }
.stat b { display: block; font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.stat span { font-size: 12px; color: var(--muted); font-weight: 600; }
.card.brand .stat { background: rgba(255,255,255,.14); border-color: transparent; }
.card.brand .stat span { color: rgba(255,255,255,.85); }

.bar { height: 8px; border-radius: 6px; background: var(--line); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 6px; background: var(--brand); }
.card.brand .bar { background: rgba(255,255,255,.25); }
.card.brand .bar > i { background: #fff; }

/* big score */
.score { display: flex; align-items: baseline; gap: 8px; }
.score b { font-size: 46px; font-weight: 850; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.score span { font-size: 15px; opacity: .85; }

/* meter (prediction vs target) */
.meter { position: relative; height: 14px; border-radius: 8px; background: var(--line); margin: 18px 0 6px; }
.meter .range { position: absolute; top: 0; bottom: 0; border-radius: 8px; background: color-mix(in srgb, var(--brand) 30%, transparent); }
.meter .pt { position: absolute; top: -4px; width: 4px; height: 22px; border-radius: 2px; background: var(--brand); transform: translateX(-2px); }
.meter .goal { position: absolute; top: -10px; bottom: -10px; width: 0; border-left: 2px dashed var(--ink-2); }
.meter .goal span { position: absolute; top: -18px; left: 4px; font-size: 11px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }

/* list items */
.list { display: grid; }
.item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); background: none; border-left: 0; border-right: 0; border-top: 0; width: 100%; text-align: left; }
.item:last-child { border-bottom: 0; }
.item .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.item .ic svg { width: 20px; height: 20px; }
.item .tx { flex: 1; min-width: 0; }
.item .tx b { display: block; font-size: 15px; }
.item .tx span { font-size: 13px; color: var(--muted); }
.item .end { font-weight: 800; font-variant-numeric: tabular-nums; }
.item .chev { color: var(--muted); width: 18px; height: 18px; flex: none; }

/* heatmap */
.heat { display: grid; gap: 6px; }
.heat-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.heat-cells { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; }
.cell { border-radius: 10px; padding: 8px 9px; font-size: 12px; font-weight: 700; line-height: 1.2; min-height: 54px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink-2); text-align: left; }
.cell small { font-weight: 800; font-size: 13px; }
.cell.l0 { background: var(--surface-2); color: var(--muted); }
.cell.l1 { background: #fee2d5; color: #9a3412; border-color: transparent; }
.cell.l2 { background: #fef3c7; color: #92400e; border-color: transparent; }
.cell.l3 { background: #d9f99d; color: #3f6212; border-color: transparent; }
.cell.l4 { background: #bbf7d0; color: #166534; border-color: transparent; }
:root[data-theme="dark"] .cell.l1 { background: #4a1f0b; color: #fdba74; }
:root[data-theme="dark"] .cell.l2 { background: #3d2f0a; color: #fcd34d; }
:root[data-theme="dark"] .cell.l3 { background: #253510; color: #bef264; }
:root[data-theme="dark"] .cell.l4 { background: #0f3320; color: #86efac; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .cell.l1 { background: #4a1f0b; color: #fdba74; }
  :root:not([data-theme="light"]) .cell.l2 { background: #3d2f0a; color: #fcd34d; }
  :root:not([data-theme="light"]) .cell.l3 { background: #253510; color: #bef264; }
  :root:not([data-theme="light"]) .cell.l4 { background: #0f3320; color: #86efac; }
}
.legend { display: flex; gap: 10px; align-items: center; font-size: 11px; color: var(--muted); flex-wrap: wrap; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -2px; margin-right: 4px; }

/* question player */
.qhead { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.progress { height: 5px; border-radius: 3px; background: var(--line); overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--brand); transition: width .25s; }
.enun { font-size: 16.5px; line-height: 1.55; white-space: pre-line; }
.alts { display: grid; gap: 9px; }
.alt { display: grid; grid-template-columns: 34px 1fr 34px; align-items: start; gap: 8px; text-align: left; background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 10px 8px 10px 10px; width: 100%; transition: border-color .12s, background .12s; }
.alt .letter { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; font-size: 14px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); }
.alt .txt { padding-top: 4px; font-size: 15.5px; }
.alt .strike { width: 30px; height: 30px; border-radius: 8px; border: 0; background: transparent; color: var(--muted); display: grid; place-items: center; opacity: .7; }
.alt .strike svg { width: 17px; height: 17px; }
.alt.sel { border-color: var(--brand); background: var(--brand-soft); }
.alt.sel .letter { background: var(--brand); color: var(--brand-ink); border-color: transparent; }
.alt.struck .txt { text-decoration: line-through; color: var(--muted); }
.alt.struck .letter { opacity: .5; }
.alt.right { border-color: var(--ok); background: var(--ok-soft); }
.alt.right .letter { background: var(--ok); color: #fff; border-color: transparent; }
.alt.wrong { border-color: var(--bad); background: var(--bad-soft); }
.alt.wrong .letter { background: var(--bad); color: #fff; border-color: transparent; }
.alt.locked { cursor: default; }
.alt .why { grid-column: 2 / 4; font-size: 14px; color: var(--ink-2); padding: 6px 0 2px; border-top: 1px dashed var(--line); margin-top: 6px; }
.toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); background: none; border: 0; padding: 6px 0; }
.toggle .box { width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--line); display: grid; place-items: center; }
.toggle.on .box { background: var(--warn); border-color: var(--warn); color: #fff; }
.toggle .box svg { width: 14px; height: 14px; }

.layer { border-radius: 14px; padding: 14px; border: 1px solid var(--line); background: var(--surface); }
.layer.one { background: var(--brand-soft); border-color: transparent; }
.layer.one b { color: var(--brand); }
.layer .lbl { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; display: block; }
.box-tip { border-radius: 12px; padding: 12px; font-size: 14px; }
.box-tip.mac { background: var(--ok-soft); color: var(--ink); }
.box-tip.peg { background: var(--warn-soft); color: var(--ink); }
.box-tip b { display: block; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 3px; }
.errtype { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.errtype button { border: 1.5px solid var(--line); background: var(--surface); border-radius: 12px; padding: 10px; text-align: left; font-size: 14px; font-weight: 700; }
.errtype button span { display: block; font-size: 12px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.errtype button.on { border-color: var(--brand); background: var(--brand-soft); }

.sticky-actions { position: sticky; bottom: 0; padding: 12px 0 calc(12px + var(--safe-b)); background: linear-gradient(to top, var(--bg) 70%, transparent); display: flex; gap: 10px; z-index: 5; }
.sticky-actions .btn { flex: 1; }
.timer { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 14px; color: var(--muted); display: inline-flex; gap: 5px; align-items: center; }
.timer svg { width: 16px; height: 16px; }

/* simulado nav grid */
.qgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); gap: 6px; }
.qgrid button { height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: 13px; }
.qgrid button.ans { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); }
.qgrid button.cur { outline: 2px solid var(--ink); }
.qgrid button.ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.qgrid button.bad { background: var(--bad-soft); color: var(--bad); border-color: transparent; }

/* flashcard */
.flash { perspective: 1200px; min-height: 260px; }
.flash-inner { position: relative; min-height: 260px; transition: transform .45s; transform-style: preserve-3d; }
.flash.flipped .flash-inner { transform: rotateY(180deg); }
.face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 20px; padding: 22px; display: flex; flex-direction: column; justify-content: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center; font-size: 19px; font-weight: 650; }
.face.back { transform: rotateY(180deg); background: var(--brand-soft); }
.face .tiny { font-weight: 600; }
.rate { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.rate button { border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 9px 4px; font-weight: 750; font-size: 14px; display: grid; gap: 2px; }
.rate button small { font-weight: 600; font-size: 11px; color: var(--muted); }
.rate .r1 { color: var(--bad); }
.rate .r2 { color: var(--warn); }
.rate .r3 { color: var(--ok); }
.rate .r4 { color: var(--brand); }

/* forms */
label.field { display: grid; gap: 6px; font-size: 14px; font-weight: 650; color: var(--ink-2); }
.input, select.input, textarea.input { width: 100%; border: 1.5px solid var(--line); background: var(--surface); border-radius: 12px; padding: 12px; font-size: 16px; }
.input:focus { outline: none; border-color: var(--brand); }
textarea.input { min-height: 84px; resize: vertical; }
.opt-list { display: grid; gap: 8px; }
.opt { display: flex; align-items: center; gap: 12px; text-align: left; border: 1.5px solid var(--line); background: var(--surface); border-radius: 14px; padding: 13px 14px; width: 100%; font-weight: 650; }
.opt span { display: block; font-weight: 500; font-size: 13px; color: var(--muted); }
.opt.on { border-color: var(--brand); background: var(--brand-soft); }
.opt .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.opt.on .radio { border-color: var(--brand); box-shadow: inset 0 0 0 4px var(--surface); background: var(--brand); }
.hours { display: grid; gap: 8px; }
.hour-row { display: grid; grid-template-columns: 44px 1fr 92px; align-items: center; gap: 10px; }
.hour-row b { font-size: 14px; }
.stepper { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.stepper button { width: 30px; height: 34px; border: 0; background: none; font-size: 18px; font-weight: 700; color: var(--brand); }
.stepper span { font-weight: 750; font-size: 14px; font-variant-numeric: tabular-nums; }
input[type=range] { width: 100%; accent-color: var(--brand); }
.hour-row .plant { font-size: 12px; font-weight: 700; color: var(--muted); }

/* onboarding */
.onb { min-height: 100vh; display: flex; flex-direction: column; padding: calc(20px + env(safe-area-inset-top, 0px)) 18px calc(20px + var(--safe-b)); gap: 18px; }
.onb .steps { display: flex; gap: 6px; }
.onb .steps i { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.onb .steps i.on { background: var(--brand); }
.onb .body { flex: 1; display: grid; align-content: start; gap: 16px; }
.hero { display: grid; gap: 14px; padding-top: 8vh; }
.hero h1 { font-size: 30px; }
.hero .lead { font-size: 17px; color: var(--ink-2); }
.feat { display: grid; gap: 12px; margin-top: 8px; }
.feat div { display: flex; gap: 12px; align-items: flex-start; }
.feat svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 1px; }

/* week plan */
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.day { border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); padding: 7px 2px; min-width: 0; overflow-wrap: anywhere; text-align: center; display: grid; gap: 4px; }
.day b { font-size: 12px; }
.day .m { font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; }
.day .k { font-size: 10px; font-weight: 700; color: var(--muted); line-height: 1.15; }
.day.today { border-color: var(--brand); background: var(--brand-soft); }
.day.off { opacity: .55; }
.day.plantao { background: var(--warn-soft); border-color: transparent; }

/* misc */
.empty { text-align: center; padding: 26px 10px; color: var(--muted); display: grid; gap: 10px; justify-items: center; }
.empty svg { width: 40px; height: 40px; opacity: .6; }
.toast { position: fixed; left: 50%; bottom: calc(var(--tab-h) + var(--safe-b) + 14px); transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--bg); padding: 11px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: .2s; z-index: 100; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.modal-bg { position: fixed; inset: 0; background: rgba(2, 6, 23, .5); z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.modal { background: var(--bg); width: 100%; max-width: 600px; border-radius: 22px 22px 0 0; padding: 18px 16px calc(18px + var(--safe-b)); max-height: 88vh; overflow: auto; display: grid; gap: 14px; }
.pill-note { font-size: 12px; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.spark { width: 100%; height: 80px; display: block; }
.kbd { font-size: 11px; color: var(--muted); }
@media (max-width: 380px) { .score b { font-size: 40px; } .stat b { font-size: 19px; } .stat { padding: 10px; } }
@media (hover: none) { .kbd { display: none; } }

/* tamanho padrão dos ícones */
svg:not(.spark):not([width]) { width: 20px; height: 20px; flex: none; }
.tag svg:not([width]) { width: 13px; height: 13px; }
.btn.sm svg:not([width]) { width: 16px; height: 16px; }
.card.flat > svg:first-child { width: 24px; height: 24px; color: var(--brand); }
.chip svg:not([width]) { width: 15px; height: 15px; }
.item.ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; padding: 0; border: 0; }
