/* ==========================================================================
   CONFRA III — Extraoficial
   Tema: preto + laranja, tipografia condensada, estética de cartaz de festa.
   Mobile-first: navegação embaixo, alvos de toque grandes, safe-area.
   ========================================================================== */

:root {
  --ink:      #080808;
  --ink-2:    #111111;
  --ink-3:    #1a1a1a;
  --ink-4:    #242424;

  --orange:   #ff5a1f;
  --orange-2: #ff8142;
  --orange-d: #c93c08;
  --white:    #ffffff;
  --gray:     #a3a3a3;
  --gray-d:   #6e6e6e;

  --line:     rgba(255, 90, 31, .22);
  --line-2:   rgba(255, 90, 31, .48);

  --radius:   18px;
  --radius-sm: 12px;
  --tap:      48px;
  --tabbar:   66px;

  --font-display: Impact, Haettenschweiler, "Arial Narrow", "Franklin Gothic Heavy", "Anton", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --shadow-hard: 0 4px 0 var(--orange-d);
  --glow: 0 0 34px rgba(255, 90, 31, .22);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html, body { margin: 0; padding: 0; min-height: 100%; }

body {
  font-family: var(--font-body);
  color: var(--white);
  background-color: var(--ink);
  background-image:
    radial-gradient(900px 520px at 50% -12%, rgba(255, 90, 31, .18), transparent 62%),
    radial-gradient(700px 520px at 108% 26%, rgba(255, 90, 31, .09), transparent 60%),
    radial-gradient(700px 520px at -8% 72%, rgba(255, 90, 31, .07), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  line-height: 1.45;
  overscroll-behavior-y: contain;
  /* espaço para a barra inferior fixa */
  padding-bottom: calc(var(--tabbar) + env(safe-area-inset-bottom) + 12px);
}

h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: .01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; touch-action: manipulation; }
img { max-width: 100%; display: block; }

/* --------------------------------------------------------- marca / topo -- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(8, 8, 8, .86);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
}

.topbar__row {
  max-width: 640px;
  margin: 0 auto;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 52px;
}

.brand { display: flex; align-items: center; gap: 9px; min-width: 0; }

.brand__badge {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(150deg, var(--orange) 0%, #ff7a2f 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: .02em;
  display: grid;
  place-items: center;
  box-shadow: 0 3px 0 var(--orange-d);
  transform: rotate(-2.5deg);
  line-height: 1;
}

.brand__text { display: flex; flex-direction: column; line-height: .92; min-width: 0; }
.brand__name {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: .055em;
  color: #fff;
  white-space: nowrap;
}
.brand__tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--orange);
  white-space: nowrap;
}

.topbar__right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--ink-2);
  font-size: 12px;
  font-weight: 800;
  color: var(--gray);
  cursor: pointer;
  transition: transform .12s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.chip:active { transform: scale(.93); }
.chip--icon { min-width: 36px; padding: 7px 9px; font-size: 16px; line-height: 1; }
.chip--me {
  color: var(--orange);
  border-color: var(--line-2);
  background: rgba(255, 90, 31, .1);
}

/* --------------------------------------------- barra inferior (polegar) -- */
.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  gap: 2px;
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  background: rgba(8, 8, 8, .95);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-top: 2px solid var(--orange);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, .6);
}

.tab {
  flex: 1 1 0;
  min-width: 0;
  min-height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 5px 2px;
  border-radius: 14px;
  color: var(--gray-d);
  transition: color .18s ease, background .18s ease, transform .12s ease;
}
.tab:active { transform: scale(.92); }
.tab__emoji { font-size: 19px; line-height: 1; }
.tab__label {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.tab.is-active {
  color: var(--orange);
  background: rgba(255, 90, 31, .12);
  box-shadow: inset 0 0 0 1px var(--line-2);
}

/* ------------------------------------------------------------------ main -- */
.main {
  max-width: 640px;
  margin: 0 auto;
  padding: 18px 14px 28px;
}

.page-head { margin: 2px 0 16px; }
.page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(25px, 7vw, 34px);
  letter-spacing: .035em;
  text-transform: uppercase;
  line-height: 1;
}
.page-head p {
  color: var(--gray);
  font-size: 13.5px;
  margin-top: 7px;
  line-height: 1.5;
}

.section-title {
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
  margin: 24px 0 11px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.section-title::after {
  content: '';
  flex: 1;
  height: 5px;
  background: var(--orange);
  transform: skewX(-22deg);
  border-radius: 1px;
  opacity: .75;
}

/* ----------------------------------------------------------------- cards -- */
.card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 3px 0 rgba(255, 90, 31, .14);
}
.card + .card { margin-top: 12px; }
.card--glow { border-color: var(--line-2); box-shadow: 0 3px 0 rgba(255,90,31,.3), var(--glow); }
.card--tight { padding: 13px; }

/* --------------------------------------------------------------- botoes -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: var(--tap);
  padding: 13px 16px;
  border: 0;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  background: linear-gradient(165deg, var(--orange-2), var(--orange));
  color: #140800;
  box-shadow: var(--shadow-hard);
  transition: transform .1s ease, filter .2s ease, opacity .2s ease;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--orange-d); }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }

.btn--ghost {
  background: var(--ink-3);
  color: var(--orange);
  border: 1px solid var(--line-2);
  box-shadow: 0 3px 0 rgba(255, 90, 31, .22);
}
.btn--ghost:active { box-shadow: 0 1px 0 rgba(255,90,31,.22); }
.btn--lime { background: linear-gradient(165deg, #c9f24a, #a6d620); color: #101a00; box-shadow: 0 4px 0 #6f9413; }
.btn--cyan { background: linear-gradient(165deg, #4fd6ff, #1fa8d8); color: #00151d; box-shadow: 0 4px 0 #12738f; }
.btn--sm { padding: 10px 14px; font-size: 13px; min-height: 42px; width: auto; border-radius: 11px; }
.btn-row { display: flex; gap: 9px; flex-wrap: wrap; }
.btn-row .btn { width: auto; flex: 1 1 140px; }

/* --------------------------------------------------------------- inputs -- */
.field { margin-bottom: 13px; }
.label {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 6px;
}
.input, .textarea, .select {
  width: 100%;
  min-height: var(--tap);
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
  font-size: 16px; /* < 16px faz o iOS dar zoom no foco */
  font-family: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.input::placeholder, .textarea::placeholder { color: var(--gray-d); }
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 90, 31, .18);
}
.textarea { resize: vertical; min-height: 104px; line-height: 1.5; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%23ff5a1f' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 38px;
}
.select option { background: #161616; color: #fff; }

/* --------------------------------------------------------------- chips --- */
.pills { display: flex; flex-wrap: wrap; gap: 7px; }
.pill {
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--ink-3);
  color: var(--gray);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all .18s ease;
}
.pill.is-on {
  color: #140800;
  border-color: transparent;
  background: linear-gradient(160deg, var(--orange-2), var(--orange));
  font-weight: 800;
}

/* -------------------------------------------------------------- missao --- */
.mission {
  text-align: center;
  padding: 22px 16px;
  border-radius: var(--radius);
  border: 2px solid var(--orange);
  background:
    radial-gradient(560px 260px at 50% -30%, rgba(255, 90, 31, .3), transparent 70%),
    var(--ink-2);
  box-shadow: 0 4px 0 var(--orange-d);
}
.mission--verdade {
  border-color: var(--white);
  background:
    radial-gradient(560px 260px at 50% -30%, rgba(255, 255, 255, .13), transparent 70%),
    var(--ink-2);
  box-shadow: 0 4px 0 #555;
}
.mission__kind {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 11px;
}
.mission--verdade .mission__kind { color: #fff; }
.mission__text {
  font-family: var(--font-display);
  font-size: clamp(19px, 5.2vw, 25px);
  letter-spacing: .02em;
  line-height: 1.22;
  text-transform: uppercase;
}
.mission__cat {
  display: inline-block;
  margin-top: 13px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 90, 31, .16);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
}

/* ---------------------------------------------------------------- mural -- */
.post {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 10px;
  animation: rise .3s cubic-bezier(.2, .9, .3, 1) both;
}
.post--featured {
  border-color: var(--orange);
  background: linear-gradient(160deg, rgba(255, 90, 31, .14), var(--ink-2));
  box-shadow: 0 3px 0 rgba(255, 90, 31, .3);
}
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.post__meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  font-size: 11.5px;
  color: var(--gray-d);
  font-weight: 700;
  flex-wrap: wrap;
}
.post__cat {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 90, 31, .15);
  border: 1px solid var(--line);
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.post__who { color: var(--white); }
.post__body { font-size: 15.5px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
.post__star { margin-left: auto; color: var(--orange); font-size: 14px; }

.reactions { display: flex; gap: 6px; margin-top: 11px; flex-wrap: wrap; }
.reaction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 42px;
  min-height: 38px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--ink);
  font-size: 13px;
  font-weight: 800;
  color: var(--gray);
  cursor: pointer;
  transition: all .16s ease;
}
.reaction.is-on {
  border-color: var(--orange);
  background: rgba(255, 90, 31, .18);
  color: var(--white);
}

.post__tools { display: flex; gap: 7px; margin-top: 10px; flex-wrap: wrap; }
.tiny {
  min-height: 34px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--gray-d);
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
}
.tiny--danger { color: #ff6b78; border-color: rgba(255, 107, 120, .35); }

/* -------------------------------------------------------------- ranking -- */
.rank { margin-bottom: 12px; }
.rank__q {
  font-family: var(--font-display);
  font-size: 16.5px;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-bottom: 10px;
  line-height: 1.18;
}
.rank__opts { display: flex; flex-direction: column; gap: 7px; }
.rank__opt {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: var(--ink);
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  transition: border-color .2s ease, transform .1s ease;
}
.rank__opt:active { transform: scale(.985); }
.rank__opt.is-mine { border-color: var(--orange); }
.rank__bar {
  position: absolute;
  inset: 0 auto 0 0;
  background: linear-gradient(90deg, rgba(255, 90, 31, .38), rgba(255, 90, 31, .12));
  transition: width .5s cubic-bezier(.2, .9, .3, 1);
  z-index: 0;
}
.rank__label, .rank__count { position: relative; z-index: 1; }
.rank__count {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: 17px;
  color: var(--white);
  min-width: 24px;
  text-align: right;
}
.rank__opt.is-mine .rank__count { color: var(--orange); }
.rank__voters { font-size: 11.5px; color: var(--gray-d); margin-top: 8px; font-weight: 700; }

/* -------------------------------------------------------------- elogio --- */
.letter {
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-2);
  background: linear-gradient(160deg, rgba(255, 90, 31, .1), var(--ink-2));
  margin-bottom: 10px;
}
.letter__from {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 7px;
}
.letter__text { font-size: 15.5px; line-height: 1.5; white-space: pre-wrap; }
.letter--anon .letter__from { color: var(--gray-d); }

/* ---------------------------------------------------------------- login -- */
.login {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 18px calc(26px + env(safe-area-inset-bottom));
}
.login__box { width: 100%; max-width: 420px; }
.login__logo {
  width: min(74vw, 250px);
  margin: 0 auto 6px;
  filter: drop-shadow(0 10px 34px rgba(255, 90, 31, .42));
  animation: bob 4.2s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-9px) rotate(2deg); } }
.login__title {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(27px, 8vw, 38px);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin: 14px 0 4px;
}
.login__date {
  display: block;
  width: fit-content;
  margin: 0 auto 10px;
  padding: 4px 13px;
  border-radius: 999px;
  background: var(--orange);
  color: #140800;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .16em;
}
.login__sub { text-align: center; color: var(--gray); font-size: 14px; margin-bottom: 22px; }
.login__admin { text-align: center; margin-top: 13px; font-size: 13px; color: var(--gray-d); }
.linkish {
  background: none;
  border: 0;
  padding: 0;
  color: var(--orange);
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ----------------------------------------------------------------- misc -- */
.empty {
  text-align: center;
  padding: 34px 18px;
  color: var(--gray-d);
  font-size: 14px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.empty__emoji { font-size: 36px; display: block; margin-bottom: 9px; }

.pill-note { font-size: 12px; color: var(--gray-d); line-height: 1.5; margin-top: 9px; }
.pill-note strong { color: var(--gray); }

.badge-admin {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 90, 31, .16);
  border: 1px solid var(--line-2);
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.players { display: flex; flex-wrap: wrap; gap: 6px; }
.player {
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--ink-3);
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--gray);
}
.player--turn { border-color: var(--orange); background: rgba(255, 90, 31, .16); color: #fff; }
.player--me { box-shadow: inset 0 0 0 1px rgba(255, 90, 31, .5); }

/* --------------------------------------------------------------- toasts -- */
.toasts {
  position: fixed;
  left: 50%;
  bottom: calc(var(--tabbar) + env(safe-area-inset-bottom) + 14px);
  transform: translateX(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: calc(100% - 28px);
  max-width: 420px;
  pointer-events: none;
}
.toast {
  padding: 12px 15px;
  border-radius: 13px;
  background: rgba(20, 20, 20, .97);
  border: 1px solid var(--line-2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .6);
  font-size: 13.5px;
  font-weight: 700;
  animation: toastIn .26s cubic-bezier(.2, .9, .3, 1) both;
}
.toast--ok  { border-color: var(--orange); color: #ffd9c7; }
.toast--err { border-color: #ff5566; color: #ffc4ca; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 80; display: none; }
.confetti.is-on { display: block; }

/* ------------------------------------------------------------------- tv -- */
body.app--plain { background: #050505; }
.tv {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.6vh, 22px);
  padding: clamp(14px, 2.6vh, 34px) clamp(12px, 3vw, 44px);
  max-width: 1700px;
  margin: 0 auto;
  overflow: hidden;
}
.tv__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 7vw, 52px);
  letter-spacing: .04em;
  text-align: center;
  text-transform: uppercase;
  color: var(--orange);
  text-shadow: 0 3px 0 var(--orange-d);
  flex: 0 0 auto;
}

/* post do dia: grande, no topo */
.tv__hero {
  font-family: var(--font-display);
  font-size: clamp(19px, 3.4vw, 40px);
  letter-spacing: .02em;
  line-height: 1.16;
  text-align: center;
  padding: clamp(16px, 2.4vh, 30px) clamp(14px, 2vw, 28px);
  border-radius: var(--radius);
  border: 2px solid var(--orange);
  background: linear-gradient(160deg, rgba(255, 90, 31, .2), var(--ink-2));
  box-shadow: 0 4px 0 var(--orange-d);
  flex: 0 0 auto;
}

/* mural: grade com o resto dos posts */
.tv__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(190px, 21vw, 330px), 1fr));
  gap: clamp(8px, 1vw, 16px);
  align-content: start;
}
.tv__card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-sm);
  padding: clamp(10px, 1.3vh, 18px) clamp(12px, 1.2vw, 20px);
  font-family: var(--font-display);
  font-size: clamp(14px, 1.55vw, 24px);
  line-height: 1.2;
  text-align: left;
  overflow: hidden;
}
.tv__cat {
  font-size: clamp(10px, 2.4vw, 15px);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
  text-align: center;
}
.tv__card .tv__cat { font-size: clamp(9px, .85vw, 12px); margin-bottom: 8px; letter-spacing: .16em; }
.tv__meta { margin-top: 14px; font-size: clamp(11px, 2.2vw, 15px); color: var(--gray-d); font-weight: 700; }
.tv__card .tv__meta { margin-top: 10px; font-size: clamp(10px, 1vw, 15px); }

/* ---------------------------------------------------------------- admin -- */
.stat { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 9px; }
.stat__box {
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--ink-2);
  border: 1px solid var(--line);
  text-align: center;
}
.stat__num { font-family: var(--font-display); font-size: 26px; color: var(--orange); }
.stat__label {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray-d);
  margin-top: 3px;
}

/* ------------------------------------------------------------- responsivo -- */
@media (min-width: 760px) {
  .main { padding: 26px 20px 32px; }
  .card { padding: 20px; }
}

@media (max-width: 360px) {
  .brand__name { font-size: 17px; }
  .brand__tag { font-size: 10px; }
  .tab__emoji { font-size: 17px; }
  .tab__label { font-size: 9px; }
}

/* telas baixas deitado: encolhe o cabeçalho */
@media (orientation: landscape) and (max-height: 480px) {
  .topbar__row { min-height: 44px; padding: 6px 14px; }
  .brand__badge { width: 28px; height: 28px; font-size: 14px; }
  .login { align-items: flex-start; padding-top: 18px; }
  .login__logo { width: min(34vw, 140px); }
}

/* sem hover (toque): sem estados de hover que "grudam" */
@media (hover: none) {
  .btn:hover, .chip:hover, .pill:hover { filter: none; }
  .btn:hover { background: linear-gradient(165deg, var(--orange-2), var(--orange)); }
}
