/* Tema Parzbyte · base: reset, casca da página (topo, abas, dock, título) e os componentes de sempre. Depende de tokens.css. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font: 500 var(--fs-base) / 1.45 var(--font);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--sky); color: var(--on-tile); }

.ico {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8px;
  stroke-linecap: round; stroke-linejoin: round;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; top: -60px; left: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; font-weight: 600;
  background: var(--pill); color: var(--on-pill);
}
.skip:focus { top: 12px; }
.up { color: var(--up); }
.down { color: var(--down); }

.mesh { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.mesh i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .95; will-change: transform; }
.mesh__a { width: 62vmax; height: 62vmax; top: -24vmax; left: -18vmax; background: radial-gradient(closest-side, var(--mesh-a), transparent); }
.mesh__b { width: 70vmax; height: 70vmax; bottom: -30vmax; right: -24vmax; background: radial-gradient(closest-side, var(--mesh-b), transparent); }
.mesh__c { width: 46vmax; height: 46vmax; top: -16vmax; right: 8vmax; background: radial-gradient(closest-side, var(--mesh-c), transparent); }

.app {
  max-width: var(--app-max);
  margin: 0 auto;
  padding: 22px var(--gut) 40px calc(var(--dock-x) + var(--dock-w) + var(--gut));
  overflow-x: clip;
}

.top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; margin-bottom: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; border-radius: 14px; }
.brand__mark { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 13px; background: var(--pill); color: var(--on-pill); }
.brand__mark .ico { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.brand__txt { display: grid; min-width: 0; line-height: 1.2; }
.brand__txt b { font-size: 17px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand__txt small { font-size: var(--fs-xs); color: var(--muted); white-space: nowrap; }

.tabs {
  justify-self: center; min-width: 0; max-width: 100%;
  overflow-x: auto; scrollbar-width: none;
  border-radius: 999px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--rim);
}
.tabs::-webkit-scrollbar { display: none; }
.tabs__track { position: relative; display: flex; gap: 2px; width: max-content; padding: 4px; }
.tab, .tabs__pill > span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 999px;
  font-size: var(--fs-md); font-weight: 600; white-space: nowrap;
}
.tab { position: relative; z-index: 1; color: var(--text); transition: background-color .2s; }
.tab:hover { background: var(--well); }
.tab[aria-current]:hover { background: none; }
.tabs__pill {
  position: absolute; inset: 0; z-index: 2; display: flex; gap: 2px; padding: 4px;
  background: var(--pill); color: var(--on-pill); opacity: 0; pointer-events: none;
}
.tab__count { min-width: 20px; padding: 1px 6px; border-radius: 999px; background: var(--well); color: inherit; font-size: var(--fs-2xs); font-weight: 700; line-height: 16px; text-align: center; }
.tab__count:empty { display: none; }
.tabs__pill .tab__count { background: #ffffff2e; }
:root[data-theme="dark"] .tabs__pill .tab__count { background: #0000001f; }

.top__tools { display: flex; align-items: center; gap: 10px; justify-self: end; }
.team { display: flex; padding: 0 4px; }
.team .av { position: relative; margin-left: -6px; box-shadow: 0 0 0 2px var(--bg); }
.team .av:nth-child(1) { z-index: 4; }
.team .av:nth-child(2) { z-index: 3; }
.team .av:nth-child(3) { z-index: 2; }
.me { display: grid; place-items: center; width: 44px; height: 44px; padding: 2px; border-radius: 50%; background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--rim); }
.me .av { width: 38px; height: 38px; }
.bell__dot { position: absolute; top: 9px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--down); box-shadow: 0 0 0 2px var(--bg); }
.bell__dot.is-off { display: none; }

.ibtn {
  position: relative; display: inline-grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  color: var(--text); background: none; box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background-color .2s;
}
.ibtn--glass { background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--rim); }
.ibtn:hover { background: var(--glass-3); }
.ibtn[aria-expanded="true"] { background: var(--pill); color: var(--on-pill); }

.av {
  --h: 206;
  display: inline-grid; place-items: center; flex: none;
  width: 36px; height: 36px; border-radius: 50%;
  background: hsl(var(--h) calc(62% * var(--sat)) 88%);
  color: hsl(var(--h) calc(45% * var(--sat)) 24%);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .02em;
}
.av--sm { width: 28px; height: 28px; font-size: var(--fs-2xs); }
.av--lg { width: 56px; height: 56px; font-size: 18px; }
.av--more { background: var(--glass-3); color: var(--muted); }
:root[data-theme="dark"] .av:not(.av--more) {
  background: hsl(var(--h) calc(32% * var(--sat)) 28%);
  color: hsl(var(--h) calc(80% * var(--sat)) 88%);
}

.dock {
  position: fixed; top: 0; bottom: 0; z-index: 30;
  left: max(var(--dock-x), calc((100vw - var(--app-max)) / 2 + var(--dock-x)));
  display: flex; flex-direction: column; gap: 4px;
  height: fit-content; margin: auto 0; padding: 8px;
  border-radius: 999px; background: var(--dock); color: var(--on-dock);
  box-shadow: 0 20px 40px -18px #0a141e80;
}
:root[data-theme="dark"] .dock { backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px var(--line), 0 20px 40px -18px #0009; }
.dock__btn {
  position: relative; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; opacity: .74;
  transition: opacity .2s, background-color .2s;
}
.dock__btn:hover, .dock__btn:focus-visible, .dock__btn[aria-current="page"] { opacity: 1; background: #ffffff21; }
.dock__btn:focus-visible { outline-color: var(--on-dock); }
.dock__btn[aria-current="page"]::after {
  content: ""; position: absolute; top: 50%; right: 3px; width: 5px; height: 5px; margin-top: -2.5px;
  border-radius: 50%; background: var(--mint);
}
.dock__upgrade .ico { color: var(--lemon); }
.dock__sep { height: 1px; margin: 4px 10px; background: #ffffff24; }
.dock__count {
  position: absolute; top: 2px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--coral); color: var(--on-tile);
  font-size: var(--fs-2xs); font-weight: 700; line-height: 18px; text-align: center;
}
.dock__count:empty { display: none; }
.dock__tip {
  position: absolute; top: 0; bottom: 0; left: calc(100% + 14px); height: fit-content; margin: auto 0;
  padding: 6px 10px; border-radius: 10px; background: var(--float); color: var(--text);
  box-shadow: var(--shadow-pop); font-size: var(--fs-sm); font-weight: 600; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .18s var(--ease);
}
.dock__tip kbd { margin-left: 4px; }
.dock__btn:hover .dock__tip, .dock__btn:focus-visible .dock__tip { opacity: 1; }

.main { position: relative; min-width: 0; outline: none; }
.head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px clamp(20px, 2.4vw, 36px); min-height: 48px; margin-bottom: 20px; }
.head__title { font-size: clamp(28px, 2.6vw, 38px); font-weight: 600; line-height: 1.04; letter-spacing: -.025em; white-space: nowrap; outline: none; }
.subtabs {
  min-width: 0; max-width: 100%; overflow-x: auto; scrollbar-width: none;
  border-radius: 999px; background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--rim), var(--shadow);
  backdrop-filter: blur(14px) saturate(1.3);
}
.subtabs::-webkit-scrollbar { display: none; }
.subtabs__track { position: relative; display: flex; gap: 2px; width: max-content; padding: 4px; }
.subtab { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 8px 15px; border-radius: 999px; color: var(--muted); font-size: var(--fs-md); font-weight: 600; white-space: nowrap; transition: color .2s; }
.subtab:hover, .subtab[aria-current] { color: var(--text); }
.subtabs__pill { position: absolute; inset: 0; z-index: 0; background: var(--glass-3); opacity: 0; pointer-events: none; }
:root[data-theme="dark"] .subtabs__pill { background: #ffffff24; }

.live {
  display: inline-flex; align-items: center; gap: 7px; height: 34px; margin-left: auto; padding: 0 13px 0 12px;
  border-radius: 999px; background: var(--mint); color: var(--on-tile); font-size: var(--fs-md); font-weight: 600;
}
.live__dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.live__dot::after { content: ""; position: absolute; inset: -4px; border: 1.5px solid; border-radius: 50%; opacity: 0; animation: ping 2.2s cubic-bezier(.2, .6, .3, 1) infinite; }
@keyframes ping { 0% { opacity: .9; transform: scale(.4); } 80%, 100% { opacity: 0; transform: scale(1.5); } }
.live__n { display: inline-flex; height: 1.3em; line-height: 1.3; overflow: hidden; }
.odo { display: inline-block; width: .6em; height: 1.3em; overflow: hidden; text-align: center; }
.odo__strip { display: flex; flex-direction: column; }
.odo__strip span { height: 1.3em; }
.odo--sep { width: auto; }
.live__label { font-weight: 500; }

.view { display: flex; flex-direction: column; gap: 16px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 40px; padding: 0 16px; border-radius: 999px;
  background: var(--glass-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: var(--fs-md); font-weight: 600; white-space: nowrap;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.btn:hover { background: var(--glass-3); }
.btn .ico { width: 16px; height: 16px; }
.btn--primary, .btn--dark { background: var(--pill); color: var(--on-pill); box-shadow: none; }
.btn--primary:hover, .btn--dark:hover { background: color-mix(in srgb, var(--pill) 84%, var(--primary)); }
.btn--ghost { background: none; box-shadow: none; color: var(--muted); }
.btn--ghost:hover { background: var(--well); color: var(--text); }
.btn--danger { color: var(--down); }
.btn--sm { height: 32px; padding: 0 12px; font-size: var(--fs-sm); }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--well); color: var(--faint); box-shadow: none; cursor: not-allowed; }
.icon-btn { position: relative; display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; color: var(--muted); transition: background-color .2s, color .2s; }
.icon-btn:hover { background: var(--well); color: var(--text); }
.link-btn { color: var(--primary-ink); font-size: var(--fs-sm); font-weight: 600; }
.link-btn:hover { text-decoration: underline; }
.more-link {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--text); font-size: var(--fs-sm); font-weight: 600;
  text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px;
}
.more-link .ico { display: none; }
.more-link:hover { color: var(--primary-ink); text-decoration-color: currentColor; }

.seg { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 3px; border-radius: 999px; background: var(--well); }
.seg__pill { position: absolute; top: 3px; bottom: 3px; left: 3px; border-radius: 999px; background: var(--glass-3); box-shadow: 0 2px 8px #1428381a; pointer-events: none; }
:root[data-theme="dark"] .seg__pill { background: #ffffff24; }
.seg button { position: relative; z-index: 1; height: 32px; padding: 0 14px; border-radius: 999px; color: var(--muted); font-size: var(--fs-sm); font-weight: 600; white-space: nowrap; transition: color .2s; }
.seg button:hover, .seg button[aria-selected="true"], .seg button[aria-pressed="true"] { color: var(--text); }
.seg--sm button { height: 28px; padding: 0 11px; font-size: var(--fs-xs); }

.card { position: relative; min-width: 0; padding: 20px; border-radius: var(--r); background: var(--glass); box-shadow: inset 0 0 0 1px var(--rim), var(--shadow); }
.card__head { display: flex; align-items: center; gap: 10px; min-height: 32px; margin-bottom: 14px; }
.card__title { display: flex; align-items: center; gap: 6px; font-size: var(--fs-lg); font-weight: 600; letter-spacing: -.005em; }
.card__title .ico { width: 15px; height: 15px; color: var(--faint); }
.card__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.card__sub { color: var(--muted); font-size: var(--fs-sm); }

.tile--sky, .tile--mint, .tile--coral, .tile--lemon {
  --text: #14202a; --muted: #14202ac2; --faint: #14202ab3; --well: #14202a14;
  --line: #14202a1f; --line-2: #14202a33; --surface: #ffffffb3; --surface-2: #fff6;
  --up: #1b5e4a; --up-soft: #ffffff8c; --down: #8f3220; --down-soft: #ffffff8c;
  --primary: #14202a; --primary-ink: #14202a; --c1: #14202a; --c2: #14202a52; --c3: #14202a; --rim: #fff6;
  color: var(--text);
}
.tile--sky { background: var(--sky); }
.tile--mint { background: var(--mint); }
.tile--coral { background: var(--coral); }
.tile--lemon { background: var(--lemon); }
.tile--ocean, :root[data-palette="mono"]:not([data-theme="dark"]) .tile--sky {
  --text: #f3f7f8; --muted: #f3f7f8c7; --faint: #f3f7f8b3; --well: #ffffff1f;
  --line: #ffffff24; --line-2: #ffffff3d; --surface: var(--ocean); --surface-2: #ffffff14;
  --up: #8fe3c4; --up-soft: #8fe3c429; --down: #ffb3a1; --down-soft: #ffb3a129;
  --primary: #f3f7f8; --primary-ink: #f3f7f8; --c1: var(--oc-1); --c2: var(--oc-2); --c4: var(--oc-3); --rim: #ffffff1a;
  background: var(--ocean); color: var(--text); box-shadow: none;
}

.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.toolbar__end { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-left: auto; }

.stat { display: grid; gap: 6px; }
.stat__label { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: var(--fs-sm); font-weight: 600; }
.stat__val { font-family: var(--display); font-size: var(--fs-4xl); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.stat__meta { display: flex; align-items: center; gap: 6px; color: var(--faint); font-size: var(--fs-sm); }
.delta {
  display: inline-flex; align-items: center; gap: 2px; height: 20px; padding: 0 7px 0 5px;
  border-radius: 999px; background: var(--up-soft); color: var(--up); font-size: var(--fs-2xs); font-weight: 700;
}
.delta .ico { width: 12px; height: 12px; stroke-width: 2.4px; }
.delta.is-down { background: var(--down-soft); color: var(--down); }

.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--well); color: var(--muted); font-size: var(--fs-xs); font-weight: 600; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill--plain::before { display: none; }
.pill--blue { background: var(--primary-soft); color: var(--primary-ink); }
.pill--mint { background: var(--up-soft); color: var(--up); }
.pill--amber { background: var(--warn-soft); color: var(--warn); }
.pill--coral { background: var(--down-soft); color: var(--down); }
.pill--sea { background: var(--sea-soft); color: var(--sea); }
.pill--gray { background: var(--well); color: var(--muted); }

kbd {
  padding: 2px 7px; border-radius: 7px; background: var(--glass-2); color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--line-2); font: 600 var(--fs-2xs) var(--font);
}

.pop { position: fixed; z-index: 60; width: min(360px, 100vw - 24px); overflow: hidden; border-radius: var(--r); background: var(--float); box-shadow: var(--shadow-pop), inset 0 0 0 1px var(--line); }
.pop__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.pop__head b { font-size: var(--fs-base); font-weight: 700; }
.pop__list { max-height: 380px; overflow-y: auto; }
.pop__list li { display: flex; gap: 11px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.pop__list li:last-child { border-bottom: 0; }
.pop__list li.is-unread { background: color-mix(in srgb, var(--primary-soft) 55%, transparent); }
.pop__list .n-ico { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--well); color: var(--primary); }
.pop__list .n-ico .ico { width: 16px; height: 16px; }
.pop__list p { font-size: var(--fs-md); }
.pop__list small { color: var(--faint); font-size: var(--fs-xs); }

dialog { max-width: none; max-height: none; padding: 0; border: 0; background: none; color: var(--text); }
dialog::backdrop { background: #0e182047; backdrop-filter: blur(6px); }
:root[data-theme="dark"] dialog::backdrop { background: #00000094; }
.finder { width: min(620px, 100vw - 24px); margin: 12vh auto auto; }
.finder__box { overflow: hidden; border-radius: 24px; background: var(--float); box-shadow: var(--shadow-pop), inset 0 0 0 1px var(--line); }
.finder__field { display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 18px; border-bottom: 1px solid var(--line); color: var(--faint); }
.finder__field input { flex: 1; border: 0; outline: none; background: none; color: var(--text); font-size: var(--fs-xl); }
.finder__list { max-height: 50vh; padding: 8px; overflow-y: auto; }
.finder__group { padding: 10px 10px 4px; color: var(--muted); font-size: var(--fs-2xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.finder__hit { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 14px; cursor: pointer; }
.finder__hit[aria-selected="true"] { background: var(--well); }
.finder__hit .lead { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--well); color: var(--muted); }
.finder__hit .lead .ico { width: 16px; height: 16px; }
.finder__hit b { font-weight: 600; }
.finder__hit small { margin-left: auto; color: var(--faint); font-size: var(--fs-xs); }
.finder__empty { padding: 28px 16px; color: var(--muted); text-align: center; }

.modal { width: min(520px, 100vw - 24px); margin: auto; }
.modal.is-wide { width: min(760px, 100vw - 24px); }
.modal__box { border-radius: 26px; background: var(--float); box-shadow: var(--shadow-pop), inset 0 0 0 1px var(--line); }
.modal__head { display: flex; align-items: center; gap: 10px; padding: 20px 22px 0; }
.modal__head h2 { font-size: var(--fs-2xl); font-weight: 700; letter-spacing: -.015em; }
.modal__head .icon-btn { margin-left: auto; }
.modal__body { display: grid; gap: 14px; padding: 16px 22px; }
.modal__foot { display: flex; justify-content: flex-end; gap: 8px; padding: 0 22px 22px; }
.sheet { width: min(460px, 100vw - 24px); height: calc(100dvh - 24px); margin: 12px 12px 12px auto; }
.sheet.is-wide { width: min(640px, 100vw - 24px); }
.sheet__box { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 28px; background: var(--float); box-shadow: var(--shadow-pop), inset 0 0 0 1px var(--line); }
.sheet__head { display: flex; align-items: center; gap: 10px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.sheet__head h2 { font-size: var(--fs-3xl); font-weight: 700; letter-spacing: -.02em; }
.sheet__head .icon-btn { margin-left: auto; }
.sheet__body { display: grid; flex: 1; align-content: start; gap: 18px; padding: 22px; overflow-y: auto; }
.sheet__foot { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 22px; border-top: 1px solid var(--line); }

.toasts { position: fixed; right: 18px; bottom: calc(var(--tabbar-h) + 18px); z-index: 90; display: grid; justify-items: end; gap: 8px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; max-width: min(400px, 100vw - 36px); padding: 10px 16px 10px 10px; border-radius: 999px; background: var(--pill); color: var(--on-pill); box-shadow: var(--shadow-pop); font-size: var(--fs-md); font-weight: 600; pointer-events: auto; }
.toast__ico { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--mint); color: var(--on-tile); }
.toast__ico .ico { width: 14px; height: 14px; stroke-width: 2.4px; }
.toast button { margin-left: 6px; color: inherit; font-weight: 700; text-decoration: underline; }

@media (hover: none) {
  .tab:hover, .ibtn:hover { background: none; }
  .ibtn--glass:hover { background: var(--glass-2); }
  .dock__btn:hover:not([aria-current]) { opacity: .74; background: none; }
  .dock__btn:hover .dock__tip { opacity: 0; }
}
@media (max-width: 1280px) {
  .team, .brand__txt small { display: none; }
}
@media (max-width: 1080px) {
  :root { --side-w: 0px; --tabbar-h: calc(80px + env(safe-area-inset-bottom)); }
  .app { padding: max(16px, env(safe-area-inset-top)) max(var(--gut), env(safe-area-inset-right)) calc(var(--tabbar-h) + 24px) max(var(--gut), env(safe-area-inset-left)); }
  .top { grid-template-columns: minmax(0, 1fr) auto; gap: 14px; margin-bottom: 18px; }
  .tabs { grid-area: 2 / 1 / auto / -1; justify-self: start; }
  .top__tools { grid-area: 1 / 2; }
  .dock { top: auto; left: 0; right: 0; bottom: calc(12px + env(safe-area-inset-bottom)); flex-direction: row; width: fit-content; height: auto; margin: 0 auto; padding: 6px; }
  .dock__sep { width: 1px; height: auto; margin: 10px 4px; }
  .dock__tip { display: none; }
  .dock__btn[aria-current="page"]::after { inset: auto auto 3px 50%; margin: 0 0 0 -2.5px; }
}
@media (max-width: 760px) {
  .brand__txt b { font-size: var(--fs-lg); }
  .tabs {
    width: calc(100% + 2 * var(--gut)); max-width: none; margin: 0 calc(-1 * var(--gut)); padding: 0 calc(var(--gut) - 4px);
    border-radius: 0; background: none; box-shadow: none;
    mask-image: linear-gradient(90deg, #0000, #000 14px calc(100% - 14px), #0000);
  }
  .head { gap: 12px; margin-bottom: 16px; }
  .head__title { font-size: 28px; }
  .subtabs { order: 3; }
  .live__label { display: none; }
}
@media (max-width: 560px) {
  :root { --gut: 14px; }
  .card { padding: 16px; }
  .toasts { left: 12px; right: 12px; justify-items: stretch; }
  .toast { border-radius: 18px; }
  .modal, .modal.is-wide { width: 100vw; max-width: 100vw; margin: auto 0 0; }
  .modal__box { max-height: 92dvh; overflow-y: auto; border-radius: 26px 26px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  .modal__foot { position: sticky; bottom: 0; padding-top: 12px; background: var(--float); }
  .modal__foot .btn { flex: 1; }
  .sheet, .sheet.is-wide { width: 100vw; height: 100dvh; margin: 0 0 0 auto; }
  .sheet__box { border-radius: 0; }
  .pop { width: auto; right: 12px; left: 12px !important; }
}
@media (max-width: 374px) {
  .dock { gap: 0; padding: 4px; }
  .dock__btn { width: 40px; height: 40px; }
  .dock__sep { margin: 10px 2px; }
}
@media (pointer: coarse) {
  .icon-btn { width: 44px; height: 44px; }
  .btn { height: 44px; }
  .btn--sm { height: 38px; }
  .tab, .tabs__pill > span { padding-top: 12px; padding-bottom: 12px; }
  .subtab { padding-top: 11px; padding-bottom: 11px; }
  .seg button { min-height: 40px; }
  .seg--sm button { min-height: 34px; }
  .more-link, .link-btn { min-height: 32px; }
}
@media (pointer: coarse), (max-width: 720px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea { font-size: 16px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .mesh i { will-change: auto; }
  .live__dot::after { animation: none; }
}

/* troca de tema: as duas telas ficam como estão; tema.js desenha o círculo que abre */
::view-transition-old(root) { mix-blend-mode: normal; animation: none; }
::view-transition-new(root) { mix-blend-mode: normal; animation: none; }
