:root {
  --ink-950: #05070d;
  --ink-900: #080c17;
  --ink-850: #0b1020;
  --ink-800: #101624;
  --ink-760: #151d2e;
  --paper-50: #f8faf3;
  --paper-100: #f4f6ee;
  --paper-200: #eef3e5;
  --paper-300: #e4e9da;
  --paper-border: #d8ddcf;
  --paper-border-strong: #aab3a2;
  --text-primary: #ffffff;
  --text-secondary: #dbe2ef;
  --text-tertiary: #c5cfdd;
  --text-muted: #9ca6b8;
  --text-on-paper: #05070d;
  --text-on-paper-muted: #4b5565;
  --text-on-paper-soft: #586174;
  --brand-lime: #b7ff20;
  --brand-green: #08c46b;
  --brand-orange: #ff5a14;
  --brand-orange-strong: #f23f0b;
  --brand-blue: #6ea8ff;
  --status-danger: #ff3f5f;
  --surface-app: var(--ink-950);
  --surface-app-2: var(--ink-900);
  --surface-raised: var(--ink-800);
  --surface-raised-2: var(--ink-760);
  --surface-card: var(--paper-100);
  --surface-card-soft: var(--paper-200);
  --surface-card-muted: var(--paper-300);
  --surface-card-glass: rgba(244, 246, 238, 0.97);
  --surface-overlay: rgba(5, 7, 13, 0.78);
  --surface-overlay-strong: rgba(5, 7, 13, 0.94);
  --surface-panel-glass: rgba(16, 22, 36, 0.9);
  --surface-panel-soft: rgba(16, 22, 36, 0.76);
  --surface-ghost: rgba(255, 255, 255, 0.06);
  --surface-ghost-hover: rgba(255, 255, 255, 0.08);
  --surface-ghost-strong: rgba(255, 255, 255, 0.12);
  --surface-ghost-selected: rgba(255, 255, 255, 0.72);
  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-quiet: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.22);
  --border-on-image: rgba(255, 255, 255, 0.54);
  --border-accent: rgba(183, 255, 32, 0.36);
  --border-accent-strong: rgba(183, 255, 32, 0.62);
  --text-on-accent-muted: rgba(5, 7, 13, 0.66);
  --accent-primary: var(--brand-lime);
  --accent-primary-soft: rgba(183, 255, 32, 0.1);
  --accent-primary-panel: rgba(183, 255, 32, 0.14);
  --accent-primary-border: rgba(183, 255, 32, 0.28);
  --accent-action: var(--brand-orange);
  --accent-action-soft: rgba(255, 90, 20, 0.1);
  --accent-action-panel: rgba(255, 90, 20, 0.12);
  --accent-action-border: rgba(255, 90, 20, 0.42);
  --accent-info: var(--brand-blue);
  --accent-info-soft: rgba(79, 168, 255, 0.1);
  --accent-info-panel: rgba(79, 168, 255, 0.12);
  --accent-info-border: rgba(79, 168, 255, 0.38);
  --accent-success: var(--brand-green);
  --accent-success-soft: rgba(8, 196, 107, 0.1);
  --accent-success-panel: rgba(8, 196, 107, 0.12);
  --accent-success-border: rgba(8, 196, 107, 0.42);
  --accent-danger: var(--status-danger);
  --accent-danger-soft: rgba(255, 63, 95, 0.13);
  --accent-danger-panel: rgba(255, 63, 95, 0.16);
  --accent-danger-border-soft: rgba(255, 63, 95, 0.44);
  --accent-danger-border: rgba(255, 63, 95, 0.52);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.28);
  --shadow-accent: 0 12px 32px rgba(183, 255, 32, 0.2);
  --night: var(--ink-950);
  --night-2: var(--ink-850);
  --panel: var(--ink-800);
  --panel-2: var(--ink-760);
  --paper: var(--paper-100);
  --white: var(--text-primary);
  --muted: var(--text-muted);
  --line: var(--border-subtle);
  --lime: var(--brand-lime);
  --green: var(--brand-green);
  --orange: var(--brand-orange);
  --orange-2: var(--brand-orange-strong);
  --blue: var(--brand-blue);
  --danger: var(--status-danger);
  --radius-control: 8px;
  --ease-standard: cubic-bezier(0.19, 1, 0.22, 1);
  --display: "Barlow Condensed", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --heading: "Barlow Condensed", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-sans: var(--body);
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --score: "Barlow Condensed", ui-sans-serif, system-ui, sans-serif;
  --weight-ui: 600;
  --weight-strong: 700;
  --weight-display: 900;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--night);
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: clip;
  color: var(--white);
  background:
    linear-gradient(118deg, rgba(183, 255, 32, 0.11), transparent 34%),
    linear-gradient(242deg, rgba(255, 90, 20, 0.13), transparent 30%),
    linear-gradient(180deg, var(--ink-950) 0%, var(--ink-900) 48%, var(--ink-950) 100%);
  background-attachment: fixed;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

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

button {
  border: 0;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

button,
a {
  color: inherit;
}

a {
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 400;
  transform: translateY(-140%);
  opacity: 0;
  pointer-events: none;
  padding: 10px 14px;
  border-radius: var(--radius-control);
  color: var(--text-on-paper);
  background: var(--brand-lime);
  font-weight: 900;
  box-shadow: var(--shadow-soft);
}

.skip-link:focus-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

img,
svg {
  display: block;
}

[hidden] {
  display: none !important;
}

.patota-loader {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(5, 7, 13, 0.92) 0%, rgba(5, 7, 13, 0.72) 48%, rgba(5, 7, 13, 0.94) 100%),
    linear-gradient(118deg, rgba(183, 255, 32, 0.16), transparent 34%),
    linear-gradient(242deg, rgba(255, 90, 20, 0.14), transparent 30%),
    url("assets/resenha-community.webp") center / cover no-repeat,
    var(--night);
  isolation: isolate;
}

.patota-loader::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(183, 255, 32, 0.08) 0 1px, transparent 1px 100%);
  background-size: 92px 92px;
  mask-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72) 26%, rgba(0, 0, 0, 0.3) 100%);
  opacity: 0.48;
}

.patota-loader-card {
  width: min(560px, calc(100vw - 32px));
  display: grid;
  gap: 24px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-control);
  background: rgba(5, 7, 13, 0.86);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
}

.patota-loader-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.patota-loader-brand img {
  width: min(180px, 48vw);
  height: auto;
}

.patota-loader-status {
  min-width: 0;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
}

.patota-loader-status span {
  max-width: 210px;
  overflow: hidden;
  padding: 8px 10px;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-control);
  color: var(--lime);
  background: var(--accent-primary-panel);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
  will-change: transform, opacity;
  animation: loaderStatusIn 430ms var(--ease-standard) both;
}

.patota-loader-status span[data-tone="lime"] {
  color: var(--lime);
}

.patota-loader-status span[data-tone="paper"] {
  color: var(--paper);
  border-color: var(--border-on-image);
  background: rgba(255, 255, 255, 0.1);
}

.patota-loader-status span[data-tone="orange"] {
  color: var(--orange);
  border-color: var(--accent-action-border);
  background: var(--accent-action-panel);
}

.patota-loader-status span[data-tone="blue"] {
  color: var(--blue);
  border-color: var(--accent-info-border);
  background: var(--accent-info-panel);
}

.patota-loader-copy {
  display: grid;
  gap: 8px;
}

.patota-loader-kicker {
  margin: 0;
  color: var(--lime);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.patota-loader-copy h1 {
  max-width: 10ch;
  margin: 0;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(2.35rem, 8vw, 4.35rem);
  font-weight: var(--weight-display);
  line-height: 0.88;
  letter-spacing: 0;
}

.patota-loader-context {
  max-width: 34rem;
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 700;
  overflow-wrap: break-word;
}

.patota-loader-progress {
  height: 8px;
  overflow: hidden;
  border: 1px solid rgba(183, 255, 32, 0.22);
  border-radius: var(--radius-control);
  background: rgba(255, 255, 255, 0.12);
}

.patota-loader-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--lime), var(--green));
  transform: scaleX(0);
  transform-origin: left center;
  animation: loaderProgress var(--loader-duration, 1500ms) linear forwards;
}

.patota-loader-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.patota-loader-percent {
  color: var(--white);
  font-weight: 900;
}

.patota-loader-percent span {
  font-family: var(--score);
  font-weight: var(--weight-display);
  font-size: 1rem;
  line-height: 1;
}

.patota-loader.is-done {
  animation: loaderExit 420ms cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

@keyframes loaderStatusIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes loaderProgress {
  to {
    transform: scaleX(1);
  }
}

@keyframes loaderExit {
  to {
    opacity: 0;
    transform: translateY(-12px);
  }
}

.login-screen {
  min-height: 100dvh;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(520px, 42vw, 640px);
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  padding: clamp(22px, 5vw, 64px);
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.97) 0%, rgba(5, 7, 13, 0.85) 46%, rgba(5, 7, 13, 0.54) 100%),
    linear-gradient(180deg, rgba(5, 7, 13, 0.12), var(--surface-overlay)),
    url("assets/resenha-community.webp") center / cover no-repeat;
  isolation: isolate;
}

.login-screen::before,
.login-screen::after {
  content: "";
  position: absolute;
  inset: auto;
  z-index: -1;
  pointer-events: none;
}

.login-screen::before {
  width: 120vw;
  height: 28vh;
  right: -28vw;
  top: -8vh;
  background: linear-gradient(102deg, transparent 0 36%, var(--accent-primary-border) 36% 39%, var(--surface-overlay) 39% 46%, transparent 46% 100%);
  transform: rotate(-8deg);
}

.login-screen::after {
  width: 118vw;
  height: 26vh;
  left: -36vw;
  bottom: -10vh;
  background: linear-gradient(74deg, transparent 0 36%, rgba(255, 90, 20, 0.24) 36% 41%, var(--surface-overlay) 41% 48%, transparent 48% 100%);
  transform: rotate(9deg);
}

.login-orbit {
  display: none;
}

.login-orbit span {
  position: absolute;
  width: 86px;
  height: 112px;
  display: grid;
  place-items: center;
  color: var(--night);
  background: var(--lime);
  border: 6px solid var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-family: var(--display);
  font-weight: var(--weight-display);
  font-size: 24px;
  transform: rotate(var(--card-rot, -8deg));
  animation: floatCard 5s ease-in-out infinite;
}

.login-orbit span:nth-child(1) {
  left: 8vw;
  top: 14vh;
  --card-rot: -14deg;
}

.login-orbit span:nth-child(2) {
  left: 45vw;
  top: 8vh;
  background: var(--orange);
  --card-rot: 10deg;
  animation-delay: -1.4s;
}

.login-orbit span:nth-child(3) {
  left: 57vw;
  bottom: 13vh;
  background: var(--green);
  --card-rot: -6deg;
  animation-delay: -2.2s;
}

.login-orbit span:nth-child(4) {
  left: 24vw;
  bottom: 8vh;
  background: var(--paper);
  --card-rot: 12deg;
  animation-delay: -3s;
}

.login-orbit span:nth-child(5) {
  right: 9vw;
  top: 20vh;
  --card-rot: 7deg;
  animation-delay: -0.7s;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0) rotate(var(--card-rot));
  }
  50% {
    transform: translateY(-16px) rotate(calc(var(--card-rot) * -1));
  }
}

.login-hero {
  width: 100%;
  max-width: min(850px, calc(100vw - 36px));
  min-width: 0;
}

.login-brand {
  width: fit-content;
  margin-bottom: clamp(28px, 5vh, 56px);
}

.login-hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: var(--heading);
  font-weight: 900;
  font-size: clamp(52px, 6vw, 86px);
  line-height: 0.98;
  overflow-wrap: anywhere;
  text-transform: none;
}

.login-hero p:not(.eyebrow) {
  max-width: 610px;
  color: var(--text-secondary);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 600;
}


.login-feature-strip {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.login-feature-strip article {
  min-height: 148px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 20px;
  color: var(--white);
  background: rgba(16, 22, 36, 0.93);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.login-feature-strip article.is-accent {
  color: var(--night);
  background: var(--lime);
}

.login-feature-strip span {
  color: inherit;
  font-size: 12px;
  font-weight: var(--weight-ui);
  opacity: 0.72;
}

.login-feature-strip strong {
  font-family: var(--heading);
  font-size: clamp(18px, 1.65vw, 24px);
  line-height: 1.1;
}

.login-preview-row {
  display: none;
}

.mini-sticker {
  width: 126px;
  min-height: 152px;
  display: grid;
  align-content: space-between;
  padding: 12px;
  color: var(--night);
  background: var(--lime);
  border: 5px solid var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: rotate(-4deg);
}

.mini-sticker:nth-child(2) {
  transform: rotate(5deg) translateY(10px);
}

.mini-sticker:nth-child(3) {
  transform: rotate(-2deg);
}

.mini-sticker.is-orange {
  background: var(--orange);
}

.mini-sticker.is-paper {
  background: var(--paper);
}

.mini-sticker span,
.mini-sticker strong {
  font-family: var(--display);
  font-weight: var(--weight-display);
  text-transform: uppercase;
}

.mini-sticker span {
  font-size: 13px;
}

.mini-sticker strong {
  font-size: 24px;
  line-height: 0.94;
}

.login-card {
  width: min(440px, calc(100vw - 36px));
  min-width: 0;
  justify-self: center;
  min-height: auto;
  display: grid;
  gap: 16px;
  overflow: hidden;
  padding: 22px;
  color: var(--night);
  background: var(--surface-card-glass);
  border: 1px solid var(--border-on-image);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(14px);
}

.login-card-header {
  display: grid;
  gap: 8px;
}

.login-card h2 {
  margin: 0;
  font-family: var(--heading);
  font-size: 34px;
  font-weight: 900;
  line-height: 1.02;
  overflow-wrap: anywhere;
  text-transform: none;
}

.login-card .eyebrow {
  color: var(--orange);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}

.login-card label {
  display: grid;
  gap: 8px;
}

.login-card label span,
.login-card small {
  color: var(--text-on-paper-muted);
  font-size: 12px;
  font-weight: var(--weight-strong);
  text-transform: none;
}

.login-card input {
  min-height: 50px;
  width: 100%;
  padding: 0 14px;
  color: var(--night);
  background: var(--white);
  border: 1px solid var(--paper-border);
  border-radius: 8px;
  outline: none;
  font-weight: 700;
}

.login-card input:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 4px var(--border-accent);
}

.login-card label small {
  color: var(--text-on-paper-soft);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: none;
}

#loginStatus {
  text-transform: none;
}

.login-help-steps {
  display: none;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.login-card.is-signup-mode .login-help-steps {
  display: grid;
}

.login-card.is-account-open .login-help-steps {
  display: none;
}

.login-help-steps li {
  min-width: 0;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 10px;
  background: rgba(5, 7, 13, 0.05);
  border: 1px solid var(--paper-border);
  border-radius: 8px;
}

.login-help-steps li > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--night);
  background: var(--lime);
  border-radius: 50%;
  font-family: var(--score);
  font-size: 17px;
  font-weight: var(--weight-display);
  line-height: 1;
}

.login-help-steps strong,
.login-help-steps small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  text-transform: none;
}

.login-help-steps strong {
  color: var(--night);
  font-size: 12px;
  line-height: 1.1;
}

.login-help-steps small {
  margin-top: 2px;
  color: var(--text-on-paper-soft);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
}

.login-step-grid {
  display: grid;
  gap: 10px;
}

.login-choice-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.login-card-header { order: 1; }
.login-back-choice { order: 2; }
.login-choice-bar { order: 3; }
.invite-preview { order: 4; }
.invite-intent { order: 5; }
.login-step-grid { order: 6; }
.create-patota-note { order: 7; }
.login-account-details { order: 8; }
.login-consent { order: 9; }
.login-actions { order: 10; }
.player-card-builder { order: 11; }
.save-access-button { order: 12; }
.account-created-panel { order: 13; }
#loginStatus { order: 14; }
.login-legal-links { order: 15; }

.login-choice-bar button,
.invite-intent button,
.code-fallback-button {
  min-width: 0;
  min-height: 44px;
  padding: 8px;
  color: var(--night);
  background: var(--surface-card-muted);
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: var(--weight-strong);
  line-height: 1.05;
  overflow-wrap: anywhere;
  white-space: normal;
  text-transform: none;
}

.login-choice-bar button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: center;
  gap: 4px 10px;
  min-height: 66px;
  padding: 12px;
  text-align: left;
}

.login-choice-bar button strong,
.login-choice-bar button small,
.login-choice-kicker {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  text-transform: none;
}

.login-choice-kicker {
  color: var(--text-on-paper-soft);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}

.login-choice-bar button strong {
  font-size: 15px;
  line-height: 1.1;
}

.login-choice-bar button small {
  color: var(--text-on-paper-soft);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.18;
}

.login-choice-bar button::after {
  content: ">";
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  align-self: center;
  grid-row: 1 / span 2;
  grid-column: 2;
  color: var(--night);
  background: rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  font-weight: 900;
}

.login-choice-bar button.is-active,
.invite-intent button.is-active,
.code-fallback-button {
  background: var(--night);
  color: var(--white);
}

.login-choice-bar button.is-active small {
  color: var(--surface-ghost-selected);
}

.login-choice-bar button.is-active::after {
  color: var(--night);
  background: var(--lime);
}

.invite-intent {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.invite-intent button {
  min-height: 48px;
  font-size: 13px;
  line-height: 1.12;
}

.login-card.is-entry-choice-only .invite-intent,
.login-card.is-account-mode .invite-intent,
.login-card.is-account-open .invite-intent {
  display: none;
}

.invite-preview {
  display: grid;
  gap: 12px;
  padding: 14px;
  color: var(--night);
  background: var(--text-primary);
  border: 1px solid var(--paper-border);
  border-radius: 8px;
}

.invite-preview h3 {
  margin: 0 0 6px;
  font-family: var(--heading);
  font-size: 25px;
  line-height: 1.05;
  text-transform: none;
}

.invite-preview p {
  margin: 0;
  color: var(--text-on-paper-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.invite-preview-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.invite-preview-stats div {
  min-width: 0;
  padding: 9px;
  background: var(--surface-card-soft);
  border-radius: 8px;
}

.invite-preview-stats dt {
  color: var(--text-on-paper-soft);
  font-size: 10px;
  font-weight: var(--weight-strong);
  text-transform: none;
}

.invite-preview-stats dd {
  margin: 3px 0 0;
  color: var(--night);
  font-family: var(--score);
  font-weight: var(--weight-display);
  font-size: 21px;
  line-height: 0.95;
  overflow-wrap: anywhere;
}

.login-card.is-entry-choice-only .login-step-grid,
.login-card.is-entry-choice-only .login-consent,
.login-card.is-entry-choice-only .login-actions,
.login-card.is-entry-choice-only .login-account-details,
.login-card.is-entry-choice-only #loginStatus {
  display: none !important;
}

.login-card.is-entry-choice-only {
  width: min(640px, 100%);
  gap: 18px;
  padding: 24px;
  color: var(--night);
  background: var(--surface-card-glass);
  border-color: var(--border-on-image);
}

.login-card.is-entry-choice-only .eyebrow {
  display: none;
}

.login-card.is-entry-choice-only h2 {
  color: var(--night);
  font-size: clamp(36px, 3.4vw, 46px);
  line-height: 1.02;
}

.login-card.is-entry-choice-only .login-mode-note {
  gap: 8px;
  padding: 0 0 12px;
  border-top: 0;
  border-bottom: 1px solid var(--paper-border);
}

.login-card.is-entry-choice-only .login-mode-note strong {
  color: var(--night);
  font-size: 18px;
}

.login-card.is-entry-choice-only .login-mode-note span {
  color: var(--text-on-paper-muted);
  font-size: 16px;
}

.login-card.is-entry-choice-only .login-choice-bar {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.login-card.is-entry-choice-only .login-choice-bar button {
  min-height: 152px;
  align-content: start;
  gap: 9px;
  padding: 18px;
  color: var(--night);
  background: var(--text-primary);
  border-color: var(--paper-border);
  box-shadow: none;
}

.login-card.is-entry-choice-only .login-choice-bar button:hover,
.login-card.is-entry-choice-only .login-choice-bar button:focus-visible {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px var(--accent-primary-panel);
  outline: none;
  transform: translateY(-1px);
}

.login-card.is-entry-choice-only .login-choice-kicker {
  color: var(--text-on-paper-soft);
  grid-column: 1 / -1;
}

.login-card.is-entry-choice-only .login-choice-bar button strong {
  color: var(--night);
  grid-column: 1;
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.06;
}

.login-card.is-entry-choice-only .login-choice-bar button small {
  color: var(--text-on-paper-muted);
  grid-column: 1 / -1;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.38;
}

.login-card.is-entry-choice-only .login-choice-bar button::after {
  background: var(--lime);
  grid-column: 2;
  grid-row: 2;
}

.login-card.is-entry-choice-only .login-choice-bar [data-entry-choice="account"] {
  grid-column: 1 / -1;
  min-height: 92px;
}

.login-card.is-entry-choice-only .login-choice-bar [data-entry-choice="account"] strong {
  font-size: 18px;
}

.login-card.is-entry-choice-only .login-legal-links a {
  color: var(--text-on-paper-muted);
}

.login-card.is-create-mode .login-choice-bar,
.login-card.is-signup-mode .login-choice-bar,
.login-card.is-account-open .login-choice-bar,
.login-card.is-code-fallback-visible .login-choice-bar,
.login-card.has-invite-link .login-choice-bar {
  display: none;
}

.login-card.is-create-mode #loginCreatePatotaField {
  order: -1;
}

.login-card.is-create-mode {
  gap: 12px;
}

.login-card.is-create-mode .login-help-steps {
  display: none !important;
}

.login-card.is-create-mode .login-card-header {
  gap: 6px;
}

.login-card.is-create-mode .login-mode-note {
  padding-top: 8px;
}

.create-patota-note {
  display: grid;
  gap: 0;
  padding: 9px 10px;
  color: var(--text-on-paper);
  background: rgba(183, 255, 32, 0.11);
  border: 1px solid rgba(94, 120, 42, 0.16);
  border-radius: 8px;
}

.create-patota-note[hidden] {
  display: none;
}

.create-patota-note strong {
  font-size: 12px;
  line-height: 1.25;
}

.create-patota-note ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 17px;
  color: var(--text-on-paper-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.auth-mode-toggle {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 12px;
}

.auth-mode-toggle button {
  min-width: 0;
  min-height: 48px;
  color: var(--night);
  background: var(--surface-card-muted);
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  overflow-wrap: anywhere;
  text-transform: none;
}

.auth-mode-toggle button.is-active,
.login-submit {
  color: var(--night);
  background: var(--lime);
}

.login-mode-note {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 11px 0 0;
  border-top: 1px solid var(--paper-border);
}

.login-mode-note strong {
  color: var(--night);
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
}

.login-mode-note span {
  color: var(--text-on-paper-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.login-account-details {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 10px 0;
  border-top: 1px solid var(--paper-border);
  border-bottom: 1px solid var(--paper-border);
}

.login-account-details summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  color: var(--night);
  background: var(--surface-card-muted);
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  list-style: none;
  text-transform: none;
}

.login-account-details summary::-webkit-details-marker {
  display: none;
}

.login-account-details summary::after {
  content: "+";
  font-family: var(--heading);
}

.login-account-details[open] summary::after {
  content: "-";
}

.login-account-details label {
  margin-top: 10px;
}

.login-account-details:not([open]) label {
  display: none;
}

.login-card.is-create-mode .login-account-details {
  padding: 0;
  border: 0;
  gap: 9px;
}

.login-card.is-create-mode .login-account-details summary,
.login-card.is-create-mode .login-phone-field,
.login-card.is-create-mode .login-divider,
.login-card.is-create-mode .google-login,
.login-card.is-create-mode #demoLogin {
  display: none;
}

.login-card.is-create-mode .login-account-details label {
  margin-top: 0;
}

.login-card.is-create-mode .login-account-grid {
  gap: 9px;
}

.login-account-grid {
  display: grid;
  gap: 10px;
}

.login-account-details {
  display: grid;
}

.login-account-details .auth-mode-toggle {
  order: 1;
}

.login-account-details .login-account-grid {
  order: 2;
}

.login-account-details .login-phone-field {
  order: 3;
}

.login-account-details .player-card-builder {
  order: 4;
}

.login-card.is-personal-signup-mode .login-phone-field {
  display: none;
}

.player-card-builder {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
}

.player-card-builder[hidden],
.player-card-modal[hidden],
.login-card:not(.is-signup-mode) .player-card-builder {
  display: none !important;
}

.player-card-launch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(183, 255, 32, 0.14), rgba(255, 90, 20, 0.08) 54%, rgba(110, 168, 255, 0.12)),
    var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}

.player-card-launch div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.player-card-launch span,
.player-card-modal-header span {
  color: var(--text-tertiary);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.player-card-launch strong {
  color: var(--paper);
  font-family: var(--heading);
  font-size: 18px;
  line-height: 0.95;
  text-transform: uppercase;
}

.player-card-launch small {
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: none;
}

.player-card-open {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  color: var(--night);
  background: var(--lime);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--heading);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.player-card-open svg {
  width: 18px;
  height: 18px;
}

body.is-player-card-modal-open {
  overflow: hidden;
}

.player-card-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
}

.player-card-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 7, 9, 0.72), rgba(4, 7, 9, 0.9)),
    rgba(4, 7, 9, 0.72);
  border: 0;
  cursor: pointer;
}

.player-card-modal-panel {
  width: min(960px, calc(100vw - 32px));
  max-height: min(760px, calc(100vh - 32px));
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(17, 29, 27, 0.96), rgba(9, 13, 17, 0.98)),
    var(--ink-900);
  border: 1px solid rgba(126, 221, 81, 0.42);
  border-radius: 12px;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.56),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.player-card-modal-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(126, 221, 81, 0.18) 0 2px, transparent 2px calc(100% - 2px), rgba(126, 221, 81, 0.18) calc(100% - 2px)),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 8px);
  opacity: 0.58;
}

.player-card-modal-header {
  min-width: 0;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(126, 221, 81, 0.22);
}

.player-card-modal-header h3 {
  margin: 3px 0 0;
  color: var(--paper);
  font-family: var(--heading);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 0.86;
  text-transform: uppercase;
}

.player-card-close {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  cursor: pointer;
}

.player-card-close svg {
  width: 20px;
  height: 20px;
}

.player-card-builder-body {
  min-height: 0;
  position: relative;
  z-index: 1;
  overflow: auto;
  padding: 18px;
}

.player-card-copy {
  display: grid;
  gap: 4px;
}

.player-card-copy strong {
  color: var(--paper);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.player-card-copy span {
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: none;
}

.player-card-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.player-sticker-preview {
  min-width: 0;
  position: relative;
  display: grid;
  gap: 10px;
  overflow: hidden;
  padding: 13px;
  color: var(--paper);
  background:
    radial-gradient(circle at 22% 18%, var(--border-strong), transparent 24%),
    linear-gradient(145deg, var(--ink-760) 0%, var(--surface-raised) 58%, var(--ink-950) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow:
    inset 0 0 0 1px var(--border-subtle),
    0 16px 34px rgba(0, 0, 0, 0.26);
  isolation: isolate;
}

.player-card-modal .player-sticker-preview {
  min-height: 520px;
  align-content: start;
  padding: 18px;
  border-color: rgba(126, 221, 81, 0.34);
}

.player-sticker-preview[data-theme="orange"] {
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.2), transparent 24%),
    linear-gradient(145deg, var(--brand-orange-strong) 0%, var(--accent-action) 42%, var(--surface-raised) 100%);
}

.player-sticker-preview[data-theme="blue"] {
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.24), transparent 24%),
    linear-gradient(145deg, var(--ink-850) 0%, var(--accent-info) 48%, var(--surface-raised) 100%);
}

.player-sticker-preview[data-theme="night"] {
  background:
    radial-gradient(circle at 22% 18%, var(--accent-primary-border), transparent 24%),
    linear-gradient(145deg, var(--ink-950) 0%, var(--surface-raised-2) 52%, var(--ink-760) 100%);
}

.player-sticker-shine {
  position: absolute;
  inset: -60% 32% 40% -20%;
  z-index: -1;
  background: rgba(255, 255, 255, 0.18);
  transform: rotate(-18deg);
  pointer-events: none;
}

.player-sticker-top,
.player-sticker-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
}

.player-sticker-top {
  grid-template-columns: minmax(0, 1fr) 52px;
}

.player-sticker-top span {
  min-width: 0;
  color: rgba(244, 246, 238, 0.78);
  font-size: 11px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.player-sticker-top strong {
  min-height: 44px;
  display: grid;
  place-items: center;
  color: var(--ink-950);
  background: var(--lime);
  border-radius: 7px;
  font-family: var(--heading);
  font-size: 21px;
  line-height: 1;
}

.player-sticker-photo {
  width: min(138px, 46vw);
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
  justify-self: center;
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 35% 28%, rgba(192, 255, 61, 0.42), transparent 28%),
    var(--ink-800);
  border: 4px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  font-family: var(--heading);
  font-size: clamp(30px, 12vw, 42px);
  line-height: 1;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}

.player-sticker-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(var(--photo-x, 0), var(--photo-y, 0)) scale(var(--photo-zoom, 1));
  transform-origin: center;
  will-change: transform;
}

.player-sticker-photo.is-croppable {
  cursor: grab;
  touch-action: none;
}

.player-sticker-photo.is-dragging {
  cursor: grabbing;
}

.player-sticker-photo.has-photo span {
  display: none;
}

.player-sticker-name {
  min-width: 0;
  color: var(--paper);
  font-family: var(--heading);
  font-size: 24px;
  line-height: 0.95;
  overflow-wrap: anywhere;
  text-align: center;
  text-transform: uppercase;
}

.player-sticker-meta {
  color: rgba(244, 246, 238, 0.76);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-transform: none;
}

.player-sticker-stats {
  margin: 0;
}

.player-sticker-stats div {
  min-width: 0;
  padding: 8px 6px;
  background: var(--surface-ghost-strong);
  border-radius: 7px;
  text-align: center;
}

.player-sticker-stats dt {
  color: rgba(244, 246, 238, 0.68);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.player-sticker-stats dd {
  margin: 3px 0 0;
  color: var(--paper);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.player-sticker-overall {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  justify-self: center;
  padding: 6px 10px;
  color: var(--ink-950);
  background: var(--lime);
  border-radius: 999px;
  line-height: 1;
}

.player-sticker-overall strong {
  font-family: var(--heading);
  font-size: 20px;
}

.player-sticker-overall span {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.player-sticker-attributes {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
}

.player-sticker-attributes span {
  min-width: 0;
  padding: 6px 3px;
  color: rgba(244, 246, 238, 0.74);
  background: rgba(5, 7, 13, 0.22);
  border: 1px solid var(--surface-ghost-hover);
  border-radius: 7px;
  font-size: 8px;
  font-weight: 800;
  line-height: 1.05;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

.player-sticker-attributes b {
  display: block;
  color: var(--paper);
  font-size: 13px;
  line-height: 1.05;
}

.player-card-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.player-card-field,
.player-photo-picker {
  min-width: 0;
  margin: 0;
}

.player-card-field.is-full,
.player-photo-picker.is-full,
.player-photo-clear,
.player-card-randomize {
  grid-column: 1 / -1;
}

.player-card-fields input,
.player-card-fields select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: var(--night);
  background: var(--paper-50);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
}

.player-card-fields label span,
.player-card-fields label small {
  color: var(--text-secondary);
}

.player-photo-picker {
  position: relative;
}

.player-photo-picker input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.player-photo-picker > span,
.player-photo-clear,
.player-card-randomize {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--night);
  background: var(--lime);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.player-photo-picker svg,
.player-card-randomize svg {
  width: 16px;
  height: 16px;
}

.player-photo-clear {
  background: var(--surface-ghost-hover);
  color: var(--paper);
}

.player-card-randomize {
  background: var(--paper-50);
  color: var(--night);
}

.player-card-modal-actions {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 18px;
  border-top: 1px solid rgba(126, 221, 81, 0.22);
}

.player-card-done {
  min-height: 46px;
  min-width: 140px;
  padding: 0 18px;
  color: var(--night);
  background: var(--lime);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--heading);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.code-fallback-button {
  width: 100%;
}

.login-consent {
  min-height: 44px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  column-gap: 10px;
  row-gap: 0;
  padding: 9px 10px;
  color: var(--text-on-paper-muted);
  background: rgba(238, 243, 229, 0.72);
  border: 1px solid var(--paper-border);
  border-radius: 8px;
  cursor: pointer;
}

.login-consent input {
  inline-size: 22px;
  block-size: 22px;
  width: 22px;
  min-width: 22px;
  min-height: 22px;
  height: 22px;
  aspect-ratio: 1;
  align-self: start;
  justify-self: start;
  margin: 2px 0 0;
  padding: 0;
  display: grid;
  place-items: center;
  appearance: none;
  color: var(--night);
  background: var(--text-primary);
  border: 2px solid var(--paper-border-strong);
  border-radius: 6px;
  cursor: pointer;
  box-shadow: none;
}

.login-consent input:checked {
  background: var(--lime);
  border-color: var(--lime);
}

.login-consent input:checked::after {
  content: "";
  width: 5px;
  height: 10px;
  border: solid var(--night);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-1px);
}

.login-consent span {
  display: block;
  align-self: start;
  padding-top: 1px;
  color: var(--text-on-paper-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: none;
}

.login-card .login-consent span {
  text-transform: none;
}

.login-card.is-fast-invite {
  min-height: auto;
  align-content: stretch;
}

.save-access-button {
  min-height: 44px;
  padding: 8px 10px;
  color: var(--night);
  background: transparent;
  border: 1px dashed var(--paper-border-strong);
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.save-access-button:hover,
.save-access-button:focus-visible {
  background: var(--surface-card-soft);
  outline: none;
}

.account-created-panel {
  display: grid;
  gap: 8px;
  padding: 12px;
  color: var(--night);
  background: var(--surface-card-soft);
  border: 1px solid var(--paper-border);
  border-radius: 8px;
}

.account-created-panel strong {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.account-created-panel span {
  color: var(--text-on-paper-muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: none;
}

.account-created-panel div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.account-created-panel button {
  min-width: 0;
  min-height: 44px;
  color: var(--night);
  background: var(--text-primary);
  border: 1px solid var(--paper-border);
  border-radius: 8px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.05;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.account-created-panel button:first-child {
  background: var(--lime);
  border-color: var(--lime);
}

.login-card:not(.is-account-open) .login-account-details {
  display: none;
}

.login-card.is-create-mode .auth-mode-toggle {
  display: none;
}

.login-card.is-personal-signup-mode .auth-mode-toggle {
  display: none;
}

.login-submit {
  width: 100%;
}

.login-actions {
  display: grid;
  gap: 10px;
}

.login-divider {
  min-height: 18px;
  display: grid;
  place-items: center;
  position: relative;
  color: var(--text-on-paper-soft);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.login-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--paper-border);
}

.login-divider span {
  position: relative;
  padding: 0 10px;
  background: var(--paper);
}

.google-login {
  min-height: 48px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  color: var(--night);
  background: var(--white);
  border: 1px solid var(--paper-border);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  text-align: left;
}

.google-login span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #1a73e8;
  background: var(--paper-50);
  border: 1px solid var(--paper-border);
  border-radius: 50%;
  font-family: var(--heading);
  line-height: 1;
}

.google-login strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.google-login:hover {
  border-color: var(--text-muted);
  transform: translateY(-1px);
}

.secondary-login {
  min-height: 44px;
  color: var(--text-on-paper-soft);
  background: transparent;
  border: 1px solid rgba(107, 114, 128, 0.18);
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
}

.secondary-login:hover {
  color: var(--night);
  background: rgba(255, 255, 255, 0.44);
  border-color: rgba(107, 114, 128, 0.28);
}

.login-legal-links {
  margin: 0;
  color: var(--text-on-paper-muted);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.login-legal-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.legal-page .brand {
  width: fit-content;
  margin-bottom: 36px;
}

.legal-hero {
  margin-bottom: 34px;
}

.legal-hero h1 {
  max-width: 780px;
  margin: 0 0 14px;
  font-family: var(--heading);
  font-size: clamp(42px, 8vw, 86px);
  line-height: 0.9;
  text-transform: uppercase;
}

.legal-hero p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  font-weight: 700;
}

.legal-grid {
  display: grid;
  gap: 14px;
}

.legal-section {
  padding: 22px;
  background: var(--surface-ghost-hover);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-section h2 {
  margin: 0 0 12px;
  font-family: var(--heading);
  font-size: 28px;
  line-height: 0.95;
  text-transform: uppercase;
}

.legal-section p,
.legal-section li {
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 650;
}

.legal-section p {
  margin: 0 0 10px;
}

.legal-section ul {
  margin: 0;
  padding-left: 20px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 20px;
  padding: 0 16px;
  color: var(--night);
  background: var(--lime);
  border-radius: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.public-patota-screen {
  --public-primary: var(--lime);
  --public-secondary: #ff7a18;
  --public-accent: #50d5ff;
  width: min(1180px, calc(100vw - 32px));
  min-height: 100dvh;
  margin: 0 auto;
  padding: clamp(18px, 4vw, 42px) 0 34px;
  display: grid;
  gap: 18px;
}

.public-patota-header,
.public-patota-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.public-patota-brand {
  min-height: 48px;
}

.public-patota-hero {
  min-height: min(680px, calc(100dvh - 112px));
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.68fr);
  align-items: stretch;
  gap: clamp(16px, 3vw, 28px);
}

.public-patota-cover,
.public-patota-copy,
.public-panel,
.public-join-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.public-patota-cover {
  min-height: 420px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, var(--surface-ghost-hover) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(0deg, color-mix(in srgb, var(--public-primary) 20%, transparent) 1px, transparent 1px) 0 0 / 80px 80px,
    radial-gradient(circle at 50% 54%, color-mix(in srgb, var(--public-primary) 42%, transparent), transparent 32%),
    linear-gradient(145deg, color-mix(in srgb, var(--public-accent) 18%, transparent), rgba(16, 22, 36, 0.96));
}

.public-patota-cover.has-image {
  background-size: cover;
  background-position: center;
}

.public-crest {
  width: clamp(132px, 24vw, 220px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--night);
  background: var(--public-primary);
  border: 7px solid var(--white);
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.36);
  font-family: var(--display);
  font-size: clamp(38px, 7vw, 76px);
  font-weight: var(--weight-display);
}

.public-crest img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.public-patota-copy {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(22px, 4vw, 42px);
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--public-secondary) 20%, transparent), transparent 42%),
    rgba(16, 22, 36, 0.92);
}

.public-patota-copy h1 {
  margin: 0;
  overflow-wrap: anywhere;
  font-family: var(--display);
  font-size: clamp(40px, 7.6vw, 92px);
  line-height: 0.92;
}

.public-patota-copy p {
  margin: 0;
}

.public-patota-copy > p:not(.eyebrow) {
  max-width: 58ch;
  color: var(--text-secondary);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 650;
}

.public-patota-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.public-patota-chips span,
.public-status-note,
.public-form-status {
  color: var(--text-secondary);
}

.public-patota-chips span {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-ghost-hover);
  font-weight: 800;
}

.public-patota-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.public-patota-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.public-panel,
.public-join-section {
  min-width: 0;
  padding: clamp(18px, 3vw, 26px);
  background: var(--surface-panel-glass);
}

.public-about-panel {
  grid-column: 1 / -1;
}

.public-panel h2,
.public-join-section h2 {
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.05;
}

.public-score-list,
.public-player-strip,
.public-photo-grid,
.public-ranking-list,
.public-badge-list,
.public-next-match {
  display: grid;
  gap: 10px;
}

.public-score-card,
.public-player-pill,
.public-ranking-row,
.public-badge-card,
.public-next-match-card,
.public-empty-state {
  min-height: 64px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-ghost);
}

.public-score-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.public-ranking-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.public-ranking-row i {
  width: 34px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--night);
  background: var(--lime);
  border-radius: 50%;
  font-family: var(--heading);
  font-style: normal;
  font-weight: 900;
}

.public-ranking-row strong {
  display: block;
  overflow: hidden;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-ranking-row small,
.public-badge-card small {
  color: var(--text-secondary);
  font-weight: 750;
}

.public-ranking-row b {
  color: var(--lime);
  font-family: var(--heading);
  font-size: 18px;
  white-space: nowrap;
}

.public-ranking-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.public-ranking-badges span,
.public-badge-card span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 7px;
  color: var(--night);
  background: var(--paper);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.public-badge-list {
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
}

.public-badge-card {
  display: grid;
  align-content: space-between;
  gap: 8px;
}

.public-badge-card strong {
  color: var(--lime);
  font-family: var(--heading);
  font-size: 30px;
  line-height: 1;
}

.public-next-match-card {
  display: grid;
  gap: 10px;
}

.public-next-match-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.public-next-match-meta span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 7px 9px;
  color: var(--white);
  background: var(--surface-ghost-hover);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.public-score-card strong {
  font-family: var(--score);
  font-size: 38px;
  line-height: 0.9;
}

.public-player-strip {
  grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
}

.public-player-pill {
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 800;
}

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

.public-photo-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  background: var(--surface-ghost-hover);
}

.public-join-section {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(360px, 1fr);
  gap: clamp(18px, 4vw, 34px);
  align-items: start;
}

.public-join-section p {
  color: var(--text-secondary);
}

.public-join-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.public-join-form input[name="website"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.public-join-form label,
.public-page-settings-form label {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.public-join-form input,
.public-join-form textarea,
.public-page-settings-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--white);
  background: var(--surface-ghost-hover);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  resize: vertical;
}

.public-join-form input:focus,
.public-join-form textarea:focus,
.public-page-settings-form textarea:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px var(--accent-primary-panel);
}

.public-join-form-wide,
.public-page-form-wide {
  grid-column: 1 / -1;
}

.public-form-status[data-tone="success"] {
  color: var(--lime);
}

.public-form-status[data-tone="error"] {
  color: var(--danger);
}

.public-patota-footer {
  padding: 16px 0 0;
  color: var(--muted);
}

.public-patota-footer a,
.public-patota-footer button {
  min-height: 44px;
  color: var(--white);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.app-shell {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
}

.admin-only {
  display: none !important;
}

.admin-panel-only {
  display: none !important;
}

body.is-admin .nav-item.admin-only {
  display: inline-flex !important;
}

body.is-admin .stage-step.admin-only {
  display: grid !important;
}

body.is-admin .admin-panel-only {
  display: block !important;
}

body.is-admin .add-player.admin-panel-only {
  display: grid !important;
}

body.is-admin button.admin-panel-only {
  display: inline-flex !important;
}

body.is-admin .view-actions > .admin-panel-only {
  display: inline-flex !important;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100dvh;
  min-height: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  background:
    linear-gradient(180deg, var(--accent-success-panel), transparent 34%),
    var(--surface-overlay-strong);
  border-right: 1px solid var(--line);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.sidebar::-webkit-scrollbar {
  width: 8px;
}

.sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.brand {
  flex: 0 0 auto;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  display: block;
  height: auto;
  object-fit: contain;
}

.brand-logo-full {
  width: min(198px, 100%);
}

.login-brand .brand-logo-full {
  width: min(224px, calc(100vw - 36px));
}

.brand-logo-symbol {
  display: none;
  width: 46px;
}

.nav-list {
  min-height: 0;
  display: grid;
  gap: 8px;
}

.nav-item,
.nav-more summary,
.primary-button,
.ghost-button,
.light-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
  transition:
    transform 170ms ease,
    background 170ms ease,
    border-color 170ms ease,
    color 170ms ease,
    box-shadow 170ms ease;
}

.primary-button:disabled,
.ghost-button:disabled,
.light-button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.nav-item svg,
.nav-more svg,
.primary-button svg,
.ghost-button svg,
.light-button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.nav-item {
  justify-content: flex-start;
  color: var(--muted);
  background: transparent;
}

.nav-more {
  min-width: 0;
}

.nav-more summary {
  justify-content: flex-start;
  color: var(--muted);
  background: transparent;
  list-style: none;
}

.nav-more summary::-webkit-details-marker {
  display: none;
}

.nav-more-menu {
  display: none;
  gap: 6px;
  padding: 7px 0 0 12px;
}

.nav-more[open] .nav-more-menu {
  display: grid;
}

.nav-more-menu .nav-item {
  min-height: 42px;
  font-size: 13px;
}

.nav-more summary:hover,
.nav-more[open] summary,
body[data-view="caixa"] .nav-more summary,
body[data-view="times"] .nav-more summary,
body[data-view="temporada"] .nav-more summary,
body[data-view="feed"] .nav-more summary,
body[data-view="avisos"] .nav-more summary,
.nav-item:hover,
.nav-item.is-active {
  color: var(--night);
  background: var(--lime);
  transform: translateX(2px);
}

.primary-button {
  color: var(--night);
  background: var(--lime);
  box-shadow: 0 12px 32px rgba(183, 255, 32, 0.2);
}

.primary-button:hover,
.light-button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
}

.primary-button:active,
.light-button:active,
.ghost-button:active,
.nav-item:active {
  transform: translateY(0) scale(0.98);
}

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

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

.compact {
  min-height: 44px;
  padding: 10px 12px;
  font-size: 14px;
}

.season-card {
  flex: 0 0 auto;
  margin-top: auto;
  padding: 18px;
  border-radius: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.season-card span,
.season-card small,
.metric-tile span,
.metric-tile small,
.amount-chip span,
.team-column > span,
.share-card-top span,
.ticket-top span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.season-card strong {
  display: block;
  margin: 4px 0 12px;
  font-family: var(--heading);
  font-size: 26px;
  line-height: 1;
}

.season-meter,
.metric-track {
  height: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.season-meter span,
.metric-track i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--lime);
  border-radius: inherit;
  transition: width 260ms ease;
}

.workspace {
  min-width: 0;
  overflow-x: clip;
  padding: 22px;
}

@media (min-width: 1800px) {
  .workspace {
    max-width: 1480px;
    width: 100%;
    justify-self: center;
  }
}

.topbar,
.view-header,
.surface-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.view-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.topbar {
  margin-bottom: 22px;
}

.stage-rail {
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin: -6px 0 22px;
}

.stage-step {
  min-height: 74px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 12px;
  align-content: center;
  padding: 13px;
  color: var(--white);
  text-align: left;
  background: var(--surface-panel-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: transform 170ms ease, border-color 170ms ease, background 170ms ease;
}

.stage-step::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 10px;
  height: 3px;
  background: var(--border-subtle);
  border-radius: 999px;
}

.stage-step.is-active {
  color: var(--night);
  background: var(--lime);
  border-color: var(--lime);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(183, 255, 32, 0.2);
}

.stage-step.is-active::after {
  background: rgba(5, 7, 13, 0.34);
}

.stage-step span {
  grid-row: span 2;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--night);
  background: var(--white);
  border-radius: 50%;
  font-family: var(--heading);
  font-size: 12px;
}

.stage-step small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stage-step strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: var(--heading);
  font-size: 14px;
  line-height: 1;
  text-transform: uppercase;
}

.stage-step small {
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
}

.stage-step.is-active small {
  color: var(--text-on-accent-muted);
}

.topbar h1,
.view-header h2,
.hero-copy h2 {
  margin: 0;
  font-family: var(--heading);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

.topbar h1 {
  font-size: 42px;
}

.topbar-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.patota-switcher {
  min-height: 46px;
  display: inline-grid;
  grid-template-columns: auto minmax(150px, 220px);
  align-items: center;
  gap: 8px;
  padding: 6px 8px 6px 12px;
  color: var(--white);
  background: var(--surface-ghost);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.patota-switcher[hidden] {
  display: none;
}

.patota-switcher span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.patota-switcher select {
  min-height: 34px;
  min-width: 0;
  width: 100%;
  padding: 0 28px 0 10px;
  color: var(--white);
  background: var(--surface-overlay);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  outline: none;
}

.patota-switcher select:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px var(--accent-primary-panel);
}

.session-pill {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  color: var(--lime);
  background: var(--accent-primary-soft);
  border: 1px solid var(--accent-primary-border);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.sync-pill {
  color: var(--white);
  background: var(--surface-ghost);
  border-color: var(--line);
}

.sync-pill[data-sync-status="online"] {
  color: var(--night);
  background: var(--green);
  border-color: var(--green);
}

.guest-upgrade-button[hidden] {
  display: none;
}

.guest-upgrade-button {
  border-color: rgba(183, 255, 32, 0.38);
  color: var(--lime);
}

.sync-pill[data-sync-status="syncing"] {
  color: var(--night);
  background: var(--lime);
  border-color: var(--lime);
}

.sync-pill[data-sync-status="error"] {
  color: var(--white);
  background: var(--accent-danger-panel);
  border-color: var(--accent-danger-border-soft);
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.view {
  display: none;
}

.view.is-active {
  display: block;
  animation: viewIn 300ms ease both;
}

@keyframes viewIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-panel {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: end;
  overflow: hidden;
  padding: 34px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.98), var(--surface-overlay) 48%, rgba(5, 7, 13, 0.08)),
    linear-gradient(135deg, var(--accent-primary-border) 0 18%, transparent 18% 100%),
    url("assets/hero-nitro-inspired.webp") center right / cover no-repeat;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy {
  max-width: 700px;
}

.hero-copy h2 {
  max-width: 700px;
  font-size: 64px;
}

.hero-copy p:not(.eyebrow) {
  max-width: 540px;
  color: var(--text-secondary);
  font-size: 20px;
  font-weight: 600;
}

.round-details {
  margin-top: 12px;
  color: var(--text-secondary);
}

.round-details > summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  color: var(--text-secondary);
  background: var(--surface-panel-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  list-style: none;
}

.section-details {
  min-width: 0;
  color: var(--text-secondary);
}

.section-details > summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  color: var(--text-secondary);
  background: var(--surface-panel-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  list-style: none;
}

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

.section-details > summary span:not(.status-pill) {
  color: var(--lime);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-details > summary strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--white);
  font-size: 14px;
  line-height: 1.2;
}

.section-details > summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--night);
  background: var(--lime);
  border-radius: 50%;
  font-weight: 900;
}

.section-details[open] > summary::after {
  content: "-";
}

.section-details-actions {
  display: flex;
  justify-content: flex-end;
  padding: 12px 0 0;
}

.section-details > .season-badge-grid,
.feed-badge-details > .badge-board {
  margin-top: 12px;
}

.season-details {
  margin-top: 18px;
}

.finance-ledger-surface.section-details {
  padding: 16px;
}

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

.round-details > summary span,
.my-round-disclosure summary span {
  color: var(--lime);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.round-details > summary strong,
.my-round-disclosure summary strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--white);
  font-size: 14px;
  line-height: 1.2;
}

.round-details > summary::after,
.my-round-disclosure summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--night);
  background: var(--lime);
  border-radius: 50%;
  font-weight: 900;
}

.round-details[open] > summary::after,
.my-round-disclosure[open] summary::after {
  content: "-";
}

.round-details-body {
  display: grid;
  gap: 18px;
  padding-top: 12px;
}

.match-ticket,
.tool-surface,
.metric-tile,
.finance-summary,
.team-column,
.versus-card,
.share-card,
.sticker-card {
  border-radius: 8px;
  border: 1px solid var(--line);
}

.match-ticket {
  padding: 22px;
  background: var(--surface-overlay);
  backdrop-filter: blur(12px);
}

.ticket-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.ticket-top strong {
  color: var(--orange);
}

.ticket-score {
  display: grid;
  margin: 24px 0;
}

.ticket-score strong {
  font-family: var(--score);
  font-weight: var(--weight-display);
  font-size: 104px;
  line-height: 0.86;
}

.ticket-score span {
  color: var(--lime);
  font-weight: 700;
  text-transform: uppercase;
}

.my-round-panel {
  min-height: 118px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin: 0 0 18px;
  padding: 18px;
  background:
    linear-gradient(135deg, var(--accent-primary-panel), transparent 34%),
    var(--surface-panel-glass);
  border: 1px solid var(--accent-primary-border);
  border-radius: 8px;
}

.my-round-copy {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.my-round-panel > .my-round-live-grid,
.my-round-panel > .my-round-guide,
.my-round-panel > .my-round-matchday,
.my-round-panel > .my-round-insights,
.my-round-panel > .my-round-secondary,
.my-round-panel > .my-round-disclosure {
  grid-column: 1 / -1;
}

.my-round-matchday {
  min-width: 0;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) minmax(280px, 0.78fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  color: var(--text-secondary);
  background:
    linear-gradient(135deg, var(--accent-action-panel), transparent 42%),
    var(--surface-ghost);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}

.my-round-crest {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--night);
  background: var(--lime);
  border-radius: 50%;
  font-family: var(--score);
  font-size: 24px;
  font-weight: var(--weight-display);
}

.my-round-matchday > div:not(.my-round-crest) {
  min-width: 0;
}

.my-round-matchday span {
  display: block;
  color: var(--orange);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.my-round-matchday strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: var(--white);
  font-family: var(--heading);
  font-size: 21px;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-round-matchday small {
  display: block;
  min-width: 0;
  overflow: hidden;
  margin-top: 4px;
  color: var(--text-tertiary);
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-round-matchday dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.my-round-matchday dl div {
  min-width: 0;
  padding: 8px;
  background: rgba(5, 7, 13, 0.32);
  border: 1px solid var(--surface-ghost-hover);
  border-radius: 8px;
}

.my-round-matchday dt,
.my-round-matchday dd {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-round-matchday dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
}

.my-round-matchday dd {
  margin: 3px 0 0;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.my-round-copy h3 {
  margin: 0;
  font-family: var(--heading);
  font-size: 30px;
  line-height: 1.08;
  text-transform: none;
}

.my-round-copy p {
  max-width: 720px;
  margin: 0;
  color: var(--text-secondary);
  font-weight: 500;
}

.my-round-next {
  min-width: 0;
  display: grid;
  gap: 3px;
  max-width: 720px;
  padding: 10px 12px;
  color: var(--night);
  background: rgba(183, 255, 32, 0.92);
  border-radius: 8px;
}

.my-round-next span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.my-round-next strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.2;
}

.my-round-feedback {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  max-width: 720px;
  padding: 9px 11px;
  color: var(--text-secondary);
  background: var(--surface-ghost);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.my-round-feedback span {
  color: var(--lime);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.my-round-feedback strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.2;
}

.my-round-feedback[data-tone="error"] {
  border-color: var(--accent-danger-border);
  background: var(--accent-danger-soft);
}

.my-round-feedback[data-tone="error"] span {
  color: var(--danger);
}

.my-round-feedback[data-tone="success"] {
  border-color: var(--accent-success-border);
  background: var(--accent-success-panel);
}

.my-round-feedback[data-tone="success"] span {
  color: var(--green);
}

.my-round-feedback[data-tone="syncing"] span {
  color: var(--blue);
}

.my-round-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-width: 820px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.my-round-guide li {
  min-width: 0;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 10px;
  color: var(--text-secondary);
  background: var(--surface-ghost);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.my-round-guide li > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--night);
  background: var(--surface-ghost-selected);
  border-radius: 50%;
  font-family: var(--score);
  font-size: 17px;
  font-weight: var(--weight-display);
  line-height: 1;
}

.stage-step span svg {
  width: 15px;
  height: 15px;
}

.my-round-guide strong,
.my-round-guide small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  text-transform: none;
}

.my-round-guide strong {
  color: var(--white);
  font-size: 12px;
  line-height: 1.1;
}

.my-round-guide small {
  margin-top: 3px;
  color: var(--text-tertiary);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
}

.my-round-guide li[data-guide-state="active"] {
  border-color: var(--border-accent);
  background: var(--accent-primary-soft);
}

.my-round-guide li[data-guide-state="active"] > span,
.my-round-guide li[data-guide-state="done"] > span {
  background: var(--lime);
}

.my-round-guide li[data-guide-state="done"] {
  border-color: var(--accent-success-border);
}

.my-round-guide li[data-guide-state="done"] > span::after {
  content: "✓";
  font-family: var(--body);
  font-size: 13px;
  font-weight: 900;
}

.my-round-guide li[data-guide-state="done"] > span {
  font-size: 0;
}

.my-round-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.my-round-summary span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 9px;
  color: var(--text-secondary);
  background: var(--surface-ghost-hover);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
}

.my-round-summary b {
  color: var(--lime);
  font-family: var(--score);
  font-size: 16px;
  font-weight: var(--weight-display);
  line-height: 1;
}

.my-round-secondary {
  display: grid;
  gap: 8px;
  max-width: 820px;
}

.my-round-live-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-width: 820px;
}

.my-round-insights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-width: 980px;
}

.my-round-insights button {
  min-width: 0;
  min-height: 96px;
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 12px;
  text-align: left;
  color: var(--text-secondary);
  background: var(--surface-ghost);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.my-round-insights span,
.my-round-insights strong,
.my-round-insights small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.my-round-insights span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.my-round-insights strong {
  color: var(--white);
  font-size: 16px;
  line-height: 1.12;
}

.my-round-insights small {
  color: var(--text-tertiary);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.25;
}

.my-round-insights button[data-tone="lime"] {
  border-color: var(--border-accent);
  background: var(--accent-primary-soft);
}

.my-round-insights button[data-tone="orange"] {
  border-color: var(--accent-action-border);
  background: var(--accent-action-soft);
}

.my-round-insights button[data-tone="green"] {
  border-color: var(--accent-success-border);
  background: var(--accent-success-soft);
}

.my-round-insights button[data-tone="blue"] {
  border-color: rgba(79, 168, 255, 0.42);
  background: var(--accent-info-soft);
}

.round-ops-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
  color: var(--text-secondary);
  background:
    linear-gradient(135deg, var(--accent-primary-panel), transparent 34%),
    linear-gradient(225deg, var(--accent-action-soft), transparent 38%),
    rgba(5, 7, 13, 0.36);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}

.round-ops-heading {
  display: grid;
  gap: 4px;
}

.round-ops-heading span,
.round-duty-list > div span,
.round-duty-list article span,
.round-ops-grid button span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.round-ops-heading strong,
.round-duty-list > div strong {
  color: var(--white);
  font-family: var(--heading);
  font-size: 17px;
  line-height: 1.08;
}

.round-ops-heading small {
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 650;
}

.round-ops-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.round-ops-grid button,
.round-duty-list article {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 11px;
  text-align: left;
  color: var(--text-secondary);
  background: var(--surface-ghost);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.round-ops-grid button {
  min-height: 104px;
  cursor: pointer;
}

.round-ops-grid button strong,
.round-duty-list article strong {
  min-width: 0;
  overflow: hidden;
  color: var(--white);
  font-size: 14px;
  line-height: 1.14;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.round-ops-grid button small,
.round-duty-list article small {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--text-tertiary);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.25;
}

.round-ops-grid button[data-tone="lime"],
.round-ops-grid button[data-tone="green"] {
  border-color: var(--border-accent);
  background: var(--accent-primary-soft);
}

.round-ops-grid button[data-tone="orange"] {
  border-color: var(--accent-action-border);
  background: var(--accent-action-soft);
}

.round-ops-grid button[data-tone="blue"] {
  border-color: var(--accent-info-border);
  background: var(--accent-info-soft);
}

.round-ops-grid button[data-tone="idle"] {
  opacity: 0.78;
}

.round-duty-list {
  display: grid;
  grid-template-columns: minmax(150px, 0.78fr) repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
}

.round-duty-list > div {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed var(--surface-ghost-strong);
  border-radius: 8px;
}

.round-social-event-card {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: 14px;
  color: var(--text-secondary);
  background:
    linear-gradient(135deg, rgba(183, 255, 32, 0.12), rgba(255, 138, 0, 0.08)),
    var(--surface-ghost);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.round-social-event-card[data-enabled="true"] {
  border-color: rgba(183, 255, 32, 0.28);
}

.round-social-event-card > div:first-child {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.round-social-event-card span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.round-social-event-card strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--white);
  font-family: var(--heading);
  font-size: 24px;
  line-height: 0.98;
  text-transform: uppercase;
}

.round-social-event-card p {
  margin: 0;
  color: var(--text-tertiary);
  font-weight: 750;
  line-height: 1.35;
}

.round-social-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.round-social-event-meta span {
  padding: 6px 8px;
  background: var(--surface-ghost-hover);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.round-social-event-card.is-compact {
  padding: 12px;
}

.round-social-event-card.is-compact strong {
  font-size: 19px;
}

.my-round-disclosure {
  max-width: 980px;
  color: var(--text-secondary);
}

.my-round-disclosure summary {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  background: var(--surface-ghost);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  list-style: none;
}

.my-round-disclosure summary::-webkit-details-marker {
  display: none;
}

.my-round-disclosure-body {
  display: grid;
  gap: 10px;
  padding-top: 10px;
}

.my-round-secondary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.my-round-secondary-actions button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 11px;
  color: var(--text-secondary);
  background: var(--surface-ghost-hover);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 750;
}

.my-round-secondary-actions button.blue-action {
  border-color: var(--accent-info-border);
  background: var(--accent-info-panel);
}

.admin-mode-disclosure summary {
  border-color: var(--accent-action-border);
  background: var(--accent-action-soft);
}

.admin-mode-disclosure summary span {
  color: var(--orange);
}

.my-round-live-card {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 10px;
  color: var(--text-secondary);
  background: var(--surface-ghost);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.my-round-live-card > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.my-round-live-card > div span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.my-round-live-card > div strong {
  color: var(--lime);
  font-size: 12px;
}

.my-round-live-card ol {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.my-round-live-card li {
  min-width: 0;
  min-height: 34px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
}

.my-round-live-card li > span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: var(--night);
  background: var(--lime);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
}

.my-round-live-card li.is-current > span {
  background: var(--orange);
}

.my-round-live-card li.is-empty {
  grid-template-columns: 1fr;
}

.my-round-live-card li.is-empty strong {
  color: var(--white);
}

.my-round-live-card strong,
.my-round-live-card small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-round-live-card strong {
  color: var(--white);
  font-size: 12px;
  line-height: 1.15;
}

.my-round-live-card small {
  color: var(--text-tertiary);
  font-size: 11px;
  font-weight: 700;
}

.my-round-status-note {
  max-width: 720px;
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  color: var(--text-secondary);
  background: var(--surface-ghost);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}

.my-round-status-note span {
  color: var(--orange);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.my-round-status-note strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.25;
}

.admin-day-panel {
  grid-column: 1 / -1;
  max-width: 980px;
  display: grid;
  gap: 10px;
  padding: 12px;
  color: var(--text-secondary);
  background: rgba(5, 7, 13, 0.38);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}

.admin-day-heading,
.admin-day-task,
.admin-day-task > div {
  min-width: 0;
}

.admin-day-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-day-heading span,
.admin-day-task span {
  display: block;
  color: var(--lime);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-day-heading strong {
  display: block;
  margin-top: 2px;
  color: var(--white);
  font-size: 15px;
  line-height: 1.12;
}

.admin-day-heading button,
.admin-day-task button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 10px;
  color: var(--night);
  background: var(--surface-ghost-selected);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.admin-day-heading svg {
  width: 15px;
  height: 15px;
}

.admin-day-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 8px;
}

.admin-day-task {
  display: grid;
  grid-template-rows: minmax(74px, auto) auto;
  gap: 8px;
  padding: 10px;
  background: var(--surface-ghost);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-day-task[data-state="active"] {
  border-color: var(--accent-action-border);
  background: var(--accent-action-panel);
}

.admin-day-task[data-state="done"] {
  border-color: var(--accent-success-border);
  background: var(--accent-success-soft);
}

.admin-day-task[data-state="watch"] {
  border-color: var(--accent-info-border);
  background: var(--accent-info-soft);
}

.admin-day-task strong,
.admin-day-task small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.admin-day-task strong {
  margin-top: 4px;
  color: var(--white);
  font-size: 13px;
  line-height: 1.12;
}

.admin-day-task small {
  margin-top: 4px;
  color: var(--text-tertiary);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.22;
}

.admin-day-task button {
  width: 100%;
  min-height: 44px;
}

.admin-round-status-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 8px;
}

.admin-round-status-actions[hidden],
.admin-round-status-actions button[hidden] {
  display: none;
}

.my-round-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.my-round-actions button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  color: var(--white);
  background: var(--surface-ghost-hover);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
}

.my-round-actions button.primary-action {
  color: var(--night);
  background: var(--lime);
  border-color: var(--lime);
}

.my-round-actions button.orange-action {
  color: var(--night);
  background: var(--orange);
  border-color: var(--orange);
}

.my-round-actions button.blue-action {
  color: var(--night);
  background: var(--blue);
  border-color: var(--blue);
}

.my-round-actions svg {
  width: 17px;
  height: 17px;
}

.match-ticket dl,
.finance-summary dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.match-ticket dl div,
.finance-summary dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  font-weight: 700;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.metric-tile {
  min-height: 142px;
  display: grid;
  align-content: space-between;
  padding: 18px;
  background: var(--panel);
}

.metric-tile strong {
  font-family: var(--score);
  font-weight: var(--weight-display);
  font-size: 40px;
  line-height: 1;
}

.metric-track.orange i {
  background: var(--orange);
}

.mini-stack {
  display: flex;
  min-height: 26px;
}

.mini-stack span {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: -6px;
  color: var(--night);
  background: var(--lime);
  border: 2px solid var(--panel);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
}

.split-work,
.finance-layout,
.recap-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 18px;
}

.finance-layout {
  align-items: start;
}

.player-finance-card {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  grid-column: 1 / -1;
  padding: 18px;
  color: var(--text-secondary);
  background:
    linear-gradient(135deg, var(--accent-primary-panel), var(--accent-action-soft)),
    var(--surface-panel-glass);
  border: 1px solid var(--accent-primary-border);
  border-radius: 8px;
}

.player-finance-card span,
.profile-summary-hero span,
.profile-summary-grid span,
.privacy-list strong {
  display: block;
  color: var(--lime);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.player-finance-card strong {
  display: block;
  margin-top: 3px;
  color: var(--white);
  font-family: var(--heading);
  font-size: 26px;
  line-height: 1.05;
}

.player-finance-card p {
  margin: 6px 0 0;
  color: var(--text-secondary);
  font-weight: 650;
}

.tool-surface {
  min-width: 0;
  padding: 20px;
  background: var(--surface-panel-glass);
}

.settings-surface {
  padding: 0;
}

.settings-surface > summary {
  margin: 0;
  padding: 20px;
  list-style: none;
  cursor: pointer;
}

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

.settings-surface .round-settings-form {
  padding: 0 20px 20px;
}

.public-page-settings-surface {
  grid-column: 1 / -1;
}

.public-page-settings-form textarea,
.rule-grid textarea {
  min-height: 96px;
}

.public-page-link-box {
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  margin-bottom: 4px;
}

.public-page-toggle {
  min-height: 58px;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  column-gap: 10px;
  row-gap: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-ghost);
}

.rule-grid .public-page-toggle input {
  inline-size: 22px;
  block-size: 22px;
  width: 22px;
  min-width: 22px;
  height: 22px;
  min-height: 22px;
  aspect-ratio: 1;
  align-self: start;
  justify-self: start;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--lime);
}

.public-page-toggle span {
  display: block;
  align-self: start;
  padding-top: 1px;
  color: var(--white);
  font-weight: 800;
  line-height: 1.25;
}

.public-page-toggle-locked {
  opacity: 0.72;
}

.public-page-color-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.public-page-color-row input[type="color"] {
  min-height: 48px;
  padding: 4px;
  cursor: pointer;
}

.public-page-identity-preview {
  --public-primary: var(--lime);
  --public-secondary: #ff7a18;
  --public-accent: #50d5ff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.34fr);
  gap: 12px;
  min-width: 0;
}

.public-page-preview-card,
.public-page-qr-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-ghost);
}

.public-page-preview-card {
  display: grid;
  grid-template-columns: minmax(160px, 0.46fr) minmax(0, 1fr);
}

.public-page-preview-cover {
  min-height: 196px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 46px 46px,
    radial-gradient(circle at 50% 50%, var(--public-accent), transparent 36%),
    linear-gradient(145deg, var(--public-primary), rgba(16, 22, 36, 0.94));
  background-size: auto, auto, auto;
}

.public-page-preview-cover.has-image {
  background-position: center;
  background-size: cover;
}

.public-page-preview-crest {
  width: 92px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--night);
  background: var(--public-primary);
  border: 4px solid var(--white);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  font-family: var(--display);
  font-size: 32px;
  font-weight: var(--weight-display);
}

.public-page-preview-crest img,
.public-page-qr-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.public-page-preview-copy {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.05), transparent 50%),
    rgba(16, 22, 36, 0.9);
}

.public-page-preview-copy span,
.public-page-preview-copy small,
.public-page-qr-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.public-page-preview-copy span {
  color: var(--public-primary);
  text-transform: uppercase;
}

.public-page-preview-copy strong {
  overflow-wrap: anywhere;
  font-family: var(--heading);
  font-size: clamp(24px, 4vw, 40px);
  line-height: 0.98;
  text-transform: uppercase;
}

.public-page-preview-copy p,
.public-page-preview-copy small,
.public-page-qr-card small {
  margin: 0;
  overflow-wrap: anywhere;
}

.public-page-preview-swatches {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.public-page-preview-swatches i {
  width: 28px;
  height: 10px;
  border-radius: 99px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.public-page-qr-card {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  padding: 14px;
  text-align: center;
}

.public-page-qr-card img,
.public-page-qr-card > span {
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  padding: 6px;
  color: var(--night);
  background: var(--white);
  border-radius: 8px;
  font-weight: 900;
}

.public-page-qr-card strong {
  display: block;
  margin-bottom: 4px;
}

#publicPageAdminNote {
  color: var(--muted);
  font-weight: 800;
}

.surface-heading {
  margin-bottom: 18px;
}

.surface-heading h3,
.view-header h2,
.team-column h3 {
  margin: 0;
  font-family: var(--heading);
  text-transform: uppercase;
  line-height: 1;
}

.surface-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.view-header {
  margin-bottom: 18px;
}

.view-header h2 {
  font-size: 42px;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
}

.profile-card-surface,
.profile-edit-surface,
.profile-privacy-surface {
  min-width: 0;
}

.profile-card-surface {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 20px;
  color: var(--text-secondary);
  background:
    linear-gradient(140deg, var(--accent-primary-panel), transparent 42%),
    var(--surface-panel-glass);
  border: 1px solid var(--accent-primary-border);
  border-radius: 8px;
}

.profile-summary-hero,
.profile-summary-empty {
  min-width: 0;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.profile-summary-avatar,
.profile-summary-empty > span,
.profile-photo-preview,
.sticker-avatar {
  overflow: hidden;
}

.profile-summary-avatar,
.profile-summary-empty > span {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  color: var(--night);
  background: var(--lime);
  border-radius: 50%;
  font-family: var(--score);
  font-size: 28px;
  font-weight: var(--weight-display);
}

.profile-summary-avatar img,
.profile-photo-preview img,
.sticker-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.profile-summary-hero strong,
.profile-summary-empty strong {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--white);
  font-family: var(--heading);
  font-size: 28px;
  line-height: 1.05;
}

.profile-summary-hero p,
.profile-summary-empty p,
.profile-summary-bio {
  margin: 5px 0 0;
  color: var(--text-secondary);
  font-weight: 650;
}

.profile-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.profile-summary-grid article {
  min-width: 0;
  padding: 12px;
  background: var(--surface-ghost);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.profile-summary-grid strong {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  margin-top: 4px;
  color: var(--white);
  font-size: 15px;
  line-height: 1.15;
}

.profile-summary-grid article[data-tone="orange"] {
  border-color: var(--accent-action-border);
  background: var(--accent-action-soft);
}

.profile-summary-grid article[data-tone="green"] {
  border-color: var(--accent-success-border);
  background: var(--accent-success-soft);
}

.profile-summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.profile-form label,
.profile-privacy-toggle {
  display: grid;
  gap: 6px;
}

.profile-form label > span,
.profile-privacy-toggle span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.profile-form input,
.profile-form select,
.profile-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--white);
  background: rgba(5, 7, 13, 0.48);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.profile-form textarea {
  resize: vertical;
}

.profile-form-wide,
.profile-photo-control {
  grid-column: 1 / -1;
}

.profile-photo-control {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--surface-ghost);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.profile-photo-control > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-photo-preview {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--night);
  background: var(--lime);
  border-radius: 50%;
  font-family: var(--score);
  font-size: 26px;
  font-weight: var(--weight-display);
}

.profile-privacy-toggle {
  min-height: 52px;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  column-gap: 10px;
  row-gap: 0;
  padding: 10px 12px;
  background: var(--surface-ghost);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.profile-privacy-toggle input {
  inline-size: 22px;
  block-size: 22px;
  width: 22px;
  min-width: 22px;
  height: 22px;
  min-height: 22px;
  aspect-ratio: 1;
  align-self: start;
  justify-self: start;
  margin: 2px 0 0;
  accent-color: var(--lime);
}

.profile-privacy-toggle span {
  display: block;
  align-self: start;
  padding-top: 1px;
  line-height: 1.25;
}

.privacy-list {
  display: grid;
  gap: 10px;
}

.privacy-list article {
  min-width: 0;
  padding: 12px;
  background: var(--surface-ghost);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.privacy-list span {
  display: block;
  margin-top: 4px;
  color: var(--text-secondary);
  font-weight: 650;
}

.status-pill {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  color: var(--night);
  background: var(--lime);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.status-pill[data-state="urgent"] {
  color: var(--night);
  background: var(--blue);
}

.roster-list,
.bench-list,
.payment-list,
.monthly-fee-grid,
.team-list {
  display: grid;
  gap: 10px;
}

.roster-row,
.bench-row,
.payment-row,
.monthly-fee-row,
.team-player {
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: var(--surface-ghost);
}

.roster-row strong,
.bench-row strong,
.payment-row strong,
.monthly-fee-row strong,
.team-player strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.roster-row small,
.bench-row small,
.payment-row small,
.monthly-fee-row small,
.team-player small {
  color: var(--muted);
  font-weight: 700;
}

.roster-row button,
.bench-row button,
.payment-row button,
.monthly-fee-row button,
.card-actions button {
  min-height: 44px;
  padding: 8px 10px;
  color: var(--white);
  background: var(--surface-ghost-hover);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.roster-row button:hover,
.bench-row button:hover,
.payment-row button:hover,
.monthly-fee-row button:hover,
.card-actions button:hover {
  color: var(--night);
  background: var(--lime);
}

.monthly-fee-surface {
  border-color: rgba(16, 139, 255, 0.24);
}

.round-social-event-surface {
  border-color: rgba(255, 138, 0, 0.26);
}

.round-social-event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.round-social-event-actions button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.round-social-preset {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: var(--surface-ghost);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.round-social-preset strong,
.round-social-preset small {
  display: block;
}

.round-social-preset strong {
  color: var(--white);
}

.round-social-preset small {
  margin-top: 3px;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.35;
}

.monthly-fee-row {
  border: 1px solid transparent;
}

.monthly-fee-row.is-paid {
  border-color: rgba(183, 255, 32, 0.22);
}

.monthly-fee-row[data-mode="exempt"] {
  opacity: 0.78;
}

.monthly-fee-row .fee-mode-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.monthly-fee-row .fee-mode-actions button {
  min-height: 44px;
  padding: 6px 8px;
  font-size: 12px;
}

.monthly-fee-row .fee-mode-actions button.is-active {
  color: var(--night);
  background: var(--lime);
  border-color: transparent;
}

.pitch-surface {
  background:
    linear-gradient(140deg, rgba(8, 196, 107, 0.18), var(--surface-panel-glass)),
    var(--panel);
}

.add-player {
  display: grid;
  grid-template-columns: 180px 128px auto;
  gap: 8px;
}

.add-player input,
.add-player select,
textarea {
  min-height: 44px;
  width: 100%;
  color: var(--white);
  background: var(--surface-ghost-hover);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}

.add-player input,
.add-player select {
  padding: 0 12px;
}

textarea {
  resize: vertical;
  padding: 14px;
}

.add-player input:focus,
.add-player select:focus,
textarea:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px var(--accent-primary-panel);
}

.segmented-control {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.segmented-control button {
  min-height: 44px;
  padding: 10px 14px;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}

.segmented-control button.is-active {
  color: var(--night);
  background: var(--lime);
  border-color: var(--lime);
}

.team-command-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.58fr) minmax(180px, 0.58fr) minmax(240px, 0.88fr);
  gap: 12px;
  margin-bottom: 18px;
}

.team-progress-card,
.team-pack-card {
  min-height: 116px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  padding: 18px;
  background: rgba(16, 22, 36, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.team-progress-card span,
.team-progress-card small,
.team-pack-card > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.team-progress-card strong {
  font-family: var(--heading);
  font-size: 42px;
  line-height: 1;
}

.team-progress-card.accent-orange strong {
  color: var(--orange);
}

.team-progress-card.accent-blue strong {
  color: var(--blue);
}

.badge-stack-large {
  min-height: 56px;
  max-width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.badge-stack-large span {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: -10px;
  color: var(--night);
  background: var(--lime);
  border: 4px solid var(--panel);
  border-radius: 50%;
  font-family: var(--heading);
  font-size: 16px;
  line-height: 1;
}

.badge-stack-large span:nth-child(3n) {
  background: var(--orange);
}

.badge-stack-large span:nth-child(4n) {
  background: var(--green);
}

.sticker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
  gap: 14px;
}

.sticker-card {
  min-height: 254px;
  position: relative;
  overflow: hidden;
  padding: 14px;
  background:
    linear-gradient(160deg, rgba(183, 255, 32, 0.16), transparent 26%),
    linear-gradient(135deg, var(--border-subtle) 0 16%, transparent 16%),
    var(--panel);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.sticker-card::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  pointer-events: none;
}

.sticker-card::after {
  content: "BR";
  position: absolute;
  right: -4px;
  bottom: 46px;
  color: var(--surface-ghost);
  font-family: var(--heading);
  font-size: 72px;
  line-height: 1;
  pointer-events: none;
}

.sticker-card:hover {
  transform: translateY(-4px) rotate(-1deg);
  border-color: rgba(183, 255, 32, 0.5);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.26);
}

.sticker-status {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.sticker-status span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 6px 9px;
  color: var(--night);
  background: var(--lime);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.sticker-avatar {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  margin: 22px auto 18px;
  color: var(--night);
  background: var(--lime);
  border: 8px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  box-shadow: inset 0 -10px 0 rgba(5, 7, 13, 0.14);
  font-family: var(--heading);
  font-size: 28px;
  line-height: 1;
}

.sticker-card h3 {
  min-height: 48px;
  margin: 0;
  font-family: var(--heading);
  font-size: 24px;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.sticker-card p {
  margin: 8px 0 14px;
  color: var(--muted);
  text-align: center;
  font-weight: 700;
}

.card-actions {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.card-actions button {
  min-width: 0;
}

.sticker-card[data-status="maybe"] .sticker-avatar,
.sticker-card[data-status="maybe"] .sticker-status span {
  background: var(--blue);
}

.sticker-card[data-status="reserve"] .sticker-avatar,
.sticker-card[data-status="reserve"] .sticker-status span {
  background: var(--orange);
}

.sticker-card[data-status="out"] {
  filter: grayscale(0.7);
  opacity: 0.66;
}

.sticker-card[data-status="out"] .sticker-avatar,
.sticker-card[data-status="out"] .sticker-status span {
  background: var(--muted);
}

.amount-chip {
  min-height: 58px;
  display: grid;
  align-content: center;
  padding: 10px 16px;
  color: var(--night);
  background: var(--lime);
  border-radius: 8px;
}

.amount-chip strong {
  font-family: var(--heading);
  font-size: 28px;
  line-height: 1;
}

.finance-summary {
  min-height: 420px;
  display: grid;
  align-content: center;
  gap: 22px;
  padding: 24px;
  background: var(--paper);
  color: var(--night);
}

.finance-summary dt {
  color: #52606f;
}

.cash-ring {
  width: 190px;
  height: 190px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--paper) 0 56%, transparent 57%),
    conic-gradient(var(--green) var(--cash-angle, 0deg), #dbe1d2 0);
}

.cash-ring span {
  font-family: var(--heading);
  font-size: 44px;
}

.payment-row.is-paid {
  background: var(--accent-primary-panel);
}

.bench-row.is-called,
.admin-reserve-call {
  border-color: rgba(255, 90, 20, 0.48);
  box-shadow: inset 4px 0 0 var(--orange);
}

.finance-ledger-surface {
  grid-column: 1 / -1;
}

.finance-ledger-list {
  display: grid;
  gap: 8px;
}

.ledger-row {
  min-height: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--surface-ghost);
  border: 1px solid transparent;
  border-radius: 8px;
}

.ledger-row strong,
.ledger-row small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ledger-row small,
.ledger-note {
  color: var(--muted);
  font-weight: 700;
}

.ledger-row span {
  font-family: var(--heading);
  font-size: 18px;
}

.ledger-row[data-kind="income"] {
  border-color: rgba(183, 255, 32, 0.2);
}

.ledger-row[data-kind="expense"] span {
  color: var(--orange);
}

.ledger-row[data-kind="pending"] span {
  color: var(--blue);
}

.ledger-row[data-kind="balance"] span,
.status-pill[data-state="positive"] {
  color: var(--night);
  background: var(--lime);
}

.status-pill[data-state="negative"] {
  color: var(--white);
  background: var(--orange);
}

.ledger-note {
  display: block;
  margin-top: 12px;
  text-transform: uppercase;
}

.teams-state-strip,
.result-gate-note,
.recap-publish-status {
  display: block;
  margin-bottom: 12px;
  padding: 10px 12px;
  color: var(--text-secondary);
  background: var(--surface-ghost);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.teams-state-strip[data-state="official"],
.teams-state-strip[data-state="shared"],
.result-gate-note[data-state="ready"] {
  color: var(--night);
  background: var(--lime);
  border-color: var(--white);
}

.teams-state-strip[data-state="preview"] {
  display: none;
}

.recap-publish-status {
  margin: 10px 0 0;
}

.match-flow-slot {
  margin: 0 0 18px;
}

.match-flow-panel {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: 14px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(24, 32, 33, 0.92), rgba(13, 19, 20, 0.94)),
    var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid rgba(183, 255, 32, 0.64);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.match-flow-panel[data-state="active"],
.match-flow-panel[data-state="ready"] {
  border-left-color: var(--orange);
}

.match-flow-panel[data-state="locked"] {
  border-left-color: var(--blue);
}

.match-flow-panel[data-state="shared"],
.match-flow-panel[data-state="official"] {
  border-left-color: var(--lime);
}

.match-flow-main {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.match-flow-main > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.match-flow-main span,
.match-flow-grid article > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.match-flow-main span {
  color: var(--lime);
}

.match-flow-main i,
.match-flow-grid article i,
.match-flow-action i {
  width: 16px;
  height: 16px;
}

.match-flow-main strong {
  color: var(--white);
  font-family: var(--heading);
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  font-weight: 900;
  line-height: 0.92;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.match-flow-main p {
  max-width: 780px;
  margin: 0;
  color: var(--text-secondary);
  font-weight: 800;
  line-height: 1.3;
}

.match-flow-main em {
  min-width: 86px;
  padding: 10px 12px;
  color: var(--night);
  background: var(--lime);
  border-radius: 8px;
  font-family: var(--heading);
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.match-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.match-flow-grid article {
  min-width: 0;
  min-height: 106px;
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 12px;
  background: var(--surface-ghost);
  border: 1px solid var(--line);
  border-left: 3px solid rgba(183, 255, 32, 0.44);
  border-radius: 8px;
}

.match-flow-grid article[data-tone="orange"] {
  border-left-color: var(--orange);
}

.match-flow-grid article[data-tone="blue"] {
  border-left-color: var(--blue);
}

.match-flow-grid article[data-tone="lime"],
.match-flow-grid article[data-tone="green"] {
  border-left-color: var(--lime);
}

.match-flow-grid article strong {
  min-width: 0;
  color: var(--white);
  font-family: var(--heading);
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.match-flow-grid article small {
  min-width: 0;
  color: var(--text-secondary);
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.match-flow-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.match-flow-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 14px;
  color: var(--night);
  background: var(--lime);
  border: 1px solid var(--lime);
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--heading);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  transition: transform 170ms var(--ease-standard), border-color 170ms var(--ease-standard), background 170ms var(--ease-standard);
}

.match-flow-action:hover {
  transform: translateY(-1px);
}

.match-flow-action.is-secondary {
  color: var(--white);
  background: var(--surface-ghost-hover);
  border-color: var(--line);
}

@media (max-width: 760px) {
  .match-flow-panel {
    gap: 8px;
    padding: 12px;
  }

  .match-flow-main {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .match-flow-main strong {
    font-size: clamp(1.8rem, 9vw, 2.45rem);
  }

  .match-flow-main p {
    font-size: 0.95rem;
  }

  .match-flow-main em {
    width: fit-content;
    min-width: 0;
    padding: 7px 10px;
    font-size: 1rem;
  }

  .match-flow-grid {
    order: 3;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .match-flow-grid article {
    min-height: 84px;
    padding: 9px;
  }

  .match-flow-grid article strong {
    font-size: 1.18rem;
  }

  .match-flow-grid article small {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 0.7rem;
    line-height: 1.12;
  }

  .match-flow-actions {
    order: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .match-flow-action.is-primary {
    grid-column: 1 / -1;
  }
}

.teams-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.team-column,
.versus-card {
  min-height: 520px;
  padding: 20px;
  background:
    linear-gradient(180deg, var(--accent-primary-panel), transparent 38%),
    var(--panel);
}

.orange-team {
  background:
    linear-gradient(180deg, rgba(255, 90, 20, 0.16), transparent 38%),
    var(--panel);
}

.team-column h3 {
  margin: 4px 0 18px;
  font-size: 36px;
}

.versus-card {
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--paper);
  color: var(--night);
}

.versus-card strong {
  font-family: var(--heading);
  font-size: 68px;
  line-height: 1;
}

.versus-card span {
  font-weight: 700;
  text-transform: uppercase;
}

.team-player {
  grid-template-columns: 42px minmax(0, 1fr) auto;
}

.team-player.has-team-action {
  grid-template-columns: 42px minmax(0, 1fr) auto minmax(80px, auto);
}

.team-player i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--night);
  background: var(--lime);
  border-radius: 50%;
  font-style: normal;
  font-weight: 700;
}

.orange-team .team-player i {
  background: var(--orange);
}

.team-player button {
  min-height: 44px;
  padding: 7px 10px;
  color: var(--white);
  background: var(--surface-ghost-hover);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.team-drawer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 280px;
  z-index: 90;
  display: none;
  transform: translateY(calc(100% - 54px));
  transition: transform 260ms cubic-bezier(0.19, 1, 0.22, 1);
  pointer-events: none;
}

body[data-view="times"]:not(.is-locked) .team-drawer.is-open {
  display: block;
}

.team-drawer.is-open {
  transform: translateY(0);
}

.team-drawer:not(.is-open) .team-drawer-panel {
  display: none;
}

.team-drawer-toggle {
  min-width: 134px;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto;
  padding: 10px 18px;
  color: var(--night);
  background: var(--lime);
  border: 2px solid var(--white);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 -12px 28px rgba(0, 0, 0, 0.32);
  cursor: pointer;
  font-family: var(--heading);
  line-height: 1;
  text-transform: uppercase;
  pointer-events: auto;
}

.team-drawer-toggle strong {
  padding: 4px 7px;
  color: var(--white);
  background: var(--night);
  border-radius: 999px;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
}

.team-drawer-panel {
  min-height: 326px;
  padding: 18px 0 22px;
  background: var(--surface-overlay-strong);
  border-top: 1px solid var(--line);
  box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(16px);
  pointer-events: auto;
}

.team-drawer-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px max(18px, calc((100vw - 1180px) / 2)) 12px;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.team-drawer-track::-webkit-scrollbar {
  display: none;
}

.team-drawer-card {
  width: 174px;
  min-height: 252px;
  flex: 0 0 174px;
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 12px;
  padding: 14px;
  color: var(--night);
  text-align: left;
  background: var(--paper);
  border: 2px solid var(--white);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.36);
  cursor: pointer;
  scroll-snap-align: center;
  transform: rotate(-2deg);
  transition: transform 170ms ease, filter 170ms ease;
}

.team-drawer-card:nth-child(even) {
  transform: rotate(2deg) translateY(8px);
}

.team-drawer-card:hover {
  filter: brightness(1.04);
  transform: translateY(-5px) rotate(0deg);
}

.team-drawer-card[data-tone="lime"] {
  background: var(--lime);
}

.team-drawer-card[data-tone="orange"] {
  background: var(--orange);
}

.team-drawer-card[data-tone="blue"] {
  background: var(--blue);
}

.team-drawer-card[data-tone="muted"] {
  color: var(--white);
  background: #303846;
}

.team-drawer-card span,
.team-drawer-card small {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.team-drawer-card span {
  color: var(--text-on-accent-muted);
}

.team-drawer-card[data-tone="muted"] span {
  color: rgba(255, 255, 255, 0.66);
}

.team-drawer-card strong {
  overflow-wrap: anywhere;
  font-family: var(--heading);
  font-size: 50px;
  line-height: 0.88;
  text-transform: uppercase;
}

.team-drawer-card b {
  min-height: 30px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.team-drawer-card i,
.team-drawer-card em {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--surface-overlay);
  border-radius: 50%;
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
}

.team-column.is-pulsing {
  animation: teamPulse 850ms ease;
}

@keyframes teamPulse {
  0%,
  100% {
    border-color: var(--line);
    transform: translateY(0);
  }
  34% {
    border-color: var(--lime);
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(183, 255, 32, 0.18);
  }
}

.recap-layout {
  align-items: start;
}

.share-card {
  min-height: 520px;
  display: grid;
  align-content: space-between;
  padding: 28px;
  color: var(--white);
  background:
    linear-gradient(140deg, rgba(5, 7, 13, 0.96), rgba(5, 7, 13, 0.48)),
    url("assets/resenha-community.webp") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.share-card-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.share-card h3 {
  max-width: 460px;
  margin: 60px 0 20px;
  font-family: var(--heading);
  font-size: 58px;
  line-height: 0.98;
  text-transform: uppercase;
}

.share-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.share-stats div {
  min-height: 92px;
  display: grid;
  align-content: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.share-stats span {
  font-family: var(--heading);
  font-size: 32px;
  line-height: 1;
}

.share-stats small,
.share-card p {
  color: var(--text-secondary);
  font-weight: 800;
}

.share-score {
  width: fit-content;
  max-width: 100%;
  padding: 10px 12px;
  color: var(--night);
  background: var(--lime);
  border: 2px solid var(--white);
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
  font-family: var(--heading);
  font-size: 20px;
  line-height: 1;
  text-transform: uppercase;
}

.story-card-surface {
  margin-top: 18px;
}

.story-card-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.story-card-tabs button {
  min-height: 44px;
  padding: 8px 14px;
  color: var(--text-secondary);
  background: var(--surface-ghost);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.story-card-tabs button.is-active {
  color: var(--night);
  background: var(--lime);
  border-color: var(--lime);
}

.story-card-workbench {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.story-card-preview {
  min-height: 568px;
  aspect-ratio: 9 / 16;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 22px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 16%, rgba(255, 255, 255, 0.14), transparent 22%),
    radial-gradient(circle at 12% 84%, rgba(183, 255, 32, 0.18), transparent 24%),
    linear-gradient(150deg, rgba(5, 7, 13, 1), rgba(17, 24, 39, 0.96));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.story-card-preview[data-card-type="mvp"] {
  background:
    radial-gradient(circle at 82% 16%, rgba(54, 197, 255, 0.24), transparent 22%),
    radial-gradient(circle at 12% 84%, rgba(183, 255, 32, 0.16), transparent 24%),
    linear-gradient(150deg, rgba(5, 7, 13, 1), rgba(17, 24, 39, 0.96));
}

.story-card-preview[data-card-type="spot"] {
  background:
    radial-gradient(circle at 82% 16%, rgba(255, 138, 0, 0.24), transparent 22%),
    radial-gradient(circle at 12% 84%, rgba(54, 197, 255, 0.16), transparent 24%),
    linear-gradient(150deg, rgba(5, 7, 13, 1), rgba(17, 24, 39, 0.96));
}

.story-card-preview > span {
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.story-card-preview h3 {
  margin: 0;
  overflow-wrap: anywhere;
  font-family: var(--heading);
  font-size: 46px;
  line-height: 0.95;
  text-transform: uppercase;
}

.story-card-preview strong {
  color: var(--lime);
  font-family: var(--heading);
  font-size: 22px;
  line-height: 1;
  text-transform: uppercase;
}

.story-card-preview p,
.story-card-preview small {
  margin: 0;
  color: var(--text-secondary);
  font-weight: 800;
}

.story-card-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.story-card-stat-grid span {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.story-card-stat-grid strong {
  overflow: hidden;
  color: var(--white);
  font-family: var(--heading);
  font-size: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.story-card-stat-grid small {
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.story-card-side {
  min-width: 0;
  display: grid;
  align-content: space-between;
  gap: 14px;
  padding: 16px;
  background: var(--surface-ghost);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.story-card-side p {
  margin: 0;
  color: var(--text-secondary);
  font-weight: 800;
}

.story-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.result-surface {
  margin-top: 18px;
}

.public-media-surface {
  margin-top: 18px;
}

.public-media-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.public-media-form label {
  display: grid;
  gap: 8px;
}

.public-media-form label span,
.public-media-row small,
.public-media-empty small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.public-media-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  color: var(--white);
  background: var(--surface-ghost-hover);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}

.public-media-form input:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px var(--accent-primary-panel);
}

.public-media-toggle {
  min-height: 58px;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  column-gap: 10px;
  row-gap: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-ghost);
}

.public-media-toggle input {
  inline-size: 22px;
  block-size: 22px;
  width: 22px;
  min-width: 22px;
  height: 22px;
  min-height: 22px;
  aspect-ratio: 1;
  align-self: start;
  justify-self: start;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--lime);
}

.public-media-toggle span {
  display: block;
  align-self: start;
  padding-top: 1px;
  line-height: 1.25;
}

.public-media-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.public-media-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.public-media-row,
.public-media-empty {
  min-width: 0;
  display: grid;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: var(--surface-ghost);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.public-media-row {
  grid-template-columns: 92px minmax(0, 1fr) auto;
}

.public-media-row[data-public="false"] {
  opacity: 0.72;
}

.public-media-row img {
  width: 92px;
  height: 72px;
  object-fit: cover;
  background: var(--surface-ghost-hover);
  border-radius: 8px;
}

.public-media-row strong,
.public-media-empty strong {
  display: block;
  overflow-wrap: anywhere;
}

.public-media-row code {
  display: block;
  max-width: 100%;
  margin-top: 6px;
  overflow: hidden;
  color: var(--muted);
  font-family: var(--body);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-media-row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.public-media-row-actions button {
  min-height: 44px;
  padding: 8px 10px;
  color: var(--white);
  background: var(--surface-ghost-hover);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.public-media-empty {
  grid-template-columns: auto minmax(0, 1fr);
}

.public-media-empty i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--night);
  background: var(--lime);
  border-radius: 8px;
  font-style: normal;
  font-weight: 900;
}

.round-result-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.round-result-summary article {
  min-height: 112px;
  display: grid;
  align-content: space-between;
  padding: 14px;
  color: var(--night);
  background: var(--paper);
  border-radius: 8px;
}

.round-result-summary article:nth-child(1) {
  background: var(--lime);
}

.round-result-summary article:nth-child(3) {
  background: var(--green);
}

.round-result-summary span {
  color: var(--text-on-accent-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.round-result-summary strong {
  overflow-wrap: anywhere;
  font-family: var(--heading);
  font-size: 30px;
  line-height: 0.98;
  text-transform: uppercase;
}

.round-result-form {
  display: grid;
  gap: 14px;
}

.round-result-form.is-gated {
  opacity: 0.66;
}

.round-result-form.is-gated input,
.round-result-form.is-gated select,
.round-result-form.is-gated textarea {
  cursor: not-allowed;
}

.score-inputs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px minmax(0, 1fr);
  align-items: end;
  gap: 12px;
}

.score-inputs strong {
  min-height: 54px;
  display: grid;
  place-items: center;
  color: var(--night);
  background: var(--orange);
  border-radius: 8px;
  font-family: var(--heading);
  font-size: 28px;
  text-transform: uppercase;
}

.round-result-form label {
  display: grid;
  gap: 8px;
}

.round-result-form label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.round-result-form input,
.round-result-form select,
.round-result-form textarea {
  width: 100%;
  min-height: 54px;
  padding: 12px;
  color: var(--white);
  background: var(--surface-ghost);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
}

.round-result-form textarea {
  resize: vertical;
}

.season-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: 18px;
  margin-bottom: 18px;
}

.season-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.season-quick-card {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 132px;
  padding: 14px;
  color: var(--text-secondary);
  background: var(--surface-panel-glass);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.season-quick-card[data-tone="lime"] {
  border-color: var(--border-accent);
  background: var(--accent-primary-soft);
}

.season-quick-card[data-tone="green"] {
  border-color: rgba(8, 196, 107, 0.38);
  background: var(--accent-success-soft);
}

.season-quick-card[data-tone="blue"] {
  border-color: var(--accent-info-border);
  background: var(--accent-info-soft);
}

.season-quick-card span,
.season-quick-card strong,
.season-quick-card small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.season-quick-card span {
  color: var(--lime);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.season-quick-card strong {
  color: var(--white);
  font-size: 17px;
  line-height: 1.12;
}

.season-quick-card small {
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.3;
}

.season-quick-card button {
  width: fit-content;
  min-height: 38px;
  margin-top: auto;
  padding: 8px 10px;
  color: var(--night);
  background: var(--lime);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.season-hero-panel {
  min-height: 520px;
  display: grid;
  align-content: space-between;
  gap: 22px;
  padding: 26px;
  color: var(--night);
  background:
    linear-gradient(135deg, var(--border-strong) 0 18%, transparent 18%),
    var(--green);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.season-hero-panel > span {
  width: 92px;
  height: 118px;
  display: grid;
  place-items: center;
  background: var(--paper);
  border: 6px solid var(--night);
  border-radius: 8px;
  font-family: var(--heading);
  font-size: 32px;
}

.season-hero-panel h3 {
  margin: 0;
  font-family: var(--heading);
  font-size: 58px;
  line-height: 0.94;
  text-transform: uppercase;
}

.season-hero-panel p:not(.eyebrow) {
  max-width: 420px;
  margin: 12px 0 0;
  font-size: 20px;
  font-weight: 700;
}

.season-xp-meter {
  display: grid;
  gap: 10px;
}

.season-xp-meter strong {
  font-family: var(--heading);
  font-size: 36px;
  line-height: 1;
}

.season-ranking-list,
.season-hall-list {
  display: grid;
  gap: 10px;
}

.season-ranking-row,
.season-hall-row {
  width: 100%;
  min-height: 78px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--surface-ghost);
  border: 1px solid var(--surface-ghost-hover);
  border-radius: 8px;
}

button.season-ranking-row {
  cursor: pointer;
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

button.season-ranking-row:hover,
button.season-ranking-row.is-active {
  background: var(--accent-primary-soft);
  border-color: rgba(183, 255, 32, 0.5);
  transform: translateY(-1px);
}

.season-ranking-row i,
.season-hall-row span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--night);
  background: var(--lime);
  border-radius: 50%;
  font-family: var(--heading);
  font-style: normal;
}

.season-ranking-row strong,
.season-hall-row strong {
  display: block;
  overflow: hidden;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.season-ranking-row small,
.season-hall-row small {
  color: var(--muted);
  font-weight: 800;
}

.season-ranking-row b,
.season-hall-row b {
  color: var(--lime);
  font-family: var(--heading);
  font-size: 18px;
  white-space: nowrap;
}

.season-mini-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.season-mini-badges span {
  padding: 4px 7px;
  color: var(--night);
  background: var(--paper);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.season-badge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.season-badge-card {
  min-height: 154px;
  display: grid;
  align-content: space-between;
  padding: 18px;
  color: var(--night);
  background: var(--paper);
  border-radius: 8px;
}

.season-badge-card[data-tone="lime"] {
  background: var(--lime);
}

.season-badge-card[data-tone="green"] {
  background: var(--green);
}

.season-badge-card[data-tone="orange"] {
  background: var(--orange);
}

.season-badge-card span {
  color: var(--text-on-accent-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.season-badge-card strong {
  overflow-wrap: anywhere;
  font-family: var(--heading);
  font-size: 32px;
  line-height: 0.98;
  text-transform: uppercase;
}

.season-bottom-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(250px, 0.75fr) minmax(0, 1.15fr);
  gap: 18px;
}

.season-profile-surface {
  align-content: start;
}

.season-profile-panel {
  display: grid;
  gap: 14px;
}

.season-profile-identity {
  min-height: 74px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.season-profile-identity i {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--night);
  background: var(--orange);
  border-radius: 50%;
  font-family: var(--heading);
  font-style: normal;
}

.season-profile-identity strong {
  display: block;
  overflow: hidden;
  font-family: var(--heading);
  font-size: 26px;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.season-profile-identity small,
.season-profile-panel small {
  color: var(--muted);
  font-weight: 800;
}

.season-profile-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.season-profile-stats article {
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 10px;
  background: var(--surface-ghost);
  border: 1px solid var(--surface-ghost-hover);
  border-radius: 8px;
}

.season-profile-stats span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.season-profile-stats strong {
  color: var(--lime);
  font-family: var(--heading);
  font-size: 28px;
  line-height: 1;
}

.season-profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.season-profile-badges span {
  padding: 6px 8px;
  color: var(--night);
  background: var(--paper);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.season-profile-panel p {
  margin: 0;
  color: var(--paper);
  font-size: 18px;
  font-weight: 700;
}

.feed-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.3fr);
  gap: 18px;
  margin-bottom: 18px;
}

.feed-signal-card {
  min-height: 520px;
  display: grid;
  align-content: space-between;
  gap: 20px;
  padding: 26px;
  color: var(--night);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0 16%, transparent 16%),
    var(--lime);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feed-signal-card span,
.badge-card span,
.badge-card small,
.feed-event small {
  color: var(--text-on-accent-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.feed-signal-card strong {
  font-family: var(--heading);
  font-size: 64px;
  line-height: 0.9;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.feed-signal-card p {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.feed-list {
  display: grid;
  gap: 10px;
}

.feed-event {
  min-height: 70px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--surface-ghost);
  border: 1px solid var(--surface-ghost-hover);
  border-radius: 8px;
}

.feed-event i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--night);
  background: var(--lime);
  border-radius: 50%;
  font-style: normal;
  font-weight: 700;
}

.feed-event[data-tone="orange"] i {
  background: var(--orange);
}

.feed-event[data-tone="green"] i {
  background: var(--green);
}

.feed-event[data-tone="blue"] i {
  background: var(--blue);
}

.feed-event strong {
  display: block;
  overflow: hidden;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-event em {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.badge-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.badge-card {
  min-height: 170px;
  display: grid;
  align-content: space-between;
  padding: 20px;
  color: var(--night);
  background: var(--paper);
  border-radius: 8px;
}

.badge-card strong {
  font-family: var(--heading);
  font-size: 44px;
  line-height: 0.94;
  text-transform: uppercase;
}

.badge-card.accent-orange {
  background: var(--orange);
}

.badge-card.accent-green {
  background: var(--green);
}

.announcements-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.68fr) minmax(0, 1.32fr);
  gap: 18px;
  margin-bottom: 18px;
}

.announcement-signal-card {
  min-height: 460px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 26px;
  color: var(--night);
  background:
    linear-gradient(135deg, var(--border-strong) 0 18%, transparent 18%),
    var(--blue);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.announcement-signal-card span,
.announcement-signal-card small {
  color: var(--text-on-accent-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.announcement-row small,
.announcement-form label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.announcement-signal-card strong {
  font-family: var(--heading);
  font-size: 58px;
  line-height: 0.92;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.announcement-signal-card p {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.announcement-list {
  display: grid;
  gap: 10px;
}

.announcement-row {
  min-height: 92px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 14px;
  background: var(--surface-ghost);
  border: 1px solid var(--surface-ghost-hover);
  border-radius: 8px;
}

.announcement-row i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--night);
  background: var(--lime);
  border-radius: 50%;
  font-style: normal;
  font-weight: 700;
}

.announcement-row[data-kind="urgent"] i {
  background: var(--blue);
}

.announcement-row strong {
  display: block;
  margin-bottom: 4px;
  overflow: visible;
  font-weight: 700;
  text-overflow: clip;
  overflow-wrap: anywhere;
}

.announcement-row p {
  margin: 0 0 8px;
  color: var(--text-secondary);
  font-weight: 750;
}

.announcement-form-surface {
  margin-top: 18px;
}

.announcement-form {
  display: grid;
  gap: 12px;
}

.announcement-form label {
  display: grid;
  gap: 8px;
}

.announcement-form input,
.announcement-form textarea,
.announcement-form select {
  min-height: 46px;
  width: 100%;
  padding: 0 12px;
  color: var(--white);
  background: var(--surface-ghost-hover);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}

.announcement-form textarea {
  min-height: 112px;
  padding: 14px;
}

.announcement-form input:focus,
.announcement-form textarea:focus,
.announcement-form select:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px var(--accent-primary-panel);
}

.announcement-form-actions {
  display: grid;
  grid-template-columns: minmax(180px, 0.25fr) auto;
  gap: 10px;
  justify-content: end;
}

.admin-command-center {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(180px, 0.45fr) minmax(220px, 0.6fr);
  align-items: start;
  gap: 14px;
  margin-bottom: 18px;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  margin: -6px 0 18px;
  padding: 6px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-tabs::-webkit-scrollbar {
  display: none;
}

.admin-tabs button {
  min-height: 44px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--heading);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: transform 180ms var(--ease-standard), background 180ms var(--ease-standard), color 180ms var(--ease-standard), border-color 180ms var(--ease-standard);
}

.admin-tabs button:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.admin-tabs button.is-active {
  color: var(--night);
  background: var(--lime);
  border-color: rgba(183, 255, 32, 0.74);
  box-shadow: 0 12px 34px rgba(183, 255, 32, 0.12);
}

.admin-tab-panel[hidden] {
  display: none !important;
}

.admin-tab-panel {
  animation: adminPanelEnter 220ms var(--ease-standard) both;
}

.admin-invite-surface {
  display: grid;
  gap: 16px;
}

.admin-tab-copy {
  max-width: 760px;
  margin: 0;
  color: var(--muted-strong);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.admin-tab-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@keyframes adminPanelEnter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.admin-hero-card,
.admin-stat-card {
  min-height: 178px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-hero-card {
  color: var(--night);
  background:
    linear-gradient(135deg, var(--border-strong) 0 18%, transparent 18%),
    var(--lime);
}

.admin-hero-card span,
.admin-stat-card span,
.admin-stat-card small,
.rule-grid span,
.audit-row small,
.admin-player-row small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.admin-hero-card span {
  color: rgba(5, 7, 13, 0.64);
}

.admin-hero-card strong,
.admin-stat-card strong {
  font-family: var(--heading);
  line-height: 0.95;
  text-transform: uppercase;
}

.admin-hero-card strong {
  font-size: 46px;
}

.admin-hero-card p {
  max-width: 560px;
  margin: 0;
  font-weight: 700;
}

.admin-link-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
}

.admin-link-box code {
  min-width: 0;
  inline-size: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 10px 12px;
  color: var(--white);
  background: rgba(5, 7, 13, 0.9);
  border-radius: 8px;
  font-family: var(--body);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-link-box button,
.admin-link-box a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  color: var(--night);
  background: var(--white);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
}

.admin-link-box svg {
  width: 16px;
  height: 16px;
}

.admin-secondary-link {
  min-height: 44px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  color: var(--night);
  background: rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
}

.admin-secondary-link:disabled {
  cursor: not-allowed;
  opacity: 0.54;
}

.admin-secondary-link svg {
  width: 16px;
  height: 16px;
}

.admin-next-round-status {
  width: fit-content;
  padding: 5px 8px;
  color: rgba(5, 7, 13, 0.72);
  background: rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.admin-checklist {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.admin-checklist span {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 9px;
  color: var(--night);
  background: rgba(255, 255, 255, 0.44);
  border: 1px solid rgba(5, 7, 13, 0.12);
  border-radius: 8px;
}

.admin-checklist span[data-state="ok"] {
  background: rgba(255, 255, 255, 0.68);
}

.admin-checklist span[data-state="active"],
.admin-checklist span[data-state="pending"] {
  background: rgba(255, 90, 20, 0.22);
}

.admin-checklist i {
  overflow: hidden;
  color: var(--text-on-accent-muted);
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-checklist strong {
  overflow-wrap: anywhere;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.08;
  text-transform: none;
}

.admin-stat-card {
  background: var(--surface-panel-glass);
}

.admin-stat-card strong {
  font-size: 54px;
}

.admin-stat-card.accent-orange strong {
  color: var(--orange);
  font-size: 38px;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 18px;
  margin-bottom: 18px;
}

.rule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.round-settings-form {
  display: grid;
  gap: 14px;
}

.is-just-updated {
  animation: justUpdatedPulse 820ms var(--ease-standard) both;
}

.rule-grid label {
  display: grid;
  gap: 8px;
}

.rule-grid input,
.rule-grid select {
  min-height: 46px;
  width: 100%;
  padding: 0 12px;
  color: var(--white);
  background: var(--surface-ghost-hover);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}

.rule-grid input:focus,
.rule-grid select:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px var(--accent-primary-panel);
}

.settings-actions {
  display: flex;
  justify-content: flex-end;
}

.audit-surface {
  background:
    linear-gradient(140deg, rgba(255, 90, 20, 0.16), var(--surface-panel-glass)),
    var(--panel);
}

.audit-list,
.admin-table {
  display: grid;
  gap: 10px;
}

.audit-row,
.admin-player-row {
  min-height: 58px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--surface-ghost);
  border: 1px solid var(--surface-ghost-hover);
  border-radius: 8px;
}

.audit-row i,
.admin-player-row i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--night);
  background: var(--lime);
  border-radius: 50%;
  font-style: normal;
  font-weight: 700;
}

.audit-row strong,
.admin-player-row strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-player-row {
  grid-template-columns: 42px minmax(0, 1fr) minmax(86px, 110px) minmax(120px, auto) auto;
}

.admin-player-row[data-status="reserve"] i {
  background: var(--orange);
}

.admin-player-row[data-status="maybe"] i {
  background: var(--blue);
}

.admin-player-row[data-status="out"] {
  opacity: 0.58;
}

.admin-player-row[data-status="out"] i {
  background: var(--muted);
}

.admin-player-row button {
  min-height: 44px;
  padding: 8px 10px;
  color: var(--night);
  background: var(--lime);
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.swarm {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 100;
}

.app-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 130;
  max-width: min(360px, calc(100vw - 28px));
  padding: 13px 15px;
  color: var(--night);
  background: var(--white);
  border: 2px solid rgba(5, 7, 13, 0.2);
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.app-toast[data-tone="success"] {
  background: var(--lime);
}

.app-toast[data-tone="error"] {
  color: var(--white);
  background: var(--danger);
}

.swarm-chip {
  position: absolute;
  width: 74px;
  height: 96px;
  display: grid;
  place-items: center;
  color: var(--night);
  background: var(--lime);
  border: 6px solid var(--white);
  border-radius: 8px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.32);
  font-family: var(--heading);
  font-size: 22px;
  animation: swarmFly 950ms cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.swarm-chip:nth-child(3n) {
  background: var(--orange);
}

.swarm-chip:nth-child(4n) {
  background: var(--green);
}

@keyframes swarmFly {
  0% {
    opacity: 0;
    transform: translate(var(--start-x), var(--start-y)) rotate(var(--rot-start)) scale(0.35);
  }
  28% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(var(--end-x), var(--end-y)) rotate(var(--rot-end)) scale(1);
  }
}

@keyframes justUpdatedPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(183, 255, 32, 0);
  }
  35% {
    box-shadow: 0 0 0 4px rgba(183, 255, 32, 0.34);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(183, 255, 32, 0);
  }
}

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

	  .patota-loader,
	  .patota-loader::before,
	  .patota-loader-status span,
	  .patota-loader-bar,
	  .patota-loader.is-done,
	  .login-orbit span,
	  .view,
	  .nav-item,
	  .nav-more summary,
	  .primary-button,
	  .ghost-button,
	  .light-button,
	  .stage-step,
	  .team-drawer,
	  .team-drawer-card,
	  .team-column.is-pulsing,
  .swarm-chip,
  .is-just-updated {
    animation: none !important;
    transition: none !important;
  }

  .patota-loader.is-done {
    opacity: 0;
    transform: translateY(-12px);
  }
}

@media (max-width: 1500px) {
  .login-feature-strip {
    display: none;
  }
}

@media (max-width: 1240px) {
  .login-screen {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
  }

  .login-card {
    order: 1;
    min-height: auto;
  }

  .login-hero {
    order: 2;
  }

  .login-card,
  .login-hero {
    width: 100%;
    max-width: min(760px, 100%);
    justify-self: center;
  }

  .login-card.is-entry-choice-only {
    width: min(680px, 100%);
  }

  .login-hero h1 {
    max-width: 760px;
    font-size: clamp(44px, 7vw, 76px);
  }

  .login-hero p:not(.eyebrow) {
    max-width: 620px;
    font-size: 18px;
  }
}

@media (max-width: 1080px) {

  .app-shell {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .team-drawer {
    left: 88px;
  }

  .sidebar {
    padding: 14px;
    align-items: center;
  }

  .brand span,
  .sidebar .brand-logo-full,
	  .nav-item span,
	  .nav-more,
	  .season-card {
	    display: none;
	  }

  .sidebar .brand-logo-symbol {
    display: block;
    width: 48px;
  }

  .nav-item {
    width: 56px;
    justify-content: center;
  }

  .hero-panel,
  .my-round-panel,
  .split-work,
  .finance-layout,
  .recap-layout,
  .season-layout,
  .season-bottom-grid,
  .feed-layout,
  .announcements-layout,
  .team-command-strip,
  .admin-command-center,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .public-media-form,
  .public-media-row,
  .story-card-workbench {
    grid-template-columns: 1fr;
  }

  .story-card-preview {
    width: min(100%, 320px);
    min-height: 0;
    margin: 0 auto;
  }

  .story-card-actions button,
  .story-card-tabs button {
    flex: 1 1 120px;
  }

  .public-media-row img {
    width: 100%;
    height: 168px;
  }

  .public-media-actions,
  .public-media-row-actions {
    justify-content: stretch;
  }

  .public-media-actions button,
  .public-media-row-actions button {
    flex: 1 1 140px;
  }

  .stage-rail {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .view-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .add-player {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) minmax(128px, 0.35fr) auto;
  }

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

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

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

  .round-result-summary {
    grid-template-columns: 1fr;
  }

  .round-ops-grid,
  .round-duty-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .round-duty-list > div {
    grid-column: 1 / -1;
  }

  .round-social-preset {
    grid-template-columns: 1fr;
  }

  .round-social-event-actions button {
    flex: 1 1 150px;
  }

  .season-badge-grid {
    grid-template-columns: 1fr;
  }

  .versus-card {
    min-height: 130px;
  }
}

@media (min-width: 761px) and (max-width: 1080px) {
  .match-flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1081px) and (max-height: 780px) {
  .sidebar {
    gap: 14px;
    padding-block: 16px;
  }

  .nav-list {
    gap: 6px;
  }

  .season-card {
    display: none;
  }
}

@media (max-width: 760px) {
  .patota-loader {
    place-items: end center;
    padding: 18px;
  }

  .patota-loader-card {
    width: min(100%, calc(100vw - 36px));
    max-width: calc(100vw - 36px);
    margin-bottom: max(10px, env(safe-area-inset-bottom));
    gap: 20px;
  }

  .patota-loader-brand {
    align-items: flex-start;
    flex-direction: column;
  }

  .patota-loader-status {
    justify-content: flex-start;
  }

  .patota-loader-copy h1 {
    max-width: 9ch;
  }

  .login-screen {
    display: grid;
    padding: 18px;
    gap: 12px;
    overflow-x: hidden;
    background:
      linear-gradient(180deg, rgba(5, 7, 13, 0.92), rgba(5, 7, 13, 0.82) 46%, rgba(5, 7, 13, 0.96)),
      url("assets/resenha-community.webp") 42% top / auto 58vh no-repeat,
      var(--night);
  }

  .login-screen::before,
  .login-screen::after {
    display: none;
  }

  .login-orbit {
    display: none;
  }

  .login-brand {
    display: block;
    width: fit-content;
    margin-bottom: 18px;
  }

  .login-hero {
    order: 2;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    margin: 0 auto;
    padding: 0;
  }

  .login-hero h1 {
    max-width: 100%;
    font-size: clamp(33px, 8.7vw, 42px);
  }

  .login-hero p:not(.eyebrow) {
    max-width: 100%;
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.35;
  }

  .login-preview-row {
    display: none;
  }

  .login-feature-strip {
    display: none;
  }

  .mini-sticker {
    width: 96px;
    min-height: 120px;
  }

  .mini-sticker strong {
    font-size: 20px;
  }

  .login-card {
    order: 1;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    gap: 10px;
    padding: 14px;
    margin: 10px auto 18px;
  }

  .login-card.is-fast-invite {
    min-height: auto;
    align-content: stretch;
  }

  .login-card h2 {
    font-size: 32px;
  }

  .login-card.is-entry-choice-only {
    gap: 16px;
    padding: 18px;
    margin: 6px auto 12px;
  }

  .login-card.is-entry-choice-only h2 {
    font-size: 36px;
  }

  .login-card.is-entry-choice-only .login-mode-note strong {
    font-size: 15px;
  }

  .login-card.is-entry-choice-only .login-mode-note span {
    font-size: 14px;
  }

  .login-card.is-entry-choice-only .login-choice-bar {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .login-card.is-entry-choice-only .login-choice-bar button {
    min-height: 112px;
    padding: 16px;
  }

  .login-card.is-entry-choice-only .login-choice-bar [data-entry-choice="account"] {
    min-height: 76px;
  }

  .login-help-steps {
    gap: 6px;
  }

  .login-help-steps li {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 7px;
    padding: 8px;
  }

  .login-help-steps li > span {
    width: 24px;
    height: 24px;
    font-size: 15px;
  }

  .login-help-steps strong {
    font-size: 11px;
  }

  .login-help-steps small {
    font-size: 10px;
  }

  .login-choice-bar button {
    max-width: 100%;
    min-height: 58px;
    padding: 10px;
    overflow-wrap: anywhere;
    text-align: left;
  }

  .login-choice-bar button strong {
    font-size: 14px;
  }

  .login-choice-bar button small {
    font-size: 11px;
  }

  .invite-intent {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .invite-intent button {
    max-width: 100%;
    min-height: 44px;
    padding: 8px 6px;
    font-size: 11px;
    overflow-wrap: anywhere;
  }

  .invite-preview {
    gap: 10px;
    padding: 12px;
  }

  .invite-preview h3 {
    font-size: 22px;
  }

  .invite-preview p {
    font-size: 13px;
  }

  .invite-preview-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .invite-preview-stats div {
    padding: 7px;
  }

  .invite-preview-stats dd {
    font-size: 17px;
    overflow-wrap: anywhere;
  }

  .auth-mode-toggle {
    gap: 6px;
  }

  .auth-mode-toggle button {
    min-height: 44px;
    padding: 6px 4px;
    font-size: 10px;
  }

  .login-mode-note {
    gap: 3px;
    padding-top: 6px;
  }

  .login-mode-note strong {
    font-size: 11px;
  }

  .login-mode-note span {
    font-size: 12px;
    line-height: 1.25;
  }

  .login-card input {
    min-height: 46px;
  }

  .player-card-builder {
    padding: 0;
  }

  .player-card-launch {
    grid-template-columns: 1fr;
  }

  .player-card-open {
    width: 100%;
  }

  .player-card-modal {
    align-items: end;
    padding: 10px;
  }

  .player-card-modal-panel {
    width: min(100%, 420px);
    max-height: calc(100vh - 20px);
    border-radius: 10px 10px 0 0;
  }

  .player-card-modal-header {
    padding: 14px;
  }

  .player-card-modal-header h3 {
    font-size: 36px;
  }

  .player-card-builder-body {
    padding: 14px;
  }

  .player-card-layout {
    grid-template-columns: 1fr;
  }

  .player-card-modal .player-sticker-preview {
    min-height: auto;
    gap: 7px;
    padding: 12px;
  }

  .player-card-modal .player-sticker-top {
    grid-template-columns: minmax(0, 1fr) 46px;
  }

  .player-card-modal .player-sticker-top strong {
    height: 40px;
    font-size: 19px;
  }

  .player-card-modal .player-sticker-photo {
    width: min(104px, 34vw);
    border-width: 3px;
    font-size: 31px;
  }

  .player-card-modal .player-sticker-name {
    font-size: 22px;
  }

  .player-card-modal .player-sticker-stats div {
    padding: 6px 5px;
  }

  .player-card-modal .player-sticker-overall {
    padding: 5px 9px;
  }

  .player-card-modal .player-sticker-attributes span {
    padding: 5px 2px;
  }

  .player-card-fields {
    gap: 8px;
    padding: 10px;
  }

  .player-card-fields input,
  .player-card-fields select {
    min-height: 44px;
  }

  .player-photo-picker > span,
  .player-photo-clear,
  .player-card-randomize {
    min-height: 44px;
  }

  .login-consent {
    padding: 9px;
  }

  .login-card .login-consent input {
    min-height: 22px;
  }

  .login-consent span {
    font-size: 11px;
  }

  @media (max-width: 360px) {
    .login-screen {
      padding: 12px;
      gap: 12px;
    }

    .login-card {
      gap: 8px;
      padding: 12px;
    }

    .login-card h2 {
      font-size: 29px;
    }

    .login-card.is-entry-choice-only h2 {
      font-size: 31px;
    }

    .login-card.is-entry-choice-only .login-choice-bar button {
      min-height: 104px;
      padding: 14px;
    }

    .login-card.is-entry-choice-only .login-choice-bar [data-entry-choice="account"] {
      min-height: 70px;
    }

    .login-card.is-entry-choice-only .login-choice-bar button strong {
      font-size: 18px;
    }

    .login-card.is-entry-choice-only .login-choice-bar button small {
      font-size: 12px;
      line-height: 1.28;
    }

    .login-choice-bar button {
      min-height: 44px;
      font-size: 10px;
    }

    .invite-preview {
      padding: 10px;
    }

    .invite-preview h3 {
      font-size: 20px;
    }

    .invite-preview-stats {
      display: none;
    }

    .login-card input {
      min-height: 44px;
    }

    .player-card-fields {
      grid-template-columns: 1fr;
    }

    .player-card-field {
      grid-column: 1 / -1;
    }

    .login-submit {
      min-height: 44px;
    }

    .login-card .login-consent input {
      min-height: 22px;
    }
  }

  .app-shell {
    display: block;
  }

  .sidebar {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    top: auto;
    height: 68px;
    z-index: 50;
    padding: 6px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
      linear-gradient(180deg, rgba(126, 221, 81, 0.08), rgba(5, 7, 13, 1) 44%),
      rgba(5, 7, 13, 1);
    box-shadow: 0 -14px 36px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(126, 221, 81, 0.08);
    backdrop-filter: blur(18px) saturate(1.15);
  }

  /* Logo sai da barra: cada pixel vira área de toque com label. */
  .sidebar .brand {
    display: none;
  }

  .nav-list {
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: stretch;
    gap: 2px;
  }

  .nav-item,
  .nav-list > .nav-more summary {
    flex: 1 1 0;
    min-width: 0;
    min-height: 54px;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 6px 2px;
  }

  .nav-item:hover,
  .nav-item.is-active {
    transform: none;
  }

  /* Labels visíveis: ícone sozinho tem descoberta ruim. */
  .nav-item span,
  .nav-list > .nav-more summary span {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10px;
    line-height: 1;
  }

  .nav-list > .nav-more {
    display: block;
    position: relative;
    flex: 1 1 0;
    min-width: 0;
  }

  .nav-list > .nav-more summary {
    display: inline-flex;
    width: 100%;
  }

  .nav-list > .nav-more .nav-more-menu {
    position: absolute;
    right: 0;
    bottom: calc(100% + 12px);
    z-index: 60;
    min-width: 176px;
    padding: 8px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav-list > .nav-more .nav-more-menu .nav-item {
    width: 100%;
    min-height: 44px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 12px;
  }

  .nav-list > .nav-more .nav-more-menu .nav-item span {
    font-size: 13px;
  }

  .workspace {
    padding: 14px 14px 96px;
  }

  body[data-view="times"] .workspace {
    padding-bottom: 148px;
  }

  .team-drawer {
    right: 0;
    bottom: 74px;
    left: 0;
    z-index: 62;
    transform: translateY(calc(100% - 54px));
  }

  .team-drawer-toggle {
    min-width: 122px;
    min-height: 54px;
    padding: 9px 14px;
  }

  .team-drawer-panel {
    min-height: 0;
    max-height: min(58vh, 372px);
    overflow: hidden;
    padding: 12px 0 calc(14px + env(safe-area-inset-bottom));
    border-radius: 14px 14px 0 0;
  }

  .team-drawer-track {
    gap: 10px;
    max-height: calc(min(58vh, 372px) - 28px);
    padding: 4px 14px 10px;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .team-drawer-card {
    width: 152px;
    min-height: 208px;
    flex-basis: 152px;
    padding: 12px;
  }

  .team-drawer-card strong {
    font-size: 40px;
  }

  .topbar {
    gap: 8px;
    margin-bottom: 10px;
  }

  .topbar-actions {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(82px, 0.62fr) 48px;
    align-items: stretch;
    gap: 6px;
  }

  .patota-switcher {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
    width: 100%;
    border-radius: 8px;
  }

  .patota-switcher select {
    min-width: 0;
  }

  .topbar-actions #resetDemo,
  .topbar-actions #openMatch,
  .topbar-actions #upgradeGuestAccount {
    display: none;
  }

  .topbar-actions #logoutDemo span {
    display: none;
  }

  .topbar-actions #logoutDemo {
    width: 48px;
    min-width: 48px;
    justify-self: end;
    padding: 0;
  }

  .topbar-actions .session-pill,
  .topbar-actions .ghost-button,
  .topbar-actions .primary-button {
    min-height: 44px;
    padding: 7px 9px;
    font-size: 11px;
  }

  .topbar-actions .session-pill {
    min-width: 0;
    justify-content: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .stage-rail {
    display: flex;
    overflow-x: auto;
    gap: 6px;
    margin: -4px -14px 12px;
    padding: 0 14px 5px;
    scroll-snap-type: x proximity;
  }

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

  .score-inputs strong {
    min-height: 44px;
  }

  .season-hero-panel {
    min-height: 420px;
  }

  .season-hero-panel h3 {
    font-size: 42px;
  }

  .season-ranking-row {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .season-quick-grid {
    gap: 7px;
  }

  .season-quick-card {
    min-height: 112px;
    padding: 10px;
  }

  .season-ranking-row b {
    grid-column: 2;
  }

  .stage-step {
    flex: 0 0 116px;
    min-width: 116px;
    min-height: 56px;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 6px 8px;
    padding: 8px 9px;
    scroll-snap-align: start;
  }

  .stage-step span {
    width: 30px;
    height: 30px;
    font-size: 10px;
  }

  .stage-step strong {
    overflow: hidden;
    overflow-wrap: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
  }

  .stage-step small {
    font-size: 10px;
  }

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

  .admin-tabs {
    margin: 0 0 12px;
    padding: 5px;
  }

  .admin-tabs button {
    min-height: 44px;
    padding: 9px 11px;
    font-size: 16px;
  }

  .admin-tab-copy {
    font-size: 15px;
  }

  .admin-tab-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .app-toast {
    left: 14px;
    right: 14px;
    bottom: 88px;
    max-width: none;
  }

  .topbar,
  .view-header,
  .surface-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .view-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .topbar h1 {
    font-size: 28px;
  }

  .view-header h2 {
    font-size: 32px;
  }

  .hero-panel {
    min-height: auto;
    padding: 18px;
  }

  .hero-copy h2 {
    font-size: 36px;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 16px;
  }

  .ticket-score strong {
    font-size: 64px;
  }

  .metric-grid,
  .share-stats,
  .badge-board,
  .add-player,
  .rule-grid,
  .announcement-form-actions {
    grid-template-columns: 1fr;
  }

  .my-round-panel {
    min-height: auto;
    align-items: start;
    gap: 12px;
    padding: 14px;
  }

  .my-round-matchday {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .my-round-crest {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .my-round-matchday strong {
    font-size: 17px;
  }

  .my-round-matchday dl {
    display: none;
  }

  .my-round-copy {
    gap: 6px;
  }

  .my-round-copy h3 {
    font-size: 23px;
  }

  .my-round-copy p {
    font-size: 14px;
  }

  .my-round-next {
    padding: 9px 10px;
  }

  .my-round-next strong {
    font-size: 13px;
  }

  .my-round-feedback {
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 9px 10px;
  }

  .my-round-feedback strong {
    font-size: 12px;
  }

  .my-round-guide {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .my-round-guide li {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 7px;
    padding: 8px;
  }

  .my-round-guide li > span {
    width: 24px;
    height: 24px;
    font-size: 15px;
  }

  .my-round-guide strong {
    font-size: 11px;
  }

  .my-round-guide small {
    font-size: 10px;
  }

  .my-round-summary span {
    min-height: 34px;
    font-size: 11px;
  }

  .my-round-secondary {
    gap: 7px;
  }

  .my-round-live-grid {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .my-round-insights {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .my-round-insights button {
    min-height: 72px;
    padding: 10px;
  }

  .round-ops-panel {
    padding: 10px;
  }

  .round-ops-heading strong {
    font-size: 15px;
  }

  .round-ops-grid,
  .round-duty-list {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .round-ops-grid button {
    min-height: 76px;
    padding: 10px;
  }

  .round-duty-list > div,
  .round-duty-list article {
    padding: 10px;
  }

  .round-social-event-card strong {
    font-size: 20px;
  }

  .round-social-event-actions {
    gap: 7px;
  }

  .my-round-live-card {
    padding: 9px;
  }

  .my-round-live-card li {
    min-height: 32px;
  }

  .my-round-live-card li:nth-child(n+3) {
    display: none;
  }

  .my-round-status-note {
    padding: 9px 10px;
  }

  .my-round-status-note strong {
    font-size: 12px;
  }

  .admin-day-panel {
    gap: 8px;
    padding: 10px;
  }

  .admin-day-heading {
    align-items: flex-start;
  }

  .admin-day-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .admin-day-task {
    grid-template-rows: minmax(62px, auto) auto;
    padding: 8px;
  }

  .admin-day-task strong {
    font-size: 12px;
  }

  .admin-day-task small {
    font-size: 10px;
  }

  .my-round-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: flex-start;
  }

  .my-round-actions button {
    min-height: 44px;
    padding: 9px 10px;
    font-size: 13px;
  }

  .my-round-actions .primary-action {
    grid-column: 1 / -1;
  }

  .player-finance-card,
  .profile-photo-control {
    align-items: stretch;
    flex-direction: column;
  }

  .player-finance-card strong {
    font-size: 22px;
  }

  .profile-layout,
  .profile-form,
  .profile-summary-grid {
    grid-template-columns: 1fr;
  }

  .profile-summary-hero,
  .profile-summary-empty {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px;
  }

  .profile-summary-avatar,
  .profile-summary-empty > span {
    width: 58px;
    height: 58px;
    font-size: 22px;
  }

  .profile-summary-hero strong,
  .profile-summary-empty strong {
    font-size: 22px;
  }

  .my-round-secondary-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .my-round-secondary-actions button {
    width: 100%;
    padding: 9px 10px;
    font-size: 13px;
  }

  .my-round-panel > .my-round-guide {
    display: none;
  }

  .feed-signal-card {
    min-height: 360px;
  }

  .announcement-signal-card {
    min-height: 340px;
  }

  .feed-signal-card strong {
    font-size: 46px;
  }

  .announcement-signal-card strong {
    font-size: 42px;
  }

  .feed-event {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .feed-event .status-pill {
    width: fit-content;
    grid-column: 2;
  }

  .admin-player-row {
    grid-template-columns: 42px minmax(0, 1fr) auto;
  }

  .admin-player-row small,
  .admin-player-row .status-pill {
    display: none;
  }

  .admin-hero-card strong {
    font-size: 36px;
  }

  .admin-link-box {
    grid-template-columns: 1fr;
  }

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

  .sticker-card {
    min-height: 238px;
  }

  .card-actions {
    grid-template-columns: 1fr;
  }

  .share-card h3 {
    font-size: 42px;
  }
}

@media (max-width: 460px) {
  .topbar-actions {
    grid-template-columns: minmax(0, 1fr) minmax(76px, 0.58fr) 48px;
  }

  .topbar-actions .ghost-button,
  .topbar-actions .primary-button {
    width: 100%;
  }

  .guest-upgrade-button span {
    display: none;
  }

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

  .season-quick-grid {
    grid-template-columns: 1fr;
  }

  .team-drawer-card {
    width: 144px;
    flex-basis: 144px;
  }
}

@media (max-width: 760px) {
  .public-patota-screen {
    width: min(100vw - 24px, 520px);
    padding-top: 12px;
  }

  .public-patota-header,
  .public-patota-footer,
  .public-patota-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .public-patota-header .ghost-button,
  .public-patota-actions button {
    width: 100%;
  }

  .public-patota-hero,
  .public-patota-grid,
  .public-join-section,
  .public-join-form {
    grid-template-columns: 1fr;
  }

  .public-patota-hero {
    min-height: auto;
  }

  .public-patota-cover {
    min-height: 250px;
  }

  .public-patota-copy {
    padding: 20px;
  }

  .public-patota-copy h1 {
    font-size: clamp(38px, 13vw, 58px);
  }

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

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

  .public-ranking-row b {
    grid-column: 2;
  }

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

  .public-join-form-wide,
  .public-page-form-wide {
    grid-column: auto;
  }

  .public-page-link-box,
  .public-page-color-row,
  .public-page-identity-preview,
  .public-page-preview-card {
    grid-template-columns: 1fr;
  }

  .public-page-link-box button,
  .public-page-link-box a {
    justify-content: center;
  }

  .public-page-preview-cover {
    min-height: 180px;
  }

  .login-screen {
    inline-size: 100vw;
    max-inline-size: 100vw;
  }

  .login-screen > .login-card,
  .login-screen > .login-hero {
    inline-size: calc(100vw - 36px) !important;
    max-inline-size: calc(100vw - 36px) !important;
  }

  .login-card *,
  .login-hero * {
    max-inline-size: 100%;
  }
}

/* Broadcast login refresh */
.login-screen {
  --broadcast-bg: #0b0f10;
  --broadcast-panel: rgba(18, 23, 24, 0.9);
  --broadcast-panel-strong: rgba(22, 28, 29, 0.96);
  --broadcast-line: rgba(126, 221, 81, 0.2);
  --broadcast-line-strong: rgba(126, 221, 81, 0.55);
  --broadcast-lime: #7edd51;
  --broadcast-lime-bright: #93f364;
  --broadcast-text: #e0e3e5;
  --broadcast-muted: #aeb8ad;
  --broadcast-quiet: #6f7a70;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 520px);
  align-items: center;
  justify-content: center;
  gap: clamp(42px, 6vw, 96px);
  padding: clamp(42px, 6vh, 76px) clamp(36px, 6vw, 96px);
  overflow-x: clip;
  overflow-y: visible;
  color: var(--broadcast-text);
  background:
    linear-gradient(180deg, rgba(11, 15, 16, 0.12), rgba(11, 15, 16, 0.96)),
    radial-gradient(circle at center, rgba(52, 67, 71, 0.28), rgba(11, 15, 16, 0.96) 62%),
    url("assets/resenha-community.webp") center / cover no-repeat,
    var(--broadcast-bg);
}

.login-screen::before {
  inset: 0;
  width: auto;
  height: auto;
  right: auto;
  top: auto;
  z-index: -1;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px),
    linear-gradient(90deg, rgba(11, 15, 16, 0.92), rgba(11, 15, 16, 0.34) 50%, rgba(11, 15, 16, 0.92));
  transform: none;
}

.login-screen::after {
  inset: auto 0 0;
  width: auto;
  height: 42%;
  left: auto;
  bottom: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(11, 15, 16, 0.98));
  transform: none;
}

.login-hero {
  position: relative;
  width: min(760px, 100%);
  max-width: 760px;
  height: auto;
  margin: 0;
  padding: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  justify-self: end;
}

.login-hero .eyebrow {
  color: var(--broadcast-lime-bright);
  font-family: "Hanken Grotesk", var(--body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.login-hero h1 {
  max-width: 720px;
  color: var(--broadcast-text);
  font-family: "Barlow Condensed", var(--heading);
  font-size: clamp(64px, 7.1vw, 112px);
  line-height: 0.9;
  text-transform: none;
}

.login-hero p:not(.eyebrow) {
  max-width: 640px;
  color: rgba(224, 227, 229, 0.82);
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.45;
}

.login-feature-strip {
  width: min(760px, 100%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(28px, 4vh, 44px);
}

.login-feature-strip article {
  min-height: 150px;
  padding: 20px;
  color: var(--broadcast-text);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.login-feature-strip article.is-accent {
  color: var(--broadcast-bg);
  background: var(--broadcast-lime);
  border-color: var(--broadcast-lime);
}

.login-feature-strip span {
  color: inherit;
  font-family: "Hanken Grotesk", var(--body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  opacity: 0.72;
}

.login-feature-strip strong {
  color: inherit;
  font-family: "Barlow Condensed", var(--heading);
  font-size: clamp(23px, 1.8vw, 30px);
  font-weight: 800;
  line-height: 1.02;
  text-transform: none;
}

.login-card {
  position: relative;
  width: min(520px, 100%);
  max-height: none;
  justify-self: start;
  gap: 14px;
  overflow: visible;
  padding: 26px 28px 28px;
  color: var(--broadcast-text);
  background:
    linear-gradient(135deg, rgba(31, 38, 39, 0.9), rgba(13, 18, 19, 0.96)),
    var(--broadcast-panel);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 0;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.54);
  backdrop-filter: blur(16px);
}

.login-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--broadcast-lime);
  box-shadow: 0 0 22px rgba(126, 221, 81, 0.55);
}

.login-card::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 17px;
  height: 17px;
  border-top: 2px solid var(--broadcast-lime);
  border-right: 2px solid var(--broadcast-lime);
  pointer-events: none;
}

.login-card-identity {
  order: 0;
  display: grid;
  grid-template-columns: minmax(84px, 0.42fr) minmax(0, 1fr);
  align-items: center;
  gap: 8px 14px;
  padding: 0 0 8px;
  text-align: left;
}

.login-card-logo {
  display: none;
  width: min(156px, 62%);
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.5));
}

.login-card:not(.is-entry-choice-only) {
  gap: 10px;
  padding: 22px 28px 24px;
}

.login-card:not(.is-entry-choice-only) .login-card-identity {
  display: none;
}

.login-signal-line {
  width: 100%;
  height: 1px;
  position: relative;
  margin: 0;
  background: rgba(255, 255, 255, 0.12);
}

.login-signal-line span {
  position: absolute;
  inset: 0 auto auto 0;
  width: 28%;
  height: 2px;
  background: var(--broadcast-lime);
  box-shadow: 0 0 12px rgba(126, 221, 81, 0.82);
}

.login-system-title,
.login-system-status {
  margin: 0;
  text-transform: uppercase;
}

.login-system-title {
  font-family: "Barlow Condensed", var(--heading);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}

.login-system-title span {
  color: var(--broadcast-lime-bright);
}

.login-system-status {
  max-width: 230px;
  color: var(--broadcast-text);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.58rem;
  font-weight: 600;
  line-height: 1.35;
}

.login-card-header,
.login-back-choice,
.login-choice-bar,
.invite-preview,
.invite-intent,
.login-step-grid,
.create-patota-note,
.login-account-details,
.login-consent,
.login-actions,
.player-card-builder,
.save-access-button,
.account-created-panel,
#loginStatus,
.login-legal-links {
  position: relative;
  z-index: 1;
}

.login-card-header {
  gap: 7px;
}

.login-back-choice {
  width: fit-content;
  min-height: 32px;
  padding: 0 10px;
  color: var(--broadcast-muted);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  cursor: pointer;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.login-back-choice::before {
  content: "<";
  margin-right: 7px;
  color: var(--broadcast-lime-bright);
}

.login-back-choice:hover,
.login-back-choice:focus-visible {
  color: var(--broadcast-text);
  border-color: var(--broadcast-line-strong);
  box-shadow: 0 0 0 1px rgba(126, 221, 81, 0.2);
}

.login-card .eyebrow,
.login-choice-kicker,
.login-card label span,
.login-card small,
.invite-preview-stats dt,
.login-divider,
#loginStatus,
.login-legal-links {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0;
  text-transform: uppercase;
}

.login-card .eyebrow {
  color: var(--broadcast-muted);
  font-size: 0.66rem;
}

.login-card h2,
.invite-preview h3 {
  color: var(--broadcast-text);
  font-family: "Barlow Condensed", var(--heading);
  font-weight: 800;
  text-transform: uppercase;
}

.login-card h2 {
  font-size: 1.85rem;
  line-height: 1;
}

.login-mode-note {
  padding: 8px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.login-mode-note strong {
  color: var(--broadcast-text);
  font-family: "Barlow Condensed", var(--heading);
  font-size: 1.04rem;
  font-weight: 700;
  text-transform: uppercase;
}

.login-mode-note span {
  color: var(--broadcast-muted);
  font-family: "Hanken Grotesk", var(--body);
  font-size: 0.84rem;
  font-weight: 600;
}

.login-choice-bar {
  gap: 8px;
}

.login-choice-bar button,
.invite-intent button,
.code-fallback-button,
.save-access-button,
.account-created-panel button,
.auth-mode-toggle button {
  border-radius: 0;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.login-choice-bar button {
  min-height: 58px;
  padding: 10px 12px;
  color: var(--broadcast-text);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(126, 221, 81, 0.18);
}

.login-choice-kicker {
  color: var(--broadcast-lime-bright);
  font-size: 0.61rem;
}

.login-choice-bar button strong {
  color: var(--broadcast-text);
  font-family: "Barlow Condensed", var(--heading);
  font-size: 1.08rem;
  font-weight: 700;
  text-transform: uppercase;
}

.login-choice-bar button small {
  color: var(--broadcast-muted);
  font-family: "Hanken Grotesk", var(--body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: none;
}

.login-choice-bar button::after {
  color: var(--broadcast-bg);
  background: rgba(126, 221, 81, 0.85);
  border-radius: 0;
}

.login-choice-bar button:hover,
.login-choice-bar button:focus-visible,
.login-choice-bar button.is-active,
.invite-intent button:hover,
.invite-intent button:focus-visible,
.invite-intent button.is-active {
  border-color: var(--broadcast-lime);
  box-shadow: 0 0 0 1px rgba(126, 221, 81, 0.38), 0 0 20px rgba(126, 221, 81, 0.12);
}

.login-choice-bar button.is-active,
.invite-intent button.is-active,
.code-fallback-button {
  color: var(--broadcast-bg);
  background: var(--broadcast-lime);
}

.login-choice-bar button.is-active strong,
.login-choice-bar button.is-active small,
.login-choice-bar button.is-active .login-choice-kicker,
.invite-intent button.is-active {
  color: var(--broadcast-bg);
}

.login-card.is-entry-choice-only {
  width: min(520px, 100%);
  gap: 14px;
  padding: 28px 28px 30px;
  color: var(--broadcast-text);
  background:
    linear-gradient(135deg, rgba(31, 38, 39, 0.9), rgba(13, 18, 19, 0.96)),
    var(--broadcast-panel);
  border-color: rgba(255, 255, 255, 0.11);
}

.login-card.is-entry-choice-only .eyebrow {
  display: block;
}

.login-card.is-entry-choice-only h2 {
  color: var(--broadcast-text);
  font-size: 1.95rem;
}

.login-card.is-entry-choice-only .login-mode-note {
  padding: 8px 0 0;
  border-bottom: 0;
}

.login-card.is-entry-choice-only .login-mode-note strong {
  color: var(--broadcast-text);
  font-size: 1.04rem;
}

.login-card.is-entry-choice-only .login-mode-note span {
  color: var(--broadcast-muted);
  font-size: 0.84rem;
}

.login-card.is-entry-choice-only .login-choice-bar {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.login-card.is-entry-choice-only .login-choice-bar button,
.login-card.is-entry-choice-only .login-choice-bar [data-entry-choice="account"] {
  grid-column: auto;
  min-height: 58px;
  padding: 10px 12px;
  color: var(--broadcast-text);
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(126, 221, 81, 0.18);
}

.login-card.is-entry-choice-only .login-choice-bar button strong,
.login-card.is-entry-choice-only .login-choice-bar [data-entry-choice="account"] strong {
  color: var(--broadcast-text);
  font-size: 1.08rem;
}

.login-card.is-entry-choice-only .login-choice-bar button small {
  color: var(--broadcast-muted);
  font-size: 0.78rem;
}

.login-card.is-entry-choice-only .login-choice-bar button:hover strong,
.login-card.is-entry-choice-only .login-choice-bar button:focus-visible strong {
  color: var(--broadcast-lime-bright);
}

/* Hierarquia de entrada: convite é o caminho principal, conta em seguida,
   criar conta/patota viram ações secundárias compactas. */
.login-card.is-entry-choice-only .login-choice-bar [data-entry-choice="invite"] {
  order: 1;
  grid-column: 1 / -1;
  min-height: 96px;
  align-content: center;
  background: linear-gradient(135deg, rgba(126, 221, 81, 0.18), rgba(255, 255, 255, 0.03) 62%);
  border-color: rgba(126, 221, 81, 0.55);
}

.login-card.is-entry-choice-only .login-choice-bar [data-entry-choice="invite"] strong {
  font-size: 1.4rem;
}

.login-card.is-entry-choice-only .login-choice-bar [data-entry-choice="account"] {
  order: 2;
  grid-column: 1 / -1;
  min-height: 64px;
}

.login-card.is-entry-choice-only .login-choice-bar [data-entry-choice="signup"],
.login-card.is-entry-choice-only .login-choice-bar [data-entry-choice="create"] {
  min-height: 48px;
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.14);
}

.login-card.is-entry-choice-only .login-choice-bar [data-entry-choice="signup"] {
  order: 3;
}

.login-card.is-entry-choice-only .login-choice-bar [data-entry-choice="create"] {
  order: 4;
}

.login-card.is-entry-choice-only .login-choice-bar [data-entry-choice="signup"] strong,
.login-card.is-entry-choice-only .login-choice-bar [data-entry-choice="create"] strong {
  font-size: 0.95rem;
}

.login-card.is-entry-choice-only .login-choice-bar [data-entry-choice="signup"] small,
.login-card.is-entry-choice-only .login-choice-bar [data-entry-choice="create"] small,
.login-card.is-entry-choice-only .login-choice-bar [data-entry-choice="signup"]::after,
.login-card.is-entry-choice-only .login-choice-bar [data-entry-choice="create"]::after {
  display: none;
}

.invite-preview,
.login-step-grid > label,
.login-account-details,
.create-patota-note,
.account-created-panel {
  color: var(--broadcast-text);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--broadcast-line);
  border-radius: 0;
}

.login-step-grid > label,
.login-account-details label:not(.player-photo-picker):not(.player-card-field),
.create-patota-note {
  position: relative;
  padding: 10px 12px;
}

.login-step-grid > label::after,
.login-account-details label:not(.player-photo-picker):not(.player-card-field)::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--broadcast-lime);
  border-right: 2px solid var(--broadcast-lime);
}

.login-card label span,
.login-card small,
.login-account-details label span,
.player-card-fields label span,
.player-card-fields label small {
  color: var(--broadcast-muted);
  font-size: 0.66rem;
  font-weight: 600;
}

.login-screen .login-card label {
  gap: 5px;
}

.login-card label small {
  color: var(--broadcast-quiet);
  font-family: "Hanken Grotesk", var(--body);
  font-size: 0.7rem;
  line-height: 1.18;
  font-weight: 600;
  text-transform: none;
}

.login-step-grid {
  gap: 8px;
}

.login-card input,
.login-card select,
.login-card textarea {
  min-height: 44px;
  color: #24303a;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(224, 227, 229, 0.7);
  border-radius: 0;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
  font-weight: 700;
}

.login-card input:focus,
.login-card select:focus,
.login-card textarea:focus {
  border-color: var(--broadcast-lime);
  box-shadow: 0 0 0 3px rgba(126, 221, 81, 0.18), 0 0 16px rgba(126, 221, 81, 0.16);
}

.invite-intent {
  gap: 7px;
}

.invite-intent button {
  color: var(--broadcast-text);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.11);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.invite-preview {
  padding: 15px;
}

.invite-preview h3 {
  font-size: 1.55rem;
}

.invite-preview p {
  color: var(--broadcast-muted);
  font-family: "Hanken Grotesk", var(--body);
}

.invite-preview-stats div {
  background: rgba(255, 255, 255, 0.055);
  border-radius: 0;
}

.invite-preview-stats dt {
  color: var(--broadcast-muted);
}

.invite-preview-stats dd {
  color: var(--broadcast-lime-bright);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

.login-account-details {
  gap: 8px;
  padding: 8px 10px;
  border-top: 1px solid var(--broadcast-line);
  border-bottom: 1px solid var(--broadcast-line);
}

.login-account-details summary {
  color: var(--broadcast-text);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
}

.login-account-details label {
  margin-top: 6px;
}

.auth-mode-toggle button {
  color: var(--broadcast-text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
}

.auth-mode-toggle button.is-active {
  color: var(--broadcast-bg);
  background: var(--broadcast-lime);
}

.login-divider {
  color: var(--broadcast-quiet);
  font-size: 0.62rem;
}

.login-divider::before {
  background: rgba(255, 255, 255, 0.1);
}

.login-divider span {
  background: #111718;
}

.google-login {
  grid-template-columns: 32px minmax(0, 1fr);
  color: var(--broadcast-text);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 0;
}

.google-login span {
  color: var(--broadcast-bg);
  background: var(--broadcast-lime);
  border: 0;
  border-radius: 0;
}

.google-login strong {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.login-consent {
  color: var(--broadcast-muted);
  background: transparent;
  border: 0;
  border-radius: 0;
  min-height: 44px;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  column-gap: 10px;
  row-gap: 0;
  padding: 0 2px;
}

.login-consent input {
  inline-size: 22px;
  block-size: 22px;
  width: 22px;
  min-width: 22px;
  height: 22px;
  min-height: 22px;
  aspect-ratio: 1;
  align-self: start;
  justify-self: start;
  margin: 2px 0 0;
  padding: 0;
  background: transparent;
  border-color: var(--broadcast-muted);
  border-radius: 0;
}

.login-consent input:checked {
  background: var(--broadcast-lime);
  border-color: var(--broadcast-lime);
}

.login-consent span,
.login-card .login-consent span {
  display: block;
  align-self: start;
  padding-top: 1px;
  color: var(--broadcast-muted);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.62rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.login-screen .login-submit {
  min-height: 50px;
  position: relative;
  overflow: hidden;
  color: var(--broadcast-bg);
  background: var(--broadcast-lime);
  border-radius: 0;
  box-shadow: 0 16px 34px rgba(126, 221, 81, 0.18);
  clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%);
  font-family: "Barlow Condensed", var(--heading);
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
}

.login-screen .login-submit:hover,
.login-screen .login-submit:focus-visible {
  transform: translateX(3px);
  box-shadow: 0 18px 38px rgba(126, 221, 81, 0.24);
}

.login-screen .login-submit svg {
  width: 20px;
  height: 20px;
  stroke-width: 3;
}

.secondary-login {
  color: var(--broadcast-muted);
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 0;
}

#loginStatus {
  color: var(--broadcast-quiet);
  font-size: 0.66rem;
  line-height: 1.45;
}

.login-legal-links {
  color: var(--broadcast-quiet);
  font-size: 0.64rem;
}

.login-legal-links a {
  color: var(--broadcast-muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(126, 221, 81, 0.2);
}

.login-legal-links a:hover,
.login-legal-links a:focus-visible {
  color: var(--broadcast-lime-bright);
}

.save-access-button {
  color: var(--broadcast-lime-bright);
  border-color: var(--broadcast-line-strong);
  background: transparent;
}

.account-created-panel {
  padding: 13px;
}

.account-created-panel strong,
.account-created-panel span {
  color: var(--broadcast-text);
}

.account-created-panel button {
  color: var(--broadcast-text);
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.12);
}

.account-created-panel button:first-child {
  color: var(--broadcast-bg);
  background: var(--broadcast-lime);
  border-color: var(--broadcast-lime);
}

.login-card.is-create-mode .login-account-details {
  padding: 0;
  background: transparent;
}

.login-card.is-create-mode .create-patota-note,
.login-card.is-create-mode #loginCreatePatotaField small,
.login-card.is-create-mode #loginNameField small {
  display: none;
}

.login-card.is-fast-invite.is-account-open .login-phone-field {
  display: none;
}

.login-card.is-create-mode .login-account-grid {
  gap: 8px;
}

.login-help-steps li {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--broadcast-line);
  border-radius: 0;
}

.login-help-steps li > span {
  color: var(--broadcast-bg);
  background: var(--broadcast-lime);
  border-radius: 0;
}

.login-help-steps strong {
  color: var(--broadcast-text);
}

.login-help-steps small {
  color: var(--broadcast-muted);
}

@media (max-width: 760px) {
  .login-screen {
    min-height: 100dvh;
    grid-template-columns: 1fr;
    place-items: center;
    padding: 52px 14px 58px;
    background:
      linear-gradient(180deg, rgba(11, 15, 16, 0.36), rgba(11, 15, 16, 0.96)),
      radial-gradient(circle at top, rgba(52, 67, 71, 0.26), rgba(11, 15, 16, 0.96) 64%),
      url("assets/resenha-community.webp") 48% top / auto 62vh no-repeat,
      var(--broadcast-bg);
  }

  .login-hero {
    position: absolute;
    width: 1px !important;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .login-card,
  .login-card.is-entry-choice-only {
    inline-size: min(100%, 430px) !important;
    max-inline-size: min(100%, 430px) !important;
    width: min(100%, 430px) !important;
    max-height: none;
    gap: 13px;
    margin: 0 auto;
    padding: 24px 18px 22px;
  }

  .login-card-identity {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
    padding-bottom: 10px;
    text-align: center;
  }

  .login-card-logo {
    display: block;
    width: min(150px, 60%);
  }

  .login-system-title {
    font-size: 0.96rem;
  }

  .login-system-status {
    display: none;
  }

  .login-card h2,
  .login-card.is-entry-choice-only h2 {
    font-size: 1.78rem;
  }

  .login-mode-note strong,
  .login-card.is-entry-choice-only .login-mode-note strong {
    font-size: 1.02rem;
  }

  .login-mode-note span,
  .login-card.is-entry-choice-only .login-mode-note span {
    font-size: 0.84rem;
  }

  .login-card.is-entry-choice-only .login-choice-bar button,
  .login-card.is-entry-choice-only .login-choice-bar [data-entry-choice="account"],
  .login-choice-bar button {
    min-height: 56px;
    padding: 10px 12px;
  }

  .login-card.is-entry-choice-only .login-choice-bar {
    grid-template-columns: 1fr;
  }

  .login-choice-bar button strong,
  .login-card.is-entry-choice-only .login-choice-bar button strong,
  .login-card.is-entry-choice-only .login-choice-bar [data-entry-choice="account"] strong {
    font-size: 1rem;
  }

  .login-choice-bar button small,
  .login-card.is-entry-choice-only .login-choice-bar button small {
    font-size: 0.76rem;
  }

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

  .login-screen .login-submit {
    min-height: 54px;
    font-size: 1.24rem;
  }
}

@media (max-width: 360px) {
  .login-screen {
    padding: 46px 10px 42px;
  }

  .login-card,
  .login-card.is-entry-choice-only {
    padding: 20px 14px;
  }

  .login-card-logo {
    width: min(152px, 70%);
  }

  .login-card h2,
  .login-card.is-entry-choice-only h2 {
    font-size: 1.55rem;
  }

  .login-choice-bar button::after {
    width: 26px;
    height: 26px;
  }
}

/* Broadcast app shell refresh */
.app-shell {
  --field-bg: rgba(248, 250, 245, 0.96);
  --field-text: #11171a;
  --field-muted: #536171;
  --shell-bg: #080d0e;
  --shell-panel: rgba(18, 25, 26, 0.92);
  --shell-panel-soft: rgba(23, 31, 32, 0.84);
  --shell-border: rgba(167, 255, 107, 0.22);
  --shell-border-strong: rgba(126, 221, 81, 0.48);
  --shell-text: #eef6ef;
  --shell-muted: #aeb9b0;
  --shell-quiet: #7d8b86;
  --shell-lime: #7edd51;
  --shell-lime-strong: #a7ff6b;
  --shell-lime-bright: var(--shell-lime-strong);
  --shell-orange: #ff8b38;
  --shell-blue: #60d7ff;
  position: relative;
  color: var(--shell-text);
  background:
    linear-gradient(180deg, rgba(8, 13, 14, 0.82), rgba(8, 13, 14, 0.98)),
    radial-gradient(circle at 18% 0%, rgba(96, 215, 255, 0.12), transparent 34%),
    radial-gradient(circle at 86% 8%, rgba(255, 139, 56, 0.12), transparent 32%),
    linear-gradient(135deg, rgba(126, 221, 81, 0.08), transparent 28%),
    var(--shell-bg);
  font-family: "Hanken Grotesk", var(--font-sans);
}

.app-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 5px),
    linear-gradient(90deg, rgba(126, 221, 81, 0.06), transparent 18%, transparent 82%, rgba(96, 215, 255, 0.06));
  opacity: 0.46;
}

.app-shell > * {
  position: relative;
  z-index: 1;
}

.app-shell .sidebar {
  color: var(--shell-text);
  background:
    linear-gradient(180deg, rgba(16, 22, 23, 0.98), rgba(9, 14, 15, 0.98)),
    var(--shell-panel);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset -3px 0 0 rgba(126, 221, 81, 0.7), 18px 0 48px rgba(0, 0, 0, 0.24);
}

.app-shell .brand {
  padding-block: 6px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.app-shell .brand-logo-full {
  width: min(174px, 100%);
  height: auto;
}

.app-shell .nav-list,
.app-shell .nav-more-menu {
  gap: 8px;
}

.app-shell .nav-item,
.app-shell .nav-more > summary {
  min-height: 46px;
  color: var(--shell-muted);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  box-shadow: inset 3px 0 0 transparent;
}

.app-shell .nav-item span,
.app-shell .nav-more > summary span {
  font-family: "Barlow Condensed", var(--heading);
  font-size: 1.02rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.app-shell .nav-item svg,
.app-shell .nav-more svg {
  color: var(--shell-lime);
}

.app-shell .nav-item:hover,
.app-shell .nav-item:focus-visible,
.app-shell .nav-more > summary:hover,
.app-shell .nav-more > summary:focus-visible,
.app-shell .nav-item.is-active {
  color: var(--shell-text);
  background: rgba(126, 221, 81, 0.1);
  border-color: var(--shell-border);
  box-shadow: inset 3px 0 0 var(--shell-lime);
}

.app-shell .season-card {
  color: var(--shell-muted);
  background: linear-gradient(135deg, rgba(126, 221, 81, 0.1), rgba(96, 215, 255, 0.06));
  border: 1px solid var(--shell-border);
  border-radius: 0;
}

.app-shell .season-card strong {
  color: var(--shell-text);
}

.app-shell .season-meter {
  background: rgba(255, 255, 255, 0.08);
}

.app-shell .season-meter span {
  background: linear-gradient(90deg, var(--shell-lime), var(--shell-blue));
}

.app-shell .workspace {
  background: transparent;
}

.app-shell .topbar {
  margin: 14px 14px 0;
  color: var(--shell-text);
  background: rgba(13, 19, 20, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--shell-lime);
  border-radius: 0;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

.app-shell .topbar h1,
.app-shell .view-header h2,
.app-shell .hero-panel h2,
.app-shell .surface-heading h3,
.app-shell .admin-hero-card strong,
.app-shell .season-hero-panel h3 {
  color: var(--shell-text);
  font-family: "Barlow Condensed", var(--heading);
  text-transform: uppercase;
  letter-spacing: 0;
}

.app-shell .eyebrow,
.app-shell .status-pill,
.app-shell .session-pill,
.app-shell .amount-chip span,
.app-shell .metric-tile span,
.app-shell .team-progress-card span,
.app-shell .admin-stat-card span,
.app-shell .feed-signal-card span,
.app-shell .announcement-signal-card span,
.app-shell .team-column > span,
.app-shell .round-ops-heading > span,
.app-shell .my-round-live-card > div > span {
  color: var(--shell-muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.app-shell .topbar .eyebrow,
.app-shell .view-header .eyebrow {
  color: var(--shell-lime-strong);
}

.app-shell .session-pill,
.app-shell .status-pill,
.app-shell .amount-chip {
  color: var(--shell-text);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
}

.app-shell .primary-button,
.app-shell .primary-action,
.app-shell .login-submit {
  color: #071007;
  background: var(--shell-lime);
  border: 1px solid var(--shell-lime);
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  font-family: "Barlow Condensed", var(--heading);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  box-shadow: 0 16px 34px rgba(126, 221, 81, 0.22);
}

.app-shell .primary-button:hover,
.app-shell .primary-button:focus-visible,
.app-shell .primary-action:hover,
.app-shell .primary-action:focus-visible {
  transform: translateY(-1px);
  background: var(--shell-lime-strong);
  border-color: var(--shell-lime-strong);
}

.app-shell .ghost-button,
.app-shell .light-button,
.app-shell .secondary-login,
.app-shell .admin-secondary-link,
.app-shell .my-round-secondary-actions button,
.app-shell .bench-row button,
.app-shell .roster-row button,
.app-shell .admin-player-row button {
  color: var(--shell-text);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
}

.app-shell .ghost-button:hover,
.app-shell .light-button:hover,
.app-shell .admin-secondary-link:hover,
.app-shell .my-round-secondary-actions button:hover,
.app-shell .bench-row button:hover,
.app-shell .roster-row button:hover,
.app-shell .admin-player-row button:hover {
  color: var(--shell-lime-strong);
  border-color: var(--shell-border-strong);
  background: rgba(126, 221, 81, 0.08);
}

.app-shell .stage-rail {
  margin: 14px;
  padding: 10px;
  background: rgba(10, 16, 17, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
}

.app-shell .stage-step {
  min-height: 74px;
  color: var(--shell-muted);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
}

.app-shell .stage-step span {
  color: var(--shell-lime);
  background: rgba(126, 221, 81, 0.08);
  border-radius: 0;
}

.app-shell .stage-step strong {
  color: var(--shell-text);
  font-family: "Barlow Condensed", var(--heading);
  text-transform: uppercase;
  letter-spacing: 0;
}

.app-shell .stage-step.is-active {
  color: var(--shell-text);
  background: rgba(126, 221, 81, 0.12);
  border-color: var(--shell-border-strong);
  box-shadow: inset 0 -3px 0 var(--shell-lime);
}

.app-shell .view {
  color: var(--shell-text);
}

.app-shell .view-header {
  margin: 0 0 16px;
  padding: 18px;
  background: rgba(13, 20, 21, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--shell-lime);
  border-radius: 0;
}

.app-shell .tool-surface,
.app-shell .hero-panel,
.app-shell .metric-tile,
.app-shell .team-progress-card,
.app-shell .team-pack-card,
.app-shell .finance-summary,
.app-shell .team-column,
.app-shell .versus-card,
.app-shell .share-card,
.app-shell .season-hero-panel,
.app-shell .profile-card-surface,
.app-shell .feed-signal-card,
.app-shell .announcement-signal-card,
.app-shell .admin-hero-card,
.app-shell .admin-stat-card,
.app-shell .round-ops-panel,
.app-shell .my-round-matchday,
.app-shell .my-round-copy,
.app-shell .my-round-live-card,
.app-shell .my-round-insights button,
.app-shell .my-round-disclosure,
.app-shell .player-finance-card,
.app-shell .section-details {
  color: var(--shell-text);
  background:
    linear-gradient(180deg, rgba(24, 32, 33, 0.9), rgba(13, 19, 20, 0.9)),
    var(--shell-panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid rgba(126, 221, 81, 0.5);
  border-radius: 0;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.app-shell .tool-surface::before,
.app-shell .admin-hero-card::before,
.app-shell .my-round-matchday::before,
.app-shell .hero-panel::before {
  border-radius: 0;
}

.app-shell .metric-tile strong,
.app-shell .team-progress-card strong,
.app-shell .admin-stat-card strong,
.app-shell .amount-chip strong,
.app-shell .finance-summary dd,
.app-shell .match-ticket strong,
.app-shell .team-column h3 {
  color: var(--shell-lime-strong);
  font-family: "Barlow Condensed", var(--heading);
  letter-spacing: 0;
}

.app-shell .accent-orange,
.app-shell [data-tone="orange"],
.app-shell .orange-team {
  border-color: rgba(255, 139, 56, 0.38);
}

.app-shell .accent-orange strong,
.app-shell [data-tone="orange"] strong,
.app-shell .orange-team h3 {
  color: var(--shell-orange);
}

.app-shell .accent-blue,
.app-shell [data-tone="blue"] {
  border-color: rgba(96, 215, 255, 0.38);
}

.app-shell .accent-blue strong,
.app-shell [data-tone="blue"] strong {
  color: var(--shell-blue);
}

.app-shell .round-details,
.app-shell .section-details,
.app-shell .my-round-disclosure {
  background: rgba(10, 15, 16, 0.56);
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 0;
}

.app-shell .round-details > summary,
.app-shell .section-details > summary,
.app-shell .my-round-disclosure > summary {
  color: var(--shell-text);
  background: rgba(255, 255, 255, 0.035);
  border-radius: 0;
}

.app-shell .round-details > summary span,
.app-shell .section-details > summary span,
.app-shell .my-round-disclosure > summary span {
  color: var(--shell-lime-strong);
}

.app-shell .match-ticket {
  color: #0c1112;
  background: linear-gradient(135deg, #e9ffe1, #bffb78);
  border: 1px solid rgba(126, 221, 81, 0.65);
  border-radius: 0;
  box-shadow: 0 18px 36px rgba(126, 221, 81, 0.14);
}

.app-shell .match-ticket span,
.app-shell .match-ticket dt {
  color: #27372f;
}

.app-shell .match-ticket dd,
.app-shell .match-ticket strong {
  color: #071007;
}

.app-shell .metric-track,
.app-shell .cash-ring,
.app-shell .season-xp-meter .metric-track {
  background: rgba(255, 255, 255, 0.09);
}

.app-shell .metric-track i {
  background: linear-gradient(90deg, var(--shell-lime), var(--shell-blue));
}

.app-shell .metric-track.orange i {
  background: linear-gradient(90deg, var(--shell-orange), var(--shell-lime));
}

.app-shell .roster-row,
.app-shell .bench-row,
.app-shell .payment-row,
.app-shell .season-ranking-row,
.app-shell .audit-row,
.app-shell .admin-player-row,
.app-shell .announcement-row,
.app-shell .feed-row {
  color: var(--shell-text);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
}

.app-shell .roster-row small,
.app-shell .bench-row small,
.app-shell .payment-row small,
.app-shell .season-ranking-row small,
.app-shell .audit-row small,
.app-shell .admin-player-row small,
.app-shell .announcement-row small,
.app-shell .feed-row small,
.app-shell .ledger-note,
.app-shell .recap-publish-status {
  color: var(--shell-muted);
}

.app-shell .segmented-control {
  background: rgba(10, 16, 17, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
}

.app-shell .segmented-control button {
  min-height: 42px;
  color: var(--shell-muted);
  border-radius: 0;
}

.app-shell .segmented-control button.is-active {
  color: #071007;
  background: var(--shell-lime);
}

.app-shell input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
.app-shell select,
.app-shell textarea {
  min-height: 46px;
  color: var(--field-text);
  background: var(--field-bg);
  border: 1px solid rgba(13, 19, 20, 0.5);
  border-radius: 0;
  box-shadow: inset 3px 0 0 rgba(126, 221, 81, 0.72);
}

.app-shell textarea {
  min-height: 116px;
}

.app-shell label > span,
.app-shell .round-settings-form label > span,
.app-shell .profile-form label > span,
.app-shell .announcement-form label > span,
.app-shell .public-page-settings-form label > span {
  color: var(--shell-lime-strong);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.app-shell .player-sticker-preview,
.app-shell .profile-summary-avatar,
.app-shell .player-avatar,
.app-shell .my-round-crest,
.app-shell .public-crest {
  border-radius: 0;
}

.app-shell .teams-state-strip {
  color: var(--shell-text);
  background: rgba(96, 215, 255, 0.08);
  border: 1px solid rgba(96, 215, 255, 0.24);
  border-radius: 0;
}

.app-shell .admin-link-box {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
}

.app-shell .admin-link-box code {
  color: var(--shell-lime-strong);
}

.app-shell .team-drawer-toggle {
  color: #071007;
  background: var(--shell-lime);
  border-radius: 0;
}

.app-shell .team-drawer-panel {
  color: var(--shell-text);
  background: rgba(13, 19, 20, 0.96);
  border-color: var(--shell-border);
  border-radius: 0;
}

.app-shell .app-toast {
  color: var(--shell-text);
  background: rgba(13, 19, 20, 0.96);
  border: 1px solid var(--shell-border);
  border-radius: 0;
}

@media (max-width: 860px) {
  .app-shell {
    max-width: 100vw;
    overflow-x: clip;
  }

  .app-shell .sidebar {
    position: fixed;
  }

  .app-shell .workspace {
    max-width: 100vw;
    overflow-x: clip;
  }

  .app-shell .sidebar {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
    margin-inline: 10px;
    box-sizing: border-box;
  }

  .app-shell .topbar,
  .app-shell .stage-rail {
    margin-inline: 10px;
    max-width: calc(100vw - 20px);
    box-sizing: border-box;
  }

  .app-shell .topbar {
    gap: 8px;
    margin-top: 8px;
    padding: 9px 10px;
    border-left-width: 3px;
  }

  .app-shell .topbar .eyebrow {
    max-width: 100%;
    overflow: hidden;
    font-size: 0.62rem;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-shell .topbar h1 {
    margin-top: 2px;
    font-size: clamp(1.85rem, 8vw, 2.55rem);
    line-height: 0.88;
  }

  .app-shell .topbar-actions {
    grid-template-columns: minmax(0, 1fr) minmax(76px, 0.58fr) 44px;
    gap: 5px;
  }

  .app-shell .topbar-actions #logoutDemo {
    width: 44px;
    min-width: 44px;
  }

  .app-shell .topbar-actions .session-pill,
  .app-shell .topbar-actions .ghost-button,
  .app-shell .topbar-actions .primary-button {
    min-height: 44px;
    padding: 6px 7px;
    font-size: 10px;
  }

  .app-shell .stage-step {
    min-width: 112px;
  }

  .app-shell .stage-rail {
    overflow-x: auto;
    overflow-y: hidden;
  }

  .app-shell .view-header {
    padding: 14px;
  }
}

@media (max-width: 860px) {
  .swarm,
  .patota-loader {
    max-width: 100vw;
    overflow-x: hidden;
  }
}

@media (max-width: 640px) {
  .app-shell .primary-button,
  .app-shell .primary-action {
    clip-path: none;
  }

  .app-shell .topbar-actions {
    gap: 5px;
  }

  .app-shell .nav-item span,
  .app-shell .stage-step strong {
    font-size: 0.94rem;
  }
}

.my-round-panel.is-home-redesign {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  padding: 0;
  color: var(--shell-text);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.my-round-panel.is-home-redesign > * {
  grid-column: 1 / -1;
}

.home-matchday-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(320px, 0.72fr);
  gap: 14px;
  color: var(--shell-text);
}

.home-matchday-main,
.home-status-card,
.home-stat-card,
.home-support-grid button {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(24, 32, 33, 0.92), rgba(13, 19, 20, 0.92)),
    var(--shell-panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid rgba(126, 221, 81, 0.68);
  border-radius: 0;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.home-matchday-main::before,
.home-status-card::before,
.home-stat-card::before,
.home-support-grid button::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 5px),
    linear-gradient(135deg, rgba(126, 221, 81, 0.12), transparent 34%);
  opacity: 0.58;
}

.home-matchday-main > *,
.home-status-card > *,
.home-stat-card > *,
.home-support-grid button > * {
  position: relative;
  z-index: 1;
}

.home-matchday-main {
  min-height: 330px;
  display: grid;
  align-content: space-between;
  gap: 22px;
  padding: clamp(18px, 3vw, 28px);
  background:
    linear-gradient(90deg, rgba(8, 13, 14, 0.98) 0%, rgba(8, 13, 14, 0.86) 56%, rgba(8, 13, 14, 0.5) 100%),
    linear-gradient(135deg, rgba(126, 221, 81, 0.14), transparent 34%),
    url("assets/resenha-community.webp") center right / cover no-repeat;
}

.home-matchday-kicker,
.home-status-card > span,
.home-stat-card > span,
.home-support-grid button > span {
  color: var(--shell-lime-bright);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.home-matchday-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.home-matchday-kicker strong {
  padding: 6px 9px;
  color: var(--shell-text);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.11);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.home-matchday-title {
  min-width: 0;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.home-crest {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  color: #071007;
  background: linear-gradient(135deg, var(--shell-lime-bright), var(--shell-lime));
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 0;
  box-shadow: 0 16px 34px rgba(126, 221, 81, 0.2);
  font-family: var(--score);
  font-size: 30px;
  font-weight: var(--weight-display);
}

.home-matchday-title h3 {
  max-width: 860px;
  margin: 0;
  color: var(--shell-text);
  font-family: "Barlow Condensed", var(--heading);
  font-size: clamp(2.5rem, 5.4vw, 5.3rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.home-matchday-title p:not(.eyebrow) {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--shell-muted);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 700;
}

.home-match-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.home-match-meta div {
  min-width: 0;
  padding: 10px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.home-match-meta dt,
.home-match-meta dd {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-match-meta dt {
  color: var(--shell-quiet);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.67rem;
  font-weight: 800;
  text-transform: uppercase;
}

.home-match-meta dd {
  margin: 4px 0 0;
  color: var(--shell-text);
  font-weight: 850;
}

.home-status-card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: clamp(16px, 2.2vw, 22px);
  border-left-color: rgba(255, 139, 56, 0.54);
}

.home-status-card > strong {
  color: var(--shell-text);
  font-family: "Barlow Condensed", var(--heading);
  font-size: clamp(2rem, 3.2vw, 3.5rem);
  font-weight: 900;
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.home-status-card > p {
  margin: 0;
  color: var(--shell-muted);
  font-weight: 700;
  line-height: 1.35;
}

.home-status-actions {
  display: grid;
  gap: 8px;
  margin-top: 2px;
}

.home-status-actions .primary-action,
.home-status-actions .home-secondary-action {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  font-family: "Barlow Condensed", var(--heading);
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
  transition: transform 170ms ease, background 170ms ease, border-color 170ms ease;
}

.home-status-actions .primary-action {
  color: #071007;
  background: var(--shell-lime);
  border-color: var(--shell-lime);
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  box-shadow: 0 16px 34px rgba(126, 221, 81, 0.22);
}

.home-status-actions .home-secondary-action {
  color: var(--shell-text);
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.12);
}

.home-status-actions .primary-action:hover,
.home-status-actions .home-secondary-action:hover {
  transform: translateY(-1px);
}

.home-status-actions svg {
  width: 18px;
  height: 18px;
}

.home-status-card .my-round-feedback {
  max-width: none;
}

.home-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.home-stat-card {
  min-height: 114px;
  display: grid;
  align-content: space-between;
  gap: 8px;
  padding: 14px;
}

.home-stat-card strong {
  color: var(--shell-lime-bright);
  font-family: "Barlow Condensed", var(--heading);
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  font-weight: 900;
  line-height: 0.96;
  text-transform: uppercase;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.home-stat-card small {
  color: var(--shell-muted);
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.home-stat-card[data-tone="orange"],
.home-support-grid button[data-tone="orange"] {
  border-left-color: rgba(255, 139, 56, 0.62);
}

.home-stat-card[data-tone="orange"] strong,
.home-support-grid button[data-tone="orange"] strong {
  color: var(--shell-orange);
}

.home-stat-card[data-tone="blue"],
.home-support-grid button[data-tone="blue"] {
  border-left-color: rgba(96, 215, 255, 0.62);
}

.home-stat-card[data-tone="blue"] strong,
.home-support-grid button[data-tone="blue"] strong {
  color: var(--shell-blue);
}

.home-stat-card[data-tone="green"] strong,
.home-support-grid button[data-tone="green"] strong,
.home-stat-card[data-tone="lime"] strong,
.home-support-grid button[data-tone="lime"] strong {
  color: var(--shell-lime-bright);
}

.home-support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.home-support-grid button {
  min-height: 128px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px;
  color: var(--shell-text);
  text-align: left;
  cursor: pointer;
  transition: transform 170ms ease, border-color 170ms ease;
}

.home-support-grid button:hover {
  transform: translateY(-2px);
  border-color: var(--shell-border-strong);
}

.home-support-grid button strong {
  color: var(--shell-text);
  font-family: "Barlow Condensed", var(--heading);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.home-support-grid button small {
  color: var(--shell-muted);
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.home-kickoff-panel {
  position: relative;
  min-width: 0;
  display: grid;
  gap: 12px;
  padding: 16px;
  overflow: hidden;
  color: var(--shell-text);
  background:
    linear-gradient(180deg, rgba(24, 32, 33, 0.92), rgba(8, 13, 14, 0.94)),
    var(--shell-panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--shell-lime);
  border-radius: var(--sport-radius, 8px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
}

.home-kickoff-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 58px),
    linear-gradient(135deg, rgba(183, 255, 32, 0.12), transparent 42%),
    radial-gradient(circle at 92% 0, rgba(255, 90, 20, 0.16), transparent 30%);
  opacity: 0.85;
}

.home-kickoff-panel > * {
  position: relative;
  z-index: 1;
}

.home-kickoff-heading {
  display: grid;
  gap: 5px;
}

.home-kickoff-heading span,
.home-kickoff-step > span {
  color: var(--shell-lime-bright);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.home-kickoff-heading strong {
  color: var(--shell-text);
  font-family: "Barlow Condensed", var(--heading);
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  font-weight: 900;
  line-height: 0.94;
  text-transform: uppercase;
}

.home-kickoff-heading p {
  max-width: 760px;
  margin: 0;
  color: var(--shell-muted);
  font-weight: 800;
  line-height: 1.35;
}

.home-kickoff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.home-kickoff-step {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 12px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--sport-radius, 8px);
}

.home-kickoff-step[data-state="active"] {
  border-color: rgba(183, 255, 32, 0.48);
  background: rgba(183, 255, 32, 0.08);
}

.home-kickoff-step > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #071007;
  background: var(--shell-lime);
  border-radius: 50%;
}

.home-kickoff-step div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.home-kickoff-step strong {
  color: var(--shell-text);
  font-family: "Barlow Condensed", var(--heading);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 0.98;
  text-transform: uppercase;
}

.home-kickoff-step small {
  color: var(--shell-muted);
  font-weight: 750;
  line-height: 1.25;
}

.home-kickoff-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-kickoff-actions button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  color: var(--shell-text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--sport-radius, 8px);
  font-family: "Barlow Condensed", var(--heading);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.home-kickoff-actions button[data-tone="lime"] {
  color: #071007;
  background: var(--shell-lime);
  border-color: var(--shell-lime);
}

.home-kickoff-actions button[data-tone="orange"] {
  color: #071007;
  background: var(--shell-orange);
  border-color: var(--shell-orange);
}

.home-kickoff-actions button svg {
  width: 18px;
  height: 18px;
}

.matchday-timeline {
  min-width: 0;
  display: grid;
  gap: 10px;
  color: var(--shell-text);
}

.matchday-timeline-header,
.matchday-timeline-track button {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(24, 32, 33, 0.9), rgba(13, 19, 20, 0.92)),
    var(--shell-panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid rgba(126, 221, 81, 0.56);
  border-radius: var(--sport-radius, 8px);
}

.matchday-timeline-header::before,
.matchday-timeline-track button::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 5px),
    linear-gradient(135deg, rgba(126, 221, 81, 0.1), transparent 34%);
  opacity: 0.62;
}

.matchday-timeline-header > *,
.matchday-timeline-track button > * {
  position: relative;
  z-index: 1;
}

.matchday-timeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
}

.matchday-timeline-header > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.matchday-timeline-header span,
.matchday-step-label {
  color: var(--shell-lime-bright);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.matchday-timeline-header strong {
  min-width: 0;
  color: var(--shell-text);
  font-family: "Barlow Condensed", var(--heading);
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.matchday-timeline-header small {
  color: var(--shell-muted);
  font-weight: 700;
  line-height: 1.25;
}

.matchday-timeline-header p {
  min-width: 112px;
  margin: 0;
  padding: 10px 12px;
  color: var(--shell-muted);
  text-align: right;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--sport-radius, 8px);
}

.matchday-timeline-header p strong {
  display: block;
  color: var(--shell-lime-bright);
  font-size: 1.55rem;
}

.matchday-timeline-header p span {
  display: block;
  color: var(--shell-muted);
  font-size: 0.64rem;
}

.matchday-timeline-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.matchday-timeline-track button {
  min-height: 150px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  gap: 8px 9px;
  padding: 13px;
  color: var(--shell-text);
  text-align: left;
  cursor: pointer;
  transition: transform 170ms ease, border-color 170ms ease, background 170ms ease;
}

.matchday-timeline-track button:hover {
  transform: translateY(-2px);
  border-color: var(--shell-border-strong);
}

.matchday-timeline-track button svg {
  width: 18px;
  height: 18px;
  color: var(--shell-lime-bright);
}

.matchday-step-number {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  grid-row: span 2;
  color: #071007;
  background: var(--shell-lime);
  border-radius: 999px;
  font-family: var(--score);
  font-size: 0.74rem;
  font-weight: 900;
}

.matchday-step-label,
.matchday-timeline-track button strong,
.matchday-timeline-track button small,
.matchday-timeline-track button em {
  grid-column: 1 / -1;
}

.matchday-timeline-track button strong {
  min-width: 0;
  color: var(--shell-text);
  font-family: "Barlow Condensed", var(--heading);
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 0.96;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.matchday-timeline-track button small {
  min-width: 0;
  color: var(--shell-muted);
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.matchday-timeline-track button em {
  align-self: end;
  color: var(--shell-lime-bright);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.67rem;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.matchday-timeline-track button[data-state="active"] {
  border-left-color: var(--shell-orange);
  box-shadow: 0 16px 34px rgba(255, 139, 56, 0.12);
}

.matchday-timeline-track button[data-state="active"] .matchday-step-number {
  background: var(--shell-orange);
}

.matchday-timeline-track button[data-state="pending"] {
  opacity: 0.72;
}

.matchday-timeline-track button[data-state="pending"] .matchday-step-number {
  color: var(--shell-muted);
  background: rgba(255, 255, 255, 0.08);
}

.attendance-board {
  min-width: 0;
  display: grid;
  gap: 10px;
  color: var(--shell-text);
}

.attendance-board-slot {
  margin: 0 0 14px;
}

.attendance-board-heading,
.reserve-queue-panel,
.whatsapp-playbook {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(24, 32, 33, 0.9), rgba(13, 19, 20, 0.92)),
    var(--shell-panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid rgba(126, 221, 81, 0.6);
  border-radius: var(--sport-radius, 8px);
}

.attendance-board-heading::before,
.reserve-queue-panel::before,
.whatsapp-playbook::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 5px),
    linear-gradient(135deg, rgba(126, 221, 81, 0.1), transparent 34%);
  opacity: 0.62;
}

.attendance-board-heading > *,
.reserve-queue-panel > *,
.whatsapp-playbook > * {
  position: relative;
  z-index: 1;
}

.attendance-board-heading,
.reserve-queue-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.attendance-board-heading > div,
.reserve-queue-heading > div,
.whatsapp-playbook > div:first-child {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.attendance-board-heading span,
.attendance-segment-grid button > span,
.reserve-queue-heading span,
.whatsapp-playbook span,
.whatsapp-template-grid button span {
  color: var(--shell-lime-bright);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.attendance-board-heading strong,
.reserve-queue-heading strong,
.whatsapp-playbook > div:first-child strong {
  min-width: 0;
  color: var(--shell-text);
  font-family: "Barlow Condensed", var(--heading);
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.attendance-board-heading small,
.reserve-queue-heading small,
.whatsapp-playbook > div:first-child small {
  color: var(--shell-muted);
  font-weight: 700;
  line-height: 1.25;
}

.attendance-board-heading button,
.reserve-queue-heading button {
  min-height: 44px;
  padding: 10px 13px;
  color: #071007;
  background: var(--shell-lime);
  border: 1px solid var(--shell-lime);
  border-radius: var(--sport-radius, 8px);
  cursor: pointer;
  font-family: "Barlow Condensed", var(--heading);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.attendance-segment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.attendance-segment-grid button,
.whatsapp-template-grid button {
  min-width: 0;
  min-height: 126px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 13px;
  color: var(--shell-text);
  text-align: left;
  cursor: pointer;
  background:
    linear-gradient(180deg, rgba(24, 32, 33, 0.88), rgba(13, 19, 20, 0.92)),
    var(--shell-panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid rgba(126, 221, 81, 0.54);
  border-radius: var(--sport-radius, 8px);
  transition: transform var(--sport-micro, 160ms) ease, border-color var(--sport-micro, 160ms) ease;
}

.attendance-segment-grid button:hover,
.whatsapp-template-grid button:hover {
  transform: translateY(-2px);
  border-color: var(--shell-border-strong);
}

.attendance-segment-grid button[data-tone="orange"],
.whatsapp-template-grid button[data-whatsapp-template="spot"] {
  border-left-color: rgba(255, 139, 56, 0.66);
}

.attendance-segment-grid button[data-tone="blue"] {
  border-left-color: rgba(96, 215, 255, 0.66);
}

.attendance-segment-grid button[data-tone="muted"],
.attendance-segment-grid button[data-tone="idle"] {
  opacity: 0.82;
}

.attendance-segment-grid button strong,
.whatsapp-template-grid button strong {
  min-width: 0;
  color: var(--shell-text);
  font-family: "Barlow Condensed", var(--heading);
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 0.96;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.attendance-segment-grid button small,
.whatsapp-template-grid button small {
  min-width: 0;
  color: var(--shell-muted);
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.attendance-avatar-stack {
  display: flex;
  align-items: center;
  min-width: 0;
  margin-top: 2px;
}

.attendance-avatar {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-right: -8px;
  color: #071007;
  background: var(--shell-lime);
  border: 2px solid rgba(7, 16, 7, 0.78);
  border-radius: 999px;
  font-family: var(--score);
  font-size: 0.74rem;
  font-weight: 900;
}

.attendance-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.attendance-avatar.is-count {
  background: var(--shell-orange);
}

.attendance-empty-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--shell-muted);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-family: var(--score);
  font-size: 0.72rem;
  font-weight: 900;
}

.reserve-queue-panel {
  display: grid;
  gap: 12px;
  border-left-color: rgba(255, 139, 56, 0.6);
}

.reserve-queue-panel.is-empty {
  border-left-color: rgba(126, 221, 81, 0.38);
}

.reserve-queue-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reserve-queue-list li {
  min-width: 0;
  min-height: 72px;
  display: grid;
  grid-template-columns: 24px 34px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 9px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--sport-radius, 8px);
}

.reserve-queue-list li[data-call-state="called"] {
  border-color: rgba(255, 139, 56, 0.55);
  background: rgba(255, 139, 56, 0.1);
}

.reserve-queue-list li > span:first-child {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #071007;
  background: var(--shell-orange);
  border-radius: 999px;
  font-family: var(--score);
  font-size: 0.74rem;
  font-weight: 900;
}

.reserve-queue-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #071007;
  background: var(--shell-lime);
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-family: var(--score);
  font-size: 0.78rem;
  font-weight: 900;
}

.reserve-queue-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reserve-queue-list strong,
.reserve-queue-list small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reserve-queue-list strong {
  color: var(--shell-text);
  font-size: 0.9rem;
  line-height: 1.1;
}

.reserve-queue-list small {
  color: var(--shell-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.whatsapp-playbook {
  display: grid;
  grid-template-columns: minmax(210px, 0.6fr) minmax(0, 1.4fr);
  gap: 12px;
  align-items: stretch;
  border-left-color: rgba(96, 215, 255, 0.58);
}

.whatsapp-template-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.whatsapp-template-grid button {
  min-height: 104px;
}

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

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

  .whatsapp-playbook {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .attendance-board {
    gap: 8px;
  }

  .attendance-board-heading,
  .reserve-queue-heading {
    display: grid;
    align-items: start;
  }

  .attendance-board-heading button,
  .reserve-queue-heading button {
    width: 100%;
  }

  .attendance-segment-grid {
    gap: 8px;
  }

  .attendance-segment-grid button {
    min-height: 108px;
    padding: 11px;
  }

  .attendance-segment-grid button strong {
    font-size: 1.45rem;
  }

  .reserve-queue-list {
    gap: 7px;
  }

  .reserve-queue-list li {
    min-height: 64px;
    grid-template-columns: 22px 30px minmax(0, 1fr);
    gap: 6px;
    padding: 8px;
  }

  .reserve-queue-list li > span:first-child {
    width: 22px;
    height: 22px;
  }

  .reserve-queue-avatar {
    width: 30px;
    height: 30px;
  }

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

  .whatsapp-template-grid button {
    min-height: 92px;
  }

  .whatsapp-template-grid button:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 420px) {
  .matchday-timeline-header strong {
    font-size: 1.48rem;
  }

  .attendance-board-heading strong,
  .reserve-queue-heading strong,
  .whatsapp-playbook > div:first-child strong {
    font-size: 1.48rem;
  }
}

.home-pulse-board {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(154px, auto);
  gap: 10px;
}

.home-pulse-card {
  position: relative;
  min-width: 0;
  min-height: 164px;
  display: grid;
  align-content: start;
  gap: 9px;
  overflow: hidden;
  padding: 14px;
  color: var(--shell-text);
  text-align: left;
  cursor: pointer;
  background:
    linear-gradient(180deg, rgba(24, 32, 33, 0.9), rgba(13, 19, 20, 0.92)),
    var(--shell-panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid rgba(126, 221, 81, 0.5);
  border-radius: 0;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.2);
  transition: transform 170ms ease, border-color 170ms ease;
}

.home-pulse-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 5px),
    linear-gradient(135deg, rgba(126, 221, 81, 0.1), transparent 38%);
  opacity: 0.6;
}

.home-pulse-card > * {
  position: relative;
  z-index: 1;
}

.home-pulse-card:hover {
  transform: translateY(-2px);
  border-color: var(--shell-border-strong);
}

.home-pulse-card[data-tone="orange"] {
  border-left-color: rgba(255, 139, 56, 0.62);
}

.home-pulse-card[data-tone="blue"] {
  border-left-color: rgba(96, 215, 255, 0.62);
}

.home-pulse-card[data-tone="green"],
.home-pulse-card[data-tone="lime"] {
  border-left-color: rgba(126, 221, 81, 0.72);
}

.home-pulse-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--shell-lime-bright);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.69rem;
  font-weight: 850;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.home-pulse-kicker svg {
  width: 15px;
  height: 15px;
}

.home-pulse-card strong {
  color: var(--shell-text);
  font-family: "Barlow Condensed", var(--heading);
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
  font-weight: 900;
  line-height: 0.96;
  text-transform: uppercase;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.home-pulse-card small {
  color: var(--shell-muted);
  font-weight: 700;
  line-height: 1.24;
  overflow-wrap: anywhere;
}

.home-pulse-card[data-tone="orange"] .home-pulse-kicker,
.home-pulse-card[data-tone="orange"] strong {
  color: var(--shell-orange);
}

.home-pulse-card[data-tone="blue"] .home-pulse-kicker,
.home-pulse-card[data-tone="blue"] strong {
  color: var(--shell-blue);
}

.home-pulse-card[data-tone="green"] .home-pulse-kicker,
.home-pulse-card[data-tone="green"] strong,
.home-pulse-card[data-tone="lime"] .home-pulse-kicker,
.home-pulse-card[data-tone="lime"] strong {
  color: var(--shell-lime-bright);
}

.home-pulse-track {
  width: 100%;
  height: 8px;
  overflow: hidden;
  margin-top: auto;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-pulse-track i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--shell-lime), var(--shell-blue));
}

.home-pulse-card.is-ranking {
  grid-row: span 2;
  gap: 11px;
}

.home-ranking-list {
  display: grid;
  gap: 7px;
  margin-top: 2px;
}

.home-ranking-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 22px 34px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 7px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.home-ranking-row b {
  color: var(--shell-lime-bright);
  font-family: var(--score);
  font-size: 1rem;
}

.home-ranking-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #071007;
  background: var(--shell-lime);
  border-radius: 50%;
  font-family: var(--score);
  font-size: 0.78rem;
}

.home-ranking-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-ranking-row span:last-child {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.home-ranking-row strong {
  min-width: 0;
  color: var(--shell-text);
  font-family: "Barlow Condensed", var(--heading);
  font-size: 1.02rem;
  line-height: 0.96;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-ranking-row small {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-ranking-empty {
  display: grid;
  gap: 5px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.home-ranking-empty strong {
  font-size: 1.15rem;
}

.home-ranking-empty span {
  color: var(--shell-muted);
  font-weight: 700;
  line-height: 1.25;
}

.my-round-panel.is-home-redesign .my-round-guide,
.my-round-panel.is-home-redesign .my-round-live-grid,
.my-round-panel.is-home-redesign .round-ops-panel,
.my-round-panel.is-home-redesign .admin-day-panel {
  max-width: none;
}

.my-round-panel.is-home-redesign .my-round-disclosure {
  margin: 0;
}

body[data-view="rodada"] .my-round-panel.is-home-redesign + .round-details {
  display: none;
}

@media (max-width: 1180px) {
  .home-matchday-card {
    grid-template-columns: 1fr;
  }

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

  .home-stat-grid,
  .home-support-grid,
  .home-kickoff-grid,
  .home-pulse-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-pulse-card.is-ranking {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  body[data-view="rodada"] .stage-rail {
    display: none;
  }

  .my-round-panel.is-home-redesign {
    gap: 10px;
  }

  .home-matchday-card {
    gap: 10px;
  }

  .home-kickoff-panel {
    padding: 14px;
    gap: 10px;
  }

  .home-kickoff-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .home-kickoff-step {
    padding: 11px;
  }

  .home-kickoff-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-kickoff-actions button {
    width: 100%;
  }

  .matchday-timeline {
    gap: 8px;
  }

  .matchday-timeline-header {
    display: grid;
    align-items: start;
  }

  .matchday-timeline-header p {
    width: 100%;
    min-width: 0;
    text-align: left;
  }

  .matchday-timeline-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .matchday-timeline-track button {
    min-height: 108px;
    grid-template-columns: 24px 18px minmax(0, 1fr);
    align-items: start;
    padding: 11px;
    gap: 6px 7px;
  }

  .matchday-step-number {
    width: 22px;
    height: 22px;
    grid-row: auto;
  }

  .matchday-timeline-track button svg {
    width: 16px;
    height: 16px;
  }

  .matchday-step-label {
    grid-column: auto;
    align-self: center;
  }

  .matchday-timeline-track button strong {
    grid-column: 1 / -1;
    font-size: 1.35rem;
  }

  .matchday-timeline-track button small {
    grid-column: 1 / -1;
    font-size: 0.82rem;
  }

  .matchday-timeline-track button em {
    display: none;
  }

  .home-matchday-main {
    order: 2;
    min-height: auto;
    gap: 14px;
    padding: 16px;
  }

  .home-status-card {
    order: 1;
  }

  .home-matchday-title {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 10px;
  }

  .home-crest {
    width: 52px;
    height: 52px;
    font-size: 22px;
  }

  .home-matchday-title h3 {
    font-size: clamp(2rem, 12vw, 3.2rem);
  }

  .home-matchday-title p:not(.eyebrow) {
    font-size: 0.98rem;
  }

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

  .home-status-card {
    padding: 14px;
  }

  .home-status-card > strong {
    font-size: clamp(1.9rem, 11vw, 3rem);
  }

  .home-status-actions .primary-action {
    clip-path: none;
  }

  .home-stat-grid,
  .home-support-grid,
  .home-pulse-board {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .home-stat-card,
  .home-support-grid button,
  .home-pulse-card {
    min-height: 88px;
    padding: 12px;
  }

  .home-support-grid button {
    min-height: 92px;
  }

  .home-pulse-card {
    min-height: 104px;
  }

  .home-pulse-card.is-ranking {
    min-height: 180px;
  }
}

/* Player profile editor, aligned with the broadcast login system. */
.player-card-modal,
.player-card-modal * {
  box-sizing: border-box;
}

.player-card-launch {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 12px;
  color: var(--broadcast-text);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--broadcast-line);
  border-radius: 0;
}

.player-card-launch span {
  color: var(--broadcast-lime-bright);
}

.player-card-launch strong {
  color: var(--broadcast-text);
  font-size: 1.08rem;
}

.player-card-launch small {
  color: var(--broadcast-muted);
  font-family: "Hanken Grotesk", var(--body);
  font-size: 0.76rem;
  font-weight: 600;
}

.player-card-open {
  min-width: 132px;
  min-height: 44px;
  color: var(--broadcast-bg);
  background: var(--broadcast-lime);
  border: 0;
  border-radius: 0;
  box-shadow: 0 0 18px rgba(126, 221, 81, 0.16);
}

.player-card-open:hover,
.player-card-open:focus-visible {
  box-shadow: 0 0 0 1px rgba(126, 221, 81, 0.46), 0 0 24px rgba(126, 221, 81, 0.2);
}

.player-card-modal {
  --broadcast-bg: #0b0f10;
  --broadcast-panel: #121819;
  --broadcast-text: #f4f6ee;
  --broadcast-muted: #b7c0b7;
  --broadcast-quiet: #7f8b83;
  --broadcast-lime: #7edd51;
  --broadcast-lime-bright: #b7ff20;
  --broadcast-line: rgba(126, 221, 81, 0.2);
  --broadcast-line-strong: rgba(126, 221, 81, 0.45);
  --card-accent: var(--broadcast-lime);
  --card-accent-bright: var(--broadcast-lime-bright);
  --card-accent-soft: rgba(126, 221, 81, 0.12);
  --card-accent-line: rgba(126, 221, 81, 0.48);
  width: 100vw;
  height: 100dvh;
  max-width: 100vw;
  max-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: clamp(12px, 3vw, 28px);
  z-index: 300;
}

.player-card-backdrop {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 9, 0.88), rgba(5, 8, 9, 0.74)),
    rgba(5, 8, 9, 0.74);
  backdrop-filter: blur(8px);
}

.player-card-modal-panel {
  width: min(940px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 32px);
  min-width: 0;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  color: var(--broadcast-text);
  background:
    linear-gradient(145deg, rgba(27, 34, 34, 0.97), rgba(9, 14, 15, 0.98)),
    var(--broadcast-panel);
  border: 1px solid var(--broadcast-line-strong);
  border-radius: 0;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58);
}

.player-card-modal-panel::before {
  display: none;
}

.player-card-modal-header {
  min-width: 0;
  padding: 18px 20px 16px;
  background:
    linear-gradient(90deg, rgba(126, 221, 81, 0.08), transparent 48%),
    rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid var(--broadcast-line);
}

.player-card-modal-header > div {
  min-width: 0;
}

.player-card-modal-header span {
  color: var(--broadcast-lime-bright);
}

.player-card-modal-header h3 {
  max-width: 100%;
  margin: 4px 0 0;
  color: var(--broadcast-text);
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 0.92;
}

.player-card-modal-note {
  max-width: 520px;
  margin: 8px 0 0;
  color: var(--broadcast-muted);
  font-family: "Hanken Grotesk", var(--body);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.25;
  text-transform: none;
}

.player-card-close {
  border-radius: 0;
  color: var(--broadcast-text);
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--broadcast-line);
}

.player-card-close:hover,
.player-card-close:focus-visible {
  border-color: var(--broadcast-lime);
  box-shadow: 0 0 0 1px rgba(126, 221, 81, 0.32);
}

.player-card-builder-body {
  min-width: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 16px;
  scrollbar-color: rgba(126, 221, 81, 0.72) transparent;
  scrollbar-width: thin;
}

.player-card-builder-body::-webkit-scrollbar {
  width: 6px;
}

.player-card-builder-body::-webkit-scrollbar-track {
  background: transparent;
}

.player-card-builder-body::-webkit-scrollbar-thumb {
  background: rgba(126, 221, 81, 0.64);
}

.player-card-layout {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(280px, 330px) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.player-card-modal .player-sticker-preview,
.player-sticker-preview {
  --card-accent: var(--broadcast-lime);
  --card-accent-bright: var(--broadcast-lime-bright);
  --card-accent-soft: rgba(126, 221, 81, 0.12);
  --card-accent-line: rgba(126, 221, 81, 0.48);
  min-width: 0;
  min-height: 0;
  min-height: 590px;
  height: 100%;
  position: relative;
  display: grid;
  align-content: start;
  gap: 11px;
  overflow: hidden;
  padding: 16px;
  color: var(--broadcast-text);
  background:
    radial-gradient(circle at 20% 16%, rgba(255, 255, 255, 0.24), transparent 18%),
    radial-gradient(circle at 82% 4%, var(--card-accent-soft), transparent 28%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025) 36%, var(--card-accent-soft) 72%, rgba(0, 0, 0, 0.22)),
    rgba(7, 12, 13, 0.86);
  border: 1px solid var(--card-accent-line);
  border-radius: 0;
  clip-path: polygon(0 20px, 20px 0, calc(100% - 20px) 0, 100% 20px, 100% calc(100% - 20px), calc(100% - 20px) 100%, 20px 100%, 0 calc(100% - 20px));
  isolation: isolate;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 0 0 4px rgba(0, 0, 0, 0.18),
    inset 0 -72px 90px rgba(0, 0, 0, 0.36),
    0 22px 42px rgba(0, 0, 0, 0.34);
}

.player-sticker-preview[data-theme="orange"] {
  --card-accent: #ff9d2e;
  --card-accent-bright: #ffd36d;
  --card-accent-soft: rgba(255, 157, 46, 0.14);
  --card-accent-line: rgba(255, 157, 46, 0.5);
}

.player-sticker-preview[data-theme="blue"] {
  --card-accent: #4eb7ff;
  --card-accent-bright: #9ed7ff;
  --card-accent-soft: rgba(78, 183, 255, 0.14);
  --card-accent-line: rgba(78, 183, 255, 0.5);
}

.player-sticker-preview[data-theme="night"] {
  --card-accent: #f4f6ee;
  --card-accent-bright: #ffffff;
  --card-accent-soft: rgba(244, 246, 238, 0.12);
  --card-accent-line: rgba(244, 246, 238, 0.36);
}

.player-sticker-shine {
  inset: -42% 28% auto -18%;
  width: 78%;
  height: 80%;
  z-index: -1;
  background:
    linear-gradient(110deg, transparent 0 22%, rgba(255, 255, 255, 0.18) 34%, transparent 48%),
    var(--card-accent-soft);
  opacity: 0.78;
  transform: rotate(-18deg);
}

.player-sticker-foil {
  position: absolute;
  inset: 10px;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(125deg, transparent 0 34%, rgba(255, 255, 255, 0.13) 43%, transparent 52%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  clip-path: polygon(0 16px, 16px 0, calc(100% - 16px) 0, 100% 16px, 100% calc(100% - 16px), calc(100% - 16px) 100%, 16px 100%, 0 calc(100% - 16px));
  opacity: 0.9;
}

.player-sticker-top {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1fr) 48px;
}

.player-sticker-top span {
  color: var(--broadcast-muted);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.62rem;
}

.player-sticker-top strong {
  min-height: 44px;
  color: var(--broadcast-bg);
  background: var(--card-accent);
  border-radius: 0;
  box-shadow: 0 0 20px var(--card-accent-soft);
}

.player-sticker-identity {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
}

.player-sticker-rating {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 74px;
  color: var(--broadcast-bg);
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.5), transparent 24%),
    var(--card-accent);
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 28px var(--card-accent-soft);
}

.player-sticker-rating strong {
  font-family: "Barlow Condensed", var(--heading);
  font-size: 2.28rem;
  font-weight: 900;
  line-height: 0.88;
}

.player-sticker-rating span {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.player-sticker-rarity {
  display: grid;
  align-content: center;
  gap: 5px;
  min-width: 0;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid var(--card-accent-line);
}

.player-sticker-rarity span {
  color: var(--card-accent-bright);
  font-family: "Barlow Condensed", var(--heading);
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
}

.player-sticker-rarity b {
  color: var(--broadcast-muted);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.player-sticker-photo {
  position: relative;
  z-index: 1;
  width: 118px;
  border: 2px solid rgba(244, 246, 238, 0.84);
  background:
    radial-gradient(circle at 35% 26%, var(--card-accent-soft), transparent 34%),
    rgba(8, 15, 17, 0.9);
  box-shadow:
    0 0 0 6px rgba(0, 0, 0, 0.22),
    0 0 26px var(--card-accent-soft);
}

.player-sticker-name {
  position: relative;
  z-index: 1;
  color: #ffffff;
  font-size: 1.72rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.46);
}

.player-sticker-meta {
  position: relative;
  z-index: 1;
  color: var(--broadcast-muted);
  font-size: 0.76rem;
}

.player-sticker-stats {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.player-sticker-stats div {
  padding: 7px 6px;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 0;
}

.player-sticker-overall {
  position: relative;
  z-index: 1;
  color: var(--broadcast-bg);
  background: var(--card-accent);
  border-radius: 0;
  box-shadow: 0 0 20px var(--card-accent-soft);
}

.player-sticker-attributes {
  position: relative;
  z-index: 1;
  gap: 4px;
}

.player-sticker-attributes span {
  padding: 6px 3px;
  color: var(--broadcast-muted);
  background: rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 0;
}

.player-card-fields {
  min-width: 0;
  align-content: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  color: var(--broadcast-text);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--broadcast-line);
  border-radius: 0;
}

.player-card-form-heading {
  grid-column: 1 / -1;
  display: grid;
  gap: 3px;
  padding-bottom: 4px;
}

.player-card-form-heading strong {
  color: var(--broadcast-text);
  font-family: "Barlow Condensed", var(--heading);
  font-size: 1.28rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.player-card-form-heading span {
  color: var(--broadcast-muted);
  font-family: "Hanken Grotesk", var(--body);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.22;
}

.player-card-field,
.player-photo-picker {
  min-width: 0;
}

.player-card-fields input,
.player-card-fields select {
  min-width: 0;
  color: var(--broadcast-bg);
  background: var(--paper-50);
  border: 0;
  border-radius: 0;
}

.player-card-fields label span,
.player-card-fields label small {
  color: var(--broadcast-muted);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

.player-photo-picker.is-full {
  grid-column: 1 / -1;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  padding: 10px;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.player-photo-picker input[type="file"] {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.player-photo-picker > span,
.player-photo-clear,
.player-card-randomize {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--broadcast-bg);
  background: var(--broadcast-lime);
  border: 0;
  border-radius: 0;
}

.player-photo-picker > span {
  min-width: 142px;
  padding: 0 14px;
  font-family: "Barlow Condensed", var(--heading);
  font-size: 1.04rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.player-card-fields .player-photo-picker > span {
  color: var(--broadcast-bg);
  font-family: "Barlow Condensed", var(--heading);
  font-size: 1.04rem;
  letter-spacing: 0;
}

.player-photo-picker > span svg {
  width: 16px;
  height: 16px;
  color: currentColor;
  stroke-width: 2.5;
}

.player-photo-picker small {
  min-width: 0;
  flex: 1 1 190px;
  color: var(--broadcast-muted);
  font-family: "Hanken Grotesk", var(--body);
  font-size: 0.72rem;
  line-height: 1.2;
}

.player-photo-adjust {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 10px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid var(--broadcast-line);
}

.player-photo-adjust[hidden] {
  display: none;
}

.player-photo-adjust-head {
  grid-column: 1 / -1;
  display: grid;
  gap: 3px;
}

.player-photo-adjust-head strong {
  color: var(--broadcast-text);
  font-family: "Barlow Condensed", var(--heading);
  font-size: 1.06rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.player-photo-adjust-head small {
  color: var(--broadcast-muted);
  font-family: "Hanken Grotesk", var(--body);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
}

.player-photo-zoom {
  display: grid;
  gap: 7px;
}

.player-photo-zoom input[type="range"] {
  width: 100%;
  min-height: 44px;
  accent-color: var(--broadcast-lime);
  background: transparent;
}

.player-photo-position {
  display: grid;
  grid-template-columns: repeat(5, minmax(44px, auto));
  gap: 5px;
  align-items: center;
}

.player-photo-position button {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--broadcast-text);
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid var(--broadcast-line);
  border-radius: 0;
  font-family: "Barlow Condensed", var(--heading);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.player-photo-position button:hover,
.player-photo-position button:focus-visible {
  border-color: var(--broadcast-lime);
}

.player-photo-position svg {
  width: 15px;
  height: 15px;
}

.player-card-randomize {
  color: var(--broadcast-text);
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid var(--broadcast-line);
}

.player-card-randomize:hover,
.player-card-randomize:focus-visible {
  border-color: var(--broadcast-lime);
}

.player-card-modal-actions {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--broadcast-line);
}

.player-card-done {
  min-height: 46px;
  min-width: 150px;
  color: var(--broadcast-bg);
  background: var(--broadcast-lime);
  border-radius: 0;
}

@media (max-width: 760px) {
  .player-card-launch {
    grid-template-columns: 1fr;
  }

  .player-card-open {
    width: 100%;
  }

  .player-card-modal {
    align-items: center;
    padding: 8px;
  }

  .player-card-modal-panel {
    width: calc(100vw - 16px);
    max-width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
  }

  .player-card-modal-header {
    padding: 14px;
  }

  .player-card-modal-header h3 {
    font-size: 2.1rem;
  }

  .player-card-modal-note {
    font-size: 0.78rem;
  }

  .player-card-builder-body {
    padding: 12px;
  }

  .player-card-layout {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .player-card-modal .player-sticker-preview {
    gap: 5px;
    min-height: 430px;
    padding: 10px;
    clip-path: polygon(0 14px, 14px 0, calc(100% - 14px) 0, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 0 calc(100% - 14px));
  }

  .player-sticker-foil {
    inset: 8px;
  }

  .player-sticker-identity {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 8px;
  }

  .player-sticker-rating {
    min-height: 58px;
  }

  .player-sticker-rating strong {
    font-size: 1.72rem;
  }

  .player-sticker-rarity {
    padding: 8px 9px;
  }

  .player-sticker-rarity span {
    font-size: 1.05rem;
  }

  .player-sticker-rarity b {
    font-size: 0.55rem;
  }

  .player-sticker-photo {
    width: 74px;
    border-width: 2px;
  }

  .player-sticker-name {
    font-size: 1.15rem;
  }

  .player-sticker-meta {
    display: none;
  }

  .player-card-modal .player-sticker-top {
    grid-template-columns: minmax(0, 1fr) 42px;
  }

  .player-card-modal .player-sticker-top strong {
    min-height: 0;
    height: 38px;
    font-size: 1rem;
  }

  .player-card-modal .player-sticker-top span {
    font-size: 0.56rem;
  }

  .player-sticker-stats div {
    padding: 5px 4px;
  }

  .player-card-modal .player-sticker-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .player-card-modal .player-sticker-stats dd {
    margin-top: 2px;
  }

  .player-card-modal .player-sticker-overall {
    padding: 4px 8px;
  }

  .player-card-modal .player-sticker-overall strong {
    font-size: 1rem;
  }

  .player-card-modal .player-sticker-overall span {
    font-size: 0.5rem;
  }

  .player-card-modal .player-sticker-attributes {
    display: none;
  }

  .player-card-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
  }

  .player-card-form-heading strong {
    font-size: 1.08rem;
  }

  .player-card-form-heading span {
    font-size: 0.72rem;
  }

  .player-photo-picker.is-full {
    align-items: stretch;
    padding: 8px;
  }

  .player-photo-picker > span {
    width: 100%;
  }

  .player-photo-picker small {
    flex-basis: 100%;
  }

  .player-photo-adjust {
    grid-template-columns: 1fr;
  }

  .player-photo-position {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .player-card-modal-actions {
    padding: 12px;
  }

  .player-card-done {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .player-card-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .player-card-field:not(.is-full) {
    grid-column: auto;
  }

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

  .player-card-modal .player-sticker-preview {
    min-height: 408px;
  }
}

/* App shell standardization layer */
.app-shell {
  --sport-radius: 8px;
  --sport-radius-sm: 6px;
  --sport-radius-pill: 999px;
  --sport-focus: 0 0 0 3px rgba(126, 221, 81, 0.24), 0 0 0 1px rgba(126, 221, 81, 0.58);
  --sport-lift: 0 18px 44px rgba(0, 0, 0, 0.28);
  --sport-micro: 170ms var(--ease-standard);
}

.app-shell :where(
  .topbar,
  .stage-rail,
  .stage-step,
  .nav-item,
  .nav-more > summary,
  .season-card,
  .view-header,
  .tool-surface,
  .hero-panel,
  .metric-tile,
  .team-progress-card,
  .team-pack-card,
  .finance-summary,
  .team-column,
  .versus-card,
  .share-card,
  .season-hero-panel,
  .profile-card-surface,
  .profile-summary-card,
  .profile-privacy-surface,
  .feed-signal-card,
  .announcement-signal-card,
  .announcement-form-surface,
  .admin-hero-card,
  .admin-stat-card,
  .round-ops-panel,
  .my-round-matchday,
  .my-round-copy,
  .my-round-live-card,
  .my-round-insights button,
  .my-round-disclosure,
  .player-finance-card,
  .section-details,
  .round-details,
  .match-ticket,
  .roster-row,
  .bench-row,
  .payment-row,
  .season-ranking-row,
  .audit-row,
  .admin-player-row,
  .announcement-row,
  .feed-row,
  .segmented-control,
  .teams-state-strip,
  .admin-link-box,
  .team-drawer-panel,
  .app-toast,
  .home-matchday-main,
	  .home-status-card,
	  .home-stat-card,
	  .home-support-grid button,
	  .matchday-timeline-header,
	  .matchday-timeline-track button,
	  .match-flow-panel,
	  .match-flow-grid article,
	  .match-flow-action,
	  .home-pulse-card,
	  .home-ranking-row,
	  .home-ranking-empty,
  .player-card-launch,
  .player-card-open,
  .player-card-modal-panel,
  .player-card-form,
  .player-card-field,
  .player-photo-picker,
  .player-photo-adjust,
  .player-photo-position button,
  .player-card-done
) {
  border-radius: var(--sport-radius);
}

.app-shell :where(
  .primary-button,
  .light-button,
  .ghost-button,
  .primary-action,
  .admin-secondary-link,
  .admin-link-box button,
  .admin-tabs button,
  .segmented-control button,
	  .round-ops-grid button,
	  .my-round-insights button,
	  .home-support-grid button,
	  .matchday-timeline-track button,
	  .match-flow-action,
	  .player-card-open,
	  .player-card-done
	) {
  min-height: 44px;
  border-radius: var(--sport-radius);
}

.app-shell :where(
  .status-pill,
  .session-pill,
  .amount-chip,
  .team-drawer-toggle,
  .admin-next-round-status,
	  .home-status-badge,
	  .home-matchday-kicker,
	  .player-sticker-overall
) {
  border-radius: var(--sport-radius-pill);
}

.app-shell :where(
  input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
  select,
  textarea
) {
  min-height: 44px;
  border-radius: var(--sport-radius);
}

.app-shell :where(button, a, input, select, textarea, summary):focus-visible {
  outline: none;
  box-shadow: var(--sport-focus);
}

.app-shell :where(
  .home-matchday-main,
	  .home-status-card,
	  .matchday-timeline-header,
	  .matchday-timeline-track button,
	  .match-flow-panel,
	  .home-pulse-card,
	  .my-round-matchday,
  .admin-hero-card,
  .tool-surface,
  .round-ops-panel
) {
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(126, 221, 81, 0.035), transparent 36%);
  background-size: 56px 100%, 100% 100%;
}

.app-shell :where(.home-matchday-main, .my-round-matchday, .admin-hero-card) {
  box-shadow: var(--sport-lift);
}

.app-shell :where(.topbar, .stage-rail, .view-header, .tool-surface, .home-status-card, .home-pulse-card) {
  border-color: rgba(126, 221, 81, 0.22);
}

.app-shell .topbar,
.app-shell .stage-rail,
.app-shell .stage-step,
.app-shell .nav-item,
.app-shell .nav-more > summary,
.app-shell .season-card,
.app-shell .view-header,
.app-shell .tool-surface,
.app-shell .hero-panel,
.app-shell .round-details,
.app-shell .section-details,
.app-shell .my-round-disclosure,
.app-shell .home-matchday-main,
.app-shell .home-status-card,
	.app-shell .home-stat-card,
	.app-shell .matchday-timeline-header,
	.app-shell .matchday-timeline-track button,
	.app-shell .match-flow-panel,
	.app-shell .match-flow-grid article,
	.app-shell .home-pulse-card,
.app-shell .admin-hero-card,
.app-shell .round-ops-panel,
.app-shell .profile-summary-card,
.app-shell .player-card-modal-panel {
  border-radius: var(--sport-radius);
}

.app-shell .team-column,
.app-shell .versus-card,
.app-shell .share-card,
.app-shell .season-hero-panel,
.app-shell .season-profile-card,
.app-shell .season-ranking-row,
.app-shell .my-round-live-card,
.app-shell .profile-card-surface,
.app-shell .admin-stat-card,
.app-shell .admin-link-box,
.app-shell .teams-state-strip,
.app-shell .team-drawer-panel,
.app-shell .finance-summary,
.app-shell .payment-row,
.app-shell .feed-signal-card,
.app-shell .announcement-signal-card,
.app-shell .announcement-row {
  border-radius: var(--sport-radius);
}

.team-drawer-panel {
  border-radius: var(--sport-radius, 8px);
}

.app-shell .primary-button,
.app-shell .light-button,
.app-shell .ghost-button,
.app-shell .primary-action,
.app-shell .home-status-actions .primary-action,
.app-shell .home-status-actions .home-secondary-action,
.app-shell .home-support-grid button,
.app-shell .my-round-insights button,
.app-shell .match-flow-action,
.app-shell .matchday-timeline-track button,
.app-shell .round-ops-grid button,
.app-shell .admin-tabs button,
.app-shell .admin-secondary-link,
.app-shell .admin-link-box button,
.app-shell .segmented-control button,
.app-shell .player-card-open,
.app-shell .player-card-done {
  min-height: 44px;
  border-radius: var(--sport-radius);
  clip-path: none;
}

.app-shell .status-pill,
.app-shell .session-pill,
.app-shell .amount-chip,
.app-shell .team-drawer-toggle,
.app-shell .admin-next-round-status,
.app-shell .home-status-badge,
.app-shell .home-matchday-kicker {
  border-radius: var(--sport-radius-pill);
}

@media (prefers-reduced-motion: no-preference) {
  .app-shell :where(
    button:not(:disabled),
    .nav-item,
	    .stage-step,
	    .matchday-timeline-track button,
	    .match-flow-action,
	    .match-flow-grid article,
	    .home-pulse-card,
    .season-ranking-row,
    .team-drawer-card,
    .player-card-open
  ) {
    transition:
      transform var(--sport-micro),
      border-color var(--sport-micro),
      background var(--sport-micro),
      box-shadow var(--sport-micro),
      filter var(--sport-micro);
  }

  .app-shell :where(
    .primary-button,
    .light-button,
    .ghost-button,
    .primary-action,
    .admin-secondary-link,
    .home-support-grid button,
    .my-round-insights button,
    .match-flow-action,
    .round-ops-grid button,
    .player-card-open
  ):hover:not(:disabled) {
    transform: translateY(-1px);
    filter: brightness(1.04);
  }

  .app-shell :where(
    button,
    .nav-item,
    .stage-step,
    .match-flow-action,
    .match-flow-grid article,
    .home-pulse-card,
    .season-ranking-row,
    .team-drawer-card
  ):active:not(:disabled) {
    transform: translateY(0) scale(0.985);
  }

  .app-shell :where(button:not(:disabled) svg, .nav-item svg, .stage-step svg) {
    transition: transform var(--sport-micro);
  }

  .app-shell :where(button:not(:disabled):hover svg, .nav-item:hover svg, .stage-step:hover svg) {
    transform: translateY(-1px) scale(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-shell *,
  .app-shell *::before,
  .app-shell *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 760px) {
  .app-shell .workspace {
    padding-bottom: calc(112px + env(safe-area-inset-bottom));
  }

  .app-shell .sidebar {
    z-index: 90;
    background:
      linear-gradient(180deg, rgba(126, 221, 81, 0.08), rgba(5, 7, 13, 1) 44%),
      rgba(5, 7, 13, 1);
    border: 1px solid rgba(126, 221, 81, 0.18);
    border-radius: var(--sport-radius);
    box-shadow: 0 -14px 36px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(126, 221, 81, 0.08);
    backdrop-filter: blur(18px) saturate(1.15);
  }
}

@media (max-width: 760px) {
  .app-shell .share-card {
    min-height: 420px;
    padding: 20px;
  }

  .app-shell .share-card h3 {
    margin: 34px 0 16px;
    font-size: clamp(34px, 12vw, 42px);
  }

  .app-shell .share-stats div {
    min-height: 72px;
    padding: 10px;
  }

  .app-shell .share-stats span {
    font-size: 26px;
  }

  .app-shell .story-card-surface,
  .app-shell .result-surface,
  .app-shell .public-media-surface {
    margin-top: 12px;
  }

  .app-shell .story-card-workbench {
    gap: 12px;
  }

  .app-shell .story-card-preview {
    width: min(100%, 260px);
    min-height: 0;
    aspect-ratio: 4 / 5;
    gap: 10px;
    padding: 16px;
  }

  .app-shell .story-card-preview h3 {
    font-size: clamp(30px, 10vw, 38px);
  }

  .app-shell .story-card-preview strong {
    font-size: 18px;
  }

  .app-shell .story-card-stat-grid {
    gap: 6px;
  }

  .app-shell .story-card-stat-grid span {
    padding: 8px;
  }

  .app-shell .story-card-side {
    gap: 10px;
    padding: 12px;
  }

  .app-shell .score-inputs {
    grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
    gap: 8px;
  }

  .app-shell .round-result-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-bottom: 12px;
  }

  .app-shell .round-result-summary article {
    min-height: 88px;
    padding: 10px;
  }

  .app-shell .round-result-summary strong {
    font-size: 22px;
  }

  .app-shell .score-inputs strong,
  .app-shell .round-result-form input,
  .app-shell .round-result-form select {
    min-height: 46px;
  }

  .app-shell .sticker-grid {
    gap: 10px;
  }

  .app-shell .team-command-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    margin-bottom: 12px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .app-shell .team-command-strip::-webkit-scrollbar {
    display: none;
  }

  .app-shell .team-progress-card,
  .app-shell .team-pack-card {
    flex: 0 0 158px;
    min-height: 102px;
    padding: 12px;
    gap: 8px;
    scroll-snap-align: start;
  }

  .app-shell .team-pack-card {
    flex-basis: 184px;
  }

  .app-shell .team-progress-card strong {
    font-size: 30px;
  }

  .app-shell .sticker-card {
    min-height: 0;
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr);
    grid-template-areas:
      "avatar status"
      "avatar title"
      "meta meta"
      "actions actions";
    align-items: center;
    gap: 8px 10px;
    padding: 12px;
  }

  .app-shell .sticker-card::before {
    inset: 7px;
  }

  .app-shell .sticker-card::after {
    right: 8px;
    bottom: 50px;
    font-size: 42px;
  }

  .app-shell .sticker-status {
    grid-area: status;
    align-items: center;
  }

  .app-shell .sticker-status span {
    min-height: 24px;
    padding: 5px 8px;
    font-size: 10px;
  }

  .app-shell .sticker-avatar {
    grid-area: avatar;
    width: 66px;
    height: 66px;
    margin: 0;
    border-width: 5px;
    font-size: 22px;
  }

  .app-shell .sticker-card h3 {
    grid-area: title;
    min-height: 0;
    text-align: left;
    font-size: 22px;
  }

  .app-shell .sticker-card p {
    grid-area: meta;
    margin: 0;
    text-align: left;
    font-size: 13px;
  }

  .app-shell .card-actions {
    grid-area: actions;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .app-shell .card-actions button {
    min-height: 42px;
    padding: 9px 8px;
  }
}

@media (max-width: 760px) {
  .app-shell .admin-command-center {
    gap: 10px;
  }

  .app-shell .admin-hero-card {
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 9px;
    padding: 14px;
  }

  .app-shell .admin-hero-card > span,
  .app-shell .admin-hero-card > strong,
  .app-shell .admin-hero-card > p,
  .app-shell .admin-hero-card > .admin-link-box,
  .app-shell .admin-hero-card > .admin-checklist {
    grid-column: 1 / -1;
  }

  .app-shell .admin-hero-card strong {
    font-size: clamp(30px, 11vw, 38px);
  }

  .app-shell .admin-hero-card p {
    font-size: 13px;
    line-height: 1.25;
  }

  .app-shell .admin-link-box {
    grid-template-columns: minmax(0, 1fr) 44px 44px;
    gap: 6px;
  }

  .app-shell .admin-link-box button,
  .app-shell .admin-link-box a {
    width: 44px;
    min-width: 44px;
    padding-inline: 0;
    justify-content: center;
  }

  .app-shell .admin-link-box button span,
  .app-shell .admin-link-box a span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .app-shell .admin-reserve-call,
  .app-shell #createNextRound {
    grid-column: 1 / -1;
  }

  .app-shell .admin-secondary-link {
    width: 100%;
    min-width: 0;
    justify-content: center;
    padding-inline: 9px;
  }

  .app-shell .admin-round-status-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-shell .admin-next-round-status {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .app-shell .admin-checklist {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .app-shell .admin-checklist::-webkit-scrollbar {
    display: none;
  }

  .app-shell .admin-checklist span {
    flex: 0 0 128px;
    min-height: 58px;
    padding: 8px;
  }
}

/* ============================================================
   MOTION LAYER v1 — camada aditiva de microinteracoes e animacoes.
   Regras: so transform/opacity/filter/box-shadow (performante),
   tudo dentro de prefers-reduced-motion: no-preference,
   sobrepoe seletores existentes por especificidade + ordem.
   ============================================================ */

:root {
  --ease-emphasized: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-press: cubic-bezier(0.3, 0.7, 0.4, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-tap: 110ms;
  --dur-card: 160ms;
  --dur-tab: 210ms;
  --dur-modal: 260ms;
  --dur-toast: 220ms;
  --dur-celebrate: 720ms;
  --dur-reveal: 1100ms;
  --dur-cascade: 620ms;
  --motion-stagger: 55ms;
  --glow-lime: rgba(126, 221, 81, 0.55);
  --glow-green: rgba(8, 196, 107, 0.5);
}

@media (prefers-reduced-motion: no-preference) {
  /* ---------- keyframes ---------- */
  @keyframes brViewEnter {
    from { opacity: 0; transform: translateY(14px) scale(0.994); }
    to { opacity: 1; transform: none; }
  }
  @keyframes brStaggerIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes brConfirmGlow {
    0% { box-shadow: 0 0 0 0 rgba(8, 196, 107, 0); }
    22% { box-shadow: 0 0 0 3px var(--glow-green), 0 0 26px rgba(8, 196, 107, 0.42); }
    100% { box-shadow: 0 0 0 0 rgba(8, 196, 107, 0); }
  }
  @keyframes brPop {
    0% { transform: scale(1); }
    45% { transform: scale(1.16); }
    100% { transform: scale(1); }
  }
  @keyframes brCountPop {
    0% { transform: translateY(0) scale(1); }
    40% { transform: translateY(-2px) scale(1.18); color: var(--lime); }
    100% { transform: translateY(0) scale(1); }
  }
  @keyframes brToastIn {
    from { opacity: 0; transform: translateY(16px) scale(0.96); }
    to { opacity: 1; transform: none; }
  }
  @keyframes brToastOut {
    from { opacity: 1; transform: none; }
    to { opacity: 0; transform: translateY(10px) scale(0.97); }
  }
  @keyframes brCascadeIn {
    from { opacity: 0; transform: translateY(18px) scale(0.965); }
    to { opacity: 1; transform: none; }
  }
  @keyframes brCardReveal {
    0% { opacity: 0; transform: perspective(1000px) rotateY(-16deg) translateY(20px) scale(0.94); }
    100% { opacity: 1; transform: perspective(1000px) rotateY(0) translateY(0) scale(1); }
  }
  @keyframes brShineSweep {
    0% { opacity: 0; transform: translateX(-160%) rotate(-18deg); }
    18% { opacity: 1; }
    100% { opacity: 0; transform: translateX(220%) rotate(-18deg); }
  }
  @keyframes brBadgePop {
    0% { opacity: 0; transform: scale(0.6) rotate(-8deg); }
    60% { opacity: 1; transform: scale(1.12) rotate(2deg); }
    100% { opacity: 1; transform: scale(1) rotate(0); }
  }
  @keyframes brShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
  }
  @keyframes brScoreIn {
    0% { opacity: 0; transform: translateY(10px) scale(0.9); }
    60% { opacity: 1; transform: translateY(0) scale(1.06); }
    100% { transform: scale(1); }
  }

  /* ---------- transicao de view (mais rica que o viewIn base) ---------- */
  .app-shell .view.is-active {
    animation: brViewEnter var(--dur-tab) var(--ease-emphasized) both;
  }

  /* ---------- entrada escalonada de listas ao abrir a view ---------- */
  .app-shell .view[data-just-entered] :where(
    .roster-row, .bench-row, .payment-row, .season-ranking-row,
    .feed-row, .announcement-row, .admin-player-row, .audit-row,
    .home-pulse-card, .home-stat-card, .match-flow-grid article
  ) {
    animation: brStaggerIn var(--dur-card) var(--ease-emphasized) both;
  }
  .app-shell .view[data-just-entered] :where(.roster-row, .bench-row, .payment-row, .season-ranking-row, .feed-row, .announcement-row, .admin-player-row, .audit-row, .home-pulse-card, .home-stat-card, .match-flow-grid article):nth-child(1) { animation-delay: 0ms; }
  .app-shell .view[data-just-entered] :where(.roster-row, .bench-row, .payment-row, .season-ranking-row, .feed-row, .announcement-row, .admin-player-row, .audit-row, .home-pulse-card, .home-stat-card, .match-flow-grid article):nth-child(2) { animation-delay: 50ms; }
  .app-shell .view[data-just-entered] :where(.roster-row, .bench-row, .payment-row, .season-ranking-row, .feed-row, .announcement-row, .admin-player-row, .audit-row, .home-pulse-card, .home-stat-card, .match-flow-grid article):nth-child(3) { animation-delay: 100ms; }
  .app-shell .view[data-just-entered] :where(.roster-row, .bench-row, .payment-row, .season-ranking-row, .feed-row, .announcement-row, .admin-player-row, .audit-row, .home-pulse-card, .home-stat-card, .match-flow-grid article):nth-child(4) { animation-delay: 150ms; }
  .app-shell .view[data-just-entered] :where(.roster-row, .bench-row, .payment-row, .season-ranking-row, .feed-row, .announcement-row, .admin-player-row, .audit-row, .home-pulse-card, .home-stat-card, .match-flow-grid article):nth-child(5) { animation-delay: 200ms; }
  .app-shell .view[data-just-entered] :where(.roster-row, .bench-row, .payment-row, .season-ranking-row, .feed-row, .announcement-row, .admin-player-row, .audit-row, .home-pulse-card, .home-stat-card, .match-flow-grid article):nth-child(n+6) { animation-delay: 250ms; }

  /* ---------- CTAs: hover/press mais ousado ---------- */
  .app-shell :where(.primary-button, .primary-action, .match-flow-action.is-primary):hover:not(:disabled) {
    transform: translateY(-2px) scale(1.015);
    box-shadow: var(--sport-lift);
    filter: brightness(1.06);
  }
  .app-shell :where(.primary-button, .primary-action, .match-flow-action.is-primary):active:not(:disabled) {
    transform: translateY(0) scale(0.97);
    transition-duration: var(--dur-tap);
  }

  /* ---------- navegacao: pop ao ativar + bounce do icone ---------- */
  .app-shell .nav-item.is-active {
    animation: brPop var(--dur-card) var(--ease-bounce);
  }
  .app-shell .nav-item.is-active svg {
    filter: drop-shadow(0 0 6px var(--glow-lime));
  }
  .app-shell .stage-step.is-active {
    animation: brPop var(--dur-card) var(--ease-bounce);
  }

  /* ---------- confirmar presenca: brilho verde forte ---------- */
  .app-shell .is-just-updated {
    animation: brConfirmGlow var(--dur-celebrate) var(--ease-emphasized) both;
  }

  /* ---------- toast: entrada e saida ---------- */
  #appToast.app-toast:not([hidden]) {
    animation: brToastIn var(--dur-toast) var(--ease-emphasized);
  }
  #appToast.app-toast.is-leaving {
    animation: brToastOut var(--dur-toast) var(--ease-standard) forwards;
  }
  #appToast.app-toast[data-tone="success"]:not([hidden]) {
    box-shadow: 0 0 0 1px var(--glow-green), 0 16px 40px rgba(8, 196, 107, 0.28);
  }
  #appToast.app-toast[data-tone="error"]:not([hidden]) {
    box-shadow: 0 0 0 1px var(--accent-danger-border), 0 16px 40px rgba(255, 63, 95, 0.26);
  }

  /* ---------- sorteio de times: cascata ---------- */
  .app-shell #view-times[data-cascade] .team-column {
    animation: brCascadeIn var(--dur-tab) var(--ease-emphasized) both;
  }
  .app-shell #view-times[data-cascade] .team-column:nth-child(2) { animation-delay: 120ms; }
  .app-shell #view-times[data-cascade] .team-column > * {
    animation: brCascadeIn var(--dur-cascade) var(--ease-emphasized) both;
  }
  .app-shell #view-times[data-cascade] .team-column > *:nth-child(1) { animation-delay: 120ms; }
  .app-shell #view-times[data-cascade] .team-column > *:nth-child(2) { animation-delay: 190ms; }
  .app-shell #view-times[data-cascade] .team-column > *:nth-child(3) { animation-delay: 260ms; }
  .app-shell #view-times[data-cascade] .team-column > *:nth-child(4) { animation-delay: 330ms; }
  .app-shell #view-times[data-cascade] .team-column > *:nth-child(5) { animation-delay: 400ms; }
  .app-shell #view-times[data-cascade] .team-column > *:nth-child(n+6) { animation-delay: 470ms; }

  /* ---------- placar: numeros entram com energia ---------- */
  .app-shell #view-recap[data-just-entered] :where(.round-result-summary strong, .score-inputs, .result-surface) {
    animation: brScoreIn var(--dur-card) var(--ease-bounce) both;
  }

  /* ---------- card do jogador (FIFA): revelacao 3D + shine ---------- */
  body.is-player-card-modal-open .player-card-modal-panel {
    animation: brCardReveal var(--dur-modal) var(--ease-emphasized) both;
  }
  body.is-player-card-modal-open .player-sticker-shine {
    animation: brShineSweep 1500ms var(--ease-emphasized) 220ms both;
  }
  .player-sticker-preview:hover .player-sticker-shine {
    animation: brShineSweep 900ms var(--ease-emphasized);
  }

  /* ---------- badges: pop ao abrir temporada/perfil/feed ---------- */
  .app-shell .view[data-just-entered] :where(.season-badge-grid, .badge-board, .badge-stack-large) > * {
    animation: brBadgePop var(--dur-celebrate) var(--ease-bounce) both;
  }
  .app-shell .view[data-just-entered] :where(.season-badge-grid, .badge-board, .badge-stack-large) > *:nth-child(2) { animation-delay: 90ms; }
  .app-shell .view[data-just-entered] :where(.season-badge-grid, .badge-board, .badge-stack-large) > *:nth-child(3) { animation-delay: 180ms; }
  .app-shell .view[data-just-entered] :where(.season-badge-grid, .badge-board, .badge-stack-large) > *:nth-child(4) { animation-delay: 270ms; }
  .app-shell .view[data-just-entered] :where(.season-badge-grid, .badge-board, .badge-stack-large) > *:nth-child(n+5) { animation-delay: 340ms; }

  /* ---------- utilitario de skeleton/shimmer para loadings ---------- */
  .br-skeleton,
  [data-loading="true"] .br-skeleton {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.12) 37%, rgba(255, 255, 255, 0.05) 63%);
    background-size: 200% 100%;
    animation: brShimmer 1.4s linear infinite;
    border-radius: var(--sport-radius, 8px);
    color: transparent !important;
  }

  /* ---------- amount/status chips reagem a mudanca ---------- */
  .app-shell .amount-chip.is-just-updated,
  .app-shell .status-pill.is-just-updated {
    animation: brCountPop var(--dur-card) var(--ease-bounce);
  }
}

/* ============================================================
   MOTION LAYER v2 — polimento GLOBAL e visivel de imediato.
   Entrada do app inteiro ao carregar + elevacao em todos os
   cards no hover. Aditivo, transform/opacity/box-shadow, e
   totalmente desligado em prefers-reduced-motion.
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  @keyframes brShellDrop {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes brShellRise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes brFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  /* ---- entrada do app ao autenticar (visivel ja no primeiro frame) ---- */
  .app-shell:not([hidden]) .topbar {
    animation: brShellDrop 420ms var(--ease-emphasized) both;
  }
  .app-shell:not([hidden]) .stage-rail {
    animation: brShellDrop 460ms var(--ease-emphasized) 60ms both;
  }
  .app-shell:not([hidden]) .workspace {
    animation: brShellRise 520ms var(--ease-emphasized) 120ms both;
  }
  .app-shell:not([hidden]) .sidebar {
    animation: brShellRise 520ms var(--ease-emphasized) 180ms both;
  }

  /* ---- tela de login tambem entra suave ---- */
  .login-screen:not([hidden]) .login-card {
    animation: brShellRise 520ms var(--ease-emphasized) both;
  }

  /* ---- elevacao padronizada em TODOS os cards no hover (fluidez global) ---- */
  .app-shell :where(
    .hero-panel, .tool-surface, .section-details, .round-details, .match-ticket,
    .metric-tile, .team-progress-card, .team-pack-card, .finance-summary,
    .home-matchday-main, .home-status-card, .home-stat-card, .home-pulse-card,
    .match-flow-panel, .match-flow-grid article, .admin-hero-card, .admin-stat-card,
    .round-ops-panel, .my-round-matchday, .my-round-live-card, .player-finance-card,
    .feed-signal-card, .announcement-signal-card, .season-card, .season-hero-panel,
    .profile-summary-card, .team-column, .versus-card
  ) {
    transition:
      transform var(--dur-card) var(--ease-emphasized),
      border-color var(--dur-card) var(--ease-emphasized),
      box-shadow var(--dur-card) var(--ease-emphasized);
  }
  .app-shell :where(
    .hero-panel, .tool-surface, .section-details, .round-details, .match-ticket,
    .metric-tile, .team-progress-card, .team-pack-card, .finance-summary,
    .home-matchday-main, .home-status-card, .home-stat-card, .home-pulse-card,
    .match-flow-panel, .match-flow-grid article, .admin-hero-card, .admin-stat-card,
    .round-ops-panel, .my-round-matchday, .my-round-live-card, .player-finance-card,
    .feed-signal-card, .announcement-signal-card, .season-card, .season-hero-panel,
    .profile-summary-card, .team-column, .versus-card
  ):hover {
    transform: translateY(-3px);
    border-color: rgba(126, 221, 81, 0.42);
    box-shadow: var(--sport-lift);
  }

  /* ---- rows de lista deslizam de leve no hover ---- */
  .app-shell :where(
    .roster-row, .bench-row, .payment-row, .season-ranking-row,
    .feed-row, .announcement-row, .admin-player-row, .audit-row
  ) {
    transition: transform var(--dur-tap) var(--ease-emphasized), background var(--dur-card) ease, border-color var(--dur-card) ease;
  }
  .app-shell :where(
    .roster-row, .bench-row, .payment-row, .season-ranking-row,
    .feed-row, .announcement-row, .admin-player-row, .audit-row
  ):hover {
    transform: translateX(3px);
    border-color: rgba(126, 221, 81, 0.32);
  }

  /* ---- inputs/selects: foco mais vivo e transicao suave ---- */
  .app-shell :where(input, select, textarea) {
    transition: border-color var(--dur-card) ease, box-shadow var(--dur-card) ease, background var(--dur-card) ease;
  }

  /* ---- pills e chips animam mudancas de estado ---- */
  .app-shell :where(.status-pill, .session-pill, .amount-chip, .home-status-badge) {
    transition: background var(--dur-card) ease, color var(--dur-card) ease, transform var(--dur-tap) var(--ease-bounce);
  }

  /* ---- avatar/iniciais dos jogadores ganham vida no hover da linha ---- */
  .app-shell :where(.roster-row, .bench-row, .season-ranking-row):hover :where(.avatar, .player-avatar, .initials) {
    transform: scale(1.08);
    transition: transform var(--dur-card) var(--ease-bounce);
  }
}

/* ============================================================
   REDESIGN LAYER v3 — nova identidade visual (broadcast verde).
   Override aditivo por especificidade nas classes reais do app.
   ============================================================ */
:root {
  --gold: #ffcf3a;
  --lime-bright: #9bec3f;
  --brand-logo: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAABy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WfMMChtvb/9rcHxIHf3FcP9vUJ+z/cfNrtZjA2S5Dh5advQXKf/8zR295ZCj7Mbxn8HOMBfvOA8Pvbf12ZKUYIeUj3/PkfvuXjh+eYLP39H37+tFzOxHHl8vBo6I8h+NF9yr95QAD++xeY4tz3A43H0fPnz3/49k8/39x8mt283Wf6JP1YpffR/kr8aLz4x388GPz+/scvcGY+OvkoDjQgDNNBLb4XTeVXrRr8Wn/9zcMZ33yROygQjLCbqLhHC75BaWjO72Ai/hD2t64Z6OtzqHELGOcs0UQpGXIMW/zjYTtfHhkPtf/nuY/QUR6UR8ngYfn09PdceQQJk0f8SoUb0XI7Veylz4rOfQuBPIE7Yo/4lWuHclPzkRJVa5LDT+xJj8Xx2wX/73HQ5NZESythQmQ/9gTPSxZneiSP33Rdjos9owjjMWXCifjOqrZWf1b6CFdVbkaYEsF52H2KX9ogqpvyqmmCeRwVxjghYoxMyK2u+MoLdcl6dP8+n1qQ2q7d1X618Gqk+CaP5qMpveUJJoyV52xJQRYvHtXf5z1CIcaS6WIl0MCO1qP390VMOBFf4jdUCvFRfL8sucD090jid/kh+40ewbmnSyhbWbTxeHSev3D0JBNak6GS3kf2+6JxNfLU6e5MnvD4CMoXmuOUtKQ5j8b318ix6kZ7lN7/lSr0HqX314/b1Ht0/eT4H71psSxgscH2AAAAAElFTkSuQmCC");
}

/* ---- logo novo (crest broadcast) em toda a marca ---- */
.brand-logo,
.patota-loader-brand img,
.public-patota-brand .brand-logo {
  content: var(--brand-logo);
  object-fit: contain;
}

/* ---- tipografia: titulos e placares em Barlow Condensed italico ---- */
.app-shell .view h1,
.app-shell .view h2,
.app-shell .view-header h2,
.app-shell .surface-heading h2,
.app-shell .hero-panel h1,
.login-card h1,
.login-card h2 {
  font-family: var(--heading);
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.app-shell .player-sticker-overall,
.app-shell .player-sticker-rating strong,
.app-shell .metric-tile strong,
.app-shell .home-stat-card strong {
  font-style: italic;
}

/* ---- eyebrow ganha um tick diagonal limao ---- */
.app-shell .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.app-shell .eyebrow::before {
  content: "";
  width: 16px;
  height: 3px;
  background: linear-gradient(90deg, var(--lime), var(--green-2, #2fc06a));
  transform: skewX(-24deg);
  flex: none;
}

/* ---- botao primario em gradiente broadcast + tom esportivo ---- */
.app-shell .primary-button,
.app-shell .primary-action,
.app-shell .match-flow-action.is-primary {
  background: linear-gradient(120deg, var(--lime), var(--brand-green, #08c46b));
  color: #04140a;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 800;
}

/* ---- pills/kickers com corte diagonal ---- */
.app-shell .home-matchday-kicker,
.app-shell .status-pill.is-live,
.app-shell .kick {
  transform: skewX(-8deg);
}
.app-shell .home-matchday-kicker > *,
.app-shell .kick > * {
  display: inline-block;
  transform: skewX(8deg);
}

/* ---- barra de topo viva nos paineis herois ---- */
.app-shell :where(.hero-panel, .home-matchday-main, .match-flow-panel, .admin-hero-card, .season-hero-panel, .round-ops-panel, .my-round-matchday)::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--lime), var(--green-2, #2fc06a), transparent);
  pointer-events: none;
  z-index: 2;
}
.app-shell :where(.hero-panel, .home-matchday-main, .match-flow-panel, .admin-hero-card, .season-hero-panel, .round-ops-panel, .my-round-matchday) {
  position: relative;
}

/* ============================================================
   FUN LAYER v3 — mais movimento, energia e diversao.
   Confete, brilho, pulses, bump de numeros. Reduced-motion off.
   ============================================================ */
/* confete: elementos criados por JS, precisam existir tambem em reduce=off */
.br-confetti-piece {
  position: fixed;
  z-index: 9999;
  width: 9px;
  height: 14px;
  border-radius: 2px;
  pointer-events: none;
  will-change: transform, opacity;
  opacity: 0;
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes brConfettiFall {
    0% { opacity: 1; transform: translate3d(0, 0, 0) rotate(0deg); }
    100% { opacity: 0; transform: translate3d(var(--br-dx, 0), var(--br-dy, 260px), 0) rotate(var(--br-dr, 540deg)); }
  }
  @keyframes brBarSweep {
    0% { background-position: -160% 0; }
    100% { background-position: 260% 0; }
  }
  @keyframes brNumBump {
    0% { transform: scale(1); }
    35% { transform: scale(1.28); color: var(--lime); }
    100% { transform: scale(1); }
  }
  @keyframes brLivePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(47, 192, 106, 0.5); }
    50% { box-shadow: 0 0 0 6px rgba(47, 192, 106, 0); }
  }
  @keyframes brIconWiggle {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-9deg); }
    75% { transform: rotate(9deg); }
  }
  @keyframes brFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
  }

  .br-confetti-piece {
    animation: brConfettiFall var(--br-dur, 1100ms) var(--ease-emphasized) forwards;
  }

  /* barra de topo dos herois brilha continuamente */
  .app-shell :where(.hero-panel, .home-matchday-main, .match-flow-panel, .season-hero-panel)::after {
    background: linear-gradient(90deg, transparent, var(--lime), var(--green-2, #2fc06a), var(--lime), transparent);
    background-size: 220% 100%;
    animation: brBarSweep 3.6s linear infinite;
  }

  /* numero que muda pulsa (classe posta pelo JS) */
  .app-shell .br-bump {
    animation: brNumBump var(--dur-card) var(--ease-bounce);
    display: inline-block;
  }

  /* status "aberta/ao vivo" pulsa */
  .app-shell :where(.status-pill[data-status="open"], .status-pill.is-live, .home-status-badge[data-live]) {
    animation: brLivePulse 1.9s var(--ease-standard) infinite;
  }

  /* icones dos CTAs primarios dao um wiggle no hover */
  .app-shell :where(.primary-button, .primary-action):hover:not(:disabled) svg,
  .app-shell :where(.primary-button, .primary-action):hover:not(:disabled) i {
    animation: brIconWiggle 420ms var(--ease-bounce);
  }

  /* card FIFA flutua de leve quando o modal abre */
  body.is-player-card-modal-open .player-sticker-preview {
    animation: brCardReveal var(--dur-modal) var(--ease-emphasized) both, brFloat 3.4s ease-in-out 0.4s infinite;
  }

  /* medalhas do podio brilham ao entrar */
  .app-shell .view[data-just-entered] .pod-first,
  .app-shell .view[data-just-entered] :where(.season-ranking-row):first-child {
    animation: brBadgePop var(--dur-celebrate) var(--ease-bounce) both;
  }
}

/* ============================================================
   THEME LAYER v3 — tema CLARO opcional (o usuario escolhe).
   Ativado por body[data-theme="light"]. Reaproveita os tokens:
   sobrescreve as fontes (ink/text/border/surface) e os aliases
   seguem sozinhos. Escuro continua sendo o padrao.
   ============================================================ */
body[data-theme="light"] {
  --ink-950: #eef1ea;
  --ink-900: #f4f7f0;
  --ink-850: #e7ece1;
  --ink-800: #ffffff;
  --ink-760: #f5f8f1;
  --text-primary: #0c1a12;
  --text-secondary: #26332b;
  --text-tertiary: #3d4b42;
  --text-muted: #5a6b60;
  --surface-raised: #ffffff;
  --surface-raised-2: #f5f8f1;
  --surface-card-glass: rgba(255, 255, 255, 0.96);
  --surface-overlay: rgba(18, 40, 28, 0.5);
  --surface-overlay-strong: rgba(18, 40, 28, 0.85);
  --surface-panel-glass: rgba(255, 255, 255, 0.94);
  --surface-panel-soft: rgba(244, 247, 240, 0.85);
  --surface-ghost: rgba(12, 40, 24, 0.05);
  --surface-ghost-hover: rgba(12, 40, 24, 0.08);
  --surface-ghost-strong: rgba(12, 40, 24, 0.12);
  --surface-ghost-selected: rgba(12, 40, 24, 0.7);
  --border-subtle: rgba(12, 40, 24, 0.14);
  --border-quiet: rgba(12, 40, 24, 0.08);
  --border-strong: rgba(12, 40, 24, 0.26);
  --border-on-image: rgba(12, 40, 24, 0.4);
  --shadow: 0 18px 44px rgba(20, 50, 32, 0.14);
  --shadow-soft: 0 12px 30px rgba(20, 50, 32, 0.12);
  --brand-logo: var(--brand-logo-light);
  color-scheme: light;
}

:root {
  --brand-logo-light: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAABzCAMAAADe1ysvAAABgFBMVEUXcVlirWnV49za6OF6y1Gr0Kt3xk+MtKEAVhQA/wBxoot/ykq52sbX5N4ASx4lck09gWBHi2pIiGl0pI17y1GCrZm908+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B6U7gNcI4ZFuCWeeBElvqff9zgCT2ToVCDZFC9vuuHQHcClfIoRQxC489qNrZ6XSHcDlxg+HokDY9aT20t2D0h3A7yqEvLZ1q53v2wJM3DHX3uG4dAfwu47kO+1vt/N4e4Cl0gGu7Dxa3NF7S4Cl0uLolvteNf4BKSbBOpPVgWIAAAAASUVORK5CYII=");
}

/* logo claro tambem no loader e login quando o tema e claro */
body[data-theme="light"] .brand-logo,
body[data-theme="light"] .patota-loader-brand img,
body[data-theme="light"] .public-patota-brand .brand-logo {
  content: var(--brand-logo-light);
}

/* nav inferior (mobile) e loader nao ficam presos no escuro */
body[data-theme="light"] .app-shell .sidebar {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(12, 40, 24, 0.14);
  box-shadow: 0 -14px 36px rgba(20, 50, 32, 0.14);
}
body[data-theme="light"] .patota-loader {
  background: linear-gradient(180deg, #f4f7f0, #e7ece1);
}

/* botao seletor de tema */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--sport-radius, 8px);
  border: 1px solid var(--border-subtle);
  background: var(--surface-ghost);
  color: var(--text-primary);
  cursor: pointer;
  transition: transform var(--dur-tap, 110ms) var(--ease-bounce, cubic-bezier(.34,1.56,.64,1)), background var(--dur-card, 160ms) ease;
}
.theme-toggle:hover {
  background: var(--surface-ghost-hover);
}
.theme-toggle:active {
  transform: scale(0.94);
}
.theme-toggle svg.lucide,
.theme-toggle svg {
  width: 18px;
  height: 18px;
}

/* ============================================================
   THEME FINE-TUNE — modo claro: paineis que continuam sendo
   faixas escuras (broadcast) mantem texto claro; loader clareia.
   ============================================================ */
/* faixas escuras propositais mantem tokens de texto claros */
body[data-theme="light"] :where(
  .login-screen,
  .hero-panel,
  .story-card-preview,
  .player-sticker-preview,
  .public-patota-cover,
  .public-patota-hero,
  .share-card,
  .versus-card
) {
  --text-primary: #ffffff;
  --text-secondary: #dbe2ef;
  --text-tertiary: #c5cfdd;
  --text-muted: #9ca6b8;
  --border-subtle: rgba(255, 255, 255, 0.14);
  --border-strong: rgba(255, 255, 255, 0.24);
}

/* o cartao de login continua claro (texto escuro) sobre a faixa */
body[data-theme="light"] .login-card {
  --text-primary: #0c1a12;
  --text-secondary: #26332b;
  --text-tertiary: #3d4b42;
  --text-muted: #5a6b60;
  --border-subtle: rgba(12, 40, 24, 0.14);
  --border-strong: rgba(12, 40, 24, 0.26);
}

/* loader clareia junto do tema */
body[data-theme="light"] .patota-loader-card {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(12, 40, 24, 0.14);
}
body[data-theme="light"] .patota-loader-card {
  --text-primary: #0c1a12;
  --text-secondary: #26332b;
  --text-muted: #5a6b60;
}

/* topbar/sync pills legiveis no claro */
body[data-theme="light"] .app-shell .topbar {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(12, 40, 24, 0.12);
}

/* ============================================================
   HOME HERO v4 — heroi-placar broadcast (tela Rodada).
   Faixa escura em ambos os temas, titulo italico, chips e
   medidor ao vivo. Reescreve o visual de .home-matchday-card.
   ============================================================ */
.app-shell .home-matchday-card {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.9fr);
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(155, 236, 63, 0.24);
  background:
    radial-gradient(600px 240px at 92% 120%, rgba(155, 236, 63, 0.16), transparent),
    linear-gradient(115deg, #08151a, #0c1c1f 56%, rgba(21, 162, 79, 0.18));
  color: #f2f7ee;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.34);
  position: relative;
}
@media (max-width: 760px) {
  .app-shell .home-matchday-card { grid-template-columns: 1fr; }
}
.app-shell .home-matchday-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--lime), #2fc06a, var(--lime), transparent);
  background-size: 220% 100%;
  pointer-events: none;
}
.app-shell .home-matchday-card .home-matchday-main {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: transparent;
  border: 0;
}
.app-shell .home-matchday-card .home-status-card {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(0, 0, 0, 0.22);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  color: #f2f7ee;
}
@media (max-width: 760px) {
  .app-shell .home-matchday-card .home-status-card {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}

/* kicker diagonal com dot ao vivo */
.app-shell .home-matchday-card .home-matchday-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--lime);
  color: #04140a;
  font: 800 11px/1 var(--mono, monospace);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transform: skewX(-8deg);
}
.app-shell .home-matchday-card .home-matchday-kicker > * { transform: skewX(8deg); }
.app-shell .home-matchday-card .home-matchday-kicker strong { opacity: 0.75; font-weight: 800; }
.app-shell .home-matchday-card .home-matchday-kicker[data-live="1"]::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: #04140a; transform: skewX(8deg);
}

/* titulo com escudo */
.app-shell .home-matchday-card .home-matchday-title { display: flex; gap: 14px; align-items: flex-start; }
.app-shell .home-matchday-card .home-crest {
  flex: none; width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center;
  font-family: var(--heading); font-style: italic; font-weight: 900; font-size: 20px;
  color: #04140a; background: linear-gradient(140deg, var(--lime), #2fc06a);
}
.app-shell .home-matchday-card .home-matchday-title h3 {
  font-family: var(--heading); font-style: italic; font-weight: 900;
  font-size: clamp(23px, 4.4vw, 34px); line-height: 0.96; text-transform: uppercase;
  margin: 2px 0 4px; color: #fff;
}
.app-shell .home-matchday-card .home-matchday-title .eyebrow { color: #7edd51; margin: 0 0 4px; }
.app-shell .home-matchday-card .home-matchday-title .eyebrow::before { background: #7edd51; }
.app-shell .home-matchday-card .home-matchday-title p { color: rgba(242, 247, 238, 0.72); font-size: 13.5px; margin: 0; }

/* infos viram chips */
.app-shell .home-matchday-card .home-match-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.app-shell .home-matchday-card .home-match-meta > div {
  display: inline-flex; gap: 7px; align-items: baseline;
  padding: 8px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1);
}
.app-shell .home-matchday-card .home-match-meta dt {
  font: 700 10px/1 var(--mono, monospace); letter-spacing: 1px; text-transform: uppercase;
  color: rgba(242, 247, 238, 0.58);
}
.app-shell .home-matchday-card .home-match-meta dd { margin: 0; font-weight: 800; font-size: 13px; color: #fff; }

/* CTAs do heroi (evita duplicar as acoes do card de status) */
.app-shell .home-matchday-card .home-matchday-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 2px; }
.app-shell .home-matchday-card .home-status-actions { display: none; }

/* medidor ao vivo */
.app-shell .home-gauge-live {
  display: inline-flex; align-items: center; gap: 7px;
  font: 800 11px/1 var(--mono, monospace); letter-spacing: 1px; color: #2fc06a;
}
.app-shell .home-gauge-live::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2fc06a;
}
.app-shell .home-gauge-count {
  margin: 10px 0 10px; font-family: var(--heading); font-style: italic; font-weight: 900; line-height: 0.82;
}
.app-shell .home-gauge-count strong { font-size: 56px; color: #fff; }
.app-shell .home-gauge-count small { font-size: 22px; color: rgba(242, 247, 238, 0.55); font-style: normal; }
.app-shell .home-gauge-bar { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.app-shell .home-gauge-bar > i {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, #7edd51, var(--lime));
  transition: width 0.6s var(--ease-emphasized, ease);
}
.app-shell .home-gauge-labels { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; color: rgba(242, 247, 238, 0.62); }

/* corpo do status */
.app-shell .home-matchday-card .home-status-body span {
  font: 700 11px/1 var(--mono, monospace); letter-spacing: 1px; text-transform: uppercase;
  color: rgba(242, 247, 238, 0.58);
}
.app-shell .home-matchday-card .home-status-body strong {
  display: block; font-family: var(--heading); font-style: italic; font-weight: 900;
  font-size: 22px; text-transform: uppercase; margin: 4px 0 2px; color: var(--lime);
}
.app-shell .home-matchday-card .home-status-body p { font-size: 13px; color: rgba(242, 247, 238, 0.72); margin: 0; }

@media (prefers-reduced-motion: no-preference) {
  .app-shell .home-matchday-card::after { animation: brBarSweep 3.6s linear infinite; }
  .app-shell .home-gauge-live::before,
  .app-shell .home-matchday-kicker[data-live="1"]::before { animation: brLivePulse 1.9s var(--ease-standard) infinite; }
}

/* ============================================================
   BOTTOM NAV MOBILE — ícone + label. Override final da camada
   shell: labels legíveis, itens limpos, popup do "Mais".
   ============================================================ */
@media (max-width: 760px) {
  .app-shell .sidebar {
    overflow: visible;
    contain: none;
  }

  .app-shell .nav-item,
  .app-shell .nav-more > summary {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
  }

  .app-shell .nav-item span,
  .app-shell .nav-more > summary span {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
  }

  .app-shell .nav-item.is-active,
  .app-shell .nav-more[open] > summary {
    background: rgba(126, 221, 81, 0.14);
    border-color: rgba(126, 221, 81, 0.3);
    box-shadow: none;
  }

  .app-shell .nav-more > summary {
    min-height: 54px;
  }

  .app-shell .nav-list > .nav-more .nav-more-menu .nav-item {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
  }

  .app-shell .nav-list > .nav-more .nav-more-menu .nav-item span {
    font-size: 0.86rem;
  }
}
