/* V83 restores single-layer premium PNG crests without vector-like framed pictograms. */
/* Estrelas & Refúgos V62 consolidado na V63 — identidade esportiva PNG em camadas.
   Apenas apresentação; badges/placares/texto continuam HTML dinâmico. */
body.theme-v62 {
  --v62-ink: #0a1e40;
  --v62-line: #d8e2ef;
  --v62-blue: #0051c8;
  --v62-red: #b91732;
  --v62-gold: #d6a449;
  --v62-shadow: 0 7px 18px rgba(8, 33, 74, .095);
  overflow-x: clip;
}
body.theme-v62 .app-shell {
  background: linear-gradient(180deg, #f5f8fc, #eaf1f9 56%, #f2f6fb);
}
/* Header must be completely opaque. Underlying content cannot bleed through while scrolling. */
body.theme-v62 .topbar {
  z-index: 75;
  isolation: isolate;
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid #dbe3ef;
  box-shadow: 0 5px 17px rgba(12, 38, 80, .12);
}
body.theme-v62 .topbar::before {
  content: ''; position: absolute; inset: auto 0 0; height: 3px;
  background: linear-gradient(90deg, #0952ba 0 43%, #caa359 49% 51%, #b21e35 57% 100%);
  pointer-events: none; z-index: -1;
}
body.theme-v62 .topbar .brand-versus { isolation: isolate; }
body.theme-v62 .topbar .brand-team-mark { filter: drop-shadow(0 2px 2px rgba(2, 20, 45, .18)); }
body.theme-v62 .topbar .icon-button { background: #f5f9ff; border: 1px solid #d9e4f0; box-shadow: inset 0 1px #fff; }
/* V66: the menu emblem was visually too small inside its real touch target. */
body.theme-v62 .topbar #menuBtn > .icon { width: 38px; height: 38px; object-fit: contain; max-width: 100%; }
body.theme-v62 .topbar #adminBtn > .icon { width: 28px; height: 28px; object-fit: contain; }

body.theme-v62 .content { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); scroll-padding-top: 85px; }
body.theme-v62 :is(.page-heading, .section-head, .home-section-head, .settings-section, .result-view, .panel) { scroll-margin-top: 86px; }

/* Official duel banner remains intact, with a thin golden broadcast-style edge. */
body.theme-v62 .hero.home-hero-premium {
  border: 1px solid #d6b773; border-radius: 21px;
  box-shadow: 0 7px 21px rgba(7, 27, 67, .15), inset 0 0 0 2px rgba(255,255,255,.4);
}
body.theme-v62 .home-match-panel-premium {
  border-color: #d5c8aa;
  margin-block: 12px 13px;
  box-shadow: 0 9px 19px rgba(9, 30, 72, .11);
}
/* The official score is rendered as live text above the preserved frame PNG. */
body.theme-v62 .home-match-score strong { font-variant-numeric: tabular-nums; }
body.theme-v62 .home-match-score em { border: 1px solid #dbe3ed; }

/* Three independent compact stat slabs with custom real PNG badges and decorative cutouts. */
body.theme-v62 .home-primary-grid { gap: 8px !important; }
body.theme-v62 .home-primary-grid > .premium-action {
  isolation: isolate;
  min-height: 126px;
  padding: 10px 6px 21px;
  border: 1px solid #d2e0ee !important;
  border-radius: 17px !important;
  background: linear-gradient(160deg, #fff 20%, #f6f9fd 100%) !important;
  box-shadow: 0 5px 12px rgba(8, 32, 72, .10), inset 0 1px #fff !important;
  align-content: center; justify-items: center; row-gap: 2px;
}
body.theme-v62 .home-primary-grid > .premium-action::before {
  display: block !important; content: ''; z-index: 1; pointer-events: none;
  position: absolute; width: 36px; height: 36px; left: 0; top: 0;
  background: url('/images/theme-v62/corner-blue.png') left top / 100% 100% no-repeat;
}
body.theme-v62 .home-primary-grid > .premium-action.accent-green::before { background-image: url('/images/theme-v62/corner-gold.png'); }
body.theme-v62 .home-primary-grid > .premium-action.accent-purple::before { background-image: url('/images/theme-v62/corner-red.png'); }
body.theme-v62 .home-primary-grid > .premium-action::after {
  display: block !important; bottom: -2px !important; left: 0 !important; right: 0 !important;
  width: 100% !important; height: 17px !important; border-radius: 0 !important;
  background: url('/images/theme-v62/rail-blue.png') bottom center / 100% 17px no-repeat !important;
  opacity: 1 !important; z-index: 1; pointer-events: none;
}
body.theme-v62 .home-primary-grid > .premium-action.accent-green::after { background-image: url('/images/theme-v62/rail-green.png') !important; }
body.theme-v62 .home-primary-grid > .premium-action.accent-purple::after { background-image: url('/images/theme-v62/rail-purple.png') !important; }
body.theme-v62 .home-primary-grid .action-icon {
  width: 48px; height: 48px; border: 0; border-radius: 0; box-shadow: none;
  background: url('/images/theme-v77/icon-players.png') center / contain no-repeat !important;
}
body.theme-v62 .home-primary-grid .accent-green .action-icon { background-image: url('/images/theme-v77/icon-presence.png') !important; }
body.theme-v62 .home-primary-grid .accent-purple .action-icon { background-image: url('/images/theme-v77/icon-draw.png') !important; }

body.theme-v62 .home-primary-grid .action-metric {
  font-size: clamp(28px, 7vw, 43px); letter-spacing: -.055em; line-height: 1.05;
  color: #0c234a; overflow: visible; text-overflow: clip;
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
body.theme-v62 .home-primary-grid .action-copy { align-items: center; }
body.theme-v62 .home-primary-grid .action-copy b {
  color: #263c60; font-size: clamp(10px, 2.25vw, 13px);
  letter-spacing: -.025em; white-space: nowrap;
}

/* Craque trophy is a self-contained ornament, NOT a background under readable text. */
body.theme-v62 .craque-home-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid !important; grid-template-columns: 91px minmax(0, 1fr) !important;
  grid-template-rows: auto auto;
  align-items: center; column-gap: 12px; row-gap: 4px;
  margin: 14px 0 10px !important; padding: 12px 13px 19px !important;
  min-height: 142px;
  border: 1px solid #dcb15d; border-radius: 20px;
  background: linear-gradient(107deg,#fff8e9 0,#fff 38%,#fff 100%) !important;
  box-shadow: 0 9px 20px rgba(77, 46, 8, .11);
}
body.theme-v62 .craque-home-card::before {
  content: ''; position: absolute; inset: 0 auto 0 0; width: 5px; pointer-events: none;
  background: linear-gradient(180deg,#0759c4 0 50%,#b51528 50% 100%);
}
body.theme-v62 .craque-home-card::after {
  content: ''; position: absolute; bottom: -1px; inset-inline: 0; height: 20px;
  background: url('/images/theme-v62/rail-gold.png') bottom center / 100% 20px no-repeat;
  pointer-events: none;
}
body.theme-v62 .craque-home-winner,
body.theme-v62 .craque-home-icon {
  grid-column: 1; grid-row: 1 / span 2;
  position: relative; display: grid; align-content: center; justify-items: center;
  width: 91px; height: 104px; min-width: 0;
}
body.theme-v62 .craque-home-icon {background: url('/images/theme-v57/craque-medal-premium.png') center / contain no-repeat;}
/* Winner: player photos always dominate the small crown; no medal behind the face. */
body.theme-v62 .craque-home-winner .v81-craque-portraits {
  display:flex;align-items:center;justify-content:center;isolation:isolate;
  width:100%;height:100%;gap:0;
}
body.theme-v62 .craque-home-winner .v81-craque-portrait {
  display:grid;place-items:center;position:relative;flex:1 1 0;min-width:0;
}
body.theme-v62 .craque-home-winner .v81-craque-portrait .avatar {
  position:relative;width:clamp(58px,16vw,78px) !important;height:clamp(58px,16vw,78px) !important;
  max-width:100%;border:3px solid white;border-radius:50%;
  box-shadow:0 0 0 2px #d1a65a,0 5px 12px rgba(12,40,81,.17);
}
body.theme-v62 .craque-home-winner:has(.v81-craque-portrait + .v81-craque-portrait) .v81-craque-portrait .avatar {
  width:clamp(43px,12vw,54px) !important;height:clamp(43px,12vw,54px) !important;
}
body.theme-v62 .craque-home-card.winner.tied {grid-template-columns:92px minmax(0,1fr) !important;}
body.theme-v62 .craque-home-card.winner.tied .craque-home-winner {width:92px;}
body.theme-v62 .craque-home-card.winner.tied .v81-craque-portrait .avatar {
  width:40px !important;height:40px !important;max-width:40px;
}
body.theme-v62 .craque-home-winner .v81-craque-crown {
  position:absolute;top:0;left:50%;transform:translate(-50%,-5%);z-index:3;
  width:28px;height:28px;pointer-events:none;
  background:url('/images/theme-v65/ui/crown.png') center/contain no-repeat;
  filter:drop-shadow(0 2px 3px rgba(74,43,16,.25));
}
body.theme-v62 .craque-home-icon .icon { width: 34px; height: 34px; }
body.theme-v62 .craque-home-card > div:nth-child(2) { grid-column: 2; grid-row: 1; align-self: end; min-width: 0; padding-top: 5px; }
body.theme-v62 .craque-home-card h2 { font-size: clamp(17px,4.6vw,23px); line-height: 1.14; overflow-wrap: anywhere; }
body.theme-v62 .craque-home-card p { font-size: 11px; line-height: 1.34; color: #516177; margin-top: 4px; }
body.theme-v62 .craque-home-card small { color: #926007; letter-spacing: .035em; font-size: 10px; }
body.theme-v62 .craque-home-card > .btn {
  grid-column: 2 !important; grid-row: 2; justify-self: start; align-self: start;
  min-height: 39px; margin: 3px 0 0; padding: 6px 14px;
  border-radius: 11px; border-color: #d2c2a0;
  background: linear-gradient(180deg,#fff,#f8f3e9);
  font-size: 12px; color: #202f49; box-shadow: 0 3px 8px rgba(50,38,12,.06);
}

/* Upcoming round: same metallic two-team visual language, good contrast. */
body.theme-v62 .home-spotlight {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 89px; padding: 12px 15px;
  border: 1px solid #294c67 !important; border-radius: 17px !important;
  background: linear-gradient(114deg,#0b3454,#123f61 58%,#0c273f) !important;
  box-shadow: 0 6px 15px rgba(9,38,67,.16);
}
body.theme-v62 .home-spotlight::before { content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#096cde,#d2b16c,#b71a3c);pointer-events:none; }
body.theme-v62 .home-spotlight .home-spotlight-icon { width: 42px; height: 42px; min-width: 42px; border: 0; border-radius: 0; background: url('/images/theme-v77/icon-draw.png') center/contain no-repeat; }
body.theme-v62 .home-spotlight.result .home-spotlight-icon {background-image:url('/images/theme-v77/icon-results.png');}
body.theme-v62 .home-spotlight.presence .home-spotlight-icon {background-image:url('/images/theme-v77/icon-presence.png');}
body.theme-v62 .home-spotlight.cancelled .home-spotlight-icon {background-image:url('/images/theme-v77/icon-discipline.png');}
body.theme-v62 .home-spotlight .home-spotlight-copy small { color: #d0e5ff; }
body.theme-v62 .home-spotlight .home-spotlight-copy b { color: #fff; font-size: clamp(13px,3.4vw,16px); }
body.theme-v62 .home-spotlight .home-spotlight-copy em { color: #d3e4f5; font-size: 11px; }
body.theme-v62 .home-spotlight .home-spotlight-stat { border-left: 1px solid rgba(220,237,255,.36); padding-left: 9px; }

/* V64: one consistent mobile-first grammar for the utility panel.
   Consolidated here, not in an additional late theme stylesheet. */
body.theme-v62 .home-secondary-grid {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr));
  margin-top: 8px; gap: 9px !important;
}
body.theme-v62 .home-secondary-grid > .premium-action {
  position: relative; min-width:0; isolation:isolate; overflow:hidden;
  border:1px solid #d8e1ef !important; border-radius:16px !important;
  background:linear-gradient(138deg,#fff,#f8fbff) !important;
  box-shadow:0 5px 13px rgba(14,45,86,.085) !important;
  min-height:94px; padding:10px 12px;
  display:grid; grid-template-columns:48px minmax(0,1fr) auto;
  grid-template-rows:auto; align-items:center; gap:9px;
  text-align:left;
}
body.theme-v62 .home-secondary-grid > .premium-action::before {
  content:'';display:block !important;position:absolute;inset:0 auto 0 0;width:4px;
  background:var(--action-accent,#1e66b9);pointer-events:none;
}
body.theme-v62 .home-secondary-grid > .premium-action::after {
  content:'';display:block;position:absolute;inset:auto 7px 0;
  height:3px;width:auto;border-radius:0;
  background:linear-gradient(90deg,#277dd3,#d3ab59,#c11e35);
  opacity:.8;pointer-events:none;
}
body.theme-v62 .home-secondary-grid .action-icon {
  width:48px;height:48px;min-width:48px;grid-column:1;grid-row:1;
  background:url('/images/theme-v77/icon-results.png') center/contain no-repeat !important;
  border:0;border-radius:0;box-shadow:none;
}
body.theme-v62 .home-secondary-grid .court-home-action .action-icon {
  background-image:url('/images/theme-v77/icon-court.png') !important;
}
body.theme-v62 .home-secondary-grid .discipline-home-action .action-icon {
  background-image:url('/images/theme-v77/icon-discipline.png') !important;
}

body.theme-v62 .home-secondary-grid .action-copy { min-width:0; grid-column:2;grid-row:1;display:grid;gap:3px;align-self:center; }
body.theme-v62 .home-secondary-grid .action-copy b {
  color:#142e50;font-size:13px;font-weight:900;line-height:1.18;
}
body.theme-v62 .home-secondary-grid .action-copy small,
body.theme-v62 .home-secondary-grid .action-copy em {
  display:block;min-width:0;max-width:100%;color:#536a7d;
  font-size:12px;line-height:1.35;white-space:normal;overflow-wrap:normal;
}
body.theme-v62 .home-secondary-grid .action-copy em {font-style:normal;}
body.theme-v62 .home-secondary-grid .action-metric {
  grid-column:3;grid-row:1;min-width:75px;max-width:112px;margin:0;padding:0;align-self:center;
  display:grid;align-content:center;justify-items:center;gap:2px;
  font-variant-numeric:tabular-nums;text-align:center;
  overflow-wrap:normal;word-break:normal;
}
body.theme-v62 .home-secondary-grid .action-metric strong {
  display:block;min-width:0;max-width:100%;font-size:clamp(15px,3.7vw,23px);
  font-weight:950;line-height:1.12;letter-spacing:-.045em;white-space:normal;
  overflow-wrap:normal;word-break:normal;
}
body.theme-v62 .home-secondary-grid .action-metric small {
  font-size:12px;line-height:1.3;font-weight:850;color:#42648b;
}
body.theme-v62 .home-secondary-grid .court-home-action { --action-accent:#1162c7; }
body.theme-v62 .home-secondary-grid .discipline-home-action { --action-accent:#b42a48; }
body.theme-v62 .home-secondary-grid .court-home-metric strong { color:#1763b9; }
body.theme-v62 .home-secondary-grid .discipline-home-metric strong { color:#a92642; }
body.theme-v62 .home-secondary-grid .home-result-shortcut {
  --action-accent:#b88a28; grid-column:1/-1;
  background:linear-gradient(113deg,#fffaf0,#fff 42%,#f7faff) !important;
}
body.theme-v62 .home-secondary-grid .home-result-shortcut .action-metric strong {color:#0d2f63;}
body.theme-v62 .home-secondary-grid > .premium-action:focus-visible,
body.theme-v62 .home-primary-grid > .premium-action:focus-visible {
  outline:3px solid #166ee4;outline-offset:2px;
}

/* Competition data should be legible AND look related to the duel broadcast graphics. */
body.theme-v62 .classic-panel,
body.theme-v62 .monthly-highlights {
  position: relative; isolation: isolate; overflow:hidden; border-radius:19px;
  border:1px solid #d8e2ed; background:#fff;box-shadow:var(--v62-shadow);
}
body.theme-v62 .classic-panel::before { background:url('/images/theme-v62/duel-divider.png') center top /100% 12px no-repeat !important; height:12px; }
body.theme-v62 .classic-panel header { padding-top:8px; }
body.theme-v62 .classic-scoreboard { gap:5px; }
body.theme-v62 .classic-team.estrelas {background:linear-gradient(142deg,#e6f2ff,#fbfdff);border-color:#b5d4f2;}
body.theme-v62 .classic-team.refugos {background:linear-gradient(220deg,#fff0f2,#fffafb);border-color:#f0c5c9;}
body.theme-v62 .classic-team {position:relative;overflow:hidden;}
body.theme-v62 .classic-team.estrelas::after,
body.theme-v62 .classic-team.refugos::after {
  content:'';position:absolute;top:0;left:0;pointer-events:none;
  width:30px;height:30px;background:url('/images/theme-v62/corner-blue.png') top left/contain no-repeat;
}
body.theme-v62 .classic-team.refugos::after {
  left:auto;right:0;transform:scaleX(-1);
  background-image:url('/images/theme-v62/corner-red.png');
}

body.theme-v62 .classic-goals { display:flex; align-items:center; justify-content:center; gap:8px; margin:7px 0 4px; color:#465a73; font-size:12px; font-weight:750; font-variant-numeric:tabular-nums; }
body.theme-v62 .classic-goals::before,body.theme-v62 .classic-goals::after { content:""; flex:1; max-width:68px; height:1px; background:#d6e1ee; }
body.theme-v62 .classic-team,
body.theme-v62 .classic-draw { min-width:0;border-radius:15px; }
body.theme-v62 .classic-team .classic-crest { filter:drop-shadow(0 2px 2px rgba(3,21,40,.20)); }
body.theme-v62 .classic-meta { gap:7px; }
body.theme-v62 .classic-meta > span { border:1px solid #e0e7f0; border-radius:12px;background:#f4f8fc; }
body.theme-v62 .classic-recent > div > span { border:1px solid #dbe3ed;border-radius:10px;background:linear-gradient(180deg,#fff,#f7faff); }
body.theme-v62 .classic-meta b {color:#193758;}

body.theme-v62 .monthly-highlights::before { content:'';position:absolute;inset:0 0 auto;height:7px;background:url('/images/theme-v62/rail-gold.png') center top /100% 22px no-repeat;pointer-events:none; }
body.theme-v62 .monthly-highlights button {
  position:relative;grid-template-columns:29px 22px 58px minmax(0,1fr) auto;
  min-height:70px;gap:6px;padding:7px 9px;
  border-radius:13px;
}
body.theme-v62 .monthly-highlights .highlight-medal {
  width:29px;height:29px;object-fit:contain;grid-column:1;
  filter:drop-shadow(0 2px 2px rgba(17,33,56,.13));
}
body.theme-v62 .monthly-highlights button > strong {grid-column:2;font-size:11px;}
body.theme-v62 .monthly-highlights button .avatar {grid-column:3;max-width:100%;min-width:0;}
body.theme-v62 .monthly-highlights button > span {grid-column:4;}
body.theme-v62 .monthly-highlights button > em {grid-column:5;font-variant-numeric:tabular-nums;}

body.theme-v62 .monthly-highlights button:first-child { border-color:#dec78f; background:linear-gradient(110deg,#fff9e9,#fff); }
body.theme-v62 .monthly-highlights button:nth-child(2) { background:#f7faff; }
body.theme-v62 .monthly-highlights button:nth-child(3) { background:#fff9f5; }
body.theme-v62 .monthly-highlights header .section-kicker {color:#996312;}

body.theme-v62 .home-podium-list .ranking-row { position:relative;overflow:hidden;border-radius:16px; }
body.theme-v62 .home-podium-list .ranking-row::after { content:'';position:absolute;right:0;top:0;width:36px;height:36px;background:url('/images/theme-v62/corner-gold.png') right top/contain no-repeat;pointer-events:none;transform:scaleX(-1); }
body.theme-v62 .home-podium-list .ranking-row .rank-badge .placement {display:none;}
body.theme-v62 .home-podium-list .ranking-row {gap:7px;}
body.theme-v62 .home-podium-list .ranking-row .rank-badge {margin-left:auto;}

body.theme-v62 .home-podium-list .ranking-row.podium-2::after { background-image:url('/images/theme-v64/corner-silver.png'); }
body.theme-v62 .home-podium-list .ranking-row.podium-3::after { background-image:url('/images/theme-v64/corner-bronze.png'); }
body.theme-v62 .home-history-list { overflow:hidden;border:1px solid #dbe3ec;border-radius:17px;box-shadow:var(--v62-shadow); }
body.theme-v62 .home-history-list .history-row { grid-template-columns:42px minmax(0,1fr) auto; column-gap:10px; align-items:center; }
body.theme-v62 .home-history-list .history-side { justify-self:end; text-align:right; }
body.theme-v62 .home-history-list .history-main { min-width:0; }
body.theme-v62 .home-history-list .history-row { box-shadow:none;border-radius:0;border-bottom:1px solid #e1e8f0; }
body.theme-v62 .home-history-list .history-row:last-child { border-bottom:0; }
/* Official score is optional: never print a fabricated score for unfinished/unknown matches. */
body.theme-v62 .history-score-mini { display:inline-flex; align-items:center; justify-content:center; align-self:flex-end; min-width:48px; border:1px solid #cddfed; border-radius:9px; padding:3px 6px; background:linear-gradient(110deg,#eef6ff,#fff 48%,#fff1f3); color:#133560; font-size:12px; font-weight:850; line-height:1.1; font-variant-numeric:tabular-nums; white-space:nowrap; }
body.theme-v62 .history-row .history-side { min-width:0; }
body.theme-v62 .home-history-list .history-status { white-space:nowrap; }

body.theme-v62 .home-history-list .history-row {background:linear-gradient(90deg,#f8fbff,#fff 46%);}
body.theme-v62 .home-history-list .history-row .history-icon {
  background:url('/images/theme-v77/icon-history.png') center/contain no-repeat !important;
  border:0 !important;box-shadow:none !important;
}

body.theme-v62 .home-history-list .history-row.finished {border-left:3px solid #198b64;}
body.theme-v62 .home-history-list .history-row.cancelled {border-left:3px solid #af3350;}

body.theme-v62 .home-last-draw {
  border:1px solid #d9e2ec;border-radius:17px;box-shadow:var(--v62-shadow);
  background:linear-gradient(155deg,#fff,#f8fbff);
}
body.theme-v62 .home-last-draw-head .home-balance-gap span {letter-spacing:0;font-size:11px;}
body.theme-v62 .home-last-team.team-estrelas {border-left:3px solid #0867c7;background:#f0f7ff;}
body.theme-v62 .home-last-team.team-refugos {border-left:3px solid #bc243e;background:#fff3f4;}
body.theme-v62 .home-last-team {min-height:56px;display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:8px;}
body.theme-v62 .home-last-team > span:not(.home-last-team-emblem) {min-width:0;}
body.theme-v62 .home-last-team .home-last-team-emblem {max-width:44px;max-height:44px;}
body.theme-v62 .home-last-team strong {white-space:nowrap;font-variant-numeric:tabular-nums;}
body.theme-v62 .home-last-draw-head b em {font-size:11px;}

body.theme-v62 .home-section-head .section-kicker { color:#506888;font-weight:900; }
body.theme-v62 .home-section-head h2 { color:#0f2948; }
body.theme-v62 .home-section-head { scroll-margin-top: 85px; }
body.theme-v62 .home-section-head .btn.text {min-height:44px;font-size:12px;color:#0759ba;}
body.theme-v62 .home-history-list .history-row:focus-visible, body.theme-v62 .home-last-draw:focus-visible {outline:3px solid #0873df;outline-offset:-3px;}
body.theme-v62 .home-secondary-grid > .premium-action:focus-visible,body.theme-v62 .home-primary-grid > .premium-action:focus-visible { outline:3px solid #166ee4; outline-offset:2px; }
body.theme-v62 .home-secondary-grid .action-copy { min-width:0; }

/* Bottom navigation: embossed PNG set, visible labels and supported safe area. */
body.theme-v62 .bottom-nav {
  z-index:70; background:#fff !important; border:1px solid #dae3ef;
  border-bottom:0;border-radius:19px 19px 0 0;backdrop-filter:none;-webkit-backdrop-filter:none;
  box-shadow:0 -5px 15px rgba(15,42,79,.105);
}
body.theme-v62 .bottom-nav .nav-item { min-width:0; gap:1px; border-radius:12px; }
body.theme-v62 .bottom-nav .nav-item.active::before { content: none; display: none; }
body.theme-v62 .bottom-nav .nav-item.active { background:#eff5ff; box-shadow:inset 0 0 0 1px #d5e3f5; }
body.theme-v62 .bottom-nav .nav-item .icon { height:31px;width:31px;object-fit:contain; }
body.theme-v62 .bottom-nav .nav-item b { font-size:clamp(10px,2.5vw,12px);letter-spacing:-.025em; }

/* Shared high-level UI polish beyond Home: preserves the existing DOM and controls. */
body.theme-v62 .page-heading { position:relative;min-width:0; }
body.theme-v62 .page-heading h1 { color:#0b244a;letter-spacing:-.035em; }
body.theme-v62 .page-heading .section-kicker { color:#155cab; }
body.theme-v62 :where(.panel,.player-card,.presence-round-card-premium,.result-view,.settings-section,.modal-card) { box-shadow:0 6px 18px rgba(12,39,80,.07); }
body.theme-v62 :where(.btn,.icon-button,.nav-item,button,[role='button']):focus-visible { outline:3px solid #176bda;outline-offset:2px; }
body.theme-v62 :where(button,a,[role='button']) { touch-action:manipulation; }
body.theme-v62 .modal-card { max-width:min(100%,600px); }
body.theme-v62 :where(.settings-section,.modal-card,.player-compare-panel,.presence-admin-tools) {border-color:#d9e3ed;}
body.theme-v62 .modal-header {border-bottom:1px solid #e1e8f1;}
body.theme-v62 .btn.primary:not(:disabled) {box-shadow:0 3px 9px rgba(10,73,164,.14);}
/* V66: shared inner screens use the same restrained mobile grammar. */
body.theme-v62 :is(.page-heading, .settings-section, .player-card, .presence-round-card, .result-view, .modal-card) { border-radius: 16px; }
body.theme-v62 .page-heading { padding: 13px 14px; }
body.theme-v62 .page-heading p { font-size: 12px; line-height: 1.42; }
body.theme-v62 .main-menu-route { min-width:0; }
body.theme-v62 .main-menu-route > span:first-child > img.icon { width: 28px; height: 28px; object-fit:contain; }
body.theme-v62 :is(.settings-section,.modal-card,.result-view) :is(input,select,textarea) { max-width:100%; }
body.theme-v62 .modal-card { overscroll-behavior:contain; }
body.theme-v62 .modal-header { background:#fff; backdrop-filter:none; -webkit-backdrop-filter:none; }
body.theme-v62 :is(.main-menu-route,.history-row,.player-card, .presence-round-card) :focus-visible { outline: 3px solid #155dbc; outline-offset: 2px; }



@media (max-width:520px) {
  body.theme-v62 .topbar { min-height:calc(63px + env(safe-area-inset-top,0px)); padding-inline:max(10px,env(safe-area-inset-left,0px)); }
  body.theme-v62 .topbar .brand-versus .app-version-badge { margin-top:1px; }
  body.theme-v62 .content { padding-top:10px; padding-inline:max(10px,env(safe-area-inset-left,0px)) max(10px,env(safe-area-inset-right,0px)); }
  body.theme-v62 .hero.home-hero-premium { aspect-ratio:1.83/1; max-height:230px; }
  body.theme-v62 .home-primary-grid > .premium-action { min-height:117px; padding:9px 4px 18px; }
  body.theme-v62 .home-primary-grid .action-icon { width:44px;height:44px; }
  body.theme-v62 .home-primary-grid .action-metric { font-size:clamp(27px,7.4vw,37px); }
  body.theme-v62 .craque-home-card { grid-template-columns:79px minmax(0,1fr) !important;column-gap:9px;min-height:127px;padding:10px 11px 17px !important; }
  body.theme-v62 .craque-home-winner,body.theme-v62 .craque-home-icon { width:79px;height:92px; }
  body.theme-v62 .craque-home-card h2 { font-size:clamp(16px,4.1vw,19px); }
  body.theme-v62 .craque-home-card > .btn { min-height:36px;padding:5px 12px; }
  body.theme-v62 .home-spotlight { min-height:81px;gap:9px;padding:11px 12px; }
  body.theme-v62 .home-spotlight .home-spotlight-icon { width:38px;height:38px;min-width:38px; }
  body.theme-v62 .home-secondary-grid { grid-template-columns:minmax(0,1fr);gap:8px !important; }
  body.theme-v62 .home-secondary-grid > .premium-action,
  body.theme-v62 .home-secondary-grid > .premium-action:first-child,
  body.theme-v62 .home-secondary-grid > .premium-action:not(:first-child) {
    grid-column:1/-1; min-height:82px; padding:9px 11px;
    grid-template-columns:42px minmax(0,1fr) minmax(72px,auto);
    grid-template-rows:auto; align-items:center;gap:8px;
  }
  body.theme-v62 .home-secondary-grid .action-icon {width:46px;height:46px;min-width:46px;}
  body.theme-v62 .home-secondary-grid .action-copy b {font-size:13px;}
  body.theme-v62 .home-secondary-grid .action-copy small,
  body.theme-v62 .home-secondary-grid .action-copy em {font-size:12px;line-height:1.3;}
  body.theme-v62 .home-secondary-grid .action-metric {min-width:72px;max-width:108px;}
  body.theme-v62 .home-secondary-grid .action-metric strong {font-size:clamp(16px,4.8vw,20px);}
  body.theme-v62 .classic-panel { padding:13px 11px; }
  body.theme-v62 .classic-team .classic-crest { max-height:49px;max-width:49px; }
  body.theme-v62 .classic-meta { display:grid;grid-template-columns:minmax(0,1fr);gap:6px; }
  body.theme-v62 .classic-meta > span { min-width:0;min-height:43px;padding:7px 10px;display:grid;grid-template-columns:20px minmax(105px,.72fr) minmax(0,1fr);grid-template-rows:1fr;align-items:center;column-gap:7px; }
  body.theme-v62 .classic-meta .icon {grid-row:1;grid-column:1;width:18px;height:18px;}
  body.theme-v62 .classic-meta small {grid-row:1;grid-column:2;font-size:11px;line-height:1.25;}
  body.theme-v62 .classic-meta b {grid-row:1;grid-column:3;overflow-wrap:break-word;font-size:12px;line-height:1.3;}
  body.theme-v62 .classic-recent > div { gap:6px; }
  body.theme-v62 .monthly-highlights { padding:14px 11px; }
  body.theme-v62 .monthly-highlights button {min-height:66px;grid-template-columns:27px 20px 56px minmax(0,1fr) auto;gap:5px;padding:7px 8px;}
  body.theme-v62 .monthly-highlights .highlight-medal {width:27px;height:27px;}
  body.theme-v62 .monthly-highlights button > em {font-size:13px;}

  body.theme-v62 .home-podium-list .ranking-row { min-height:73px;padding-block:8px; }
  body.theme-v62 .home-history-list .history-row { min-height:66px; padding-block:8px; }
  body.theme-v62 .bottom-nav { min-height:calc(69px + env(safe-area-inset-bottom,0px)); padding:3px max(7px,env(safe-area-inset-right,0px)) calc(5px + env(safe-area-inset-bottom,0px)) max(7px,env(safe-area-inset-left,0px)); }
  body.theme-v62 .bottom-nav .nav-item { min-height:57px;padding:2px 1px; }
  body.theme-v62 .bottom-nav .nav-item .icon { height:33px;width:33px; }
}
@media (max-width:370px) {
  body.theme-v62 .home-primary-grid { gap:5px !important; }
  body.theme-v62 .home-primary-grid > .premium-action { min-height:111px; }
  body.theme-v62 .home-primary-grid .action-icon { width:40px;height:40px; }
  body.theme-v62 .home-primary-grid .action-copy b { font-size:11px; letter-spacing:-.035em; }
  body.theme-v62 .home-primary-grid .action-metric { font-size:28px; }
  body.theme-v62 .craque-home-card { grid-template-columns:68px minmax(0,1fr) !important;column-gap:7px; }
  body.theme-v62 .craque-home-winner,body.theme-v62 .craque-home-icon { width:68px;height:82px; }
  body.theme-v62 .craque-home-card h2 { font-size:15px; }
  body.theme-v62 .craque-home-card small { font-size:11px; }
  body.theme-v62 .classic-scoreboard { gap:3px; }
  body.theme-v62 .bottom-nav .nav-item b { font-size:11px; }
}
@media (min-width:761px) {
  body.theme-v62 .topbar { border-radius:0 0 20px 20px; }
  body.theme-v62 .home-primary-grid > .premium-action { min-height:143px; }
  body.theme-v62 .craque-home-card { grid-template-columns:106px minmax(0,1fr) auto !important; grid-template-rows:1fr; }
  body.theme-v62 .craque-home-winner,body.theme-v62 .craque-home-icon { grid-column:1;grid-row:1;width:106px;height:115px; }
  body.theme-v62 .craque-home-card > div:nth-child(2) { grid-column:2;grid-row:1;align-self:center; }
  body.theme-v62 .craque-home-card > .btn { grid-column:3 !important;grid-row:1;align-self:center; }
}
@media (prefers-reduced-motion:reduce) {
  body.theme-v62 * { animation-duration:0.01ms !important;transition-duration:0.01ms !important; }
}

/* V63: ajustes finais sem nova folha CSS nem empilhamento de !important. */
@media (max-width:520px) {
  body.theme-v62 .classic-goals { font-size:11px; }
  body.theme-v62 .home-secondary-grid > .premium-action {min-height:82px;}
  body.theme-v62 .craque-home-card > .btn { min-height:44px; }
  body.theme-v62 .home-section-head { scroll-margin-top:76px; }
}
@media (max-width:370px) {
  body.theme-v62 .classic-meta > span { grid-template-columns:18px minmax(89px,.65fr) minmax(0,1fr); }
  body.theme-v62 .craque-home-card h2 { overflow-wrap:break-word; }
  body.theme-v62 .bottom-nav .nav-item b { font-size:11px; }
}

/* V65: iconografia original Estrelas/Refúgos, sem camada CSS adicional.
   Sem pseudoelemento duplicado ou substituição dos ranks oficiais. */
body.theme-v62 .bottom-nav .nav-item .icon {
  width: 40px; height: 40px; max-width: 100%;
  object-fit: contain; filter: none; opacity: 1;
  transform: none; transition: none;
}
body.theme-v62 .bottom-nav .nav-item.active > .icon {
  filter: drop-shadow(0 2px 3px rgba(22, 91, 173, .14));
  transform: none;
}
body.theme-v62 .bottom-nav .nav-item b {
  font-size: clamp(10px, 2.7vw, 12px);
  line-height: 1.05;
  white-space: nowrap;
}
body.theme-v62 .bottom-nav .nav-item {
  min-width: 0; min-height: 58px;
  padding: 3px 1px 2px; gap: 1px;
}
body.theme-v62 .bottom-nav {
  padding-top: 2px;
  padding-bottom: max(4px, env(safe-area-inset-bottom, 0px));
}
body.theme-v62 .section-kicker > img.icon,
body.theme-v62 .home-section-head .section-kicker > img.icon {
  width: 20px; height: 20px; object-fit: contain;
}
body.theme-v62 .main-menu-route img.icon,
body.theme-v62 .modal-header img.icon,
body.theme-v62 .settings-section img.icon { object-fit: contain; }
@media (max-width:370px) {
  body.theme-v62 .bottom-nav .nav-item .icon { width: 36px; height: 36px; }
  body.theme-v62 .bottom-nav .nav-item b { font-size:11px; }
  body.theme-v62 .bottom-nav .nav-item { min-height: 57px; }
}
@media (prefers-reduced-motion: reduce) {
  body.theme-v62 .bottom-nav .nav-item > .icon { animation: none; transition:none; }
}


/* V71 — Unificação das superfícies do tema CLARO.
   Agrupamos contextos e retiramos elevação excessiva dos filhos.
   Nenhum número, brasão, conteúdo ou ação depende destas regras. */
body.theme-v62 {
  --er71-canvas: #f0f5fa;
  --er71-surface: #f8fbff;
  --er71-stroke: #cdddea;
  --er71-ink: #173453;
}
body.theme-v62 .app-shell {
  background: linear-gradient(180deg,#eef4fa 0%,#e9f1f8 45%,#edf4f9 100%);
}
body.theme-v62 .content {
  /* Plano central contínuo: sem blur, animação ou texturas externas. */
  background: linear-gradient(90deg,rgba(201,218,234,.22),rgba(255,255,255,.32) 9%,rgba(255,255,255,.32) 91%,rgba(201,218,234,.22));
  border-inline: 1px solid rgba(149,177,203,.18);
}
body.theme-v62 .er-surface-group {
  position: relative;
  min-width: 0;
  margin: 12px 0 14px;
  padding: 12px;
  border: 1px solid var(--er71-stroke);
  border-radius: 20px;
  background: linear-gradient(165deg,rgba(255,255,255,.96),var(--er71-surface));
  box-shadow: 0 3px 10px rgba(15,50,92,.055), inset 0 1px 0 #fff;
  isolation: isolate;
}
body.theme-v62 .er-surface-group::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(90deg,#1675c4 0 44%,#d4a747 49% 51%,#bc2941 56% 100%);
  pointer-events: none;
}
body.theme-v62 .er-home-rank-group::before { background: linear-gradient(90deg,#d5a63e,#efdba5 55%,#b98b32); }
body.theme-v62 .er-home-history-group::before { background: linear-gradient(90deg,#138b70,#8abcae 70%,#dee9ec); }
body.theme-v62 .er-surface-group > .section-head,
body.theme-v62 .er-surface-group > .home-section-head {
  margin: 0 0 10px;
  padding: 3px 2px 10px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #e2eaf2;
  box-shadow: none;
}
body.theme-v62 .er-surface-group :is(.home-podium-list,.home-history-list,.home-last-draw) {
  margin-block: 0;
}
body.theme-v62 .er-home-rank-group .ranking-row {
  box-shadow: none;
  margin-inline: 0;
}
body.theme-v62 .er-home-rank-group .ranking-row + .ranking-row {margin-top: 7px;}
body.theme-v62 .er-home-history-group .home-history-list {
  box-shadow: none;
  border-color: #d9e5ef;
}
body.theme-v62 .er-home-draw-group .home-last-draw {
  box-shadow: none;
  border-color: #d9e5ef;
}
body.theme-v62 .home-dashboard {
  position: relative;
  padding: 12px;
  margin-block: 12px;
  border: 1px solid var(--er71-stroke);
  border-radius: 20px;
  background: linear-gradient(165deg,rgba(255,255,255,.78),rgba(235,244,252,.92));
  box-shadow: 0 3px 11px rgba(12,44,82,.06);
}
body.theme-v62 .home-dashboard .home-primary-grid > .premium-action,
body.theme-v62 .home-dashboard .home-secondary-grid > .premium-action {
  box-shadow: 0 2px 7px rgba(14,51,89,.055),inset 0 1px #fff !important;
}
body.theme-v62 .er-roster-group .search-field {margin-top: 3px;}
body.theme-v62 .er-roster-group .player-list {margin-top: 10px;}
body.theme-v62 .er-roster-group .player-card {box-shadow: none;}
body.theme-v62 .er-archive-group .premium-history-list {box-shadow:none;}
body.theme-v62 .er-archive-group .history-summary {margin-top:2px;}
/* Telas internas seguem o mesmo plano; o card de destaque mantém sua arte. */
body.theme-v62 .content[data-route]:not([data-route="home"]) {
  background: linear-gradient(180deg,rgba(248,251,255,.72),rgba(236,245,251,.77));
}
body.theme-v62 .content[data-route] :is(.page-heading,.settings-section,.result-view,.court-charge-card,.presence-round-card-premium) {
  box-shadow: 0 3px 10px rgba(12,43,79,.06);
}
body.theme-v62 .content[data-route="presence"] .presence-counts,
body.theme-v62 .content[data-route="discipline"] .discipline-summary-grid,
body.theme-v62 .content[data-route="draw"] .draw-stats,
body.theme-v62 .content[data-route="result"] .result-view {
  border-radius: 17px;
}
@media(max-width:520px) {
  body.theme-v62 .content {padding-inline:max(8px,env(safe-area-inset-left,0px)) max(8px,env(safe-area-inset-right,0px));}
  body.theme-v62 .er-surface-group {padding:10px;margin-block:10px 12px;border-radius:17px;}
  body.theme-v62 .home-dashboard {padding:9px;margin-block:9px 11px;border-radius:17px;}
  body.theme-v62 .er-surface-group > .home-section-head {padding-bottom:8px;}
  body.theme-v62 .er-roster-group .player-card {min-width:0;}
}
@media(prefers-reduced-motion:reduce) {
  body.theme-v62 .er-surface-group {animation:none;transition:none;}
}

/* V72 — Jogadores: dados legíveis, escudos completos, nenhum texto vertical.
   Escopo intencional: somente lista da aba Jogadores; não altera outros ranks. */
body.theme-v62 .er-roster-group .roster-toolbar {
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;
  gap:8px;margin:12px 2px 9px;color:#506b80;font-size:12px;font-weight:800;
}
body.theme-v62 .er-roster-group .roster-compare-link {
  display:inline-flex;align-items:center;gap:5px;min-height:44px;
  padding:8px 10px;color:#1264b7;text-decoration:none;font-size:12px;font-weight:850;
  border-radius:11px;background:#eaf4ff;border:1px solid #cfe0f5;
}
body.theme-v62 .roster-compare-link .icon {width:17px;height:17px;flex:none}
body.theme-v62 .er-roster-group .player-list {gap:9px;margin-top:0}
body.theme-v62 .er-roster-group .player-card {
  min-width:0;min-height:0;padding:12px;border-radius:17px;
  background:linear-gradient(155deg,#fff 0%,#f7fbff 100%);
  border:1px solid #d9e6ef;box-shadow:none;
}
body.theme-v62 .er-roster-group .player-card.team-estrelas::before {background:#1876ce}
body.theme-v62 .er-roster-group .player-card.team-refugos::before {background:#c52d49}
body.theme-v62 .er-roster-group .player-card .player-main {
  display:grid;grid-template-columns:58px minmax(0,1fr) 102px;
  align-items:center;gap:9px;min-width:0;
}
body.theme-v62 .er-roster-group .player-card .avatar,
body.theme-v62 .er-roster-group .player-card .avatar-button .avatar {
  width:56px;height:56px;border-radius:15px;
}
body.theme-v62 .er-roster-group .player-card .avatar-button {min-width:56px;min-height:56px}
body.theme-v62 .er-roster-group .player-card .profile-copy {min-width:0;gap:3px}
body.theme-v62 .er-roster-group .player-card .nickname-line > b {
  font-size:15px;line-height:1.23;white-space:nowrap;text-overflow:ellipsis;
  overflow:hidden;overflow-wrap:normal;
}
body.theme-v62 .er-roster-group .player-card .profile-copy > span,
body.theme-v62 .er-roster-group .player-card .player-role-hint {
  font-size:12px;line-height:1.3;color:#5c7282;min-width:0;
  text-overflow:ellipsis;overflow:hidden;white-space:nowrap;
}
body.theme-v62 .er-roster-group .player-card .rank-badge {
  width:102px;min-width:102px;min-height:66px;padding:7px;
  grid-template-columns:34px minmax(0,1fr);gap:5px;
  justify-self:end;box-sizing:border-box;overflow:visible;
}
body.theme-v62 .er-roster-group .player-card .rank-badge > .rank-emblem {width:34px;height:34px}
body.theme-v62 .er-roster-group .player-card .rank-badge-copy {min-width:0}
body.theme-v62 .er-roster-group .player-card .rank-badge-copy > small {font-size:11px;letter-spacing:0;white-space:nowrap;overflow-wrap:normal}
body.theme-v62 .er-roster-group .player-card .rank-badge-copy > b {font-size:20px}
body.theme-v62 .er-roster-group .player-card .rank-badge-copy > em {font-size:10px;white-space:nowrap}
body.theme-v62 .er-roster-group .player-card .rank-badge .placement {font-size:9px;top:-5px;right:-4px}
body.theme-v62 .er-roster-group .player-detail-strip {
  display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap;
  margin-top:8px;padding:7px 0;border-top:1px solid #e6edf3;
}
body.theme-v62 .er-roster-group .profile-stats {margin:0;gap:5px;flex:0 1 auto;min-width:0;flex-wrap:nowrap}
body.theme-v62 .er-roster-group .profile-stats > .player-meta-chip {
  min-height:31px;min-width:0;padding:4px 6px;gap:4px;border-radius:10px;
}
body.theme-v62 .er-roster-group .profile-stats > .player-meta-chip small {font-size:10px;line-height:1.2;letter-spacing:0;white-space:nowrap;overflow-wrap:normal}
body.theme-v62 .er-roster-group .profile-stats > .player-meta-chip b {font-size:12px;line-height:1.2;white-space:nowrap;overflow-wrap:normal}
body.theme-v62 .er-roster-group .player-form-line {flex:0 1 auto;min-width:0}
body.theme-v62 .er-roster-group .player-card .recent-form.compact {margin:0}
body.theme-v62 .er-roster-group .player-card .recent-form.compact .recent-form-token {width:20px;height:20px}
body.theme-v62 .er-roster-group .player-footer {
  min-width:0;display:flex;align-items:center;justify-content:space-between;gap:8px;
  margin-top:0;padding-top:5px;min-height:40px;border-top:1px solid #e6edf3;
}
body.theme-v62 .er-roster-group .player-footer-meta,
body.theme-v62 .er-roster-group .player-footer-status {min-width:0;display:flex;align-items:center;flex-wrap:wrap;gap:5px}
body.theme-v62 .er-roster-group .player-state,
body.theme-v62 .er-roster-group .readonly-label {white-space:nowrap;overflow-wrap:normal;font-size:11px;min-height:30px}
body.theme-v62 .er-roster-group .tier-copy {font-size:11.5px;white-space:nowrap;overflow-wrap:normal}
body.theme-v62 .er-roster-group .readonly-label {display:none}
body.theme-v62 .er-roster-group .roster-empty {
  display:grid;justify-items:center;text-align:center;gap:9px;
  padding:24px 14px;border-radius:15px;
  background:#f4f9fc;border:1px dashed #bed3e5;color:#35546c;
}
body.theme-v62 .er-roster-group .roster-empty.hidden {display:none}
body.theme-v62 .er-roster-group .roster-empty > .icon {width:30px;height:30px;color:#2775b5}
body.theme-v62 .er-roster-group .roster-empty strong {font-size:15px}
body.theme-v62 .er-roster-group .roster-empty p {margin:0;font-size:12px;line-height:1.45}
body.theme-v62 .er-roster-group .roster-empty .btn {min-height:44px}
body.theme-v62 #playerComparePanel {scroll-margin-top:90px}
body.theme-v62 .player-compare-panel > summary {min-height:52px}
@media (max-width:520px) {
  body.theme-v62 .er-roster-group .player-card .player-main {grid-template-columns:54px minmax(0,1fr) 98px;gap:8px}
  body.theme-v62 .er-roster-group .player-card .avatar,
  body.theme-v62 .er-roster-group .player-card .avatar-button .avatar {width:52px;height:52px}
  body.theme-v62 .er-roster-group .player-card .avatar-button {min-width:52px;min-height:52px}
  body.theme-v62 .er-roster-group .player-card .rank-badge {width:98px;min-width:98px}
  body.theme-v62 .er-roster-group .player-detail-strip {flex-wrap:wrap}
  body.theme-v62 .er-roster-group .player-form-line {width:auto;display:flex;justify-content:flex-start}
  body.theme-v62 .er-roster-group .profile-stats > .player-meta-chip {flex:0 1 auto;min-width:0}
  body.theme-v62 .er-roster-group .player-footer {align-items:center}
}
@media (max-width:365px) {
  body.theme-v62 .er-roster-group .player-card {padding:10px}
  body.theme-v62 .er-roster-group .player-card .player-main {grid-template-columns:48px minmax(0,1fr) 91px;gap:6px}
  body.theme-v62 .er-roster-group .player-card .avatar,
  body.theme-v62 .er-roster-group .player-card .avatar-button .avatar {width:47px;height:47px}
  body.theme-v62 .er-roster-group .player-card .avatar-button {min-width:47px;min-height:47px}
  body.theme-v62 .er-roster-group .player-card .rank-badge {width:91px;min-width:91px;grid-template-columns:30px minmax(0,1fr)}
  body.theme-v62 .er-roster-group .player-card .rank-badge > .rank-emblem {width:30px;height:30px}
  body.theme-v62 .er-roster-group .player-card .nickname-line > b {font-size:14px}
  body.theme-v62 .er-roster-group .player-footer-meta {gap:4px}
}


/* V73 — Formulário do jogador: leitura/touch/foco, sem mudar validação ou dados. */
body.theme-v62 #playerForm .field > label {font-size:12.5px;line-height:1.4;color:#36516a;}
body.theme-v62 #playerForm :is(input:not([type="hidden"]),select,textarea) {min-height:44px;font-size:14px;}
body.theme-v62 #playerForm .field small {font-size:11.5px;line-height:1.4;}
body.theme-v62 #playerForm .btn.primary[type="submit"] {min-height:48px;font-size:14px;}
body.theme-v62 #playerForm :is(input,select,textarea):focus-visible {outline:2px solid #2679c7;outline-offset:2px;}


/* V74 — PRESENÇA PREMIUM 360. Scoped to this route, resolves V59 four-column cascade.
   PNG details are decorative; all dynamic data stay selectable and accessible. */
body.theme-v62 .content[data-route="presence"] .er-presence-overview,
body.theme-v62 .content[data-route="presence"] .er-presence-actions,
body.theme-v62 .content[data-route="presence"] .er-presence-roster {
  position:relative; min-width:0; margin:12px 0 15px; padding:12px;
  border:1px solid #cfdfea; border-radius:20px;
  background:linear-gradient(160deg,#fafdff 0%,#eef5fc 100%);
  box-shadow:0 7px 17px rgba(17,58,100,.055);
}
body.theme-v62 .content[data-route="presence"] .er-presence-overview {
  border-top-color:#c1d6eb;
  background-image:url('/images/theme-v74/presence-dual-rail.png'),linear-gradient(160deg,#fafdff,#edf5fb);
  background-repeat:no-repeat,no-repeat;background-position:top center,center;
  background-size:100% auto,cover;padding-top:15px;
}
body.theme-v62 .content[data-route="presence"] .er-presence-actions {
  border-color:#cbdde9; background:linear-gradient(155deg,#f8fcff,#f2f7fb);
}
body.theme-v62 .content[data-route="presence"] .er-presence-roster {
  background:linear-gradient(160deg,#f9fcff,#f0f6fa);
  border-top-color:#b9d8eb;
}
body.theme-v62 .content[data-route="presence"] .er-presence-roster::before {
  content:""; position:absolute;left:11px;top:0;width:110px;height:35px;
  background:url('/images/theme-v74/presence-gold-corner.png') left top/contain no-repeat;
  pointer-events:none;
}
body.theme-v62 .content[data-route="presence"] .er-presence-roster-head {
  display:flex;align-items:center;gap:10px;min-width:0;padding:7px 5px 13px;
}
body.theme-v62 .content[data-route="presence"] .er-presence-roster-head > .icon {
  width:36px;height:36px;padding:6px;border-radius:12px;
  background:#edf6ff;border:1px solid #c3dbeb;
}
body.theme-v62 .content[data-route="presence"] .er-presence-roster-head div {min-width:0;}
body.theme-v62 .content[data-route="presence"] .er-presence-roster-head span {
  display:block;color:#8d661f;font-size:10px;letter-spacing:.11em;font-weight:900;
}
body.theme-v62 .content[data-route="presence"] .er-presence-roster-head h2 {
  margin:3px 0 1px;color:#0e3154;font-size:19px;line-height:1.15;
}
body.theme-v62 .content[data-route="presence"] .er-presence-roster-head p {
  margin:0;color:#607588;font-size:12px;line-height:1.4;
}
body.theme-v62 .content[data-route="presence"] .er-presence-deadline {
  display:flex;align-items:center;gap:8px;margin:9px 1px 10px;
  padding:9px 11px;border:1px solid #d6e5f0;border-radius:12px;
  background:#f6faff;color:#39566d;font-size:12px;line-height:1.4;
}
body.theme-v62 .content[data-route="presence"] .er-presence-deadline .icon {width:19px;height:19px;flex:none;}
body.theme-v62 .content[data-route="presence"] .er-presence-deadline b {color:#184d79;}
body.theme-v62 .content[data-route="presence"] .presence-round-card-premium {
  margin:0; box-shadow:0 6px 18px rgba(7,33,75,.18);
  border:1px solid rgba(214,171,64,.55);
}
body.theme-v62 .content[data-route="presence"] .presence-counts {
  display:grid;gap:8px;margin:10px 0;border:0;
}
body.theme-v62 .content[data-route="presence"] .presence-counts button {
  min-width:0;min-height:66px;padding:9px 11px;
  display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:9px;
  text-align:left;border-radius:13px;border-color:#d1e3ed;
  background:linear-gradient(150deg,#fff,#f7fafc);
  box-shadow:none;
}
body.theme-v62 .content[data-route="presence"] .presence-counts button > .icon {width:33px;height:33px;padding:6px;}
body.theme-v62 .content[data-route="presence"] .presence-counts button > span {min-width:0;overflow:visible;display:grid;gap:3px;}
body.theme-v62 .content[data-route="presence"] .presence-counts button b {font-size:20px;line-height:1;}
body.theme-v62 .content[data-route="presence"] .presence-counts button small {
  color:#465d70;font-size:12px;font-weight:850;line-height:1.25;
  white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:normal;
}
body.theme-v62 .content[data-route="presence"] .presence-counts button:focus-visible,
body.theme-v62 .content[data-route="presence"] .presence-answer:focus-visible,
body.theme-v62 .content[data-route="presence"] .presence-group > summary:focus-visible {
  outline:3px solid #1674c1;outline-offset:2px;
}
body.theme-v62 .content[data-route="presence"] .presence-distribution {
  margin:0;padding:12px;border:1px solid #d6e5ee;
  background:#fff;box-shadow:none;border-radius:14px;
}
body.theme-v62 .content[data-route="presence"] .presence-distribution header {gap:7px;align-items:center;}
body.theme-v62 .content[data-route="presence"] .presence-distribution header strong {
  min-width:0;max-width:50%;font-size:11.5px;text-align:right;
  white-space:normal;line-height:1.25;
}
body.theme-v62 .content[data-route="presence"] :is(.presence-identity,.presence-answer-card,.presence-notification,.presence-admin-tools,.presence-group) {
  box-shadow:none;border-color:#d5e4ed;background-color:#fff;
}
body.theme-v62 .content[data-route="presence"] .er-presence-actions > :last-child {margin-bottom:0;}
body.theme-v62 .content[data-route="presence"] .presence-identity,
body.theme-v62 .content[data-route="presence"] .presence-answer-card {
  margin-bottom:9px;padding:12px;
}
body.theme-v62 .content[data-route="presence"] .presence-answer-title small,
body.theme-v62 .content[data-route="presence"] .presence-answer small,
body.theme-v62 .content[data-route="presence"] .presence-answer-help,
body.theme-v62 .content[data-route="presence"] .presence-closed-note {font-size:12px;line-height:1.35;}
body.theme-v62 .content[data-route="presence"] .presence-answer b {font-size:13px;}
body.theme-v62 .content[data-route="presence"] .presence-identity.bound small {font-size:12px;}
body.theme-v62 .content[data-route="presence"] .presence-answer.selected {
  box-shadow:inset 0 0 0 1px rgba(18,111,77,.14);
}
body.theme-v62 .content[data-route="presence"] .presence-group-list {background:#fbfdff;}
body.theme-v62 .content[data-route="presence"] .presence-group summary small {font-size:11.5px;}
body.theme-v62 .content[data-route="presence"] .presence-group summary b {font-size:13px;}
body.theme-v62 .content[data-route="presence"] .presence-group.yes > summary > span {
  background-image:url('/images/theme-v74/presence-seal-soft.png');background-size:contain;background-repeat:no-repeat;
}
body.theme-v62 .content[data-route="presence"] .presence-player-row {
  padding:9px 8px;min-width:0;
}
body.theme-v62 .content[data-route="presence"] .presence-player-row .profile-copy {min-width:0;}
body.theme-v62 .content[data-route="presence"] .presence-status {font-size:11px;}
body.theme-v62 .content[data-route="presence"] .presence-admin-tools > summary {min-height:55px;}
body.theme-v62 .content[data-route="presence"] .presence-admin-tools > summary small {font-size:12px;}
@media(max-width:520px) {
  body.theme-v62 .content[data-route="presence"] .er-presence-overview,
  body.theme-v62 .content[data-route="presence"] .er-presence-actions,
  body.theme-v62 .content[data-route="presence"] .er-presence-roster {padding:10px;margin:9px 0 12px;border-radius:17px;}
  /* Four columns from V59 are the truncation root cause; intentionally superseded. */
  body.theme-v62 .content[data-route="presence"] .presence-counts {grid-template-columns:repeat(2,minmax(0,1fr));}
  body.theme-v62 .content[data-route="presence"] .presence-round-card-premium {
    aspect-ratio:auto;min-height:170px;
    grid-template-columns:1fr minmax(128px,1.2fr) 1fr;padding:9px 7px;gap:4px;
  }
  body.theme-v62 .content[data-route="presence"] .presence-round-crest {min-width:0;}
  body.theme-v62 .content[data-route="presence"] .presence-team-crest {width:clamp(42px,13vw,72px);height:clamp(42px,13vw,72px);}
  body.theme-v62 .content[data-route="presence"] .presence-round-center {min-width:0;gap:5px;}
  body.theme-v62 .content[data-route="presence"] .presence-round-card-premium .presence-round-date {
    min-width:0;width:100%;padding:6px 4px;border-radius:13px;background:rgba(3,24,58,.69);
    border:1px solid rgba(247,219,149,.45);
  }
  body.theme-v62 .content[data-route="presence"] .presence-round-card-premium .presence-round-date span {
    color:#fff;font-size:10.5px;line-height:1.25;white-space:normal;
  }
  body.theme-v62 .content[data-route="presence"] .presence-round-card-premium .presence-round-date strong {font-size:clamp(25px,6vw,32px);}
  body.theme-v62 .content[data-route="presence"] .presence-round-card-premium .presence-round-copy b {
    font-size:11.5px;line-height:1.25;white-space:normal;overflow:visible;
  }
  body.theme-v62 .content[data-route="presence"] .presence-round-card-premium .presence-round-copy span {font-size:10px;}
  body.theme-v62 .content[data-route="presence"] .presence-round-crest b {font-size:10px;}
  body.theme-v62 .content[data-route="presence"] .presence-answer-grid {gap:6px;}
  body.theme-v62 .content[data-route="presence"] .presence-answer {min-height:84px;padding:8px 4px;}
  body.theme-v62 .content[data-route="presence"] .presence-answer small {font-size:10.5px;}
  body.theme-v62 .content[data-route="presence"] .presence-notification small {font-size:12px;}
  body.theme-v62 .content[data-route="presence"] .presence-admin-body .btn {min-height:44px;}
}
@media(max-width:370px) {
  body.theme-v62 .content[data-route="presence"] .presence-answer-grid {grid-template-columns:1fr;}
  body.theme-v62 .content[data-route="presence"] .presence-answer {
    min-height:58px;display:grid;grid-template-columns:27px minmax(0,1fr);justify-content:start;text-align:left;padding:8px 11px;
  }
  body.theme-v62 .content[data-route="presence"] .presence-answer .icon {grid-row:span 2;}
  body.theme-v62 .content[data-route="presence"] .presence-answer :is(b,small) {text-align:left;}
}
@media(prefers-reduced-motion:reduce) {
  body.theme-v62 .content[data-route="presence"] .presence-answer.selected {animation:none;transform:none;}
}


/* V75 — ENCAIXE REAL: Sorteio, Resultado, Histórico e gestão.
   Escopo isolado, sem criar outro tema. Nenhum dado dinâmico fica embutido em PNG.
   Corrige a cascata herdada (v59/v60) apenas nas áreas afetadas. */
body.theme-v62 .content[data-route="draw"] .draw-page-heading,
body.theme-v62 .content[data-route="result"] .result-page-heading,
body.theme-v62 .content[data-route="history"] .history-page-heading {
  min-width:0; display:flex; flex-wrap:wrap; align-items:center;
  gap:8px 12px; padding:12px 14px;
  border:1px solid #d5e3ef; border-radius:17px;
  background:linear-gradient(155deg,#fff,#f3f8fc);
}
body.theme-v62 :is(.draw-page-heading,.result-page-heading,.history-page-heading) > div:first-child {min-width:0;flex:1 1 180px;}
body.theme-v62 :is(.draw-page-heading,.result-page-heading,.history-page-heading) h1 {
  margin:3px 0 2px; font-size:clamp(22px,5.9vw,30px);line-height:1.12;overflow-wrap:normal;
}
body.theme-v62 :is(.draw-page-heading,.result-page-heading,.history-page-heading) p {font-size:12.5px;line-height:1.42;}
body.theme-v62 .draw-page-heading .heading-status-stack {flex:0 1 auto;gap:7px;min-width:0;flex-wrap:wrap;align-content:center;}
body.theme-v62 .draw-page-heading .draw-jump {
  min-height:42px;padding:7px 11px;font-size:12px;white-space:nowrap;
  border:1px solid #bed6ef;background:#eaf3fc;color:#0b57ac;
}
body.theme-v62 .content[data-route="draw"] > .panel.form-grid {
  margin:12px 0 11px;padding:14px; border:1px solid #d5e4f0;
  background:linear-gradient(155deg,#fff,#f2f8fc);box-shadow:0 3px 12px rgba(12,46,91,.07);
}
body.theme-v62 .content[data-route="draw"] .field > label {font-size:12.5px;line-height:1.35;color:#294b69;}
body.theme-v62 .content[data-route="draw"] .selector button {min-height:44px;font-size:13px;}
body.theme-v62 .content[data-route="draw"] .team-name-grid input {min-height:44px;font-size:14px;}
body.theme-v62 .content[data-route="draw"] :is(.draw-balance-help,.draw-advanced-tools,.presence-draw-helper,.guest-list,.guest-empty) {
  border-color:#d7e4ed;box-shadow:none;
}
body.theme-v62 .content[data-route="draw"] :is(.draw-balance-help,.draw-advanced-tools) summary {min-height:55px;gap:9px;}
body.theme-v62 .content[data-route="draw"] :is(.draw-balance-help,.draw-advanced-tools) summary :is(b,strong) {font-size:12px;}
body.theme-v62 .content[data-route="draw"] :is(.draw-balance-help,.draw-advanced-tools) summary small {font-size:11.5px;line-height:1.35;}
body.theme-v62 .content[data-route="draw"] .participant-row .profile-copy > :is(span,small) {font-size:11.5px;line-height:1.35;}
body.theme-v62 .content[data-route="draw"] .participant-row .profile-copy > b {font-size:13px;}
body.theme-v62 .draw-preview-shell {
  min-width:0;margin:12px 0 16px;padding:8px;border:1px solid #d4e2f0;border-radius:18px;
  background:linear-gradient(145deg,rgba(255,255,255,.93),#eaf3fd);
  box-shadow:0 4px 12px rgba(13,50,92,.09);
}
body.theme-v62 .draw-preview-shell .draw-versus-preview-premium {margin:0;border-radius:14px;}
body.theme-v62 .draw-preview-extra {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:9px 2px 2px;
}
body.theme-v62 .draw-preview-extra-team {
  min-width:0;display:grid;grid-template-columns:23px minmax(0,1fr);align-items:center;gap:2px 7px;
  padding:8px 10px;border-radius:11px;border:1px solid #d7e5f2;
  color:#1f4a78;background:linear-gradient(150deg,#fff,#f4f9ff);
}
body.theme-v62 .draw-preview-extra-team .icon {grid-row:1/3;width:21px;height:21px;color:#b48938;}
body.theme-v62 .draw-preview-extra-team b {overflow-wrap:anywhere;font-size:12px;line-height:1.2;}
body.theme-v62 .draw-preview-extra-team small {font-size:10px;color:#60788b;}
/* Previously fixed above the bottom navigation and obscured list items. Now belongs to the selection flow. */
body.theme-v62 .content[data-route="draw"] .sticky-action {
  position:relative;inset:auto;left:auto;bottom:auto;transform:none;
  width:100%;max-width:none;min-width:0;margin:12px 0 5px;padding:10px;
  background:linear-gradient(160deg,#eff7ff,#fff);
  border:1px solid #c8dced;border-radius:15px;
  box-shadow:0 4px 14px rgba(22,64,103,.07);
  backdrop-filter:none;-webkit-backdrop-filter:none;
}
body.theme-v62 .content[data-route="draw"] .sticky-action > .btn {font-size:13px;min-height:48px;}
body.theme-v62 .content[data-route="draw"] .sticky-action-count small {font-size:11px;}
body.theme-v62 .content[data-route="draw"] {padding-bottom:calc(93px + env(safe-area-inset-bottom,0px));}
/* Five result destinations remain accessible and fully labeled on narrow phones. */
body.theme-v62 .content[data-route="result"] .premium-result-tabs {
  position:relative;top:auto;z-index:1;display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;
  overflow:visible;scroll-snap-type:none;width:100%;margin:10px 0 14px;
  padding:8px;box-sizing:border-box;border:1px solid #d5e3ef;border-radius:17px;
  background:linear-gradient(160deg,#fff,#eaf3fc);
  box-shadow:0 4px 12px rgba(16,50,87,.065);
}
body.theme-v62 .content[data-route="result"] .premium-result-tabs .result-tab {
  min-width:0;width:100%;min-height:54px;display:flex;flex-direction:column;justify-content:center;
  gap:3px;padding:5px 7px;margin:0;
  color:#435d74;background:#f3f8ff;border:1px solid #d6e3f1;border-radius:11px;
  box-shadow:none;
}
body.theme-v62 .content[data-route="result"] .premium-result-tabs .result-tab > span:last-child {
  display:block;min-width:0;width:100%;font-size:11.5px;font-weight:850;line-height:1.2;
  white-space:normal;overflow:visible;text-overflow:clip;text-align:center;overflow-wrap:normal;
}
body.theme-v62 .content[data-route="result"] .premium-result-tabs .result-tab-icon {
  flex:0 0 auto;display:grid;place-items:center;width:25px;height:24px;
  margin-inline:auto;background:transparent;
}
body.theme-v62 .content[data-route="result"] .premium-result-tabs .result-tab.active {
  color:#075db8;border-color:#96c4f3;background:#e9f3ff;
  box-shadow:inset 0 -3px #1568d3;
}
body.theme-v62 .content[data-route="result"] .premium-result-tabs .result-tab:focus-visible {outline:3px solid #1477d6;outline-offset:2px;}
/* Separate live score headings from the preserved metallic scoreboard artwork. */
body.theme-v62 .final-score {
  position:relative;isolation:isolate;min-width:0;padding:13px;
  border:1px solid #d1dfee;border-radius:17px;overflow:hidden;
  background:linear-gradient(155deg,#fff,#f2f8fc);box-shadow:0 5px 15px rgba(21,56,97,.085);filter:none;
}
body.theme-v62 .final-score::before {display:none;content:none;}
body.theme-v62 .final-score > header {
  position:relative;z-index:1;display:flex;flex-wrap:wrap;align-items:flex-start;
  padding:0 1px 12px;margin:0 0 8px;gap:5px 10px;
  border-bottom:1px solid #dce6f0;
}
body.theme-v62 .final-score > header > div {min-width:0;flex:1 1 160px;}
body.theme-v62 .final-score > header h2 {
  margin:2px 0 0;font-size:clamp(20px,5vw,24px);line-height:1.16;color:#152f59;
}
body.theme-v62 .final-score > header :is(time,.section-kicker) {position:relative;font-size:11.5px;line-height:1.4;white-space:normal;color:#5b7188;}
body.theme-v62 .final-score .score-board {
  position:relative;isolation:isolate;z-index:0;
  min-height:158px;display:flex;align-items:center;gap:3px;
  padding:20px clamp(13px,4vw,29px);
  border-radius:12px;overflow:hidden;
  background:linear-gradient(180deg,#fefefe,#f3f7fc);
}
body.theme-v62 .final-score .score-board::before {
  content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:url('/images/theme-v58/score-frame-premium.png') center/100% 100% no-repeat;
}
body.theme-v62 .final-score .score-team {min-width:0;padding:5px 1px;background:transparent;border:none;box-shadow:none;}
body.theme-v62 .final-score .score-team-emblem {width:clamp(42px,13vw,82px);height:clamp(42px,13vw,82px);max-width:100%;}
body.theme-v62 .final-score .score-team span {font-size:11px;color:#324d70;white-space:normal;line-height:1.2;overflow-wrap:anywhere;}
body.theme-v62 .final-score .score-team strong {font-size:clamp(36px,10vw,64px);line-height:.98;}
body.theme-v62 .final-score .score-team small {font-size:10px;}
body.theme-v62 .final-score .score-separator {flex:0 0 18px;font-size:21px;}
body.theme-v62 .content[data-route="history"] :is(.history-row,.placard-card),
body.theme-v62 .content[data-route="result"] :is(.history-row,.placard-card) {box-shadow:0 3px 11px rgba(19,58,91,.065);}
/* Finance: no invisible icon-only action; every control has a readable label. */
body.theme-v62 .content[data-route="court"] .court-heading {align-items:center;gap:9px;flex-wrap:wrap;}
body.theme-v62 .content[data-route="court"] .court-heading > .btn {width:auto;min-height:44px;padding:8px 12px;font-size:12px;}
body.theme-v62 .content[data-route="court"] .court-payment-row {
  min-width:0;grid-template-columns:minmax(0,1fr) auto;gap:5px 9px;
  padding:9px 10px;background:linear-gradient(150deg,#fff,#f5f9fd);
  border:1px solid #d8e4ed;box-shadow:none;
}
body.theme-v62 .content[data-route="court"] .court-payment-row > span:first-child {min-width:0;}
body.theme-v62 .content[data-route="court"] .court-payment-row > span:first-child :is(b,small) {
  white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;
}
body.theme-v62 .content[data-route="court"] .court-payment-row > span:first-child b {font-size:13px;line-height:1.3;}
body.theme-v62 .content[data-route="court"] .court-payment-row > span:first-child small {font-size:11.5px;}
body.theme-v62 .content[data-route="court"] .court-payment-row .court-payment-actions {
  display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:7px;
  grid-column:1/-1;grid-row:auto;width:100%;
}
body.theme-v62 .content[data-route="court"] .court-payment-row .court-payment-actions .mini-btn {
  flex:1 1 105px;min-width:105px;min-height:44px;display:inline-flex;align-items:center;
  justify-content:center;gap:6px;padding:6px 9px;
  font-size:11.5px;color:#145899;white-space:nowrap;
  background:#eef6ff;border:1px solid #bcd9f4;box-shadow:none;
}
body.theme-v62 .content[data-route="court"] .payment-action-label {font-weight:800;font-size:11.5px;}
body.theme-v62 .content[data-route="court"] .court-payment-actions .icon {width:17px;height:17px;}
body.theme-v62 .content[data-route="court"] .court-payment-actions :is(.court-history-lock) {font-size:11.5px;}
body.theme-v62 .content[data-route="court"] .court-charge-actions .btn {font-size:12px;min-height:44px;}
/* Secondary areas and modal forms share the same readable system instead of 9px legacy captions. */
body.theme-v62 .content[data-route="discipline"] .discipline-summary-grid :is(small,span) {font-size:11.5px;line-height:1.4;}
body.theme-v62 .content[data-route="discipline"] .discipline-case-card :is(header small,p) {font-size:12px;line-height:1.4;}
body.theme-v62 .content[data-route="discipline"] .discipline-case-card {box-shadow:0 3px 12px rgba(32,66,101,.06);}
body.theme-v62 .content[data-route="settings"] .developer-preview-card .demo-mode-status {
  flex:0 0 auto;min-width:62px;width:auto;word-break:normal;white-space:nowrap;
  overflow-wrap:normal;padding:6px 9px;font-size:11px;
}
body.theme-v62 .modal-card :is(.field>label,.score-input>span) {font-size:12.5px;line-height:1.4;}
body.theme-v62 .modal-card :is(input:not([type="hidden"]),select,textarea) {min-height:44px;font-size:14px;}
body.theme-v62 .modal-card .field>small {font-size:11.5px;line-height:1.42;}
body.theme-v62 .modal-card .notice span {font-size:11.5px;line-height:1.38;}
body.theme-v62 .modal-card :is(.form-error,.notice) {overflow-wrap:anywhere;}
/* Scalable ornamental PNGs only decorate surfaces; never hide real text or event targets. */
body.theme-v62 .content[data-route="draw"] .draw-preview-shell {position:relative;isolation:isolate;}
body.theme-v62 .content[data-route="draw"] .draw-preview-shell::after,
body.theme-v62 .content[data-route="history"] .history-page-heading::after,
body.theme-v62 .content[data-route="result"] .result-page-heading::after {
  content:'';position:absolute;right:1px;top:1px;width:48px;height:42px;
  pointer-events:none;opacity:.76;z-index:0;
  background:url('/images/theme-v75/corner-dual-metal.png') top right/contain no-repeat;
}
body.theme-v62 .content[data-route="result"] .premium-result-tabs {
  background-image:url('/images/theme-v75/panel-rail-premium.png'),linear-gradient(160deg,#fff,#eaf3fc);
  background-repeat:no-repeat,no-repeat;background-position:center top,center;background-size:100% 5px,cover;
}
body.theme-v62 .content[data-route="draw"] .sticky-action {
  background-image:url('/images/theme-v75/panel-rail-premium.png'),linear-gradient(160deg,#eff7ff,#fff);
  background-position:center top,center;background-size:100% 4px,cover;background-repeat:no-repeat,no-repeat;
}
@media(max-width:520px) {
  body.theme-v62 :is(.draw-page-heading,.result-page-heading,.history-page-heading) {padding:11px;}
  body.theme-v62 .draw-page-heading .heading-status-stack {width:100%;justify-content:space-between;}
  body.theme-v62 .content[data-route="draw"] .draw-jump {margin-left:auto;}
  body.theme-v62 .content[data-route="draw"] .team-name-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
  body.theme-v62 .content[data-route="draw"] .draw-preview-shell {padding:5px;}
  body.theme-v62 .content[data-route="draw"] .draw-preview-extra {grid-template-columns:repeat(2,minmax(0,1fr));}
  body.theme-v62 .content[data-route="draw"] .draw-preview-extra-team {padding:7px;}
  body.theme-v62 .content[data-route="result"] .premium-result-tabs .result-tab {min-width:0;min-height:58px;}
  body.theme-v62 .final-score {padding:10px;}
  body.theme-v62 .final-score .score-board {padding:19px 14px;min-height:154px;}
  body.theme-v62 .final-score .score-team-emblem {width:clamp(38px,12.5vw,55px);height:clamp(38px,12.5vw,55px);}
  body.theme-v62 .final-score .score-team strong {font-size:clamp(32px,10vw,42px);}
  body.theme-v62 .final-score .score-team span {font-size:10px;}
  body.theme-v62 .content[data-route="court"] .court-heading > .btn {width:auto;max-width:100%;}
}
@media(max-width:375px) {
  body.theme-v62 .content[data-route="result"] .premium-result-tabs {grid-template-columns:repeat(2,minmax(0,1fr));}
  body.theme-v62 .content[data-route="result"] .premium-result-tabs .result-tab:last-child {grid-column:1/-1;}
  body.theme-v62 .content[data-route="result"] .premium-result-tabs .result-tab > span:last-child {font-size:12px;}
  body.theme-v62 .final-score .score-board {padding-inline:12px;}
}
@media(prefers-reduced-motion:reduce) {
  body.theme-v62 .content[data-route="result"] .premium-result-tabs .result-tab {transition:none;}
  body.theme-v62 .content[data-route="draw"] .draw-preview-shell {transition:none;}
}


/* V76 UNIVERSAL FINAL POLISH — existing theme, no new cascade layer.
   All decoration is pointer-events:none or a non-interactive background.
   Dynamic data, ranks, photos and original graphics remain functional. */
body.theme-v62 { --v76-accent:#176cc4; --v76-ink:#193a57; --v76-line:#d4e2ed; --v76-soft:#f4f8fc; }
body.theme-v62 .content[data-route] { min-width:0; }
/* One consistent hierarchy and quieter, united surfaces across every route. */
body.theme-v62 .content[data-route] .page-heading {
  margin-bottom:14px;padding:clamp(12px,3.1vw,16px);
  border:1px solid var(--v76-line);border-radius:18px;
  background-color:#f9fcff;
  background-image:url('/images/theme-v76/panel-header-metal.png'),linear-gradient(150deg,#fff,#f2f8ff);
  background-repeat:no-repeat;background-position:center top,center;
  background-size:100% 31px,cover;
  box-shadow:0 3px 12px rgba(24,68,110,.052);
}
body.theme-v62 .content[data-route] .page-heading h1 {
  font-size:clamp(23px,6.4vw,29px);line-height:1.13;letter-spacing:-.026em;
  overflow-wrap:normal;word-break:normal;
}
body.theme-v62 .content[data-route] .page-heading p {font-size:12.5px;line-height:1.48;margin-top:5px;}
body.theme-v62 .content[data-route] :is(.section-head,.home-section-head) {gap:9px;align-items:center;}
body.theme-v62 .content[data-route] :is(.section-head,.home-section-head) h2 {font-size:clamp(17px,4.7vw,21px);line-height:1.18;}
body.theme-v62 .content[data-route] :is(.section-head,.home-section-head) p {font-size:12.5px;line-height:1.4;}
body.theme-v62 .content[data-route] .section-kicker {font-size:11px;letter-spacing:.052em;line-height:1.28;}
body.theme-v62 .content[data-route] :is(.panel,.result-view,.history-row,.settings-section,.court-charge-card,.discipline-case-card) {
  border-color:var(--v76-line);box-shadow:0 3px 11px rgba(18,64,106,.062);
}
/* Metallic assets are thin, cropped and not printed behind data. */
body.theme-v62 .content[data-route] :is(.settings-section,.result-view,.court-charge-card,.discipline-case-card) {
  background-image:url('/images/theme-v76/panel-header-metal.png'),linear-gradient(155deg,#fff,#f7fbff);
  background-repeat:no-repeat;background-position:center top,center;background-size:100% 25px,cover;
}
body.theme-v62 .content[data-route] :is(.settings-section,.result-view,.court-charge-card,.discipline-case-card) > :first-child {position:relative;}
body.theme-v62 .content[data-route] :is(.btn,.mini-btn) {letter-spacing:0;line-height:1.25;}
body.theme-v62 .content[data-route] .btn:not(.icon-button) {font-size:max(12px, .79rem);white-space:normal;overflow-wrap:normal;word-break:normal;text-overflow:clip;}
body.theme-v62 .content[data-route] :is(.notice,.empty-state,.error-state) {line-height:1.42;}
body.theme-v62 .content[data-route] :is(.notice,.empty-state) :is(p,span,small) {font-size:12px;line-height:1.42;}
/* DEV status stays unmistakable without consuming an entire mobile viewport segment. */
body.theme-v62 .demo-mode-bar {
  display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;
  gap:7px;padding:8px 9px;margin:5px 0 10px;min-width:0;border-radius:13px;
  box-shadow:0 2px 9px rgba(39,48,121,.07);
}
body.theme-v62 .demo-mode-bar > .icon {width:30px;height:30px;padding:6px;border-radius:10px;}
body.theme-v62 .demo-mode-bar :is(b,small) {display:block;line-height:1.3;}
body.theme-v62 .demo-mode-bar b {font-size:11.5px;}
body.theme-v62 .demo-mode-bar small {font-size:10.5px;}
body.theme-v62 .demo-mode-bar button {grid-column:auto;width:auto;min-width:72px;min-height:44px;padding:5px 8px;font-size:11.5px;}
/* Score header is a compact metadata block, never a full-height flex row. */
body.theme-v62 .final-score > header {
  display:grid;grid-template-columns:minmax(0,1fr);align-content:start;align-items:start;
  gap:5px;height:auto;min-height:0;margin:0 0 10px;padding:3px 2px 11px;
}
body.theme-v62 .final-score > header > div {min-width:0;flex:none;}
body.theme-v62 .final-score > header time {display:block;justify-self:start;margin:0;font-size:12px;}
body.theme-v62 .final-score > header h2 {font-size:clamp(19px,5.4vw,23px);margin:2px 0 0;}
body.theme-v62 .final-score .score-board {margin:0;}
/* Result actions never crop their text (V75 measured 4 clipped labels at 360/390px). */
body.theme-v62 .content[data-route="result"] .button-row {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:stretch;
}
body.theme-v62 .content[data-route="result"] .button-row > .btn {
  display:inline-flex;align-items:center;justify-content:center;width:100%;min-width:0;
  min-height:44px;height:auto;padding:9px 8px;white-space:normal;line-height:1.28;
  overflow:visible;text-overflow:clip;overflow-wrap:normal;
}
body.theme-v62 .content[data-route="result"] .premium-result-tabs {
  background-image:url('/images/theme-v76/panel-header-metal.png'),linear-gradient(160deg,#fff,#edf6ff);
  background-repeat:no-repeat,no-repeat;background-position:center top,center;background-size:100% 24px,cover;
  gap:7px;
}
body.theme-v62 .content[data-route="result"] .premium-result-tabs .result-tab > span:last-child {font-size:12px;line-height:1.25;}
/* In Draw, guests and advanced rules must retain readable labels. */
body.theme-v62 .content[data-route="draw"] :is(.guest-head,.draw-page-heading) {flex-wrap:wrap;align-items:center;}
body.theme-v62 .content[data-route="draw"] .guest-head .btn {min-height:44px;max-width:100%;padding-inline:11px;}
body.theme-v62 .content[data-route="draw"] :is(.draw-preview-shell,.sticky-action) {
  background-image:url('/images/theme-v76/frame-dual-corners.png'),linear-gradient(155deg,#fff,#edf6ff);
  background-size:100% 70px,cover;background-repeat:no-repeat;
  background-position:center top,center;
}
body.theme-v62 .content[data-route="draw"] :is(.draw-balance-help,.draw-advanced-tools) :is(small,p) {font-size:12px;line-height:1.45;}
/* Discipline: primary CTA and status chips cannot be abbreviated by fixed row columns. */
body.theme-v62 .content[data-route="discipline"] .discipline-heading {flex-wrap:wrap;align-items:center;}
body.theme-v62 .content[data-route="discipline"] .discipline-heading > .btn {width:auto;min-width:118px;max-width:100%;min-height:44px;flex:0 1 auto;overflow:visible;}
body.theme-v62 .content[data-route="discipline"] .discipline-case-card :is(small,.status,.chip,.badge) {font-size:11.5px;line-height:1.35;white-space:normal;overflow-wrap:normal;}
/* Court: payment lists and hierarchy are aligned, not floating. */
body.theme-v62 .content[data-route="court"] :is(.court-payment-row,.court-charge-card) {border-radius:14px;}
body.theme-v62 .content[data-route="court"] .court-payment-row :is(small,.payment-action-label) {font-size:12px;line-height:1.38;}
body.theme-v62 .content[data-route="court"] .court-charge-actions {gap:7px;flex-wrap:wrap;}
body.theme-v62 .content[data-route="court"] .court-charge-actions .btn {min-width:0;min-height:44px;}
/* Settings, Players, History and Match Day: readable secondary data. */
body.theme-v62 .content[data-route="players"] .player-card :is(.profile-copy small,.rank-summary small,.player-meta small) {font-size:11.5px;line-height:1.4;}
body.theme-v62 .content[data-route="history"] .history-row :is(small,time) {font-size:11.5px;line-height:1.35;}
body.theme-v62 .content[data-route="settings"] .settings-section :is(small,p) {line-height:1.43;}
body.theme-v62 .content[data-route="game"] :is(.game-day-stage,.game-panel) :is(small,p) {line-height:1.42;}
/* Dialogs: typography and safe touch targets consistent with every route. */
body.theme-v62 .modal-card {border-radius:18px;}
body.theme-v62 .modal-card :is(.field > label,.score-input > span) {font-size:13px;line-height:1.4;}
body.theme-v62 .modal-card :is(input:not([type="hidden"]),select,textarea) {font-size:14px;min-height:44px;}
body.theme-v62 .modal-card .field > small {font-size:12px;line-height:1.4;}
body.theme-v62 .modal-card .button-row {gap:8px;flex-wrap:wrap;}
body.theme-v62 .modal-card .button-row .btn {min-width:0;min-height:44px;white-space:normal;}
@media(max-width:520px) {
 body.theme-v62 .content[data-route] .page-heading {margin-bottom:12px;gap:9px;}
 body.theme-v62 .content[data-route] .page-heading h1 {font-size:clamp(23px,6.3vw,27px);}
 body.theme-v62 .content[data-route] .page-heading .btn {min-height:44px;}
 body.theme-v62 .demo-mode-bar {grid-template-columns:28px minmax(0,1fr) auto;}
 body.theme-v62 .content[data-route="result"] .button-row > .btn {font-size:12px;}
 body.theme-v62 .content[data-route="court"] .court-charge-actions .btn {font-size:12px;}
 body.theme-v62 .content[data-route="draw"] .guest-head .btn {flex:0 1 auto;}
}
@media(max-width:350px) {
 body.theme-v62 .demo-mode-bar {grid-template-columns:28px minmax(0,1fr);}
 body.theme-v62 .demo-mode-bar button {grid-column:1/-1;width:100%;}
 body.theme-v62 .content[data-route="result"] .button-row {grid-template-columns:minmax(0,1fr);}
}
@media(prefers-reduced-motion:reduce) {
 body.theme-v62 .content[data-route] .btn {transition:none;}
}


/* V77 ARTWORK INTEGRATION — transparent PNG cutouts from supplied archive.
   Responsive decorative assets only: never replace live copy, player photos,
   form controls, official team crests or the ranking calculation.
   Preserve all V52–V76 functional styles and focus/disabled states. */
body.theme-v62 .content[data-route] { --v77-metal:#cbaa62; --v77-blue:#127ac4; --v77-red:#c92f49; }
/* Same geometry for route icons; decoration must not change the actual text. */
body.theme-v62 .content[data-route] .page-heading .section-kicker {
  display:inline-flex;align-items:center;flex-wrap:wrap;gap:7px;min-height:26px;
  font-weight:800;font-size:11.5px;letter-spacing:.055em;
}
body.theme-v62 .content[data-route] .page-heading .section-kicker::before {
  content:'';display:inline-block;flex:0 0 27px;width:27px;height:27px;
  background:var(--v77-icon) center /contain no-repeat;
  filter:drop-shadow(0 2px 3px rgba(19,44,72,.12));
}
body.theme-v62 .content[data-route] .page-heading .section-kicker > .icon {display:none;}
body.theme-v62 .content[data-route="rank"] {--v77-icon:url('/images/theme-v83/rank-premium.png');}
body.theme-v62 .content[data-route="players"] {--v77-icon:url('/images/theme-v77/icon-players.png');}
body.theme-v62 .content[data-route="presence"] {--v77-icon:url('/images/theme-v77/icon-presence.png');}
body.theme-v62 .content[data-route="draw"] {--v77-icon:url('/images/theme-v77/icon-draw.png');}
body.theme-v62 .content[data-route="result"] {--v77-icon:url('/images/theme-v77/icon-results.png');}
body.theme-v62 .content[data-route="history"] {--v77-icon:url('/images/theme-v77/icon-history.png');}
body.theme-v62 .content[data-route="court"] {--v77-icon:url('/images/theme-v77/icon-court.png');}
body.theme-v62 .content[data-route="discipline"] {--v77-icon:url('/images/theme-v77/icon-discipline.png');}
body.theme-v62 .content[data-route="settings"] {--v77-icon:url('/images/theme-v77/icon-settings.png');}
body.theme-v62 .content[data-route="game"] {--v77-icon:url('/images/theme-v77/icon-presence.png');}
/* Menu retains original click targets and names; PNG icons replace only art. */
body.theme-v62 .main-menu-route > span:first-child {
  display:grid;place-items:center;width:48px;min-width:48px;height:48px;
  border:0 !important;box-shadow:none !important;background:none !important;
}
body.theme-v62 .main-menu-route > span:first-child::before {content:none !important;display:none !important;}
body.theme-v62 .main-menu-route > span:first-child > img.menu-premium-png {
  display:block !important;width:43px;height:43px;object-fit:contain;opacity:1;flex-shrink:0;
}
body.theme-v62 .main-menu-route small {line-height:1.4;white-space:normal;overflow:visible;overflow-wrap:anywhere;font-size:11.5px;}
/* V80: do not compress a portrait-frame PNG inside the 52px player photo.
   Keep the original photo readable; team colors mark its external border. */
body.theme-v62 .content[data-route="players"] .er-roster-group .player-card {position:relative;isolation:isolate;overflow:hidden;}
body.theme-v62 .content[data-route="players"] .player-card .avatar {isolation:isolate;overflow:hidden;box-shadow:0 0 0 2px #fff,0 0 0 3px #98bbdf;}
body.theme-v62 .content[data-route="players"] .player-card .avatar[data-team-side="refugos"] {box-shadow:0 0 0 2px #fff,0 0 0 3px #dba4af;}
body.theme-v62 .content[data-route="players"] .player-card .avatar::after {content:none;}
body.theme-v62 .content[data-route="players"] .player-card.team-estrelas {
  background-image:url('/images/theme-v77/corner-left-premium.png'),linear-gradient(150deg,#fff,#f4f9ff);
  background-size:39px 46px,cover;background-position:right top,center;background-repeat:no-repeat;
}
body.theme-v62 .content[data-route="players"] .player-card.team-refugos {
  background-image:url('/images/theme-v77/corner-right-premium.png'),linear-gradient(150deg,#fff,#fff5f6);
  background-size:39px 46px,cover;background-position:right top,center;background-repeat:no-repeat;
}
/* V80: portrait and metal frame have INDEPENDENT dimensions. The frame's
   transparent aperture surrounds the photo instead of cutting into faces. */
body.theme-v62 .modal-card .player-profile-photo.rank-aura {position:relative;min-height:0;padding:2px 0 0;}
body.theme-v62 .modal-card .profile-portrait-stage {
  --portrait-width:clamp(205px,58vw,244px);
  position:relative;isolation:isolate;display:grid;place-items:center;
  width:var(--portrait-width);height:calc(var(--portrait-width)*1.249);
  margin:0 auto;overflow:visible;
}
body.theme-v62 .modal-card .profile-portrait-stage .avatar.profile-large {
  position:relative;width:66%;height:68%;max-width:none;max-height:none;
  border-radius:17px;z-index:1;overflow:hidden;box-sizing:border-box;
  box-shadow:0 7px 19px rgba(17,47,85,.15);transform:none;
}
body.theme-v62 .modal-card .profile-portrait-stage .avatar.profile-large .avatar-photo {object-fit:cover;object-position:center 34%;}
/* The artwork has its own metal sides, crowns and team crests. The old team
   badge inside the photo would be a third, duplicated badge. */
body.theme-v62 .modal-card .profile-portrait-stage .team-affiliation-icon {display:none;}
body.theme-v62 .modal-card .profile-portrait-stage .v77-profile-frame {
  position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;
  object-fit:contain;pointer-events:none;z-index:2;opacity:1;
  transform:none;filter:drop-shadow(0 6px 9px rgba(14,46,77,.12));
}
body.theme-v62 .modal-card .player-profile-photo.team-estrelas .v77-profile-frame {filter:drop-shadow(0 6px 9px rgba(19,89,171,.13));}
/* Compare and roster surfaces get only one short trim, not giant image backgrounds. */
body.theme-v62 .content[data-route="players"] .player-compare-panel {
  background-image:url('/images/theme-v81/compare-rail.png'),linear-gradient(155deg,#fff,#f4f9ff);
  background-size:100% 34px,cover;background-repeat:no-repeat;background-position:center top,center;
}
body.theme-v62 .content[data-route="players"] .player-compare-panel summary {min-height:48px;}
/* Spotlight / scoreboard maintain their already approved crests and dynamic score. */
body.theme-v62 .content[data-route="home"] .home-primary-grid > .premium-action {
  background-image:url('/images/theme-v77/stat-ribbon-blue.png'),linear-gradient(155deg,#fff,#f7fbff);
  background-position:center bottom,center;background-size:100% 12px,cover;background-repeat:no-repeat;
}
body.theme-v62 .content[data-route="home"] .er-home-draw-group {
  background-image:url('/images/theme-v77/versus-team-duo.png'),linear-gradient(155deg,#fff,#f6faff);
  background-position:center top,center;background-size:100% 14px,cover;background-repeat:no-repeat;
}
body.theme-v62 .content[data-route="game"] .game-day-hero {
  background-image:linear-gradient(125deg,#09315f 0%,#081d3e 55%,#391327 100%);
  background-repeat:no-repeat;background-size:cover;background-position:center;
}
/* Presença: a narrow flourish above distribution without hiding any data. */
body.theme-v62 .content[data-route="presence"] .presence-distribution {
  background-image:linear-gradient(90deg,#126dc9 0%,#d5a648 50%,#c92c4d 100%),linear-gradient(160deg,#fff,#f4faff);
  background-size:100% 3px,cover;background-repeat:no-repeat;background-position:center top,center;
  padding-top:max(13px,1rem);
}
/* Sorteio: transparent cutouts act as section accents, never a flattened screenshot. */
body.theme-v62 .content[data-route="draw"] .draw-preview-shell {
  background-image:linear-gradient(90deg,#1276db,#cb9c48,#b91436),linear-gradient(155deg,#fff,#f0f7ff);
  background-size:100% 3px,cover;background-position:center bottom,center;background-repeat:no-repeat;
}
body.theme-v62 .content[data-route="draw"] .draw-summary-strip {
  background-image:linear-gradient(90deg,#1276db,#cb9c48,#b91436),linear-gradient(152deg,#fff,#f4f8fd);
  background-size:100% 3px,cover;background-position:center top,center;background-repeat:no-repeat;
}
body.theme-v62 .content[data-route="draw"] .draw-preview-extra {
  background-image:linear-gradient(90deg,#1276db,#cb9c48,#b91436);background-size:100% 3px;
  background-position:center bottom;background-repeat:no-repeat;padding-bottom:12px;
}
body.theme-v62 .content[data-route="draw"] .team-card.team-estrelas {
  background-image:linear-gradient(150deg,rgba(255,255,255,.94),rgba(241,248,255,.98)),url('/images/theme-v77/player-banner-blue.png');
  background-size:cover,100% 100%;background-repeat:no-repeat;
}
body.theme-v62 .content[data-route="draw"] .team-card.team-refugos {
  background-image:linear-gradient(150deg,rgba(255,255,255,.94),rgba(255,246,247,.98)),url('/images/theme-v77/player-banner-red.png');
  background-size:cover,100% 100%;background-repeat:no-repeat;
}
/* Result/history: decorative bands never compete with score and metadata. */
body.theme-v62 .content[data-route="result"] .result-page-heading {
  background-image:linear-gradient(90deg,#156fc4,#d4a340,#be2545),linear-gradient(155deg,#fff,#f3f8fd);
  background-size:100% 3px,cover;background-position:center bottom,center;background-repeat:no-repeat;
}
body.theme-v62 .content[data-route="result"] .premium-result-tabs {
  background-image:linear-gradient(90deg,#156fc4,#d4a340,#be2545),linear-gradient(160deg,#fff,#edf6ff);
  background-size:100% 3px,cover;background-position:center top,center;background-repeat:no-repeat;
}
body.theme-v62 .content[data-route="result"] .result-view .ranking-podium-card:first-child {
  background-image:linear-gradient(150deg,rgba(255,255,255,.91),rgba(248,252,255,.97)),url('/images/theme-v77/panel-frame-duel.png');
  background-size:cover,100% 100%;background-repeat:no-repeat;
}
body.theme-v62 .content[data-route="history"] .history-page-heading {
  background-image:linear-gradient(90deg,#156fc4,#d4a340,#be2545),linear-gradient(155deg,#fff,#f3f8fd);
  background-size:100% 3px,cover;background-position:center bottom,center;background-repeat:no-repeat;
}
/* Quadra: finance and charges align as one system, no hidden payment actions. */
body.theme-v62 .content[data-route="court"] .court-finance-chart {
  background-image:linear-gradient(150deg,rgba(255,255,255,.95),rgba(245,251,255,.97)),url('/images/theme-v77/panel-frame-duel.png');
  background-size:cover,100% 100%;background-repeat:no-repeat;
}
body.theme-v62 .content[data-route="court"] .court-charge-card {
  background-image:linear-gradient(90deg,#156fc4,#d4a340,#be2545),linear-gradient(150deg,#fff,#f7faff);
  background-size:100% 3px,cover;background-position:center top,center;background-repeat:no-repeat;
}
/* Discipline: warning ornament restrained so vote options remain readable. */
body.theme-v62 .content[data-route="discipline"] .discipline-own-penalty,
body.theme-v62 .content[data-route="discipline"] .discipline-case-card.open {
  background-image:linear-gradient(120deg,rgba(255,255,255,.96),rgba(255,250,250,.97)),url('/images/theme-v77/danger-notice-red.png');
  background-size:cover,100% 100%;background-repeat:no-repeat;
}
body.theme-v62 .modal-card .discipline-option-picker label {
  min-width:0;min-height:48px;align-items:center;flex-wrap:nowrap;gap:10px;
}
body.theme-v62 .modal-card .discipline-option-picker label > span {min-width:0;flex:1;}
body.theme-v62 .modal-card .discipline-option-picker :is(b,small) {
  display:block;white-space:normal!important;overflow:visible!important;
  text-overflow:clip!important;word-break:normal!important;overflow-wrap:anywhere;
}
body.theme-v62 .modal-card .discipline-option-picker b {font-size:12.5px;line-height:1.35;}
body.theme-v62 .modal-card .discipline-option-picker small {font-size:11.5px;line-height:1.35;}
/* Settings & dialogs receive quiet decoration while preserving controls. */
body.theme-v62 .content[data-route="settings"] .settings-section {
  background-image:linear-gradient(90deg,#156fc4,#d4a340,#be2545),linear-gradient(150deg,#fff,#f4f9ff);
  background-size:100% 3px,cover;background-position:center top,center;background-repeat:no-repeat;
}
body.theme-v62 .modal-card .modal-header {
  border-bottom:1px solid #dae5ef;padding-bottom:10px;margin-bottom:14px;
  background:linear-gradient(90deg,#156fc4,#d4a340,#be2545) bottom center /100% 2px no-repeat;
}
/* Unambiguous focus, touch targets, safe texts, independent of ornament layers. */
body.theme-v62 .content[data-route] :is(.btn,.mini-btn) {min-height:44px;}
body.theme-v62 .content[data-route="result"] :is(select,.community-game-select) {max-width:100%;min-width:0;box-sizing:border-box;}
body.theme-v62 .content[data-route="presence"] .presence-notification :is(.btn,[data-presence-disable-push]) {
  min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;text-overflow:clip;
}
body.theme-v62 :is(.main-menu-route,.player-card,.result-tab,.btn):focus-visible {
  outline:3px solid #1674d8;outline-offset:2px;
}
@media(max-width:430px) {
  body.theme-v62 .content[data-route] .page-heading {padding:12px;gap:8px;}
  body.theme-v62 .content[data-route] .page-heading h1 {font-size:clamp(22px,6vw,26px);}
  body.theme-v62 .content[data-route="players"] .player-card .avatar::after {opacity:.33;}
  body.theme-v62 .content[data-route="draw"] .team-card {min-width:0;}
  body.theme-v62 .content[data-route="court"] .court-heading > .btn {max-width:100%;}
  body.theme-v62 .modal-card .profile-portrait-stage {--portrait-width:clamp(202px,60vw,232px);}
}
@media(prefers-reduced-motion:reduce) {
  body.theme-v62 .content[data-route] .page-heading .section-kicker::before,
  body.theme-v62 .modal-card .v77-profile-frame {animation:none;transition:none;}
}

/* V78 — audited mobile corrections, scoped to actual V77 components. */
body.theme-v62 .bottom-nav {gap:3px;isolation:isolate;}
body.theme-v62 .bottom-nav .nav-item {min-width:0;min-height:62px;gap:2px;justify-content:center;padding:4px 1px 3px;}
body.theme-v62 .bottom-nav .nav-item .icon {width:clamp(39px,11vw,50px);height:clamp(39px,11vw,50px);object-fit:contain;flex-shrink:0;}
body.theme-v62 .bottom-nav .nav-item b {font-size:clamp(10px,2.75vw,12px);font-weight:850;white-space:nowrap;line-height:1.15;}
/* V84: um PNG por destino. Sem bordas/pseudoicones extras em volta do escudo do PNG. */
body.theme-v62 .bottom-nav .nav-item {border:0;overflow:visible;isolation:isolate;}
body.theme-v62 .bottom-nav .nav-item::before,
body.theme-v62 .bottom-nav .nav-item::after {content:none !important;display:none !important;}
body.theme-v62 .bottom-nav .nav-item.active {background:linear-gradient(180deg,#f2f8ff,#fff);border:0;box-shadow:inset 0 -2px 0 #156fcf;}
body.theme-v62 .bottom-nav .nav-item > img.icon {display:block;max-width:100%;max-height:100%;background:none !important;box-shadow:none !important;border:0 !important;}
body.theme-v62 .bottom-nav .nav-item > b {overflow:visible;text-overflow:clip;white-space:nowrap;text-align:center;}
body.theme-v62 .bottom-nav .nav-item:focus-visible {outline:2px solid #176bda;outline-offset:-2px;}
body.theme-v62 .bottom-nav .nav-item.active .icon {filter:none;opacity:1;}
/* The V58 scoreboard artwork has a shallow lower rail: reserve a safe content region. */
body.theme-v62 .final-score .score-board {min-height:202px;padding:22px clamp(14px,4vw,24px) 34px;align-items:center;}
body.theme-v62 .final-score .score-team {align-self:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:0 2px;min-width:0;overflow:visible;}
body.theme-v62 .final-score .score-team-emblem {width:clamp(38px,11vw,55px);height:clamp(38px,11vw,55px);flex-shrink:0;object-fit:contain;}
body.theme-v62 .final-score .score-team span {font-size:clamp(10.5px,2.6vw,12px);line-height:1.2;max-width:100%;overflow:visible;}
body.theme-v62 .final-score .score-team strong {margin:0;font-size:clamp(33px,10vw,46px);line-height:1;}
body.theme-v62 .final-score .score-team small {font-size:11px;line-height:1.25;margin-top:1px;padding-bottom:0;}
body.theme-v62 .final-score .score-separator {align-self:center;}
/* Existing field grids have explicit min-content sizing; textarea must match input width. */
body.theme-v62 .modal-card .field {min-width:0;width:100%;max-width:100%;}
body.theme-v62 .modal-card .field textarea,
body.theme-v62 .modal-card textarea[name="collectionMessage"],
body.theme-v62 .modal-card textarea[name="description"] {display:block;width:100%;max-width:100%;min-width:0;box-sizing:border-box;min-height:112px;resize:vertical;padding:12px;font-size:16px;line-height:1.45;}
body.theme-v62 .modal-card .field label {line-height:1.35;}
/* Discipline voting options: allow full title and keep its action/status visible. */
body.theme-v62 .content[data-route="discipline"] .discipline-option {grid-template-columns:30px minmax(0,1fr) auto;min-height:56px;align-items:center;gap:10px;}
body.theme-v62 .content[data-route="discipline"] .discipline-option b {font-size:12.5px;line-height:1.35;white-space:normal;overflow:visible;text-overflow:clip;}
body.theme-v62 .content[data-route="discipline"] .discipline-option small {font-size:11px;white-space:normal;line-height:1.3;max-width:132px;}
/* Home remains intentionally low-decoration; decorative images never serve as text. */
body.theme-v62 .content[data-route="game"] .game-day-hero {min-height:172px;padding:16px;border:1px solid #2960a1;box-shadow:0 7px 19px rgba(6,43,86,.15);}
body.theme-v62 .content[data-route="game"] .game-day-hero::before {content:'';position:absolute;right:14px;top:12px;width:122px;height:125px;background:url('/images/theme-v57/team-refugos-premium.png') center/contain no-repeat;opacity:.13;pointer-events:none;}
body.theme-v62 .content[data-route="game"] .game-day-hero::after {content:'';position:absolute;right:0;bottom:0;width:44%;height:4px;border:0;border-radius:0;background:linear-gradient(90deg,#ba293d,#d9a14b);}
body.theme-v62 .content[data-route="game"] .game-day-status {font-size:11px;line-height:1.2;}
body.theme-v62 .content[data-route="game"] .game-day-date {width:max-content;max-width:72%;padding:10px 12px;margin-top:10px;border-radius:13px;background:rgba(4,20,45,.87);border:1px solid rgba(208,227,252,.24);text-shadow:0 1px 2px rgba(0,0,0,.7);}
body.theme-v62 .content[data-route="game"] .game-day-date strong {font-size:clamp(34px,10vw,42px);color:#fff;line-height:1.1;}
body.theme-v62 .content[data-route="game"] .game-day-date small {font-size:12px;color:#eef5ff;opacity:1;}
body.theme-v62 .content[data-route="game"] .game-day-date span {font-size:12.5px;color:#f5f9ff;opacity:1;overflow-wrap:anywhere;}
body.theme-v62 .content[data-route="game"] .game-day-countdown {font-size:11.5px;right:12px;bottom:14px;background:#09254d;border:1px solid #486b96;backdrop-filter:none;}
body.theme-v62 .content[data-route="court"] .court-payment-row :is(b,small) {line-height:1.4;}
@media(max-width:430px) {
 body.theme-v62 .bottom-nav .nav-item {min-height:60px;}
 body.theme-v62 .final-score .score-board {min-height:190px;padding:23px 12px 32px;}
 body.theme-v62 .final-score .score-team-emblem {width:clamp(36px,12vw,48px);height:clamp(36px,12vw,48px);}
 body.theme-v62 .final-score .score-team strong {font-size:clamp(34px,10vw,43px);}
 body.theme-v62 .content[data-route="discipline"] .discipline-option {grid-template-columns:28px minmax(0,1fr);grid-template-rows:auto auto;}
 body.theme-v62 .content[data-route="discipline"] .discipline-option small {grid-column:2;max-width:none;text-align:left;}
}
@media(max-width:365px) {
 body.theme-v62 .bottom-nav .nav-item .icon {width:37px;height:37px;}
 body.theme-v62 .bottom-nav .nav-item b {font-size:10px;}
 body.theme-v62 .content[data-route="game"] .game-day-date {max-width:70%;}
}

/* V79 — mobile-first refinements of confirmed visual issues. No legacy override sheet. */
body.theme-v62 .content[data-route="discipline"] .discipline-option,
body.theme-v62 .discipline-option-picker {min-width:0;max-width:100%;height:auto;}
body.theme-v62 .content[data-route="discipline"] .discipline-option b,
body.theme-v62 .discipline-option-picker b,
body.theme-v62 .discipline-option .discipline-option-label {
  white-space:normal!important;word-break:normal;overflow-wrap:anywhere;
  overflow:visible!important;text-overflow:clip!important;min-width:0;
}
body.theme-v62 .content[data-route="result"] .final-score .score-board {padding-bottom:42px;}
body.theme-v62 .content[data-route="result"] .final-score .score-team small {
  display:block;max-width:100%;text-align:center;line-height:1.35;position:relative;z-index:2;
}
body.theme-v62 .content[data-route="court"] .court-charge-card {content-visibility:auto;contain-intrinsic-size:auto 164px;}
body.theme-v62 .content[data-route="court"] .court-payment-row {min-width:0;overflow-wrap:anywhere;}
body.theme-v62 .content[data-route="result"] :is(.community-game-select,select) {width:100%;max-width:100%;min-width:0;overflow-wrap:anywhere;}
body.theme-v62 .v79-device-approvals {margin:12px 0;border:1px solid #b8d1ec;border-radius:18px;padding:16px;background:linear-gradient(160deg,#f9fcff,#edf6ff);box-shadow:0 5px 18px rgba(12,53,104,.07);}
body.theme-v62 .v79-device-approvals h2 {margin:6px 0 6px;font-size:clamp(18px,5vw,22px);color:#102b4a;}
body.theme-v62 .v79-device-approvals > p {margin:0 0 12px;color:#4a6278;line-height:1.45;font-size:13px;}
body.theme-v62 .v79-request-count {display:inline-grid;place-items:center;min-width:29px;min-height:29px;border-radius:50%;background:#dcecff;color:#17519c;font-size:15px;}
body.theme-v62 .v79-requests {display:grid;gap:9px;}
body.theme-v62 .v79-request {display:flex;flex-wrap:wrap;align-items:center;gap:10px;border-radius:13px;border:1px solid #d2e2ef;padding:12px;background:#fff;}
body.theme-v62 .v79-request-copy {flex:1 1 190px;min-width:0;display:grid;gap:4px;}
body.theme-v62 .v79-request-copy strong {font-size:15px;color:#173653;}
body.theme-v62 .v79-request-copy small {font-size:12px;line-height:1.35;color:#526b82;}
body.theme-v62 .v79-request-copy .v79-request-warning {color:#a33b29;font-weight:750;}
body.theme-v62 .v79-request-actions {display:flex;flex-wrap:wrap;gap:8px;width:100%;}
body.theme-v62 .v79-request-actions .btn {flex:1 1 124px;min-height:44px;white-space:normal;}
body.theme-v62 .v79-binding-pending {display:grid;gap:14px;border-color:#c8a258;background:linear-gradient(140deg,#fffcf2,#f5f9ff);padding:16px;}
body.theme-v62 .v79-binding-pending .presence-identity-title {align-items:start;}
body.theme-v62 .v79-binding-pending .presence-identity-title span {font-size:13px;line-height:1.5;}
body.theme-v62 .v79-binding-pending .btn {min-height:48px;}
@media(max-width:390px){
 body.theme-v62 .content[data-route="result"] .final-score .score-board {padding-bottom:45px;}
 body.theme-v62 .content[data-route="discipline"] .discipline-option {grid-template-columns:26px minmax(0,1fr);}
 body.theme-v62 .v79-device-approvals {padding:12px;}
}

/* V80 — audited icon hierarchy / profile controls. Keep one functional icon per action. */
body.theme-v62 .modal-card .player-profile-tabs > button.is-active::after,
body.theme-v62 .modal-card .player-profile-tabs > button[aria-selected="true"]::after {
  height:3px;bottom:4px;left:23%;right:23%;border-radius:3px;
  background:linear-gradient(90deg,#126ec4,#dbb25e,#b52745);box-shadow:none;
}
body.theme-v62 .content[data-route="players"] .player-card .player-meta-chip > img.icon,
body.theme-v62 .content[data-route="players"] .player-card .player-state > img.icon {
  display:inline-block;flex-shrink:0;width:18px;height:18px;object-fit:contain;
  padding:0;background:none;border:0;box-shadow:none;filter:none;
}
body.theme-v62 .content[data-route="players"] .player-card .row-actions .mini-btn img.icon {
  width:22px;height:22px;object-fit:contain;filter:none;
}
body.theme-v62 .modal-card .player-profile-tabs {scroll-margin-top:8px;}
body.theme-v62 .modal-card .profile-level-card > div {min-width:0;}
body.theme-v62 .modal-card .profile-level-card small {line-height:1.4;overflow-wrap:anywhere;}
/* The compact strip has an icon already drawn in the supplied PNG. */
body.theme-v62 .content[data-route="players"] .player-card .recent-form-token {
  background:transparent;border:0;box-shadow:none;border-radius:0;
}
body.theme-v62 .content[data-route="players"] .player-card .recent-form-token .form-icon {width:100%;height:100%;object-fit:contain;}
body.theme-v62 .content[data-route="players"] .player-card .player-state img.icon,
body.theme-v62 .content[data-route="players"] .player-card .row-actions img.icon {background:none;box-shadow:none;filter:none;}
/* Real team portrait frame must remain outside the photo; image and art in separate layers. */
body.theme-v62 .modal-card .profile-portrait-stage .v77-profile-frame {pointer-events:none;}
@media(max-width:390px) {
  body.theme-v62 .modal-card .profile-portrait-stage {--portrait-width:clamp(195px,59vw,221px);}
  body.theme-v62 .modal-card .profile-level-card > div {padding:10px 7px;}
}
@media(prefers-reduced-motion:reduce) {
  body.theme-v62 .modal-card .profile-portrait-stage,
  body.theme-v62 .modal-card .profile-portrait-stage .v77-profile-frame {animation:none!important;transition:none!important;}
}
/* V80: no truncation of a real voting option on 360px devices. */
body.theme-v62 .content[data-route="discipline"] .discipline-option > b {
  width:100%;max-width:100%;min-width:0;justify-self:stretch;
  white-space:normal!important;word-break:break-word!important;overflow-wrap:anywhere!important;
  overflow:visible!important;text-overflow:clip!important;line-height:1.4;
}
/* Nested result cards have variable text and must not push their section wider. */
body.theme-v62 .content[data-route="result"] .premium-community-list,
body.theme-v62 .content[data-route="result"] .premium-community-list .community-game-card,
body.theme-v62 .content[data-route="result"] .premium-community-list .community-game-card :is(header,.community-game-main,footer) {
  min-width:0;max-width:100%;box-sizing:border-box;
}
body.theme-v62 .content[data-route="result"] .premium-community-list .community-game-card :is(b,small,span,time) {
  white-space:normal;overflow-wrap:anywhere;
}

/* V81 — official achievements: compact, accessible, image-first without SVG/icon doubling. */
body.theme-v62 .modal-card .v81-achievement-overview {
  display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;
  padding:11px 13px;border-radius:15px;border:1px solid #cedfee;
  background:linear-gradient(110deg,#eaf5ff,#fffaf0 70%,#fff5f7);
  color:#173655;
}
body.theme-v62 .v81-achievement-number {display:grid;justify-items:center;padding-right:11px;border-right:1px solid #d6c5ac;}
body.theme-v62 .v81-achievement-number strong {font-size:clamp(24px,7vw,32px);line-height:1;font-variant-numeric:tabular-nums;color:#114f94;}
body.theme-v62 .v81-achievement-number strong small {font-size:14px;color:#78859a;}
body.theme-v62 .v81-achievement-number > span {font-size:9px;font-weight:900;letter-spacing:.045em;color:#526784;}
body.theme-v62 .v81-achievement-overview-text {min-width:0;display:grid;gap:4px;}
body.theme-v62 .v81-achievement-overview-text b {font-size:14px;color:#18395b;}
body.theme-v62 .v81-achievement-overview-text small {font-size:11.5px;line-height:1.4;color:#50647d;}
body.theme-v62 .v81-achievement-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:12px;}
body.theme-v62 .v81-achievement-grid .v81-achievement {position:relative;border-radius:14px;min-width:0;}
body.theme-v62 .v81-achievement-grid .v81-achievement.is-earned {border-color:#d4b36e;background:linear-gradient(145deg,#fffdf7,#fff8e8);}
body.theme-v62 .v81-achievement-grid .v81-achievement.is-locked {background:#f8fbff;}
body.theme-v62 .v81-achievement-grid .v81-achievement.is-unavailable {background:#f6f8fa;border-style:dashed;}
body.theme-v62 .v81-achievement-grid .v81-achievement summary {min-height:157px;padding:11px 8px 10px;gap:4px;align-content:start;}
body.theme-v62 .v81-achievement-grid .v81-achievement summary > .v81-achievement-trophy {
  width:76px;height:76px;object-fit:contain;margin:0 auto 2px;filter:drop-shadow(0 4px 5px rgba(40,55,85,.11));
}
body.theme-v62 .v81-achievement-grid .v81-achievement.is-unavailable .v81-achievement-trophy {filter:grayscale(1);opacity:.5;}
body.theme-v62 .v81-achievement-grid .v81-achievement.is-locked .v81-achievement-trophy {filter:grayscale(.75);opacity:.74;}
body.theme-v62 .v81-achievement-grid .v81-achievement summary b {color:#173757;font-size:12.5px;line-height:1.3;}
body.theme-v62 .v81-achievement-grid .v81-achievement summary > .v81-achievement-status,
body.theme-v62 .v81-achievement-grid .v81-achievement summary > .v81-achievement-progress {
  display:block;min-height:0;width:auto;height:auto;padding:0;border:0;border-radius:0;
  background:transparent;font-weight:800;font-size:10.5px;line-height:1.35;color:#64758a;
}
body.theme-v62 .v81-achievement-grid .v81-achievement.is-earned .v81-achievement-status {color:#8b5814;}
body.theme-v62 .v81-achievement-grid .v81-achievement.is-unavailable .v81-achievement-status {color:#737984;}
body.theme-v62 .v81-achievement-grid .v81-achievement .v81-progress-track {display:block;width:85%;height:4px;background:#dfe8f2;border-radius:3px;margin-top:3px;overflow:hidden;}
body.theme-v62 .v81-achievement-grid .v81-progress-track i {display:block;height:100%;background:linear-gradient(90deg,#1579d3,#d8a74d);border-radius:3px;}
body.theme-v62 .v81-achievement-grid .v81-achievement > small {font-size:11.5px;line-height:1.45;overflow-wrap:anywhere;}
body.theme-v62 .v81-achievement-grid .v81-achievement > small em {font-style:normal;color:#8c681d;font-weight:800;}
@media(max-width:360px) {
  body.theme-v62 .v81-achievement-grid {gap:7px;}
  body.theme-v62 .v81-achievement-grid .v81-achievement summary {padding-inline:5px;}
  body.theme-v62 .v81-achievement-grid .v81-achievement summary b {font-size:12px;}
}
@media(prefers-reduced-motion:reduce) {
  body.theme-v62 .v81-achievement-grid *,body.theme-v62 .v81-craque-portraits * {animation:none;transition:none;}
}

@media(min-width:761px) {body.theme-v62 .craque-home-card.winner.tied {grid-template-columns:108px minmax(0,1fr) auto !important;}body.theme-v62 .craque-home-card.winner.tied .craque-home-winner {width:108px;}}

/* V82 · Central Rank: estilo encapsulado, mantém o tema claro e os PNGs oficiais. */
body.theme-v62 .bottom-nav .nav-item[data-route="rank"] img.icon { object-fit:contain; }
body.theme-v62 .content[data-route="rank"] { overflow-x:clip; }
body.theme-v62 .v82-rank-heading { display:flex;align-items:center;justify-content:space-between;gap:12px; }
body.theme-v62 .v82-rank-heading-icon { width:58px;height:58px;flex-shrink:0;display:grid;place-items:center;background:linear-gradient(130deg,#f1f7ff,#fffaf0);border:1px solid #cbdbed;border-radius:16px; }
body.theme-v62 .v82-rank-heading-icon .icon { width:42px;height:42px;object-fit:contain; }
body.theme-v62 .v82-rank-summary { display:flex;flex-wrap:wrap;gap:7px;margin:8px 0 13px; }
body.theme-v62 .v82-rank-summary > span { display:inline-flex;align-items:center;gap:6px;padding:7px 10px;font-size:11px;line-height:1.3;font-weight:750;color:#2c4a70;background:#fff;border:1px solid #dce6ef;border-radius:11px; }
body.theme-v62 .v82-rank-summary .icon { width:17px;height:17px; }
body.theme-v62 .v82-rank-tabs { position:relative;display:flex;align-items:stretch;gap:7px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;scroll-padding-inline:9px;-webkit-overflow-scrolling:touch;padding:6px 3px 11px;margin-bottom:8px; }
body.theme-v62 .v82-rank-tab { flex:0 0 auto;min-width:80px;min-height:59px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;scroll-snap-align:center;border:1px solid #d6e4f0;border-radius:13px;padding:6px 10px;color:#32506b;background:#fff;font-weight:850;box-shadow:0 2px 7px rgba(25,61,93,.05);cursor:pointer; }
body.theme-v62 .v82-rank-tab > .icon { display:block;width:25px;height:25px;object-fit:contain; }
body.theme-v62 .v82-rank-tab span {font-size:11px;white-space:nowrap;letter-spacing:-.015em;}
body.theme-v62 .v82-rank-tab.active {color:#0959ac;background:linear-gradient(180deg,#edf5ff,#fff);border-color:#a7cbee;box-shadow:inset 0 -3px 0 #2477ce,0 2px 8px rgba(27,104,194,.08);}
body.theme-v62 .v82-rank-tab:focus-visible {outline:2px solid #126fc8;outline-offset:2px;}
body.theme-v62 .v82-rank-panel { min-height:155px;padding-bottom:22px; }
body.theme-v62 .v82-rank-info {display:flex;align-items:center;gap:10px;margin:0 0 12px;padding:12px;background:linear-gradient(112deg,#f8fbff,#fff 62%,#fff9f0);border:1px solid #dce5ee;border-radius:15px;}
body.theme-v62 .v82-rank-info > span {flex:0 0 52px;width:52px;height:52px;display:grid;place-items:center;border:1px solid #e2d4af;border-radius:13px;background:#fff;}
body.theme-v62 .v82-rank-info > span > .icon {width:38px;height:38px;object-fit:contain;}
body.theme-v62 .v82-rank-info div {min-width:0;}
body.theme-v62 .v82-rank-info h2 {margin:0 0 4px;color:#15375e;font-size:clamp(16px,3.9vw,20px);line-height:1.2;letter-spacing:-.025em;}
body.theme-v62 .v82-rank-info p {margin:0;font-size:12px;line-height:1.48;color:#526b83;}
body.theme-v62 .v82-rank-list {display:grid;gap:8px;}
body.theme-v62 .v82-rank-player,body.theme-v62 .v82-team-attack {min-width:0;min-height:74px;display:flex;align-items:center;gap:9px;width:100%;text-align:left;padding:9px 10px;border:1px solid #dae5f0;border-left:3px solid #397dc3;background:linear-gradient(105deg,#fff,#f9fcff);box-shadow:0 3px 9px rgba(26,63,94,.045);border-radius:14px;color:#153254;}
body.theme-v62 .v82-rank-player {cursor:pointer;}
body.theme-v62 .v82-rank-player:focus-visible {outline:2px solid #1975c8;outline-offset:2px;}
body.theme-v62 .v82-rank-position {flex:0 0 30px;font-size:15px;letter-spacing:-.035em;color:#a97d26;white-space:nowrap;}
body.theme-v62 .v82-rank-player > .avatar,body.theme-v62 .v82-rank-player > .avatar-wrap,body.theme-v62 .v82-rank-player > .profile-avatar {flex-shrink:0;}
body.theme-v62 .v82-rank-player-info {flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:4px;}
body.theme-v62 .v82-rank-player-info b {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:1.2;}
body.theme-v62 .v82-rank-player-info small {font-size:10px;line-height:1.4;color:#637c92;}
body.theme-v62 .v82-rank-value { flex:0 0 auto;display:flex;flex-direction:column;align-items:end;gap:2px;text-align:right;min-width:48px;color:#125b9f;}
body.theme-v62 .v82-rank-value b {font-size:18px;line-height:1.1;font-variant-numeric:tabular-nums;}
body.theme-v62 .v82-rank-value small,body.theme-v62 .v82-rank-value em {font-size:9px;color:#627a91;line-height:1.25;white-space:nowrap;font-style:normal;}
body.theme-v62 .v82-team-attack.team-refugos {border-left-color:#b62236;}
body.theme-v62 .v82-team-attack > span:not(.v82-rank-value) {display:flex;flex:1;min-width:0;flex-direction:column;gap:3px;}
body.theme-v62 .v82-team-attack > span:not(.v82-rank-value) b {font-size:13px;}
body.theme-v62 .v82-team-attack > span:not(.v82-rank-value) small {font-size:11px;line-height:1.35;color:#637c92;}
body.theme-v62 .v82-team-attack .v82-attack-emblem {width:46px;height:46px;object-fit:contain;flex-shrink:0;}
body.theme-v62 .v82-rank-fineprint {font-size:11px;line-height:1.55;color:#5e7285;margin:0 0 11px;padding:8px 10px;background:#f3f7fa;border:1px solid #e4ebf2;border-radius:11px;}
body.theme-v62 .v82-rank-warning {display:flex;align-items:start;gap:10px;margin:13px 0 10px;padding:12px;border:1px solid #e7d29f;border-radius:12px;background:#fffaf1;color:#715b2a;font-size:12px;line-height:1.5;}
body.theme-v62 .v82-rank-warning > .icon {width:24px;height:24px;flex-shrink:0;}
body.theme-v62 .v82-rank-warning b {display:block;margin-bottom:3px;}
body.theme-v62 .v82-rank-loading {padding:24px;text-align:center;font-size:13px;color:#49657c;}
body.theme-v62 .v82-rank-loading .icon {width:24px;height:24px;vertical-align:middle;}
body.theme-v62 .v82-result-rank-link {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:9px;padding:11px 12px;margin:6px 0 14px;background:#f3f8ff;border:1px solid #dbe7f5;border-radius:13px;}
body.theme-v62 .v82-result-rank-link > span {display:inline-flex;align-items:center;gap:6px;color:#2b4a6b;font-size:12px;font-weight:750;}
body.theme-v62 .v82-result-rank-link .icon {width:19px;height:19px;}
@media(max-width:390px){
 body.theme-v62 .v82-rank-heading-icon {width:49px;height:49px;}
 body.theme-v62 .v82-rank-tab {min-width:78px;min-height:56px;padding:5px 9px;}
 body.theme-v62 .v82-rank-player,body.theme-v62 .v82-team-attack {gap:7px;padding:8px 7px;}
 body.theme-v62 .v82-rank-player-info b {font-size:12px;}
 body.theme-v62 .v82-rank-position {flex-basis:25px;font-size:13px;}
 body.theme-v62 .v82-rank-value b {font-size:16px;}
 body.theme-v62 .v82-rank-value small {font-size:9px;}
}
@media(prefers-reduced-motion:reduce){body.theme-v62 .v82-rank-tabs{scroll-behavior:auto;}body.theme-v62 .v82-rank-tab{transition:none;}}

/* V82 Home: the premium PNG is the sole icon layer; no invisible legacy SVG/PNG child. */
@media (min-width:521px) {
  body.theme-v62 .home-hero-premium .hero-copy { max-width:none;box-sizing:border-box;width:100%;padding:14px 14% 11px; }
  body.theme-v62 .home-hero-premium h1 { max-width:100%; }
}

/* V85 · Estatísticas oficiais: desenho compacto, sem sobreposição, mobile-first. */
#matchResultForm .v85-goal-editor{min-width:0;margin:6px 0 12px;border:1px solid #c5d9ef;border-radius:16px;background:#f8fbff;overflow:hidden}
#matchResultForm .v85-goal-editor>summary{display:flex;align-items:center;gap:10px;min-height:52px;padding:11px 14px;cursor:pointer;color:#0d3155;font-weight:800}
#matchResultForm .v85-goal-editor>summary .icon{flex:none}
#matchResultForm .v85-goal-editor>summary span{display:grid;gap:2px;flex:1;min-width:0}
#matchResultForm .v85-goal-editor>summary small{font-size:12px;color:#4c647d;font-weight:500}
#matchResultForm .v85-goal-note{margin:0;padding:2px 14px 12px;font-size:12px;line-height:1.5;color:#415b76}
#matchResultForm #goalEditorRows{display:grid;gap:10px;padding:0 10px 12px;min-width:0}
#matchResultForm .v85-goal-team{min-width:0;border:1px solid #d8e4f0;border-radius:13px;background:#fff;overflow:hidden}
#matchResultForm .v85-goal-team-head{display:flex;align-items:center;gap:8px;min-height:45px;padding:7px 10px;border-bottom:1px solid #e7edf5;color:#112c50}
#matchResultForm .v85-goal-team-head strong{flex:1;min-width:0;overflow-wrap:anywhere}
#matchResultForm .v85-goal-team-head>span{flex:none;font-size:12px;color:#4b657c}
#matchResultForm .v85-goal-emblem{width:27px;height:27px;object-fit:contain;flex:none}
#matchResultForm .v85-goal-list{display:grid;gap:8px;padding:9px;max-height:42vh;overflow-y:auto;overscroll-behavior:contain}
#matchResultForm .v85-goal-row{padding:9px;border:1px solid #dde8f5;border-radius:11px;background:#f7faff;min-width:0}
#matchResultForm .v85-goal-row-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;font-size:13px}
#matchResultForm .v85-goal-row-heading>label{display:flex;align-items:center;gap:6px;font-size:12px;color:#425a74}
#matchResultForm .v85-goal-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
#matchResultForm .v85-goal-field{display:grid;gap:5px;min-width:0;color:#25425f;font-weight:600;font-size:12px}
#matchResultForm .v85-goal-row select{max-width:100%;width:100%;min-width:0;min-height:44px;padding:8px;border:1px solid #c6d8e9;border-radius:9px;color:#123459;background:#fff;font-size:13px;text-overflow:ellipsis}
#matchResultForm .v85-goal-empty{margin:12px;font-size:13px;color:#61758b}
@media(max-width:420px){#matchResultForm .v85-goal-fields{grid-template-columns:minmax(0,1fr)}#matchResultForm .v85-goal-row-heading>label{max-width:63%}}
@media(prefers-reduced-motion:reduce){#matchResultForm .v85-goal-editor *{animation:none!important;transition:none!important}}
.v85-official-goals{border:1px solid #cddff0;border-radius:13px;background:#f8fbff;margin:12px 0;min-width:0}
.v85-official-goals summary{min-height:44px;display:flex;align-items:center;gap:8px;padding:9px 12px;cursor:pointer;font-weight:800;color:#173c68}
.v85-official-goals summary small{font-size:12px;font-weight:500;margin-left:auto;color:#536b82}
.v85-official-goal-list{display:grid;gap:1px;max-height:320px;overflow-y:auto;overscroll-behavior:contain}
.v85-official-goal-list>div{display:flex;gap:10px;justify-content:space-between;align-items:center;padding:9px 12px;border-top:1px solid #e2eaf3;font-size:12px;min-width:0}
.v85-official-goal-list>div b{color:#183858}.v85-official-goal-list>div span{text-align:right;overflow-wrap:anywhere;color:#445e76}
@media(max-width:420px){.v85-official-goal-list>div{display:grid;gap:3px}.v85-official-goal-list>div span{text-align:left}}


/* V86 — ajustes de causa raiz nas abas Início e Rank. Sem camadas de ícones extras. */
body.theme-v62 .content[data-route="rank"],
body.theme-v62 .content[data-route="home"] {min-width:0;overflow-wrap:normal;}
body.theme-v62 .v82-rank-player {
  display:flex; flex-flow:row nowrap; align-items:center;
  min-height:68px; height:auto; gap:9px; width:100%;
  padding:8px 10px; overflow:hidden; text-align:left;
}
body.theme-v62 .v82-rank-player > .avatar.medium,
body.theme-v62 .v82-rank-player > .avatar {
  width:46px; height:46px; flex:0 0 46px; border-radius:13px;
  align-self:center; margin:0;
}
body.theme-v62 .v82-rank-player .v82-rank-position {min-width:24px;flex:0 0 24px;align-self:center;font-size:13px;}
body.theme-v62 .v82-rank-player .v82-rank-player-info {
  display:flex;flex-direction:column;min-width:0;flex:1 1 0;gap:3px;
  align-self:center;
}
body.theme-v62 .v82-rank-player .v82-rank-player-info b {
  display:block;font-size:13.5px;line-height:1.25;min-width:0;
  overflow-wrap:anywhere;word-break:normal;white-space:normal;
}
body.theme-v62 .v82-rank-player .v82-rank-player-info small {
  font-size:11px;line-height:1.32;overflow-wrap:break-word;white-space:normal;
}
body.theme-v62 .v82-rank-player .v82-rank-value {min-width:46px;max-width:72px;flex:0 0 auto;align-self:center;}
body.theme-v62 .v82-rank-player .v82-rank-value b {font-size:17px;line-height:1.1;}
body.theme-v62 .v82-rank-player .v82-rank-value small,
body.theme-v62 .v82-rank-player .v82-rank-value em {font-size:10px;line-height:1.24;white-space:normal;}
body.theme-v62 .v82-rank-tabs {max-width:100%;padding:5px 2px 9px;gap:7px;}
body.theme-v62 .v82-rank-tab {min-height:64px;min-width:83px;scroll-snap-align:start;touch-action:pan-x;}
body.theme-v62 .v82-rank-tab span {font-size:11.5px;line-height:1.15;}
body.theme-v62 .v82-rank-tab:focus-visible {outline:3px solid #0b6ac0;outline-offset:1px;}
body.theme-v62 .v82-rank-heading {min-width:0;}
body.theme-v62 .v82-rank-heading > div {min-width:0;}
body.theme-v62 .v82-rank-heading p {overflow-wrap:break-word;}
body.theme-v62 .v82-rank-summary {gap:7px;min-width:0;}
body.theme-v62 .v82-rank-summary > span {font-size:11.5px;line-height:1.4;min-height:37px;min-width:0;max-width:100%;}
body.theme-v62 .v82-rank-info {align-items:center;min-width:0;}
body.theme-v62 .v82-rank-info > div {min-width:0;}
body.theme-v62 .v82-rank-fineprint {font-size:12px;line-height:1.45;}
body.theme-v62 .v82-rank-loading {display:flex;align-items:center;justify-content:center;gap:9px;min-height:90px;}
body.theme-v62 .v82-rank-warning {font-size:12.5px;line-height:1.48;overflow-wrap:break-word;}
body.theme-v62 .v82-rank-panel > .btn {min-height:44px;}
body.theme-v62 .home-hero-premium .hero-copy {box-sizing:border-box;min-width:0;}
body.theme-v62 .home-hero-premium .hero-copy h1 {max-width:100%;overflow-wrap:normal;word-break:keep-all;}
body.theme-v62 .home-dashboard .home-secondary-grid > .premium-action {min-width:0;min-height:77px;}
body.theme-v62 .home-dashboard .home-secondary-grid .action-copy {min-width:0;flex:1 1 auto;}
body.theme-v62 .home-dashboard .home-secondary-grid .action-copy small {line-height:1.4;overflow-wrap:break-word;}
body.theme-v62 .home-dashboard .home-secondary-grid .action-metric {flex:0 0 auto;max-width:38%;}
body.theme-v62 .home-dashboard .home-secondary-grid .action-metric small {white-space:normal;overflow-wrap:break-word;text-align:right;}
body.theme-v62 .er-home-rank-group .home-podium-list,
body.theme-v62 .er-home-history-group .home-history-list {min-width:0;}
body.theme-v62 .er-home-rank-group .empty-state,
body.theme-v62 .er-home-history-group .empty-state {padding:17px 12px;min-height:105px;}
@media (max-width:420px){
  body.theme-v62 .v82-rank-player {gap:6px;padding:8px 7px;}
  body.theme-v62 .v82-rank-player > .avatar.medium,
  body.theme-v62 .v82-rank-player > .avatar {width:40px;height:40px;flex-basis:40px;}
  body.theme-v62 .v82-rank-player .v82-rank-position {flex-basis:22px;min-width:22px;}
  body.theme-v62 .v82-rank-player .v82-rank-player-info b {font-size:13px;}
  body.theme-v62 .v82-rank-player .v82-rank-value {min-width:42px;max-width:66px;}
  body.theme-v62 .v82-rank-tab {min-height:61px;min-width:78px;}
  body.theme-v62 .content[data-route="rank"] {padding-bottom:calc(106px + env(safe-area-inset-bottom,0px));}
}
@media (min-width:521px){
  body.theme-v62 .home-dashboard .home-secondary-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
  body.theme-v62 .home-dashboard .home-secondary-grid > :last-child {grid-column:1/-1;}
  body.theme-v62 .home-hero-premium .hero-copy {padding-inline:clamp(30px,7vw,82px);}
  body.theme-v62 .home-hero-premium h1 {max-width:100%;width:auto;}
}
@media (max-width:520px){
  body.theme-v62 .home-dashboard .home-secondary-grid {display:grid;grid-template-columns:minmax(0,1fr);gap:9px;}
  body.theme-v62 .home-dashboard .home-secondary-grid > .premium-action {width:100%;}
  body.theme-v62 .home-dashboard .home-secondary-grid .action-metric {max-width:30%;}
  body.theme-v62 .v82-rank-heading-icon {width:48px;height:48px;flex:0 0 48px;}
  body.theme-v62 .v82-rank-heading-icon .icon {width:38px;height:38px;}
}
@media (prefers-reduced-motion:reduce){
  body.theme-v62 .v82-rank-player {transition:none!important;animation:none!important;}
}

/* V90 · Quadra sem valores fora da margem. Mobile com valor em faixa separada. */
body.theme-v62 .home-dashboard .home-secondary-grid .court-home-action {
  box-sizing:border-box;min-width:0;max-width:100%;width:100%;overflow:hidden;
  grid-template-columns:46px minmax(0,1fr) minmax(96px,max-content);
  gap:10px;align-items:center;padding:12px 13px !important;
}
body.theme-v62 .home-dashboard .court-home-action > .action-copy {
  min-width:0;max-width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:3px;
  overflow:hidden;
}
body.theme-v62 .home-dashboard .court-home-action > .action-copy :is(small,em) {
  display:block;min-width:0;max-width:100%;width:100%;white-space:normal;
  overflow-wrap:break-word;word-break:normal;hyphens:none;text-overflow:clip;
  line-height:1.36;-webkit-line-clamp:unset;
}
body.theme-v62 .home-dashboard .court-home-action > .court-home-metric {
  min-width:0;max-width:150px;width:auto;box-sizing:border-box;
  display:flex;flex-direction:column;align-items:flex-end;gap:4px;
  text-align:right;overflow:hidden;
}
body.theme-v62 .home-dashboard .court-home-action .court-home-metric strong {
  max-width:100%;display:block;font-size:clamp(15px,3.7vw,20px);line-height:1.16;
  letter-spacing:-.025em;white-space:normal;overflow-wrap:break-word;word-break:normal;
  font-variant-numeric:tabular-nums;
}
body.theme-v62 .home-dashboard .court-home-action .court-home-metric small {
  display:block;max-width:100%;white-space:normal;font-size:10px;line-height:1.25;
  text-align:right;overflow-wrap:break-word;word-break:normal;
}
@media (max-width:580px){
  body.theme-v62 .home-dashboard .home-secondary-grid .court-home-action {
    display:grid !important;grid-template-columns:44px minmax(0,1fr) !important;
    grid-template-rows:auto auto !important;gap:8px 10px;min-height:98px;
  }
  body.theme-v62 .home-dashboard .court-home-action > .action-icon{grid-column:1;grid-row:1;align-self:center}
  body.theme-v62 .home-dashboard .court-home-action > .action-copy{grid-column:2;grid-row:1}
  body.theme-v62 .home-dashboard .court-home-action > .court-home-metric {
    grid-column:2;grid-row:2;display:flex;align-items:flex-start;max-width:100%;
    width:100%;text-align:left;gap:0;border-top:1px solid #dde8f4;padding-top:8px;
  }
  body.theme-v62 .home-dashboard .court-home-action .court-home-metric strong {
    font-size:clamp(19px,5.2vw,24px);white-space:nowrap;
  }
  body.theme-v62 .home-dashboard .court-home-action .court-home-metric small{text-align:left;font-size:10px}
}

/* V90 · Craque: identidade existente, conteúdo bem separado e CTAs tocáveis. */
body.theme-v62 .craque-home-card.v90-craque-card {
  box-sizing:border-box;min-width:0;width:100%;max-width:100%;isolation:isolate;
  display:grid !important;grid-template-columns:86px minmax(0,1fr) !important;
  grid-template-rows:auto auto !important;gap:7px 12px;
  align-items:center;min-height:154px;
  padding:13px 14px 21px !important;margin:12px 0 !important;
  border-radius:18px;box-shadow:0 7px 20px rgba(45,65,89,.085);
}
body.theme-v62 .craque-home-card.v90-craque-card > .craque-home-icon,
body.theme-v62 .craque-home-card.v90-craque-card > .craque-home-winner {
  grid-column:1;grid-row:1 / span 2;align-self:center;
  width:86px;height:92px;max-width:100%;min-width:0;
}
body.theme-v62 .craque-home-card.v90-craque-card > .v90-craque-copy {
  grid-column:2;grid-row:1;align-self:center;min-width:0;padding:0;
  display:flex;flex-direction:column;align-items:flex-start;gap:4px;
}
body.theme-v62 .craque-home-card.v90-craque-card h2 {
  margin:0;font-size:clamp(16px,4.4vw,21px);line-height:1.18;
  overflow-wrap:break-word;word-break:normal;
}
body.theme-v62 .craque-home-card.v90-craque-card p {
  margin:0;max-width:100%;font-size:12px;line-height:1.4;overflow-wrap:break-word;
}
body.theme-v62 .craque-home-card.v90-craque-card > .v90-craque-actions {
  grid-column:2;grid-row:2;min-width:0;display:flex;flex-wrap:wrap;gap:7px;
  align-items:center;justify-content:flex-start;
}
body.theme-v62 .v90-craque-actions > .btn,body.theme-v62 .craque-vote-box .v90-share-btn {
  min-height:44px;min-width:0;max-width:100%;box-sizing:border-box;
  display:inline-flex;gap:6px;align-items:center;justify-content:center;
  padding:9px 12px;font-size:12px;line-height:1.25;
  border-radius:10px;white-space:normal;text-align:center;
}
body.theme-v62 .v90-craque-actions > .btn.primary {
  background:#1169bf;color:#fff;border-color:#1169bf;box-shadow:0 3px 9px rgba(17,105,191,.14);
}
body.theme-v62 .v90-craque-actions > .v90-share-btn,
body.theme-v62 .craque-vote-box .v90-share-btn {
  background:#f2faf5;border-color:#bcdcc8;color:#17633c;
}
body.theme-v62 .v90-craque-deadline {
  box-sizing:border-box;max-width:100%;min-width:0;display:flex;align-items:center;
  flex-wrap:wrap;gap:4px 6px;color:#7b581c;font-weight:850;font-size:11px;
  line-height:1.3;background:#fffbef;border:1px solid #e9daba;
  border-radius:9px;padding:6px 8px;
}
body.theme-v62 .v90-craque-deadline .icon {width:16px;height:16px;flex:none}
body.theme-v62 .v90-craque-deadline small {font-size:10px;letter-spacing:0;color:#76684f}
body.theme-v62 .craque-vote-box > header .v90-craque-deadline {margin-top:10px}
body.theme-v62 .craque-vote-box > header .v90-share-btn {margin-top:10px;width:100%}
body.theme-v62 .craque-vote-box .craque-candidates {min-width:0}
@media(max-width:580px){
  body.theme-v62 .craque-home-card.v90-craque-card {grid-template-columns:68px minmax(0,1fr) !important;gap:7px 9px;padding:11px 11px 19px !important}
  body.theme-v62 .craque-home-card.v90-craque-card > .craque-home-icon,
  body.theme-v62 .craque-home-card.v90-craque-card > .craque-home-winner {width:68px;height:80px}
  body.theme-v62 .craque-home-card.v90-craque-card > .v90-craque-actions {grid-column:1 / -1;grid-row:3;width:100%}
  body.theme-v62 .craque-home-card.v90-craque-card > .v90-craque-actions > .btn {flex:1 1 135px}
  body.theme-v62 .craque-home-card.v90-craque-card > .v90-craque-copy {grid-column:2;grid-row:1 / span 2}
}
@media(min-width:761px){
  body.theme-v62 .craque-home-card.v90-craque-card {grid-template-columns:100px minmax(0,1fr) minmax(172px,max-content) !important;grid-template-rows:auto !important}
  body.theme-v62 .craque-home-card.v90-craque-card > .craque-home-icon,
  body.theme-v62 .craque-home-card.v90-craque-card > .craque-home-winner {grid-column:1;grid-row:1;width:100px;height:106px}
  body.theme-v62 .craque-home-card.v90-craque-card > .v90-craque-copy {grid-column:2;grid-row:1}
  body.theme-v62 .craque-home-card.v90-craque-card > .v90-craque-actions {grid-column:3;grid-row:1;max-width:230px;flex-direction:column;align-items:stretch}
  body.theme-v62 .craque-home-card.v90-craque-card > .v90-craque-actions > .btn {width:100%}
}
@media(prefers-reduced-motion:reduce){body.theme-v62 .v90-craque-card *{animation:none!important;transition:none!important}}
/* V90 · Valores internos da Quadra — manter cifras completas e sem cortar cards. */
body.theme-v62 .court-summary-grid{min-width:0}
body.theme-v62 .court-summary-grid > div{box-sizing:border-box;min-width:0;max-width:100%;overflow:hidden}
body.theme-v62 .court-summary-grid b{display:block;max-width:100%;font-variant-numeric:tabular-nums;line-height:1.16;font-size:clamp(16px,4.4vw,24px);white-space:normal;overflow-wrap:break-word;word-break:normal}
body.theme-v62 .court-summary-grid :is(small,span){display:block;min-width:0;max-width:100%;overflow-wrap:break-word;word-break:normal}
@media(max-width:390px){body.theme-v62 .court-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.theme-v62 .court-summary-grid > div{padding:11px 9px}body.theme-v62 .court-summary-grid b{font-size:clamp(16px,4.3vw,20px)}}

/* V91 — microacabamento transversal: hierarquia sem comprimir informação.
   Escopo estrito às telas atuais: Início, Jogadores, Presença, Sorteio,
   Placares/Histórico, Rank, Quadra, Disciplina, Configurações e modais. */
body.theme-v62 .content[data-route] > :is(.page-heading,.panel,.settings-section,.result-view,.court-charge-list,.court-summary-grid,.discipline-summary-grid,.presence-round-card-premium,.v82-rank-panel),
body.theme-v62 .content[data-route] :is(.court-charge-card,.court-charge-main,.court-charge-meta,.court-payment-row,.history-row,.result-tab,.v82-rank-player,.player-card,.discipline-case-card) {
  min-width:0;max-width:100%;box-sizing:border-box;
}
body.theme-v62 .content[data-route] :is(.page-heading,.section-head,.court-charge-head,.result-section-head) > div:first-child {
  min-width:0;max-width:100%;
}
body.theme-v62 .content[data-route] :is(.page-heading,.section-head) :is(h1,h2,p),
body.theme-v62 .content[data-route] :is(.court-charge-card,.discipline-case-card,.settings-section) :is(h2,h3,p,small) {
  overflow-wrap:break-word;word-break:normal;
}
body.theme-v62 .content[data-route] :is(.court-charge-meta,.court-summary-grid,.discipline-summary-grid) > * {
  min-width:0;box-sizing:border-box;
}
body.theme-v62 .court-charge-meta b,body.theme-v62 .court-summary-grid b {
  font-variant-numeric:tabular-nums;max-width:100%;overflow-wrap:break-word;word-break:normal;
}
body.theme-v62 .content[data-route] :is(.settings-section,.presence-round-card-premium,.court-charge-card) :is(.btn,select,input,textarea) {
  box-sizing:border-box;max-width:100%;
}
body.theme-v62 #modalBody,body.theme-v62 #modalBody :is(.form-grid,.score-form,.field,.notice,.craque-vote-box,.craque-candidates) {
  min-width:0;max-width:100%;box-sizing:border-box;
}
body.theme-v62 #modalBody :is(input:not([type='checkbox']):not([type='radio']),select,textarea) {
  min-width:0;max-width:100%;box-sizing:border-box;
}
body.theme-v62 .craque-vote-box .craque-candidate {
  min-width:0;max-width:100%;box-sizing:border-box;min-height:68px;
  grid-template-columns:50px minmax(0,1fr) minmax(42px,max-content);
  align-items:center;gap:9px;
}
body.theme-v62 .craque-vote-box .craque-candidate-copy,
body.theme-v62 .craque-vote-box .craque-candidate-votes {min-width:0;max-width:100%;}
body.theme-v62 .craque-vote-box .craque-candidate-copy b {
  white-space:normal;overflow-wrap:break-word;line-height:1.3;
}
body.theme-v62 .craque-vote-box .craque-candidate.v91-craque-self {
  opacity:1;cursor:not-allowed;border-color:#ced8e3;
  background:linear-gradient(110deg,#f4f7fb,#ffffff);box-shadow:none;
}
body.theme-v62 .craque-vote-box .craque-candidate.v91-craque-self::before {background:#8392a6;}
body.theme-v62 .craque-vote-box .craque-candidate.v91-craque-self .craque-candidate-photo {
  filter:saturate(.8);opacity:.82;
}
body.theme-v62 .craque-vote-box .v91-self-label {
  display:block;margin-top:5px;padding:4px 6px;max-width:max-content;
  font-size:10.5px;font-weight:800;line-height:1.34;color:#465873;
  background:#e6edf5;border:1px solid #cbd8e5;border-radius:7px;
  overflow-wrap:break-word;
}
body.theme-v62 .craque-vote-box .craque-box-note {
  min-width:0;padding:10px 12px;line-height:1.5;overflow-wrap:break-word;
}
body.theme-v62 .craque-home-card.v90-craque-card .v90-craque-copy small {
  letter-spacing:.025em;line-height:1.35;
}
body.theme-v62 .craque-home-card.v90-craque-card > .v90-craque-actions > .btn,
body.theme-v62 .craque-vote-box .v90-share-btn {
  min-height:44px;max-width:100%;white-space:normal;overflow-wrap:break-word;
}
@media(max-width:430px){
  body.theme-v62 .content[data-route] :is(.page-heading,.panel,.settings-section,.result-view) {min-width:0;}
  body.theme-v62 .content[data-route='court'] .court-charge-head {flex-wrap:wrap;row-gap:9px;}
  body.theme-v62 .content[data-route='court'] .court-charge-head > .court-charge-main {flex:1 1 215px;min-width:0;}
  body.theme-v62 .content[data-route='court'] .court-charge-meta {grid-template-columns:repeat(2,minmax(0,1fr));}
  body.theme-v62 .content[data-route='court'] .court-charge-meta > span:last-child {grid-column:1 / -1;}
  body.theme-v62 #modalBody .score-form {grid-template-columns:repeat(2,minmax(0,1fr));}
  body.theme-v62 .craque-vote-box .craque-candidate {grid-template-columns:44px minmax(0,1fr) 43px;gap:7px;padding:9px 8px;}
  body.theme-v62 .craque-vote-box .craque-candidate-photo {min-width:0;max-width:44px;}
  body.theme-v62 .craque-vote-box .craque-candidate-copy b {font-size:12.5px;}
  body.theme-v62 .craque-vote-box .craque-candidate-copy small {font-size:10.5px;}
  body.theme-v62 .craque-vote-box .v91-self-label {font-size:10px;}
  body.theme-v62 .craque-home-card.v90-craque-card > .v90-craque-actions > .btn {flex:1 1 140px;}
}
@media(max-width:360px){
  body.theme-v62 .court-summary-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
  body.theme-v62 .court-summary-grid b {font-size:clamp(15px,4.5vw,19px);}
  body.theme-v62 .v82-rank-player .v82-rank-value {max-width:64px;}
  body.theme-v62 .craque-home-card.v90-craque-card {grid-template-columns:60px minmax(0,1fr)!important;}
  body.theme-v62 .craque-home-card.v90-craque-card > :is(.craque-home-icon,.craque-home-winner) {width:60px;height:73px;}
}
@media(prefers-reduced-motion:reduce){
  body.theme-v62 .craque-vote-box .craque-candidate {transition:none!important;animation:none!important;}
}


/* V92: foco na ação útil, ritmo vertical e leitura, sem nova folha concorrente. */
body.theme-v62 .content[data-route="home"] .v92-home-craque-priority {
  min-width:0;max-width:100%;margin:10px 0 8px;
}
body.theme-v62 .content[data-route="home"] .v92-home-craque-priority .v90-craque-card {
  margin:0 !important;max-width:100%;border-color:#e3c67a;
  box-shadow:0 6px 18px rgba(34,64,91,.08);
}
body.theme-v62 .content[data-route="home"] .v92-home-craque-priority .v90-craque-card.open h2 {
  color:#17375d;
}
body.theme-v62 .content[data-route="home"] .v92-home-craque-priority .v90-craque-actions .btn.primary {
  font-weight:850;
}
/* Indicador legível da rolagem lateral; uma métrica útil, sem números duplicados. */
body.theme-v62 .v92-rank-categories-head {
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;
  column-gap:14px;row-gap:5px;margin:0 0 5px;color:#456482;font-size:11px;
}
body.theme-v62 .v92-rank-categories-head > span {
  display:inline-flex;align-items:center;gap:6px;font-weight:850;min-width:0;
}
body.theme-v62 .v92-rank-categories-head .icon {width:17px;height:17px;flex:none;}
body.theme-v62 .v92-rank-categories-head small {font-size:11px;line-height:1.3;color:#446884;}
body.theme-v62 .v92-rank-categories-head small span {font-weight:900;color:#0968bb;font-size:16px;}
body.theme-v62 .v82-rank-list .v82-rank-player {
  box-shadow:0 2px 7px rgba(21,57,96,.04);
}
body.theme-v62 .v82-rank-list .v82-rank-player.v88-rank-top-1,
body.theme-v62 .v82-rank-list .v82-rank-player.v88-rank-top-2,
body.theme-v62 .v82-rank-list .v82-rank-player.v88-rank-top-3 {
  box-shadow:0 4px 11px rgba(31,96,68,.085);
}
body.theme-v62 .v82-rank-player-info small .v88-rank-chip {
  margin-left:5px;padding:2px 5px;letter-spacing:0;font-size:8.5px;
}
/* Foto grande continua intacta: apenas escala equilibrada do quadro no mobile. */
@media(max-width:600px) {
  body.theme-v62 .modal-card .player-profile-modal {gap:10px;}
  body.theme-v62 .modal-card .profile-portrait-stage {
    --portrait-width:clamp(150px,45vw,188px);
  }
  body.theme-v62 .modal-card .player-profile-title h2 {
    margin:1px 0;font-size:clamp(23px,6.3vw,28px);line-height:1.15;
  }
  body.theme-v62 .modal-card .player-profile-photo.rank-aura {padding:0;}
  body.theme-v62 #playerForm .photo-editor {
    display:grid;grid-template-columns:66px minmax(0,1fr);gap:10px;
    align-items:center;padding:9px 10px;border-radius:14px;
  }
  body.theme-v62 #playerForm .photo-editor #photoPreview {
    width:66px;min-width:0;display:grid;place-items:center;
  }
  body.theme-v62 #playerForm .photo-editor #photoPreview .avatar.large {
    width:60px;height:60px;border-radius:17px;
  }
  body.theme-v62 #playerForm .photo-editor > div:last-child {min-width:0;}
  body.theme-v62 #playerForm .photo-editor > div:last-child > span {
    font-size:10px;line-height:1.3;margin-top:2px;
  }
  body.theme-v62 #playerForm .photo-editor .button-row {
    display:flex;align-items:center;justify-content:flex-start;gap:5px;
    flex-wrap:wrap;margin-top:6px;
  }
  body.theme-v62 #playerForm .photo-editor .button-row > :is(.btn,label) {
    min-height:39px;min-width:0;padding:7px 9px;margin:0;
    white-space:normal;font-size:11px;box-sizing:border-box;
  }
  body.theme-v62 #playerForm .photo-editor .button-row .icon {width:16px;height:16px;}
}
@media(max-width:360px) {
  body.theme-v62 #playerForm .photo-editor {grid-template-columns:58px minmax(0,1fr);gap:7px;padding:9px 8px;}
  body.theme-v62 #playerForm .photo-editor #photoPreview {width:58px;}
  body.theme-v62 #playerForm .photo-editor #photoPreview .avatar.large {width:55px;height:55px;}
  body.theme-v62 .v92-rank-categories-head small {font-size:10px;}
}
@media(min-width:761px) {
  body.theme-v62 .v92-rank-categories-head small {font-size:11px;}
}

/* V93 | Acabamento medido em DEV: centros ópticos, sem trocar PNG ou lógica. */
/* Evita a regra legada de card ímpar em 430px que transforma o 3º atalho em 3 colunas. */
body.theme-v62 .content[data-route="home"] .home-primary-grid > .premium-action {
  grid-template-columns: minmax(0, 1fr) !important;
  justify-items: center !important;
  text-align: center !important;
}
body.theme-v62 .content[data-route="home"] .home-primary-grid > .premium-action .action-icon {
  grid-column: 1 !important;
  grid-row: 1;
  justify-self: center !important;
  margin-inline: auto;
}
body.theme-v62 .content[data-route="home"] .home-primary-grid > .premium-action .action-metric {
  grid-column: 1 !important;
  grid-row: 2;
  justify-self: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  text-align: center !important;
}
body.theme-v62 .content[data-route="home"] .home-primary-grid > .premium-action .action-copy {
  grid-column: 1 !important;
  grid-row: 3;
  justify-self: stretch !important;
  width: 100% !important;
  min-width: 0;
  display: grid;
  justify-items: center;
  text-align: center !important;
}
body.theme-v62 .content[data-route="home"] .home-primary-grid > .premium-action .action-copy b {
  max-width: 100%;
  text-align: center;
  text-wrap: balance;
}
/* Posição e troféu são duas peças reais: nunca sobrepor medalha e texto #1 no mesmo espaço de 24px. */
body.theme-v62 .content[data-route="rank"] .v82-rank-list .v82-rank-player > .v82-rank-position {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 0 0 29px;
  min-width: 29px;
  line-height: 1.15;
  text-align: center;
  gap: 1px;
}
body.theme-v62 .content[data-route="rank"] .v82-rank-list .v82-rank-position > span:last-child {
  display: block;
  max-width: 100%;
  text-align: center;
  line-height: 1.1;
  white-space: nowrap;
}
body.theme-v62 .content[data-route="rank"] .v82-rank-list .v82-rank-position > .v88-rank-medal,
body.theme-v62 .content[data-route="rank"] .v82-rank-list .v82-rank-position > .v88-rank-alert {
  width: 20px;
  height: 20px;
  padding: 0;
  margin-inline: auto;
}
/* Sorteio: título e ações são blocos distintos, em vez de três botões empilhados à esquerda. */
@media (max-width: 600px) {
  body.theme-v62 .content[data-route="draw"] .draw-page-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    row-gap: 9px;
  }
  body.theme-v62 .content[data-route="draw"] .draw-page-heading > div:first-child {
    min-width: 0;
    width: 100%;
  }
  body.theme-v62 .content[data-route="draw"] .draw-page-heading .heading-status-stack {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 7px;
  }
  body.theme-v62 .content[data-route="draw"] .draw-page-heading .heading-status-stack > :is(.live-sync-slot,.count-chip) {
    flex: 0 0 auto;
    margin: 0;
  }
  body.theme-v62 .content[data-route="draw"] .draw-page-heading .draw-jump {
    margin: 0 0 0 auto;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }
  body.theme-v62 .content[data-route="draw"] .draw-balance-help summary > .icon {
    flex: 0 0 21px;
    width: 21px;
    height: 21px;
    align-self: center;
  }
}

/* V94 — engagement surfaces: the same compact football design, no new stylesheet. */
body.theme-v62 .v94-player-hub,body.theme-v62 .v94-postgame-card,body.theme-v62 .v94-prediction-card{
  position:relative;min-width:0;max-width:100%;box-sizing:border-box;margin:12px 0;
  padding:15px 16px;border:1px solid #c6d9ec;border-radius:19px;
  background:linear-gradient(150deg,#fff,#f1f7ff);box-shadow:0 4px 13px rgba(28,68,112,.06);
  color:#173554;overflow:hidden;
}
body.theme-v62 .v94-player-hub::before,body.theme-v62 .v94-postgame-card::before,body.theme-v62 .v94-prediction-card::before{
  content:'';position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#145caa,#c3a24c,#be2f48)
}
body.theme-v62 .v94-hub-head,body.theme-v62 .v94-panel-heading{display:flex;align-items:center;gap:11px;min-width:0;}
body.theme-v62 .v94-hub-head>div,body.theme-v62 .v94-panel-heading>span{flex:1;min-width:0;}
body.theme-v62 .v94-hub-avatar{width:53px;height:53px;flex:0 0 53px;display:grid;place-items:center;background:#e9f2fd;border:1px solid #c3d8f2;border-radius:15px;}
body.theme-v62 .v94-hub-avatar .avatar{height:48px;width:48px;min-width:0;max-width:100%;}
body.theme-v62 .v94-hub-avatar img.icon{height:28px;width:28px;}
body.theme-v62 .v94-hub-head h2,body.theme-v62 .v94-panel-heading h2{font-size:clamp(17px,4.7vw,20px);line-height:1.16;margin:3px 0;overflow-wrap:anywhere;color:#142b49;}
body.theme-v62 .v94-hub-head p,body.theme-v62 .v94-hub-detail,body.theme-v62 .v94-postgame-card>p,body.theme-v62 .v94-prediction-card>p{font-size:12px;line-height:1.45;margin:2px 0;color:#49637e;overflow-wrap:anywhere;}
body.theme-v62 .v94-hub-detail{margin:8px 0 10px;}
body.theme-v62 .v94-hub-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;}
body.theme-v62 .v94-hub-actions>.btn{min-height:43px;flex:1 1 135px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:9px 10px;line-height:1.2;text-align:center;}
body.theme-v62 .v94-hub-actions img.icon,body.theme-v62 .v94-panel-heading img.icon{flex:0 0 25px;width:25px;height:25px;}
body.theme-v62 .v94-next-achievement{display:flex;align-items:center;gap:9px;margin-top:12px;border-top:1px solid #d7e5f5;padding-top:12px;min-width:0;}
body.theme-v62 .v94-next-achievement>img.icon{flex:0 0 34px;width:34px;height:34px;}
body.theme-v62 .v94-next-achievement>span{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;}
body.theme-v62 .v94-next-achievement small,body.theme-v62 .v94-panel-heading small{font-size:10px;color:#4b6688;font-weight:850;letter-spacing:.04em;}
body.theme-v62 .v94-next-achievement b{font-size:12px;line-height:1.2;}
body.theme-v62 .v94-next-achievement em{font-size:10px;line-height:1.3;color:#56708d;font-style:normal;}
body.theme-v62 .v94-achievement-track{display:block;width:100%;height:5px;background:#dbe9f7;border-radius:12px;overflow:hidden;margin-top:3px;}
body.theme-v62 .v94-achievement-track>i{display:block;height:100%;background:linear-gradient(90deg,#117ac9,#1cba7f);border-radius:inherit;}
body.theme-v62 .v94-text-link{border:1px solid #bcd5f1;border-radius:12px;background:#edf6ff;min-height:38px;padding:7px 10px;font-weight:800;color:#1460ae;cursor:pointer;}
body.theme-v62 .v94-alert-preference{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:10px;margin-top:10px;border-top:1px solid #d7e5f5;}
body.theme-v62 .v94-alert-preference small{flex:1;min-width:0;font-size:10px;color:#637d95;line-height:1.35;}
body.theme-v62 .v94-notices{border-top:1px solid #d7e5f5;margin-top:10px;padding-top:8px;}
body.theme-v62 .v94-notices summary{display:flex;align-items:center;gap:5px;cursor:pointer;font-size:12px;}
body.theme-v62 .v94-notices summary img.icon{height:20px;width:20px;}
body.theme-v62 .v94-notices summary small{margin-left:auto;font-size:10px;}
body.theme-v62 .v94-notices>div{display:grid;gap:6px;margin-top:9px;}
body.theme-v62 .v94-notices button{display:flex;flex-direction:column;align-items:flex-start;gap:3px;border:1px solid #d1e1ef;border-radius:10px;background:#fff;padding:9px 11px;text-align:left;cursor:pointer;color:#173956;min-height:44px;}
body.theme-v62 .v94-notices button small{font-size:11px;color:#5a7085;}
body.theme-v62 .v94-game-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:11px;}
body.theme-v62 .v94-game-metrics>span{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;padding:10px 5px;background:#f3f7fb;border:1px solid #d9e6f2;border-radius:11px;}
body.theme-v62 .v94-game-metrics small{font-size:10px;font-weight:800;color:#5d7793;}
body.theme-v62 .v94-game-metrics b{font-size:clamp(16px,4vw,21px);font-variant-numeric:tabular-nums;color:#1159a3;}
body.theme-v62 .v94-prediction-card{background:linear-gradient(155deg,#fffefb,#f1f6ff);}
body.theme-v62 .v94-prediction-card>p{margin:7px 0 12px;}
body.theme-v62 .v94-pick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;}
body.theme-v62 .v94-pick-grid button{min-height:74px;min-width:0;padding:8px 4px;border:1px solid #c9dbed;background:#fff;border-radius:12px;color:#1a4469;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;cursor:pointer;}
body.theme-v62 .v94-pick-grid button img.icon{width:27px;height:27px;}
body.theme-v62 .v94-pick-grid button b{font-size:11px;line-height:1.2;text-align:center;overflow-wrap:anywhere;}
body.theme-v62 .v94-pick-grid button small{font-size:9px;color:#137a53;}
body.theme-v62 .v94-pick-grid button.selected{border:2px solid #1589c8;background:#ebf6ff;box-shadow:0 2px 8px rgba(0,100,175,.10);}
body.theme-v62 .v94-pick-grid button:disabled:not(.selected){opacity:.7;cursor:default;}
body.theme-v62 .v94-prediction-results{margin-top:10px;font-size:12px;}
body.theme-v62 .v94-prediction-results summary{cursor:pointer;font-weight:700;min-height:35px;}
body.theme-v62 .v94-prediction-results>div{display:flex;gap:10px;flex-wrap:wrap;}
body.theme-v62 .v94-share-duel{margin:10px 12px 4px;min-height:43px;}
body.theme-v62 .v94-duel-note{display:block;color:#60768c;font-size:10px;padding:0 12px 12px;}
@media(max-width:370px){
body.theme-v62 .v94-player-hub,body.theme-v62 .v94-postgame-card,body.theme-v62 .v94-prediction-card{padding:12px 10px;}
body.theme-v62 .v94-hub-head h2{font-size:17px;}
body.theme-v62 .v94-hub-avatar{width:45px;height:45px;flex-basis:45px;}
body.theme-v62 .v94-hub-avatar .avatar{width:43px;height:43px;}
body.theme-v62 .v94-alert-preference{flex-wrap:wrap;}
body.theme-v62 .v94-alert-preference .v94-text-link{margin-left:auto;}
}
@media(prefers-reduced-motion:reduce){body.theme-v62 .v94-pick-grid button{transition:none!important;}}

/* V95: notificações opt-in + hierarquia mobile (sem nova folha concorrente) */
body.theme-v62 .v95-push-news{display:grid;gap:8px;padding-top:12px;margin-top:10px;border-top:1px solid rgba(67,109,157,.18);min-width:0}
body.theme-v62 .v95-push-news-title{display:grid;gap:3px;min-width:0}
body.theme-v62 .v95-push-news-title>b{font-size:13px;color:#214c7a}
body.theme-v62 .v95-push-news-title>small{color:#556b80;font-size:11px;line-height:1.35}
body.theme-v62 .v95-push-news .toggle-row{min-width:0;margin:0!important;align-items:center}
body.theme-v62 .v95-push-news .toggle-row>span{min-width:0;overflow-wrap:anywhere}
body.theme-v62 .v95-push-news .toggle-row b{font-size:12px;line-height:1.3}
body.theme-v62 .v95-push-news .toggle-row small{font-size:11px;line-height:1.35}
body.theme-v62 .v94-hub-actions>*{min-height:44px;max-width:100%;box-sizing:border-box;min-width:0}
body.theme-v62 .v94-prediction-card .v94-pick-grid>button{min-width:0;overflow-wrap:anywhere}
@media(max-width:430px){
 body.theme-v62 .v94-player-hub,.v94-postgame-card,.v94-prediction-card{min-width:0;max-width:100%;box-sizing:border-box}
 body.theme-v62 .v94-hub-head>div{min-width:0}
 body.theme-v62 .v94-hub-head h2{font-size:clamp(17px,5.4vw,23px);line-height:1.2;overflow-wrap:anywhere}
 body.theme-v62 .v94-game-metrics>span{min-width:0}
 body.theme-v62 .v94-game-metrics b{font-size:clamp(16px,5.2vw,24px);overflow-wrap:anywhere}
 body.theme-v62 .v94-hub-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(145px,100%),1fr));gap:8px}
 body.theme-v62 .v95-push-news{padding-inline:0}
}
@media(prefers-reduced-motion:reduce){body.theme-v62 .v94-hub-actions>button{transition:none!important}}


/* V96: role-correct achievements. PNG artwork has its own shape, no nested icon overlays. */
body.theme-v62 .modal-card .v96-achievement-overview {margin-bottom:12px;}
body.theme-v62 .modal-card .v96-achievement-section {min-width:0;margin:0 0 16px;}
body.theme-v62 .modal-card .v96-achievement-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 8px;padding:9px 11px;border:1px solid #d7e5f2;border-radius:12px;background:linear-gradient(105deg,#f5faff,#fffaf3);}
body.theme-v62 .modal-card .v96-achievement-heading>div {display:grid;gap:3px;min-width:0;}
body.theme-v62 .modal-card .v96-achievement-heading b {font-size:13px;line-height:1.3;color:#17395f;}
body.theme-v62 .modal-card .v96-achievement-heading small {font-size:11px;line-height:1.35;color:#526d8a;overflow-wrap:anywhere;}
body.theme-v62 .modal-card .v96-achievement-heading>span {flex:none;font-weight:900;font-size:12px;color:#2665a5;background:#e5f2ff;padding:6px 8px;border-radius:9px;}
body.theme-v62 .modal-card .v96-achievement-grid {margin-top:0;align-items:stretch;}
body.theme-v62 .modal-card .v96-achievement summary {min-height:142px;padding:8px 7px 8px;gap:3px;justify-items:center;text-align:center;}
body.theme-v62 .modal-card .v96-achievement summary .v81-achievement-trophy {height:74px;width:74px;max-width:100%;margin:0 auto;object-fit:contain;filter:drop-shadow(0 2px 3px rgba(22,56,90,.12));}
body.theme-v62 .modal-card .v96-achievement summary b {font-size:12.2px;line-height:1.25;min-height:30px;display:grid;place-items:center;overflow-wrap:anywhere;text-wrap:balance;}
body.theme-v62 .modal-card .v96-achievement .v81-achievement-progress {font-variant-numeric:tabular-nums;}
body.theme-v62 .modal-card .v96-achievement > small {padding:8px 9px 10px;font-size:11px;line-height:1.42;}
body.theme-v62 .modal-card .v96-achievement .v81-progress-track {width:92%;}
body.theme-v62 .v94-next-achievement > .v96-next-achievement-png {width:38px;height:38px;flex:0 0 38px;object-fit:contain;filter:drop-shadow(0 2px 3px rgba(25,55,83,.14));}
@media(max-width:360px) {
 body.theme-v62 .modal-card .v96-achievement-grid {gap:7px;}
 body.theme-v62 .modal-card .v96-achievement summary {padding-inline:5px;}
 body.theme-v62 .modal-card .v96-achievement summary .v81-achievement-trophy {height:65px;width:65px;}
 body.theme-v62 .modal-card .v96-achievement-heading {padding:8px;}
}

/* V97: Home final touch — one premium Craque PNG crown, photo remains dominant. */
body.theme-v62 .content[data-route="home"] .craque-home-card.winner.v90-craque-card {
  min-height: 134px;
  padding: 12px 14px 20px !important;
  margin: 10px 0 8px !important;
  column-gap: 14px;
  background: linear-gradient(105deg,#fffaf1 0%,#fff 34%,#fff 100%) !important;
  border-color: #dec188;
  box-shadow: 0 5px 13px rgba(35,62,92,.07);
}
body.theme-v62 .content[data-route="home"] .craque-home-card.winner .v81-craque-crown {
  width: 21px;
  height: 21px;
  top: -3px;
  left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  background: url('/images/theme-v65/ui/crown.png') center / contain no-repeat;
  filter: drop-shadow(0 1px 2px rgba(82,52,16,.24));
}
body.theme-v62 .content[data-route="home"] .craque-home-card.winner .v81-craque-portrait .avatar {
  box-shadow: 0 0 0 2px #d5af63, 0 3px 8px rgba(19,50,80,.12);
}
body.theme-v62 .content[data-route="home"] .craque-home-card.winner .v90-craque-copy {
  gap: 4px;
  justify-content: center;
}
body.theme-v62 .content[data-route="home"] .craque-home-card.winner .v90-craque-copy small {
  color: #8a601c;
  font-size: 10.5px;
  letter-spacing: .035em;
  font-weight: 850;
}
body.theme-v62 .content[data-route="home"] .craque-home-card.winner .v90-craque-copy h2 {
  color: #183354;
  font-size: clamp(17px,4.5vw,21px);
  font-weight: 850;
  line-height: 1.16;
  text-wrap: balance;
}
body.theme-v62 .content[data-route="home"] .craque-home-card.winner .v90-craque-copy p {
  color: #566b81;
  font-size: 11.5px;
  line-height: 1.42;
}
body.theme-v62 .content[data-route="home"] .craque-home-card.winner .v90-craque-actions .btn {
  min-height: 44px;
  font-size: 12.5px;
  font-weight: 850;
  border-color: #cad9e8;
  box-shadow: 0 2px 6px rgba(39,65,94,.07);
}
body.theme-v62 .content[data-route="home"] .craque-home-card.winner.tied .v81-craque-crown {
  top: -4px;
}
body.theme-v62 .content[data-route="home"] .home-dashboard .home-secondary-grid .premium-action {
  box-shadow: 0 2px 8px rgba(20,63,105,.045);
}
body.theme-v62 .content[data-route="home"] .home-dashboard .home-secondary-grid .action-copy b {
  line-height: 1.25;
  font-size: 12.5px;
}
@media (max-width: 580px) {
  body.theme-v62 .content[data-route="home"] .craque-home-card.winner.v90-craque-card {
    column-gap: 11px;
    min-height: 0;
    padding: 12px 11px 19px !important;
  }
  body.theme-v62 .content[data-route="home"] .craque-home-card.winner .v81-craque-crown {
    width: 20px;
    height: 20px;
    top: -4px;
  }
  body.theme-v62 .content[data-route="home"] .craque-home-card.winner .v90-craque-copy small {
    font-size: 10px;
  }
  body.theme-v62 .content[data-route="home"] .craque-home-card.winner .v90-craque-copy p {
    font-size: 11px;
  }
}
@media (max-width: 360px) {
  body.theme-v62 .content[data-route="home"] .craque-home-card.winner .v90-craque-copy h2 {
    font-size: 16px;
  }
}


/* V98: esconder o espaço do indicador de sincronização rotineira; falhas offline continuam visíveis. */
body.theme-v62 .live-sync-slot:empty { display: none !important; min-height: 0 !important; }


/* V100 — fechamento rápido: controles grandes e artilheiros por toque, sem nova camada CSS */
#matchResultForm .score-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#matchResultForm .score-input{min-width:0;padding:10px;gap:7px}
#matchResultForm .score-input>label{font-size:12px;font-weight:800;color:#163954;overflow-wrap:anywhere}
#matchResultForm .v100-score-stepper{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:4px;align-items:center;min-width:0}
#matchResultForm .v100-score-stepper>button{width:44px;min-height:48px;display:grid;place-items:center;border:1px solid #c7d8e9;border-radius:11px;background:#eff6ff;color:#164673;font-weight:900;font-size:25px;cursor:pointer}
#matchResultForm .v100-score-stepper>button:active{background:#dcecff}
#matchResultForm .v100-score-stepper>input{height:48px;min-width:0;padding:5px 2px;text-align:center;font-size:23px;font-weight:900;font-variant-numeric:tabular-nums;appearance:textfield}
#matchResultForm .v100-score-stepper>input::-webkit-inner-spin-button{appearance:none}
#matchResultForm .v100-goal-quick-help{padding:10px 10px 0;color:#47617a;font-size:12px;line-height:1.4}
#matchResultForm .v88-goal-quick{padding:8px 10px 11px;gap:7px}
#matchResultForm .v100-goal-chip{min-height:49px;border-radius:12px;max-width:100%;text-align:left;gap:8px;line-height:1.25}
#matchResultForm .v100-goal-chip .avatar{width:30px;height:30px;min-width:30px;flex:none;border-radius:9px;overflow:hidden}
#matchResultForm .v100-goal-chip>span{min-width:0;overflow-wrap:anywhere}
#matchResultForm .v100-goal-count{min-width:20px;height:20px;display:grid;place-items:center;border-radius:99px;background:#d9edff;color:#13578c;font-size:11px}
#matchResultForm [data-score-step]:focus-visible,#matchResultForm .v100-goal-chip:focus-visible{outline:3px solid #2584d6;outline-offset:2px}
#matchResultForm #v100GoalProgress{font-variant-numeric:tabular-nums}
@media(max-width:440px){#matchResultForm .score-form{gap:7px}#matchResultForm .v100-score-stepper{grid-template-columns:40px minmax(0,1fr) 40px}#matchResultForm .v100-score-stepper>button{width:40px;min-height:48px}#matchResultForm .score-input{padding:8px}#matchResultForm .v100-goal-chip{flex:1 1 43%;justify-content:flex-start}}
@media(max-width:350px){#matchResultForm .score-form{grid-template-columns:minmax(0,1fr)}#matchResultForm .v100-goal-chip{flex:1 1 100%}}


/* V102 · Confirmação e Craque mobile-first, sem camada nova e sem sobreposição de PNG. */
/* V103: Consolidated topbar layout. No competing old icon sizing layers. */
body.theme-v62 .topbar {
  grid-template-columns:48px minmax(0,1fr) auto;
  column-gap:9px;min-height:calc(74px + env(safe-area-inset-top,0px));
  padding-inline:max(12px,env(safe-area-inset-left,0px)) max(12px,env(safe-area-inset-right,0px));
}
body.theme-v62 .topbar > #menuBtn {justify-self:center;align-self:center}
body.theme-v62 .topbar .brand-versus {
  position:absolute;left:50%;transform:translateX(-50%);
  justify-self:center;min-width:0;max-width:100%;gap:5px;
}
body.theme-v62 .topbar .v102-top-actions {
  grid-column:3;display:flex;align-items:center;justify-self:end;gap:7px;min-width:0;
}
body.theme-v62 .topbar .v103-top-tools {display:flex;align-items:center;justify-content:center;gap:7px}
body.theme-v62 .topbar #menuBtn,
body.theme-v62 .topbar .v102-top-tool,
body.theme-v62 .topbar #adminBtn {
  display:grid;place-items:center;box-sizing:border-box;flex:none;
  width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0;border-radius:13px;
}
body.theme-v62 .topbar #menuBtn > .icon,
body.theme-v62 .topbar #adminBtn > .icon,
body.theme-v62 .topbar .v102-top-tool > .icon {
  display:block;width:26px;height:26px;max-width:100%;object-fit:contain;object-position:center;margin:auto;
}
body.theme-v62 .topbar .v102-top-actions .top-profile-slot {
  position:relative;width:44px;height:44px;min-width:44px;margin:0;display:grid;place-items:center;align-self:center;
}
body.theme-v62 .topbar .v102-top-actions .top-player-profile {
  width:44px;height:44px;min-width:44px;min-height:44px;padding:2px;display:grid;place-items:center;border-radius:13px;
}
body.theme-v62 .topbar .top-player-profile .avatar.header {
  width:38px;height:38px;max-width:38px;border-radius:10px;object-fit:cover;
}
body.theme-v62 .topbar .v103-tool-label {display:none}
body.theme-v62 .topbar .v102-top-tool[aria-busy="true"] {opacity:.65}
body.theme-v62 .topbar :is(#menuBtn,.v102-top-tool,#adminBtn,.top-player-profile):focus-visible {
  outline:3px solid #176ac0;outline-offset:2px;
}
@media (max-width:620px) {
  body.theme-v62 .topbar {
    grid-template-columns:44px minmax(0,1fr) 44px;
    grid-template-rows:50px 44px;min-height:0;column-gap:6px;row-gap:4px;
    padding:calc(env(safe-area-inset-top,0px) + 5px)
      max(10px,env(safe-area-inset-right,0px)) 6px
      max(10px,env(safe-area-inset-left,0px));
  }
  body.theme-v62 .topbar > #menuBtn {grid-column:1;grid-row:1}
  body.theme-v62 .topbar .brand-versus {
    position:static;left:auto;transform:none;
    grid-column:2;grid-row:1;justify-self:center;
    grid-template-columns:30px minmax(0,auto) 30px;gap:4px;
  }
  body.theme-v62 .topbar .brand-versus .brand-team-mark {
    width:30px;height:30px;min-width:30px;object-fit:contain;padding:0;border-radius:0;
  }
  body.theme-v62 .topbar .brand-versus > span {min-width:0;max-width:99px}
  body.theme-v62 .topbar .brand-versus b {font-size:12px;line-height:1.1}
  body.theme-v62 .topbar .brand-versus em {font-size:10px;line-height:1.15}
  body.theme-v62 .topbar .brand-versus .app-version-badge {
    position:static;top:auto;min-height:15px;font-size:9px;margin-top:2px;padding:1px 5px;
  }
  body.theme-v62 .topbar .v102-top-actions {display:contents}
  body.theme-v62 .topbar .v102-top-actions .top-profile-slot {
    grid-column:3;grid-row:1;justify-self:center;width:44px;height:44px;
  }
  body.theme-v62 .topbar .v103-top-tools {
    grid-column:1/-1;grid-row:2;justify-self:center;align-self:center;
    display:flex;align-items:center;justify-content:center;gap:9px;
  }
  body.theme-v62 .topbar .v102-top-tool {
    display:flex;align-items:center;justify-content:center;gap:7px;
    box-sizing:border-box;width:auto;min-width:123px;height:44px;min-height:44px;
    padding:0 12px;border-radius:11px;font-weight:800;font-size:12px;line-height:1.1;color:#21496e;
  }
  body.theme-v62 .topbar .v102-top-tool > .icon {width:19px;height:19px;margin:0;flex:none}
  body.theme-v62 .topbar .v103-tool-label {display:inline;white-space:nowrap}
}
@media (max-width:355px) {
  body.theme-v62 .topbar {
    grid-template-columns:44px minmax(0,1fr) 44px;column-gap:3px;
    padding-inline:max(7px,env(safe-area-inset-left,0px)) max(7px,env(safe-area-inset-right,0px));
  }
  body.theme-v62 .topbar .brand-versus {grid-template-columns:25px minmax(0,auto) 25px;gap:2px}
  body.theme-v62 .topbar .brand-versus .brand-team-mark {width:25px;height:25px;min-width:25px}
  body.theme-v62 .topbar .brand-versus > span {max-width:90px}
  body.theme-v62 .topbar .brand-versus b {font-size:10px}
  body.theme-v62 .topbar .brand-versus em {font-size:9px}
  body.theme-v62 .topbar .v102-top-tool {min-width:114px;padding:0 9px}
}

body.theme-v62 .content[data-route="presence"] .er-presence-overview > .er-presence-actions {margin:9px 0 7px;padding:10px;border-radius:15px;border:1px solid #bfd8eb;background:linear-gradient(140deg,#f7fcff,#eef7ff)}
body.theme-v62 .content[data-route="presence"] .v102-presence-state {display:flex;align-items:center;gap:8px;padding:9px 11px;margin:8px 0;border:1px solid #cbdceb;background:#f3f8fe;border-radius:11px;color:#173b5b;font-size:12px;line-height:1.4}
body.theme-v62 .content[data-route="presence"] .v102-presence-state .icon {width:22px;height:22px;flex:none}
body.theme-v62 .content[data-route="presence"] .presence-answer {min-height:93px;position:relative;transition:border-color .12s ease,background-color .12s ease}
body.theme-v62 .content[data-route="presence"] .presence-answer[aria-pressed="true"] {outline:2px solid #2a8b6b;outline-offset:-3px;background:#f1fff7}
body.theme-v62 .content[data-route="presence"] .presence-answer[aria-busy="true"] {opacity:.75;cursor:progress}
body.theme-v62 .content[data-route="presence"] .v102-presence-audio {margin:9px 0;padding:0;min-width:0;background:#fff;border:1px solid #d5e2ee;border-radius:14px}
body.theme-v62 .content[data-route="presence"] .v102-presence-audio > summary {list-style:none;display:flex;gap:10px;align-items:center;padding:11px 12px;cursor:pointer;min-height:50px}
body.theme-v62 .content[data-route="presence"] .v102-presence-audio > summary::-webkit-details-marker {display:none}
body.theme-v62 .content[data-route="presence"] .v102-presence-audio > summary .icon {width:23px;height:23px;flex:none}
body.theme-v62 .content[data-route="presence"] .v102-presence-audio > summary span {flex:1;display:grid;gap:2px;min-width:0}
body.theme-v62 .content[data-route="presence"] .v102-presence-audio > summary b {color:#174267;font-size:13px}
body.theme-v62 .content[data-route="presence"] .v102-presence-audio > summary small {font-size:11px;line-height:1.3;color:#526a80}
body.theme-v62 .content[data-route="presence"] .v102-presence-audio-body {padding:0 12px 12px;display:grid;gap:5px}
body.theme-v62 .content[data-route="presence"] .v102-presence-audio-body audio {width:100%;min-width:0}
body.theme-v62 .craque-vote-box .v102-vote-toolbar {display:grid;gap:8px;margin:12px 0}
body.theme-v62 .craque-vote-box .v102-vote-search {display:flex;align-items:center;gap:8px;border:1px solid #c9dbea;border-radius:12px;background:#fff;padding:4px 10px;min-height:45px;min-width:0}
body.theme-v62 .craque-vote-box .v102-vote-search .icon {width:20px;height:20px;flex:none}
body.theme-v62 .craque-vote-box .v102-vote-search input {flex:1;min-width:0!important;width:100%;padding:7px 2px!important;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;font-size:14px}
body.theme-v62 .craque-vote-box .v102-vote-filters {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
body.theme-v62 .craque-vote-box .v102-vote-filters button {min-height:40px;min-width:0;padding:6px 5px;border-radius:10px;border:1px solid #d1e0ea;background:#fff;color:#2b4c67;font-weight:800;font-size:12px}
body.theme-v62 .craque-vote-box .v102-vote-filters button[aria-pressed="true"] {background:#e9f3ff;color:#0756b2;border-color:#74b2e4}
body.theme-v62 .craque-vote-box .craque-candidate[hidden],body.theme-v62 .craque-vote-box [hidden] {display:none!important}
body.theme-v62 .craque-vote-box .craque-candidate.v102-picked {border-color:#2387ca!important;background:#ebf7ff!important;box-shadow:inset 0 0 0 2px rgba(20,106,190,.12)}
body.theme-v62 .craque-vote-box .v102-vote-empty {margin:9px 0;padding:10px;border:1px dashed #c8d9e7;border-radius:11px;text-align:center;font-size:12px;color:#46647d}
body.theme-v62 .craque-vote-box .v102-vote-submit {position:sticky;bottom:-1px;z-index:2;display:grid;gap:7px;padding:11px;margin:10px -2px 0;background:#f5f9fe;border:1px solid #d1e1f0;border-radius:13px;box-shadow:0 -3px 14px rgba(10,44,75,.07)}
body.theme-v62 .craque-vote-box .v102-vote-submit span {display:block;font-size:12px;font-weight:760;line-height:1.4;color:#244d72;overflow-wrap:break-word}
body.theme-v62 .craque-vote-box .v102-vote-submit button {min-height:48px;white-space:normal;line-height:1.2;padding:9px 12px}
body.theme-v62 .craque-vote-box .v102-vote-submit button:disabled {opacity:.62;cursor:not-allowed}
body.theme-v62 .craque-vote-box :is(.v102-vote-filters button,.craque-candidate,.v102-vote-submit button,.v102-vote-search input):focus-visible {outline:3px solid #1975c5;outline-offset:2px}
@media(max-width:520px){
 body.theme-v62 .content[data-route="presence"] .er-presence-overview > .er-presence-actions {padding:8px;margin:7px 0}
 body.theme-v62 .content[data-route="presence"] .presence-answer {min-height:90px}
 body.theme-v62 .craque-vote-box .v102-vote-submit {bottom:0;padding:9px}
}
@media(prefers-reduced-motion:reduce){body.theme-v62 .craque-vote-box .craque-candidate.v102-picked{transition:none}}

@media(max-width:520px){body.theme-v62 .content[data-route="presence"] .presence-answer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.theme-v62 .content[data-route="presence"] .presence-answer.maybe{grid-column:1/-1;min-height:56px;display:flex;flex-direction:row;gap:10px;justify-content:center;align-items:center}body.theme-v62 .content[data-route="presence"] .presence-answer.maybe .icon{width:24px;height:24px}body.theme-v62 .content[data-route="presence"] .presence-answer.maybe :is(b,small){text-align:left}}
@media(max-width:360px){body.theme-v62 .content[data-route="presence"] .presence-answer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.theme-v62 .content[data-route="presence"] .presence-answer:not(.maybe){min-height:78px;display:flex;flex-direction:column;justify-content:center;gap:4px;padding:8px 5px;text-align:center}body.theme-v62 .content[data-route="presence"] .presence-answer:not(.maybe) :is(b,small){text-align:center}}

body.theme-v62 .content[data-route="presence"] details.v102-presence-audio {display:block;overflow:hidden}


/* V104 | Home + Quadra: minimal, scoped refinements; preserve historic styles/assets */
body.theme-v62 .content[data-route="home"] .v104-home-essentials{display:grid;gap:10px;margin:10px 0 13px;min-width:0}
body.theme-v62 .content[data-route="home"] .v104-home-essentials > *{min-width:0;margin-block:0}
body.theme-v62 .content[data-route="home"] .home-dashboard{min-width:0}
body.theme-v62 .content[data-route="home"] :is(.er-home-rank-group,.er-home-history-group,.er-home-draw-group){min-width:0;overflow-wrap:anywhere}
body.theme-v62 .content[data-route="court"] .v104-court-ledger {min-width:0;display:grid;gap:10px;margin-block:13px 16px}
body.theme-v62 .content[data-route="court"] .v104-court-ledger-title{display:flex;align-items:start;justify-content:space-between;gap:10px}
body.theme-v62 .content[data-route="court"] .v104-court-ledger-title h2{font-size:clamp(17px,4.5vw,21px);margin:4px 0 3px;line-height:1.2;color:#163858}
body.theme-v62 .content[data-route="court"] .v104-court-ledger-title p{margin:0;font-size:12px;line-height:1.4;color:#4e6681}
body.theme-v62 .content[data-route="court"] .v104-court-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;min-width:0;padding:4px;background:#edf3fa;border:1px solid #d5e2ee;border-radius:14px}
body.theme-v62 .content[data-route="court"] .v104-court-tabs button{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:44px;border:1px solid transparent;border-radius:10px;background:transparent;color:#365a7b;font:inherit;font-size:12px;font-weight:800;cursor:pointer;padding:5px 6px}
body.theme-v62 .content[data-route="court"] .v104-court-tabs button b{font-variant-numeric:tabular-nums;background:#dce7f4;border-radius:9px;padding:3px 6px;color:#27527e;font-size:11px}
body.theme-v62 .content[data-route="court"] .v104-court-tabs button.active{background:#fff;border-color:#bcd4eb;box-shadow:0 2px 7px rgba(13,53,99,.09);color:#114b8a}
body.theme-v62 .content[data-route="court"] .v104-court-tabs button:focus-visible{outline:3px solid #1674c8;outline-offset:2px}
body.theme-v62 .content[data-route="court"] .v104-court-payments{border-top:1px solid #e1eaf4;min-width:0}
body.theme-v62 .content[data-route="court"] .v104-court-payments>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;min-height:50px;padding:8px 11px;color:#204663;line-height:1.35;font-size:12px;font-weight:750}
body.theme-v62 .content[data-route="court"] .v104-court-payments>summary span{display:flex;align-items:center;gap:7px;min-width:0}
body.theme-v62 .content[data-route="court"] .v104-court-payments>summary img.icon{width:21px;height:21px;flex:none}
body.theme-v62 .content[data-route="court"] .v104-court-payments>summary b{font-size:11px;font-weight:700;text-align:right;overflow-wrap:anywhere}
body.theme-v62 .content[data-route="court"] .v104-court-payments[open]>summary{background:#f4f9ff}
body.theme-v62 .content[data-route="court"] .v104-court-payments>summary:focus-visible{outline:3px solid #1674c8;outline-offset:-3px}
body.theme-v62 .content[data-route="court"] .v104-court-empty{border:1px dashed #c7dbe9;border-radius:14px;background:#f8fbfe;padding:10px}
@media(max-width:430px){
  body.theme-v62 .content[data-route="home"] .home-hero-premium .hero-copy{padding-block:12px}
  body.theme-v62 .content[data-route="home"] .v104-home-essentials{margin-top:8px;gap:8px}
  body.theme-v62 .content[data-route="court"] .court-admin-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
  body.theme-v62 .content[data-route="court"] .court-admin-actions>.btn{min-height:44px;width:100%;max-width:100%;white-space:normal}
  body.theme-v62 .content[data-route="court"] .v104-court-tabs button{gap:4px;font-size:11px;padding-inline:3px}
  body.theme-v62 .content[data-route="court"] .v104-court-payments>summary{align-items:flex-start;flex-wrap:wrap}
  body.theme-v62 .content[data-route="court"] .v104-court-payments>summary b{text-align:left}
}

body.theme-v62 .content[data-route="court"] .court-pix-card b{overflow-wrap:anywhere;word-break:break-word}

/* V105 Central Mobile Premium — compact data, preserved business rules and PNG assets */
body.theme-v62 .v105-page-context{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;padding:7px 12px;margin:0 0 12px;border:1px solid #d5e4ef;border-radius:12px;background:#f7fbff;color:#3e5b73;font-size:12px}
body.theme-v62 .v105-page-context strong{color:#193d63}
body.theme-v62 .v105-page-context button{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:none;min-height:38px;padding:4px 10px;border:1px solid #d1e1ee;border-radius:9px;background:#fff;color:#234e74;font-weight:750;font-size:12px}
body.theme-v62 .v105-roster-options{display:flex;gap:7px;align-items:center;padding:7px 0 11px;min-width:0}
body.theme-v62 .v105-roster-options button{flex:1 1 0;min-width:0;min-height:44px;padding:9px 8px;border-radius:11px;border:1px solid #d3e1ee;background:#f6fafd;color:#315576;font-size:13px;font-weight:750}
body.theme-v62 .v105-roster-options button.active{border-color:#4389c9;background:#e4f2ff;color:#12477e;box-shadow:inset 0 0 0 1px #4389c9}
body.theme-v62 .v105-layout-compact.player-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:8px}
body.theme-v62 .v105-layout-compact .player-card{padding:8px 10px;min-height:0;display:flex;flex-direction:column;gap:5px;border-radius:12px}
body.theme-v62 .v105-layout-compact .player-card .player-main{min-height:0;padding:0;gap:8px;align-items:center}
body.theme-v62 .v105-layout-compact .player-card .player-detail-strip{display:none}
body.theme-v62 .v105-layout-compact .player-card .player-footer{padding:5px 0 0;min-height:0;margin:0;border-top:1px solid #e8eef3;gap:5px}
body.theme-v62 .v105-layout-compact .player-card .player-footer-meta{min-width:0;gap:5px}
body.theme-v62 .v105-layout-compact .player-card .player-footer-status{min-width:0}
body.theme-v62 .v105-layout-compact .player-card :is(.profile-copy,.nickname-line,.player-footer-meta){min-width:0}
body.theme-v62 .v105-layout-compact .player-card .player-footer-meta .tier-copy{font-size:10px}
body.theme-v62 .v105-layout-compact .player-card .readonly-label{font-size:10px}
body.theme-v62 .v105-draw-check{display:grid;gap:7px;padding:12px 13px;margin:10px 0;border-radius:13px;border:1px solid #b8d8ef;background:#f3f9ff}
body.theme-v62 .v105-draw-check>div{display:flex;justify-content:space-between;flex-wrap:wrap;gap:5px 12px}
body.theme-v62 .v105-draw-check strong{font-size:13px;color:#174870}
body.theme-v62 .v105-draw-check span{font-size:12px;color:#365975}
body.theme-v62 .v105-draw-check p{margin:0;font-size:12px;line-height:1.45}
body.theme-v62 .v105-draw-check .v105-draw-warning{color:#87491b;background:#fff2df;border:1px solid #f2d6a4;border-radius:9px;padding:9px}
body.theme-v62 .v105-draw-check .v105-draw-ok{color:#146640}
body.theme-v62 .draw-preview-center :is(small,b,em,strong){text-shadow:0 1px 3px rgba(0,0,0,.65)}
body.theme-v62 .draw-preview-center{background:rgba(9,33,57,.68);border-radius:12px;padding:5px 6px}
body.theme-v62 .v105-home-extras{min-width:0;margin:13px 0 0;border:1px solid #dbe7f1;border-radius:16px;background:#f7fbff;overflow:hidden}
body.theme-v62 .v105-home-extras>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;min-height:61px;padding:12px 14px;color:#204970}
body.theme-v62 .v105-home-extras>summary>span{display:flex;align-items:center;flex-wrap:wrap;gap:5px 9px;min-width:0}
body.theme-v62 .v105-home-extras>summary b{font-size:15px}
body.theme-v62 .v105-home-extras>summary small{font-size:12px;color:#5c7183}
body.theme-v62 .v105-home-extras>summary strong{font-size:12px;flex:none}
body.theme-v62 .v105-home-extras[open]>summary{border-bottom:1px solid #dbe7f1}
body.theme-v62 .v105-home-extras-content{display:grid;gap:10px;padding:12px}
body.theme-v62 .v105-home-extras-content>section{min-width:0;margin:0}
@media(max-width:620px){
 body.theme-v62 .v105-page-context{margin:0 0 8px;padding:5px 9px}
 body.theme-v62 .v105-roster-options button{font-size:12px}
 body.theme-v62 .v105-layout-compact.player-list{grid-template-columns:minmax(0,1fr)}
 body.theme-v62 .v105-layout-compact .player-card .player-main .avatar{max-width:58px;max-height:58px}
 body.theme-v62 .v105-layout-compact .player-card .player-footer-meta{flex-wrap:wrap}
 body.theme-v62 .v105-home-extras>summary>span{flex-direction:column;align-items:flex-start;gap:3px}
 body.theme-v62 .v105-home-extras-content{padding:9px}
}

/* V106: foto do jogador acessivel no topo; pequeno badge admin sem cobrir retrato. */
body.theme-v62 .topbar .top-profile-slot {overflow:visible;isolation:isolate}
body.theme-v62 .topbar .top-player-profile{
  position:relative;z-index:1;width:44px;height:44px;min-width:44px;min-height:44px;
  border-radius:13px;padding:2px;background:#fff;border:1px solid #a9c8e0;overflow:visible;
  display:grid;place-items:center;
}
body.theme-v62 .topbar .top-player-profile .avatar.header{
  width:38px;height:38px;min-width:38px;min-height:38px;max-width:38px;
  border-radius:10px;overflow:visible;display:grid;place-items:center;
}
body.theme-v62 .topbar .top-player-profile .avatar.header .avatar-photo{
  display:block!important;width:100%;height:100%;object-fit:cover;object-position:center;border-radius:9px;
}
body.theme-v62 .topbar .top-admin-badge{
  position:absolute;z-index:4;bottom:-4px;right:-5px;
  width:24px;height:24px;min-width:24px;min-height:24px;display:grid;place-items:center;
  padding:0;border:2px solid #fff;border-radius:50%;background:#fff;box-shadow:0 2px 6px #30527033;
}
body.theme-v62 .topbar .top-admin-badge .icon{width:13px;height:13px;object-fit:contain}
body.theme-v62 .topbar .top-admin-badge.is-admin{background:#1266bb}
body.theme-v62 .topbar .top-player-profile.v106-unbound{
  border-style:dashed;background:#edf6ff;border-color:#8fbbdd;
}
body.theme-v62 .topbar .top-player-profile.v106-unbound .v106-unbound-icon{width:25px;height:25px;object-fit:contain}
body.theme-v62 .court-payment-actions .v106-exemption-action{
  background:#edf7ff;border-color:#abcce2;color:#164b76;
  min-height:36px;padding:5px 8px;border-radius:9px;
}
body.theme-v62 .court-payment-actions .v106-exemption-action:focus-visible{
  outline:3px solid #3185c6;outline-offset:2px;
}
@media(max-width:620px){
 body.theme-v62 .topbar .top-profile-slot{grid-column:3;grid-row:1;overflow:visible}
 body.theme-v62 .topbar .top-admin-badge{right:-3px;bottom:-3px}
 body.theme-v62 .court-payment-row{min-width:0}
 body.theme-v62 .court-payment-actions{flex-wrap:wrap;justify-content:flex-end;gap:5px}
 body.theme-v62 .court-payment-actions .v106-exemption-action{min-height:38px}
}

/* V106 definitive fix: old #adminBtn ID rule must NOT cover the photo. */
body.theme-v62 .topbar #adminBtn.top-admin-badge{
 position:absolute!important;z-index:5;right:-5px;bottom:-5px;
 width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;
 border-radius:50%!important;padding:0!important;box-sizing:border-box;
 border:2px solid #fff;display:grid;place-items:center;flex:none;
}
body.theme-v62 .topbar #adminBtn.top-admin-badge .icon{
 width:12px!important;height:12px!important;min-width:12px;object-fit:contain;margin:auto;
}
@media(max-width:620px){
 body.theme-v62 .topbar #adminBtn.top-admin-badge{width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important}
}

/* V107 Admin-only inactive player recovery - no public roster exposure */
body.theme-v62 .v107-inactive-admin{margin:12px 0;border:1px solid #d1dce7;border-radius:13px;background:#f8fafc;overflow:hidden}
body.theme-v62 .v107-inactive-admin>summary{cursor:pointer;padding:13px 14px;min-height:44px;font-weight:750;color:#334d65;line-height:1.4}
body.theme-v62 .v107-inactive-admin>summary b{font-variant-numeric:tabular-nums;color:#8b4f18;background:#fff0d7;border-radius:9px;padding:3px 8px;margin-left:5px}
body.theme-v62 .v107-inactive-admin>div{padding:9px 11px;border-top:1px solid #d1dce7;display:grid;gap:7px}
body.theme-v62 .v107-inactive-admin-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;background:#fff;border:1px solid #e1e8f0;border-radius:11px;padding:10px}
body.theme-v62 .v107-inactive-admin-row>span{display:grid;gap:3px;min-width:0}
body.theme-v62 .v107-inactive-admin-row b{font-size:13px;color:#283e56;overflow-wrap:anywhere}
body.theme-v62 .v107-inactive-admin-row small{font-size:11px;color:#657b91}
body.theme-v62 .v107-inactive-admin-row .btn{min-height:42px;flex:none;font-size:12px}
@media(max-width:360px){
 body.theme-v62 .v107-inactive-admin-row{align-items:stretch;flex-direction:column}
 body.theme-v62 .v107-inactive-admin-row .btn{width:100%}
}

/* V108 · Quadra Premium + compartilhabilidade visual.
   Fotos reais, grupos de pagamento sem misturar isenção manual com goleiro. */
body.theme-v62 .v108-share-toolbar{
 display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;
 gap:10px 13px;margin:0 0 13px;padding:11px 14px;border:1px solid #b9d1e5;
 border-left:4px solid #0d64ac;border-radius:14px;background:linear-gradient(110deg,#f4f9ff,#fff 68%);
 box-shadow:0 3px 12px rgba(26,68,101,.07);min-width:0;
}
body.theme-v62 .v108-share-heading{display:flex;align-items:center;gap:10px;min-width:0}
body.theme-v62 .v108-share-heading>img{display:block;width:39px;height:39px;object-fit:contain;flex:none}
body.theme-v62 .v108-share-heading>span{display:grid;gap:2px;min-width:0}
body.theme-v62 .v108-share-heading b{font-size:14px;line-height:1.15;color:#123f69}
body.theme-v62 .v108-share-heading small{font-size:12px;line-height:1.35;color:#49677f}
body.theme-v62 .v108-share-buttons{display:flex;gap:7px;flex-wrap:wrap;align-items:center}
body.theme-v62 .v108-share-button{min-height:44px;border-radius:10px;padding:8px 12px;font-size:12px;font-weight:800;white-space:normal}
body.theme-v62 .v108-share-craque{min-height:42px;border-radius:10px}
body.theme-v62 .v108-court-status-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:11px 0 9px}
body.theme-v62 .v108-court-status-summary>span{
 display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:2px;min-height:69px;
 padding:8px 5px;border:1px solid;border-radius:11px;font-size:11px;line-height:1.3;font-weight:750;
}
body.theme-v62 .v108-court-status-summary b{font-size:21px;font-weight:900;font-variant-numeric:tabular-nums}
body.theme-v62 .v108-court-status-summary .pending{color:#82550b;background:#fff8e9;border-color:#eedbaf}
body.theme-v62 .v108-court-status-summary .paid{color:#17623d;background:#eaf8f0;border-color:#b9e2c8}
body.theme-v62 .v108-court-status-summary .manual{color:#155c96;background:#e8f3ff;border-color:#b7d6f0}
body.theme-v62 .v108-court-status-summary .keeper{color:#5b4387;background:#f1ecff;border-color:#d6c9f3}
body.theme-v62 .court-status.v108-status-admin,
body.theme-v62 .court-status.v108-status-goalkeeper{
 width:max-content;max-width:100%;min-height:33px;padding:6px 10px;border-radius:9px;
 display:inline-flex;align-items:center;justify-content:center;gap:5px;
 font-weight:900;font-size:11px;letter-spacing:.02em;line-height:1.25;text-align:center;
}
body.theme-v62 .court-status.v108-status-admin{background:#e8f3ff;color:#0f5c9d;border:1px solid #b2d3f0}
body.theme-v62 .court-status.v108-status-goalkeeper{background:#f0ebff;color:#5a418d;border:1px solid #d0c5f4}
body.theme-v62 .court-status.v108-status-admin .icon,
body.theme-v62 .court-status.v108-status-goalkeeper .icon{height:16px;width:16px;object-fit:contain}
body.theme-v62 .v108-court-row{display:grid;grid-template-columns:minmax(150px,1.7fr) minmax(112px,1.15fr) minmax(86px,.8fr) minmax(105px,auto);align-items:center;gap:9px;min-width:0}
body.theme-v62 .v108-court-person{display:flex;align-items:center;gap:9px;min-width:0}
body.theme-v62 .v108-court-person .avatar{width:48px;height:48px;min-width:48px;flex:none;overflow:visible}
body.theme-v62 .v108-court-person>span{display:grid;gap:3px;min-width:0}
body.theme-v62 .v108-court-person b{font-size:13px;line-height:1.2;overflow-wrap:anywhere}
body.theme-v62 .v108-court-person small{font-size:11px;line-height:1.35;color:#566e82}
body.theme-v62 .v108-payment-amount{display:grid;gap:3px;min-width:0}
body.theme-v62 .v108-payment-amount small{font-size:10px;color:#637c90;line-height:1.2}
body.theme-v62 .v108-payment-amount b{font-size:13px;line-height:1.35;color:#193f5e;font-variant-numeric:tabular-nums}
body.theme-v62 .v108-court-row.admin .v108-payment-amount b{color:#105f9d}
body.theme-v62 .v108-court-row.goalkeeper .v108-payment-amount b{color:#634593}
body.theme-v62 .v108-court-row .court-payment-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:5px;min-width:0}
body.theme-v62 .v108-court-row .mini-btn{min-height:38px;min-width:0}
body.theme-v62 .v108-charge-share{min-height:41px;font-size:12px;border-radius:10px}
@media(max-width:780px){
 body.theme-v62 .v108-court-row{grid-template-columns:minmax(0,1fr) minmax(108px,auto);row-gap:8px}
 body.theme-v62 .v108-court-person{grid-column:1}
 body.theme-v62 .v108-court-row .court-status{grid-column:2;justify-self:end}
 body.theme-v62 .v108-payment-amount{grid-column:1}
 body.theme-v62 .v108-court-row .court-payment-actions{grid-column:2}
 body.theme-v62 .v108-court-status-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:450px){
 body.theme-v62 .v108-share-toolbar{padding:10px 11px}
 body.theme-v62 .v108-share-buttons{width:100%;display:grid;grid-template-columns:1fr 1fr}
 body.theme-v62 .v108-share-buttons button{width:100%;min-width:0;white-space:normal;font-size:12px;padding:8px 6px}
 body.theme-v62 .v108-court-person .avatar{width:42px;height:42px;min-width:42px}
 body.theme-v62 .v108-court-person small{font-size:11px}
 body.theme-v62 .v108-court-row .court-status{font-size:10px;padding:5px 7px}
 body.theme-v62 .v108-charge-share{width:100%}
}
