* {
  box-sizing: border-box;
}

:root {
  --copa-cream: #f4f1e9;
  --copa-cream-2: #fdf8ea;
  --copa-yellow: #f2c14e;
  --copa-red: #e23b3b;
  --copa-purple: #8a46f0;
  --copa-lavender: #b98cff;
  --copa-ink: #14110f;
  --copa-green: #0e3c2e;
  --copa-green-2: #176348;
  --copa-line: rgba(244, 241, 233, 0.72);
  --app-vh: 100vh;
  --page-pad: clamp(1rem, 2.8vw, 2rem);
  --max: 1180px;
}

html {
  min-height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--copa-ink);
  background: var(--copa-cream);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--copa-yellow);
  outline-offset: 3px;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem var(--page-pad);
  color: var(--copa-cream);
  pointer-events: none;
}

.brand,
.top-nav,
.live-pill,
.scroll-cue,
.button,
.dialog-close {
  pointer-events: auto;
}

.brand {
  grid-column: 1;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 0.65rem;
  padding: 0.35rem 0.65rem 0.35rem 0.35rem;
  border: 2px solid var(--copa-ink);
  border-radius: 999px;
  background: var(--copa-cream);
  color: var(--copa-ink);
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
  box-shadow: 3px 3px 0 var(--copa-ink);
}

.brand img {
  border: 2px solid var(--copa-ink);
  border-radius: 50%;
  background: var(--copa-cream);
  flex: 0 0 auto;
}

.brand span {
  overflow-wrap: anywhere;
}

.menu-toggle,
.nav-backdrop {
  display: none;
}

.top-nav {
  grid-column: 2;
  display: flex;
  min-width: 0;
  justify-content: center;
  gap: 0.34rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.top-nav::-webkit-scrollbar {
  display: none;
}

.top-nav a {
  flex: 0 0 auto;
  border: 2px solid var(--copa-ink);
  border-radius: 999px;
  padding: 0.34rem 0.58rem;
  background: rgba(244, 241, 233, 0.92);
  color: var(--copa-ink);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 2px 2px 0 var(--copa-ink);
}

.top-nav a:hover,
.top-nav a:focus-visible,
.top-nav a.is-active,
.top-nav a[aria-current="true"] {
  background: var(--copa-yellow);
}

.live-pill,
.kicker {
  display: inline-flex;
  width: fit-content;
  max-width: min(58vw, 33rem);
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0;
  border: 2px solid var(--copa-ink);
  border-radius: 999px;
  padding: 0.32rem 0.65rem;
  background: var(--copa-yellow);
  color: var(--copa-ink);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.1;
  overflow-wrap: anywhere;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 2px 2px 0 var(--copa-ink);
}

.live-pill {
  grid-column: 3;
}

.live-pill.is-error {
  background: var(--copa-red);
  color: var(--color-white);
}

#campo,
#album-da-virada,
#alvos-da-virada,
#escalacoes {
  scroll-margin-top: 5.6rem;
}

.live-pill.is-live {
  background: var(--copa-red);
  color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(242, 193, 78, 0.55), 2px 2px 0 var(--copa-ink);
}

.stadium {
  position: relative;
  min-height: 100vh;
  min-height: var(--app-vh);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.6fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(0.8rem, 2vw, 1.2rem);
  padding: clamp(5rem, 10vh, 6.2rem) var(--page-pad) 1rem;
  background:
    linear-gradient(90deg, rgba(20, 17, 15, 0.82), rgba(20, 17, 15, 0.12) 42%, rgba(20, 17, 15, 0.88)),
    radial-gradient(circle at 50% 20%, rgba(242, 193, 78, 0.22), transparent 32%),
    var(--copa-green);
  color: var(--copa-cream);
  isolation: isolate;
}

.stadium::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.32;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.06) 0 1px,
      transparent 1px 6.5vw
    ),
    repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.16) 0 1px,
      transparent 1px 6.5vh
    );
}

.stadium__copy {
  z-index: 2;
  align-self: start;
  max-width: 45rem;
}

.stadium h1,
.section-head h2,
.action-form h2 {
  margin: 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 0.94;
}

.stadium h1 {
  margin-top: 0.75rem;
  font-size: clamp(3.4rem, 10vw, 8.4rem);
  max-width: 7ch;
  text-wrap: balance;
  text-shadow: 5px 5px 0 var(--copa-ink);
}

.stadium__lead {
  max-width: 44rem;
  margin: 0.9rem 0 0;
  color: rgba(244, 241, 233, 0.9);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.35;
}

.scoreboard {
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-auto-rows: minmax(5.1rem, auto);
  align-self: start;
  gap: 0.55rem;
  padding: 0.65rem;
  border: 3px solid var(--copa-ink);
  border-radius: 8px;
  background: var(--copa-cream);
  color: var(--copa-ink);
  box-shadow: 6px 6px 0 var(--copa-ink);
}

.scoreboard div:not(.scoreboard__divider) {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.12rem;
  min-width: 0;
  padding: 0.35rem;
  border: 2px solid var(--copa-ink);
  border-radius: 6px;
  background: var(--color-white);
}

.scoreboard div:nth-of-type(4) {
  grid-column: 1 / -1;
  min-height: 4.2rem;
  background: var(--copa-yellow);
}

.scoreboard span,
.scoreboard small,
.match-strip span,
.roster-column__head p,
.action-target,
.form-status {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}

.scoreboard strong {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  line-height: 0.9;
}

.scoreboard__divider {
  align-self: stretch;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--copa-red);
}

.pitch-panel {
  grid-column: 1 / -1;
  position: relative;
  min-height: min(56vh, 33rem);
  display: grid;
  align-items: stretch;
}

.pitch {
  position: relative;
  overflow: hidden;
  min-height: min(56vh, 33rem);
  border: 4px solid var(--copa-line);
  border-radius: 8px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.045) 0 9%,
      rgba(0, 0, 0, 0.06) 9% 18%
    ),
    linear-gradient(90deg, #0f4b36, #176348 50%, #0d3d2e);
  box-shadow: inset 0 0 0 3px rgba(20, 17, 15, 0.55), 0 14px 38px rgba(0, 0, 0, 0.35);
}

.pitch__half,
.pitch__center-line,
.pitch__circle {
  position: absolute;
  pointer-events: none;
}

.pitch__half {
  top: 18%;
  bottom: 18%;
  width: 12%;
  border: 3px solid var(--copa-line);
}

.pitch__half--left {
  left: -3px;
  border-left: 0;
}

.pitch__half--right {
  right: -3px;
  border-right: 0;
}

.pitch__center-line {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--copa-line);
}

.pitch__circle {
  top: 50%;
  left: 50%;
  width: min(18vw, 10rem);
  aspect-ratio: 1;
  border: 3px solid var(--copa-line);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.pitch-label {
  position: absolute;
  z-index: 3;
  margin: 0;
  padding: 0.32rem 0.55rem;
  border: 2px solid var(--copa-ink);
  border-radius: 999px;
  background: var(--copa-cream);
  color: var(--copa-ink);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 2px 2px 0 var(--copa-ink);
}

.pitch-label--sim {
  top: 0.7rem;
  left: 0.75rem;
}

.pitch-label--nao {
  top: 0.7rem;
  right: 0.75rem;
  background: var(--copa-red);
  color: var(--color-white);
}

.pitch-label--muro {
  top: calc(50% - 8rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--copa-yellow);
}

.players {
  position: absolute;
  inset: 0;
}

.field-mobile-groups {
  display: none;
}

.player-dot {
  position: absolute;
  z-index: 2;
  left: var(--x);
  top: var(--y);
  width: var(--size, 1.08rem);
  height: var(--size, 1.08rem);
  padding: 0;
  border: 1.5px solid var(--copa-ink);
  border-radius: 50%;
  background: var(--copa-cream);
  transform: translate(-50%, -50%);
  cursor: pointer;
  box-shadow: 1px 1px 0 rgba(20, 17, 15, 0.85);
  transition: transform 160ms ease, box-shadow 160ms ease, z-index 160ms ease;
}

.player-dot:hover,
.player-dot:focus-visible {
  z-index: 8;
  transform: translate(-50%, -50%) scale(1.7);
  box-shadow: 3px 3px 0 var(--copa-ink);
}

.player-dot img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--copa-cream);
}

.player-dot--sim {
  border-color: var(--copa-yellow);
}

.player-dot--nao {
  border-color: var(--copa-red);
}

.player-dot--muro {
  border-color: var(--color-white);
  filter: grayscale(0.5);
}

.player-dot--arbitro {
  --size: 2.25rem;
  z-index: 7;
  border-color: var(--copa-ink);
  background: var(--copa-yellow);
}

.party-marker {
  position: absolute;
  z-index: 6;
  left: var(--x);
  top: var(--y);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0.08rem 0.32rem;
  width: 6.2rem;
  min-height: 4rem;
  padding: 0.38rem 0.42rem;
  border: 3px solid var(--copa-ink);
  border-radius: 8px;
  background: var(--copa-cream);
  color: var(--copa-ink);
  box-shadow: 4px 4px 0 var(--copa-ink);
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.party-marker:hover,
.party-marker:focus-visible {
  z-index: 9;
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 5px 5px 0 var(--copa-ink);
}

.party-marker img,
.party-logo-fallback {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  width: 2.12rem;
  height: 2rem;
  place-items: center;
  border: 1px solid var(--copa-ink);
  border-radius: 8px;
  background: var(--color-white);
  image-rendering: auto;
  object-fit: contain;
  overflow: hidden;
}

.party-logo-fallback {
  padding: 0.12rem;
  font-family: var(--font-mono);
  font-size: 0.46rem;
  font-weight: 900;
  line-height: 1;
  overflow-wrap: anywhere;
  text-align: center;
}

.party-marker__sigla {
  grid-column: 1 / -1;
  grid-row: 2;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 0.92;
  overflow: hidden;
  text-align: center;
  text-overflow: clip;
  text-transform: uppercase;
  white-space: nowrap;
}

.party-marker__name {
  display: none;
}

.party-marker.is-logo-missing .party-marker__sigla {
  display: none;
}

.party-marker strong {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  font-family: var(--font-display);
  font-size: 1.34rem;
  line-height: 1;
}

.party-marker::after {
  position: absolute;
  z-index: 12;
  left: 50%;
  bottom: calc(100% + 0.38rem);
  display: none;
  width: max-content;
  max-width: 13.5rem;
  padding: 0.28rem 0.48rem;
  border: 2px solid var(--copa-ink);
  border-radius: 6px;
  background: var(--copa-cream);
  color: var(--copa-ink);
  content: attr(data-party-name);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1.1;
  overflow-wrap: anywhere;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%);
  box-shadow: 2px 2px 0 var(--copa-ink);
}

.party-marker:hover::after,
.party-marker:focus-visible::after {
  display: block;
}

.party-marker--sim {
  background: var(--copa-yellow);
}

.party-marker--nao {
  background: var(--copa-red);
  color: var(--color-white);
}

.party-marker--muro {
  background: var(--copa-purple);
  color: var(--color-white);
}

.captains {
  grid-column: 1 / -1;
  align-self: center;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 15.5rem));
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: -0.25rem auto 0;
  width: min(100%, 33rem);
}

.captain {
  align-self: center;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.36rem;
  min-width: 0;
  padding: 0.24rem 0.42rem;
  border: 2px solid var(--copa-ink);
  border-radius: 8px;
  background: var(--copa-cream);
  color: var(--copa-ink);
  box-shadow: 3px 3px 0 var(--copa-ink);
  height: fit-content;
}

.captain img {
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--copa-ink);
  border-radius: 50%;
  object-fit: cover;
}

.captain strong,
.captain span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.captain strong {
  font-size: 0.78rem;
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
}

.captain span {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
}

.match-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.4fr 0.65fr 0.65fr;
  gap: 0.65rem;
}

.match-strip > div {
  min-width: 0;
  padding: 0.75rem;
  border: 2px solid var(--copa-ink);
  border-radius: 8px;
  background: var(--copa-cream);
  color: var(--copa-ink);
  box-shadow: 3px 3px 0 var(--copa-ink);
}

.match-strip strong {
  display: block;
  margin-top: 0.18rem;
  overflow-wrap: anywhere;
  font-size: 0.96rem;
  line-height: 1.2;
}

.scroll-cue {
  grid-column: 1 / -1;
  justify-self: end;
  z-index: 6;
  padding: 0.55rem 0.75rem;
  border: 2px solid var(--copa-ink);
  border-radius: 999px;
  background: var(--copa-yellow);
  color: var(--copa-ink);
  text-decoration: none;
  font-weight: 900;
  box-shadow: 3px 3px 0 var(--copa-ink);
}

.rosters,
.tactics,
.targets__inner,
.album__inner {
  width: min(100% - (var(--page-pad) * 2), var(--max));
  margin: 0 auto;
}

.rosters {
  padding: clamp(2rem, 6vw, 4rem) 0 2rem;
}

.album {
  padding: clamp(2rem, 5vw, 4rem) 0;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.022) 0 6.75rem, rgba(0, 0, 0, 0.07) 6.75rem 13.5rem),
    var(--copa-green);
  color: var(--copa-cream);
}

.album__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid rgba(244, 241, 233, 0.18);
}

.album__head h2 {
  max-width: 9ch;
  margin: 1.35rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 7rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
}

.album__head h2::first-line {
  color: var(--copa-cream);
}

.album__head p:not(.kicker) {
  max-width: 45rem;
  margin: 1rem 0 0;
  color: rgba(244, 241, 233, 0.84);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  font-weight: 800;
  line-height: 1.38;
}

.album-score {
  display: flex;
  align-items: baseline;
  gap: 0.1rem;
  color: var(--copa-yellow);
}

.album-score strong {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.8;
}

.album-score span {
  color: rgba(244, 241, 233, 0.65);
  font-weight: 900;
  font-size: 1.45rem;
}

.album-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin: 1.5rem 0 1.7rem;
}

.album-filters > span {
  color: rgba(244, 241, 233, 0.55);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.album-filters > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.album-uf-select {
  display: none;
}

.uf-chip {
  min-height: 2.25rem;
  border: 1px solid rgba(244, 241, 233, 0.28);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  background: rgba(0, 0, 0, 0.14);
  color: var(--copa-cream);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 900;
  cursor: pointer;
}

.uf-chip.is-active {
  border-color: var(--copa-yellow);
  background: var(--copa-yellow);
  color: var(--copa-ink);
}

.sticker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr));
  gap: 1.3rem 1rem;
}

.album-pager {
  display: none;
}

.album-pager[hidden] {
  display: none;
}

.sticker {
  position: relative;
  min-width: 0;
  border: 0;
  border-radius: 8px;
  padding: 0.48rem;
  background: linear-gradient(160deg, var(--copa-purple), #2a1258);
  color: var(--copa-cream);
  cursor: pointer;
  box-shadow: 0 18px 34px -24px rgba(0, 0, 0, 0.85);
}

.sticker--bench {
  background: linear-gradient(160deg, #4a4a52, #1c1c22);
}

.sticker--champion {
  background: linear-gradient(155deg, #f8dc73, #d2931e 52%, #7a4307);
  color: var(--copa-ink);
}

.sticker--alert {
  background: linear-gradient(155deg, #e23b3b, #81191f 58%, #2a0710);
}

.sticker--champion .sticker__inner {
  border-color: rgba(39, 24, 15, 0.32);
  background: rgba(255, 247, 211, 0.32);
}

.sticker--alert .sticker__inner {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(0, 0, 0, 0.24);
}

.sticker__number {
  position: absolute;
  top: -0.58rem;
  left: 0.8rem;
  z-index: 2;
  border: 1px solid rgba(242, 193, 78, 0.48);
  border-radius: 5px;
  padding: 0.18rem 0.55rem;
  background: var(--copa-ink);
  color: var(--copa-yellow);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.sticker__inner {
  display: grid;
  justify-items: center;
  min-height: 18rem;
  border: 2px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  padding: 1rem 0.7rem 0.85rem;
  background: rgba(0, 0, 0, 0.2);
  text-align: center;
}

.sticker__kicker {
  color: var(--copa-yellow);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sticker--champion .sticker__kicker,
.sticker--champion p {
  color: var(--copa-ink);
}

.sticker--alert .sticker__kicker {
  color: var(--copa-yellow);
}

.sticker__photo {
  display: block;
  width: 7.6rem;
  height: 7.6rem;
  margin-top: 0.7rem;
  border: 0;
  border-radius: 50%;
  padding: 0.25rem;
  background: linear-gradient(135deg, var(--copa-yellow), var(--copa-lavender));
  cursor: pointer;
  text-decoration: none;
}

.sticker__photo:focus-visible {
  outline: 3px solid var(--copa-yellow);
  outline-offset: 3px;
}

.sticker--bench .sticker__photo {
  background: linear-gradient(135deg, #9a9aa2, var(--copa-yellow));
  filter: grayscale(0.35);
}

.sticker__photo img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--color-white);
}

.sticker h4 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  margin: 0.75rem 0 0;
  overflow-wrap: anywhere;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sticker p {
  margin: 0.42rem 0 0;
  color: var(--copa-lavender);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.sticker__badges {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 900;
}

.sticker__badges span {
  border-radius: 8px;
  padding: 0.28rem 0.48rem;
  background: rgba(226, 59, 59, 0.92);
  color: var(--color-white);
}

.sticker__badges span:last-child {
  background: var(--copa-yellow);
  color: var(--copa-ink);
}

.sticker--champion .sticker__badges span {
  background: var(--copa-ink);
  color: var(--copa-yellow);
}

.sticker--champion .sticker__badges span:last-child {
  background: var(--color-white);
  color: var(--copa-ink);
}

.sticker--alert .sticker__badges span:last-child {
  background: var(--copa-cream);
}

.sticker__live-note {
  max-width: 11rem;
  color: inherit;
  font-size: 0.58rem;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
}

.sticker__tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 900;
}

.sticker__tags span {
  border: 1px solid rgba(244, 241, 233, 0.24);
  border-radius: 999px;
  padding: 0.24rem 0.42rem;
  background: rgba(0, 0, 0, 0.24);
  color: var(--copa-cream);
}

.detail-tags {
  justify-content: flex-start;
  margin-top: 0.65rem;
}

.sticker__stamp {
  position: absolute;
  right: -0.35rem;
  bottom: -0.35rem;
  border: 2px solid var(--copa-ink);
  border-radius: 6px;
  padding: 0.38rem 0.5rem;
  background: var(--copa-yellow);
  color: var(--copa-ink);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.82rem;
  line-height: 1;
  transform: rotate(7deg);
  box-shadow: 2px 2px 0 var(--copa-ink);
}

.bench {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(244, 241, 233, 0.16);
}

.bench > summary {
  display: none;
}

.bench h3 {
  margin: 0.75rem 0 1.3rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sticker-grid--bench {
  max-width: 46rem;
}

.targets {
  padding: clamp(2.4rem, 6vw, 4.6rem) 0;
  background:
    radial-gradient(circle at 80% 10%, rgba(185, 140, 255, 0.24), transparent 36%),
    linear-gradient(180deg, #2a1258, #14110f);
  color: var(--copa-cream);
}

.section-head--dark {
  color: var(--copa-cream);
}

.section-head--dark h2 {
  color: var(--copa-cream);
}

.target-explorer {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.35rem;
}

.target-select-mobile {
  display: none;
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.55rem;
}

.target-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  min-height: 4.5rem;
  border: 1px solid rgba(244, 241, 233, 0.28);
  border-radius: 6px;
  padding: 0.65rem;
  background: rgba(0, 0, 0, 0.25);
  color: var(--copa-cream);
  text-align: left;
  cursor: pointer;
}

.target-card:hover,
.target-card:focus-visible {
  border-color: rgba(242, 193, 78, 0.8);
  background: rgba(242, 193, 78, 0.1);
}

.target-card.is-active {
  border-color: var(--copa-yellow);
  background: var(--copa-yellow);
  color: var(--copa-ink);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.55);
}

.target-card strong {
  color: var(--copa-yellow);
  font-family: var(--font-display);
  font-size: 2.15rem;
  line-height: 0.8;
}

.target-card.is-active strong {
  color: var(--copa-ink);
}

.target-card span {
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.12;
  text-transform: uppercase;
}

.target-focus {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 0.85fr);
  gap: 1.4rem;
  align-items: center;
  border: 2px solid var(--copa-yellow);
  border-radius: 8px;
  padding: 1.25rem;
  background:
    linear-gradient(120deg, rgba(242, 193, 78, 0.14), transparent 56%),
    rgba(0, 0, 0, 0.3);
  box-shadow: 4px 4px 0 rgba(242, 193, 78, 0.7);
}

.target-focus__copy {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
}

.target-focus__eyebrow {
  width: fit-content;
  border-radius: 999px;
  padding: 0.24rem 0.5rem;
  background: var(--copa-yellow);
  color: var(--copa-ink);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.target-focus__title {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
}

.target-focus__title > strong {
  color: var(--copa-yellow);
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.75;
}

.target-focus__title h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.target-focus__copy > p {
  max-width: 52rem;
  margin: 0;
  color: rgba(244, 241, 233, 0.78);
  font-size: 0.95rem;
  line-height: 1.42;
}

.target-focus__bulk {
  display: grid;
  gap: 0.7rem;
  border-left: 1px solid rgba(244, 241, 233, 0.24);
  padding-left: 1.25rem;
}

.target-focus__coverage {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.target-focus__coverage span {
  border: 1px solid rgba(244, 241, 233, 0.32);
  border-radius: 999px;
  padding: 0.28rem 0.5rem;
  color: rgba(244, 241, 233, 0.78);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
}

.target-focus__coverage strong {
  color: var(--copa-cream);
}

.target-focus__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.target-focus__actions .button {
  min-width: 0;
  min-height: 2.55rem;
  justify-content: center;
  padding: 0.48rem 0.58rem;
  font-size: 0.72rem;
}

.target-focus__actions [data-target-email] {
  grid-column: 1 / -1;
}

.target-focus__status {
  min-height: 0;
  color: rgba(244, 241, 233, 0.78);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 900;
}

.target-focus__status:empty {
  display: none;
}

.target-focus__status.is-ok {
  color: var(--copa-yellow);
}

.target-focus__status.is-error {
  color: #ff9c9c;
}

.priority-board {
  display: grid;
  gap: 1rem;
  margin-top: 1.8rem;
}

.priority-board__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(244, 241, 233, 0.18);
  padding-bottom: 0.85rem;
}

.priority-board h3 {
  max-width: 52rem;
  margin: 0.45rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.8rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.priority-board__count {
  flex: 0 0 auto;
  border: 1px solid rgba(244, 241, 233, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  color: rgba(244, 241, 233, 0.78);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 900;
}

.priority-board ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.priority-board__more {
  width: min(100%, 24rem);
  min-height: 2.9rem;
  justify-self: center;
  justify-content: center;
  border-color: rgba(244, 241, 233, 0.42);
  color: var(--copa-cream);
}

.priority-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 0.7rem;
  align-items: start;
  min-width: 0;
  min-height: 10.25rem;
  border: 1px solid rgba(244, 241, 233, 0.2);
  border-radius: 8px;
  padding: 0.78rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(0, 0, 0, 0.3);
  box-shadow: 0 18px 34px -28px rgba(0, 0, 0, 0.85);
}

.priority-item--champion,
.deputy-row--champion {
  background: rgba(242, 193, 78, 0.32);
}

.priority-item--alert,
.deputy-row--alert {
  background: rgba(226, 59, 59, 0.14);
}

.live-change {
  display: inline-flex;
  width: fit-content;
  margin-top: 0.34rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.18rem 0.42rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 900;
  text-transform: uppercase;
}

.live-change--gold {
  background: var(--copa-yellow);
  color: var(--copa-ink);
}

.live-change--red {
  background: var(--copa-red);
  color: var(--color-white);
}

.live-change--change {
  background: var(--copa-purple);
  color: var(--copa-cream);
}

.priority-item__media {
  display: grid;
  justify-items: center;
  gap: 0.28rem;
  grid-row: 1;
}

.priority-item__media img {
  width: 3.15rem;
  height: 3.15rem;
  border: 2px solid var(--copa-yellow);
  border-radius: 50%;
  object-fit: cover;
  background: var(--color-white);
}

.priority-item__media span {
  border-radius: 999px;
  padding: 0.15rem 0.38rem;
  background: var(--copa-yellow);
  color: var(--copa-ink);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 900;
}

.priority-item__body {
  min-width: 0;
}

.priority-item__eyebrow {
  display: block;
  color: rgba(244, 241, 233, 0.58);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 900;
  text-transform: uppercase;
}

.priority-item h4 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 0.98rem;
  line-height: 1.02;
  text-transform: uppercase;
}

.priority-item p {
  margin: 0.32rem 0 0;
  color: rgba(244, 241, 233, 0.7);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 900;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.priority-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 0.38rem;
  justify-content: stretch;
  align-self: end;
  min-width: 0;
}

.priority-actions .button {
  min-width: 0;
  min-height: 2rem;
  padding: 0.34rem 0.54rem;
  font-size: 0.7rem;
}

.priority-actions > [data-open-priority-action] {
  grid-column: 2;
  grid-row: 1;
}

.priority-actions > [data-open-priority-detail] {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

.section-head {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.section-head h2 {
  font-size: clamp(2.25rem, 5vw, 4.6rem);
}

.filters {
  display: grid;
  grid-template-columns: minmax(15rem, 1.6fr) repeat(4, minmax(8.5rem, 0.8fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}

label {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

label span {
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 2.7rem;
  border: 2px solid var(--copa-ink);
  border-radius: 8px;
  padding: 0.58rem 0.72rem;
  background: var(--color-white);
  color: var(--copa-ink);
}

textarea {
  min-height: 7rem;
  resize: vertical;
}

.roster-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: start;
}

.roster-column {
  border: 2px solid var(--copa-ink);
  border-radius: 8px;
  background: var(--color-white);
  box-shadow: 4px 4px 0 var(--copa-ink);
  overflow: hidden;
}

.roster-column > summary {
  list-style: none;
}

.roster-column > summary::-webkit-details-marker {
  display: none;
}

.roster-column[data-bucket="sim"] .roster-column__head {
  background: var(--copa-yellow);
}

.roster-column[data-bucket="nao"] .roster-column__head {
  background: var(--copa-red);
  color: var(--color-white);
}

.roster-column[data-bucket="muro"] .roster-column__head {
  background: var(--copa-purple);
  color: var(--color-white);
}

.roster-column__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.75rem;
  border-bottom: 2px solid var(--copa-ink);
}

.roster-column__head h3 {
  margin: 0.12rem 0 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0;
  line-height: 0.95;
  text-transform: uppercase;
}

.roster-column__head strong {
  display: grid;
  place-items: center;
  min-width: 2.4rem;
  height: 2.4rem;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1;
}

.roster-column__head em {
  display: none;
}

.roster-column__bulk {
  flex: 1 0 100%;
  min-height: 2.05rem;
  padding: 0.35rem 0.5rem;
  font-size: 0.68rem;
}

.roster-column ul {
  display: grid;
  gap: 0;
  max-height: 35rem;
  margin: 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}

.deputy-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  padding: 0.62rem 0.72rem;
  border-bottom: 1px solid #ded8c8;
}

.deputy-row:last-child {
  border-bottom: 0;
}

.deputy-row img {
  width: 2.75rem;
  height: 2.75rem;
  border: 2px solid var(--copa-ink);
  border-radius: 50%;
  object-fit: cover;
  background: var(--copa-cream);
}

.deputy-row__main {
  min-width: 0;
}

.deputy-row h4 {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
}

.deputy-row p {
  margin: 0.18rem 0 0;
  color: #5e5145;
  font-size: 0.78rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.deputy-row__actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.15rem;
  height: 2.15rem;
  border: 2px solid var(--copa-ink);
  border-radius: 999px;
  background: var(--copa-cream);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 900;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  border: 2px solid var(--copa-ink);
  border-radius: 999px;
  padding: 0.58rem 0.85rem;
  background: var(--color-white);
  color: var(--copa-ink);
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 2px 2px 0 var(--copa-ink);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
  box-shadow: none;
}

.button-primary {
  background: var(--copa-yellow);
}

.button-pressure {
  background: var(--copa-red);
  color: var(--color-white);
}

.button-turn {
  background: var(--copa-purple);
  color: var(--color-white);
}

.button-ghost {
  background: var(--color-white);
}

.instagram-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.34rem;
  align-items: center;
  min-width: 0;
}

.instagram-actions .button {
  min-height: 2.05rem;
  padding: 0.34rem 0.58rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.instagram-actions .button.is-copied {
  background: var(--copa-yellow);
  color: var(--copa-ink);
}

.instagram-actions .button.is-error {
  background: var(--copa-red);
  color: var(--color-white);
}

.instagram-actions--row {
  margin-top: 0.28rem;
}

.instagram-actions--row .button,
.instagram-actions--priority .button {
  min-height: 1.52rem;
  border-width: 1px;
  padding: 0.2rem 0.38rem;
  background: rgba(255, 255, 255, 0.72);
  color: #4f4138;
  font-size: 0.53rem;
  box-shadow: none;
}

.instagram-actions--row .button:hover,
.instagram-actions--priority .button:hover {
  box-shadow: none;
}

.instagram-actions--sticker {
  justify-content: center;
  margin-top: 0.74rem;
  gap: 0.26rem;
}

.instagram-actions--sticker .button {
  min-height: 1.72rem;
  padding: 0.26rem 0.42rem;
  font-size: 0.55rem;
}

.instagram-actions--detail {
  display: contents;
}

.instagram-actions--priority {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-content: flex-start;
  gap: 0.26rem;
  max-width: 100%;
  overflow: hidden;
}

.instagram-actions--priority .button {
  max-width: 100%;
}

.instagram-actions--party {
  margin-top: 0.4rem;
}

.tactics {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
  padding: 0 0 4rem;
}

.tactics__panel {
  min-width: 0;
  border: 2px solid var(--copa-ink);
  border-radius: 8px;
  padding: 0.85rem;
  background: var(--copa-ink);
  color: var(--copa-cream);
  box-shadow: 4px 4px 0 var(--copa-yellow);
}

.orientation-list {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.orientation-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
  max-width: 100%;
  padding: 0.46rem 0.55rem;
  border: 1px solid rgba(244, 241, 233, 0.42);
  border-radius: 8px;
  background: rgba(244, 241, 233, 0.08);
  color: var(--copa-cream);
  cursor: pointer;
  text-align: left;
}

.orientation-row:hover,
.orientation-row:focus-visible {
  background: rgba(244, 241, 233, 0.16);
}

.orientation-row img,
.orientation-logo-fallback {
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(244, 241, 233, 0.52);
  border-radius: 50%;
  background: var(--color-white);
  object-fit: contain;
}

.orientation-logo-fallback {
  display: grid;
  place-items: center;
  color: var(--copa-ink);
  font-family: var(--font-mono);
  font-size: 0.52rem;
  font-weight: 900;
  line-height: 1;
  overflow-wrap: anywhere;
  text-align: center;
}

.orientation-row span {
  display: grid;
  min-width: 0;
  gap: 0.08rem;
}

.orientation-row strong,
.orientation-row small {
  overflow-wrap: anywhere;
}

.orientation-row strong {
  font-size: 0.88rem;
  font-weight: 900;
}

.orientation-row small {
  color: rgba(244, 241, 233, 0.7);
  font-size: 0.72rem;
  font-weight: 800;
}

.orientation-row b {
  max-width: 7rem;
  overflow-wrap: anywhere;
  border: 1px solid rgba(244, 241, 233, 0.36);
  border-radius: 999px;
  padding: 0.26rem 0.42rem;
  background: rgba(242, 193, 78, 0.16);
  color: var(--copa-yellow);
  font-size: 0.76rem;
  text-align: center;
}

.timeline {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.8rem;
}

.timeline-item {
  display: grid;
  gap: 0.25rem;
  padding-left: 0.7rem;
  border-left: 3px solid var(--copa-yellow);
}

.timeline-item strong {
  font-size: 0.88rem;
}

.timeline-item p {
  margin: 0;
  color: rgba(244, 241, 233, 0.82);
  font-size: 0.84rem;
  line-height: 1.35;
}

dialog {
  width: min(100% - 1.4rem, 42rem);
  max-height: min(calc(var(--app-vh) - 1.4rem), 44rem);
  border: 3px solid var(--copa-ink);
  border-radius: 8px;
  padding: 0;
  background: var(--copa-cream);
  color: var(--copa-ink);
  box-shadow: 8px 8px 0 var(--copa-ink);
}

dialog[open] {
  position: fixed;
  top: 50%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
  z-index: 95;
}

.party-dialog {
  width: min(100% - 1.4rem, 62rem);
  max-height: min(calc(var(--app-vh) - 1.4rem), 48rem);
  overflow: auto;
}

dialog::backdrop {
  background: rgba(20, 17, 15, 0.72);
}

.dialog-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  width: 2.35rem;
  height: 2.35rem;
  border: 2px solid var(--copa-ink);
  border-radius: 50%;
  background: var(--color-white);
  color: var(--copa-ink);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.deputy-detail,
.party-detail,
.action-form,
.email-composer {
  padding: 1rem;
}

.party-detail {
  display: grid;
  gap: 0.9rem;
}

.party-detail__hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  padding-right: 2.4rem;
}

.party-detail__logo {
  display: grid;
  place-items: center;
  width: 5rem;
  height: 5rem;
  border: 3px solid var(--copa-ink);
  border-radius: 50%;
  background: var(--color-white);
  object-fit: contain;
}

.party-detail__logo--fallback {
  padding: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
  overflow-wrap: anywhere;
  text-align: center;
}

.party-detail h2 {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 0.85;
  letter-spacing: 0;
  text-transform: uppercase;
}

.party-detail__hero p:not(.kicker) {
  margin: 0.25rem 0 0;
  color: #6b5a4b;
  font-weight: 900;
}

.party-score {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.party-score span {
  display: grid;
  gap: 0.1rem;
  min-height: 4.25rem;
  place-items: center;
  border: 2px solid var(--copa-ink);
  border-radius: 8px;
  background: var(--color-white);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.party-score strong {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 0.9;
}

.party-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.party-status {
  min-height: 1.1rem;
}

.party-lists {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  align-items: start;
}

.party-list {
  min-width: 0;
  border: 2px solid var(--copa-ink);
  border-radius: 8px;
  background: var(--color-white);
  overflow: hidden;
}

.party-list--sim h3 {
  background: var(--copa-yellow);
}

.party-list--nao h3 {
  background: var(--copa-red);
  color: var(--color-white);
}

.party-list--muro h3 {
  background: var(--copa-purple);
  color: var(--color-white);
}

.party-list h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  margin: 0;
  padding: 0.58rem;
  border-bottom: 2px solid var(--copa-ink);
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

.party-list h3 strong {
  display: grid;
  min-width: 2rem;
  height: 2rem;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 1rem;
}

.party-list ul {
  display: grid;
  max-height: 23rem;
  margin: 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}

.party-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.48rem;
  align-items: center;
  min-width: 0;
  padding: 0.5rem;
  border-bottom: 1px solid rgba(20, 17, 15, 0.14);
  cursor: pointer;
}

.party-list li:hover {
  background: var(--copa-cream-2);
}

.party-list li:last-child {
  border-bottom: 0;
}

.party-list img {
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--copa-ink);
  border-radius: 50%;
  object-fit: cover;
  background: var(--copa-cream);
}

.party-list li div {
  min-width: 0;
}

.party-list li strong,
.party-list li span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.party-list li strong {
  font-size: 0.82rem;
  font-weight: 900;
}

.party-list li span {
  color: #6b5a4b;
  font-size: 0.7rem;
  font-weight: 800;
}

.deputy-detail__hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  padding-right: 2.4rem;
}

.deputy-detail__hero img {
  width: 5.5rem;
  height: 5.5rem;
  border: 3px solid var(--copa-ink);
  border-radius: 50%;
  object-fit: cover;
  background: var(--color-white);
}

.deputy-detail h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 1rem;
}

.meta-grid div {
  min-width: 0;
  padding: 0.6rem;
  border: 2px solid var(--copa-ink);
  border-radius: 8px;
  background: var(--color-white);
}

.meta-grid span {
  display: block;
  color: #6b5a4b;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.meta-grid strong {
  display: block;
  margin-top: 0.2rem;
  overflow-wrap: anywhere;
  font-size: 0.9rem;
}

.detail-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  justify-content: flex-end;
  margin-top: 1rem;
}

.detail-actions .button,
.action-row .button {
  min-width: min(100%, 12rem);
}

.detail-actions .instagram-action {
  min-width: 0;
}

.action-row {
  justify-content: stretch;
}

.action-row .button {
  flex: 1 1 100%;
}

.action-form {
  display: grid;
  gap: 0.75rem;
}

.action-form h2 {
  padding-right: 2.4rem;
  font-size: clamp(2rem, 6vw, 3.2rem);
}

.action-target,
.form-status {
  margin: 0;
  color: #6b5a4b;
}

.form-status {
  min-height: 1rem;
  color: var(--copa-ink);
}

.form-status.is-error {
  color: #b01919;
}

.form-status.is-ok {
  color: #13613f;
}

.email-preview {
  display: grid;
  gap: 0.45rem;
  border: 2px solid var(--copa-ink);
  border-radius: 8px;
  padding: 0.7rem;
  background:
    linear-gradient(180deg, rgba(242, 193, 78, 0.2), rgba(255, 255, 255, 0)),
    var(--copa-cream-2);
  box-shadow: 3px 3px 0 var(--copa-ink);
}

.email-preview > span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.email-preview strong {
  overflow-wrap: anywhere;
  font-size: 0.98rem;
  line-height: 1.2;
}

.email-preview textarea {
  min-height: 12rem;
  border-width: 1px;
  background: var(--color-white);
  font-size: 0.88rem;
  line-height: 1.45;
}

.email-dialog {
  width: min(100% - 1.4rem, 48rem);
  max-height: min(calc(var(--app-vh) - 1.4rem), 50rem);
  overflow: auto;
}

.email-composer {
  display: grid;
  gap: 0.75rem;
}

.email-composer h2 {
  max-width: 36rem;
  margin: 0.1rem 2.5rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.35rem);
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: uppercase;
}

.email-composer__hint {
  margin: 0;
  color: #6b5a4b;
  font-weight: 800;
  line-height: 1.35;
}

.email-summary {
  display: grid;
  gap: 0.3rem;
  border: 2px solid var(--copa-ink);
  border-radius: 8px;
  padding: 0.7rem 0.8rem;
  background: var(--copa-cream-2);
  box-shadow: 3px 3px 0 rgba(18, 13, 10, 0.28);
}

.email-summary span {
  color: #6b5a4b;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.email-summary strong {
  overflow-wrap: anywhere;
  line-height: 1.25;
}

.email-batch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
  border: 2px solid var(--copa-ink);
  border-radius: 8px;
  padding: 0.7rem;
  background: var(--copa-yellow);
  color: var(--copa-ink);
  box-shadow: 3px 3px 0 var(--copa-ink);
}

.email-batch span,
.email-batch strong {
  display: block;
  line-height: 1.18;
}

.email-batch span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.email-batch strong {
  margin-top: 0.25rem;
  font-size: 0.9rem;
}

.email-batch__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.email-batch__actions .button {
  min-height: 2.25rem;
  padding-inline: 0.75rem;
  font-size: 0.82rem;
}

.email-provider-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.button-provider {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  padding-inline: 0.72rem;
}

.provider-icon {
  display: inline-flex;
  width: 1.65rem;
  height: 1.65rem;
  flex: 0 0 1.65rem;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--copa-ink);
  border-radius: 0.55rem;
  color: var(--color-white);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 900;
}

.provider-icon-mailto {
  background: var(--copa-ink);
}

.provider-icon-gmail {
  background: #ea4335;
}

.provider-icon-hotmail {
  background: #0078d4;
}

.provider-icon-yahoo {
  background: #5f01d1;
}

.email-manual-toggle {
  justify-self: start;
}

.email-manual {
  border: 2px solid var(--copa-ink);
  border-radius: 8px;
  padding: 0.75rem;
  background: var(--color-white);
}

.email-manual summary {
  cursor: pointer;
  font-weight: 900;
}

.email-manual[open] summary {
  margin-bottom: 0.7rem;
}

.email-fields {
  display: grid;
  gap: 0.65rem;
}

.email-fields textarea[data-email-to],
.email-fields textarea[data-email-bcc] {
  min-height: 4.8rem;
  font-size: 0.78rem;
  line-height: 1.35;
}

.email-fields textarea[data-email-body] {
  min-height: 13rem;
  line-height: 1.45;
}

.email-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.legal-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1rem;
  padding: 1.4rem var(--page-pad) 2rem;
  background: var(--copa-ink);
  color: var(--copa-cream);
}

.legal-footer a {
  color: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  .target-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .target-focus {
    grid-template-columns: 1fr;
  }

  .target-focus__bulk {
    border-top: 1px solid rgba(244, 241, 233, 0.24);
    border-left: 0;
    padding-top: 0.85rem;
    padding-left: 0;
  }

  .stadium {
    grid-template-columns: 1fr;
  }

  .scoreboard {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .scoreboard__divider {
    display: none;
  }

  .scoreboard div:nth-of-type(4) {
    grid-column: auto;
  }

  .filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .roster-grid,
  .tactics {
    grid-template-columns: 1fr;
  }

  .priority-board {
    grid-template-columns: 1fr;
  }

  .party-lists {
    grid-template-columns: 1fr;
  }

  .party-list ul {
    max-height: none;
  }
}

@media (max-width: 680px) {
  .topbar {
    position: sticky;
    z-index: 80;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.55rem;
    padding: max(0.48rem, env(safe-area-inset-top)) var(--page-pad) 0.52rem;
    background: rgba(20, 17, 15, 0.82);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    overflow: visible;
    pointer-events: auto;
  }

  .brand {
    width: auto;
    height: auto;
    padding: 0.22rem 0.55rem 0.22rem 0.22rem;
    gap: 0.45rem;
    border-width: 2px;
    box-shadow: 2px 2px 0 var(--copa-ink);
  }

  .brand span {
    display: block;
    max-width: 12.5rem;
    font-size: 0.78rem;
    line-height: 1;
  }

  .brand img {
    width: 1.82rem;
    height: 1.82rem;
  }

  .menu-toggle {
    position: relative;
    z-index: 81;
    display: inline-grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 0.18rem 0.42rem;
    min-height: 2.4rem;
    border: 2px solid var(--copa-ink);
    border-radius: 999px;
    padding: 0.34rem 0.58rem;
    background: var(--copa-yellow);
    color: var(--copa-ink);
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: 2px 2px 0 var(--copa-ink);
  }

  .menu-toggle span {
    grid-column: 1;
    display: block;
    width: 0.92rem;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
  }

  .menu-toggle strong {
    grid-column: 2;
    grid-row: 1 / span 3;
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 78;
    display: block;
    border: 0;
    padding: 0;
    background: rgba(20, 17, 15, 0.58);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .top-nav {
    position: fixed;
    z-index: 79;
    top: max(0.74rem, env(safe-area-inset-top));
    right: max(0.72rem, env(safe-area-inset-right));
    width: min(20rem, calc(100vw - 2rem));
    max-height: calc(var(--app-vh, 100vh) - max(1.48rem, env(safe-area-inset-top)));
    display: grid;
    grid-auto-rows: min-content;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 0.62rem;
    padding: 4.7rem 0.9rem 0.9rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: var(--copa-ink);
    border: 3px solid var(--copa-yellow);
    border-radius: 14px;
    box-shadow: -18px 0 38px rgba(0, 0, 0, 0.36);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 180ms ease, visibility 180ms ease;
  }

  body.nav-open .top-nav {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .top-nav a {
    width: 100%;
    min-height: 3.15rem;
    padding: 0.9rem 0.95rem;
    font-size: 0.92rem;
    text-align: left;
    transition: background-color 160ms ease, transform 160ms ease;
    white-space: normal;
  }

  .top-nav a.is-active,
  .top-nav a[aria-current="true"] {
    transform: translateY(-1px);
  }

  .live-pill {
    display: none;
  }

  .stadium {
    min-height: calc(var(--app-vh, 100vh) - 6.2rem);
    gap: 0.55rem;
    padding-top: 0.62rem;
  }

  #campo,
  #album-da-virada,
  #alvos-da-virada,
  #escalacoes {
    scroll-margin-top: 0.25rem;
  }

  #escalacoes {
    scroll-margin-top: 5.8rem;
  }

  .stadium h1 {
    max-width: none;
    margin-top: 0.55rem;
    font-size: clamp(2.8rem, 14vw, 4.25rem);
    text-shadow: 3px 3px 0 var(--copa-ink);
  }

  .stadium__lead {
    margin-top: 0.55rem;
    font-size: 1rem;
    line-height: 1.35;
  }

  .scoreboard {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 0.28rem;
    padding: 0.34rem;
    border-width: 2px;
    box-shadow: 3px 3px 0 var(--copa-ink);
  }

  .scoreboard div:not(.scoreboard__divider) {
    min-height: 3.45rem;
    padding: 0.18rem;
    border-width: 1.5px;
  }

  .scoreboard div:nth-of-type(4) {
    grid-column: auto;
    min-height: 3.45rem;
  }

  .scoreboard__divider {
    display: none;
  }

  .scoreboard strong {
    font-size: 2rem;
  }

  .scoreboard span,
  .scoreboard small {
    font-size: 0.62rem;
  }

  .pitch-panel,
  .pitch {
    min-height: 0;
  }

  .pitch {
    overflow: visible;
    padding: 0.58rem;
    background:
      repeating-linear-gradient(
        0deg,
        rgba(255, 255, 255, 0.045) 0 9%,
        rgba(0, 0, 0, 0.06) 9% 18%
      ),
      linear-gradient(180deg, #176348, #0f4b36 50%, #176348);
    box-shadow: inset 0 0 0 2px rgba(20, 17, 15, 0.52), 0 10px 26px rgba(0, 0, 0, 0.28);
  }

  .pitch__half,
  .pitch__center-line {
    display: none;
  }

  .captains {
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .pitch__circle,
  .pitch-label {
    display: none;
  }

  .captain {
    min-width: 0;
    padding: 0.22rem 0.28rem;
    gap: 0.26rem;
  }

  .captain img {
    width: 1.78rem;
    height: 1.78rem;
  }

  .captain strong {
    font-size: 0.68rem;
  }

  .captain span {
    font-size: 0.54rem;
  }

  .player-dot {
    --size: 0.76rem;
    border-width: 1px;
    box-shadow: 1px 1px 0 rgba(20, 17, 15, 0.86);
  }

  .player-dot--arbitro {
    --size: 1.75rem;
  }

  .players {
    position: relative;
    inset: auto;
  }

  .party-marker--desktop {
    display: none;
  }

  .field-mobile-groups {
    display: grid;
    gap: 0.58rem;
  }

  .field-mobile-group {
    display: grid;
    gap: 0.45rem;
    min-width: 0;
    border: 2px solid rgba(244, 241, 233, 0.36);
    border-radius: 8px;
    padding: 0.5rem;
    background: rgba(10, 42, 31, 0.72);
  }

  .field-mobile-group > summary {
    cursor: pointer;
    list-style: none;
  }

  .field-mobile-group > summary::-webkit-details-marker {
    display: none;
  }

  .field-mobile-group--sim {
    border-color: rgba(242, 193, 78, 0.72);
  }

  .field-mobile-group--muro {
    border-color: rgba(185, 140, 255, 0.74);
    background: rgba(49, 24, 88, 0.78);
  }

  .field-mobile-group--nao {
    border-color: rgba(226, 59, 59, 0.78);
  }

  .field-mobile-group__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.14rem 0.45rem;
    min-width: 0;
  }

  .field-mobile-group__head span,
  .field-mobile-group__head small {
    font-family: var(--font-mono);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
  }

  .field-mobile-group__head span {
    color: var(--copa-cream);
    font-size: 0.78rem;
  }

  .field-mobile-group__head strong {
    grid-row: 1 / span 2;
    grid-column: 2;
    color: var(--copa-yellow);
    font-family: var(--font-display);
    font-size: 1.8rem;
    line-height: 0.82;
  }

  .field-mobile-group__head small {
    grid-column: 1;
    color: rgba(244, 241, 233, 0.68);
    font-size: 0.64rem;
  }

  .field-mobile-group__head em {
    grid-column: 1 / -1;
    justify-self: start;
    border: 1px solid rgba(244, 241, 233, 0.38);
    border-radius: 999px;
    padding: 0.18rem 0.42rem;
    color: var(--copa-cream);
    font-family: var(--font-mono);
    font-size: 0.64rem;
    font-style: normal;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
  }

  .field-mobile-group__head em::before {
    content: "abrir";
  }

  .field-mobile-group[open] .field-mobile-group__head em::before {
    content: "fechar";
  }

  .field-mobile-group__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.36rem;
    margin-top: 0.45rem;
  }

  .party-marker {
    position: relative;
    left: auto;
    top: auto;
    width: 4.28rem;
    min-height: 3.02rem;
    gap: 0.06rem 0.26rem;
    padding: 0.25rem;
    border-width: 1px;
    border-radius: 8px;
    box-shadow: 2px 2px 0 var(--copa-ink);
    transform: none;
  }

  .field-mobile-groups .party-marker {
    width: 100%;
    min-height: 2.72rem;
  }

  .field-mobile-groups .party-marker:hover,
  .field-mobile-groups .party-marker:focus-visible {
    transform: translateY(-1px);
  }

  .party-marker img,
  .party-logo-fallback {
    width: 1.34rem;
    height: 1.3rem;
  }

  .party-logo-fallback {
    font-size: 0.44rem;
  }

  .party-marker__sigla {
    font-size: 0.52rem;
  }

  .party-marker::after {
    max-width: 10.5rem;
    font-size: 0.54rem;
  }

  .party-marker strong {
    font-size: 1rem;
  }

  .party-marker--muro {
    width: 3.72rem;
  }

  .field-mobile-groups .party-marker--muro {
    width: 100%;
  }

  .match-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.34rem;
  }

  .match-strip > div {
    min-height: 4rem;
    padding: 0.48rem 0.38rem;
  }

  .match-strip span {
    font-size: 0.62rem;
  }

  .match-strip strong {
    font-size: 0.76rem;
    line-height: 1.18;
  }

  .album {
    padding: 2.2rem 0 2.5rem;
  }

  .album__head h2 {
    max-width: none;
    margin-top: 0.62rem;
    font-size: 2.85rem;
    line-height: 0.9;
  }

  .album__head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 0.72rem;
    padding-bottom: 1.1rem;
  }

  .album__head p:not(.kicker) {
    margin-top: 0.72rem;
    font-size: 0.9rem;
    line-height: 1.36;
  }

  .album-score strong {
    font-size: 2.7rem;
  }

  .album-score span {
    font-size: 0.82rem;
  }

  .album-filters {
    display: grid;
    grid-template-columns: 1fr;
    margin: 1rem 0 1.1rem;
    gap: 0.5rem;
  }

  .album-filters > div {
    display: none;
  }

  .album-uf-select {
    display: block;
    width: 100%;
    min-height: 3rem;
    border-color: var(--copa-yellow);
    border-radius: 8px;
    padding: 0.62rem 0.78rem;
    background: rgba(20, 17, 15, 0.82);
    color: var(--copa-cream);
    font-family: var(--font-mono);
    font-size: 0.88rem;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 3px 3px 0 rgba(242, 193, 78, 0.7);
  }

  .sticker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.95rem 0.64rem;
  }

  .sticker {
    padding: 0.34rem;
  }

  .sticker__number {
    left: 0.55rem;
    padding: 0.16rem 0.42rem;
    font-size: 0.6rem;
    letter-spacing: 0;
  }

  .sticker__inner {
    min-height: 15.4rem;
    padding: 0.86rem 0.56rem 0.78rem;
  }

  .sticker__kicker {
    font-size: 0.58rem;
    letter-spacing: 0;
  }

  .sticker__photo {
    width: 5.4rem;
    height: 5.4rem;
    margin-top: 0.58rem;
  }

  .sticker h4 {
    min-height: 2.6rem;
    margin-top: 0.62rem;
    font-size: 0.92rem;
    line-height: 1;
  }

  .sticker p {
    margin-top: 0.34rem;
    font-size: 0.72rem;
    line-height: 1.1;
  }

  .sticker__badges {
    display: none;
  }

  .sticker__tags {
    display: none;
  }

  .sticker__stamp {
    padding: 0.34rem 0.44rem;
    font-size: 0.72rem;
  }

  .album-pager:not([hidden]) {
    display: grid;
    gap: 0.7rem;
    margin-top: 1rem;
    border: 2px solid rgba(242, 193, 78, 0.72);
    border-radius: 8px;
    padding: 0.72rem;
    background: rgba(20, 17, 15, 0.5);
    box-shadow: 3px 3px 0 rgba(242, 193, 78, 0.6);
  }

  .album-pager__status {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.35rem 0.65rem;
  }

  .album-pager__status strong {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .album-pager__status span {
    color: rgba(244, 241, 233, 0.72);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .album-page-size {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.58rem;
  }

  .album-page-size span {
    color: rgba(244, 241, 233, 0.74);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .album-page-size select {
    min-height: 2.7rem;
    border-color: var(--copa-yellow);
    background: var(--copa-cream);
    color: var(--copa-ink);
    font-family: var(--font-mono);
    font-size: 0.86rem;
    font-weight: 900;
  }

  .album-pager__buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.54rem;
  }

  .album-pager__buttons .button {
    min-height: 2.85rem;
    justify-content: center;
    font-size: 0.82rem;
  }

  .bench {
    margin-top: 1.25rem;
    padding-top: 1rem;
  }

  .bench > summary {
    display: flex;
    min-height: 2.8rem;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    border: 2px solid rgba(244, 241, 233, 0.44);
    border-radius: 8px;
    padding: 0.58rem 0.7rem;
    background: rgba(244, 241, 233, 0.1);
    color: var(--copa-cream);
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 900;
    list-style: none;
    text-transform: uppercase;
  }

  .bench > summary::-webkit-details-marker {
    display: none;
  }

  .bench > summary::after {
    content: "abrir";
    border-radius: 999px;
    padding: 0.18rem 0.42rem;
    background: var(--copa-yellow);
    color: var(--copa-ink);
  }

  .bench[open] > summary::after {
    content: "fechar";
  }

  .bench h3 {
    margin: 0.75rem 0 0.85rem;
    font-size: 1.9rem;
  }

  .targets {
    padding-top: 3rem;
  }

  .target-explorer {
    margin-top: 1rem;
  }

  .target-select-mobile {
    display: grid;
    gap: 0.35rem;
  }

  .target-select-mobile > span {
    color: rgba(244, 241, 233, 0.72);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .target-select-mobile select {
    min-height: 3.15rem;
    border-color: var(--copa-yellow);
    background: var(--copa-cream);
    font-size: 0.9rem;
    font-weight: 900;
  }

  .target-grid {
    display: none;
  }

  .target-focus {
    grid-template-columns: 1fr;
    gap: 0.95rem;
    padding: 0.9rem;
    box-shadow: 3px 3px 0 rgba(242, 193, 78, 0.7);
  }

  .target-focus__title {
    gap: 0.62rem;
  }

  .target-focus__title > strong {
    font-size: 3.25rem;
  }

  .target-focus__title h3 {
    font-size: 1.8rem;
  }

  .target-focus__copy > p {
    font-size: 0.88rem;
    line-height: 1.38;
  }

  .target-focus__bulk {
    border-top: 1px solid rgba(244, 241, 233, 0.24);
    border-left: 0;
    padding-top: 0.85rem;
    padding-left: 0;
  }

  .target-focus__actions .button {
    min-height: 2.85rem;
    font-size: 0.76rem;
  }

  .priority-board {
    margin-top: 1.4rem;
  }

  .priority-board__head {
    align-items: center;
  }

  .priority-board h3 {
    font-size: 1.75rem;
  }

  .priority-board ul {
    grid-template-columns: 1fr;
  }

  .priority-item {
    min-height: 0;
  }

  .scroll-cue {
    position: static;
    justify-self: stretch;
    margin-top: 0;
    text-align: center;
  }

  .filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.52rem;
  }

  .filters label:first-child {
    grid-column: 1 / -1;
  }

  .filters input,
  .filters select {
    min-height: 2.72rem;
    padding: 0.52rem 0.62rem;
    font-size: 0.9rem;
  }

  .roster-grid {
    gap: 0.72rem;
  }

  .roster-column {
    box-shadow: 3px 3px 0 var(--copa-ink);
  }

  .roster-column__head {
    cursor: pointer;
    gap: 0.5rem;
    padding: 0.68rem;
  }

  .roster-column__head h3 {
    font-size: 1.48rem;
  }

  .roster-column__head strong {
    min-width: 2.28rem;
    height: 2.28rem;
    font-size: 1.12rem;
  }

  .roster-column__head em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
    border-radius: 999px;
    padding: 0.2rem 0.46rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
  }

  .roster-column__head em::before {
    content: "abrir";
  }

  .roster-column[open] .roster-column__head em::before {
    content: "fechar";
  }

  .roster-column__bulk {
    min-height: 2.5rem;
    font-size: 0.78rem;
  }

  .roster-column ul {
    max-height: 28rem;
    overflow: auto;
  }

  .party-detail__hero {
    grid-template-columns: 1fr;
    padding-right: 2.4rem;
  }

  .party-detail__logo {
    width: 4rem;
    height: 4rem;
  }

  .party-score {
    grid-template-columns: 1fr;
  }

  .orientation-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .orientation-row b {
    grid-column: 1 / -1;
    justify-self: start;
    max-width: 100%;
  }

  .deputy-row {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.72rem;
    padding: 0.72rem;
  }

  .deputy-row h4 {
    font-size: 1rem;
  }

  .deputy-row p {
    font-size: 0.86rem;
    line-height: 1.25;
  }

  .deputy-row__actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }

  .meta-grid {
    grid-template-columns: 1fr;
  }

  .action-row {
    justify-content: stretch;
  }

  .action-row .button {
    flex: 1 1 100%;
  }

  .email-actions {
    justify-content: stretch;
  }

  .email-actions .button {
    flex: 1 1 100%;
  }

  .email-batch {
    grid-template-columns: 1fr;
  }

  .email-batch__actions {
    justify-content: stretch;
  }

  .email-batch__actions .button {
    flex: 1 1 8rem;
  }

  .email-fields textarea[data-email-body] {
    min-height: 15rem;
  }

  .email-provider-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .button-provider {
    min-height: 3.15rem;
    font-size: 0.88rem;
  }

  .tactics {
    gap: 0.7rem;
    padding-bottom: 2rem;
  }

  .tactics__panel {
    padding: 0.62rem;
  }

  .orientation-list {
    max-height: 23rem;
    overflow: auto;
    padding-right: 0.16rem;
  }

  .timeline {
    max-height: 18rem;
    overflow: auto;
    padding-right: 0.16rem;
  }
}

@media (min-width: 381px) and (max-width: 430px) {
  .topbar {
    gap: 0.45rem;
  }

  .brand span {
    max-width: 11rem;
    font-size: 0.74rem;
  }

  .menu-toggle {
    min-height: 2.32rem;
    padding: 0.3rem 0.52rem;
    font-size: 0.7rem;
  }

  .stadium {
    gap: 0.48rem;
  }

  .match-strip > div {
    min-height: 3.7rem;
    padding: 0.44rem 0.38rem;
  }

  .album {
    padding: 2rem 0 2.2rem;
  }

  .album__head {
    gap: 0.62rem;
    padding-bottom: 0.95rem;
  }

  .album__head h2 {
    font-size: 2.62rem;
  }

  .album__head p:not(.kicker) {
    font-size: 0.84rem;
    line-height: 1.33;
  }

  .album-score strong {
    font-size: 2.45rem;
  }

  .album-score span {
    font-size: 0.78rem;
  }

  .sticker-grid {
    gap: 0.8rem 0.58rem;
  }

  .sticker {
    padding: 0.3rem;
  }

  .sticker__inner {
    min-height: 13.8rem;
    padding: 0.76rem 0.52rem 0.7rem;
  }

  .sticker__photo {
    width: 4.95rem;
    height: 4.95rem;
  }

  .sticker h4 {
    min-height: 2.4rem;
    margin-top: 0.58rem;
    font-size: 0.88rem;
  }

  .sticker p {
    font-size: 0.66rem;
  }

  .roster-column ul {
    max-height: 24rem;
  }

  .field-mobile-group {
    padding: 0.46rem;
  }

  .field-mobile-group__grid {
    gap: 0.32rem;
  }

  .field-mobile-group__head span {
    font-size: 0.74rem;
  }

  .field-mobile-group__head strong {
    font-size: 1.65rem;
  }

  .field-mobile-group__head small {
    font-size: 0.62rem;
  }
}

@media (max-width: 360px) {
  .sticker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .email-provider-grid {
    grid-template-columns: 1fr;
  }
}
