/* ETAL Connect · estilos do app.
   GERADO por scripts/app/montar-app.mjs a partir de prototipo/estilos/: não editar aqui. */

/* ===== estilos/00-base.css ===== */
/* estilos/00-base.css · variáveis, fontes e base.
   Parte do app.css, montado na ordem dos números (scripts/app/montar-app.mjs): a ordem importa, porque
   as partes mais novas refinam as anteriores. */
/* ETAL Connect · protótipo (proposta Crachá)
   Tipos: Geologica (títulos) + Onest (texto) + Anton (só campeonatos).
   Cores: azul NADIC, verde ETAL, âmbar para pendências. */
:root {
  --stage-bg: #e7ebf2;
  --stage-glow-top: #f7f9fc;
  --stage-glow-bottom: #d6dfec;
  --bg: #f4f6fa;
  --card: #ffffff;
  --ink: #1f2f57;
  --ink-2: #3d4b6b;
  --muted: #6a7896;
  --line: #e3e8f1;
  --navy: #22386f;
  --navy-2: #2c4785;
  --blue: #3a5a9b;
  --blue-50: #e8eef9;
  --green: #4f9e22;
  --green-50: #e6f3dc;
  --green-ink: #2f6f12;
  --accent-ink: #22386f;
  --tab: rgba(255, 255, 255, 0.96);
  --seg: rgba(230, 235, 243, 0.92);
  --line-2: #c8d2e4;
  --brand: #22386f;
  --amber-50: #fff1d6;
  --amber-ink: #8a5200;
  --red: #e0312b;
  --display: 'Geologica', 'Onest', system-ui, sans-serif;
  --ui: 'Onest', system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.4, 0.64, 1);
}
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
html,
body {
  height: 100%;
  margin: 0;
}
body {
  font: 15px/1.4 var(--ui);
  color: var(--ink);
  background: var(--stage-bg);
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
input {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 3px solid #7cc94a;
  outline-offset: 2px;
  border-radius: calc(10px * var(--rk, 1));
}

/* ===== estilos/01-palco-e-navegacao.css ===== */
/* estilos/01-palco-e-navegacao.css · moldura do celular, palco e navegação.
   Parte do app.css, montado na ordem dos números (scripts/app/montar-app.mjs): a ordem importa, porque
   as partes mais novas refinam as anteriores. */
/* ================= palco e aparelho ================= */
.stage {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px;
  background:
    radial-gradient(60% 50% at 20% 15%, var(--stage-glow-top) 0%, transparent 70%),
    radial-gradient(50% 60% at 85% 90%, var(--stage-glow-bottom) 0%, transparent 70%), var(--stage-bg);
}
.stage-note {
  margin: 0;
  font-size: 12.5px;
  color: #7c89a3;
}
.device {
  --w: 402px;
  --h: min(866px, calc(100vh - 92px));
  --h: min(866px, calc(100dvh - 92px));
  position: relative;
  width: var(--w);
  height: var(--h);
  padding: 11px;
  border-radius: 64px;
  flex: none;
  background: linear-gradient(
    150deg,
    #d9dfe8 0%,
    #8c97a8 14%,
    #3b4456 32%,
    #1f2633 50%,
    #3b4456 68%,
    #8c97a8 86%,
    #d9dfe8 100%
  );
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    inset 0 0 0 2.5px #1a1f2a,
    0 1px 0 1px #c5cdd9,
    0 50px 90px -40px rgba(23, 33, 58, 0.55),
    0 18px 30px -18px rgba(23, 33, 58, 0.35);
}
.hw {
  position: absolute;
  width: 4px;
  border-radius: 3px;
  background: linear-gradient(90deg, #5d6879, #aab4c3);
}
.hw-action {
  left: -3px;
  top: 140px;
  height: 30px;
}
.hw-vol1 {
  left: -3px;
  top: 196px;
  height: 60px;
}
.hw-vol2 {
  left: -3px;
  top: 268px;
  height: 60px;
}
.hw-power {
  right: -3px;
  top: 230px;
  height: 96px;
  background: linear-gradient(270deg, #5d6879, #aab4c3);
}
.screen {
  position: relative;
  height: 100%;
  border-radius: 53px;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 0 3px #07090d;
  isolation: isolate;
}
.statusbar {
  position: relative;
  z-index: 70;
  height: 54px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 30px 0 40px;
  font: 600 16px var(--ui);
  letter-spacing: -0.01em;
  background: var(--bg);
  color: var(--ink);
  transition:
    background 0.4s var(--ease),
    color 0.35s;
}
.island {
  position: absolute;
  left: 50%;
  top: 11px;
  width: 124px;
  height: 36px;
  margin-left: -62px;
  border-radius: 20px;
  background: #05070b;
}
.sb-icons {
  display: flex;
  gap: 6px;
  align-items: center;
}
.sb-icons svg {
  height: 12px;
  fill: currentColor;
}
.sb-icons svg:nth-child(1) {
  width: 18px;
}
.sb-icons svg:nth-child(2) {
  width: 16px;
}
.sb-icons svg:nth-child(3) {
  width: 27px;
}
.home-ind {
  position: absolute;
  z-index: 60;
  left: 50%;
  bottom: 8px;
  width: 136px;
  height: 5px;
  margin-left: -68px;
  border-radius: 5px;
  background: var(--ink);
  opacity: 0.85;
  pointer-events: none;
  transition: background 0.3s;
}
.device.dark-status .statusbar,
.device.ov-dark .statusbar {
  background: #0d0f16;
  color: #fff;
}
.device.ov-light .statusbar {
  background: #fff;
}
.device.ov-navy .statusbar {
  background: #14234f;
  color: #fff;
}
.device.ov-navy .home-ind {
  background: #fff;
}
.device.ov-dim .statusbar {
  background: #c7cbd3;
}
.device.ov-dark .home-ind,
.device.dark-status .home-ind {
  background: #fff;
}
.device.no-chrome .tabbar {
  transform: translateY(100%);
  height: 0;
  padding: 0;
  border: 0;
  opacity: 0;
}
.device.navy-status .statusbar {
  background: #1b2d5c;
  color: #fff;
}
.device.navy-status .home-ind {
  background: var(--ink-fixed, #1f2f57);
}
@media (max-width: 520px) {
  .stage {
    padding: 0;
    gap: 0;
  }
  .stage-note,
  .hw {
    display: none;
  }
  .device {
    --w: 100vw;
    --h: 100vh;
    --h: 100dvh;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    background: none;
  }
  .screen {
    border-radius: 0;
    box-shadow: none;
  }
  .statusbar {
    height: calc(env(safe-area-inset-top, 0px) + 10px);
    padding: 0;
    font-size: 0;
  }
  .statusbar * {
    display: none;
  }
  .home-ind {
    display: none;
  }
  .overlay {
    top: calc(env(safe-area-inset-top, 0px) + 10px);
  }
}

/* ================= navegação ================= */
.viewport {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.page {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--bg);
  scrollbar-width: none;
  display: flex;
  flex-direction: column;
}
.page::-webkit-scrollbar {
  display: none;
}
.page.in-push {
  animation: pushIn 0.42s var(--ease) both;
  z-index: 2;
  box-shadow: -20px 0 40px -20px rgba(31, 47, 87, 0.25);
}
.page.out-push {
  animation: pushOut 0.42s var(--ease) both;
}
.page.in-pop {
  animation: popIn 0.42s var(--ease) both;
}
.page.out-pop {
  animation: popOut 0.42s var(--ease) both;
  z-index: 2;
}
.page.in-fade {
  animation: fadeIn 0.26s ease both;
}
.page.out-fade {
  animation: fadeOut 0.2s ease both;
}
@keyframes pushIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: none;
  }
}
@keyframes pushOut {
  to {
    transform: translateX(-28%);
    filter: brightness(0.92);
  }
}
@keyframes popIn {
  from {
    transform: translateX(-28%);
    filter: brightness(0.92);
  }
  to {
    transform: none;
  }
}
@keyframes popOut {
  to {
    transform: translateX(100%);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes fadeOut {
  to {
    opacity: 0;
  }
}
.page:not(.still) .st {
  animation: rise 0.52s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 45ms + 60ms);
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.swap > * {
  animation: rise 0.38s var(--ease) both;
}
svg.swap {
  animation: fadeIn 0.3s ease both;
}

.tabbar {
  position: relative;
  z-index: 20;
  flex: none;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 84px;
  padding: 6px 10px 26px;
  background: var(--tab);
  border-top: 1px solid var(--line);
  transition:
    transform 0.45s var(--ease),
    opacity 0.3s;
}
.tabbar > button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 56px;
  font: 500 11px var(--ui);
  color: #8b97b0;
  transition: color 0.2s;
}
.tabbar > button .i {
  width: 23px;
  height: 23px;
  transition: transform 0.25s var(--spring);
}
.tabbar > button.on {
  color: var(--accent-ink);
  font-weight: 600;
}
.tabbar > button.on .i {
  transform: translateY(-1px);
}
.tabbar > button:active .i {
  transform: scale(0.88);
}
.tabbar .qrbtn {
  min-width: 0;
  width: 56px;
  height: 56px;
  border-radius: calc(19px * var(--rk, 1));
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  margin-top: -26px;
  box-shadow: 0 10px 18px -8px rgba(34, 56, 111, 0.6);
  transition: transform 0.2s var(--spring);
}
.tabbar .qrbtn .i {
  width: 26px;
  height: 26px;
}
.tabbar .qrbtn:active {
  transform: scale(0.92);
}

/* ===== estilos/02-pecas-comuns.css ===== */
/* estilos/02-pecas-comuns.css · peças comuns, botões, cartões e toast.
   Parte do app.css, montado na ordem dos números (scripts/app/montar-app.mjs): a ordem importa, porque
   as partes mais novas refinam as anteriores. */
/* ================= peças comuns ================= */
.i {
  width: 20px;
  height: 20px;
  flex: none;
}
.pad {
  padding: 4px 20px 28px;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.apphead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 52px;
  padding: 0 12px 0 20px;
  flex: none;
}
.bar {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  min-height: 52px;
  padding: 0 8px;
  flex: none;
}
.bar-title {
  margin: 0;
  text-align: center;
  font: 600 17px var(--display);
  letter-spacing: -0.01em;
}
.title {
  margin: 0;
  font: 600 30px/1 var(--display);
  letter-spacing: -0.03em;
}
.title-lg {
  margin: 0;
  font: 600 25px/1.15 var(--display);
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.h {
  margin: 0 0 -6px;
  font: 600 17px var(--display);
  letter-spacing: -0.01em;
}
.iconbtn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  transition:
    background 0.2s,
    transform 0.15s;
}
.iconbtn:active {
  transform: scale(0.9);
  background: rgba(31, 47, 87, 0.06);
}
.iconbtn.sm {
  width: 36px;
  height: 36px;
}
.iconbtn.sm .i {
  width: 18px;
  height: 18px;
}
.iconbtn.ghost {
  pointer-events: none;
}
.badge-dot {
  position: absolute;
  top: 10px;
  right: 11px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid var(--bg);
}
.wm {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
}
.wm b {
  font: 700 25px/1 var(--display);
  letter-spacing: -0.045em;
  color: var(--accent-ink);
}
.wm i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.wm > span {
  font: 500 14px var(--ui);
  color: var(--muted);
  margin-left: 2px;
}
.wm.sm b {
  font-size: 18px;
}
.wm.sm > span {
  font-size: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: calc(14px * var(--rk, 1));
  font-weight: 600;
  font-size: 15px;
  transition:
    transform 0.15s var(--ease),
    background 0.2s,
    opacity 0.2s;
}
.btn:active {
  transform: scale(0.97);
}
.btn .i {
  width: 19px;
  height: 19px;
}
.btn.big {
  padding: 15px 18px;
  font-size: 16px;
  border-radius: calc(16px * var(--rk, 1));
  width: 100%;
}
.btn.sm {
  padding: 8px 12px;
  font-size: 13.5px;
  border-radius: calc(11px * var(--rk, 1));
}
.btn.primary {
  background: var(--navy);
  color: #fff;
}
.btn.soft {
  background: var(--blue-50);
  color: var(--accent-ink);
}
.btn.ghost {
  color: var(--accent-ink);
}
.btn.done {
  background: var(--green-50);
  color: var(--green-ink);
}
.kind {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: calc(8px * var(--rk, 1));
}
.tag .i {
  width: 13px;
  height: 13px;
  stroke-width: 3;
}
.tag.ok {
  background: var(--green-50);
  color: var(--green-ink);
}
.desc {
  margin: 0;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.5;
}
.av {
  width: 48px;
  height: 48px;
  border-radius: calc(15px * var(--rk, 1));
  background: #fff;
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  font: 600 16px var(--display);
  flex: none;
}
.ava {
  width: 36px;
  height: 36px;
  border-radius: calc(11px * var(--rk, 1));
  background: var(--blue-50);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  font: 600 13px var(--display);
  flex: none;
}
.ava.lg {
  width: 44px;
  height: 44px;
  border-radius: calc(14px * var(--rk, 1));
  font-size: 15px;
}
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 48px 24px;
  color: var(--muted);
}
.empty .i {
  width: 30px;
  height: 30px;
}
.empty p {
  margin: 0;
  max-width: 26ch;
}

/* toast */
.toast {
  position: absolute;
  z-index: 80;
  left: 50%;
  bottom: 104px;
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  background: #141c33;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 11px 16px;
  border-radius: calc(14px * var(--rk, 1));
  white-space: nowrap;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
}
.toast.show {
  animation: toast 2.2s var(--ease) both;
}
@keyframes toast {
  0% {
    opacity: 0;
    transform: translate(-50%, 16px);
  }
  12%,
  85% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 8px);
  }
}
.device.no-chrome .toast {
  bottom: 40px;
}

/* ===== estilos/03-entrada-e-cracha.css ===== */
/* estilos/03-entrada-e-cracha.css · entrada e crachá do início.
   Parte do app.css, montado na ordem dos números (scripts/app/montar-app.mjs): a ordem importa, porque
   as partes mais novas refinam as anteriores. */
/* ================= login ================= */
.suap-logo {
  height: 46px;
  width: auto;
  display: block;
}
.login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.field > span {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.field input {
  width: 100%;
  border: 1.5px solid var(--line);
  background: #f8fafd;
  border-radius: calc(15px * var(--rk, 1));
  padding: 15px 16px;
  font-size: 16px;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.field input:focus {
  outline: 0;
  border-color: var(--blue);
  background: #fff;
}
.pwd {
  position: relative;
}
.pwd input {
  padding-right: 52px;
}
.pwd .iconbtn {
  position: absolute;
  right: 6px;
  top: 50%;
  margin-top: -18px;
  color: var(--muted);
}
.link-sm {
  align-self: flex-start;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue);
  margin: -4px 0 8px;
}
.btn .spin {
  display: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}
.btn.loading span {
  display: none;
}
.btn.loading .spin {
  display: block;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ================= crachá (início) ================= */
.badge {
  border-radius: calc(26px * var(--rk, 1));
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  box-shadow: 0 18px 30px -22px rgba(34, 56, 111, 0.8);
}
.badge::before,
.passcard::before {
  content: '';
  position: absolute;
  right: -18px;
  top: -10px;
  width: 170px;
  height: 150px;
  z-index: -1;
  opacity: 0.08;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='45'%3E%3Cpath d='M13 0l13 7.5v15L13 30 0 22.5v-15zM13 30v15' fill='none' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E");
}
.badge-card {
  display: block;
  width: 100%;
  text-align: left;
  padding: 18px 18px 16px;
  color: #fff;
}
.b-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.b-mark {
  font: 700 17px/1 var(--display);
  letter-spacing: -0.04em;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.b-mark i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7cc94a;
}
.pins {
  width: 38px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.7);
  stroke-width: 1.8;
  opacity: 0.75;
}
.b-id {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
}
.b-name {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.b-name strong {
  font: 600 18px/1.2 var(--display);
  letter-spacing: -0.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.b-name span {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.76);
  margin-top: 2px;
}
.b-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 13px 16px 13px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s;
}
.b-strip:active {
  background: rgba(255, 255, 255, 0.06);
}
.b-strip .dot {
  width: 32px;
  height: 32px;
  padding: 7px;
  border-radius: calc(10px * var(--rk, 1));
}
.b-strip span {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.b-strip b {
  font-size: 14.5px;
  font-weight: 600;
}
.b-strip small {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.76);
}
.b-strip > .i:last-child {
  color: rgba(255, 255, 255, 0.76);
  width: 18px;
}
.b-strip.pend {
  background: rgba(255, 255, 255, 0.07);
}
.b-strip.pend .dot {
  background: #ffd27a;
  color: #5c3700;
}
.b-strip.ok .dot {
  background: #7cc94a;
  color: #173b06;
  stroke-width: 3;
}

.now {
  background: var(--card);
  border-radius: calc(22px * var(--rk, 1));
  padding: 16px 16px 14px;
  box-shadow:
    0 1px 2px rgba(31, 47, 87, 0.05),
    0 8px 22px -14px rgba(31, 47, 87, 0.25);
  cursor: pointer;
  transition: transform 0.2s var(--ease);
}
.now:active {
  transform: scale(0.985);
}
.now-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.now h3 {
  font: 600 18.5px/1.25 var(--display);
  letter-spacing: -0.015em;
  margin: 8px 0 10px;
}
.now .m {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 5px 0;
  font-size: 14px;
  color: var(--ink-2);
}
.now .m .i {
  width: 17px;
  height: 17px;
  color: var(--blue);
}
.now-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.now-actions .btn:first-child {
  flex: 1;
}
.row-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 15px 16px;
  border-radius: calc(18px * var(--rk, 1));
  background: var(--card);
  font-size: 14.5px;
  text-align: left;
}
.row-link .i {
  color: var(--muted);
  width: 18px;
}

/* ===== estilos/04-agenda-e-atividade.css ===== */
/* estilos/04-agenda-e-atividade.css · agenda e atividade (primeira versão).
   Parte do app.css, montado na ordem dos números (scripts/app/montar-app.mjs): a ordem importa, porque
   as partes mais novas refinam as anteriores. */
/* ================= agenda ================= */
.days {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.days button {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 9px 0 8px;
  border-radius: calc(16px * var(--rk, 1));
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.3s;
}
.days button b {
  font: 600 21px/1.15 var(--display);
  color: var(--ink);
  transition: color 0.3s;
}
.days button:not(.on) {
  background: var(--card);
}
.days button.on {
  color: rgba(255, 255, 255, 0.76);
}
.days button.on b {
  color: #fff;
}
.days-ind {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 0;
  width: calc((100% - 16px) / 3);
  border-radius: calc(16px * var(--rk, 1));
  background: var(--navy);
  transform: translateX(calc(var(--k) * (100% + 8px)));
  transition: transform 0.4s var(--ease);
}
.chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: -4px -20px 0;
  padding: 0 20px;
}
.chips button {
  flex: none;
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: calc(999px * var(--rk, 1));
  background: var(--card);
  color: var(--muted);
  transition:
    background 0.2s,
    color 0.2s;
}
.chips button.on {
  background: var(--blue-50);
  color: var(--accent-ink);
  font-weight: 600;
}
.agenda-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.slot {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 8px;
}
.slot time {
  font: 600 14px var(--display);
  padding-top: 15px;
}
.ag {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ag li {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  align-items: flex-start;
  background: var(--card);
  border-radius: calc(18px * var(--rk, 1));
  padding: 13px 6px 13px 15px;
  cursor: pointer;
  transition: transform 0.2s var(--ease);
}
.ag li:active {
  transform: scale(0.985);
}
.ag li.mine {
  box-shadow: inset 3px 0 0 var(--navy);
}
.ag h4 {
  font: 600 15px/1.25 var(--display);
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.ag p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.bm {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #a8b3c8;
  border-radius: 50%;
  flex: none;
}
.bm .i {
  width: 19px;
  height: 19px;
  transition: transform 0.3s var(--spring);
}
.bm.on {
  color: var(--accent-ink);
}
.bm.on .i {
  fill: currentColor;
}
.bm:active .i {
  transform: scale(0.8);
}

/* ================= atividade ================= */
.detail {
  gap: 14px;
}
.teacher {
  display: flex;
  align-items: center;
  gap: 12px;
}
.teacher > span:nth-child(2) {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.teacher b {
  font-size: 15px;
  font-weight: 600;
}
.teacher small {
  font-size: 13px;
  color: var(--muted);
}
.teacher .time {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}
.info {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.info li {
  display: flex;
  gap: 10px;
  align-items: center;
}
.info .i {
  width: 18px;
  height: 18px;
  color: var(--blue);
}
.mapthumb {
  position: relative;
  display: block;
  width: 100%;
  height: 118px;
  border-radius: calc(18px * var(--rk, 1));
  overflow: hidden;
  background: var(--card);
}
.mapthumb .thumb {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}
.mapthumb > span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--card);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-ink);
  padding: 7px 11px;
  border-radius: calc(11px * var(--rk, 1));
  box-shadow: 0 3px 10px rgba(31, 47, 87, 0.18);
}
.mapthumb > span .i {
  width: 15px;
  height: 15px;
}
.locked {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 13.5px;
  color: var(--muted);
  background: var(--card);
  border-radius: calc(16px * var(--rk, 1));
  padding: 14px;
}
.cta-bar {
  position: sticky;
  bottom: 0;
  margin-top: auto;
  padding: 12px 20px 16px;
  background: linear-gradient(transparent, var(--bg) 30%);
}

/* aula aberta */
.co-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.class-open {
  gap: 14px;
}
.sendpc {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border-radius: calc(18px * var(--rk, 1));
  background: var(--navy);
  color: #fff;
  transition: transform 0.2s var(--ease);
}
.sendpc:active {
  transform: scale(0.985);
}
.sp-ic {
  width: 38px;
  height: 38px;
  border-radius: calc(12px * var(--rk, 1));
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
}
.sendpc > span:nth-child(2) {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.sendpc b {
  font-size: 15px;
  font-weight: 600;
}
.sendpc small {
  font:
    500 12.5px ui-monospace,
    SFMono-Regular,
    monospace;
  color: rgba(255, 255, 255, 0.76);
}
.sendpc > .i:last-child {
  color: rgba(255, 255, 255, 0.76);
  width: 18px;
}
.mats {
  list-style: none;
  margin: 0;
  padding: 4px 6px 4px 14px;
  background: var(--card);
  border-radius: calc(20px * var(--rk, 1));
}
.mat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.mat:first-child {
  border-top: 0;
}
.mat-ic {
  width: 38px;
  height: 38px;
  border-radius: calc(12px * var(--rk, 1));
  display: grid;
  place-items: center;
  flex: none;
}
.mat-ic .i {
  width: 19px;
  height: 19px;
}
.mat-ic.pdf {
  background: #fde8e6;
  color: #b4372f;
}
.mat-ic.link {
  background: var(--blue-50);
  color: var(--blue);
}
.mat-ic.zip {
  background: #fff1d6;
  color: #8a5200;
}
.mat-tx {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.mat-tx b {
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mat-tx small {
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mat-tx em {
  font-style: normal;
  color: var(--green-ink);
  font-weight: 600;
}
.mat .iconbtn {
  color: var(--accent-ink);
}
.block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.learn {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.learn li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.learn .i {
  width: 18px;
  height: 18px;
  color: var(--green);
  stroke-width: 2.6;
  margin-top: 1px;
}

/* ===== estilos/05-mapa-credencial-e-perfil.css ===== */
/* estilos/05-mapa-credencial-e-perfil.css · mapa, credencial, avisos e perfil.
   Parte do app.css, montado na ordem dos números (scripts/app/montar-app.mjs): a ordem importa, porque
   as partes mais novas refinam as anteriores. */
/* ================= mapa ================= */
.map-screen {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.map-top {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: 0;
  padding: 4px 14px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.search {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 13px 15px;
  border-radius: calc(16px * var(--rk, 1));
  font-size: 15px;
  background: var(--card);
  color: #8593ad;
  box-shadow: 0 4px 14px -6px rgba(31, 47, 87, 0.25);
}
.search .i {
  width: 18px;
  height: 18px;
}
.seg {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 4px;
  border-radius: calc(14px * var(--rk, 1));
  background: var(--seg);
  backdrop-filter: blur(8px);
}
.seg button {
  position: relative;
  z-index: 1;
  padding: 8px 0;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.3s;
}
.seg button.on {
  color: var(--accent-ink);
  font-weight: 600;
}
.seg-ind {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 8px) / 3);
  border-radius: calc(10px * var(--rk, 1));
  background: var(--card);
  box-shadow: 0 1px 4px rgba(31, 47, 87, 0.15);
  transform: translateX(calc(var(--k) * 100%));
  transition: transform 0.4s var(--ease);
}
.map-wrap {
  position: absolute;
  inset: 0;
  touch-action: none;
  background: var(--bg);
}
.map-wrap .plan {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
}
.map-wrap .plan:active {
  cursor: grabbing;
}
.plan.ease {
  transition: none;
}
.hit {
  fill: transparent;
  stroke: transparent;
  stroke-width: 3;
  cursor: pointer;
  transition:
    fill 0.25s,
    stroke 0.25s;
}
.hit:hover {
  fill: rgba(58, 90, 155, 0.07);
}
.hit.sel {
  stroke: var(--blue);
  fill: rgba(58, 90, 155, 0.08);
  stroke-dasharray: none;
}
.route {
  stroke-dasharray: 0.1 7;
}
.route.draw {
  animation: dash 1.6s var(--ease) both;
}
@keyframes dash {
  from {
    stroke-dashoffset: 300;
    opacity: 0.2;
  }
  to {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}
.map-ctrl {
  position: absolute;
  right: 14px;
  top: 132px;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: calc(14px * var(--rk, 1));
  box-shadow: 0 4px 14px -6px rgba(31, 47, 87, 0.3);
}
.map-ctrl .iconbtn {
  border-radius: calc(14px * var(--rk, 1));
  color: var(--accent-ink);
}
.sheet-card {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--card);
  border-radius: calc(26px * var(--rk, 1)) calc(26px * var(--rk, 1)) 0 0;
  padding: 8px 20px 18px;
  box-shadow: 0 -12px 30px -16px rgba(31, 47, 87, 0.35);
  animation: sheetUp 0.45s var(--ease) both;
}
@keyframes sheetUp {
  from {
    transform: translateY(40%);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.page.still .sheet-card {
  animation: none;
}
.grab {
  display: block;
  width: 38px;
  height: 5px;
  border-radius: calc(5px * var(--rk, 1));
  margin: 0 auto 12px;
  background: #d3dae7;
}
.sh-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.sh-top strong {
  display: block;
  font: 600 23px/1.1 var(--display);
  letter-spacing: -0.02em;
}
.sh-top small {
  font-size: 13.5px;
  color: var(--muted);
}
.sh-acts {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}
.sh-acts li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
}
.sh-acts li span {
  display: flex;
  flex-direction: column;
}
.sh-acts b {
  font-size: 14.5px;
  font-weight: 600;
}
.sh-acts small {
  font-size: 12.5px;
  color: var(--muted);
}
.sh-acts .i {
  color: #a8b3c8;
  width: 18px;
}
.sh-how {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--ink-2);
  margin-top: 12px;
}
.sh-how:empty {
  display: none;
}
.sh-how .i {
  color: var(--blue);
}
.sheet-card .btn {
  width: 100%;
  margin-top: 14px;
}
.sh-hint {
  margin: 2px 0 6px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

/* ================= credencial ================= */
.cred {
  gap: 18px;
  padding-top: 8px;
}
.passcard {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: calc(30px * var(--rk, 1));
  background: var(--navy);
  color: #fff;
  padding: 20px 20px 18px;
  box-shadow: 0 24px 40px -26px rgba(34, 56, 111, 0.9);
}
.pass-id {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 16px 0 18px;
}
.av.xl {
  width: 64px;
  height: 64px;
  border-radius: calc(20px * var(--rk, 1));
  font-size: 21px;
  margin-bottom: 12px;
}
.pass-id strong {
  font: 600 21px/1.2 var(--display);
  letter-spacing: -0.015em;
}
.pass-id span {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.76);
  margin-top: 2px;
}
.qrbox {
  position: relative;
  background: #fff;
  border-radius: calc(22px * var(--rk, 1));
  padding: 16px;
  width: 212px;
  margin: 0 auto;
}
.qrcode {
  display: block;
  width: 100%;
  height: auto;
}
.pending .qrcode {
  filter: blur(5px);
  opacity: 0.5;
}
.qr-lock {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--accent-ink);
}
.qr-lock .i {
  width: 34px;
  height: 34px;
  padding: 8px;
  box-sizing: content-box;
  background: #fff;
  border-radius: calc(16px * var(--rk, 1));
  box-shadow: 0 4px 14px rgba(31, 47, 87, 0.2);
}
.pass-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
}
.state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: calc(9px * var(--rk, 1));
}
.state .i {
  width: 14px;
  height: 14px;
  stroke-width: 3;
}
.state.ok {
  background: #7cc94a;
  color: #173b06;
}
.state.pend {
  background: #ffd27a;
  color: #5c3700;
}
.mono {
  font:
    500 13px ui-monospace,
    SFMono-Regular,
    monospace;
  color: rgba(255, 255, 255, 0.76);
}
.note {
  margin: 0;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

/* ================= avisos e perfil ================= */
.notes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.notes li {
  background: var(--card);
  border-radius: calc(18px * var(--rk, 1));
  padding: 15px 16px;
}
.notes li.fresh {
  box-shadow: inset 3px 0 0 var(--green);
}
.notes time {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 500;
}
.notes h4 {
  font: 600 15.5px/1.25 var(--display);
  margin: 3px 0 5px;
}
.notes p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
}
.me {
  display: flex;
  gap: 14px;
  align-items: center;
}
.av.lg {
  width: 64px;
  height: 64px;
  border-radius: calc(20px * var(--rk, 1));
  background: var(--navy);
  color: #fff;
  font-size: 21px;
}
.me > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.me strong {
  font: 600 18.5px/1.2 var(--display);
  letter-spacing: -0.015em;
}
.me span {
  font-size: 13.5px;
  color: var(--muted);
}
.menu {
  list-style: none;
  margin: 0;
  padding: 2px 14px 2px 16px;
  background: var(--card);
  border-radius: calc(20px * var(--rk, 1));
}
.menu li {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  cursor: pointer;
}
.menu li:first-child {
  border-top: 0;
}
.menu li > .i:first-child {
  color: var(--blue);
}
.menu li > span {
  flex: 1;
}
.menu em {
  font-style: normal;
  font-size: 13.5px;
  color: var(--muted);
}
.menu .chev {
  width: 17px;
  height: 17px;
  color: #a8b3c8;
}
.menu.danger li,
.menu.danger li > .i:first-child {
  color: #b4372f;
}
.games-row > .i:first-child {
  color: #c2410c !important;
}

/* ===== estilos/06-sobreposicoes-e-campeonatos.css ===== */
/* estilos/06-sobreposicoes-e-campeonatos.css · sobreposições e campeonatos (primeira versão).
   Parte do app.css, montado na ordem dos números (scripts/app/montar-app.mjs): a ordem importa, porque
   as partes mais novas refinam as anteriores. */
/* ================= overlays ================= */
.overlay {
  position: absolute;
  inset: 0;
  z-index: 50;
  pointer-events: none;
}
.overlay.open {
  pointer-events: auto;
}
.ov-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 18, 36, 0.45);
  opacity: 0;
  transition: opacity 0.35s;
}
.overlay.open .ov-backdrop {
  opacity: 1;
}
.ov-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  transition:
    transform 0.45s var(--ease),
    opacity 0.35s;
}
.overlay.scan .ov-panel,
.overlay.welcome .ov-panel {
  top: 0;
}
.overlay {
  top: 54px;
}
@media (max-width: 520px) {
  .overlay {
    top: calc(env(safe-area-inset-top, 0px) + 10px);
  }
}
.overlay.scan .ov-panel {
  transform: translateY(100%);
}
.overlay.welcome .ov-panel {
  opacity: 0;
  transform: scale(1.04);
}
.overlay.share .ov-panel {
  transform: translateY(100%);
}
.overlay.open .ov-panel {
  transform: none;
  opacity: 1;
}
.overlay.scan .ov-backdrop,
.overlay.welcome .ov-backdrop {
  display: none;
}

.scanner {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #0b0f1c;
  color: #fff;
}
.cam {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  overflow: hidden;
  background: radial-gradient(80% 55% at 50% 42%, #39445f 0%, #181e30 60%, #0b0f1c 100%);
}
.cam-noise {
  position: absolute;
  inset: -20%;
  opacity: 0.25;
  background: repeating-radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 6px);
  animation: drift 8s linear infinite;
}
@keyframes drift {
  to {
    transform: translate(4%, 3%);
  }
}
.cam-top {
  position: absolute;
  top: 10px;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
}
.round {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
}
.frame {
  width: 232px;
  height: 232px;
  position: relative;
  transition: transform 0.35s var(--spring);
}
.frame > i {
  position: absolute;
  width: 48px;
  height: 48px;
  border: 4px solid #fff;
  transition: border-color 0.25s;
}
.frame > i:nth-child(1) {
  top: 0;
  left: 0;
  border-right: 0;
  border-bottom: 0;
  border-radius: calc(20px * var(--rk, 1)) 0 0 0;
}
.frame > i:nth-child(2) {
  top: 0;
  right: 0;
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 calc(20px * var(--rk, 1)) 0 0;
}
.frame > i:nth-child(3) {
  bottom: 0;
  left: 0;
  border-right: 0;
  border-top: 0;
  border-radius: 0 0 0 calc(20px * var(--rk, 1));
}
.frame > i:nth-child(4) {
  bottom: 0;
  right: 0;
  border-left: 0;
  border-top: 0;
  border-radius: 0 0 calc(20px * var(--rk, 1)) 0;
}
.scanline {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 20px;
  height: 2px;
  border-radius: calc(2px * var(--rk, 1));
  background: linear-gradient(90deg, transparent, #8fdc5c, transparent);
  animation: scan 2.2s ease-in-out infinite alternate;
}
@keyframes scan {
  to {
    top: calc(100% - 22px);
  }
}
.frame-ok {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.35s var(--spring);
}
.frame-ok .i {
  width: 64px;
  height: 64px;
  padding: 14px;
  box-sizing: content-box;
  border-radius: 50%;
  background: #7cc94a;
  color: #0f2a05;
  stroke-width: 3;
}
.frame.ok {
  transform: scale(0.94);
}
.frame.ok > i {
  border-color: #7cc94a;
}
.frame.ok .scanline {
  opacity: 0;
}
.frame.ok .frame-ok {
  opacity: 1;
  transform: none;
}
.cam-hint {
  position: relative;
  margin: 0;
  font-size: 15px;
  color: #d6dcea;
}
.cam-sheet {
  background: var(--card);
  color: var(--ink);
  border-radius: calc(26px * var(--rk, 1)) calc(26px * var(--rk, 1)) 0 0;
  padding: 18px 20px 34px;
}
.sim-label {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.sim {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.sim button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 4px;
  border-radius: calc(16px * var(--rk, 1));
  background: var(--bg);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-ink);
  transition: transform 0.15s;
}
.sim button:active {
  transform: scale(0.95);
}

@keyframes pop {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

.sheet {
  background: var(--card);
  border-radius: calc(28px * var(--rk, 1)) calc(28px * var(--rk, 1)) 0 0;
  padding: 10px 22px 38px;
}
.sheet h2 {
  margin: 0;
  font: 600 21px var(--display);
  letter-spacing: -0.02em;
}
.sh-p {
  margin: 6px 0 16px;
  color: var(--muted);
  font-size: 14.5px;
}
.shortlink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 10px 10px 16px;
  border-radius: calc(16px * var(--rk, 1));
  background: var(--bg);
}
.shortlink b {
  font:
    600 18px ui-monospace,
    SFMono-Regular,
    monospace;
  color: var(--accent-ink);
  letter-spacing: -0.01em;
}
.share-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}
.share-row button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px;
  border-radius: calc(14px * var(--rk, 1));
  border: 1.5px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-ink);
}

/* ================= campeonatos ================= */
.poster {
  position: relative;
  display: block;
  width: 100%;
  height: 200px;
  border-radius: calc(26px * var(--rk, 1));
  overflow: hidden;
  text-align: left;
  color: #fff;
  isolation: isolate;
  transition: transform 0.25s var(--ease);
}
.poster:active {
  transform: scale(0.98);
}
.poster .art,
.tour-hero .art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.poster .art {
  transition: transform 0.6s var(--ease);
}
.poster:hover .art {
  transform: scale(1.04);
}
.poster-tx {
  position: absolute;
  left: 18px;
  top: 18px;
  right: 18px;
  display: flex;
  flex-direction: column;
}
.p-name {
  font:
    400 44px/0.92 'Anton',
    Impact,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  max-width: 9ch;
}
.p-tag {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.85;
}
.poster-foot {
  position: absolute;
  left: 18px;
  right: 14px;
  bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
}
.faces {
  display: flex;
}
.faces i {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-left: -8px;
  display: grid;
  place-items: center;
  font: 600 10.5px var(--display);
  font-style: normal;
  border: 2px solid rgba(0, 0, 0, 0.25);
  background: #fff;
  color: #1f2f57;
}
.mk .faces i {
  background: #ffd5c2;
  color: #5a0d10;
}
.fifa .faces i {
  background: #e9ffe9;
  color: #14491f;
}
.faces i:last-child {
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
}

.tour {
  min-height: 100%;
  color: #fff;
}
.tour.mk {
  background: #140a0d;
}
.tour.fifa {
  background: #0b1f12;
}
.tour-hero {
  position: relative;
  height: 230px;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.tour-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 90px;
  z-index: -1;
}
.tour.mk .tour-hero::after {
  background: linear-gradient(transparent, #140a0d);
}
.tour.fifa .tour-hero::after {
  background: linear-gradient(transparent, #0b1f12);
}
.bar.on-dark .iconbtn:not(.ghost) {
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
  color: #fff;
}
.tour-title {
  padding: 0 20px 14px;
  display: flex;
  flex-direction: column;
}
.tour-title .p-name {
  font-size: 52px;
  max-width: none;
}
.tour-meta {
  font-size: 13.5px;
  opacity: 0.85;
  margin-top: 6px;
}
.tour-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 6px 20px 0;
  padding: 4px;
  border-radius: calc(14px * var(--rk, 1));
  background: rgba(255, 255, 255, 0.08);
}
.tour-tabs button {
  position: relative;
  z-index: 1;
  padding: 9px 0;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s;
}
.tour-tabs button.on {
  color: #140a0d;
}
.tour.fifa .tour-tabs button.on {
  color: #0b1f12;
}
.tour-tabs .seg-ind {
  background: var(--card);
}
.tour-body {
  padding: 18px 0 30px;
}
.bracket {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  padding: 0 20px 6px;
  scroll-padding-left: 20px;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}
.bk-round {
  flex: none;
  width: 170px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-snap-align: start;
}
.bk-round.r2 {
  justify-content: space-around;
  padding: 38px 0;
}
.bk-round.r3 {
  justify-content: center;
}
.bk-round h3 {
  margin: 0 0 2px;
  font:
    400 15px 'Anton',
    Impact,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.65;
}
.match {
  position: relative;
  border-radius: calc(16px * var(--rk, 1));
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 10px;
}
.match time {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  opacity: 0.6;
  margin-bottom: 4px;
}
.match time .i {
  width: 13px;
  height: 13px;
}
.pl {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}
.pl i {
  width: 24px;
  height: 24px;
  border-radius: calc(8px * var(--rk, 1));
  display: grid;
  place-items: center;
  font: 600 10px var(--display);
  font-style: normal;
  flex: none;
}
.mk .pl i {
  background: #ff5a2a;
  color: #1a0709;
}
.fifa .pl i {
  background: #7cd36b;
  color: #0b1f12;
}
.pl b {
  font-size: 14px;
  font-weight: 600;
}
.tbd .pl i {
  background: rgba(255, 255, 255, 0.12) !important;
}
.tbd .pl b {
  opacity: 0.45;
  font-weight: 500;
}
.match:not(.final)::after {
  content: '';
  position: absolute;
  right: -27px;
  top: 50%;
  width: 26px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.18);
}
.r2 .match::after {
  right: -27px;
}
.final {
  border-color: rgba(255, 213, 120, 0.45);
  background: rgba(255, 213, 120, 0.08);
}
.final time {
  color: #ffd57a;
  opacity: 1;
}
.players {
  list-style: none;
  margin: 0;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.players li {
  border-radius: calc(18px * var(--rk, 1));
  padding: 14px;
  background: rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.players i {
  width: 36px;
  height: 36px;
  border-radius: calc(12px * var(--rk, 1));
  display: grid;
  place-items: center;
  font: 600 12px var(--display);
  font-style: normal;
  margin-bottom: 8px;
}
.mk .players i {
  background: #ff5a2a;
  color: #1a0709;
}
.fifa .players i {
  background: #7cd36b;
  color: #0b1f12;
}
.players b {
  font:
    400 20px/1 'Anton',
    Impact,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.players small {
  font-size: 12.5px;
  opacity: 0.6;
}
.rules {
  margin: 0 20px;
  border-radius: calc(18px * var(--rk, 1));
  background: rgba(255, 255, 255, 0.07);
  padding: 4px 16px;
}
.rules div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}
.rules div:first-child {
  border-top: 0;
}
.rules dt {
  opacity: 0.6;
}
.rules dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}
.tour .desc {
  color: rgba(255, 255, 255, 0.75);
  padding: 16px 20px 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== estilos/07-tema-escuro-e-marca.css ===== */
/* estilos/07-tema-escuro-e-marca.css · tema escuro e marca.
   Parte do app.css, montado na ordem dos números (scripts/app/montar-app.mjs): a ordem importa, porque
   as partes mais novas refinam as anteriores. */
/* ================= tema escuro ================= */
:root[data-theme='dark'] {
  --stage-bg: #080e1c;
  --stage-glow-top: #15223b;
  --stage-glow-bottom: #101b30;
  --bg: #0e1932;
  --card: #182648;
  --ink: #e8eefb;
  --ink-2: #c3cee6;
  --muted: #94a4c6;
  --line: #27365e;
  --line-2: #3a4c7c;
  --navy: #2d4b8e;
  --blue: #8fb0ee;
  --blue-50: #24365f;
  --green-50: #21401a;
  --green-ink: #a5e07f;
  --accent-ink: #c3d6ff;
  --tab: rgba(19, 31, 60, 0.97);
  --seg: rgba(24, 38, 72, 0.92);
  --brand: #3f64b5;
  --amber-50: #46361a;
  --amber-ink: #ffd27a;
  color-scheme: dark;
}
[data-theme='dark'] .now,
[data-theme='dark'] .row-link {
  box-shadow: none;
}
[data-theme='dark'] .mat-ic.pdf {
  background: #4a2422;
  color: #ffb4ae;
}
[data-theme='dark'] .mat-ic.zip {
  background: #46361a;
  color: #ffd27a;
}
[data-theme='dark'] .menu.danger li,
[data-theme='dark'] .menu.danger li > .i:first-child {
  color: #ff9b93;
}

.device.text-lg .viewport {
  zoom: 1.1;
}
.device.text-xl .viewport {
  zoom: 1.2;
}

/* ================= marca ================= */
.mark {
  display: block;
  overflow: visible;
}
.mark.xs {
  width: 14px;
  height: 25px;
  flex: none;
}
.wm {
  align-items: center;
  gap: 5px;
}
.wm .mark.xs {
  width: 15px;
  height: 27px;
}
.wm b {
  color: var(--accent-ink);
}
.badge-num {
  position: absolute;
  top: 5px;
  right: 4px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: calc(9px * var(--rk, 1));
  background: var(--red);
  color: #fff;
  font: 600 10.5px/17px var(--ui);
  text-decoration: none;
  text-align: center;
  border: 0;
}

/* ===== estilos/08-login-e-inicio.css ===== */
/* estilos/08-login-e-inicio.css · login e início.
   Parte do app.css, montado na ordem dos números (scripts/app/montar-app.mjs): a ordem importa, porque
   as partes mais novas refinam as anteriores. */
/* ================= login ================= */
.login {
  --card: #fff;
  --bg: #f4f6fa;
  --ink: #1f2f57;
  --ink-2: #3d4b6b;
  --muted: #6a7896;
  --line: #e3e8f1;
  --blue: #3a5a9b;
  --navy: #22386f;
  --accent-ink: #22386f;
  position: relative;
  flex: 1;
  min-height: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #f2f5fa;
  color: var(--ink);
}
.suap {
  display: block;
  width: 96px;
  height: auto;
  flex: none;
}
.login-form {
  gap: 12px;
}
.field input {
  background: #f5f7fb;
  border-radius: calc(15px * var(--rk, 1));
  padding: 13px 15px;
  color: #1f2f57;
}
.field input::placeholder {
  color: #97a3ba;
}
.login .field > span {
  color: var(--ink-2);
}
.lg-err {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.35;
  color: #b4372f;
  font-weight: 500;
}
.lg-err[hidden] {
  display: none;
}
.login .btn.primary {
  background: #22386f;
  color: #fff;
}
.login .btn.ghost {
  color: #22386f;
  padding: 6px;
}
.btn[hidden] {
  display: none;
}
.btn:disabled {
  opacity: 0.92;
}

/* ================= início ================= */
.home {
  gap: 16px;
  padding-bottom: 30px;
}
.sec {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 6px 0 -6px;
}
.sec h2 {
  margin: 0;
  font: 600 18px var(--display);
  letter-spacing: -0.015em;
  color: var(--ink);
}
.sec span {
  font-size: 12.5px;
  color: var(--muted);
}
.sec button {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue);
}
.badge {
  background: var(--navy);
  transition: none;
}
.flip {
  display: block;
  perspective: 900px;
  cursor: pointer;
  border-radius: calc(26px * var(--rk, 1)) calc(26px * var(--rk, 1)) 0 0;
}
.flip-in {
  position: relative;
  height: 156px;
  transform-style: preserve-3d;
  transition: transform 0.7s var(--ease);
}
.flip.flipped .flip-in {
  transform: rotateY(180deg);
}
.face {
  position: absolute;
  inset: 0;
  padding: 15px 18px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  color: #fff;
}
.face.back {
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  gap: 14px;
}
.b-mark {
  gap: 6px;
  align-items: center;
  font-size: 17px;
}
.b-id {
  margin-top: 10px;
  gap: 13px;
}
.av.has-photo,
.ava.has-photo {
  overflow: hidden;
  background: #fff;
  padding: 0;
}
.av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.b-id .av {
  width: 54px;
  height: 54px;
  border-radius: calc(17px * var(--rk, 1));
}
.b-name strong {
  font-size: 18.5px;
  white-space: normal;
  line-height: 1.15;
}
.b-name span {
  font-size: 13px;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.9);
}
.b-name small {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.76);
  margin-top: 2px;
}
.b-meta {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 10px;
  display: none;
}
.back-qr {
  position: relative;
  width: 118px;
  height: 118px;
  flex: none;
  background: #fff;
  border-radius: calc(16px * var(--rk, 1));
  padding: 8px;
}
.back-qr .qrcode {
  width: 100%;
  height: 100%;
}
.locked-qr .qrcode {
  filter: blur(4px);
  opacity: 0.5;
}
.back-qr > i {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--navy);
}
.back-tx {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.back-tx b {
  font: 600 16px var(--display);
}
.back-tx span {
  font-size: 12.5px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.76);
}
.back-tx small {
  font:
    500 11.5px ui-monospace,
    SFMono-Regular,
    monospace;
  color: rgba(255, 255, 255, 0.76);
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.b-strip.ok .dot {
  background: #7cc94a;
}
.quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 2px;
  background: var(--card);
  border-radius: calc(22px * var(--rk, 1));
  padding: 14px 6px 12px;
}
.quick button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
  transition: transform 0.15s var(--ease);
}
.quick button:active {
  transform: scale(0.93);
}
.quick span {
  width: 44px;
  height: 44px;
  border-radius: calc(14px * var(--rk, 1));
  display: grid;
  place-items: center;
  background: var(--blue-50);
  color: var(--accent-ink);
}
.quick em {
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
}
.now-sp {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -2px 0 10px;
  font-size: 14px;
  font-weight: 500;
}
.now-sp .ava {
  width: 28px;
  height: 28px;
  border-radius: calc(9px * var(--rk, 1));
  font-size: 11px;
}
.now .kind {
  font-size: 12.5px;
}
.rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin: -4px -20px 0;
  padding: 0 20px 2px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  scroll-padding-left: 20px;
}
.rail::-webkit-scrollbar,
.people::-webkit-scrollbar {
  display: none;
}
.mini {
  flex: none;
  width: 188px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  background: var(--card);
  border-radius: calc(18px * var(--rk, 1));
  padding: 13px 14px;
  transition: transform 0.15s var(--ease);
}
.mini:active {
  transform: scale(0.98);
}
.mini b {
  font: 600 15px/1.2 var(--display);
  letter-spacing: -0.01em;
  min-height: 36px;
}
.mini small {
  font-size: 12px;
  color: var(--muted);
}
.seats {
  display: block;
  height: 4px;
  border-radius: calc(4px * var(--rk, 1));
  background: var(--line);
  overflow: hidden;
  margin-top: 2px;
}
.seats i {
  display: block;
  height: 100%;
  border-radius: calc(4px * var(--rk, 1));
  background: var(--green);
}
.seats.full i {
  background: #d6332c;
}
.next {
  list-style: none;
  margin: 0;
  padding: 2px 8px 2px 14px;
  background: var(--card);
  border-radius: calc(20px * var(--rk, 1));
}
.next li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
}
.next li:first-child {
  border-top: 0;
}
.date {
  width: 42px;
  height: 46px;
  border-radius: calc(13px * var(--rk, 1));
  background: var(--blue-50);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: none;
  color: var(--accent-ink);
}
.date small {
  font-size: 10.5px;
  font-weight: 500;
}
.date b {
  font: 600 18px/1 var(--display);
}
.next-tx {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.next-tx b {
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.next-tx small {
  font-size: 12.5px;
  color: var(--muted);
}
.remind {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #a0acc4;
  flex: none;
  transition:
    color 0.2s,
    background 0.2s;
}
.remind .i {
  width: 19px;
  height: 19px;
}
.remind.on {
  color: var(--accent-ink);
  background: var(--blue-50);
}
.remind.on .i {
  fill: currentColor;
}
.progress {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  text-align: left;
  background: var(--card);
  border-radius: calc(20px * var(--rk, 1));
  padding: 12px 14px;
}
.progress > span:nth-child(2) {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.progress b {
  font-size: 14.5px;
  font-weight: 600;
}
.progress small {
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--muted);
}
.progress > .i {
  color: var(--muted);
  width: 18px;
}
.ring {
  --p: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--green) calc(var(--p) * 1%), var(--line) 0);
}
.ring b {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--card);
  display: grid;
  place-items: center;
  font: 600 12.5px var(--display);
}
.ring.big {
  width: 74px;
  height: 74px;
}
.ring.big b {
  width: 60px;
  height: 60px;
  font-size: 17px;
}
.people {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  margin: -2px -20px 0;
  padding: 0 20px 2px;
  scrollbar-width: none;
}
.people button {
  flex: none;
  width: 68px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.people .ava.lg {
  width: 56px;
  height: 56px;
  border-radius: calc(18px * var(--rk, 1));
  font-size: 17px;
  margin-bottom: 2px;
}
.people b {
  font-size: 13px;
  font-weight: 600;
}
.people small {
  font-size: 11px;
  color: var(--muted);
}
.banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 84px;
  border-radius: calc(20px * var(--rk, 1));
  overflow: hidden;
  padding: 0 18px;
  color: #fff;
  text-align: left;
  isolation: isolate;
}
.banner .art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.banner > span {
  display: flex;
  flex-direction: column;
}
.banner b {
  font:
    400 24px/1 'Anton',
    Impact,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.banner small {
  font-size: 13px;
  margin-top: 4px;
  opacity: 0.9;
}
.notice {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  text-align: left;
  background: var(--card);
  border-radius: calc(18px * var(--rk, 1));
  padding: 13px 15px;
}
.notice time {
  font-size: 12px;
  color: var(--muted);
}
.notice b {
  font: 600 15px/1.25 var(--display);
}
.notice small {
  font-size: 13px;
  color: var(--ink-2);
}
.made {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  font-size: 12px;
  line-height: 1.3;
  color: var(--muted);
  padding-top: 4px;
}
.made img {
  width: 44px;
  height: 44px;
  border-radius: calc(12px * var(--rk, 1));
  object-fit: contain;
  background: #3d5a8f;
}

/* ===== estilos/09-agenda-atividade-e-telas.css ===== */
/* estilos/09-agenda-atividade-e-telas.css · agenda, atividade e telas do perfil.
   Parte do app.css, montado na ordem dos números (scripts/app/montar-app.mjs): a ordem importa, porque
   as partes mais novas refinam as anteriores. */
/* ================= agenda e atividade ================= */
.ag-tx {
  min-width: 0;
  flex: 1;
}
.ag-seats {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 7px !important;
}
.ag-seats .seats {
  flex: 0 0 52px;
  margin: 0;
}
.ag-seats span:last-child {
  font-size: 12px;
}
.clash {
  display: flex;
  gap: 7px;
  align-items: center;
  margin: 0 0 8px;
  padding: 8px 10px;
  border-radius: calc(12px * var(--rk, 1));
  background: var(--amber-50);
  color: var(--amber-ink);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.3;
}
.clash .i {
  width: 16px;
  height: 16px;
}
.info .seats {
  flex: 1;
  margin: 0;
  max-width: 96px;
}
.remindrow {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: var(--card);
  border-radius: calc(16px * var(--rk, 1));
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 500;
}
.remindrow > span {
  flex: 1;
}
.remindrow .i {
  color: var(--blue);
  width: 19px;
  height: 19px;
}
.switch {
  width: 38px;
  height: 23px;
  border-radius: calc(12px * var(--rk, 1));
  background: var(--line);
  position: relative;
  transition: background 0.25s;
  flex: none;
}
.switch::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s var(--spring);
}
.remindrow.on .switch {
  background: var(--green);
}
.remindrow.on .switch::after {
  transform: translateX(15px);
}
.qa {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.qa li {
  display: flex;
  gap: 12px;
  background: var(--card);
  border-radius: calc(16px * var(--rk, 1));
  padding: 10px 14px 10px 8px;
}
.qa p {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
}
.qa small {
  font-size: 12px;
  color: var(--muted);
}
.vote {
  width: 40px;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--muted);
  border-radius: calc(10px * var(--rk, 1));
  padding: 2px 0;
}
.vote .i {
  width: 18px;
  height: 18px;
}
.vote b {
  font-size: 13px;
  font-weight: 600;
}
.vote.on {
  color: var(--accent-ink);
  background: var(--blue-50);
}
.stars {
  display: flex;
  gap: 4px;
}
.stars button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--line-2);
  transition:
    transform 0.2s var(--spring),
    color 0.15s;
}
.stars button:active {
  transform: scale(0.85);
}
.stars .i {
  width: 30px;
  height: 30px;
}
.stars .on {
  color: #e8a317;
}
.stars .on .i {
  fill: currentColor;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.sheet textarea {
  display: block;
  width: 100%;
  margin: 12px 0;
  border: 1.5px solid var(--line);
  border-radius: calc(15px * var(--rk, 1));
  padding: 13px 14px;
  font: 15px/1.4 var(--ui);
  background: var(--bg);
  color: var(--ink);
  resize: none;
}
.sheet textarea:focus {
  outline: 0;
  border-color: var(--blue);
}
.empty {
  gap: 10px;
  padding: 26px 12px;
}
.empty .illo {
  width: 150px;
  height: 110px;
  margin-bottom: 6px;
}
.empty h3 {
  margin: 0;
  font: 600 18px var(--display);
  color: var(--ink);
  letter-spacing: -0.015em;
}
.empty p {
  max-width: 28ch;
  font-size: 14.5px;
  line-height: 1.4;
}
.empty .btn {
  margin-top: 8px;
}

/* ================= telas novas ================= */
.splist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.splist li {
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--card);
  border-radius: calc(18px * var(--rk, 1));
  padding: 12px 12px 12px 14px;
  cursor: pointer;
}
.splist li > span:nth-child(2) {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.splist b {
  font: 600 15.5px var(--display);
}
.splist small {
  font-size: 13px;
  color: var(--muted);
}
.splist em {
  font-style: normal;
  font-size: 12.5px;
  color: var(--ink-2);
  margin-top: 3px;
}
.splist .chev {
  width: 17px;
  height: 17px;
  color: #a8b3c8;
}
.cert-top {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--card);
  border-radius: calc(22px * var(--rk, 1));
  padding: 16px;
}
.cert-top strong {
  display: block;
  font: 600 19px var(--display);
  letter-spacing: -0.015em;
}
.cert-top span {
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--muted);
}
.cert-top .ring b {
  color: var(--ink);
}
.certs {
  list-style: none;
  margin: 0;
  padding: 2px 14px;
  background: var(--card);
  border-radius: calc(20px * var(--rk, 1));
}
.certs li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
}
.certs li:first-child {
  border-top: 0;
}
.certs i {
  width: 34px;
  height: 34px;
  border-radius: calc(11px * var(--rk, 1));
  background: var(--blue-50);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  flex: none;
}
.certs .i {
  width: 17px;
  height: 17px;
}
.certs li.done i {
  background: var(--green-50);
  color: var(--green-ink);
}
.certs span {
  display: flex;
  flex-direction: column;
}
.certs b {
  font-size: 14.5px;
  font-weight: 600;
}
.certs small {
  font-size: 12.5px;
  color: var(--muted);
}
.net-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fromsuap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 12px !important;
  font-weight: 600;
  color: var(--green-ink) !important;
}
.fromsuap .i {
  width: 13px;
  height: 13px;
  stroke-width: 3;
}
.settings {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: calc(20px * var(--rk, 1));
  padding: 2px 12px 2px 16px;
}
.set {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.set:first-child {
  border-top: 0;
}
.set > span {
  display: flex;
  align-items: center;
  gap: 13px;
}
.set > span .i {
  color: var(--blue);
}
.mini-seg {
  display: flex;
  padding: 3px;
  border-radius: calc(11px * var(--rk, 1));
  background: var(--bg);
}
.mini-seg button {
  padding: 6px 11px;
  border-radius: calc(9px * var(--rk, 1));
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition:
    background 0.2s,
    color 0.2s;
}
.mini-seg .on {
  background: var(--card);
  color: var(--accent-ink);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(20, 30, 60, 0.16);
}
.menu li {
  cursor: pointer;
}
.notif {
  position: absolute;
  z-index: 75;
  left: 10px;
  right: 10px;
  top: 54px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: calc(22px * var(--rk, 1));
  background: rgba(25, 32, 52, 0.96);
  color: #fff;
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.5);
  transform: translateY(-130%) scale(0.92);
  opacity: 0;
  transition:
    transform 0.55s var(--spring),
    opacity 0.3s;
  pointer-events: none;
}
.notif.show {
  transform: none;
  opacity: 1;
}
.notif .mark.xs {
  width: 16px;
  height: 29px;
}
.notif span {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.notif b {
  font-size: 14px;
  font-weight: 600;
}
.notif small {
  font-size: 13px;
  color: #c7d0e3;
}
.notif time {
  font-size: 12px;
  color: #aab5cc;
}

/* ===== estilos/10-leitor-qr.css ===== */
/* estilos/10-leitor-qr.css · leitor de QR.
   Parte do app.css, montado na ordem dos números (scripts/app/montar-app.mjs): a ordem importa, porque
   as partes mais novas refinam as anteriores. */
/* ================= scanner =================
   Uma cena de câmera: corredor do campus desfocado, placa com QR e os cantos travando na leitura. */
.scanner {
  position: relative;
  overflow: hidden;
  background: #0b0f1c;
}
.scan-view {
  flex: 1;
  position: relative;
  min-height: 0;
  overflow: hidden;
}
.scene {
  position: absolute;
  inset: -8%;
  animation:
    camIn 1.1s var(--ease) both,
    camSway 7s ease-in-out 1.1s infinite alternate;
}
.scene-bg {
  width: 100%;
  height: 100%;
  display: block;
  filter: blur(7px) saturate(0.9) brightness(0.95);
}
@keyframes camIn {
  from {
    filter: blur(14px);
    transform: scale(1.12);
  }
  to {
    filter: none;
    transform: none;
  }
}
@keyframes camSway {
  to {
    transform: translate(1.2%, -0.8%) rotate(0.5deg);
  }
}
.placard-wrap {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  transition:
    opacity 0.22s,
    transform 0.24s var(--ease);
  perspective: 800px;
  animation: plIn 0.5s ease 0.25s both;
}
@keyframes plIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.placard-wrap.moving {
  opacity: 0;
  transform: translate(-62%, -50%);
}
.placard {
  width: 198px;
  background: #fff;
  color: #1f2f57;
  border-radius: calc(16px * var(--rk, 1));
  padding: 10px 12px 11px;
  transform: rotateX(3deg) rotateY(-5deg);
  box-shadow: 0 22px 34px -14px rgba(5, 10, 25, 0.65);
  animation: cardSway 5s ease-in-out infinite alternate;
}
@keyframes cardSway {
  to {
    transform: rotateX(1deg) rotateY(3deg);
  }
}
.placard header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
}
.placard header b {
  font: 600 15px var(--display);
  letter-spacing: -0.01em;
}
.pl-qr .qrcode {
  display: block;
  width: 100%;
  height: auto;
}
.placard footer {
  margin-top: 4px;
  text-align: center;
  font-size: 11.5px;
  font-weight: 500;
  color: #5b6885;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.scan-mask {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 268px;
  height: 280px;
  margin: -140px 0 0 -134px;
  border-radius: calc(30px * var(--rk, 1));
  box-shadow: 0 0 0 1000px rgba(7, 11, 24, 0.5);
  pointer-events: none;
  transition: transform 0.35s var(--spring);
}
.scanner .frame {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 268px;
  height: 280px;
  margin: -140px 0 0 -134px;
  gap: 0;
  pointer-events: none;
  transition: transform 0.4s var(--spring);
}
.scanner .frame > i {
  width: 46px;
  height: 46px;
  border-width: 4.5px;
  transition: border-color 0.2s;
}
.scanner .scanline {
  height: 3px;
  left: 14px;
  right: 14px;
  top: 14px;
  opacity: 0.9;
  background: #8fdc5c;
  border-radius: calc(3px * var(--rk, 1));
  animation: scan 2.4s ease-in-out infinite alternate;
}
.reading .scanline {
  animation-duration: 0.42s;
}
.reading .frame {
  transform: scale(0.97);
}
.is-locked .frame {
  transform: scale(0.95);
}
.is-locked .scan-mask {
  transform: scale(0.95);
}
.is-locked .frame > i {
  border-color: #8fdc5c;
}
.is-locked .scanline {
  opacity: 0;
}
.is-locked .placard {
  animation: none;
  transform: none;
  transition: transform 0.3s var(--ease);
}
.torch-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 45% at 50% 46%, rgba(255, 250, 225, 0.42), transparent 75%);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
.torch .torch-glow {
  opacity: 1;
}
.torch [data-act='torch'] {
  background: #fff;
  color: #1b2d5c;
}
.scan-top {
  position: absolute;
  z-index: 3;
  top: 10px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.scan-seg {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  border-radius: calc(14px * var(--rk, 1));
  background: rgba(20, 26, 44, 0.62);
  backdrop-filter: blur(10px);
  width: 170px;
}
.scan-seg > i {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  border-radius: calc(11px * var(--rk, 1));
  background: #fff;
  transform: translateX(calc(var(--k) * 100%));
  transition: transform 0.35s var(--ease);
}
.scan-seg button {
  position: relative;
  padding: 8px 0;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  transition: color 0.25s;
}
.scanner[data-mode='ler'] .scan-seg button:first-of-type,
.scanner[data-mode='meu'] .scan-seg button:last-of-type {
  color: #1b2d5c;
}
.scan-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  margin: 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.scan-hint span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: calc(13px * var(--rk, 1));
  background: rgba(14, 20, 38, 0.72);
  backdrop-filter: blur(10px);
  font-size: 14.5px;
  font-weight: 500;
  color: #fff;
}
.is-locked .scan-hint span {
  background: #8fdc5c;
  color: #10290a;
  font-weight: 600;
}
.scan-hint .i {
  width: 17px;
  height: 17px;
  stroke-width: 3;
}
.scan-dock {
  flex: none;
  background: var(--card);
  color: var(--ink);
  border-radius: calc(26px * var(--rk, 1)) calc(26px * var(--rk, 1)) 0 0;
  margin-top: -18px;
  position: relative;
  z-index: 2;
  padding: 13px 0 28px;
  transition: transform 0.4s var(--ease);
}
.scan-dock p {
  margin: 0 18px 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.spots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 0 12px;
}
.spot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 9px 2px;
  border-radius: calc(15px * var(--rk, 1));
  transition:
    background 0.2s,
    transform 0.15s;
}
.spot:active {
  transform: scale(0.94);
}
.spot > span {
  width: 42px;
  height: 42px;
  border-radius: calc(14px * var(--rk, 1));
  display: grid;
  place-items: center;
  background: var(--blue-50);
  color: var(--accent-ink);
  margin-bottom: 3px;
}
.spot b {
  font-size: 12.5px;
  font-weight: 600;
}
.spot small {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.spot.first > span {
  background: var(--navy);
  color: #fff;
}
.myqr {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 60px 26px 26px;
  background: linear-gradient(180deg, #1b2d5c, #2c4785);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition:
    opacity 0.3s,
    transform 0.4s var(--ease);
}
.scanner[data-mode='meu'] .myqr {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.myqr-card {
  width: 100%;
  background: #fff;
  color: #1f2f57;
  border-radius: calc(28px * var(--rk, 1));
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.myqr-card .av {
  background: #e8eef9;
  color: var(--navy);
  margin-bottom: 10px;
}
.myqr-card strong {
  font: 600 20px/1.2 var(--display);
  letter-spacing: -0.015em;
}
.myqr-card > span:not(.av) {
  font-size: 13.5px;
  color: #64728e;
}
.myqr-card .qrbox {
  margin: 14px auto 12px;
  padding: 6px;
  width: 210px;
}
.myqr-card small {
  font-size: 13px;
  line-height: 1.35;
  color: #64728e;
  max-width: 26ch;
}
.scan-top {
  z-index: 4;
}

/* ================= tela cheia em celular real ================= */

/* ===== estilos/11-mapa-busca-e-nadic.css ===== */
/* estilos/11-mapa-busca-e-nadic.css · mapa do campus, andares, busca, banners e NADIC.
   Parte do app.css, montado na ordem dos números (scripts/app/montar-app.mjs): a ordem importa, porque
   as partes mais novas refinam as anteriores. */
/* ================= mapa do campus ================= */
.seg.two {
  grid-template-columns: 1fr 1fr;
}
.seg.two .seg-ind {
  width: calc((100% - 8px) / 2);
}
.campus3d {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  cursor: grab;
  outline: 0;
}
.campus3d:active {
  cursor: grabbing;
}
.campus3d:focus-visible {
  outline: 3px solid #7cc94a;
  outline-offset: -3px;
}
.map-ctrl.cam-ctrl {
  right: 12px;
  top: 118px;
}
.map-ctrl.plan-ctrl {
  top: 178px;
}
.map-ctrl.cam-ctrl .iconbtn {
  width: 42px;
  height: 42px;
}
.campus-sheet {
  padding-bottom: 16px;
}
.campus-sheet .sh-top strong {
  font-size: 21px;
}
.sh-text {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink-2);
}
.sh-btns {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.sh-btns:empty {
  display: none;
}
.sh-btns .btn {
  flex: 1;
  margin: 0;
  width: auto;
  font-size: 14.5px;
  padding: 12px 10px;
  white-space: nowrap;
}
.place-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin: 12px -20px 0;
  padding: 0 20px 2px;
  scrollbar-width: none;
}
.place-chips::-webkit-scrollbar {
  display: none;
}
.place-chips button {
  flex: none;
  padding: 8px 13px;
  border-radius: calc(999px * var(--rk, 1));
  font-size: 13.5px;
  font-weight: 500;
  background: var(--blue-50);
  color: var(--accent-ink);
  transition: transform 0.15s var(--ease);
}
.place-chips button:active {
  transform: scale(0.95);
}

/* imagem opcional dos banners de campeonato */
.art-photo {
  object-fit: cover;
  object-position: center;
}
.art-scrim {
  background:
    linear-gradient(90deg, rgba(8, 8, 14, 0.62) 0%, rgba(8, 8, 14, 0.18) 62%, rgba(8, 8, 14, 0) 100%),
    linear-gradient(0deg, rgba(8, 8, 14, 0.5) 0%, rgba(8, 8, 14, 0) 45%);
  pointer-events: none;
}
.tour-hero .art-scrim {
  background: linear-gradient(0deg, rgba(8, 8, 14, 0.72) 0%, rgba(8, 8, 14, 0.12) 60%);
}
.poster .art-photo,
.banner .art-photo,
.tour-hero .art-photo,
.poster .art-scrim,
.banner .art-scrim,
.tour-hero .art-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* ================= andares, busca e NADIC ================= */
.map-ctrl.cam-ctrl.low {
  top: 166px;
}
.seg.four {
  grid-template-columns: 1.2fr 1.2fr 1fr 1fr;
  grid-template-columns: repeat(4, 1fr);
}
.seg.four .seg-ind {
  width: calc((100% - 8px) / 4);
}
button.search {
  width: 100%;
  text-align: left;
}
.floor-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}
.floor-list li {
  display: grid;
  grid-template-columns: 62px 1fr 18px;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
  transition: transform 0.15s var(--ease);
}
.floor-list li:active {
  transform: scale(0.985);
}
.floor-list b {
  font: 600 14.5px var(--display);
}
.floor-list small {
  font-size: 12.5px;
  color: var(--muted);
}
.floor-list .i {
  width: 17px;
  color: #a8b3c8;
}
.via {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  border-radius: calc(12px * var(--rk, 1));
  background: var(--bg);
  margin-top: 10px;
}
.via > i {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  border-radius: calc(9px * var(--rk, 1));
  background: var(--card);
  box-shadow: 0 1px 3px rgba(20, 30, 60, 0.16);
  transform: translateX(calc(var(--k) * 100%));
  transition: transform 0.3s var(--ease);
}
.via button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 0;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
}
.via button.on {
  color: var(--accent-ink);
  font-weight: 600;
}
.via .i {
  width: 16px;
  height: 16px;
}
.steps {
  padding: 10px 12px;
  border-radius: calc(13px * var(--rk, 1));
  background: var(--green-50);
  color: var(--green-ink);
  font-weight: 500;
  font-size: 13.5px;
}
.campus-sheet > .btn {
  width: 100%;
  margin-top: 12px;
}
.campus-sheet .sh-acts {
  margin-top: 8px;
}
/* busca */
.overlay.finder .ov-panel {
  transform: translateY(100%);
}
.overlay.finder.open .ov-panel {
  transform: none;
}
.finder {
  padding-bottom: 30px;
}
.finder-in {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: calc(15px * var(--rk, 1));
  background: var(--bg);
  color: var(--muted);
  margin-bottom: 8px;
}
.finder-in input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  outline: 0;
  font-size: 16px;
  color: var(--ink);
}
.finder-res {
  list-style: none;
  margin: 0;
  padding: 0;
  height: 330px;
  overflow-y: auto;
}
.finder-res li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 2px;
  border-top: 1px solid var(--line);
  cursor: pointer;
}
.finder-res li:first-child {
  border-top: 0;
}
.finder-res li > span {
  width: 36px;
  height: 36px;
  border-radius: calc(11px * var(--rk, 1));
  display: grid;
  place-items: center;
  background: var(--blue-50);
  color: var(--accent-ink);
  flex: none;
}
.finder-res .i {
  width: 18px;
  height: 18px;
}
.finder-res b {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
}
.finder-res small {
  font-size: 12.5px;
  color: var(--muted);
}
.finder-res .none {
  display: block;
  padding: 24px 8px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  cursor: default;
}
/* banners */
.p-logo {
  display: block;
  width: 210px;
  max-width: 82%;
  height: auto;
  margin-bottom: 2px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}
.tour-title .p-logo {
  width: 290px;
  max-width: 100%;
  margin-bottom: 6px;
}
.poster.fifa .art-scrim {
  background:
    linear-gradient(0deg, rgba(4, 10, 30, 0.62) 0%, rgba(4, 10, 30, 0) 42%),
    linear-gradient(90deg, rgba(4, 10, 30, 0.42) 0%, rgba(4, 10, 30, 0) 50%);
}
.poster-tx .p-tag {
  margin-top: 6px;
}
.tour.fifa {
  background: #050d2b;
}
.tour.fifa .tour-hero::after {
  background: linear-gradient(transparent, #050d2b);
}
.tour.fifa .tour-tabs button.on {
  color: #050d2b;
}
.fifa .pl i,
.fifa .players i {
  background: #8fb4ff;
  color: #07143a;
}
.fifa .faces i {
  background: #e3ecff;
  color: #0b2263;
}
.banner .split {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 80% 50%;
  z-index: -1;
  clip-path: polygon(62% 0, 100% 0, 100% 100%, 50% 100%);
}
.banner .art-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
}
/* NADIC */
.made {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 8px 0 2px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1;
  opacity: 0.82;
  transition: opacity 0.2s;
}
.made:hover {
  opacity: 1;
}
.made img {
  width: 60px;
  height: 26px;
  display: block;
  background: none;
  border-radius: 0;
  object-fit: contain;
}
.made .i {
  width: 13px;
  height: 13px;
}
[data-theme='dark'] .made img,
[data-theme='dark'] .nadic-logo {
  filter: brightness(0) invert(1) opacity(0.85);
}
.nadic {
  gap: 12px;
}
.nadic-logo {
  width: 186px;
  height: auto;
  display: block;
  margin: 2px 0 6px;
}
.nadic-motto {
  margin: -4px 0 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--blue);
}
.nadic-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 4px 0;
}
.nadic-stats div {
  background: var(--card);
  border-radius: calc(16px * var(--rk, 1));
  padding: 12px 10px;
}
.nadic-stats dd {
  margin: 0;
  font: 600 24px/1 var(--display);
  color: var(--accent-ink);
}
.nadic-stats dt {
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.25;
  color: var(--muted);
}
.nadic-src {
  margin: 0;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
a.btn {
  text-decoration: none;
}

.going {
  display: flex;
  flex-direction: column;
  padding-bottom: 16px;
}
.going strong {
  font: 600 19px/1.15 var(--display);
  letter-spacing: -0.015em;
}
.going small {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 2px;
}
.duel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 2px;
}
.tile-game {
  position: relative;
  height: 104px;
  border-radius: calc(18px * var(--rk, 1));
  overflow: hidden;
  isolation: isolate;
  text-align: left;
  color: #fff;
  transition: transform 0.15s var(--ease);
}
.tile-game:active {
  transform: scale(0.97);
}
.tile-game .art,
.tile-game .art-photo,
.tile-game .art-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.tile-game .art-scrim {
  background: linear-gradient(0deg, rgba(6, 8, 18, 0.62), rgba(6, 8, 18, 0) 55%);
}
.tile-game .p-logo {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 22px;
  width: calc(100% - 24px);
  max-width: none;
}
.tile-game small {
  position: absolute;
  left: 12px;
  bottom: 9px;
  font-size: 12px;
  font-weight: 600;
}

/* ===== estilos/12-inicio-ceu-e-colmeia.css ===== */
/* estilos/12-inicio-ceu-e-colmeia.css · início: céu, colmeia e campus ao vivo.
   Parte do app.css, montado na ordem dos números (scripts/app/montar-app.mjs): a ordem importa, porque
   as partes mais novas refinam as anteriores. */
/* ================= início: céu, colmeia e campus ao vivo ================= */
:root {
  --honey: #eaa91e;
  --honey-ink: #553600;
  --honey-line: #d8cfb6;
}
[data-theme='dark'] {
  --honey: #f0b83a;
  --honey-ink: #3d2700;
  --honey-line: #3e4a6e;
}
.device.sky-status:not(.sky-past):not(.ov-dark):not(.ov-light):not(.ov-navy):not(.ov-dim) .statusbar {
  background: var(--sky-1);
  color: #fff;
}
.hm-sky {
  position: relative;
  height: 216px;
  flex: none;
  margin-bottom: -46px;
  overflow: hidden;
  isolation: isolate;
}
.hm-sky::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46px;
  z-index: -1;
  background: linear-gradient(180deg, var(--sil-near) 0%, var(--bg) 100%);
}
.hm-sky .apphead {
  position: relative;
  z-index: 2;
}
.hm-bg {
  position: absolute;
  inset: 0 0 46px 0;
  z-index: -2;
  background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 58%, var(--sky-3) 100%);
}
.hm-sun {
  position: absolute;
  left: var(--sun-x);
  top: var(--sun-y);
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border-radius: 50%;
  background: var(--sun-c);
  opacity: var(--sun-o);
  transition:
    opacity 0.4s,
    transform 0.2s var(--spring);
  cursor: pointer;
}
.hm-sun:active {
  transform: scale(0.9);
}
.hm-moon {
  position: absolute;
  left: var(--moon-x);
  top: var(--moon-y);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  box-shadow: inset -8px -3px 0 0 #f3efd8;
  opacity: var(--night);
  pointer-events: none;
}
.hm-stars {
  position: absolute;
  inset: 0;
  opacity: var(--night);
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 22%, #fff 99%, transparent),
    radial-gradient(1px 1px at 28% 44%, #fff 99%, transparent),
    radial-gradient(1.4px 1.4px at 41% 16%, #fff 99%, transparent),
    radial-gradient(1px 1px at 57% 34%, #fff 99%, transparent),
    radial-gradient(1px 1px at 69% 12%, #fff 99%, transparent),
    radial-gradient(1.4px 1.4px at 83% 40%, #fff 99%, transparent),
    radial-gradient(1px 1px at 93% 20%, #fff 99%, transparent),
    radial-gradient(1px 1px at 8% 52%, #fff 99%, transparent);
}
.hm-skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: auto;
  aspect-ratio: 162/50;
  display: block;
  pointer-events: none;
}
.sl-far {
  fill: var(--sil-far);
}
.sl-mid {
  fill: var(--sil-mid);
}
.sl-near {
  fill: var(--sil-near);
}
.device .sl-win rect {
  fill: #ffd67e;
  opacity: calc(0.1 + var(--night) * 0.85);
}
.wm.on-sky b,
.wm.on-sky > span {
  color: #fff;
}
.wm.on-sky > span {
  opacity: 0.88;
}
.iconbtn.on-sky {
  color: #fff;
}
.home {
  position: relative;
  z-index: 1;
}
.page > .home {
  padding-top: 0;
}
/* ao vivo */
.hm-live {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16px;
  grid-template-rows: auto auto;
  column-gap: 8px;
  align-items: center;
  width: 100%;
  text-align: left;
  background: var(--card);
  border-radius: calc(18px * var(--rk, 1));
  padding: 10px 12px 10px 14px;
}
.hm-live > .i {
  grid-column: 2;
  grid-row: 1/3;
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.hm-live-tag {
  grid-column: 1;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--green-ink);
}
.hm-live-row {
  grid-column: 1;
  display: block;
  overflow: hidden;
  height: 21px;
}
.hm-live-msg {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  transition:
    transform 0.24s var(--ease),
    opacity 0.2s;
}
.hm-live-msg > span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.hm-live-msg .i {
  width: 16px;
  height: 16px;
  color: var(--blue);
}
.hm-live-msg.out {
  transform: translateY(-16px);
  opacity: 0;
}
.hm-live-msg.in {
  animation: liveIn 0.36s var(--ease);
}
@keyframes liveIn {
  from {
    transform: translateY(16px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
/* colmeia */
.hm-combcard {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: var(--card);
  border-radius: calc(20px * var(--rk, 1));
  padding: 10px 12px 10px 10px;
  transition: transform 0.15s var(--ease);
}
.hm-combcard:active {
  transform: scale(0.985);
}
.hm-combcard > .i {
  color: var(--muted);
  width: 17px;
}
.hm-comb {
  width: 84px;
  height: 80px;
  flex: none;
  overflow: visible;
}
.hm-comb .cell path {
  fill: none;
  stroke: var(--honey-line);
  stroke-width: 1.3;
}
.hm-comb .cell.on path {
  fill: var(--honey);
  stroke: var(--honey);
}
.hm-comb .glyph {
  color: var(--honey-ink);
}
.hm-comb .cell-in {
  transform-box: fill-box;
  transform-origin: center;
}
.hm-comb .cell.pop .cell-in {
  animation: combPop 0.7s var(--spring) 0.35s both;
}
@keyframes combPop {
  0% {
    transform: scale(0.4);
    opacity: 0.2;
  }
  60% {
    transform: scale(1.18);
    opacity: 1;
  }
  100% {
    transform: none;
  }
}
.hm-combtx {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.hm-combtx b {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}
.hm-combtx strong {
  font: 600 18px/1.2 var(--display);
  letter-spacing: -0.015em;
  color: var(--ink);
}
.hm-combtx small {
  font-size: 13px;
  line-height: 1.3;
  color: var(--ink-2);
  margin-top: 2px;
}
.hm-colmeia {
  gap: 14px;
}
.hm-bigcomb {
  display: flex;
  justify-content: center;
  padding: 6px 0 0;
}
.hm-comb.big {
  width: 224px;
  height: 214px;
}
.hm-count {
  margin: 0;
  text-align: center;
  font-size: 15px;
  color: var(--ink-2);
}
.hm-count b {
  font: 600 22px var(--display);
  color: var(--ink);
}
.hm-combs {
  list-style: none;
  margin: 0;
  padding: 2px 14px;
  background: var(--card);
  border-radius: calc(20px * var(--rk, 1));
}
.hm-combs li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.hm-combs li:first-child {
  border-top: 0;
}
.hm-combs i {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: calc(11px * var(--rk, 1));
  background: var(--bg);
  color: var(--muted);
}
.hm-combs .i {
  width: 17px;
  height: 17px;
}
.hm-combs li.on i {
  background: var(--honey);
  color: var(--honey-ink);
}
.hm-combs span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.hm-combs b {
  font-size: 14.5px;
  font-weight: 600;
}
.hm-combs small {
  font-size: 12.5px;
  color: var(--muted);
}
.hm-combs li.on small {
  color: var(--green-ink);
  font-weight: 500;
}
/* controle do céu fora do celular */
.stage-sky {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: #5f6d88;
}
.stage-sky input {
  width: 210px;
  accent-color: var(--navy);
}
.stage-sky output {
  font:
    600 12.5px ui-monospace,
    SFMono-Regular,
    monospace;
  min-width: 40px;
}
@media (max-width: 520px) {
  .stage-sky {
    display: none;
  }
}

.av {
  color: var(--navy);
}
.av.lg {
  color: #fff;
}

/* ===== estilos/13-modo-evento-e-personalizacao.css ===== */
/* estilos/13-modo-evento-e-personalizacao.css · modo Evento, personalização, sobre e retrospectiva.
   Parte do app.css, montado na ordem dos números (scripts/app/montar-app.mjs): a ordem importa, porque
   as partes mais novas refinam as anteriores. */
/* ================= modo evento e 2D/3D ================= */
.dim {
  position: absolute;
  z-index: 3;
  left: 14px;
  top: 118px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 88px;
  padding: 3px;
  border-radius: calc(12px * var(--rk, 1));
  background: var(--card);
  box-shadow: 0 4px 14px -6px rgba(31, 47, 87, 0.3);
}
.dim.low {
  top: 166px;
}
.dim > i {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: 41px;
  border-radius: calc(9px * var(--rk, 1));
  background: var(--navy);
  transform: translateX(calc(var(--k) * 100%));
  transition: transform 0.3s var(--ease);
}
.dim button {
  position: relative;
  padding: 6px 0;
  font: 600 13px var(--ui);
  color: var(--muted);
  transition: color 0.25s;
}
.dim button.on {
  color: #fff;
}
.ev-sheet {
  display: flex;
  flex-direction: column;
}
.ev-sheet > strong {
  font: 600 18px/1.15 var(--display);
  letter-spacing: -0.015em;
}
.ev-list {
  margin-top: 6px;
}
.ev-list li {
  grid-template-columns: 14px 1fr 18px;
  gap: 10px;
  padding: 9px 0;
}
.ev-list li:first-child {
  border-top: 0;
}
.ev-dot {
  width: 14px;
  height: 16px;
  background: #62b22f;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.ev-list span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ev-grid {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.ev-grid button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  height: 100%;
  text-align: left;
  padding: 9px 10px;
  border-radius: calc(14px * var(--rk, 1));
  background: var(--bg);
  transition: transform 0.15s var(--ease);
}
.ev-grid button:active {
  transform: scale(0.97);
}
.ev-grid span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.ev-grid b {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}
.ev-grid small {
  font-size: 11.5px;
  line-height: 1.2;
  color: var(--muted);
  margin-top: 1px;
}
.ev-grid .ev-dot {
  flex: none;
}

/* ================= nível simples: menos custo de pintura em aparelhos fracos ================= */
html[data-perf='simples'] * {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
html[data-perf='simples'] .sl-cloud,
html[data-perf='simples'] .placard,
html[data-perf='simples'] .scene {
  animation: none !important;
}
html[data-perf='simples'] .page:not(.still) .st {
  animation-duration: 0.2s;
  animation-delay: 0s;
}
html[data-perf='simples'] .page.in-push,
html[data-perf='simples'] .page.in-pop {
  box-shadow: none;
}
html[data-perf='simples'] .badge,
html[data-perf='simples'] .passcard,
html[data-perf='simples'] .now,
html[data-perf='simples'] .search,
html[data-perf='simples'] .sheet-card {
  box-shadow: none;
}
.seg:not(.two):not(.four) {
  --c: 3;
}

/* ================= personalização ================= */
html[data-motion='reduzidas'] *,
html[data-motion='reduzidas'] *::before,
html[data-motion='reduzidas'] *::after {
  animation-duration: 0.01ms !important;
  animation-delay: 0s !important;
  transition-duration: 0.01ms !important;
}
.badge {
  background: var(--navy);
}
html[data-badge='degrade'] .badge,
html[data-badge='degrade'] .passcard {
  background: linear-gradient(135deg, var(--navy), color-mix(in srgb, var(--navy) 68%, #ffffff));
}
html[data-badge='colmeia'] .badge::before,
html[data-badge='colmeia'] .passcard::before {
  inset: 0;
  width: auto;
  height: auto;
  opacity: 0.16;
}
.hm-plain .apphead {
  padding-top: 2px;
}
.custom {
  gap: 14px;
}
.cu-preview {
  background: var(--card);
  border-radius: calc(20px * var(--rk, 1));
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cu-badge {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px;
  border-radius: calc(16px * var(--rk, 1));
  background: var(--navy);
  color: #fff;
}
html[data-badge='degrade'] .cu-badge {
  background: linear-gradient(135deg, var(--navy), color-mix(in srgb, var(--navy) 68%, #ffffff));
}
.cu-badge .av {
  width: 40px;
  height: 40px;
  font-size: 14px;
}
.cu-badge span:last-child {
  display: flex;
  flex-direction: column;
}
.cu-badge b {
  font: 600 15px var(--display);
}
.cu-badge small {
  font-size: 12px;
  opacity: 0.8;
}
.cu-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.cu-row .btn {
  padding: 9px;
  font-size: 13.5px;
}
.cu-themes {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: -6px -20px 0;
  padding: 6px 20px;
  scrollbar-width: none;
}
.cu-themes::-webkit-scrollbar {
  display: none;
}
.cu-themes button {
  flex: none;
  width: 104px;
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 7px;
  border-radius: calc(16px * var(--rk, 1));
  background: var(--card);
  box-shadow: inset 0 0 0 1.5px transparent;
  transition: box-shadow 0.2s;
}
.cu-themes button.on {
  box-shadow: inset 0 0 0 2px var(--navy);
}
.cu-themes i {
  display: block;
  height: 46px;
  border-radius: calc(10px * var(--rk, 1));
  margin-bottom: 7px;
  padding: 7px;
  box-shadow: inset 0 0 0 1px rgba(120, 130, 150, 0.22);
}
.cu-themes u {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: calc(6px * var(--rk, 1));
}
.cu-themes b {
  font-size: 13.5px;
  font-weight: 600;
}
.cu-themes small {
  font-size: 11px;
  line-height: 1.2;
  color: var(--muted);
}
.cu-accents {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.cu-accents button,
.cu-custom {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
}
.cu-accents button.on {
  box-shadow:
    0 0 0 2px var(--bg),
    0 0 0 4px var(--ink);
}
.cu-accents .i {
  width: 16px;
  height: 16px;
  stroke-width: 3;
}
.cu-custom {
  position: relative;
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  box-shadow: inset 0 0 0 1.5px var(--line-2);
}
.cu-custom input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.cu-opts,
.cu-toggles {
  list-style: none;
  margin: 0;
  padding: 2px 14px;
  background: var(--card);
  border-radius: calc(20px * var(--rk, 1));
}
.cu-opts li {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}
.cu-opts li:first-child,
.cu-toggles li:first-child button {
  border-top: 0;
}
.cu-opts li > span {
  font-size: 14px;
  font-weight: 500;
}
.mini-seg.wide {
  display: flex;
}
.mini-seg.wide button {
  flex: 1;
  padding: 7px 2px;
  font-size: 12.5px;
}
.cu-note {
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
}
.cu-toggles button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
}
.cu-toggles button.on .switch {
  background: var(--green);
}
.cu-toggles button.on .switch::after {
  transform: translateX(15px);
}
.retro-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 10px 14px 10px 10px;
  border-radius: calc(20px * var(--rk, 1));
  background: var(--navy);
  color: #fff;
}
.retro-cta > span {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.retro-cta b {
  font: 600 15.5px var(--display);
}
.retro-cta small {
  font-size: 12.5px;
  opacity: 0.8;
}
.hm-comb.tiny {
  width: 52px;
  height: 50px;
}
.retro-cta .hm-comb .cell path {
  stroke: rgba(255, 255, 255, 0.4);
}
.retro-cta .hm-comb .cell.on path {
  fill: #ffc23d;
  stroke: #ffc23d;
}
/* rodapé */
.made {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 14px;
  width: 100%;
  padding: 10px 0 2px;
  opacity: 1;
}
.made > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
  min-width: 0;
}
.made > i {
  width: 1px;
  background: var(--line-2);
  align-self: stretch;
}
.made small {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.made span {
  display: flex;
  align-items: center;
  gap: 12px;
}
.made button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 32px;
  color: var(--ink);
  opacity: 0.85;
  transition: opacity 0.2s;
}
.made button b {
  font: 700 15px var(--display);
  letter-spacing: -0.03em;
}
.made button:hover,
.made a:hover {
  opacity: 1;
}
.made-ifrn {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font: 700 14px var(--display);
  letter-spacing: 0.02em;
  color: var(--ink);
  opacity: 0.85;
  text-decoration: none;
}
.made .mark.xs {
  width: 11px;
  height: 20px;
}
/* sobre */
.about {
  gap: 12px;
}
.ab-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: calc(24px * var(--rk, 1));
  padding: 18px;
  background: #3a5a9b;
  color: #fff;
}
.ab-hero img {
  display: block;
  width: 150px;
  height: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 12px;
}
.ab-hero h1 {
  margin: 0 0 6px;
  font: 600 19px/1.2 var(--display);
  letter-spacing: -0.015em;
  max-width: 15em;
}
.ab-hero p {
  margin: 0;
  font-size: 13.5px;
  opacity: 0.86;
}
.ab-pins {
  position: absolute;
  right: 0;
  top: 0;
  width: 58%;
  z-index: -1;
  fill: none;
  stroke: rgba(255, 255, 255, 0.24);
  stroke-width: 2;
}
.ab-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ab-tags li {
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--accent-ink);
}
.ab-list {
  list-style: none;
  margin: 0;
  padding: 2px 14px;
  background: var(--card);
  border-radius: calc(18px * var(--rk, 1));
}
.ab-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.ab-list li:first-child {
  border-top: 0;
}
.ab-list b {
  grid-column: 1;
  font-size: 14.5px;
  font-weight: 600;
}
.ab-list small {
  grid-column: 1;
  font-size: 13px;
  line-height: 1.3;
  color: var(--muted);
}
.ab-list small.sel {
  user-select: all;
}
.ab-list .tap {
  cursor: pointer;
}
.ab-list li > .i {
  grid-column: 2;
  grid-row: 1/3;
  align-self: center;
  width: 17px;
  color: var(--muted);
}
.ab-logo {
  background: #fff;
  border-radius: calc(20px * var(--rk, 1));
  padding: 16px;
  display: flex;
  justify-content: center;
}
.ab-logo img {
  width: 220px;
  max-width: 100%;
  height: auto;
  display: block;
}
.ab-time {
  list-style: none;
  margin: 0;
  padding: 0 0 0 2px;
  position: relative;
}
.ab-time::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 12px;
  bottom: 16px;
  width: 2px;
  background: var(--line-2);
}
.ab-time li {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 2px;
  padding: 7px 0 7px 22px;
}
.ab-time li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 12px;
  height: 13px;
  background: var(--line-2);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.ab-time li:last-child::before {
  background: var(--green);
}
.ab-time time {
  font: 600 14px var(--display);
}
.ab-time span {
  display: flex;
  flex-direction: column;
}
.ab-time b {
  font-size: 14px;
  font-weight: 600;
}
.ab-time small {
  font-size: 12.5px;
  color: var(--muted);
}
.ab-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.ab-btns .btn {
  font-size: 14px;
  padding: 12px 8px;
}
.ab-btns .i {
  width: 15px;
  height: 15px;
}
/* retrospectiva */
.overlay.retro .ov-panel {
  top: 0;
  transform: translateY(100%);
}
.overlay.retro.open .ov-panel {
  transform: none;
}
.overlay.retro .ov-backdrop {
  display: none;
}
.device.ov-retro .statusbar {
  background: var(--navy);
  color: #fff;
}
.device.ov-retro .home-ind {
  background: #fff;
}
.re-root {
  position: relative;
  height: 100%;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(170deg, var(--navy) 0%, color-mix(in srgb, var(--navy) 70%, #0b1020) 100%);
}
.re-bars {
  position: absolute;
  z-index: 3;
  left: 14px;
  right: 14px;
  top: 6px;
  display: flex;
  gap: 4px;
}
.re-bars i {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.26);
  overflow: hidden;
  position: relative;
}
.re-bars i.done {
  background: #fff;
}
.re-bars i.run::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #fff;
  transform-origin: left;
  animation: reBar 6.5s linear both;
}
@keyframes reBar {
  from {
    transform: scaleX(0);
  }
  to {
    transform: none;
  }
}
.re-close {
  position: absolute;
  z-index: 4;
  right: 12px;
  top: 18px;
}
.re-stage,
.re-slide {
  position: absolute;
  inset: 0;
}
.re-slide {
  animation: reIn 0.55s var(--ease) both;
}
@keyframes reIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.re-c {
  position: absolute;
  inset: 0;
  padding: 70px 26px 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.re-c > small {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.78;
}
.re-c h1 {
  margin: 0;
  font: 600 40px/1.04 var(--display);
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.re-c p {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.4;
  opacity: 0.88;
}
.re-c > strong {
  font: 600 18px var(--display);
  margin-top: 8px;
}
.re-mark {
  width: 44px;
  height: 78px;
  margin-bottom: 8px;
}
.re-tag {
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}
.re-num {
  font: 700 104px/0.95 var(--display);
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.re-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.re-list li {
  font-size: 15.5px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
}
.re-list small {
  font-size: 12.5px;
  font-weight: 500;
  opacity: 0.72;
}
.re-learn {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.re-learn li {
  display: flex;
  gap: 11px;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 500;
  animation: reIn 0.5s var(--ease) both;
}
.re-learn li:nth-child(2) {
  animation-delay: 0.1s;
}
.re-learn li:nth-child(3) {
  animation-delay: 0.2s;
}
.re-learn li:nth-child(4) {
  animation-delay: 0.3s;
}
.re-learn li:nth-child(5) {
  animation-delay: 0.4s;
}
.re-learn .i {
  width: 22px;
  height: 22px;
  flex: none;
  color: #ffd27a;
  stroke-width: 3;
  margin-top: 1px;
}
.re-people {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
}
.re-people span {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 600 18px var(--display);
}
.re-people i {
  width: 46px;
  height: 50px;
  display: grid;
  place-items: center;
  font: 600 14px var(--display);
  font-style: normal;
  background: rgba(255, 255, 255, 0.16);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.re-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0 0;
}
.re-stats dd {
  margin: 0;
  font: 700 32px/1 var(--display);
}
.re-stats dt {
  font-size: 12.5px;
  opacity: 0.76;
  margin-top: 3px;
}
.re-comb {
  display: flex;
  justify-content: center;
  padding: 8px 0;
}
.re-comb .hm-comb.big {
  width: 260px;
  height: 248px;
}
.re-root .hm-comb .cell path {
  stroke: rgba(255, 255, 255, 0.34);
}
.re-root .hm-comb .cell.on path {
  fill: #ffc23d;
  stroke: #ffc23d;
}
.re-root .hm-comb.full .cell path {
  fill: #ffc23d;
  stroke: #ffc23d;
}
.re-root .hm-comb .glyph {
  color: #553600;
}
.re-long {
  font-size: 18px !important;
  line-height: 1.35 !important;
}
.re-time {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.re-time li {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  opacity: 0.72;
}
.re-time li.on {
  opacity: 1;
  font-weight: 600;
}
.re-time time {
  font: 600 14.5px var(--display);
  width: 42px;
}
.re-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 18px;
  position: relative;
  z-index: 3;
}
.re-primary {
  background: #fff;
  color: var(--navy);
}
.re-ghost {
  color: #fff;
}
.re-tap {
  position: absolute;
  z-index: 2;
  top: 50px;
  bottom: 0;
  width: 32%;
  left: 0;
  background: none;
}
.re-tap.next {
  left: auto;
  right: 0;
  width: 68%;
}
.re-end ~ .re-tap {
  display: none;
}
.re-root:has(.re-end) .re-tap.next {
  display: none;
}
.re-root:has(.re-end) .re-tap.prev {
  bottom: 50%;
}

/* ===== estilos/14-ajustes-de-telas.css ===== */
/* estilos/14-ajustes-de-telas.css · clicável, agenda de hoje, palestrante, desempenho, visitante, lembretes, painel e sobre.
   Parte do app.css, montado na ordem dos números (scripts/app/montar-app.mjs): a ordem importa, porque
   as partes mais novas refinam as anteriores. */
/* ================= clicável deixa claro que é ================= */
[data-act],
[data-go] {
  cursor: pointer;
}
.is-press:not(.flip) {
  filter: brightness(0.94);
  transform: scale(0.985);
  transition:
    transform 0.08s ease,
    filter 0.08s ease;
}
[data-theme='dark'] .is-press:not(.flip) {
  filter: brightness(1.18);
}
.now-chev,
.card-chev {
  width: 18px;
  height: 18px;
  color: var(--muted);
  flex: none;
}
.now-top {
  align-items: center;
}
.notice {
  position: relative;
  padding-right: 36px;
}
.notice .card-chev {
  position: absolute;
  right: 12px;
  top: 50%;
  margin-top: -9px;
}
button.teacher {
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  margin: 0 -2px;
  border-radius: calc(14px * var(--rk, 1));
  background: var(--card);
}
.flip-tip {
  position: absolute;
  right: 12px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 11.5px;
  font-weight: 600;
  color: #fff;
}
.flip-tip .i {
  width: 12px;
  height: 12px;
}
.flip.hint .flip-in {
  animation: flipPeek 1.5s var(--ease) 0.9s 1;
}
@keyframes flipPeek {
  0%,
  100% {
    transform: none;
  }
  35% {
    transform: rotateY(-20deg);
  }
  65% {
    transform: rotateY(8deg);
  }
}
.flip.flipped .flip-in {
  animation: none;
}
/* programação de hoje, recolhida */
.today {
  background: var(--card);
  border-radius: calc(18px * var(--rk, 1));
  overflow: hidden;
  margin-top: -4px;
}
.today-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 14px;
  text-align: left;
}
.today-head span {
  display: flex;
  flex-direction: column;
}
.today-head b {
  font-size: 14.5px;
  font-weight: 600;
}
.today-head small {
  font-size: 12.5px;
  color: var(--muted);
}
.today-head > .i {
  width: 18px;
  height: 18px;
  color: var(--muted);
  transform: rotate(90deg);
  transition: transform 0.3s var(--ease);
}
.today.open .today-head > .i {
  transform: rotate(-90deg);
}
.today-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--ease);
}
.today.open .today-body {
  grid-template-rows: 1fr;
}
.today-body > div {
  overflow: hidden;
  min-height: 0;
}
.today ul {
  list-style: none;
  margin: 0;
  padding: 0 14px;
}
.today li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.today time {
  font: 600 13.5px var(--display);
}
.today li span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.today li b {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.today li small {
  font-size: 12.5px;
  color: var(--muted);
}
.today li.live small {
  color: var(--green-ink);
  font-weight: 600;
}
.today li > .i {
  width: 15px;
  height: 15px;
  color: var(--muted);
}
.today .btn {
  display: flex;
  width: calc(100% - 28px);
  margin: 6px 14px 14px;
  font-size: 14px;
  padding: 11px;
}
/* agenda */
.ag-kind {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 2px;
}
.ag-kind em {
  font-style: normal;
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--green-ink);
}
.ag li.ag-stop {
  background: none;
  box-shadow: inset 0 0 0 1.5px var(--line);
  padding: 10px 12px 10px 14px;
  align-items: center;
}
.ag-stop h4 {
  font-size: 14px;
}
.ag-note {
  margin: 0;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
/* prévia 3D */
.mapthumb {
  height: 164px;
  background: var(--bg);
}
.thumb3d {
  width: 100%;
  height: 100%;
  display: block;
}
/* palestrante */
.sp-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0 4px;
}
.sp-hero .ava.lg {
  width: 84px;
  height: 84px;
  border-radius: calc(26px * var(--rk, 1));
  font-size: 26px;
  margin-bottom: 12px;
}
.sp-hero h1 {
  margin: 0;
  font: 600 23px/1.15 var(--display);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.sp-hero p {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.speaker .splist .date {
  width: 42px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--accent-ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: none;
}
/* nada salvo */
.empty-saved {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 8px 0 4px;
}
.empty-saved .illo,
.empty .illo {
  width: 132px;
  height: 124px;
  margin-bottom: 2px;
}
.empty-saved h3 {
  margin: 0;
  font: 600 21px/1.15 var(--display);
  letter-spacing: -0.02em;
}
.empty-saved > p {
  margin: 0;
  max-width: 28ch;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--muted);
}
.illo .il-c {
  transform-box: fill-box;
  transform-origin: center;
  animation: ilPop 0.55s var(--spring) both;
  animation-delay: calc(var(--i) * 70ms + 120ms);
}
.illo .il-c.line {
  fill: none;
  stroke: var(--line-2);
  stroke-width: 1.6;
  stroke-dasharray: 4 4;
}
.illo .il-c.honey {
  fill: var(--honey);
}
.illo .il-c.honey2 {
  fill: color-mix(in srgb, var(--honey) 42%, transparent);
}
.illo .il-main {
  animation: ilPop 0.55s var(--spring) both;
}
@keyframes ilPop {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.es-days {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 2px;
}
.es-days button {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 500;
}
.es-days b {
  font-weight: 700;
}
.es-ideas {
  width: 100%;
  text-align: left;
  margin-top: 8px;
}
.es-ideas h4 {
  margin: 0 0 7px;
  font: 600 15px var(--display);
}
.es-ideas ul {
  list-style: none;
  margin: 0;
  padding: 2px 6px 2px 14px;
  background: var(--card);
  border-radius: calc(18px * var(--rk, 1));
}
.es-ideas li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}
.es-ideas li:first-child {
  border-top: 0;
}
.es-ideas time {
  font: 600 13.5px var(--display);
}
.es-ideas span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.es-ideas b {
  font-size: 14px;
  font-weight: 600;
}
.es-ideas small {
  font-size: 12.5px;
  color: var(--muted);
}
.empty-saved > .btn {
  margin-top: 6px;
}
/* desempenho */
.fps-hud {
  position: absolute;
  z-index: 4;
  left: 14px;
  top: 160px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 5px 9px;
  border-radius: 10px;
  background: rgba(12, 18, 36, 0.82);
  color: #9df07a;
  text-align: left;
  font-variant-numeric: tabular-nums;
}
.dim.low ~ .fps-hud {
  top: 208px;
}
.fps-hud b {
  font:
    700 14px ui-monospace,
    SFMono-Regular,
    monospace;
}
.fps-hud small {
  font-size: 10.5px;
  color: #d6dcea;
}
.fps-hud.bad {
  color: #ffb066;
}
.perf-stage {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: var(--bg);
}
.perf-stage .fps-hud {
  top: 10px;
  left: 10px;
}
.perf > .pad {
  padding-top: 14px;
}
.perf-table {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.perf-table button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto 18px;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: calc(14px * var(--rk, 1));
  background: var(--card);
}
.perf-table .best button {
  box-shadow: inset 0 0 0 2px var(--green);
}
.perf-table b {
  font-size: 14px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
}
.perf-table b em {
  font-style: normal;
  font-size: 11px;
  color: var(--green-ink);
}
.perf-table span {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font: 600 13.5px var(--display);
  font-variant-numeric: tabular-nums;
}
.perf-table i {
  font: 500 10.5px var(--ui);
  font-style: normal;
  color: var(--muted);
}
.perf-table .i {
  width: 16px;
  height: 16px;
  color: var(--green-ink);
}
.perf-out {
  width: 100%;
  font:
    12px/1.35 ui-monospace,
    SFMono-Regular,
    monospace;
  color: var(--ink-2);
  background: var(--card);
  border: 0;
  border-radius: 12px;
  padding: 10px;
  resize: none;
}
.cu-row2 button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
}
.cu-row2 button.on .switch {
  background: var(--green);
}
.cu-row2 button.on .switch::after {
  transform: translateX(15px);
}
.mini-seg.wide button {
  font-size: 12px;
}

/* ---- formulário de visitante ---- */
.guest-form {
  gap: 12px;
}
.guest-form .field input {
  padding: 12px 14px;
  font-size: 15.5px;
}
.field em {
  font-style: normal;
  font-weight: 500;
  color: var(--muted);
}
.g-kind {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  border: 0;
}
.g-kind legend {
  width: 100%;
  padding: 0;
  margin-bottom: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.g-kind label {
  position: relative;
}
.g-kind input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
}
.g-kind span {
  display: block;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  background: #fff;
  transition: all 0.2s;
}
.g-kind input:checked + span {
  background: #22386f;
  border-color: #22386f;
  color: #fff;
}
.g-kind input:focus-visible + span {
  outline: 2px solid #3a5a9b;
  outline-offset: 2px;
}
.g-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.g-ok {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-2);
}
.g-ok input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: #22386f;
}
.g-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 2px 0 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--muted);
}
.g-note .i {
  flex: none;
  width: 15px;
  height: 15px;
  margin-top: 1px;
}
.fromsuap.guest {
  background: #e6f3dc;
  color: #2f6f12;
}

/* ---- lembretes, instalação e sem internet ---- */
.remindrow > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.remindrow small {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--muted);
}
.remindtest {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: -6px;
  padding: 10px;
  border-radius: calc(14px * var(--rk, 1));
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent-ink);
  background: var(--blue-50);
}
.remindtest .i {
  width: 17px;
  height: 17px;
}
.notif[data-go] {
  cursor: pointer;
}
.install-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 14px;
  border-radius: calc(18px * var(--rk, 1));
  background: var(--card);
  text-align: left;
  border: 1.5px dashed var(--line);
}
.install-cta > .i:first-child {
  flex: none;
  width: 38px;
  height: 38px;
  padding: 9px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
}
.install-cta > span {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.install-cta b {
  font: 600 15px var(--display);
  color: var(--ink);
}
.install-cta small {
  font-size: 12.5px;
  color: var(--muted);
}
.install-cta > .i:last-child {
  width: 18px;
  height: 18px;
  color: var(--muted);
}
.netbar {
  position: absolute;
  z-index: 74;
  left: 50%;
  top: 50px;
  transform: translate(-50%, -14px);
  opacity: 0;
  pointer-events: none;
  padding: 7px 13px;
  border-radius: 999px;
  background: #3b4152;
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.35s var(--ease);
}
.netbar.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.netbar.ok {
  background: #2f7d22;
}
.upd {
  position: absolute;
  z-index: 76;
  left: 12px;
  right: 12px;
  bottom: 96px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 16px;
  border-radius: calc(18px * var(--rk, 1));
  background: #1d2a4d;
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.5);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s var(--ease);
}
.upd.show {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}
.upd span {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.upd b {
  font: 600 14.5px var(--display);
}
.upd small {
  font-size: 12px;
  opacity: 0.75;
}
.upd button {
  padding: 9px 14px;
  border-radius: 12px;
  background: #65b32e;
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
}

/* ---- painel da organização ---- */
.org {
  gap: 14px;
}
.org-demo {
  display: flex;
  gap: 9px;
  margin: 0;
  padding: 11px 13px;
  border-radius: calc(14px * var(--rk, 1));
  background: #fff6e0;
  color: #6b4a00;
  font-size: 13px;
  line-height: 1.4;
}
.org-demo .i {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 1px;
}
.org-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.org-kpis > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 13px 14px;
  border-radius: calc(16px * var(--rk, 1));
  background: var(--card);
}
.org-kpis b {
  font: 700 26px/1.05 var(--display);
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.org-kpis small {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.org-kpis em {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
}
.org-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: calc(18px * var(--rk, 1));
  background: var(--card);
}
.org-card h2 {
  margin: 0;
  font: 600 15.5px var(--display);
  color: var(--ink);
}
.org-card input,
.org-card textarea,
.org-card select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: calc(12px * var(--rk, 1));
  padding: 11px 12px;
  font: inherit;
  font-size: 15px;
  background: var(--bg);
  color: var(--ink);
  resize: none;
}
.org-card .btn .i {
  width: 17px;
  height: 17px;
}
.ob-chart {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.ob-base {
  stroke: var(--line);
  stroke-width: 1;
}
.ob-bar path {
  fill: var(--navy);
  transition: opacity 0.2s;
}
.ob-bar .hit {
  fill: transparent;
}
.ob-bar:hover path,
.ob-bar:focus path {
  opacity: 0.75;
}
.ob-bar:focus {
  outline: none;
}
.ob-x {
  font-size: 10px;
  fill: var(--muted);
  text-anchor: middle;
}
.ob-val {
  font-size: 11px;
  font-weight: 700;
  fill: var(--ink);
  text-anchor: middle;
}
.org-rooms {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.org-rooms li {
  display: grid;
  grid-template-columns: 1fr 72px 46px;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}
.org-rooms li:first-child {
  border-top: 0;
}
.org-rooms li > span:first-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.org-rooms b {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.org-rooms small {
  font-size: 12px;
  color: var(--muted);
}
.org-meter {
  height: 6px;
  border-radius: 6px;
  background: var(--line);
  overflow: hidden;
}
.org-meter i {
  display: block;
  height: 100%;
  border-radius: 6px;
  background: var(--navy);
}
.org-meter.full i {
  background: #c4492f;
}
.org-rooms em {
  font-style: normal;
  font-size: 12.5px;
  font-weight: 600;
  text-align: right;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.org-none {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}
.org-tag {
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--accent-ink);
  font: 600 10.5px var(--ui);
  vertical-align: 2px;
}
/* ---- sobre: real e exemplo ---- */
.sobre {
  gap: 14px;
}
.sb-card {
  padding: 14px 15px;
  border-radius: calc(18px * var(--rk, 1));
  background: var(--card);
}
.sb-card h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font: 600 16px var(--display);
  color: var(--ink);
}
.sb-card h2 .i {
  width: 20px;
  height: 20px;
  padding: 3px;
  border-radius: 7px;
  color: #fff;
}
.sb-card.real h2 .i {
  background: #2f7d22;
}
.sb-card.demo h2 .i {
  background: #b06d00;
}
.sb-card.approx h2 .i {
  background: #3a5a9b;
}
.sb-card.dev h2 .i {
  background: #55607a;
}
.sb-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sb-card li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}
.sb-card li:first-child {
  border-top: 0;
}
.sb-card li b {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.sb-card li small {
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}

.org-desk {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: calc(16px * var(--rk, 1));
  background: var(--navy);
  color: #fff;
  text-decoration: none;
}
.org-desk > .i {
  width: 20px;
  height: 20px;
  flex: none;
}
.org-desk span {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.org-desk b {
  font: 600 14.5px var(--display);
}
.org-desk small {
  font-size: 12px;
  opacity: 0.75;
}

/* ===== estilos/15-entrada-cracha-pendurado.css ===== */
/* estilos/15-entrada-cracha-pendurado.css · entrada: crachá pendurado.
   Parte do app.css, montado na ordem dos números (scripts/app/montar-app.mjs): a ordem importa, porque
   as partes mais novas refinam as anteriores. */
/* ================= entrada: o crachá =================
   O crachá no cordão é o login: os dados aparecem nele enquanto a pessoa digita, ele vira ao entrar
   e, puxado para baixo, leva a tela junto e mostra o app. */
/* entrada: crachá pendurado (física em mountBadgeLogin) */
@property --L {
  syntax: '<number>';
  inherits: true;
  initial-value: 46;
}
@property --cs {
  syntax: '<number>';
  inherits: true;
  initial-value: 0.7;
}
.lx {
  --n: #1b2d5c;
  --g: #65b32e;
  --L: 46;
  --cs: 0.66;
  transition:
    --L 0.75s var(--spring),
    --cs 0.75s var(--spring);
}
.lx-cracha {
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: none;
  background: radial-gradient(130% 60% at 50% 0%, #dfe7f6 0%, #eef2f9 55%, #f4f6fa 100%);
}
.lx-cracha.filled {
  --L: 70;
  --cs: 1;
}
.lx-cracha.guest-mode:not(.filled) {
  --L: 28;
  --cs: 0.46;
}
.lx-brand {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 22px 0;
  color: var(--ink);
}
.lx-brand .mark.xs {
  width: 15px;
  height: 27px;
}
.lx-brand b {
  font: 700 21px/1 var(--display);
  letter-spacing: -0.04em;
}
.lx-brand span {
  font: 500 14px var(--ui);
  opacity: 0.7;
}

.lx-hang {
  flex: none;
  position: relative;
  height: calc(var(--L) * 1px + 396px * var(--cs) + 8px);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}
.pulling .lx-hang {
  cursor: grabbing;
}
.lx-yard {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.ly path {
  fill: none;
  stroke-linecap: butt;
}
.ly-e {
  stroke: #4a8a1f;
  stroke-width: 17;
}
.ly-m {
  stroke: var(--g);
  stroke-width: 14;
}
.ly text {
  font: 800 6.8px var(--display);
  letter-spacing: 1.6px;
  fill: rgba(255, 255, 255, 0.92);
}
.lx-card {
  position: absolute;
  left: 50%;
  top: calc(var(--L) * 1px);
  width: 0;
  height: 0;
  z-index: 2;
  transform: translate(var(--px, 0px), var(--py, 0px)) rotate(var(--pa, 0rad)) scale(var(--cs));
  will-change: transform;
}
.bx {
  position: absolute;
  left: -116px;
  top: 18px;
  width: 232px;
  height: 378px;
  perspective: 1300px;
}
.bx-clip {
  position: absolute;
  left: 96px;
  top: -25px;
  width: 40px;
  height: 44px;
  z-index: 4;
  filter: drop-shadow(0 1px 1px rgba(10, 20, 50, 0.25));
}
.bx-flip {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.95s cubic-bezier(0.3, 0.75, 0.2, 1);
}
.filled .bx-flip {
  transform: rotateY(180deg);
}
.bx-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow:
    0 0 0 1px rgba(20, 36, 83, 0.06),
    0 34px 48px -30px rgba(15, 28, 64, 0.6),
    0 8px 16px -10px rgba(15, 28, 64, 0.3);
}
.bx-face.filled {
  transform: rotateY(180deg);
}
.bx-slot {
  position: absolute;
  z-index: 3;
  top: 11px;
  left: 50%;
  width: 44px;
  height: 9px;
  margin-left: -22px;
  border-radius: 5px;
  background: #e3e9f4;
  box-shadow:
    inset 0 1.5px 2px rgba(0, 0, 0, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.18);
}
.bx-head {
  position: relative;
  flex: none;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 27px;
  color: #fff;
  text-align: center;
  overflow: hidden;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='48'%3E%3Cpath d='M14 0L28 8V24L14 32L0 24V8ZM14 32V48' fill='none' stroke='%23fff' stroke-opacity='.08'/%3E%3C/svg%3E")
      0 0/22px auto,
    radial-gradient(90% 80% at 88% 0%, #30519c 0%, rgba(48, 81, 156, 0) 70%),
    linear-gradient(165deg, #22397a, #14234f);
}
.bx-ed {
  font: 700 8.5px var(--ui);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
}
.bx-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
}
.bx-brand .mark {
  width: 18px;
  height: 33px;
}
.bx-brand b {
  font: 700 35px/1 var(--display);
  letter-spacing: -0.05em;
}
.bx-holo {
  position: absolute;
  right: 13px;
  top: 13px;
  width: 22px;
  height: 25px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: conic-gradient(from calc(var(--tilt, 0) * 720deg), #ff9adf, #9ae6ff, #b8ffb0, #fff59a, #ffb08a, #ff9adf);
  opacity: 0.9;
}
.bx-holo::after {
  content: '';
  position: absolute;
  inset: 5px 6px;
  clip-path: inherit;
  background: rgba(255, 255, 255, 0.55);
}
.bx-photo {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 83px;
  width: 86px;
  height: 86px;
  margin-left: -43px;
  padding: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 18px -10px rgba(15, 28, 64, 0.55);
}
.bx-av {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(150deg, #2a4a92, var(--n));
  color: #fff;
  font: 700 26px var(--display);
  letter-spacing: -0.02em;
}
.bx-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bx-av.ph {
  background: #f1f4f9;
  border: 2px dashed #c9d2e2;
  color: #a5b1c7;
}
.bx-av.ph .i {
  width: 30px;
  height: 30px;
}
.bx-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 52px 16px 0;
  text-align: center;
}
.bx-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
  font: 700 19px/1.15 var(--display);
  letter-spacing: -0.025em;
  color: var(--ink);
}
.bx-name.ph {
  color: #a3aec3;
  font-weight: 600;
  border-bottom: 1.5px dashed #d3dae6;
  padding: 0 18px 2px;
}
.bx-name.ph.typed {
  color: var(--ink);
  border-bottom-color: transparent;
  font-weight: 700;
}
.bx-sub {
  margin-top: 3px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.blank .bx-sub {
  color: #9aa6bd;
}
.blank .bx-sub.typed {
  color: var(--ink-2);
}
.bx-sub2 {
  font-size: 11.5px;
  color: var(--muted);
}
.bx-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: auto 0 13px;
  padding: 7px;
  border-radius: 12px;
  background: #f2f5fa;
  text-align: left;
}
.bx-qr {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #fff;
  color: #b3bdd0;
}
.bx-qr svg {
  width: 42px;
  height: 42px;
}
.bx-qr.ph {
  border: 1.5px dashed #cfd7e5;
}
.bx-qr.ph .i {
  width: 22px;
  height: 22px;
}
.bx-row small {
  display: flex;
  flex-direction: column;
  font-size: 11px;
  line-height: 1.3;
  color: var(--muted);
}
.bx-row small b {
  font: 600 13px var(--ui);
  color: var(--ink);
  letter-spacing: 0.02em;
}
.asking .bx-qr.ph {
  animation: lxPulse 1s ease-in-out infinite;
}
@keyframes lxPulse {
  50% {
    transform: scale(0.9);
    opacity: 0.6;
  }
}
.bx-role {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  padding: 0 14px;
  background: var(--g);
  color: #fff;
}
.bx-role b {
  font: 800 11.5px var(--display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.bx-role span {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.9;
}
.bx-role.guest {
  background: #e2961c;
}
.bx-role.ph {
  background: #e6ebf3;
  color: #8e9ab1;
}
.bx-sheen {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(
      112deg,
      rgba(255, 255, 255, 0) 35%,
      rgba(255, 255, 255, 0.38) 48%,
      rgba(255, 255, 255, 0) 60%
    )
    no-repeat;
  background-size: 300% 100%;
  background-position: calc(50% + var(--tilt, 0) * 260%) 0;
  mix-blend-mode: overlay;
}

.lx-pull {
  display: none;
  position: relative;
  z-index: 1;
  flex-direction: column;
  align-items: center;
  margin: -2px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.lx-arrow .i {
  display: block;
  width: 20px;
  height: 20px;
  transform: rotate(90deg);
  animation: lxNudge 1.6s ease-in-out infinite;
}
@keyframes lxNudge {
  50% {
    translate: 0 5px;
  }
}
.lx-pull .t2 {
  display: none;
  color: var(--g);
}
.ready .lx-pull .t1 {
  display: none;
}
.ready .lx-pull .t2 {
  display: inline;
}
.filled .lx-pull {
  display: flex;
  animation: rise 0.5s var(--ease) 0.7s both;
}

.lx-bottom {
  position: relative;
  flex: 1;
  padding: 16px 20px 24px;
}
.lx-cracha.guest-mode .lx-bottom {
  padding-top: 8px;
}
.lx-seg {
  display: flex;
  padding: 4px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: #e3e9f3;
}
.lx-seg button {
  flex: 1;
  padding: 10px;
  border-radius: 11px;
  font: 600 14.5px var(--display);
  color: var(--ink-2);
}
.lx-seg button[aria-selected='true'] {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(20, 32, 70, 0.12);
}
.lx-form.swap > * {
  animation: rise 0.4s var(--ease) both;
}
.lx-resume {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
  background: #fff;
  border: 1.5px solid var(--n);
  text-align: left;
  color: var(--ink);
}
.lx-resume > span:nth-child(2) {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.lx-resume b {
  font: 600 15.5px var(--display);
}
.lx-resume small {
  font-size: 12.5px;
  color: var(--muted);
}
.lx-resume > .i {
  width: 18px;
  height: 18px;
  color: var(--muted);
}
.lx-ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--g);
  color: #fff;
  font: 700 14px var(--display);
}
.lx-or {
  margin: 12px 0;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}
.lx-done {
  display: none;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}
.lx-done p {
  margin: -4px 0 6px;
  color: var(--muted);
  font-size: 14px;
}
.lx-q {
  margin: 0;
  font: 600 21px/1.2 var(--display);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.filled .lx-start {
  display: none;
}
.filled .lx-done {
  display: flex;
  animation: rise 0.5s var(--ease) 0.45s both;
}
/* a tela de entrada vira uma cortina sobre o app montado por baixo */
.page.lx-under {
  transform-origin: 50% 0;
  transform: scale(0.92);
  filter: brightness(0.7);
}
.page.lx-moving {
  box-shadow: 0 -24px 50px rgba(8, 16, 40, 0.35);
  border-radius: 28px 28px 0 0;
  overflow: hidden;
}
@media (prefers-reduced-motion: reduce) {
  .lx-arrow .i,
  .asking .bx-qr.ph {
    animation: none;
  }
  .bx-flip {
    transition: none;
  }
  .lx {
    transition: none;
  }
}

/* ===== estilos/16-leitor-qr-acabamento.css ===== */
/* estilos/16-leitor-qr-acabamento.css · leitura do QR: acabamento, ajustes e busca do mapa.
   Parte do app.css, montado na ordem dos números (scripts/app/montar-app.mjs): a ordem importa, porque
   as partes mais novas refinam as anteriores. */
/* ================= leitura do QR: acabamento =================
   Selo hexagonal com favos, tela de boas-vindas, cartão de resultado e aviso de favo novo. */
.hx-badge {
  position: relative;
  flex: none;
  width: 84px;
  height: 84px;
}
.hx-badge svg {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.hx-bg {
  fill: #4f9e22;
  transform-origin: center;
  transform-box: fill-box;
  animation: hxPop 0.6s var(--spring) 0.1s both;
  filter: drop-shadow(0 8px 14px rgba(47, 111, 18, 0.35));
}
.hx-ck {
  fill: none;
  stroke: #fff;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: draw 0.4s var(--ease) 0.45s forwards;
}
@keyframes hxPop {
  0% {
    transform: scale(0) rotate(-60deg);
  }
  100% {
    transform: none;
  }
}
.hx-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #8fdc5c;
  opacity: 0;
  animation: hxRing 1.1s ease-out 0.3s both;
}
.hx-ring.r2 {
  animation-delay: 0.5s;
}
@keyframes hxRing {
  0% {
    transform: scale(0.6);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}
.hx-burst {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
}
.hx-burst i {
  position: absolute;
  left: -5px;
  top: -5.5px;
  width: 10px;
  height: 11px;
  background: var(--c);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  opacity: 0;
  animation: hxFly 0.95s cubic-bezier(0.15, 0.7, 0.3, 1) calc(0.32s + var(--t)) both;
}
@keyframes hxFly {
  0% {
    transform: rotate(var(--a)) translateY(0) scale(0);
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    transform: rotate(var(--a)) translateY(calc(var(--d) * -1)) rotate(140deg) scale(var(--s));
    opacity: 0;
  }
}
.hx-badge.muted .hx-bg {
  fill: #3a5a9b;
  filter: drop-shadow(0 8px 14px rgba(34, 56, 111, 0.3));
}
.hx-badge.muted .hx-ring,
.hx-badge.muted .hx-burst {
  display: none;
}
.hx-badge.big {
  width: 108px;
  height: 108px;
}

.wl {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 62px 20px 28px;
  overflow-y: auto;
  scrollbar-width: none;
  color: #fff;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='48'%3E%3Cpath d='M14 0L28 8V24L14 32L0 24V8ZM14 32V48' fill='none' stroke='%23fff' stroke-opacity='.06'/%3E%3C/svg%3E")
      0 0/30px auto,
    radial-gradient(80% 45% at 50% 18%, rgba(101, 179, 46, 0.32), rgba(101, 179, 46, 0) 70%),
    linear-gradient(180deg, #14234f 0%, #1d3370 60%, #22397a 100%);
}
.w-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.w-kick {
  margin: 20px 0 6px;
  font: 800 11px var(--display);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #a4e27e;
  animation: rise 0.5s var(--ease) 0.5s both;
}
.wl h1 {
  margin: 0;
  font: 700 30px/1.08 var(--display);
  letter-spacing: -0.035em;
  animation: rise 0.5s var(--ease) 0.56s both;
}
.w-sub {
  margin: 8px 0 0;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.78);
  animation: rise 0.5s var(--ease) 0.62s both;
}
.w-ticket {
  position: relative;
  margin-top: 26px;
  padding: 16px;
  border-radius: 22px;
  background: #fff;
  color: #1f2f57;
  box-shadow: 0 30px 50px -24px rgba(0, 0, 0, 0.55);
  animation: ticketIn 0.7s var(--spring) 0.7s both;
}
@keyframes ticketIn {
  from {
    opacity: 0;
    transform: translateY(40px) rotate(-3deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.wt-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.wt-head .av {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #22386f;
  color: #fff;
  font: 700 16px var(--display);
}
.wt-head .av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wt-head > span:nth-child(2) {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.wt-head b {
  font: 700 16px/1.2 var(--display);
  letter-spacing: -0.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wt-head small {
  font-size: 12.5px;
  color: #6a7894;
}
.wt-ok {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 9px;
  border-radius: 99px;
  background: #e6f3dc;
  color: #2f6f12;
  font-size: 12px;
  font-weight: 700;
}
.wt-ok .i {
  width: 14px;
  height: 14px;
  stroke-width: 3;
}
.wt-cut {
  position: relative;
  display: block;
  height: 0;
  margin: 16px -16px;
  border-top: 2px dashed #e2e7f0;
}
.wt-cut::before,
.wt-cut::after {
  content: '';
  position: absolute;
  top: -12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1b3068;
}
.wt-cut::before {
  left: -11px;
}
.wt-cut::after {
  right: -11px;
}
.wt-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  text-align: center;
}
.wt-facts div + div {
  border-left: 1px solid #edf0f6;
}
.wt-facts dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a96ae;
}
.wt-facts dd {
  margin: 3px 0 0;
  font: 700 18px var(--display);
  letter-spacing: -0.02em;
}
.wt-facts small {
  font-size: 11.5px;
  color: #6a7894;
}
.w-ticket .res-comb {
  margin-top: 16px;
}
.w-actions {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  animation: rise 0.5s var(--ease) 0.95s both;
}
.w-main {
  background: #fff;
  color: #14234f;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5);
}
.wl .btn.ghost {
  color: #fff;
}

.res-comb {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px 9px 9px;
  border-radius: 16px;
  background: linear-gradient(100deg, #fff7df, #fdf1cf);
  color: #5c4300;
}
.res-comb .hm-comb.rc {
  width: 50px;
  height: 48px;
}
.res-comb .hm-comb .cell:not(.on) path {
  fill: rgba(160, 116, 0, 0.08);
  stroke: rgba(160, 116, 0, 0.3);
}
.res-comb > span {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.res-comb small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #a07400;
}
.res-comb b {
  font: 700 14.5px/1.25 var(--display);
  color: #3d2c00;
}
.res-comb em {
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  color: #a07400;
}
.res-comb em b {
  font-size: 20px;
  color: #3d2c00;
}

.scan-res {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: rgba(6, 10, 22, 0);
  transition: background 0.35s;
}
.scan-res.in {
  background: rgba(6, 10, 22, 0.45);
}
.sr-card {
  position: relative;
  padding: 8px 20px 28px;
  border-radius: calc(28px * var(--rk, 1)) calc(28px * var(--rk, 1)) 0 0;
  background: var(--card);
  color: var(--ink);
  transform: translateY(105%);
  transition: transform 0.55s var(--spring);
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.25);
}
.scan-res.in .sr-card {
  transform: none;
}
.sr-card .grab {
  display: block;
  width: 38px;
  height: 5px;
  margin: 0 auto 14px;
  border-radius: 3px;
  background: var(--line-2);
}
.sr-hero {
  display: flex;
  align-items: center;
  gap: 16px;
}
.sr-hero > div {
  min-width: 0;
}
.sr-kick {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-ink);
}
.sr-hero h2 {
  margin: 3px 0 2px;
  font: 700 21px/1.15 var(--display);
  letter-spacing: -0.025em;
}
.sr-hero p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}
.sr-hero .hx-badge {
  width: 74px;
  height: 74px;
}
.sr-peer {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(150deg, #3a5a9b, #22386f);
  color: #fff;
  font: 700 24px var(--display);
  animation: hxPop 0.55s var(--spring) 0.1s both;
}
.sr-peer i {
  position: absolute;
  right: -2px;
  bottom: -2px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #4f9e22;
  border: 3px solid var(--card);
  color: #fff;
  animation: pop 0.4s var(--spring) 0.45s both;
}
.sr-peer i .i {
  width: 14px;
  height: 14px;
  stroke-width: 3.4;
}
.sr-facts {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
}
.sr-facts li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 16px;
  background: var(--bg);
  animation: rise 0.45s var(--ease) both;
}
.sr-facts li:nth-child(2) {
  animation-delay: 0.06s;
}
.sr-facts li > .i {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--accent-ink);
}
.sr-facts span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.sr-facts b {
  font-size: 14px;
  font-weight: 700;
}
.sr-facts small {
  font-size: 12px;
  color: var(--muted);
}
.sr-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}
.sr-tags span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 99px;
  background: var(--bg);
  font-size: 13px;
  font-weight: 600;
}
.sr-tags .i {
  width: 15px;
  height: 15px;
  color: var(--accent-ink);
}
.sr-card .res-comb {
  margin-top: 12px;
  animation: rise 0.45s var(--ease) 0.15s both;
}
.sr-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}
.sr-actions .btn.soft .i {
  width: 18px;
  height: 18px;
}
.has-res .scan-hint {
  opacity: 0;
}

.combtoast {
  position: absolute;
  z-index: 78;
  left: 10px;
  right: 10px;
  top: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 10px;
  overflow: hidden;
  text-align: left;
  border-radius: calc(24px * var(--rk, 1));
  background: linear-gradient(110deg, #1a2a5a, #22386f);
  color: #fff;
  box-shadow:
    0 18px 40px -12px rgba(5, 10, 30, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: translateY(-140%) scale(0.9);
  opacity: 0;
  transition:
    transform 0.6s var(--spring),
    opacity 0.3s;
  pointer-events: none;
}
.combtoast.show {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}
.ct-comb {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 58px;
  height: 56px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}
.ct-comb::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 201, 64, 0.55), transparent 70%);
  opacity: 0;
  animation: ctGlow 1.4s ease-out 0.5s;
}
@keyframes ctGlow {
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.combtoast .hm-comb.ct {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 44px;
}
.combtoast .hm-comb .cell:not(.on) path {
  fill: rgba(255, 255, 255, 0.06);
  stroke: rgba(255, 255, 255, 0.3);
}
.ct-tx {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ct-tx small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffd166;
}
.ct-tx small .i {
  width: 12px;
  height: 12px;
  fill: #ffd166;
  stroke: none;
}
.ct-tx b {
  font: 700 15px/1.2 var(--display);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ct-bar {
  display: flex;
  gap: 3px;
  margin-top: 4px;
}
.ct-bar i {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.18);
}
.ct-bar i.on {
  background: #f5b82e;
}
.ct-bar i.new {
  animation: ctNew 0.9s var(--ease) 0.5s both;
}
@keyframes ctNew {
  0% {
    background: rgba(255, 255, 255, 0.18);
    transform: scaleY(1);
  }
  50% {
    background: #fff3c4;
    transform: scaleY(2);
  }
  100% {
    background: #f5b82e;
    transform: none;
  }
}
.ct-n {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.1;
}
.ct-n b {
  font: 700 22px var(--display);
  color: #fff;
}
.ct-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.16) 50%, transparent 65%);
  transform: translateX(-100%);
  pointer-events: none;
}
.combtoast.show .ct-shine {
  animation: ctShine 1.1s ease 0.45s;
}
@keyframes ctShine {
  to {
    transform: translateX(100%);
  }
}

/* scanner: moldura, laser e travamento */
.scanner .frame > i {
  border-color: rgba(255, 255, 255, 0.95);
  filter: drop-shadow(0 0 0 rgba(143, 220, 92, 0));
  transition:
    border-color 0.2s,
    filter 0.3s,
    transform 0.35s var(--spring);
}
.scanner .frame > i:nth-child(1) {
  transform: translate(-4px, -4px);
}
.scanner .frame > i:nth-child(2) {
  transform: translate(4px, -4px);
}
.scanner .frame > i:nth-child(3) {
  transform: translate(-4px, 4px);
}
.scanner .frame > i:nth-child(4) {
  transform: translate(4px, 4px);
}
.scanner .frame {
  animation: frameBreath 2.6s ease-in-out infinite;
}
@keyframes frameBreath {
  50% {
    transform: scale(1.015);
  }
}
.reading .frame,
.is-locked .frame {
  animation: none;
}
.scanner .scanline {
  height: 2px;
  background: linear-gradient(90deg, transparent, #b4f58c 18%, #e9ffd9 50%, #b4f58c 82%, transparent);
  box-shadow: 0 0 14px 2px rgba(143, 220, 92, 0.55);
}
.scanner .scanline::after {
  content: '';
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 2px;
  height: 56px;
  background: linear-gradient(to top, rgba(143, 220, 92, 0.2), rgba(143, 220, 92, 0));
  pointer-events: none;
}
.is-locked .frame > i {
  border-color: #8fdc5c;
  filter: drop-shadow(0 0 8px rgba(143, 220, 92, 0.8));
  transform: none;
}
.scanner .frame::before,
.scanner .frame::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: calc(22px * var(--rk, 1));
  opacity: 0;
  pointer-events: none;
}
.is-locked .frame::before {
  background: rgba(143, 220, 92, 0.16);
  animation: lockFlash 0.7s ease both;
}
.is-locked .frame::after {
  border: 2px solid #8fdc5c;
  animation: lockRing 0.8s ease-out both;
}
@keyframes lockFlash {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 0.5;
  }
}
@keyframes lockRing {
  0% {
    opacity: 0.9;
    transform: scale(0.9);
  }
  100% {
    opacity: 0;
    transform: scale(1.25);
  }
}
.scan-dock p {
  display: flex;
  align-items: center;
  gap: 8px;
}
.scan-dock p em {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 99px;
  background: var(--bg);
  color: var(--muted);
}
.spot > span {
  width: 44px;
  height: 48px;
  border-radius: 0;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  transition:
    transform 0.25s var(--spring),
    background 0.2s;
}
.spot:active > span {
  transform: scale(0.9);
}
.spot.first > span {
  background: #4f9e22;
  animation: spotCall 1.8s ease-in-out infinite;
}
@keyframes spotCall {
  0%,
  100% {
    transform: none;
  }
  50% {
    transform: scale(1.1);
  }
}
.has-res .scan-dock {
  transform: translateY(110%);
}
@media (prefers-reduced-motion: reduce) {
  .hx-burst,
  .hx-ring {
    display: none;
  }
  .scanner .frame,
  .spot.first > span {
    animation: none;
  }
}
.sh-src {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}
.sh-src a {
  color: var(--blue);
  font-weight: 600;
}
.sh-ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--navy);
  margin-right: 10px;
}
.sh-ic svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sh-top .sh-ic + div {
  flex: 1;
  min-width: 0;
}

/* ===== estilos/17-mapa-no-polegar.css ===== */
/* estilos/17-mapa-no-polegar.css · mapa na zona do polegar, busca no teclado e produção.
   Parte do app.css, montado na ordem dos números (scripts/app/montar-app.mjs): a ordem importa, porque
   as partes mais novas refinam as anteriores. */
/* Ajustes do mapa */
.map-cfg {
  position: absolute;
  right: 62px;
  top: 118px;
  z-index: 6;
  display: none;
  width: 208px;
  padding: 10px;
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 10px 30px rgba(20, 32, 64, 0.18);
  border: 1px solid var(--line);
}
.map-cfg.open {
  display: grid;
  gap: 4px;
}
.map-cfg.low {
  top: 166px;
}
.map-cfg .mc-hour {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 4px 4px 8px;
  font-size: 13px;
  color: var(--ink-2);
}
.map-cfg .mc-hour input {
  width: 100%;
  accent-color: var(--navy);
}
.map-cfg .mc-hour b {
  font:
    600 12px/1 ui-monospace,
    monospace;
  color: var(--ink);
}
.map-cfg button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 6px;
  border: 0;
  background: none;
  border-radius: 10px;
  font: inherit;
  font-size: 13.5px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.map-cfg button:hover {
  background: var(--seg);
}
.map-cfg button.on .switch {
  background: var(--green);
}
.map-cfg button.on .switch::after {
  transform: translateX(15px);
}

/* Busca: grupos, atalhos e minutos a pé */
.finder-res {
  height: 310px;
}
.finder-res li.fd-h {
  display: block;
  padding: 14px 2px 4px;
  border: 0;
  font: 700 11.5px/1 var(--ui);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: default;
}
.finder-res li.fd-h + li {
  border-top: 0;
}
.finder-res li.fd-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 4px 0 6px;
  border: 0;
  cursor: default;
}
.fd-chips button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  font: 600 13px var(--ui);
  color: var(--ink);
}
.fd-chips .fd-ic {
  width: 26px;
  height: 26px;
  border-radius: 50%;
}
.fd-chips .fd-ic .i {
  width: 15px;
  height: 15px;
}
.finder-res li > .fd-ic,
.fd-ic {
  width: 38px;
  height: 38px;
  border-radius: calc(12px * var(--rk, 1));
  display: grid;
  place-items: center;
  flex: none;
  background: var(--blue-50);
  color: var(--accent-ink);
}
.fd-ic.w {
  background: #e3f2fb;
  color: #1f7fbf;
}
.fd-ic.b {
  background: #eef0f6;
  color: #3b4a6b;
}
.fd-ic.g {
  background: #e6f2dc;
  color: #3f7a2a;
}
.fd-ic.y {
  background: #fdf1d8;
  color: #9a6a08;
}
:root[data-theme='dark'] .fd-ic.w {
  background: #173a52;
  color: #8fd0f5;
}
:root[data-theme='dark'] .fd-ic.b {
  background: #253150;
  color: #c9d3ea;
}
:root[data-theme='dark'] .fd-ic.g {
  background: #20402b;
  color: #a6dc8f;
}
:root[data-theme='dark'] .fd-ic.y {
  background: #43361a;
  color: #f3cf7a;
}
.finder-res li > div {
  flex: 1;
  min-width: 0;
}
.finder-res li > div b,
.finder-res li > div small {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.finder-res li > em {
  font: 600 12px var(--ui);
  font-style: normal;
  color: var(--muted);
  background: var(--bg);
  padding: 4px 8px;
  border-radius: 999px;
  flex: none;
}
.finder-res li > em.live {
  color: #fff;
  background: var(--green);
}

/* Seletores do mapa: pílulas de vidro fosco; a escolhida em destaque. */
.map-top .seg {
  border-radius: 999px;
  padding: 4px;
  background: color-mix(in srgb, var(--card) 80%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow:
    0 8px 22px -12px rgba(20, 32, 64, 0.45),
    inset 0 0 0 1px color-mix(in srgb, var(--line) 70%, transparent);
}
.map-top .seg .seg-ind {
  top: 4px;
  bottom: 4px;
  border-radius: 999px;
  background: var(--navy);
  box-shadow: 0 6px 14px -6px var(--navy);
}
.map-top .seg button {
  padding: 8px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.01em;
}
.map-top .seg button.on {
  color: #fff;
}
.map-top .seg.four {
  width: min(100%, 300px);
  justify-self: center;
  align-self: center;
  padding: 3px;
  background: color-mix(in srgb, var(--card) 70%, transparent);
}
.map-top .seg.four .seg-ind {
  top: 3px;
  bottom: 3px;
  background: var(--card);
  box-shadow: 0 2px 8px -2px rgba(20, 32, 64, 0.3);
}
.map-top .seg.four button {
  padding: 5px 0;
  font-size: 12px;
}
.map-top .seg.four button.on {
  color: var(--accent-ink);
}
.dim {
  border-radius: 999px;
  background: color-mix(in srgb, var(--card) 80%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 8px 22px -12px rgba(20, 32, 64, 0.45),
    inset 0 0 0 1px color-mix(in srgb, var(--line) 70%, transparent);
}
.dim > i {
  border-radius: 999px;
}
.map-ctrl.cam-ctrl {
  border-radius: 18px;
  background: color-mix(in srgb, var(--card) 80%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 22px -12px rgba(20, 32, 64, 0.45);
}
/* Entrada com o servidor ligado */
.lg-note {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--muted);
}
.lg-err.ok {
  color: var(--green-ink, #2f6b1d);
  background: var(--green-50, #e9f5e1);
}
.lg-err.ok a {
  font-weight: 700;
  color: inherit;
}
/* Câmera de verdade no leitor */
.scan-cam {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s;
  z-index: 1;
}
.scan-cam.on {
  opacity: 1;
}
.scan-cam.on ~ .scan-mask,
.scan-cam.on ~ .frame,
.scan-cam.on ~ .scan-top,
.scan-cam.on ~ .scan-hint {
  z-index: 2;
}
.cam-dock {
  padding: 16px 22px 28px;
  text-align: center;
}
.cam-dock p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink-2);
}
.cam-dock.with-demo {
  padding-bottom: 6px;
}
.cam-dock.with-demo + .scan-dock {
  margin-top: 0;
  border-radius: 0;
}
/* ---------- Mapa na zona do polegar (celular primeiro) ----------
   Controles numa coluna à direita, abas e busca embaixo, logo acima da barra de abas; a folha do lugar fica por último. */
.map-bottom {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}
.map-bottom > * {
  pointer-events: auto;
}
.map-side {
  position: relative;
  align-self: flex-end;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0 12px 10px 0;
  pointer-events: none;
}
.map-side > * {
  pointer-events: auto;
}
.map-side .dim {
  position: relative;
  left: auto;
  top: auto;
  width: 46px;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr;
}
.map-side .dim > i {
  left: 3px;
  right: 3px;
  top: 3px;
  bottom: auto;
  width: auto;
  height: calc(50% - 3px);
  transform: translateY(calc(var(--k) * 100%));
}
.map-side .dim button {
  padding: 9px 0;
}
.map-side .map-ctrl.cam-ctrl,
.map-side .map-ctrl.cam-ctrl.low {
  position: relative;
  right: auto;
  top: auto;
}
.map-side .map-cfg {
  top: auto;
  bottom: 0;
  right: 58px;
}
.map-dock {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 12px 12px;
}
.map-dock .seg {
  border-radius: 999px;
  padding: 4px;
  background: color-mix(in srgb, var(--card) 80%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 8px 22px -12px rgba(20, 32, 64, 0.45);
}
.map-dock .seg .seg-ind {
  top: 4px;
  bottom: 4px;
  border-radius: 999px;
  background: var(--navy);
  box-shadow: 0 6px 14px -6px var(--navy);
}
.map-dock .seg button {
  padding: 8px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.01em;
}
.map-dock .seg button.on {
  color: #fff;
}
.map-dock .seg.four {
  width: min(100%, 300px);
  align-self: center;
  padding: 3px;
  background: color-mix(in srgb, var(--card) 70%, transparent);
}
.map-dock .seg.four .seg-ind {
  top: 3px;
  bottom: 3px;
  background: var(--card);
  box-shadow: 0 2px 8px -2px rgba(20, 32, 64, 0.3);
}
.map-dock .seg.four button {
  padding: 5px 0;
  font-size: 12px;
}
.map-dock .seg.four button.on {
  color: var(--accent-ink);
}
.map-dock .search {
  box-shadow: 0 8px 22px -12px rgba(20, 32, 64, 0.45);
}
.map-bottom .sheet-card {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
}
.map-bottom.has-detail .map-dock {
  display: none;
}
/* ---------- Busca colada no teclado ----------
   --kb é a altura do teclado (visualViewport). Os resultados crescem para cima; o melhor fica junto da barra. */
.overlay.finder .ov-panel {
  bottom: var(--kb, 0px);
  transition:
    transform 0.45s var(--ease),
    bottom 0.18s ease-out;
}
.sheet.finder {
  display: flex;
  flex-direction: column;
  padding: 6px 14px 16px;
  border-radius: calc(24px * var(--rk, 1)) calc(24px * var(--rk, 1)) 0 0;
}
.overlay.kb .sheet.finder {
  padding-bottom: 8px;
}
.finder .finder-res {
  height: auto;
  max-height: min(50vh, calc(100dvh - var(--kb, 0px) - 230px));
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: 4px 0 2px;
}
.sheet.finder:not(.has-res) .finder-res {
  display: none;
}
.finder .finder-res li.fd-h {
  padding: 12px 2px 4px;
}
.finder .finder-res li.best {
  background: color-mix(in srgb, var(--accent-ink) 7%, transparent);
  border-radius: 14px;
  padding: 9px 8px;
  border-top-color: transparent;
}
.finder .fd-route {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
  padding: 7px 12px;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font: 600 13px var(--ui);
  cursor: pointer;
}
.finder .fd-route .i {
  width: 15px;
  height: 15px;
}
.finder .fd-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 0 8px;
  scrollbar-width: none;
}
.finder .fd-chips::-webkit-scrollbar {
  display: none;
}
.finder .fd-chips button {
  flex: none;
}
.finder-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}
.finder-bar .finder-in {
  flex: 1;
  min-width: 0;
  margin: 0;
}
.sheet.finder {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.finder-in input[type='search']::-webkit-search-cancel-button {
  display: none;
}
.fd-acts {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: calc(15px * var(--rk, 1));
  background: var(--card);
  font: 600 13px var(--ui);
  color: var(--ink-2);
  cursor: pointer;
}
.fd-acts .i {
  width: 17px;
  height: 17px;
}
.fd-acts.on {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
@media (max-width: 360px) {
  .fd-acts span {
    display: none;
  }
}
/* ---------- Produção (com servidor): sem moldura de celular ----------
   No celular a tela já é inteira; em telas largas o app vira uma coluna na altura toda, sem aparelho falso. */
html.prod .stage-note,
html.prod .stage-sky,
html.prod .hw,
html.prod .home-ind {
  display: none;
}
@media (min-width: 521px) {
  html.prod .stage {
    padding: 0;
    gap: 0;
    background: var(--bg);
  }
  html.prod .device {
    --w: min(100vw, 480px);
    --h: 100vh;
    --h: 100dvh;
    padding: 0;
    border-radius: 0;
    background: none;
    box-shadow: 0 0 0 1px var(--line);
  }
  html.prod .screen {
    border-radius: 0;
    box-shadow: none;
  }
  html.prod .statusbar {
    height: 0;
    padding: 0;
    font-size: 0;
  }
  html.prod .statusbar * {
    display: none;
  }
  html.prod .overlay {
    top: 0;
  }
}
/* Sem a dica "Puxe o crachá para baixo": o botão "Abrir o app" basta (o gesto continua funcionando). */
.filled .lx-pull {
  display: none !important;
}

/* ===== estilos/18-campeonatos-e-ceu.css ===== */
/* estilos/18-campeonatos-e-ceu.css · campeonatos (segunda versão) e céu da tela inicial.
   Parte do app.css, montado na ordem dos números (scripts/app/montar-app.mjs): a ordem importa, porque
   as partes mais novas refinam as anteriores. */
/* ---- campeonatos: situação, inscrição e chave com resultados ---- */
.games-lead {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.t-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.t-chip.open {
  background: #e9f7dc;
  color: #2b5c12;
}
.t-chip.me {
  background: #fff;
  color: #1f2f57;
}
.t-chip.me .i {
  width: 13px;
  height: 13px;
}
.t-chip.done {
  background: rgba(255, 255, 255, 0.2);
}
.t-chip.live {
  background: #ffe2d9;
  color: #8f2412;
}
.t-chip.live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d6332c;
  animation: tPulse 1.4s ease-in-out infinite;
}
@keyframes tPulse {
  50% {
    opacity: 0.25;
  }
}
.poster {
  height: 216px;
}
.poster-chip {
  position: absolute;
  left: 18px;
  bottom: 46px;
  display: flex;
}
.tour-title .t-chip {
  margin-top: 10px;
}
.tour-hero {
  height: auto;
  min-height: 250px;
}
.t-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 4px 20px 14px;
}
.t-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.tour .btn {
  height: 48px;
  border-radius: calc(15px * var(--rk, 1));
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.tour .btn .i {
  width: 18px;
  height: 18px;
}
.t-cta {
  width: 100%;
  color: #fff;
}
.mk .t-cta {
  background: linear-gradient(180deg, #ff6a3a, #e23d14);
  box-shadow: 0 10px 22px -10px #ff5a2a;
}
.fifa .t-cta {
  background: linear-gradient(180deg, #5d86ff, #2f5be0);
  box-shadow: 0 10px 22px -10px #4a78ff;
}
.t-ghost {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13.5px;
}
.t-ghost.on {
  background: rgba(255, 255, 255, 0.2);
}
.t-in {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: calc(16px * var(--rk, 1));
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.t-in > span {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.t-in b {
  font-size: 14.5px;
}
.t-in small {
  font-size: 12.5px;
  opacity: 0.7;
}
.t-in-ok {
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 50%;
  background: #4f9e22;
  color: #fff;
  flex: none;
}
.t-in button {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  opacity: 0.75;
  padding: 8px 4px;
}
.t-form {
  margin: 4px 20px 16px;
  padding: 16px;
  border-radius: calc(20px * var(--rk, 1));
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.t-form h3 {
  margin: 0;
  font:
    400 22px 'Anton',
    Impact,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.t-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.t-field > span {
  font-size: 12.5px;
  font-weight: 600;
  opacity: 0.7;
}
.t-field input {
  height: 46px;
  border-radius: calc(13px * var(--rk, 1));
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  padding: 0 14px;
  font: 600 16px var(--body, inherit);
}
.t-field input:focus {
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: 1px;
}
.t-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.t-chips button {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.t-chips button.on {
  background: #fff;
  color: #141018;
  border-color: #fff;
}
.t-note {
  margin: 0;
  font-size: 12.5px;
  opacity: 0.65;
}
.pl {
  position: relative;
}
.pl.win b {
  font-weight: 800;
}
.pl.lose {
  opacity: 0.42;
}
.pl.lose b {
  text-decoration: line-through;
}
.pl .pl-ok {
  width: 15px;
  height: 15px;
  margin-left: auto;
  color: #8fdc5c;
}
.pl.me b::after {
  content: 'você';
  margin-left: 6px;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
  background: #fff;
  color: #141018;
  vertical-align: middle;
}
.pl.open i {
  background: none !important;
  border: 1.5px dashed rgba(255, 255, 255, 0.3);
}
.pl.open b {
  opacity: 0.5;
  font-weight: 500;
}
.match.final {
  border-color: rgba(255, 214, 120, 0.5);
  background: rgba(255, 214, 120, 0.09);
}
.bk-hint {
  margin: 10px 20px 0;
  font-size: 12px;
  opacity: 0.5;
}
.champ {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 20px 16px;
  padding: 14px 16px;
  border-radius: calc(18px * var(--rk, 1));
  background: linear-gradient(120deg, rgba(255, 214, 120, 0.26), rgba(255, 214, 120, 0.08));
  border: 1px solid rgba(255, 214, 120, 0.5);
}
.champ > .i {
  width: 34px;
  height: 34px;
  color: #ffd678;
  flex: none;
}
.champ span {
  display: flex;
  flex-direction: column;
}
.champ small {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffd678;
}
.champ b {
  font:
    400 26px/1.05 'Anton',
    Impact,
    sans-serif;
  text-transform: uppercase;
}
.champ em {
  font-style: normal;
  font-size: 12.5px;
  opacity: 0.7;
}
.players li {
  position: relative;
}
.players li em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  margin-top: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  align-self: flex-start;
}
.players li u {
  position: absolute;
  right: 12px;
  top: 12px;
  text-decoration: none;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 999px;
  background: #fff;
  color: #141018;
}
.players li.me {
  outline: 1.5px solid rgba(255, 255, 255, 0.6);
}
.players li.open {
  background: none;
  border: 1.5px dashed rgba(255, 255, 255, 0.22);
}
.players li.open i {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  font-size: 18px;
}
.players li.open b {
  opacity: 0.75;
}
.players li.open button {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
  color: #fff;
  width: 100%;
}

/* ---- céu da tela inicial: nuvens em camadas próprias (só transform), brilho do sol e mais profundidade ---- */
.hm-cloud {
  position: absolute;
  left: 0;
  top: 0;
  height: 22px;
  border-radius: 999px;
  background: #fff;
  opacity: calc(0.62 - var(--night) * 0.5);
  will-change: transform;
  pointer-events: none;
  animation: hmCloud 70s linear infinite alternate;
}
.hm-cloud::before,
.hm-cloud::after {
  content: '';
  position: absolute;
  bottom: 40%;
  border-radius: 50%;
  background: inherit;
}
.hm-cloud::before {
  left: 16%;
  width: 38%;
  aspect-ratio: 1;
}
.hm-cloud::after {
  left: 44%;
  width: 44%;
  aspect-ratio: 1;
  bottom: 30%;
}
.hm-cloud.c1 {
  width: 64px;
  --cx: 6%;
  --cy: 66px;
}
.hm-cloud.c2 {
  width: 78px;
  height: 24px;
  --cx: 52%;
  --cy: 62px;
  animation-duration: 96s;
  animation-direction: alternate-reverse;
}
.hm-cloud.c3 {
  width: 44px;
  height: 15px;
  --cx: 42%;
  --cy: 104px;
  opacity: calc(0.38 - var(--night) * 0.3);
  animation-duration: 120s;
}
.hm-cloud {
  transform: translate3d(0, var(--cy), 0);
  margin-left: var(--cx);
}
@keyframes hmCloud {
  from {
    transform: translate3d(-14px, var(--cy), 0);
  }
  to {
    transform: translate3d(30px, var(--cy), 0);
  }
}
.hm-glow {
  position: absolute;
  left: var(--sun-x);
  top: var(--sun-y);
  width: 190px;
  height: 190px;
  margin: -95px 0 0 -95px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--sun-c) 0%, transparent 62%);
  opacity: calc(var(--sun-o) * 0.38);
  pointer-events: none;
}
.hm-sun {
  box-shadow:
    0 0 0 7px rgba(255, 255, 255, 0.14),
    0 0 0 16px rgba(255, 255, 255, 0.07);
}
.hm-bg::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, calc(0.2 - var(--night) * 0.2)));
  pointer-events: none;
}
.sl-hill {
  fill: var(--sil-far);
  opacity: 0.5;
}
.sl-mark {
  fill: #7fd14f;
}
@media (prefers-reduced-motion: reduce) {
  .hm-cloud {
    animation: none;
  }
}
html[data-perf='simples'] .hm-cloud {
  animation: none;
}
/* a tela do campeonato cresce com o conteúdo: sem isto, o fundo escuro acabava na altura da tela */
.page > .tour {
  flex: 0 0 auto;
  min-height: 100%;
  height: auto;
}

/* ---- campeonato, segunda versão: fatos em blocos, abas sublinhadas e chave inteira na tela ---- */
.tour-hero {
  min-height: 236px;
}
.tour-title .t-chip {
  margin: 0 0 12px;
}
.tour-title .p-logo {
  width: 250px;
}
.tour-meta {
  font-size: 13.5px;
  opacity: 0.78;
  margin-top: 4px;
}
.t-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 2px 20px 14px;
  border-radius: calc(18px * var(--rk, 1));
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}
.t-facts div {
  padding: 11px 12px 12px;
  background: rgba(255, 255, 255, 0.055);
}
.mk .t-facts div {
  background: #1f1216;
}
.fifa .t-facts div {
  background: #0c1740;
}
.t-facts dt {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  opacity: 0.55;
}
.t-facts dd {
  margin: 3px 0 0;
  font:
    400 21px/1.1 'Anton',
    Impact,
    sans-serif;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.t-facts dd small {
  display: block;
  margin-top: 3px;
  font: 600 12px/1.2 var(--body, system-ui);
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.65;
}
.t-actions {
  margin: 0 20px 6px;
}
.tour .btn {
  height: 50px;
}
.tour .t-ghost {
  height: 44px;
  border-radius: calc(13px * var(--rk, 1));
}
.tour-tabs {
  display: flex;
  gap: 22px;
  margin: 14px 20px 0;
  padding: 0;
  border-radius: 0;
  background: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.tour-tabs .seg-ind {
  display: none;
}
.tour-tabs button {
  padding: 10px 0 11px;
  font-size: 14.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  border-bottom: 2.5px solid transparent;
  margin-bottom: -1px;
}
.tour .tour-tabs button.on {
  color: #fff;
}
.mk .tour-tabs button.on {
  border-bottom-color: #ff5a2a;
}
.fifa .tour-tabs button.on {
  border-bottom-color: #6f95ff;
}
.tour-body {
  padding: 16px 0 34px;
}
.bk3 {
  --g: 14px;
  --ln: rgba(255, 255, 255, 0.22);
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr) minmax(0, 1fr);
  column-gap: var(--g);
  row-gap: 8px;
  padding: 0 20px;
}
.bk3 h3 {
  grid-row: 1;
  margin: 0 0 2px;
  font:
    400 13px 'Anton',
    Impact,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.55;
}
.bk-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.bk-cell.q {
  grid-column: 1;
}
.bk-cell.s {
  grid-column: 2;
}
.bk-cell.f {
  grid-column: 3;
}
/* ligações: cada quartas solta um traço; semifinal e final recebem um colchete que une as duas partidas anteriores */
.bk-cell.q::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  width: calc(var(--g) / 2);
  border-top: 1.5px solid var(--ln);
}
.bk-cell.s::before,
.bk-cell.f::before {
  content: '';
  position: absolute;
  right: 100%;
  top: 25%;
  bottom: 25%;
  width: calc(var(--g) / 2);
  border: 1.5px solid var(--ln);
  border-left: 0;
  border-radius: 0 6px 6px 0;
}
.bk-cell.s::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  width: calc(var(--g) / 2);
  border-top: 1.5px solid var(--ln);
}
.bk3 .match {
  padding: 6px 8px;
  border-radius: calc(13px * var(--rk, 1));
  min-width: 0;
}
.bk3 .match::after {
  display: none;
}
.bk3 .match time {
  font-size: 10.5px;
  margin-bottom: 1px;
}
.bk3 .pl {
  gap: 7px;
  padding: 3px 0;
  min-width: 0;
}
.bk3 .pl i {
  width: 21px;
  height: 21px;
  border-radius: calc(7px * var(--rk, 1));
  font-size: 9px;
}
.bk3 .pl b {
  font-size: 13px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bk3 .pl .pl-ok {
  width: 13px;
  height: 13px;
  flex: none;
}
.bk3 .pl.me b::after {
  display: none;
}
.bk3 .pl.me i {
  outline: 2px solid #fff;
  outline-offset: 1px;
}
.bk3 .pl.open b {
  font-size: 12px;
}
.bk3 .match.done {
  background: rgba(255, 255, 255, 0.1);
}
.bk-cup {
  align-self: center;
  margin-top: 10px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 214, 120, 0.1);
  color: rgba(255, 214, 120, 0.55);
  border: 1px solid rgba(255, 214, 120, 0.3);
}
.bk-cup .i {
  width: 22px;
  height: 22px;
}
.bk-cup.on {
  background: #ffd678;
  color: #3d2700;
  border-color: #ffd678;
}
.players {
  gap: 8px;
}
.players li {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 10px;
  padding: 12px;
}
.players li i {
  margin: 0;
  grid-row: span 2;
}
.players li b {
  flex: 1;
  min-width: 0;
  font-size: 18px;
}
.players li small {
  flex-basis: 100%;
  margin-top: 6px;
}
.players li em {
  margin-top: 6px;
}
.players li.open button {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 10px;
}
.players li.open button small {
  flex-basis: 100%;
  margin-top: 6px;
}

/* Modelo novo: dentro do celular, sem perder a tela de origem. */
.mapa-novo {
  position: absolute;
  inset: 0;
  z-index: 110;
  background: #edf0e5;
  overflow: hidden;
  border-radius: inherit;
}
.mapa-novo iframe {
  border: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.mapa-novo-leve {
  position: absolute;
  right: 14px;
  bottom: 0;
  border: 0;
  border-radius: 7px 7px 0 0;
  padding: 3px 9px;
  background: #fffef9;
  color: #526b5b;
  font: 11px system-ui;
  cursor: pointer;
}

.map-screen.mapa-aba iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ===== estilos/19-inicio-revisao.css ===== */
/* estilos/19-inicio-revisao.css · revisão do início e colmeia.
   Parte do app.css, montado na ordem dos números (scripts/app/montar-app.mjs): a ordem importa, porque
   as partes mais novas refinam as anteriores. */
/* ===== Revisão da home (11/11/2026): cenário em camadas, menos peso, movimento ===== */
/* cenário */
.hm-sky {
  height: 232px;
}
.hm-skyline {
  aspect-ratio: 390/150;
  transform: translate3d(0, calc(var(--hp, 0) * 0.16px), 0);
}
.hm-bg {
  overflow: hidden;
}
.sl-hill {
  fill: var(--sil-far);
  opacity: 0.5;
}
.sl-far {
  fill: var(--sil-far);
  opacity: 0.92;
}
.sl-haze {
  opacity: calc(0.55 - var(--night) * 0.45);
}
.sl-mata {
  fill: color-mix(in srgb, var(--sil-mid) 78%, var(--sil-near));
}
.sl-b {
  fill: var(--sil-mid);
}
.sl-luz {
  opacity: calc(1 - var(--night) * 0.7);
}
.sl-plat {
  fill: var(--sil-near);
  opacity: 0.55;
}
.sl-rim {
  fill: none;
  stroke: var(--sun-c);
  stroke-width: 0.9;
  stroke-linecap: round;
  opacity: calc(0.6 * (1 - var(--night)));
}
.sl-cap {
  fill: none;
  stroke: #fff;
  stroke-width: 0.8;
  opacity: calc(0.16 * (1 - var(--night)));
}
.sl-trunk {
  fill: none;
  stroke: var(--sil-near);
  stroke-width: 1.7;
  stroke-linecap: round;
}
.sl-frond {
  fill: none;
  stroke: var(--sil-near);
  stroke-width: 1.5;
  stroke-linecap: round;
}
.device .sl-win rect {
  fill: color-mix(in srgb, #ffd67e calc(var(--night) * 100%), var(--sil-near));
  opacity: calc(0.5 + var(--night) * 0.45);
}
.sl-mark {
  fill: #ffd67e;
  opacity: calc(0.35 + var(--night) * 0.6);
}
/* sol de verdade: núcleo claro que se desfaz no céu, sem anéis */
.hm-sun {
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
  background: radial-gradient(
    circle,
    #fffdf4 0%,
    var(--sun-c) 34%,
    color-mix(in srgb, var(--sun-c) 40%, transparent) 56%,
    transparent 72%
  );
  box-shadow: none;
  translate: 0 calc(var(--hp, 0) * 0.34px);
}
.hm-glow {
  width: 300px;
  height: 300px;
  margin: -150px 0 0 -150px;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--sun-c) 80%, #fff) 0%,
    color-mix(in srgb, var(--sun-c) 30%, transparent) 30%,
    transparent 66%
  );
  opacity: calc(var(--sun-o) * 0.5);
  translate: 0 calc(var(--hp, 0) * 0.34px);
}
/* nuvens ralas, esticadas pelo vento, no lugar das de algodão */
.hm-cloud {
  height: 11px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #fff 22%, #fff 70%, transparent);
  filter: blur(3.5px);
  opacity: calc(0.7 - var(--night) * 0.55);
}
.hm-cloud::before,
.hm-cloud::after {
  bottom: 35%;
  background: #fff;
  border-radius: 999px;
  aspect-ratio: auto;
  height: 80%;
}
.hm-cloud::before {
  left: 22%;
  width: 34%;
}
.hm-cloud::after {
  left: 46%;
  width: 30%;
  bottom: 55%;
}
.hm-cloud.c1 {
  width: 120px;
  --cy: 58px;
}
.hm-cloud.c2 {
  width: 150px;
  height: 13px;
  --cy: 84px;
}
.hm-cloud.c3 {
  width: 90px;
  height: 8px;
  --cy: 112px;
  opacity: calc(0.5 - var(--night) * 0.4);
}
.hm-birds {
  position: absolute;
  left: 0;
  top: 46px;
  width: 44px;
  height: 18px;
  fill: none;
  stroke: var(--sil-near);
  stroke-width: 1.5;
  stroke-linecap: round;
  opacity: calc(0.5 * (1 - var(--night)));
  animation: hmBirds 46s linear infinite;
  pointer-events: none;
}
.hm-birds path {
  animation: hmFlap 1.1s ease-in-out infinite alternate;
  transform-box: fill-box;
  transform-origin: center;
}
.hm-birds path:nth-child(2) {
  animation-delay: -0.4s;
}
.hm-birds path:nth-child(3) {
  animation-delay: -0.75s;
}
@keyframes hmBirds {
  0% {
    transform: translate3d(-60px, 18px, 0);
  }
  100% {
    transform: translate3d(430px, -22px, 0);
  }
}
@keyframes hmFlap {
  0% {
    transform: scaleY(1);
  }
  100% {
    transform: scaleY(0.45);
  }
}

/* ao vivo: uma linha, sem cartão */
.hm-live {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border-radius: 0;
  padding: 2px 4px;
  margin: -4px 0 -6px;
}
.hm-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  font-size: 11.5px;
  font-weight: 650;
  color: var(--green-ink);
  text-transform: none;
}
.hm-live-tag i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.hm-live-row {
  flex: 1;
  min-width: 0;
  height: 21px;
}
.hm-live-msg {
  font-size: 13.5px;
  color: var(--ink-2);
}
.hm-live > .i {
  flex: none;
}

/* atalhos: fileira de pílulas que rola para o lado */
.quick {
  display: flex;
  grid-template-columns: none;
  gap: 8px;
  background: none;
  border-radius: 0;
  padding: 2px 20px;
  margin: 0 -20px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.quick::-webkit-scrollbar {
  display: none;
}
.quick button {
  flex: none;
  flex-direction: row;
  gap: 8px;
  padding: 7px 14px 7px 7px;
  border-radius: 999px;
  background: var(--card);
  scroll-snap-align: start;
  transition: transform 0.18s var(--spring);
}
.quick button:active {
  transform: scale(0.94);
}
.quick span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
.quick span .i {
  width: 17px;
  height: 17px;
  transition: transform 0.3s var(--spring);
}
.quick button:active span .i {
  transform: rotate(-10deg) scale(1.12);
}
.quick em {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.quick.rv button {
  opacity: 0;
  transform: translateX(18px);
}
.quick.rv.in button {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.4s var(--ease) calc(var(--n) * 45ms),
    transform 0.55s var(--spring) calc(var(--n) * 45ms);
}

/* seções que entram ao rolar */
.rv {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition:
    opacity 0.5s var(--ease),
    transform 0.65s var(--spring);
  will-change: transform, opacity;
}
.rv.in {
  opacity: 1;
  transform: none;
}
.quick.rv {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .rv,
  .quick.rv button {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hm-birds,
  .hm-birds path {
    animation: none;
  }
}
html[data-perf='simples'] .hm-birds,
html[data-perf='simples'] .hm-cloud {
  animation: none !important;
  filter: none;
}

/* ===== colmeia: favo com relevo de mel e um desenho por conquista ===== */
.device .hm-comb .cell path,
.device .hm-hex path {
  stroke-linejoin: round;
}
.device .hm-comb .cell .hx-rim,
.device .hm-hex .hx-rim {
  fill: url(#cb-wax);
  stroke: var(--honey-line);
  stroke-width: 1.5;
}
.device .hm-comb .cell .hx-in,
.device .hm-hex .hx-in {
  fill: none;
  stroke: var(--honey-line);
  stroke-width: 0.7;
  opacity: 0.6;
}
.device .hm-comb .cell .glyph,
.device .hm-hex .glyph {
  color: var(--honey-line);
  opacity: 0.95;
}
.device .hm-comb .cell.on .hx-rim,
.device .hm-hex.on .hx-rim {
  fill: url(#cb-honey);
  stroke: #cf8108;
  stroke-width: 1.3;
}
.device .hm-comb .cell.on .hx-in,
.device .hm-hex.on .hx-in {
  fill: url(#cb-honey-in);
  stroke: #fff3c4;
  stroke-width: 0.5;
  opacity: 1;
}
.device .hm-comb .cell.on .hx-gloss,
.device .hm-hex.on .hx-gloss {
  fill: #fff;
  stroke: none;
  opacity: 0.34;
}
.device .hm-comb .cell.on .glyph,
.device .hm-hex.on .glyph {
  color: #5b3600;
  opacity: 1;
}
.device .hm-comb .hx-shine {
  fill: #fff;
  stroke: none;
  opacity: 0.42;
  animation: combShine 5.2s ease-in-out calc(var(--n) * 0.22s) infinite;
}
@keyframes combShine {
  0%,
  62% {
    transform: skewX(-20deg) translateX(0);
  }
  82%,
  100% {
    transform: skewX(-20deg) translateX(64px);
  }
}
.hm-comb.tiny .hx-shine,
.hm-comb.rc .hx-shine,
.hm-comb.ct .hx-shine {
  display: none;
}
.hm-comb.tiny .cell:not(.on) .glyph,
.hm-comb.rc .cell:not(.on) .glyph,
.hm-comb.ct .cell:not(.on) .glyph {
  display: none;
}
/* fundos escuros (retrospectiva, aviso de favo novo) */
.device .re-root .hm-comb .cell:not(.on) .hx-rim,
.device .retro-cta .hm-comb .cell:not(.on) .hx-rim,
.device .combtoast .hm-comb .cell:not(.on) .hx-rim {
  fill: rgba(255, 255, 255, 0.06);
  stroke: rgba(255, 255, 255, 0.36);
}
.device .re-root .hm-comb .cell:not(.on) .hx-in,
.device .retro-cta .hm-comb .cell:not(.on) .hx-in,
.device .combtoast .hm-comb .cell:not(.on) .hx-in {
  stroke: rgba(255, 255, 255, 0.2);
}
.device .re-root .hm-comb .cell:not(.on) .glyph,
.device .retro-cta .hm-comb .cell:not(.on) .glyph {
  color: rgba(255, 255, 255, 0.42);
}
.device .res-comb .hm-comb .cell:not(.on) .hx-rim {
  fill: rgba(160, 116, 0, 0.08);
  stroke: rgba(160, 116, 0, 0.3);
}
/* favo grande: as células chegam uma a uma e flutuam de leve */
.hm-bigcomb {
  position: relative;
  padding: 14px 0 4px;
}
.hm-halo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 250px;
  height: 250px;
  margin: -125px 0 0 -125px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--honey) 30%, transparent) 0%, transparent 66%);
  pointer-events: none;
}
.hm-comb.big {
  position: relative;
  filter: drop-shadow(0 10px 14px rgba(170, 104, 0, 0.2));
}
.hm-comb.big .cell-in {
  animation:
    combIn 0.7s var(--spring) calc(0.12s + var(--n) * 70ms) both,
    combFloat 5.5s ease-in-out calc(var(--n) * -0.7s) infinite alternate;
}
.hm-comb.big .cell.pop .cell-in {
  animation:
    combPop 0.7s var(--spring) 0.35s both,
    combFloat 5.5s ease-in-out infinite alternate;
}
@keyframes combIn {
  0% {
    transform: scale(0.3) rotate(-18deg);
    opacity: 0;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
@keyframes combFloat {
  0% {
    translate: 0 -0.5px;
  }
  100% {
    translate: 0 0.8px;
  }
}
/* cartão da home */
.hm-combcard {
  padding: 12px 12px 12px 10px;
  gap: 14px;
}
.hm-combcard .hm-comb {
  width: 92px;
  height: 88px;
  filter: drop-shadow(0 4px 6px rgba(170, 104, 0, 0.16));
}
.hm-combbar {
  display: flex;
  gap: 3px;
  margin: 6px 0 4px;
}
.hm-combbar i {
  flex: 1;
  height: 5px;
  border-radius: 3px;
  background: color-mix(in srgb, var(--honey) 20%, var(--bg));
}
.hm-combbar i.on {
  background: linear-gradient(180deg, #ffd45a, #eea016);
}
.hm-combcard.in .hm-combbar i.on {
  animation: barIn 0.5s var(--spring) both;
}
@keyframes barIn {
  0% {
    transform: scaleX(0.2);
    opacity: 0.2;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
/* lista */
.hm-hex {
  width: 40px;
  height: 42px;
  flex: none;
  overflow: visible;
}
.hm-combs li {
  gap: 12px;
  padding: 9px 0;
  animation: rowIn 0.5s var(--ease) calc(0.2s + var(--n) * 55ms) both;
}
.hm-combs li.on .hm-hex {
  filter: drop-shadow(0 3px 4px rgba(170, 104, 0, 0.22));
}
.hm-combs li > span {
  flex: 1;
}
.hm-combs .hm-ok {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--green-ink);
}
.hm-combs li:not(.on) b {
  color: var(--ink-2);
}
@keyframes rowIn {
  0% {
    opacity: 0;
    transform: translateX(14px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hm-comb .cell-in,
  .hm-combs li,
  .hm-comb .hx-shine {
    animation: none !important;
  }
}
.device .hm-comb .cell .cell-in .glyph *,
.device .hm-hex .glyph * {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
}

/* ===== estilos/20-computador.css ===== */
/* estilos/20-computador.css · computador sem moldura e passeio.
   Parte do app.css, montado na ordem dos números (scripts/app/montar-app.mjs): a ordem importa, porque
   as partes mais novas refinam as anteriores. */
/* ===== Computador: sem moldura. App numa coluna, mapa grande ao lado (passeio com mouse e teclado) ===== */
.palco {
  display: none;
}
.moldura-btn {
  position: fixed;
  left: 14px;
  bottom: 12px;
  z-index: 50;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid #d5dbe8;
  background: #ffffffd9;
  color: #4a5876;
  font: 500 12.5px var(--ui);
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.moldura-btn:hover {
  background: #fff;
  color: var(--ink);
}
.moldura-btn[hidden] {
  display: none;
}
html.wide,
html.wide body {
  overflow: hidden;
}
html.wide .stage {
  display: grid;
  grid-template-columns: clamp(380px, 29vw, 440px) minmax(0, 1fr);
  gap: 0;
  padding: 0;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  align-items: stretch;
  justify-items: stretch;
  background: var(--bg);
}
html.wide .device {
  --w: 100%;
  --h: 100vh;
  --h: 100dvh;
  width: 100%;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow:
    1px 0 0 var(--line),
    8px 0 30px rgba(31, 47, 87, 0.08);
  z-index: 2;
}
html.wide .screen {
  border-radius: 0;
  box-shadow: none;
}
html.wide .statusbar {
  height: 0;
  padding: 0;
  font-size: 0;
}
html.wide .statusbar * {
  display: none;
}
html.wide .overlay {
  top: 0;
}
html.wide .hw,
html.wide .home-ind,
html.wide .stage-note,
html.wide .stage-sky {
  display: none;
}
html.wide .palco {
  display: block;
  position: relative;
  min-width: 0;
  background: #bcd9f2;
}
html.wide .palco iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
html.wide .moldura-btn {
  left: auto;
  right: 16px;
  bottom: auto;
  top: 66px;
}
.lado-tx {
  margin: 0;
  color: var(--ink-2);
  font-size: 14.5px;
}
.lado-op {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: var(--card);
  border-radius: calc(18px * var(--rk, 1));
  padding: 14px 12px 14px 14px;
  transition: transform 0.15s var(--ease);
}
.lado-op:active {
  transform: scale(0.985);
}
.lado-op > .i:first-child {
  width: 22px;
  height: 22px;
  color: var(--accent-ink);
  flex: none;
}
.lado-op > .i:last-child {
  width: 16px;
  height: 16px;
  color: var(--muted);
  flex: none;
}
.lado-op span {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.lado-op b {
  font-size: 15px;
  font-weight: 600;
}
.lado-op small {
  font-size: 12.5px;
  color: var(--muted);
}

/* Aparelho de toque nunca mostra a moldura, nem deitado (antes só valia até 520 px de largura). */
@media (pointer: coarse) {
  .stage {
    padding: 0;
    gap: 0;
  }
  .stage-note,
  .stage-sky,
  .hw,
  .home-ind,
  .moldura-btn {
    display: none !important;
  }
  .device {
    --w: 100vw;
    --h: 100vh;
    --h: 100dvh;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    background: none;
  }
  .screen {
    border-radius: 0;
    box-shadow: none;
  }
  .statusbar {
    height: calc(env(safe-area-inset-top, 0px) + 10px);
    padding: 0;
    font-size: 0;
  }
  .statusbar * {
    display: none;
  }
  .overlay {
    top: calc(env(safe-area-inset-top, 0px) + 10px);
  }
}
/* Passeio aberto dentro do app: o mapa fica com a tela inteira (sem barra de abas nem faixa de cima). */
html.passeio-cheio .tabbar {
  display: none;
}
html.passeio-cheio .statusbar {
  height: 0 !important;
  padding: 0;
}

/* ===== estilos/21-agenda-e-atividade.css ===== */
/* estilos/21-agenda-e-atividade.css · agenda como linha do tempo, tipos de atividade e detalhe.
   Parte do app.css, montado na ordem dos números (scripts/app/montar-app.mjs): a ordem importa, porque
   as partes mais novas refinam as anteriores. */
/* ===== Agenda como linha do tempo do evento (revisão 11/11) ===== */
.agenda {
  gap: 14px;
}
.ag-resumo {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 2px 2px -2px;
  font-size: 13px;
  color: var(--muted);
}
.ag-resumo b {
  font: 600 17px var(--display);
  color: var(--ink);
  text-transform: capitalize;
}
.ag-resumo em {
  font-style: normal;
  font-weight: 600;
  color: var(--green-ink);
}
/* Agenda aberta pelo mapa ("Ver na programação"): só um lugar */
.ag-lugar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 6px 6px 12px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--blue) 12%, transparent);
  color: var(--ink);
  font-size: 13px;
}
.ag-lugar svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.ag-lugar span {
  flex: 1;
}
.ag-lugar button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.ag-lugar button svg {
  width: 16px;
  height: 16px;
}
.ag-chips button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ag-chips button i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tp);
}
.ag-chips .i {
  width: 14px;
  height: 14px;
}
.f-mini,
.tp-mini {
  --tp: #2f55c8;
}
.f-pal,
.tp-pal {
  --tp: #8a4fd0;
}
.f-ofi,
.tp-ofi {
  --tp: #12917a;
}
.tp-out {
  --tp: #8793ab;
}
/* trilho: uma linha liga os horários; o que está acontecendo fica marcado */
.ag-trilho {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ag-trilho::before {
  content: '';
  position: absolute;
  left: 21px;
  top: 22px;
  bottom: 14px;
  width: 2px;
  border-radius: 1px;
  background: var(--line);
}
.ag-trilho .slot {
  grid-template-columns: 44px 1fr;
  gap: 10px;
  position: relative;
}
.ag-trilho .slot time {
  position: relative;
  z-index: 1;
  align-self: start;
  margin-top: 10px;
  padding: 5px 0;
  text-align: center;
  font: 600 13px var(--display);
  background: var(--bg);
  color: var(--ink-2);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.ag-trilho .slot.now time {
  background: var(--green-50);
  color: var(--green-ink);
}
.ag-trilho .slot time em {
  font-style: normal;
  font: 600 9.5px var(--ui);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-top: 2px;
}
.ag {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ag li {
  padding: 12px 8px 12px 16px;
  box-shadow: inset 4px 0 0 var(--tp, var(--line));
  align-items: stretch;
}
.ag li.mine {
  box-shadow:
    inset 4px 0 0 var(--tp),
    0 0 0 1.5px color-mix(in srgb, var(--tp) 45%, transparent);
}
.ag-kind {
  color: var(--tp, var(--blue));
  font-weight: 600;
  font-size: 11.5px;
  margin-bottom: 3px;
}
.ag-kind i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.ag li.now .ag-kind::after {
  content: 'Agora';
  font-size: 10.5px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--green-ink);
}
.ag h4 {
  margin: 0 0 3px;
  font-size: 15px;
}
.ag-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
  flex: none;
}
.ag-vagas {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  padding: 0 8px 0 0;
}
.ag-vagas.low {
  color: var(--amber-ink);
}
.ag-vagas.full {
  color: #b4372f;
}
.ag li.ag-stop {
  box-shadow: none;
  background: none;
  padding: 6px 8px 6px 2px;
  align-items: center;
  border-radius: 10px;
}
.ag-stop h4 {
  font: 500 13.5px var(--ui);
  color: var(--ink-2);
  margin: 0;
}
.ag-stop p {
  font-size: 12px;
}
.ag-stop .card-chev {
  width: 15px;
  height: 15px;
  color: var(--muted);
}
.ag-trilho .slot {
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0;
}
.ag li.now .ag-kind::after {
  content: none;
}
.ag-kind {
  white-space: nowrap;
}

/* Sem faixa colorida no topo do app no celular. Sobra só o recuo do entalhe quando o app está
   instalado em tela cheia, na cor do fundo. */
@media (max-width: 520px), (pointer: coarse) {
  .device .statusbar {
    height: env(safe-area-inset-top, 0px) !important;
    padding: 0 !important;
    background: transparent !important;
  }
  .overlay {
    top: env(safe-area-inset-top, 0px);
  }
}

/* ---- Tipos de atividade (TIPOS em app.js) ----
   Cores dos hexágonos do logo do ETAL: azul, amarelo, verde e vermelho. --tp pinta o hexágono; --tp-ink é a mesma
   cor escurecida para texto sobre fundo claro (contraste). Nada de cor solta fora daqui. */
.tp-pal,
.f-pal {
  --tp: #5d86dc;
  --tp-ink: #2f55b0;
}
.tp-mesa,
.f-mesa {
  --tp: #f2b230;
  --tp-ink: #8a5a00;
  --tp-on: #3d2a00;
}
.tp-mini,
.tp-ofi,
.f-mini {
  --tp: #65b32e;
  --tp-ink: #2f6f12;
}
.tp-camp,
.f-camp {
  --tp: #d6332c;
  --tp-ink: #b02a24;
}
.tp-out {
  --tp: #8793ab;
  --tp-ink: #5a6680;
}
.ag-chips button i {
  background: var(--tp);
  border-radius: 2px;
  width: 9px;
  height: 9px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

/* card de sessão */
.ag li.ses {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 6px 13px 13px;
  background: var(--card);
  box-shadow: none;
  border-radius: calc(16px * var(--rk, 1));
}
.ag li.ses.mine {
  box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--navy) 30%, transparent);
}
.ses-hex {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-top: 1px;
}
.ses-hex svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: var(--tp);
}
.ses-hex .i {
  position: relative;
  width: 16px;
  height: 16px;
  color: var(--tp-on, #fff);
  stroke-width: 2.2;
}
.ses-tx {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.ag .ses h4 {
  margin: 0;
  font: 600 15.5px/1.28 var(--display);
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ag .ses-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
  min-width: 0;
}
.ses-meta .ava {
  width: 22px;
  height: 22px;
  font-size: 9px;
  border-radius: 7px;
  flex: none;
}
.ses-quem {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ink-2);
  font-weight: 500;
}
.ses-onde {
  flex: 0 1 auto;
  max-width: 55%;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ses-quem {
  flex: 0 100 auto;
  min-width: 3.5em;
}
.ag-trilho .slot {
  grid-template-columns: 44px minmax(0, 1fr);
}
.ag li.ses,
.ag li.ses-camp {
  min-width: 0;
}
.ses-quem + .ses-onde::before {
  content: '·';
  margin-right: 6px;
}
.ses-rostos {
  display: flex;
  flex: none;
}
.ses-rostos .ava {
  margin-left: -6px;
  box-shadow: 0 0 0 2px var(--card);
}
.ses-rostos .ava:first-child {
  margin-left: 0;
}
.ses-selo {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}
.ses-selo.agora {
  background: var(--green-50);
  color: var(--green-ink);
}
.ses-selo.agora i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: sesPulso 1.6s ease-in-out infinite;
}
.ses-selo.pouca {
  background: #fff1d6;
  color: #8a5200;
}
.ses-selo.cheio {
  background: var(--line);
  color: var(--muted);
}
@keyframes sesPulso {
  50% {
    opacity: 0.25;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ses-selo.agora i {
    animation: none;
  }
}
.ag .ses .bm {
  margin-top: -4px;
}

/* campeonato: a arte do jogo é o card */
.ag li.ses-camp {
  position: relative;
  display: block;
  height: 104px;
  padding: 0;
  border-radius: calc(16px * var(--rk, 1));
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  box-shadow: none;
  cursor: pointer;
}
.ses-camp .art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.ses-camp .art-scrim {
  background: linear-gradient(90deg, rgba(6, 8, 20, 0.72) 0%, rgba(6, 8, 20, 0.15) 70%);
}
.ses-camp-tx {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 12px;
  bottom: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}
.ses-camp-tx small {
  margin-top: auto;
}
.ses-camp-tx .p-logo {
  height: 30px;
  width: auto;
  max-width: 132px;
  object-fit: contain;
  object-position: left;
}
.ses-camp-tx .p-name {
  font: 800 24px/1 var(--display);
  letter-spacing: -0.02em;
}
.ses-camp-tx small {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.9;
}
.ses-camp-chip {
  position: absolute;
  right: 10px;
  top: 10px;
}
.ses-camp-chip .t-chip {
  font-size: 11px;
  padding: 4px 9px;
}

/* pausas (credenciamento, intervalo, almoço): uma linha discreta */
.ag li.ses-pausa {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 4px 4px 2px;
  background: none;
  box-shadow: none;
  font-size: 13.5px;
  color: var(--ink-2);
}
.ses-pausa small {
  font-size: 12px;
  color: var(--muted);
}

/* detalhe da atividade */
.kind-tp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  color: var(--tp-ink) !important;
  background: color-mix(in srgb, var(--tp) 16%, transparent);
  padding: 4px 11px 4px 9px;
  border-radius: 999px;
}
.kind-tp .i {
  width: 15px;
  height: 15px;
}
.teacher.quem-fala {
  padding: 14px;
  background: var(--card);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, #5d86dc 35%, transparent);
}
.teacher.quem-fala small:first-child {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 700;
  color: #2f55b0;
}
.teacher.quem-fala b {
  display: block;
  font-size: 17px;
}
.roda ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.roda li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  padding: 9px 11px;
  border-radius: calc(14px * var(--rk, 1));
}
.roda li:first-child {
  box-shadow: inset 3px 0 0 #f2b230;
}
.roda b {
  display: block;
  font-size: 14px;
}
.roda small {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
}
.levar {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: calc(14px * var(--rk, 1));
  background: color-mix(in srgb, #65b32e 10%, var(--card));
  color: var(--ink-2);
}
.levar .i {
  width: 20px;
  height: 20px;
  color: #2f6f12;
  flex: none;
  margin-top: 2px;
}
.levar b {
  display: block;
  font-size: 14px;
  color: var(--ink);
}
.levar small {
  font-size: 13px;
}
@media (prefers-color-scheme: dark) {
  .ses-selo.pouca {
    background: #3a2c12;
    color: #ffd27a;
  }
}

/* mapa 3D da aba Mapa: um iframe só, que fica vivo entre as trocas de aba (ver mapaFixo em app.js) */
.mapa-fixo {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: #eef1f6;
}
.mapa-fixo[hidden] {
  display: none;
}
.mapa-fixo iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---- Detalhe da atividade: bater o olho (quando, vagas, onde), depois os textos ---- */
.detalhe-v2 {
  gap: 14px;
}
.detalhe-v2 .title-lg {
  margin: -4px 0 0;
}
.detalhe-v2 .teacher small {
  display: block;
}
.glance {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 10px;
}
.glance > div {
  background: var(--card);
  border-radius: calc(16px * var(--rk, 1));
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.glance small {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.glance b {
  font: 700 28px/1.05 var(--display);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.glance span {
  font-size: 13px;
  color: var(--muted);
}
.gl-vagas .seats {
  margin: 6px 0 0;
}
.gl-vagas.pouca b {
  color: #8a5200;
}
.gl-vagas.cheio b {
  font-size: 20px;
  color: var(--muted);
}
.lugar {
  position: relative;
  display: block;
  width: 100%;
  height: 150px;
  padding: 0;
  border-radius: calc(18px * var(--rk, 1));
  overflow: hidden;
  background: var(--bg);
  text-align: left;
}
.lugar canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}
.lg-tx {
  position: absolute;
  left: 10px;
  top: 10px;
  display: flex;
  flex-direction: column;
  padding: 7px 11px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--card) 92%, transparent);
  box-shadow: 0 2px 10px rgba(20, 35, 70, 0.12);
}
.lg-tx b {
  font: 700 17px/1.1 var(--display);
  color: var(--ink);
}
.lg-tx small {
  font-size: 12px;
  color: var(--muted);
}
.lg-ir {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.lg-ir .i {
  width: 15px;
  height: 15px;
}
.detalhe-v2 .remindrow {
  padding: 11px 14px;
}
.sobre .desc {
  margin: 6px 0 0;
  cursor: pointer;
}
.sobre .desc.clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sobre .desc.clamp::after {
  content: '';
}
.passos-aula {
  list-style: none;
  counter-reset: p;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.passos-aula li {
  counter-increment: p;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.35;
  color: var(--ink-2);
}
.passos-aula li::before {
  content: counter(p);
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 700 12px var(--display);
  background: color-mix(in srgb, #65b32e 16%, transparent);
  color: #2f6f12;
}
.detalhe-v2 section.levar {
  display: block;
  padding: 12px 14px;
}
.detalhe-v2 .levar h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
}
.detalhe-v2 .levar h2 .i {
  width: 18px;
  height: 18px;
  margin: 0;
}
.detalhe-v2 .levar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.detalhe-v2 .levar li {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  background: var(--card);
  padding: 5px 10px;
  border-radius: 999px;
}
.detalhe-v2 .locked {
  margin: 0;
  padding: 10px 14px;
  font-size: 13px;
}
.detalhe-v2 .locked .i {
  width: 16px;
  height: 16px;
}
.detalhe-v2 .roda ul {
  margin: 0;
}

/* ===== estilos/22-qr-por-tipo-e-campeonato.css ===== */
/* estilos/22-qr-por-tipo-e-campeonato.css · leitura por tipo, convite para instalar e campeonato (terceira versão).
   Parte do app.css, montado na ordem dos números (scripts/app/montar-app.mjs): a ordem importa, porque
   as partes mais novas refinam as anteriores. */
/* ---- Leitura de QR por tipo (roomResult e Overlays.jogo em app.js) ---- */
.hx-badge[class*='tp-'] .hx-bg {
  fill: var(--tp);
  filter: drop-shadow(0 8px 14px color-mix(in srgb, var(--tp) 40%, transparent));
}
.hx-badge.tp-mesa .hx-ck {
  stroke: #3d2a00;
}
.sr-quem {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--bg);
}
.sr-quem b {
  display: block;
  font-size: 14px;
}
.sr-quem small {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
}
.sr-quem .ses-rostos .ava {
  width: 30px;
  height: 30px;
  font-size: 11px;
}
.sr-actions .btn .i {
  width: 18px;
  height: 18px;
}
/* campeonato: tela toda com a arte do jogo */
.jogo {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
  padding: 28px 20px max(22px, env(safe-area-inset-bottom));
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.jogo .art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.jogo .art-scrim {
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 8, 20, 0.25) 0%, rgba(6, 8, 20, 0.55) 45%, rgba(6, 8, 20, 0.92) 100%);
}
.jg-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  margin-bottom: auto;
  padding-top: 12vh;
}
.jg-kick {
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffd27a;
}
.jg-logo,
.jg-top .p-name {
  max-width: 240px;
  max-height: 70px;
  object-fit: contain;
}
.jg-top .p-name {
  font: 800 40px/1 var(--display);
  letter-spacing: -0.02em;
}
.jg-sub {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  max-width: 300px;
}
.jg-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}
.jg-facts div {
  padding: 10px 12px;
  background: rgba(10, 12, 26, 0.55);
}
.jg-facts dt {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}
.jg-facts dd {
  margin: 2px 0 0;
  font: 700 17px var(--display);
}
.jogo .w-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.jogo .w-main {
  background: #fff;
  color: #1f2f57;
}
.jogo .w-main .i {
  width: 18px;
  height: 18px;
}
.jogo .btn.ghost {
  color: #fff;
}
.jg-comb {
  border-radius: 16px;
  overflow: hidden;
}

/* atalho do tema ao lado dos avisos */
.hd-acts {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-left: auto;
}

/* convite para instalar (home): destaque leve, some depois de instalado ou dispensado */
.instalar {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--card);
  border-radius: calc(18px * var(--rk, 1));
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--navy) 14%, transparent);
}
.inst-main {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 4px 12px 14px;
  text-align: left;
  min-width: 0;
}
.inst-main > .i {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--accent-ink);
  padding: 8px;
  box-sizing: content-box;
  border-radius: 12px;
  background: var(--blue-50);
}
.inst-main b {
  display: block;
  font: 600 14.5px var(--display);
  color: var(--ink);
}
.inst-main small {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
}
.inst-x {
  flex: none;
  width: 40px;
  height: 40px;
  margin-right: 6px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--muted);
}
.inst-x .i {
  width: 16px;
  height: 16px;
}

/* ---- Campeonato: chave em rodadas, elenco e regras (bracket, jogadores e regras em app.js) ---- */
.tour.mk {
  --ac: #ff6a3d;
}
.tour.fifa {
  --ac: #3ddc84;
}
.jg-av {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font: 800 12px var(--display);
  color: #fff;
  background: linear-gradient(145deg, color-mix(in srgb, var(--c) 92%, #fff), color-mix(in srgb, var(--c) 70%, #000));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.jg-av.grande {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-size: 14px;
}
.jg-av.vazio {
  background: none;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.22);
  border-radius: 11px;
}
.fases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 4px 0 12px;
}
.fases button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 8px 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
}
.fases button b {
  font: 700 13.5px var(--display);
}
.fases button small {
  font-size: 11px;
  opacity: 0.7;
}
.fases button.on {
  background: var(--ac);
  color: #140a0d;
}
.duelos {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.duelo {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 54px 1fr;
  align-items: center;
  padding: 14px 10px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.duelo.minha {
  box-shadow: inset 0 0 0 2px var(--ac);
}
.duelo.final {
  padding: 22px 10px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--ac) 22%, transparent), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ac) 55%, transparent);
}
.du-fita {
  position: absolute;
  left: 50%;
  top: -9px;
  transform: translateX(-50%);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--ac);
  color: #140a0d;
}
.du-lado {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  min-width: 0;
}
.du-lado b {
  font: 800 15px/1.1 var(--display);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.du-lado small {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.du-lado .jg-av {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  font-size: 16px;
}
.du-lado.perdeu {
  opacity: 0.38;
}
.du-lado.perdeu b {
  text-decoration: line-through;
}
.du-lado.ganhou .jg-av {
  box-shadow:
    0 0 0 3px var(--ac),
    0 6px 18px color-mix(in srgb, var(--ac) 45%, transparent);
}
.du-lado em {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-style: normal;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ac);
}
.du-lado em .i {
  width: 12px;
  height: 12px;
}
.du-lado.vazio b {
  font-size: 13px;
  text-transform: none;
  color: rgba(255, 255, 255, 0.55);
}
.du-lado.eu b {
  color: var(--ac);
}
.du-meio {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.du-meio b {
  font: 900 18px var(--display);
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
}
.du-meio time {
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}
.du-meio .i {
  width: 20px;
  height: 20px;
  color: #ffd27a;
}
.campeao {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffd27a, #f59e0b);
  color: #2a1700;
}
.campeao small {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.campeao small .i {
  width: 14px;
  height: 14px;
}
.campeao b {
  display: block;
  font: 800 22px var(--display);
}
.campeao em {
  font-style: normal;
  font-size: 12.5px;
}
.elenco {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.elenco li,
.elenco li > button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  text-align: left;
  color: inherit;
}
.elenco li > button {
  padding: 0;
  background: none;
}
.elenco li.eu {
  box-shadow: inset 0 0 0 1.5px var(--ac);
}
.elenco li.fora {
  opacity: 0.5;
}
.elenco li.champ {
  background: linear-gradient(135deg, rgba(255, 210, 122, 0.22), rgba(255, 255, 255, 0.04));
}
.elenco li.vazio {
  background: none;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.12);
}
.el-num {
  flex: none;
  width: 20px;
  font: 800 12px var(--display);
  color: rgba(255, 255, 255, 0.4);
}
.el-tx {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.el-tx b {
  font: 800 15px var(--display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.el-tx b u {
  text-decoration: none;
  font-size: 10.5px;
  padding: 1px 6px;
  margin-left: 4px;
  border-radius: 999px;
  background: var(--ac);
  color: #140a0d;
  vertical-align: 2px;
}
.el-tx small {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
}
.el-dir {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  max-width: 42%;
}
.el-dir em {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--c) 30%, transparent);
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.el-sit {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.65);
  text-align: right;
}
.elenco li.champ .el-sit {
  color: #ffd27a;
  font-weight: 700;
}
.elenco li.vazio .i {
  width: 18px;
  height: 18px;
  color: var(--ac);
}
.tr-h {
  margin: 6px 0 10px;
  font: 700 15px var(--display);
  color: rgba(255, 255, 255, 0.9);
}
.tr-passos {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.tr-passos li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  counter-increment: tp;
}
.tr-passos .i {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--ac);
}
.tr-passos b {
  display: block;
  font-size: 13.5px;
}
.tr-passos small {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.3;
}
.tr-regras {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tr-regras li {
  position: relative;
  padding: 0 0 0 18px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
}
.tr-regras li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--ac);
  transform: rotate(45deg);
}
.tr-horas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 18px;
}
.tr-horas span {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}
.tr-horas b {
  font: 800 15px var(--display);
}
.tr-horas small {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.55);
}
.tr-premio {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 210, 122, 0.2), rgba(255, 255, 255, 0.04));
  margin-bottom: 8px;
}
.tr-premio .i {
  width: 28px;
  height: 28px;
  color: #ffd27a;
}
.tr-premio small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
}
.tr-premio b {
  font: 700 16px var(--display);
}
.tr-pad {
  padding: 0 20px;
}

/* ===== estilos/23-organizacao.css ===== */
/* estilos/23-organizacao.css · organização no celular.
   Parte do app.css, montado na ordem dos números (scripts/app/montar-app.mjs): a ordem importa, porque
   as partes mais novas refinam as anteriores. */
/* ---- Organização (Screens.org* em app.js) ---- */
.org-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border-radius: calc(18px * var(--rk, 1));
  background: var(--navy);
  color: #fff;
  text-align: left;
}
.org-cta > .i:first-child {
  width: 24px;
  height: 24px;
  flex: none;
  padding: 8px;
  box-sizing: content-box;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
}
.org-cta span {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.org-cta small {
  font-size: 12px;
  opacity: 0.75;
}
.org-cta b {
  font: 700 16px var(--display);
}
.org-cta > .i:last-child {
  width: 18px;
  height: 18px;
  opacity: 0.8;
}
.org-eu {
  display: flex;
  align-items: center;
  gap: 12px;
}
.org-eu span {
  display: flex;
  flex-direction: column;
}
.org-eu b {
  font: 700 17px var(--display);
}
.org-eu small {
  font-size: 12.5px;
  color: var(--muted);
}
.org-kpis {
  grid-template-columns: 1fr 1fr !important;
}
.org-ferr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.org-ferr button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 14px;
  border-radius: calc(16px * var(--rk, 1));
  background: var(--card);
  text-align: left;
  min-height: 104px;
}
.org-ferr button:last-child:nth-child(odd) {
  grid-column: 1/-1;
  min-height: 0;
}
.org-ferr .i {
  width: 22px;
  height: 22px;
  color: var(--accent-ink);
  margin-bottom: 6px;
}
.org-ferr b {
  font: 600 15px var(--display);
  color: var(--ink);
}
.org-ferr small {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.3;
}
.org-dica {
  margin: -4px 0 10px;
  font-size: 13px;
  color: var(--muted);
}
.org-lista {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.org-lista li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.org-lista li:first-child {
  border-top: 0;
}
.org-lista b {
  font-size: 14px;
}
.org-lista small {
  flex: 1;
  font-size: 12.5px;
  color: var(--muted);
  min-width: 0;
}
.org-x {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--muted);
  flex: none;
}
.org-x .i {
  width: 15px;
  height: 15px;
}
.org-switch {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  border-radius: calc(16px * var(--rk, 1));
  background: var(--card);
  text-align: left;
}
.org-switch > .i {
  width: 22px;
  height: 22px;
  color: var(--accent-ink);
  flex: none;
}
.org-switch span {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.org-switch b {
  font-size: 14.5px;
}
.org-switch small {
  font-size: 12.5px;
  color: var(--muted);
}
.org-switch .switch {
  background: var(--line);
}
.org-switch.on .switch {
  background: var(--green);
}
.org-switch.on .switch::after {
  transform: translateX(15px);
}
.org-partidas {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.org-partida small {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.org-partida > div {
  display: flex;
  align-items: center;
  gap: 6px;
}
.org-partida > div > i {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
}
.org-partida button {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 42px;
  padding: 6px 8px;
  border-radius: 12px;
  background: var(--bg);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}
.org-partida button .i {
  width: 15px;
  height: 15px;
}
.org-partida button.on {
  background: var(--green-50);
  color: var(--green-ink);
  box-shadow: inset 0 0 0 1.5px var(--green);
}
.org-partida button.fora {
  opacity: 0.45;
  text-decoration: line-through;
}
.org-partida button:disabled {
  opacity: 0.4;
}
.org-partida button.desf {
  flex: none;
  width: 42px;
  padding: 0;
  color: var(--muted);
}
.org-mini {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.org-mini h3 {
  margin: 0;
  font: 600 14px var(--display);
}
.org-mini input,
.org-mini select,
.org .org-card textarea,
.org .field input,
.org .field select,
.org .field textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 12px;
}
.org .org-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.org .field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.org .field > span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}
.org-jogo {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px;
  border-radius: calc(16px * var(--rk, 1));
  background: var(--card);
  text-align: left;
}
.org-jogo-arte {
  position: relative;
  flex: none;
  width: 64px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
}
.org-jogo-arte .art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.org-jogo span:not(.org-jogo-arte) {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.org-jogo b {
  font: 600 15px var(--display);
}
.org-jogo small {
  font-size: 12.5px;
  color: var(--muted);
}
.org-jogo > .i {
  width: 18px;
  height: 18px;
  color: var(--muted);
}

/* ===== estilos/24-comunidade.css ===== */
/* estilos/24-comunidade.css · publicações, fotos e perfil.
   Parte do app.css, montado na ordem dos números (scripts/app/montar-app.mjs): a ordem importa, porque
   as partes mais novas refinam as anteriores. */
/* ================= comunidade ================= */
.tabbar {
  display: grid;
  grid-template-columns: 1fr 1fr 64px 1fr 1fr;
  justify-items: center;
}
.tabbar > button {
  min-width: 0;
  width: 100%;
  font-size: 11px;
}
.tabbar .qrbtn {
  width: 56px;
  height: 56px;
  margin-inline: 0;
}
.profile-shortcut .av {
  width: 30px;
  height: 30px;
  font-size: 11px;
  border-radius: 50%;
  background: var(--blue-50);
  border: 1px solid var(--line);
  overflow: hidden;
}
.profile-shortcut .av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.community-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  flex: none;
  padding: 6px 16px 6px 22px;
  background: var(--card);
}
.community-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.community-brand .mark.xs {
  width: 19px;
  height: 34px;
}
.community-brand h1 {
  font: 600 21px var(--display);
  letter-spacing: -0.035em;
  margin: 0;
}
.community-bar .hd-acts {
  gap: 6px;
}
.community-bar .iconbtn.on {
  color: var(--accent-ink);
  background: var(--blue-50);
  border-radius: 50%;
}
.community-local {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  line-height: 1.5;
  margin: 12px 22px;
  color: var(--muted);
}
.community-local .i {
  width: 13px;
  height: 13px;
}
.community-feed {
  padding: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--card);
}
.community-feed > .community-gate {
  margin: 16px 20px;
}
.community-start {
  padding: 12px 20px 8px;
  background: var(--card);
  border-bottom: 5px solid var(--bg);
}
.community-start-text {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 50px;
  text-align: left;
  font-size: 14px;
  color: var(--muted);
}
.community-start-text .av {
  width: 36px;
  height: 36px;
  font-size: 12px;
  background: var(--blue-50);
  border-radius: 50%;
}
.community-start-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px 0 0 48px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.community-start-actions button {
  display: flex;
  gap: 7px;
  align-items: center;
  min-height: 38px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-ink);
}
.community-start-actions .i {
  width: 18px;
  height: 18px;
}
.community-post {
  background: var(--card);
  border-bottom: 5px solid var(--bg);
  overflow: hidden;
  padding: 18px 20px 8px;
}
.community-post > header {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
}
.community-post > header > div {
  flex: 1;
  min-width: 0;
}
.community-post b,
.community-identity b {
  font-size: 12px;
  display: block;
}
.community-post small,
.community-identity small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
  overflow-wrap: anywhere;
}
.community-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 13px;
  background: var(--blue-50);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 12px;
}
.community-post:nth-of-type(2n) .community-avatar {
  background: var(--amber-50);
  color: var(--amber-ink);
}
.community-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.community-post > p {
  font-size: 14px;
  line-height: 1.65;
  margin: 10px 0 16px;
}
.community-photo {
  display: block;
  max-width: 100%;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  background: var(--bg);
  border-radius: 12px;
  margin: 12px 0;
}
.community-post > footer {
  display: flex;
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.community-post > footer button {
  display: flex;
  gap: 7px;
  align-items: center;
  min-height: 36px;
  color: var(--muted);
  font-size: 11px;
}
.community-post > footer .i {
  width: 18px;
  height: 18px;
}
.community-post > footer .liked {
  color: var(--red);
}
.community-post > footer .liked svg {
  fill: currentColor;
}
.community-gate {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  padding: 14px;
  background: var(--blue-50);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--accent-ink);
  font-size: 11px;
}
.community-gate > span {
  flex: 1;
}
.community-gate > .btn {
  width: 100%;
  min-height: 38px;
  font-size: 12px;
}
.community-compose {
  padding: 15px 22px 30px;
}
.community-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}
.community-identity .av {
  width: 40px;
  height: 40px;
  font-size: 13px;
}
.community-compose form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.community-compose textarea,
.community-reply textarea {
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: 0;
  resize: vertical;
  min-width: 0;
  width: 100%;
  line-height: 1.6;
}
.community-compose textarea {
  padding: 12px 0;
  font-size: 16px;
  min-height: 150px;
}
.community-compose textarea::placeholder,
.community-reply textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}
.community-topic {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}
.community-topic select {
  font: inherit;
  color: var(--accent-ink);
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  max-width: 60%;
}
.community-attachment {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.community-file {
  cursor: pointer;
  align-self: flex-start;
  position: relative;
  overflow: hidden;
}
.community-file input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  cursor: pointer;
}
.community-file:focus-within {
  outline: 3px solid #7cc94a;
  outline-offset: 2px;
}
.community-attachment label:not(.community-file) {
  font-size: 12px;
}
.community-attachment input:not([type='file']) {
  display: block;
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  background: var(--card);
  font-size: 12px;
}
.community-muted {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}
.community-comments {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 12px;
}
.community-comments h2 {
  font: 600 14px var(--display);
  margin: 0 0 16px;
}
.community-comment {
  display: flex;
  gap: 9px;
  margin-bottom: 18px;
}
.community-comment > div {
  min-width: 0;
}
.community-comment p {
  font-size: 12px;
  line-height: 1.6;
  margin: 5px 0;
}
.community-comment .community-avatar {
  width: 28px;
  height: 28px;
  font-size: 10px;
  border-radius: 10px;
}
.community-reply {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.community-reply textarea {
  font-size: 13px;
  resize: none;
}
.community-reply .iconbtn {
  background: var(--navy);
  color: white;
  border-radius: 12px;
  flex: none;
  width: 36px;
  height: 36px;
}
.community-chat {
  padding: 0 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.community-messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.community-message {
  align-self: flex-start;
  max-width: 88%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px 16px 16px 4px;
  padding: 12px 14px;
}
.community-message b {
  font-size: 11px;
  color: var(--accent-ink);
}
.community-message small {
  color: var(--muted);
  font-weight: 400;
}
.community-message p {
  font-size: 13px;
  line-height: 1.6;
  margin: 6px 0;
}
.community-message time {
  display: block;
  text-align: right;
  font-size: 9px;
  color: var(--muted);
}
.community-message.mine {
  align-self: flex-end;
  background: var(--blue-50);
  border-radius: 16px 16px 4px 16px;
}
.community-chat-form {
  position: sticky;
  bottom: 0;
  margin-top: auto;
  background: var(--card);
  box-shadow: 0 -8px 18px var(--bg);
}
@media (max-width: 360px) {
  .tabbar > button {
    font-size: 10px;
  }
  .community-brand h1 {
    font-size: 20px;
  }
}
.community-compose .sr-only,
.community-reply .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Fotos e carrosséis da comunidade */
.community-avatar {
  overflow: hidden;
}
.community-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.community-feed > .community-gate,
.community-gate {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 12px 0;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}
.community-gate > .i {
  width: 13px;
  height: 13px;
}
.community-gate > span {
  flex: 1;
  min-width: 140px;
}
.community-gate > button {
  font-size: 10px;
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 7px 0;
}
.community-gallery {
  position: relative;
  margin: 16px -8px 2px;
  isolation: isolate;
}
.gallery-track {
  position: relative;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding: 5px 2px 8px;
  scroll-padding-inline: 2px;
  touch-action: pan-x pan-y;
}
.gallery-track::-webkit-scrollbar {
  display: none;
}
.gallery-slide {
  position: relative;
  flex: 0 0 calc(100% - 22px);
  min-width: 0;
  aspect-ratio: 4/3;
  margin: 0;
  scroll-snap-align: start;
  overflow: hidden;
  border-radius: 18px;
  background: var(--blue-50);
  border: 3px solid var(--card);
  box-shadow: 0 3px 8px #162c4c18;
}
.gallery-slide:nth-child(2n) {
  border-radius: 18px 5px 18px 18px;
}
.gallery-slide:last-child {
  scroll-snap-align: end;
}
.gallery-slide > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.single .gallery-slide {
  flex-basis: 100%;
  aspect-ratio: auto;
}
.single .gallery-slide > img {
  max-height: 500px;
  object-fit: contain;
}
.gallery-slide figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 45px 15px 15px;
  background: linear-gradient(transparent, #102443d9);
  color: white;
  font: 500 16px/1.25 var(--display);
  letter-spacing: -0.02em;
}
.gallery-example {
  position: absolute;
  left: 12px;
  top: 12px;
  font-size: 8px;
  letter-spacing: 0.02em;
  background: #ffffffde;
  color: #263b5d;
  border-radius: 5px;
  padding: 4px 6px;
}
.gallery-count {
  position: absolute;
  z-index: 2;
  top: 17px;
  right: 42px;
  border-radius: 20px;
  padding: 5px 9px;
  background: #12233bd9;
  color: white;
  font-size: 10px;
  font-weight: 600;
  pointer-events: none;
}
.single .gallery-count {
  right: 17px;
}
.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 35px;
  margin-bottom: 3px;
}
.gallery-controls > button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--accent-ink);
}
.gallery-controls > button .i {
  width: 16px;
  height: 16px;
}
.gallery-controls > button:disabled {
  opacity: 0.22;
  cursor: default;
}
.gallery-dots {
  display: flex;
  align-items: center;
  gap: 4px;
}
.gallery-dots button {
  position: relative;
  width: 20px;
  height: 28px;
  display: grid;
  place-items: center;
}
.gallery-dots button:after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 9px;
  background: var(--line-2);
  transition:
    width 0.2s,
    background 0.2s;
}
.gallery-dots button[aria-current='true']:after {
  width: 20px;
  background: var(--accent-ink);
}
.community-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.community-upload {
  position: relative;
  min-width: 0;
}
.community-upload > img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
}
.community-upload > button {
  position: absolute;
  right: 6px;
  top: 6px;
  background: #132642d9;
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
}
.community-upload > button .i {
  width: 16px;
  height: 16px;
}
.community-upload input {
  font-size: 10px !important;
  padding: 8px !important;
}
.community-chat-author {
  display: flex;
  align-items: center;
  gap: 8px;
}
.community-chat-author .community-avatar {
  width: 28px;
  height: 28px;
}

/* Perfil pessoal e edição no crachá */
.profile-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 14px 24px;
  background: radial-gradient(ellipse at 50% 25%, var(--blue-50), transparent 70%);
  border-bottom: 1px solid var(--line);
}
.profile-portrait {
  position: relative;
  padding: 7px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  margin-bottom: 16px;
}
.profile-portrait > .av {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--blue-50);
  font: 600 32px var(--display);
  overflow: hidden;
}
.profile-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-pencil {
  position: absolute;
  bottom: 1px;
  right: 1px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--navy);
  color: white;
  border: 3px solid var(--bg);
  border-radius: 50%;
}
.profile-pencil > .i {
  width: 14px;
  height: 14px;
}
.profile-hero h2 {
  font: 600 23px/1.2 var(--display);
  letter-spacing: -0.03em;
  margin: 0 0 8px;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.profile-hero p {
  font-size: 13px;
  margin: 0 0 4px;
  color: var(--ink-2);
}
.profile-hero > small {
  font-size: 11px;
  color: var(--muted);
}
.profile-edit-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 600;
  padding: 12px 5px 0;
}
.profile-edit-link > .i {
  width: 14px;
  height: 14px;
}
.profile-editor {
  max-height: calc(100dvh - 90px);
  overflow: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding-bottom: 24px;
}
.profile-editor > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.profile-editor > header h2 {
  margin: 0;
  font: 600 21px var(--display);
}
.profile-edit-photo {
  display: flex;
  justify-content: center;
  margin: 0 auto;
}
.profile-edit-photo .av {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--blue-50);
  font-size: 30px;
}
.profile-edit-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-editor > .community-file {
  align-self: center;
}
.profile-presets {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.profile-presets button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line);
}
.profile-presets img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-remove {
  font-size: 11px;
  color: var(--muted);
  align-self: center;
  min-height: 24px;
}
.profile-remove[hidden] {
  display: none;
}
.profile-editor .field {
  margin: 0;
}
.profile-editor > .community-muted {
  margin: 0;
}
.profile-editor button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.badge-edit {
  gap: 6px;
  font-size: 12px;
  min-height: 34px;
}
.badge-edit > .i {
  width: 14px;
  height: 14px;
}
@media (prefers-reduced-motion: reduce) {
  .gallery-dots button:after {
    transition: none;
  }
}
.badge-photo-edit {
  position: absolute;
  bottom: 1px;
  right: -1px;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  border: 2px solid white;
  background: #22386f;
  color: white;
  cursor: pointer;
}
.badge-photo-edit > .i {
  width: 12px;
  height: 12px;
}
.lx.filled .bx-face.blank,
.lx:not(.filled) .bx-face.filled {
  pointer-events: none;
}
.profile-shortcut .av,
.community-start-text .av,
.profile-portrait > .av,
.profile-edit-photo .av {
  color: var(--accent-ink);
}

.tour.valorant {
  --ac: #ff4655;
  background: #101a25;
}
.tour.guitarhero3 {
  --ac: #edb64c;
  background: #20150c;
}
.tour.valorant .tour-hero::after {
  background: linear-gradient(transparent, #101a25);
}
.tour.guitarhero3 .tour-hero::after {
  background: linear-gradient(transparent, #20150c);
}
.valorant .tour-tabs button.on {
  border-bottom-color: #ff4655;
}
.guitarhero3 .tour-tabs button.on {
  border-bottom-color: #edb64c;
}

/* Ferramenta interna da organização: aparência deliberadamente simples. */
.qr-debug {
  background: #fff;
  color: #111;
  padding: 8px 10px;
  font: 12px/1.35 monospace;
  max-height: 38vh;
  overflow: auto;
  border: 1px solid #777;
  border-radius: 0;
}
.qr-debug summary {
  cursor: pointer;
  padding: 4px;
}
.qr-debug-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 6px;
}
.qr-debug-grid button {
  appearance: auto;
  border: 1px solid #999;
  border-radius: 0;
  background: #eee;
  color: #111;
  padding: 6px;
  text-align: left;
  font: 11px/1.3 monospace;
  min-width: 0;
  min-height: 38px;
}
.qr-debug-grid b {
  font-weight: 400;
}
.qr-debug-grid small {
  display: block;
  font-size: 10px;
  margin-top: 4px;
  color: #444;
}
.scanner:has(.qr-debug) .scan-view {
  flex: 1;
  min-height: 160px;
}
.qr-debug:not([open]) {
  flex: none;
}

/* ===== estilos/25-cartao-ministrante-e-leitor.css ===== */
/* estilos/25-cartao-ministrante-e-leitor.css · cartão de contato, ministrante e câmera do leitor.
   Parte do app.css, montado na ordem dos números (scripts/app/montar-app.mjs): a ordem importa, porque
   as partes mais novas refinam as anteriores. */
/* ---------- Nome ligado ao SUAP + cartão de contato ---------- */
.profile-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 2px auto 10px;
  padding: 7px 12px 7px 10px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  text-align: left;
  max-width: 100%;
}
.profile-link > .i {
  width: 15px;
  height: 15px;
  color: var(--green-ink);
  flex: none;
}
.profile-link b {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.profile-link small {
  display: block;
  font-size: 10.5px;
  color: var(--muted);
}
.profile-editor .profile-link {
  margin: 0;
  align-self: stretch;
  background: var(--green-50);
  border-color: transparent;
}
.bx-real {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9.5px;
  color: #6a7896;
  margin: -1px 0 3px;
}
.bx-real .i {
  width: 10px;
  height: 10px;
  flex: none;
}

.ct-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 40px;
}
.ct-skip {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-ink);
  padding: 8px 6px;
  min-width: 44px;
}
.ct-hello {
  text-align: center;
  padding: 4px 10px 0;
}
.ct-hello small {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-ink);
  background: var(--green-50);
  padding: 4px 10px;
  border-radius: 99px;
}
.ct-hello h2 {
  font: 600 22px/1.2 var(--display);
  letter-spacing: -0.02em;
  margin: 10px 0 6px;
}
.ct-hello p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-2);
}

.ct-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 18px 18px 16px;
  color: #fff;
  background: linear-gradient(140deg, #22386f 0%, #2c4785 55%, #3a5a9b 100%);
  box-shadow: 0 22px 40px -26px rgba(20, 41, 90, 0.9);
  transition:
    filter 0.3s,
    opacity 0.3s;
}
.ct-card.off {
  filter: grayscale(0.9);
  opacity: 0.7;
}
.ct-glow {
  position: absolute;
  right: -50px;
  top: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 239, 157, 0.35), transparent 70%);
  pointer-events: none;
}
.ct-top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.ct-top .av {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex: none;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 0 0 2.5px rgba(255, 255, 255, 0.55);
}
.ct-top .av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ct-top > div {
  flex: 1;
  min-width: 0;
}
.ct-top b {
  display: block;
  font: 600 18px/1.15 var(--display);
  overflow-wrap: anywhere;
}
.ct-top small {
  display: block;
  font-size: 12px;
  opacity: 0.8;
  margin-top: 2px;
}
.ct-nadic {
  position: absolute;
  right: -4px;
  top: -6px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 700;
  color: #553600;
  background: #f6c75a;
  padding: 4px 9px 4px 7px;
  border-radius: 99px;
}
.ct-nadic .i {
  width: 12px;
  height: 12px;
}
.ct-top:has(.ct-nadic) {
  padding-top: 16px;
}
.ct-real {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 12px 0 0;
  font-size: 11.5px;
  opacity: 0.75;
}
.ct-real .i {
  width: 12px;
  height: 12px;
  flex: none;
}
.ct-bio {
  position: relative;
  margin: 10px 0 0;
  font-size: 13.5px;
  line-height: 1.4;
}
.ct-tags {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.ct-tags span {
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.ct-tags.empty span {
  background: none;
  border-style: dashed;
  opacity: 0.65;
}
.ct-open {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 10px 0 0;
  font-size: 12px;
  color: #c8ef9d;
}
.ct-open .i {
  width: 13px;
  height: 13px;
  flex: none;
}
.ct-rows {
  position: relative;
  list-style: none;
  margin: 12px 0 0;
  padding: 10px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ct-rows li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  min-width: 0;
}
.ct-rows .i {
  width: 14px;
  height: 14px;
  flex: none;
  opacity: 0.8;
}
.ct-rows span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ct-hidden {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.35);
  padding: 4px 9px;
  border-radius: 99px;
}
.ct-hidden .i {
  width: 12px;
  height: 12px;
}

.ct-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: -4px 4px 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}
.ct-note .i {
  width: 14px;
  height: 14px;
  flex: none;
  margin-top: 1px;
  color: var(--green-ink);
}
.ct-switch {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  cursor: pointer;
}
.ct-switch > span {
  flex: 1;
}
.ct-switch b {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
}
.ct-switch small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.ct-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.ct-switch i {
  position: relative;
  width: 46px;
  height: 28px;
  border-radius: 99px;
  background: var(--line-2);
  transition: background 0.25s;
  flex: none;
}
.ct-switch i::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s var(--spring);
}
.ct-switch input:checked + i {
  background: var(--green);
}
.ct-switch input:checked + i::after {
  transform: translateX(18px);
}
.ct-switch input:focus-visible + i {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.ct-sec {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line);
}
.ct-sec h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 2px;
  font: 600 15px var(--display);
  letter-spacing: -0.01em;
}
.ct-sec h3 .i {
  width: 17px;
  height: 17px;
  color: var(--blue);
}
.ct-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border-radius: 14px;
  background: var(--bg);
  border: 1.5px solid transparent;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.ct-field:focus-within {
  border-color: var(--blue);
  background: var(--card);
}
.ct-field > .i {
  width: 17px;
  height: 17px;
  color: var(--muted);
  flex: none;
}
.ct-field input,
.ct-field textarea {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  padding: 13px 0;
  outline: 0;
  resize: none;
}
.ct-field.area {
  padding: 0 14px 18px;
}
.ct-count {
  position: absolute;
  right: 12px;
  bottom: 6px;
  font-style: normal;
  font-size: 10.5px;
  color: var(--muted);
}
.ct-seg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 4px;
  border-radius: 14px;
  background: var(--bg);
}
.ct-seg label {
  cursor: pointer;
}
.ct-seg input,
.ct-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.ct-seg span {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 4px;
  border-radius: 11px;
  color: var(--ink-2);
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}
.ct-seg input:checked + span {
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 4px 12px -6px rgba(20, 41, 90, 0.45);
}
.ct-seg input[value='bolsista']:checked + span {
  background: #f6c75a;
  color: #553600;
}
.ct-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.ct-chip {
  cursor: pointer;
}
.ct-chip span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 13px;
  border-radius: 99px;
  border: 1.5px solid var(--line);
  color: var(--ink-2);
  background: var(--card);
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s,
    transform 0.2s var(--spring);
}
.ct-chip input:checked + span {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  transform: scale(1.04);
}
.ct-chip input:checked + span::before {
  content: '✓';
  font-size: 11px;
}
.ct-chip input:focus-visible + span,
.ct-seg input:focus-visible + span {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.ct-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 2px;
}
.ct-actions .btn {
  justify-content: center;
}

.ct-invite {
  display: flex;
  align-items: stretch;
  gap: 4px;
  border-radius: 20px;
  background: linear-gradient(120deg, var(--blue-50), var(--green-50));
  border: 1px solid var(--line);
  overflow: hidden;
}
.ct-inv-main {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 4px 14px 16px;
  text-align: left;
}
.ct-inv-main > .i {
  width: 24px;
  height: 24px;
  color: var(--accent-ink);
  flex: none;
}
.ct-inv-main b {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}
.ct-inv-main small {
  display: block;
  font-size: 12px;
  color: var(--ink-2);
  margin-top: 2px;
}
.ct-inv-skip {
  padding: 0 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.myqr-card-on {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-style: normal;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--green-ink);
  background: var(--green-50);
  padding: 3px 10px;
  border-radius: 99px;
  margin-top: 4px;
}
.myqr-card-on .i {
  width: 12px;
  height: 12px;
}

.tp-out {
  --tp: #5d86dc;
  --tp-ink: #22386f;
}
.ct-nadic {
  background: #fff;
  color: #22386f;
  padding: 4px 10px 4px 6px;
  gap: 5px;
}
.ct-nadic img {
  height: 14px;
  width: auto;
}
.ct-nadic-logo {
  height: 15px;
  width: auto;
}
.ct-hello h2 {
  margin-bottom: 0;
}
.social-who {
  padding: 0;
  border-radius: 50%;
  flex: none;
  cursor: pointer;
}
[data-go='communityPerson'] {
  cursor: pointer;
}
.social-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 6px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.social-card-acts {
  display: flex;
  justify-content: center;
}
.social-card-acts:empty {
  display: none;
}
.sp-card {
  position: relative;
}
.sp-badge {
  position: absolute;
  left: 16px;
  bottom: -12px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: #553600;
  background: #f6c75a;
  padding: 5px 11px;
  border-radius: 99px;
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.4);
}
.sp-badge .i {
  width: 13px;
  height: 13px;
}
.speaker .sp-card + .h {
  margin-top: 22px;
}
.ava.has-photo {
  overflow: hidden;
  padding: 0;
}
.ava.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}
.sr-kick-card {
  display: block;
  text-align: center;
  margin-bottom: 10px;
}
.sr-peer-card {
  margin-bottom: 14px;
}
.splist li[data-go='peer'] {
  cursor: pointer;
}
.ct-empty {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}
.ct-empty > .i {
  width: 20px;
  height: 20px;
  flex: none;
  opacity: 0.7;
}
.ct-empty b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
}
.ct-empty small {
  display: block;
  font-size: 11.5px;
  opacity: 0.7;
  margin-top: 1px;
}
.ct-none {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 12px;
  opacity: 0.6;
}
.ct-none .i {
  width: 14px;
  height: 14px;
  flex: none;
}

[data-theme='dark'] .stage-note,
[data-theme='dark'] .stage-sky {
  color: var(--muted);
}
/* Ministrante: a atividade que a pessoa ministra, com a foto escolhida para ela */
.speaker .sp-card + .h {
  margin-top: 26px;
}
.mc-show {
  border-radius: 22px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 18px 36px -28px rgba(20, 41, 90, 0.6);
}
.mc-photo {
  position: relative;
  aspect-ratio: 16/10;
  background: #0e1626;
  overflow: hidden;
}
.mc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  display: block;
}
.mc-photo > .ava {
  position: absolute;
  inset: 0;
  margin: auto;
}
.mc-photo::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(transparent, rgba(10, 18, 34, 0.55));
}
.mc-kind {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--green-ink);
  background: var(--green-50);
  padding: 5px 11px;
  border-radius: 99px;
}
.mc-kind .i {
  width: 14px;
  height: 14px;
}
.mc-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mc-body h3 {
  margin: 0;
  font: 600 20px/1.2 var(--display);
  letter-spacing: -0.02em;
}
.mc-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mc-meta li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.mc-meta .i {
  width: 16px;
  height: 16px;
  color: var(--blue);
  flex: none;
}
.mc-desc {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}
.mc-body h4 {
  margin: 6px 0 0;
  font: 600 15px var(--display);
}
.mc-req,
.mc-learn {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.mc-req li,
.mc-learn li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  line-height: 1.4;
}
.mc-req .i {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex: none;
  margin-top: 1px;
}
.mc-learn b {
  width: 21px;
  height: 21px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-ink);
  font-size: 11.5px;
}
.mc-acts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 6px;
}
.mc-acts .btn {
  justify-content: center;
}

/* Leitor com câmera: rastreio do QR na imagem (trackSet/trackDraw em app.js). Chapado: sem brilho nem sombra; o
   contorno nasce do centro do QR e, na leitura, o preenchimento e o ✓ crescem a partir dele. */
.scan-track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  overflow: visible;
}
.scan-track.on {
  opacity: 1;
}
.tk-poly {
  fill: rgba(101, 179, 46, 0.14);
  stroke: #65b32e;
  stroke-width: 2;
  stroke-linejoin: round;
  transform-box: fill-box;
  transform-origin: center;
}
.tk-brk {
  fill: none;
  stroke: #fff;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tk-ok {
  opacity: 0;
}
.tk-ok circle {
  fill: #4f9e22;
}
.tk-ok path {
  fill: none;
  stroke: #fff;
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.scan-track[data-state='outro'] .tk-poly {
  fill: rgba(242, 178, 48, 0.14);
  stroke: #f2b230;
}
.scan-track[data-state='lock'] .tk-poly {
  fill: rgba(79, 158, 34, 0.42);
  stroke: #65b32e;
  animation: tkCresce 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.tk-okin {
  transform-box: fill-box;
  transform-origin: center;
}
.scan-track[data-state='lock'] .tk-ok {
  opacity: 1;
}
.scan-track[data-state='lock'] .tk-okin {
  animation: tkOk 0.3s cubic-bezier(0.3, 1.4, 0.5, 1) 0.12s both;
}
@keyframes tkCresce {
  from {
    transform: scale(0.15);
    opacity: 0.3;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@keyframes tkOk {
  from {
    opacity: 0;
    transform: scale(0.2);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.tk-tag {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 4;
  pointer-events: none;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  background: #4f9e22;
  padding: 4px 10px;
  border-radius: 99px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.15s;
}
.tk-tag.on {
  opacity: 1;
}
.tk-tag[data-state='outro'] {
  background: #f2b230;
  color: #3d2600;
}
.tk-tag[data-state='lock'] {
  background: #fff;
  color: #2f6f12;
}
.scanner.tracking .scanline {
  opacity: 0;
  transition: opacity 0.2s;
}
.scanner.tracking .frame {
  opacity: 0.2;
  transition: opacity 0.3s;
}
@media (prefers-reduced-motion: reduce) {
  .scan-track * {
    animation: none !important;
  }
}
.scanner.cam-live .placard-wrap {
  visibility: hidden;
}

/* ===== estilos/26-qr-da-equipe-e-materiais.css ===== */
/* estilos/26-qr-da-equipe-e-materiais.css · QR Codes da equipe e materiais.
   Parte do app.css, montado na ordem dos números (scripts/app/montar-app.mjs): a ordem importa, porque
   as partes mais novas refinam as anteriores. */
/* Tema escuro: debug de QR e selo do campeonato (revisão de 12/11/2026) */
[data-theme='dark'] .qr-debug {
  background: #0e1932;
  color: #e8eefb;
  border-color: #3a4c7c;
}
[data-theme='dark'] .qr-debug-grid button {
  background: #182648;
  color: #e8eefb;
  border-color: #3a4c7c;
}
[data-theme='dark'] .qr-debug-grid small {
  color: #94a4c6;
}
[data-theme='dark'] .t-chip.open {
  background: #21401a;
  color: #a5e07f;
}
/* Galeria de QR Codes da equipe (Screens.orgQrs) */
.oq-atalho {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  text-align: left;
}
.oq-atalho > .i:first-child {
  width: 22px;
  height: 22px;
  color: var(--accent-ink);
}
.oq-atalho span {
  flex: 1;
}
.oq-atalho b {
  display: block;
  font-size: 14.5px;
}
.oq-atalho small {
  color: var(--muted);
  font-size: 12px;
}
.oq-nota {
  display: flex;
  gap: 9px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--blue-50);
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-2);
}
.oq-nota .i {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--accent-ink);
}
.oq-busca {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 14px;
  background: var(--card);
  border: 1.5px solid var(--line);
}
.oq-busca .i {
  width: 17px;
  height: 17px;
  color: var(--muted);
}
.oq-busca input {
  flex: 1;
  border: 0;
  background: none;
  font: inherit;
  font-size: 15px;
  padding: 12px 0;
  color: var(--ink);
  outline: 0;
}
.oq-lista {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.oq-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  text-align: left;
  min-width: 0;
}
.oq-mini {
  display: block;
  background: #fff;
  border-radius: 10px;
  padding: 4px;
  aspect-ratio: 1;
}
.oq-mini svg {
  width: 100%;
  height: 100%;
  display: block;
}
.oq-item b {
  font-size: 13px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.oq-item small {
  font-size: 11.5px;
  color: var(--muted);
}
.oq-vazio {
  grid-column: 1/-1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  padding: 20px 0;
}
.overlay.qrfull .ov-panel {
  top: 0;
  opacity: 0;
  transform: scale(0.98);
}
.overlay.qrfull.open .ov-panel {
  opacity: 1;
  transform: none;
}
.oq-full {
  position: absolute;
  inset: 0;
  background: #fff;
  color: #1f2f57;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 56px 20px 90px;
  touch-action: pan-y;
}
.oq-qr svg {
  width: min(86vw, 62vh, 420px);
  height: auto;
  display: block;
}
.oq-t {
  font: 600 19px/1.25 var(--display);
  text-align: center;
  max-width: 92%;
}
.oq-w {
  font-size: 13.5px;
  color: #6a7896;
}
.oq-n {
  position: absolute;
  top: 22px;
  left: 20px;
  font-size: 13px;
  color: #94a4c6;
}
.oq-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e8eef9;
  display: grid;
  place-items: center;
  color: #22386f;
}
.oq-x .i {
  width: 20px;
  height: 20px;
}
.oq-nav {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.oq-nav button {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 11px 18px;
  border-radius: 99px;
  background: #e8eef9;
  color: #22386f;
  font-weight: 600;
  font-size: 14px;
}
.oq-nav .i {
  width: 16px;
  height: 16px;
}
/* Materiais: ícone por tipo e visualizador dentro do app (matAbrir) */
.mat {
  cursor: pointer;
}
.mat:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 12px;
}
.mat .mat-go {
  width: 16px;
  height: 16px;
  color: var(--muted);
  flex: none;
}
.mat-ic.imagem {
  background: var(--blue-50);
  color: var(--blue);
}
.mat-ic.slides {
  background: #ffeedd;
  color: #a5501a;
}
.mat-ic.texto {
  background: #eef1f6;
  color: #52627e;
}
.mat-ic.gh {
  background: #1f2328;
  color: #fff;
}
.mat-ic.yt {
  background: #ffe5e5;
  color: #d40000;
}
.mat-ic.gd {
  background: #e6f4ea;
  color: #188038;
}
.mat-ic.big {
  width: 72px;
  height: 72px;
  border-radius: 20px;
}
.mat-ic.big .i {
  width: 34px;
  height: 34px;
}
[data-theme='dark'] .mat-ic.gh {
  background: #e8eefb;
  color: #0d1117;
}
[data-theme='dark'] .mat-ic.yt {
  background: #4a1f1f;
  color: #ff8a8a;
}
[data-theme='dark'] .mat-ic.gd {
  background: #1d3a26;
  color: #8fd6a5;
}
[data-theme='dark'] .mat-ic.slides {
  background: #46361a;
  color: #ffd27a;
}
[data-theme='dark'] .mat-ic.pdf {
  background: #4a2422;
  color: #ffb4ae;
}
.overlay.matview .ov-panel {
  top: 0;
  opacity: 0;
  transform: translateY(24px);
}
.overlay.matview.open .ov-panel {
  opacity: 1;
  transform: none;
}
.mv {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}
.mv > header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: calc(14px + env(safe-area-inset-top)) 14px 12px;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.mv > header > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.mv > header b {
  display: block;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mv > header small {
  font-size: 12px;
  color: var(--muted);
}
.mv-corpo {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
}
.mv-doc {
  width: 100%;
  height: 100%;
  border: 0;
  background: #525659;
}
.mv-img {
  padding: 12px;
  max-height: 100%;
}
.mv-img img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
  display: block;
}
.mv-vid {
  width: 100%;
  padding: 12px;
}
.mv-vid iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  border-radius: 14px;
  background: #000;
}
.mv-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 24px;
}
.mv-card b {
  font: 600 18px var(--display);
}
.mv-card small {
  color: var(--muted);
}
.mv > footer {
  display: flex;
  gap: 8px;
  padding: 12px 14px calc(14px + env(safe-area-inset-bottom));
  background: var(--card);
  border-top: 1px solid var(--line);
}
.mv > footer .btn {
  flex: 1;
  justify-content: center;
  gap: 7px;
}
.mv > footer .btn .i {
  width: 17px;
  height: 17px;
}
.mv-gh {
  width: 100%;
  padding: 16px;
}
.gh-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border-radius: 20px;
  background: #0d1117;
  color: #e6edf3;
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.7);
}
.gh-card.carregando,
.gh-card:not(:has(header)) {
  align-items: center;
  text-align: center;
}
.gh-card > .i {
  width: 34px;
  height: 34px;
}
.gh-card small {
  color: #8b949e;
}
.gh-card header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.gh-card header img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #21262d;
}
.gh-card header span {
  flex: 1;
  min-width: 0;
}
.gh-card header b {
  display: block;
  font: 600 19px var(--display);
  overflow-wrap: anywhere;
}
.gh-card header .i {
  width: 26px;
  height: 26px;
  color: #e6edf3;
}
.gh-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #c9d1d9;
}
.gh-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.gh-card li {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 12px;
  background: #161b22;
  border: 1px solid #30363d;
  font-size: 13px;
}
.gh-card li .i {
  width: 15px;
  height: 15px;
  color: #e3b341;
}
.gh-card li b {
  font-weight: 700;
}
.gh-card li small {
  font-size: 12px;
}
.gh-at {
  font-size: 12px;
}

.sendpc {
  min-width: 0;
}
.sendpc small {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sendpc > .sp-ic,
.sendpc > .i:last-child {
  flex-shrink: 0;
}

/* Leitura de QR guardada sem internet (enviarPendentes em app/28-servidor.js) */
.leitura-pendente {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--blue) 10%, transparent);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
}
.leitura-pendente .i {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 1px;
}

/* ===== estilos/27-inscricao-e-editar-perfil.css ===== */
/* Minicursos com inscrição no SUAP (vagas discretas, selo "Inscrito", bloco no detalhe) e a edição do perfil unificada. */

/* vagas preenchidas, discreto: barrinha curta e "26 de 30 vagas" */
.vagas-linha {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-size: 11.5px;
  color: var(--muted);
}
.vagas-linha .seats {
  width: 56px;
  margin: 0;
}
.vagas-linha.pouca small {
  color: #8a5200;
  font-weight: 600;
}
.vagas-linha.cheio small {
  font-weight: 600;
}
:root[data-theme='dark'] .vagas-linha.pouca small {
  color: #f3c47a;
}
.ses-selo.inscrito,
.selo-inscrito {
  background: var(--green-50);
  color: var(--green-ink);
}
.ses-selo .i,
.selo-inscrito .i {
  width: 12px;
  height: 12px;
  stroke-width: 3;
}
.selo-inscrito {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}
.meus-mini {
  border: 1px solid color-mix(in srgb, var(--green) 30%, transparent);
}
.next-vazio {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  text-align: left;
  border-radius: calc(20px * var(--rk, 1));
  background: var(--card);
  color: var(--ink);
}
.next-vazio > .i:first-child {
  width: 20px;
  height: 20px;
  color: var(--accent-ink);
  flex: none;
}
.next-vazio span {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.next-vazio b {
  font-size: 14px;
}
.next-vazio small {
  font-size: 12.5px;
  color: var(--muted);
}
.next-vazio > .i:last-child {
  color: var(--muted);
  flex: none;
}

/* bloco da inscrição no detalhe do minicurso */
.inscricao {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 14px 16px;
  border-radius: calc(18px * var(--rk, 1));
  background: var(--card);
  border: 1px solid var(--line);
}
.inscricao > .i {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--accent-ink);
}
.inscricao span {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.inscricao b {
  font-size: 14.5px;
}
.inscricao small {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--muted);
}
.inscricao .btn {
  flex: none;
  gap: 6px;
}
.inscricao .btn .i {
  width: 14px;
  height: 14px;
}
.inscricao.ok {
  background: var(--green-50);
  border-color: transparent;
}
.inscricao.ok > .i {
  color: var(--green-ink);
  stroke-width: 3;
}
.inscricao.ok b {
  color: var(--green-ink);
}
.cta-bar a.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

/* editar perfil: foto e nome no topo, o cartão de contato logo abaixo */
.ct-eu {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  text-align: left;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink);
}
.ct-eu .av {
  width: 46px;
  height: 46px;
  flex: none;
}
.ct-eu > span:not(.av):not(.ct-eu-edit) {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ct-eu b {
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ct-eu small {
  font-size: 12.5px;
  color: var(--muted);
}
.ct-eu-edit {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-ink);
}
.ct-eu-edit .i {
  width: 14px;
  height: 14px;
}
/* barra fixa embaixo: Salvar e, na primeira vez, "Pular por agora" sempre à vista */
.ct-barra {
  display: flex;
  gap: 10px;
  z-index: 3;
}
.ct-barra .btn {
  flex: 1;
  justify-content: center;
}
.ct-barra.dupla .btn.soft {
  flex: 0.8;
}
.ct-hello p {
  margin: 0 auto;
  max-width: 32ch;
  line-height: 1.45;
}
.ct-eu .av {
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  background: var(--blue-50);
  color: var(--accent-ink);
  font: 600 16px/1 var(--display);
}
.ct-eu .av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* home: destaque (agora ou a próxima) e, logo abaixo, o resto da agenda */
.now-top .tag {
  flex: none;
}
.now-top .tag.salva {
  background: var(--blue-50);
  color: var(--accent-ink);
}
.now-top .tag.aberta {
  background: var(--amber-50);
  color: var(--amber-ink);
}
.now-top .tag:not(.ok):not(.salva):not(.aberta) {
  background: var(--line);
  color: var(--muted);
}
.now-actions a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}
.now-actions .btn .i {
  width: 16px;
  height: 16px;
}
.remind-btn.on {
  color: var(--accent-ink);
}
.remind-btn.on .i {
  fill: currentColor;
}
.next-cap {
  margin: 2px 4px -4px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}
